vue-data-ui 3.3.3 → 3.4.1
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-ayTeSvpe.js → Arrow-CRe_nKB4.js} +1 -1
- package/dist/{BaseDraggableDialog-Cysanw8-.js → BaseDraggableDialog-CbuLbfrc.js} +2 -2
- package/dist/{BaseIcon-DG6cvf2h.js → BaseIcon-B5KaGWWC.js} +1 -1
- package/dist/{ColorPicker-CA8kKZjZ.js → ColorPicker-BMztHpBp.js} +10 -10
- package/dist/{DataTable-DUpZ_s2c.js → DataTable-DOx3zgih.js} +2 -2
- package/dist/{Legend-CCBZ2x8T.js → Legend-C8u37J42.js} +2 -2
- package/dist/{NonSvgPenAndPaper-D2IMGwaN.js → NonSvgPenAndPaper-BcxfJ-r2.js} +3 -3
- package/dist/{PackageVersion-CQvYRebC.js → PackageVersion-VpPtLYhK.js} +1 -1
- package/dist/{PenAndPaper-D9LruJaM.js → PenAndPaper-Dj2diYr0.js} +3 -3
- package/dist/{Shape-BS9UGhNq.js → Shape-BhNvlGIN.js} +1 -1
- package/dist/{Slicer-BOki89CB.js → Slicer-BHgEsIBU.js} +111 -111
- package/dist/SlicerPreview-Cobmb_1S.js +1148 -0
- package/dist/{SparkTooltip-svd8Hb6c.js → SparkTooltip-CL3cNRQ_.js} +1 -1
- package/dist/{Title-B6rAo9Oz.js → Title-CFmv95In.js} +1 -1
- package/dist/{Tooltip-DaInVNiV.js → Tooltip-Cs4v8OnI.js} +1 -1
- package/dist/{UserOptions-CJXSEhan.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-Tq92GZKA.js → dom-to-png-xQ7LXrxp.js} +1 -1
- package/dist/{img-DI-W68vp.js → img-CFY3JivG.js} +1 -1
- package/dist/{lib-CSDxt1Zh.js → lib-BcBZIm6u.js} +439 -395
- package/dist/{pdf-BzVpWnNO.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-CtQ7pJ8G.js → useAutoSizeLabelsInsideViewbox-BHq4FD8x.js} +1 -1
- package/dist/{useNestedProp-Dh-ldrr5.js → useNestedProp-B7CiTRDS.js} +327 -240
- package/dist/{usePrinter-Cq8Pt6Lh.js → usePrinter-C1GiglOH.js} +2 -2
- package/dist/{vue-data-ui-CDY7snWF.js → vue-data-ui-oDJui39L.js} +64 -64
- package/dist/vue-data-ui.js +100 -100
- package/dist/{vue-ui-3d-bar-DbpiTjGu.js → vue-ui-3d-bar-wycTM073.js} +56 -56
- package/dist/{vue-ui-accordion-CaClZrCp.js → vue-ui-accordion-BKkTS12x.js} +3 -3
- package/dist/{vue-ui-age-pyramid-DuIxXz5p.js → vue-ui-age-pyramid-C5NUZ_Y7.js} +39 -39
- package/dist/{vue-ui-annotator-C2efSKQK.js → vue-ui-annotator-DkSYrnwb.js} +7 -7
- package/dist/{vue-ui-bullet-qpcqLKmp.js → vue-ui-bullet-CIsX5UJw.js} +7 -7
- package/dist/vue-ui-candlestick-BRFx3_KK.js +1334 -0
- package/dist/{vue-ui-carousel-table-CCTtArFX.js → vue-ui-carousel-table-hJySHJTu.js} +29 -29
- package/dist/{vue-ui-chestnut-CbvxJ8hy.js → vue-ui-chestnut-D4GjvQh0.js} +70 -70
- package/dist/{vue-ui-chord-Cp9nyIdv.js → vue-ui-chord-By2NOs0N.js} +35 -35
- package/dist/{vue-ui-circle-pack-kHzd0UYO.js → vue-ui-circle-pack-OCmAkTNs.js} +59 -59
- package/dist/{vue-ui-cursor-DEvkJRCz.js → vue-ui-cursor-iuati4v1.js} +2 -2
- package/dist/{vue-ui-dashboard-k_mz9iwy.js → vue-ui-dashboard-C7fwU9xb.js} +67 -67
- package/dist/{vue-ui-digits-CqWCkEu2.js → vue-ui-digits-eYxf3UFN.js} +2 -2
- package/dist/{vue-ui-donut-CDKS6sVu.js → vue-ui-donut-dVVBUQJz.js} +189 -189
- package/dist/{vue-ui-donut-evolution-C6cGI_P3.js → vue-ui-donut-evolution-BoWGaQP0.js} +82 -82
- package/dist/{vue-ui-dumbbell-ZjJst3xs.js → vue-ui-dumbbell-YMPZ3CVA.js} +66 -66
- package/dist/{vue-ui-flow-sX1PYIkr.js → vue-ui-flow-BE62rVS3.js} +75 -75
- package/dist/{vue-ui-funnel--VViM9gH.js → vue-ui-funnel-kNpDFAWo.js} +63 -63
- package/dist/{vue-ui-galaxy-Du0V9GF8.js → vue-ui-galaxy-BBBiXXyk.js} +62 -62
- package/dist/{vue-ui-gauge-BAe4p2g-.js → vue-ui-gauge-PQNTTl3Y.js} +58 -58
- package/dist/{vue-ui-gizmo-CfjwAt38.js → vue-ui-gizmo-D3gQxQz3.js} +3 -3
- package/dist/{vue-ui-heatmap-Q0jrPM5h.js → vue-ui-heatmap-CKWQButF.js} +104 -104
- package/dist/{vue-ui-history-plot-CLSN3mPy.js → vue-ui-history-plot-DYFzdR4Z.js} +91 -91
- package/dist/{vue-ui-kpi-CBRgXD1s.js → vue-ui-kpi-N8s0i48S.js} +3 -3
- package/dist/{vue-ui-mini-loader-3yCeDEPK.js → vue-ui-mini-loader-Db-9iQcC.js} +2 -2
- package/dist/{vue-ui-molecule-Ddh4hbX0.js → vue-ui-molecule-Cklyb74B.js} +102 -102
- package/dist/{vue-ui-mood-radar-CK8UF-ka.js → vue-ui-mood-radar-Cvq4ZuLe.js} +28 -28
- package/dist/{vue-ui-nested-donuts-DO0FV0tU.js → vue-ui-nested-donuts-Bm78P1ES.js} +60 -60
- package/dist/{vue-ui-onion-DXLqoj-4.js → vue-ui-onion-Bh5jTb31.js} +46 -46
- package/dist/{vue-ui-parallel-coordinate-plot-BlffHAHB.js → vue-ui-parallel-coordinate-plot-BKdN2OsW.js} +64 -64
- package/dist/{vue-ui-quadrant-pw2ALj7p.js → vue-ui-quadrant-BPhJzots.js} +8 -8
- package/dist/{vue-ui-quick-chart-9oGbV593.js → vue-ui-quick-chart-DbJR9CN3.js} +86 -86
- package/dist/vue-ui-radar-CrenQprr.js +938 -0
- package/dist/{vue-ui-rating-C4yZY1sb.js → vue-ui-rating-fR2WRHYO.js} +2 -2
- package/dist/{vue-ui-relation-circle-Duxv-A4H.js → vue-ui-relation-circle-BJ5RuZ0j.js} +31 -31
- package/dist/{vue-ui-ridgeline-B-q7J-C0.js → vue-ui-ridgeline-CKuom5Bu.js} +97 -97
- package/dist/{vue-ui-rings-PRAcmP1H.js → vue-ui-rings-B84GAEf4.js} +50 -50
- package/dist/{vue-ui-scatter-BLW4MJtJ.js → vue-ui-scatter-CBX-g9w3.js} +100 -100
- package/dist/{vue-ui-skeleton-D0PF0jxa.js → vue-ui-skeleton-CZ8xxpEU.js} +3 -3
- package/dist/{vue-ui-smiley-Be44gMTh.js → vue-ui-smiley-BKXuAviQ.js} +2 -2
- package/dist/{vue-ui-spark-trend-B2XY2dRa.js → vue-ui-spark-trend-DOf7-cIf.js} +18 -18
- package/dist/{vue-ui-sparkbar-DWQN4gvR.js → vue-ui-sparkbar-D-MPA2zf.js} +3 -3
- package/dist/{vue-ui-sparkgauge-fDhQGQ12.js → vue-ui-sparkgauge-B9xRiVSU.js} +6 -6
- package/dist/{vue-ui-sparkhistogram-f7Acvipt.js → vue-ui-sparkhistogram-BWb0lqQP.js} +4 -4
- package/dist/{vue-ui-sparkline-Ys3JW7Ap.js → vue-ui-sparkline-BF-qr8Ti.js} +23 -23
- package/dist/{vue-ui-sparkstackbar-Dv0HeSna.js → vue-ui-sparkstackbar-DnCUpk50.js} +17 -17
- package/dist/vue-ui-stackbar-DvJ8Hahn.js +1695 -0
- package/dist/{vue-ui-strip-plot-DN13ntF-.js → vue-ui-strip-plot-SAh1gIs5.js} +52 -52
- package/dist/{vue-ui-table-Qb5tDX1n.js → vue-ui-table-BJdDfMYD.js} +18 -18
- package/dist/{vue-ui-table-heatmap-hMrgJ25a.js → vue-ui-table-heatmap-DU6GKPVy.js} +32 -32
- package/dist/{vue-ui-table-sparkline-CdkFyJjv.js → vue-ui-table-sparkline-BBFEJ8c6.js} +28 -28
- package/dist/{vue-ui-thermometer-D7U2C7kJ.js → vue-ui-thermometer-D8DH6QSN.js} +22 -22
- package/dist/{vue-ui-timer-KtA4M2mV.js → vue-ui-timer-CaUdAHBE.js} +29 -29
- package/dist/{vue-ui-tiremarks-C6GTGszq.js → vue-ui-tiremarks-_sUH1d3J.js} +14 -14
- package/dist/{vue-ui-treemap-rhnl1TW9.js → vue-ui-treemap-DXduzuW4.js} +78 -78
- package/dist/{vue-ui-vertical-bar-n_Lvbd_X.js → vue-ui-vertical-bar-JdjmgwQj.js} +94 -94
- package/dist/{vue-ui-waffle-D-4whGLN.js → vue-ui-waffle-h8zoi4Rc.js} +68 -68
- package/dist/{vue-ui-wheel-D92HLjfr.js → vue-ui-wheel-Ck1Mx37j.js} +21 -21
- package/dist/{vue-ui-word-cloud-Df9AMw6v.js → vue-ui-word-cloud-CjWvuukM.js} +47 -47
- package/dist/{vue-ui-world-Bg9S35ug.js → vue-ui-world-Dw71_Mu2.js} +6 -6
- package/dist/vue-ui-xy-canvas-Dct7tf8w.js +1548 -0
- package/dist/vue-ui-xy-tSMgXqqb.js +3375 -0
- package/package.json +2 -2
- package/dist/vue-ui-candlestick-DTWbbdGH.js +0 -1073
- package/dist/vue-ui-radar-Csznqw19.js +0 -891
- package/dist/vue-ui-stackbar-DUlN5QiM.js +0 -1457
- package/dist/vue-ui-xy-Da6oy2rm.js +0 -4527
- package/dist/vue-ui-xy-canvas-0CLSIKpO.js +0 -1305
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { useCssVars as Fe, defineAsyncComponent as
|
|
2
|
-
import { u as Ge, a as ye } from "./useNestedProp-
|
|
3
|
-
import { c as Le, b as Re, p as T, e as He, o as Xe, f as he, g as qe,
|
|
4
|
-
import { u as Ze } from "./usePrinter-
|
|
1
|
+
import { useCssVars as Fe, defineAsyncComponent as Q, ref as p, useSlots as Ve, onMounted as me, computed as _, watch as be, shallowRef as Te, onBeforeUnmount as We, createElementBlock as c, openBlock as v, unref as u, normalizeClass as J, createCommentVNode as g, createElementVNode as f, normalizeStyle as r, toDisplayString as C, withDirectives as Me, createVNode as P, Fragment as K, renderList as Y, createBlock as Ue, createSlots as Be, withCtx as D, renderSlot as O, mergeProps as ge, nextTick as Ee } from "vue";
|
|
2
|
+
import { u as Ge, a as ye } from "./useNestedProp-B7CiTRDS.js";
|
|
3
|
+
import { c as Le, b as Re, p as T, e as He, o as Xe, f as he, g as qe, ag as Qe, h as Je, a as W, d as M, P as Ke, Q as Ye } from "./lib-BcBZIm6u.js";
|
|
4
|
+
import { u as Ze } from "./usePrinter-C1GiglOH.js";
|
|
5
5
|
import { u as je } from "./useUserOptionState-BIvW1Kz7.js";
|
|
6
6
|
import { v as et } from "./vClickOutside-C6WiFswA.js";
|
|
7
7
|
import { t as tt } from "./themes-Dw-dDudK.js";
|
|
@@ -44,7 +44,7 @@ const lt = ["id"], ot = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
44
44
|
Fe((t) => ({
|
|
45
45
|
v310cbdc6: t.tdo
|
|
46
46
|
}));
|
|
47
|
-
const Ce =
|
|
47
|
+
const Ce = Q(() => import("./vue-ui-sparkline-BF-qr8Ti.js")), N = Q(() => import("./BaseIcon-B5KaGWWC.js")), xe = Q(() => import("./UserOptions-C0YT60JN.js")), { vue_ui_table_sparkline: we } = Ge(), x = ke, U = p(Le()), Z = p(0), B = p(0), E = p(null), Se = Ve();
|
|
48
48
|
me(() => {
|
|
49
49
|
Se["chart-background"] && console.warn("VueUiTableSparkline does not support the #chart-background slot.");
|
|
50
50
|
});
|
|
@@ -107,11 +107,11 @@ const lt = ["id"], ot = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
107
107
|
});
|
|
108
108
|
});
|
|
109
109
|
}), x.dataset.map((t, l) => {
|
|
110
|
-
const a = (t.values || []).map((d) => isNaN(d) ? 0 : d ?? 0), n = a.reduce((d, i) => d + i, 0), s = n / a.length, o =
|
|
110
|
+
const a = (t.values || []).map((d) => isNaN(d) ? 0 : d ?? 0), n = a.reduce((d, i) => d + i, 0), s = n / a.length, o = Qe(a);
|
|
111
111
|
return {
|
|
112
112
|
...t,
|
|
113
113
|
values: t.values || [],
|
|
114
|
-
color:
|
|
114
|
+
color: Je(t.color) || Ie.value[l] || T[l] || T[l % T.length],
|
|
115
115
|
sum: n,
|
|
116
116
|
average: s,
|
|
117
117
|
median: o,
|
|
@@ -193,11 +193,11 @@ const lt = ["id"], ot = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
193
193
|
m.value = s;
|
|
194
194
|
}
|
|
195
195
|
const S = p(void 0), q = p(void 0);
|
|
196
|
-
function
|
|
196
|
+
function Pe({ dataIndex: t, serieIndex: l }) {
|
|
197
197
|
S.value = t, q.value = l, E.value[t] && !L.value && E.value[t].scrollIntoView({ behavior: "smooth", block: "nearest", inline: "center" });
|
|
198
198
|
}
|
|
199
199
|
const de = p(!1);
|
|
200
|
-
function
|
|
200
|
+
function De(t) {
|
|
201
201
|
de.value = t, Z.value += 1;
|
|
202
202
|
}
|
|
203
203
|
function ve(t = null) {
|
|
@@ -208,7 +208,7 @@ const lt = ["id"], ot = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
208
208
|
[o.sum],
|
|
209
209
|
[o.average],
|
|
210
210
|
[o.median]
|
|
211
|
-
]), n = [l].concat(a), s =
|
|
211
|
+
]), n = [l].concat(a), s = Ke(n);
|
|
212
212
|
t ? t(s) : Ye({
|
|
213
213
|
csvContent: s,
|
|
214
214
|
title: e.value.title.text || "vue-ui-table-sparkline"
|
|
@@ -239,7 +239,7 @@ const lt = ["id"], ot = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
239
239
|
}), (t, l) => (v(), c("div", {
|
|
240
240
|
ref_key: "tableContainer",
|
|
241
241
|
ref: F,
|
|
242
|
-
class:
|
|
242
|
+
class: J({ "vue-data-ui-component": !0, "vue-ui-table-sparkline": !0, "vue-ui-responsive": L.value }),
|
|
243
243
|
style: { overflow: "hidden" },
|
|
244
244
|
id: `table_${U.value}`,
|
|
245
245
|
onMouseenter: l[3] || (l[3] = () => u(j)(!0)),
|
|
@@ -314,7 +314,7 @@ const lt = ["id"], ot = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
314
314
|
class: "vue-ui-table-sparkline-sorting-button vue-ui-table-sparkline-sorting-button-down",
|
|
315
315
|
onClick: l[0] || (l[0] = (a) => V({ type: "name" }, null, -1))
|
|
316
316
|
}, [
|
|
317
|
-
|
|
317
|
+
P(u(N), {
|
|
318
318
|
size: 12,
|
|
319
319
|
name: "arrowBottom",
|
|
320
320
|
stroke: e.value.thead.color,
|
|
@@ -327,7 +327,7 @@ const lt = ["id"], ot = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
327
327
|
class: "vue-ui-table-sparkline-sorting-button vue-ui-table-sparkline-sorting-button-up",
|
|
328
328
|
onClick: l[1] || (l[1] = (a) => V({ type: "name" }, null, 1))
|
|
329
329
|
}, [
|
|
330
|
-
|
|
330
|
+
P(u(N), {
|
|
331
331
|
size: 12,
|
|
332
332
|
name: "arrowTop",
|
|
333
333
|
stroke: e.value.thead.color,
|
|
@@ -339,7 +339,7 @@ const lt = ["id"], ot = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
339
339
|
])) : g("", !0)
|
|
340
340
|
], 4)
|
|
341
341
|
], 4),
|
|
342
|
-
(v(!0), c(
|
|
342
|
+
(v(!0), c(K, null, Y(k.value, (a, n) => (v(), c("th", {
|
|
343
343
|
role: "cell",
|
|
344
344
|
style: r({
|
|
345
345
|
background: e.value.thead.backgroundColor,
|
|
@@ -349,7 +349,7 @@ const lt = ["id"], ot = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
349
349
|
minWidth: n === k.value.length - 1 ? `${e.value.sparkline.dimensions.width}px` : "48px",
|
|
350
350
|
paddingRight: n === k.value.length - 1 && e.value.userOptions.show ? "36px" : ""
|
|
351
351
|
}),
|
|
352
|
-
class:
|
|
352
|
+
class: J({ "sticky-col": n === k.value.length - 1 && e.value.showSparklines })
|
|
353
353
|
}, [
|
|
354
354
|
f("div", {
|
|
355
355
|
style: r({
|
|
@@ -366,7 +366,7 @@ const lt = ["id"], ot = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
366
366
|
class: "vue-ui-table-sparkline-sorting-button vue-ui-table-sparkline-sorting-button-down",
|
|
367
367
|
onClick: () => V(a, n, -1)
|
|
368
368
|
}, [
|
|
369
|
-
|
|
369
|
+
P(u(N), {
|
|
370
370
|
size: 12,
|
|
371
371
|
name: "arrowBottom",
|
|
372
372
|
stroke: e.value.thead.color,
|
|
@@ -379,7 +379,7 @@ const lt = ["id"], ot = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
379
379
|
class: "vue-ui-table-sparkline-sorting-button vue-ui-table-sparkline-sorting-button-up",
|
|
380
380
|
onClick: () => V(a, n, 1)
|
|
381
381
|
}, [
|
|
382
|
-
|
|
382
|
+
P(u(N), {
|
|
383
383
|
size: 12,
|
|
384
384
|
name: "arrowTop",
|
|
385
385
|
stroke: e.value.thead.color,
|
|
@@ -409,7 +409,7 @@ const lt = ["id"], ot = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
409
409
|
position: e.value.userOptions.position,
|
|
410
410
|
callbacks: e.value.userOptions.callbacks,
|
|
411
411
|
printScale: e.value.userOptions.print.scale,
|
|
412
|
-
onToggleFullscreen:
|
|
412
|
+
onToggleFullscreen: De,
|
|
413
413
|
onGeneratePdf: u(oe),
|
|
414
414
|
onGenerateImage: u(ne),
|
|
415
415
|
onGenerateCsv: ve,
|
|
@@ -419,35 +419,35 @@ const lt = ["id"], ot = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
419
419
|
}, Be({ _: 2 }, [
|
|
420
420
|
t.$slots.menuIcon ? {
|
|
421
421
|
name: "menuIcon",
|
|
422
|
-
fn:
|
|
422
|
+
fn: D(({ isOpen: s, color: o }) => [
|
|
423
423
|
O(t.$slots, "menuIcon", ge({ ref_for: !0 }, { isOpen: s, color: o }), void 0, !0)
|
|
424
424
|
]),
|
|
425
425
|
key: "0"
|
|
426
426
|
} : void 0,
|
|
427
427
|
t.$slots.optionPdf ? {
|
|
428
428
|
name: "optionPdf",
|
|
429
|
-
fn:
|
|
429
|
+
fn: D(() => [
|
|
430
430
|
O(t.$slots, "optionPdf", {}, void 0, !0)
|
|
431
431
|
]),
|
|
432
432
|
key: "1"
|
|
433
433
|
} : void 0,
|
|
434
434
|
t.$slots.optionCsv ? {
|
|
435
435
|
name: "optionCsv",
|
|
436
|
-
fn:
|
|
436
|
+
fn: D(() => [
|
|
437
437
|
O(t.$slots, "optionCsv", {}, void 0, !0)
|
|
438
438
|
]),
|
|
439
439
|
key: "2"
|
|
440
440
|
} : void 0,
|
|
441
441
|
t.$slots.optionImg ? {
|
|
442
442
|
name: "optionImg",
|
|
443
|
-
fn:
|
|
443
|
+
fn: D(() => [
|
|
444
444
|
O(t.$slots, "optionImg", {}, void 0, !0)
|
|
445
445
|
]),
|
|
446
446
|
key: "3"
|
|
447
447
|
} : void 0,
|
|
448
448
|
t.$slots.optionFullscreen ? {
|
|
449
449
|
name: "optionFullscreen",
|
|
450
|
-
fn:
|
|
450
|
+
fn: D(({ toggleFullscreen: s, isFullscreen: o }) => [
|
|
451
451
|
O(t.$slots, "optionFullscreen", ge({ ref_for: !0 }, { toggleFullscreen: s, isFullscreen: o }), void 0, !0)
|
|
452
452
|
]),
|
|
453
453
|
key: "4"
|
|
@@ -459,13 +459,13 @@ const lt = ["id"], ot = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
459
459
|
])
|
|
460
460
|
]),
|
|
461
461
|
f("tbody", null, [
|
|
462
|
-
(v(!0), c(
|
|
462
|
+
(v(!0), c(K, null, Y(m.value, (a, n) => (v(), c("tr", {
|
|
463
463
|
role: "row",
|
|
464
464
|
style: r({
|
|
465
465
|
backgroundColor: e.value.tbody.backgroundColor,
|
|
466
466
|
color: e.value.tbody.color
|
|
467
467
|
}),
|
|
468
|
-
class:
|
|
468
|
+
class: J({ "vue-ui-data-table__tbody__row": !0, "vue-ui-data-table__tbody__row-even": n % 2 === 0, "vue-ui-data-table__tbody__row-odd": n % 2 !== 0 })
|
|
469
469
|
}, [
|
|
470
470
|
f("td", {
|
|
471
471
|
role: "cell",
|
|
@@ -496,7 +496,7 @@ const lt = ["id"], ot = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
496
496
|
f("span", null, C(a.name ?? "-"), 1)
|
|
497
497
|
], 4)
|
|
498
498
|
], 12, it),
|
|
499
|
-
(v(!0), c(
|
|
499
|
+
(v(!0), c(K, null, Y($e.value, (s, o) => (v(), c("td", {
|
|
500
500
|
dir: "auto",
|
|
501
501
|
role: "cell",
|
|
502
502
|
ref_for: !0,
|
|
@@ -608,8 +608,8 @@ const lt = ["id"], ot = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
608
608
|
}),
|
|
609
609
|
class: "vue-ui-data-table__tbody__td sticky-col"
|
|
610
610
|
}, [
|
|
611
|
-
|
|
612
|
-
onHoverIndex: ({ index: s }) =>
|
|
611
|
+
P(u(Ce), {
|
|
612
|
+
onHoverIndex: ({ index: s }) => Pe({ dataIndex: s, serieIndex: n }),
|
|
613
613
|
"height-ratio": e.value.sparkline.dimensions.heightRatio,
|
|
614
614
|
"forced-padding": 30,
|
|
615
615
|
dataset: a.sparklineDataset,
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { useCssVars as Ye, computed as c, defineAsyncComponent as j, ref as v, onMounted as Ee, toRefs as He, watch as
|
|
2
|
-
import { c as Be, t as De, o as je, f as ye, g as Xe, b as Je, p as O, e as Ke,
|
|
1
|
+
import { useCssVars as Ye, computed as c, defineAsyncComponent as j, ref as v, onMounted as Ee, toRefs as He, watch as Re, createElementBlock as u, openBlock as a, unref as n, normalizeStyle as de, normalizeClass as U, createBlock as W, createCommentVNode as i, createSlots as Ve, withCtx as A, renderSlot as y, normalizeProps as L, guardReactiveProps as N, createVNode as qe, createElementVNode as d, Fragment as Y, renderList as me, toDisplayString as Ge } from "vue";
|
|
2
|
+
import { c as Be, t as De, o as je, f as ye, g as Xe, b as Je, p as O, e as Ke, x as f, h as E, X as Qe, s as Ze, a as et, d as tt } from "./lib-BcBZIm6u.js";
|
|
3
3
|
import { t as st, u as ot } from "./useResponsive-DfdjqQps.js";
|
|
4
|
-
import { u as lt, a as fe } from "./useNestedProp-
|
|
4
|
+
import { u as lt, a as fe } from "./useNestedProp-B7CiTRDS.js";
|
|
5
5
|
import { u as at, B as rt } from "./BaseScanner-BgWxam9d.js";
|
|
6
|
-
import { u as ut } from "./usePrinter-
|
|
6
|
+
import { u as ut } from "./usePrinter-C1GiglOH.js";
|
|
7
7
|
import { u as nt } from "./useSvgExport-DrjCWun4.js";
|
|
8
8
|
import { u as it } from "./useUserOptionState-BIvW1Kz7.js";
|
|
9
9
|
import { u as ht } from "./useChartAccessibility-9icAAmYg.js";
|
|
10
|
-
import { u as ct } from "./useAutoSizeLabelsInsideViewbox-
|
|
10
|
+
import { u as ct } from "./useAutoSizeLabelsInsideViewbox-BHq4FD8x.js";
|
|
11
11
|
import { t as vt } from "./themes-Dw-dDudK.js";
|
|
12
|
-
import dt from "./Title-
|
|
13
|
-
import mt from "./img-
|
|
12
|
+
import dt from "./Title-CFmv95In.js";
|
|
13
|
+
import mt from "./img-CFY3JivG.js";
|
|
14
14
|
import { _ as yt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
15
15
|
const ft = ["id"], gt = {
|
|
16
16
|
key: 1,
|
|
@@ -20,7 +20,7 @@ const ft = ["id"], gt = {
|
|
|
20
20
|
}, pt = ["xmlns", "viewBox"], kt = ["width", "height"], bt = ["id"], xt = ["x", "y", "width", "height", "rx", "ry"], wt = ["id"], _t = ["stop-color"], Ct = ["stop-color"], $t = ["stop-color"], At = ["clip-path"], Ot = ["x", "y", "height", "width"], Ft = ["x", "y", "height", "width", "fill"], It = ["x1", "x2", "y1", "y2", "stroke-width", "stroke"], St = ["x1", "x2", "y1", "y2", "stroke-width", "stroke"], Pt = ["x1", "x2", "y1", "y2", "stroke-width", "stroke"], Tt = ["x1", "x2", "y1", "y2", "stroke-width", "stroke"], Mt = ["x1", "x2", "y1", "y2", "stroke-width", "stroke"], zt = ["x1", "x2", "y1", "y2", "stroke-width", "stroke"], Ut = ["x1", "x2", "y1", "y2", "stroke-width", "stroke"], Wt = ["x1", "x2", "y1", "y2", "stroke-width", "stroke"], Lt = ["x", "y", "height", "width"], Nt = { key: 1 }, Yt = ["x", "y", "height"], Et = ["y", "x", "fill", "font-size", "font-weight"], Ht = {
|
|
21
21
|
key: 4,
|
|
22
22
|
class: "vue-data-ui-watermark"
|
|
23
|
-
},
|
|
23
|
+
}, Rt = {
|
|
24
24
|
__name: "vue-ui-thermometer",
|
|
25
25
|
props: {
|
|
26
26
|
dataset: {
|
|
@@ -42,14 +42,14 @@ const ft = ["id"], gt = {
|
|
|
42
42
|
ee141c4a: Oe.value,
|
|
43
43
|
e9077cf0: Ae.value
|
|
44
44
|
}));
|
|
45
|
-
const pe = j(() => import("./PackageVersion-
|
|
45
|
+
const pe = j(() => import("./PackageVersion-VpPtLYhK.js")), ke = j(() => import("./PenAndPaper-Dj2diYr0.js")), be = j(() => import("./UserOptions-C0YT60JN.js")), { vue_ui_thermometer: xe } = lt(), g = F, p = v(Be()), k = v(null), X = v(0), J = v(0), K = v(null), Q = v(null), x = v(null), I = v(null), we = c(() => !!g.dataset && Object.keys(g.dataset).length);
|
|
46
46
|
Ee(() => {
|
|
47
47
|
te();
|
|
48
48
|
});
|
|
49
|
-
const e = v(
|
|
49
|
+
const e = v(q()), _e = v(e.value.style.chart.thermometer.width), H = v(e.value.style.chart.height), R = v(e.value.style.chart.width), { loading: Z, FINAL_DATASET: h } = at({
|
|
50
50
|
...He(g),
|
|
51
51
|
FINAL_CONFIG: e,
|
|
52
|
-
prepareConfig:
|
|
52
|
+
prepareConfig: q,
|
|
53
53
|
skeletonDataset: { value: 0, from: -100, to: 100, steps: 20, colors: { from: "#A1A1A1", to: "#CACACA" } },
|
|
54
54
|
skeletonConfig: De({
|
|
55
55
|
defaultConfig: e.value,
|
|
@@ -90,15 +90,15 @@ const ft = ["id"], gt = {
|
|
|
90
90
|
source: Q.value
|
|
91
91
|
});
|
|
92
92
|
requestAnimationFrame(() => {
|
|
93
|
-
H.value = Math.max(0.1, t - 12),
|
|
93
|
+
H.value = Math.max(0.1, t - 12), R.value = l, ce();
|
|
94
94
|
});
|
|
95
95
|
});
|
|
96
96
|
x.value && (I.value && x.value.unobserve(I.value), x.value.disconnect()), x.value = new ResizeObserver(s), I.value = k.value, x.value.observe(I.value);
|
|
97
97
|
}
|
|
98
98
|
ce();
|
|
99
99
|
}
|
|
100
|
-
const { userOptionsVisible:
|
|
101
|
-
function
|
|
100
|
+
const { userOptionsVisible: V, setUserOptionsVisibility: se, keepUserOptionState: oe } = it({ config: e.value }), { svgRef: S } = ht({ config: e.value.style.title });
|
|
101
|
+
function q() {
|
|
102
102
|
const s = fe({
|
|
103
103
|
userConfig: g.config,
|
|
104
104
|
defaultConfig: xe
|
|
@@ -111,8 +111,8 @@ const ft = ["id"], gt = {
|
|
|
111
111
|
customPalette: Je[s.theme] || O
|
|
112
112
|
} : s;
|
|
113
113
|
}
|
|
114
|
-
|
|
115
|
-
e.value =
|
|
114
|
+
Re(() => g.config, (s) => {
|
|
115
|
+
e.value = q(), V.value = !e.value.userOptions.showOnChartHover, _e.value = e.value.style.chart.thermometer.width, H.value = e.value.style.chart.height, R.value = e.value.style.chart.width, te(), J.value += 1;
|
|
116
116
|
}, { deep: !0 });
|
|
117
117
|
const { isPrinting: le, isImaging: ae, generatePdf: re, generateImage: ue } = ut({
|
|
118
118
|
elementId: `thermometer__${p.value}`,
|
|
@@ -142,7 +142,7 @@ const ft = ["id"], gt = {
|
|
|
142
142
|
return s.toString(16).padStart(2, "0");
|
|
143
143
|
}
|
|
144
144
|
const o = c(() => {
|
|
145
|
-
const s = Math.max(0.1,
|
|
145
|
+
const s = Math.max(0.1, R.value), l = Math.max(0.1, H.value), t = e.value.style.chart.padding;
|
|
146
146
|
return {
|
|
147
147
|
width: s,
|
|
148
148
|
left: s / 2 - e.value.style.chart.thermometer.width / 2,
|
|
@@ -267,7 +267,7 @@ const ft = ["id"], gt = {
|
|
|
267
267
|
}
|
|
268
268
|
}, null, 8, ["config"]))
|
|
269
269
|
], 512)) : i("", !0),
|
|
270
|
-
e.value.userOptions.show && we.value && (n(oe) || n(
|
|
270
|
+
e.value.userOptions.show && we.value && (n(oe) || n(V)) ? (a(), W(n(be), {
|
|
271
271
|
ref: "details",
|
|
272
272
|
key: `user_options_${X.value}`,
|
|
273
273
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
@@ -294,9 +294,9 @@ const ft = ["id"], gt = {
|
|
|
294
294
|
onGenerateSvg: ve,
|
|
295
295
|
onToggleAnnotator: D,
|
|
296
296
|
style: de({
|
|
297
|
-
visibility: n(oe) ? n(
|
|
297
|
+
visibility: n(oe) ? n(V) ? "visible" : "hidden" : "visible"
|
|
298
298
|
})
|
|
299
|
-
},
|
|
299
|
+
}, Ve({ _: 2 }, [
|
|
300
300
|
s.$slots.menuIcon ? {
|
|
301
301
|
name: "menuIcon",
|
|
302
302
|
fn: A(({ isOpen: t, color: r }) => [
|
|
@@ -342,7 +342,7 @@ const ft = ["id"], gt = {
|
|
|
342
342
|
viewBox: `0 0 ${o.value.width} ${o.value.height}`,
|
|
343
343
|
style: "background:transparent"
|
|
344
344
|
}, [
|
|
345
|
-
|
|
345
|
+
qe(n(pe)),
|
|
346
346
|
s.$slots["chart-background"] ? (a(), u("foreignObject", {
|
|
347
347
|
key: 0,
|
|
348
348
|
x: 0,
|
|
@@ -551,7 +551,7 @@ const ft = ["id"], gt = {
|
|
|
551
551
|
n(Z) ? (a(), W(rt, { key: 6 })) : i("", !0)
|
|
552
552
|
], 46, ft));
|
|
553
553
|
}
|
|
554
|
-
}, os = /* @__PURE__ */ yt(
|
|
554
|
+
}, os = /* @__PURE__ */ yt(Rt, [["__scopeId", "data-v-181d4751"]]);
|
|
555
555
|
export {
|
|
556
556
|
os as default
|
|
557
557
|
};
|
|
@@ -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-VpPtLYhK.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-VpPtLYhK.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"]]);
|