vue-data-ui 3.4.7 → 3.4.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{PackageVersion-QNVkHOgG.js → PackageVersion-D-auaEEJ.js} +1 -1
- package/dist/{UserOptions-CnzumGJj.js → UserOptions-CGnQt6Fd.js} +91 -91
- package/dist/components/vue-ui-3d-bar.js +1 -1
- package/dist/components/vue-ui-age-pyramid.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-dashboard.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-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-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-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/style.css +1 -1
- package/dist/{vue-data-ui-BFwmY6si.js → vue-data-ui-CzqHcPqG.js} +55 -55
- package/dist/vue-data-ui.js +55 -55
- package/dist/{vue-ui-3d-bar-D1GoJWeg.js → vue-ui-3d-bar-CwXiD8zD.js} +49 -42
- package/dist/{vue-ui-age-pyramid-BDGFSsA5.js → vue-ui-age-pyramid-DlEPlWmV.js} +12 -5
- package/dist/{vue-ui-bullet-C3GtE3bF.js → vue-ui-bullet-DtzpeIu4.js} +59 -52
- package/dist/{vue-ui-candlestick-BlzmB2vM.js → vue-ui-candlestick-DzoiyaeB.js} +56 -49
- package/dist/{vue-ui-carousel-table-TKa7KYZ0.js → vue-ui-carousel-table-BqRERrjs.js} +79 -72
- package/dist/{vue-ui-chestnut-DNxARRsx.js → vue-ui-chestnut-CzBGckif.js} +77 -70
- package/dist/{vue-ui-chord-BM7tZig3.js → vue-ui-chord-B4waG93A.js} +71 -64
- package/dist/{vue-ui-circle-pack-BZU75WUb.js → vue-ui-circle-pack-DiTw_p5r.js} +58 -51
- package/dist/{vue-ui-dashboard-pNXFzQu4.js → vue-ui-dashboard-Bt-MUKqy.js} +56 -56
- package/dist/{vue-ui-donut-CRvfqCUO.js → vue-ui-donut-Bc492JeS.js} +95 -88
- package/dist/{vue-ui-donut-evolution-CCdIWlyZ.js → vue-ui-donut-evolution-D6TaZK2x.js} +80 -73
- package/dist/{vue-ui-dumbbell-CLmwZyrf.js → vue-ui-dumbbell-BlZr68Sq.js} +12 -5
- package/dist/{vue-ui-flow-BY8XQXKF.js → vue-ui-flow-ByEP18dA.js} +205 -198
- package/dist/{vue-ui-funnel-BmxhWoVW.js → vue-ui-funnel-BU7d_U6T.js} +98 -91
- package/dist/{vue-ui-galaxy-BgtKffX5.js → vue-ui-galaxy-CpVrxaTr.js} +140 -133
- package/dist/{vue-ui-gauge-DLpK4-Cd.js → vue-ui-gauge-B9Z4EXoj.js} +108 -101
- package/dist/{vue-ui-gizmo-CCNboEnL.js → vue-ui-gizmo-T1paJEJ3.js} +1 -1
- package/dist/{vue-ui-heatmap-BSDmuvq8.js → vue-ui-heatmap-Uw83eEMz.js} +97 -90
- package/dist/{vue-ui-history-plot-s8wYm7fn.js → vue-ui-history-plot-C93VwVCY.js} +41 -34
- package/dist/{vue-ui-molecule-BYWE2ONy.js → vue-ui-molecule-CFMWwXFN.js} +94 -87
- package/dist/{vue-ui-mood-radar-BOvaA1Jq.js → vue-ui-mood-radar-FkVaaOVG.js} +71 -64
- package/dist/{vue-ui-nested-donuts-BUGkuN56.js → vue-ui-nested-donuts-Cyi98NXq.js} +93 -86
- package/dist/{vue-ui-onion-CPshjlgf.js → vue-ui-onion-BCENNhsY.js} +82 -75
- package/dist/{vue-ui-parallel-coordinate-plot-orQotxDr.js → vue-ui-parallel-coordinate-plot-Dca9wkD0.js} +116 -109
- package/dist/{vue-ui-quadrant-CM3iH31f.js → vue-ui-quadrant-CEtFEZT3.js} +46 -39
- package/dist/{vue-ui-quick-chart-BhO2YQn0.js → vue-ui-quick-chart-bqcp6BIl.js} +171 -164
- package/dist/{vue-ui-radar-CNZVFG-v.js → vue-ui-radar-lgRCmyNP.js} +36 -29
- package/dist/{vue-ui-relation-circle-BX48Cgx3.js → vue-ui-relation-circle-cRRrbaIT.js} +100 -93
- package/dist/{vue-ui-ridgeline-MQAF9nvq.js → vue-ui-ridgeline-CaeFJq9a.js} +23 -16
- package/dist/{vue-ui-rings-BPhLSCUX.js → vue-ui-rings-DbsYfGjx.js} +55 -48
- package/dist/{vue-ui-scatter-C3dD6T6q.js → vue-ui-scatter-DcMnoNrY.js} +189 -182
- package/dist/{vue-ui-skeleton-Be8xm0gy.js → vue-ui-skeleton-b5fdgyHv.js} +1 -1
- package/dist/{vue-ui-spark-trend-suNsujGP.js → vue-ui-spark-trend-DrQ26BzL.js} +1 -1
- package/dist/{vue-ui-sparkbar-BjD2kUth.js → vue-ui-sparkbar-BlvXLcfO.js} +1 -1
- package/dist/{vue-ui-sparkgauge-C816ocz6.js → vue-ui-sparkgauge-CQmNePxu.js} +1 -1
- package/dist/{vue-ui-sparkhistogram-CAgfueUq.js → vue-ui-sparkhistogram-CJatqy8x.js} +1 -1
- package/dist/{vue-ui-sparkline-BmVwG9vw.js → vue-ui-sparkline-5m7hFiMq.js} +1 -1
- package/dist/{vue-ui-sparkstackbar-DoFTW_u_.js → vue-ui-sparkstackbar-Z5g6L2Hj.js} +1 -1
- package/dist/{vue-ui-stackbar-C1qHHSuI.js → vue-ui-stackbar-WrexTg8_.js} +53 -46
- package/dist/{vue-ui-strip-plot-Ccz9BiSl.js → vue-ui-strip-plot-DqX7yya9.js} +13 -6
- package/dist/{vue-ui-table-IKsrsEUh.js → vue-ui-table-BhrP9BCp.js} +2 -2
- package/dist/{vue-ui-table-heatmap-B4rjR34n.js → vue-ui-table-heatmap-BqCEBoUf.js} +1 -1
- package/dist/{vue-ui-table-sparkline-B71QVMkq.js → vue-ui-table-sparkline-BECa8n5_.js} +1 -1
- package/dist/{vue-ui-thermometer-fY5WxAbX.js → vue-ui-thermometer-BxBGrsSR.js} +83 -76
- package/dist/{vue-ui-timer-BBdNJ0fK.js → vue-ui-timer-BbHY5Ed5.js} +1 -1
- package/dist/{vue-ui-tiremarks-Co0t61HH.js → vue-ui-tiremarks-DzL3Sc1f.js} +43 -36
- package/dist/{vue-ui-treemap-ujTn_36A.js → vue-ui-treemap-DoHoS5NK.js} +114 -107
- package/dist/{vue-ui-vertical-bar-BNp-Vl0q.js → vue-ui-vertical-bar-D0N5btU-.js} +89 -82
- package/dist/{vue-ui-waffle-CRPYb9mZ.js → vue-ui-waffle-CTt7dxCY.js} +41 -34
- package/dist/{vue-ui-wheel-BvycoQ3Z.js → vue-ui-wheel--TIPvQ9I.js} +132 -125
- package/dist/{vue-ui-word-cloud-Cjs46-dC.js → vue-ui-word-cloud-D5pZq4Jq.js} +116 -109
- package/dist/{vue-ui-world-BTLAdJeD.js → vue-ui-world-BERHgePa.js} +71 -64
- package/dist/{vue-ui-xy-CBRHUbAn.js → vue-ui-xy-BI5stV8f.js} +163 -156
- package/dist/{vue-ui-xy-canvas-BGl_2pHw.js → vue-ui-xy-canvas-DXnLFwW3.js} +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
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
|
|
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 x, renderSlot as d, normalizeProps as L, guardReactiveProps as N, createVNode as qe, createElementVNode as m, Fragment as Y, renderList as me, toDisplayString as Ge } from "vue";
|
|
2
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-C_mNZmhD.js";
|
|
3
3
|
import { t as st, u as ot } from "./useResponsive-DfdjqQps.js";
|
|
4
4
|
import { u as lt, a as fe } from "./useNestedProp-BjZe1Y85.js";
|
|
@@ -17,7 +17,7 @@ const ft = ["id"], gt = {
|
|
|
17
17
|
ref: "noTitle",
|
|
18
18
|
class: "vue-data-ui-no-title-space",
|
|
19
19
|
style: "height:36px; width: 100%;background:transparent"
|
|
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"],
|
|
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"], St = ["x", "y", "height", "width", "fill"], Ft = ["x1", "x2", "y1", "y2", "stroke-width", "stroke"], It = ["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 = {
|
|
@@ -36,13 +36,13 @@ const ft = ["id"], gt = {
|
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
38
|
},
|
|
39
|
-
setup(
|
|
39
|
+
setup(S, { expose: ge }) {
|
|
40
40
|
Ye((s) => ({
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
41
|
+
v6b7dbd01: Se.value,
|
|
42
|
+
v1e4928a6: Oe.value,
|
|
43
|
+
v0bba07da: Ae.value
|
|
44
44
|
}));
|
|
45
|
-
const pe = j(() => import("./PackageVersion-
|
|
45
|
+
const pe = j(() => import("./PackageVersion-D-auaEEJ.js")), ke = j(() => import("./PenAndPaper-DSvu9dwa.js")), be = j(() => import("./UserOptions-CGnQt6Fd.js")), { vue_ui_thermometer: xe } = lt(), g = S, p = v(Be()), k = v(null), X = v(0), J = v(0), K = v(null), Q = v(null), w = v(null), F = v(null), we = c(() => !!g.dataset && Object.keys(g.dataset).length);
|
|
46
46
|
Ee(() => {
|
|
47
47
|
te();
|
|
48
48
|
});
|
|
@@ -93,11 +93,11 @@ const ft = ["id"], gt = {
|
|
|
93
93
|
H.value = Math.max(0.1, t - 12), R.value = l, ce();
|
|
94
94
|
});
|
|
95
95
|
});
|
|
96
|
-
|
|
96
|
+
w.value && (F.value && w.value.unobserve(F.value), w.value.disconnect()), w.value = new ResizeObserver(s), F.value = k.value, w.value.observe(F.value);
|
|
97
97
|
}
|
|
98
98
|
ce();
|
|
99
99
|
}
|
|
100
|
-
const { userOptionsVisible: V, setUserOptionsVisibility: se, keepUserOptionState: oe } = it({ config: e.value }), { svgRef:
|
|
100
|
+
const { userOptionsVisible: V, setUserOptionsVisibility: se, keepUserOptionState: oe } = it({ config: e.value }), { svgRef: I } = ht({ config: e.value.style.title });
|
|
101
101
|
function q() {
|
|
102
102
|
const s = fe({
|
|
103
103
|
userConfig: g.config,
|
|
@@ -118,11 +118,11 @@ const ft = ["id"], gt = {
|
|
|
118
118
|
elementId: `thermometer__${p.value}`,
|
|
119
119
|
fileName: e.value.style.title.text || "vue-ui-thermometer",
|
|
120
120
|
options: e.value.userOptions.print
|
|
121
|
-
}), Ce = c(() => e.value.userOptions.show && !e.value.style.title.text), P = c(() => Ke(e.value.customPalette)),
|
|
121
|
+
}), Ce = c(() => e.value.userOptions.show && !e.value.style.title.text), P = c(() => Ke(e.value.customPalette)), y = c(() => h.value.steps || 10);
|
|
122
122
|
function T(s, l, t) {
|
|
123
|
-
const r = [], b = ne(s),
|
|
124
|
-
for (let
|
|
125
|
-
const Ue = G(b.red,
|
|
123
|
+
const r = [], b = ne(s), $ = ne(l);
|
|
124
|
+
for (let A = 0; A < t; A++) {
|
|
125
|
+
const Ue = G(b.red, $.red, A, t), We = G(b.green, $.green, A, t), Le = G(b.blue, $.blue, A, t), Ne = `#${B(Ue)}${B(We)}${B(Le)}`;
|
|
126
126
|
r.push(Ne);
|
|
127
127
|
}
|
|
128
128
|
return r;
|
|
@@ -157,61 +157,61 @@ const ft = ["id"], gt = {
|
|
|
157
157
|
const s = f(h.value.from) < 0 ? Math.abs(f(h.value.from)) : f(h.value.from), l = f(h.value.to) < 0 ? Math.abs(f(h.value.to)) : f(h.value.to);
|
|
158
158
|
let t = 0;
|
|
159
159
|
return f(h.value.to) > 0 ? t = s + l : s > l ? t = s - l : t = l - s, (1 - (Math.abs(f(h.value.from)) + f(h.value.value)) / t) * o.value.thermoHeight;
|
|
160
|
-
}), Ae = c(() => `${M.value}px`), Oe = c(() => `${o.value.thermoHeight}px`),
|
|
160
|
+
}), Ae = c(() => `${M.value}px`), Oe = c(() => `${o.value.thermoHeight}px`), Se = c(() => `${e.value.style.chart.animation.speedMs}ms`), Fe = c(() => {
|
|
161
161
|
if (h.value.colors) {
|
|
162
162
|
if (!h.value.colors.from)
|
|
163
|
-
return T(P.value[0] || O[0], E(h.value.colors.to),
|
|
163
|
+
return T(P.value[0] || O[0], E(h.value.colors.to), y.value || 10);
|
|
164
164
|
if (!h.value.colors.to)
|
|
165
|
-
return T(E(h.value.colors.from), P.value[1] || O[1],
|
|
165
|
+
return T(E(h.value.colors.from), P.value[1] || O[1], y.value || 10);
|
|
166
166
|
} else
|
|
167
|
-
return T(P.value[1] || O[1], P.value[0] || O[0],
|
|
168
|
-
return T(E(h.value.colors.from), E(h.value.colors.to),
|
|
167
|
+
return T(P.value[1] || O[1], P.value[0] || O[0], y.value || 10);
|
|
168
|
+
return T(E(h.value.colors.from), E(h.value.colors.to), y.value || 10);
|
|
169
169
|
}), ie = c(() => {
|
|
170
170
|
const s = [];
|
|
171
171
|
let l = 0;
|
|
172
172
|
const t = o.value.thermoHeight;
|
|
173
|
-
for (let r = 0; r < t - 1; r += t /
|
|
173
|
+
for (let r = 0; r < t - 1; r += t / y.value)
|
|
174
174
|
s.push({
|
|
175
175
|
x: o.value.left,
|
|
176
176
|
y: o.value.top + r,
|
|
177
|
-
qYLess: o.value.top + r + t /
|
|
178
|
-
halfY: o.value.top + r + t /
|
|
179
|
-
qYMore: o.value.top + r + t /
|
|
180
|
-
color:
|
|
181
|
-
height: Math.max(0.1, t /
|
|
177
|
+
qYLess: o.value.top + r + t / y.value / 4,
|
|
178
|
+
halfY: o.value.top + r + t / y.value / 2,
|
|
179
|
+
qYMore: o.value.top + r + t / y.value / 4 * 3,
|
|
180
|
+
color: Fe.value[l],
|
|
181
|
+
height: Math.max(0.1, t / y.value)
|
|
182
182
|
}), l += 1;
|
|
183
183
|
return s;
|
|
184
|
-
}),
|
|
184
|
+
}), _ = v(!1);
|
|
185
185
|
function he(s) {
|
|
186
|
-
|
|
186
|
+
_.value = s, X.value += 1;
|
|
187
187
|
}
|
|
188
188
|
const z = v(!1);
|
|
189
189
|
function D() {
|
|
190
190
|
z.value = !z.value;
|
|
191
191
|
}
|
|
192
|
-
async function
|
|
192
|
+
async function Ie({ scale: s = 2 } = {}) {
|
|
193
193
|
if (!k.value) return;
|
|
194
|
-
const { width: l, height: t } = k.value.getBoundingClientRect(), r = l / t, { imageUri: b, base64:
|
|
194
|
+
const { width: l, height: t } = k.value.getBoundingClientRect(), r = l / t, { imageUri: b, base64: $ } = await mt({ domElement: k.value, base64: !0, img: !0, scale: s });
|
|
195
195
|
return {
|
|
196
196
|
imageUri: b,
|
|
197
|
-
base64:
|
|
197
|
+
base64: $,
|
|
198
198
|
title: e.value.style.title.text,
|
|
199
199
|
width: l,
|
|
200
200
|
height: t,
|
|
201
201
|
aspectRatio: r
|
|
202
202
|
};
|
|
203
203
|
}
|
|
204
|
-
const
|
|
204
|
+
const C = c({
|
|
205
205
|
get: () => e.value.style.chart.label.fontSize,
|
|
206
206
|
set: (s) => s
|
|
207
207
|
}), { autoSizeLabels: ce } = ct({
|
|
208
|
-
svgRef:
|
|
208
|
+
svgRef: I,
|
|
209
209
|
fontSize: e.value.style.chart.label.fontSize,
|
|
210
210
|
minFontSize: e.value.style.chart.label.minFontSize,
|
|
211
|
-
sizeRef:
|
|
211
|
+
sizeRef: C,
|
|
212
212
|
labelClass: ".vue-ui-thermometer-label"
|
|
213
213
|
}), Pe = c(() => e.value.style.chart.backgroundColor), Te = c(() => e.value.style.title), { exportSvg: Me, getSvg: ze } = nt({
|
|
214
|
-
svg:
|
|
214
|
+
svg: I,
|
|
215
215
|
title: Te,
|
|
216
216
|
backgroundColor: Pe
|
|
217
217
|
});
|
|
@@ -223,7 +223,7 @@ const ft = ["id"], gt = {
|
|
|
223
223
|
Me();
|
|
224
224
|
}
|
|
225
225
|
return ge({
|
|
226
|
-
getImage:
|
|
226
|
+
getImage: Ie,
|
|
227
227
|
generatePdf: re,
|
|
228
228
|
generateImage: ue,
|
|
229
229
|
generateSvg: ve,
|
|
@@ -232,7 +232,7 @@ const ft = ["id"], gt = {
|
|
|
232
232
|
}), (s, l) => (a(), u("div", {
|
|
233
233
|
ref_key: "thermoChart",
|
|
234
234
|
ref: k,
|
|
235
|
-
class: U(`vue-data-ui-component vue-ui-thermometer ${
|
|
235
|
+
class: U(`vue-data-ui-component vue-ui-thermometer ${_.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
|
|
236
236
|
style: de(`width:100%;background:${e.value.style.chart.backgroundColor};color:${e.value.style.chart.color};font-family:${e.value.style.fontFamily}`),
|
|
237
237
|
id: `thermometer__${p.value}`,
|
|
238
238
|
onMouseenter: l[0] || (l[0] = () => n(se)(!0)),
|
|
@@ -240,7 +240,7 @@ const ft = ["id"], gt = {
|
|
|
240
240
|
}, [
|
|
241
241
|
e.value.userOptions.buttons.annotator ? (a(), W(n(ke), {
|
|
242
242
|
key: 0,
|
|
243
|
-
svgRef: n(
|
|
243
|
+
svgRef: n(I),
|
|
244
244
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
245
245
|
color: e.value.style.chart.color,
|
|
246
246
|
active: z.value,
|
|
@@ -280,7 +280,7 @@ const ft = ["id"], gt = {
|
|
|
280
280
|
hasSvg: e.value.userOptions.buttons.svg,
|
|
281
281
|
hasFullscreen: e.value.userOptions.buttons.fullscreen,
|
|
282
282
|
hasXls: !1,
|
|
283
|
-
isFullscreen:
|
|
283
|
+
isFullscreen: _.value,
|
|
284
284
|
titles: { ...e.value.userOptions.buttonTitles },
|
|
285
285
|
chartElement: k.value,
|
|
286
286
|
position: e.value.userOptions.position,
|
|
@@ -299,45 +299,52 @@ const ft = ["id"], gt = {
|
|
|
299
299
|
}, Ve({ _: 2 }, [
|
|
300
300
|
s.$slots.menuIcon ? {
|
|
301
301
|
name: "menuIcon",
|
|
302
|
-
fn:
|
|
303
|
-
|
|
302
|
+
fn: x(({ isOpen: t, color: r }) => [
|
|
303
|
+
d(s.$slots, "menuIcon", L(N({ isOpen: t, color: r })), void 0, !0)
|
|
304
304
|
]),
|
|
305
305
|
key: "0"
|
|
306
306
|
} : void 0,
|
|
307
307
|
s.$slots.optionPdf ? {
|
|
308
308
|
name: "optionPdf",
|
|
309
|
-
fn:
|
|
310
|
-
|
|
309
|
+
fn: x(() => [
|
|
310
|
+
d(s.$slots, "optionPdf", {}, void 0, !0)
|
|
311
311
|
]),
|
|
312
312
|
key: "1"
|
|
313
313
|
} : void 0,
|
|
314
314
|
s.$slots.optionImg ? {
|
|
315
315
|
name: "optionImg",
|
|
316
|
-
fn:
|
|
317
|
-
|
|
316
|
+
fn: x(() => [
|
|
317
|
+
d(s.$slots, "optionImg", {}, void 0, !0)
|
|
318
318
|
]),
|
|
319
319
|
key: "2"
|
|
320
320
|
} : void 0,
|
|
321
|
+
s.$slots.optionSvg ? {
|
|
322
|
+
name: "optionSvg",
|
|
323
|
+
fn: x(() => [
|
|
324
|
+
d(s.$slots, "optionSvg", {}, void 0, !0)
|
|
325
|
+
]),
|
|
326
|
+
key: "3"
|
|
327
|
+
} : void 0,
|
|
321
328
|
s.$slots.optionFullscreen ? {
|
|
322
329
|
name: "optionFullscreen",
|
|
323
|
-
fn:
|
|
324
|
-
|
|
330
|
+
fn: x(({ toggleFullscreen: t, isFullscreen: r }) => [
|
|
331
|
+
d(s.$slots, "optionFullscreen", L(N({ toggleFullscreen: t, isFullscreen: r })), void 0, !0)
|
|
325
332
|
]),
|
|
326
|
-
key: "
|
|
333
|
+
key: "4"
|
|
327
334
|
} : void 0,
|
|
328
335
|
s.$slots.optionAnnotator ? {
|
|
329
336
|
name: "optionAnnotator",
|
|
330
|
-
fn:
|
|
331
|
-
|
|
337
|
+
fn: x(({ toggleAnnotator: t, isAnnotator: r }) => [
|
|
338
|
+
d(s.$slots, "optionAnnotator", L(N({ toggleAnnotator: t, isAnnotator: r })), void 0, !0)
|
|
332
339
|
]),
|
|
333
|
-
key: "
|
|
340
|
+
key: "5"
|
|
334
341
|
} : void 0
|
|
335
342
|
]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasPdf", "hasImg", "hasSvg", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "onGeneratePdf", "onGenerateImage", "style"])) : i("", !0),
|
|
336
343
|
(a(), u("svg", {
|
|
337
344
|
ref_key: "svgRef",
|
|
338
|
-
ref:
|
|
345
|
+
ref: I,
|
|
339
346
|
xmlns: n(Qe),
|
|
340
|
-
class: U({ "vue-data-ui-fullscreen--on":
|
|
347
|
+
class: U({ "vue-data-ui-fullscreen--on": _.value, "vue-data-ui-fulscreen--off": !_.value }),
|
|
341
348
|
width: "100%",
|
|
342
349
|
viewBox: `0 0 ${o.value.width} ${o.value.height}`,
|
|
343
350
|
style: "background:transparent"
|
|
@@ -353,14 +360,14 @@ const ft = ["id"], gt = {
|
|
|
353
360
|
pointerEvents: "none"
|
|
354
361
|
}
|
|
355
362
|
}, [
|
|
356
|
-
|
|
363
|
+
d(s.$slots, "chart-background", {}, void 0, !0)
|
|
357
364
|
], 8, kt)) : i("", !0),
|
|
358
|
-
|
|
359
|
-
|
|
365
|
+
m("defs", null, [
|
|
366
|
+
m("clipPath", {
|
|
360
367
|
id: `vueUiPill-${p.value}`,
|
|
361
368
|
clipPathUnits: "userSpaceOnUse"
|
|
362
369
|
}, [
|
|
363
|
-
|
|
370
|
+
m("rect", {
|
|
364
371
|
x: o.value.left,
|
|
365
372
|
y: o.value.top,
|
|
366
373
|
width: o.value.thermoWidth,
|
|
@@ -376,24 +383,24 @@ const ft = ["id"], gt = {
|
|
|
376
383
|
x2: "100%",
|
|
377
384
|
y2: "0%"
|
|
378
385
|
}, [
|
|
379
|
-
|
|
386
|
+
m("stop", {
|
|
380
387
|
offset: "0%",
|
|
381
388
|
"stop-color": t.color
|
|
382
389
|
}, null, 8, _t),
|
|
383
|
-
|
|
390
|
+
m("stop", {
|
|
384
391
|
offset: "50%",
|
|
385
392
|
"stop-color": n(Ze)(t.color, 100 - e.value.style.chart.graduations.gradient.intensity)
|
|
386
393
|
}, null, 8, Ct),
|
|
387
|
-
|
|
394
|
+
m("stop", {
|
|
388
395
|
offset: "100%",
|
|
389
396
|
"stop-color": t.color
|
|
390
397
|
}, null, 8, $t)
|
|
391
398
|
], 8, wt))), 256))
|
|
392
399
|
]),
|
|
393
|
-
|
|
400
|
+
m("g", {
|
|
394
401
|
"clip-path": `url(#vueUiPill-${p.value})`
|
|
395
402
|
}, [
|
|
396
|
-
|
|
403
|
+
m("rect", {
|
|
397
404
|
x: o.value.left,
|
|
398
405
|
y: o.value.top,
|
|
399
406
|
height: o.value.thermoHeight,
|
|
@@ -403,14 +410,14 @@ const ft = ["id"], gt = {
|
|
|
403
410
|
(a(!0), u(Y, null, me(ie.value, (t, r) => (a(), u("g", {
|
|
404
411
|
key: `graduation_${r}`
|
|
405
412
|
}, [
|
|
406
|
-
|
|
413
|
+
m("rect", {
|
|
407
414
|
x: t.x,
|
|
408
415
|
y: t.y,
|
|
409
416
|
height: t.height,
|
|
410
417
|
width: o.value.thermoWidth,
|
|
411
418
|
fill: e.value.style.chart.graduations.gradient.show ? `url(#vueUiThermometerGradient_${r}_${p.value})` : t.color,
|
|
412
419
|
"shape-rendering": "crispEdges"
|
|
413
|
-
}, null, 8,
|
|
420
|
+
}, null, 8, St),
|
|
414
421
|
e.value.style.chart.graduations.show && ["both", "left"].includes(e.value.style.chart.graduations.sides) ? (a(), u("line", {
|
|
415
422
|
key: 0,
|
|
416
423
|
x1: t.x,
|
|
@@ -420,7 +427,7 @@ const ft = ["id"], gt = {
|
|
|
420
427
|
"stroke-width": e.value.style.chart.graduations.strokeWidth,
|
|
421
428
|
stroke: e.value.style.chart.graduations.stroke,
|
|
422
429
|
"stroke-linecap": "round"
|
|
423
|
-
}, null, 8,
|
|
430
|
+
}, null, 8, Ft)) : i("", !0),
|
|
424
431
|
e.value.style.chart.graduations.showIntermediate ? (a(), u(Y, { key: 1 }, [
|
|
425
432
|
e.value.style.chart.graduations.show && ["both", "left"].includes(e.value.style.chart.graduations.sides) ? (a(), u("line", {
|
|
426
433
|
key: 0,
|
|
@@ -431,7 +438,7 @@ const ft = ["id"], gt = {
|
|
|
431
438
|
"stroke-width": e.value.style.chart.graduations.strokeWidth / 2,
|
|
432
439
|
stroke: e.value.style.chart.graduations.stroke,
|
|
433
440
|
"stroke-linecap": "round"
|
|
434
|
-
}, null, 8,
|
|
441
|
+
}, null, 8, It)) : i("", !0),
|
|
435
442
|
e.value.style.chart.graduations.show && ["both", "left"].includes(e.value.style.chart.graduations.sides) ? (a(), u("line", {
|
|
436
443
|
key: 1,
|
|
437
444
|
x1: t.x,
|
|
@@ -496,7 +503,7 @@ const ft = ["id"], gt = {
|
|
|
496
503
|
}, null, 8, Wt)) : i("", !0)
|
|
497
504
|
], 64)) : i("", !0)
|
|
498
505
|
]))), 128)),
|
|
499
|
-
|
|
506
|
+
m("rect", {
|
|
500
507
|
class: U({ "vue-ui-thermometer-temperature": e.value.style.chart.animation.use }),
|
|
501
508
|
x: o.value.left,
|
|
502
509
|
y: o.value.top,
|
|
@@ -509,36 +516,36 @@ const ft = ["id"], gt = {
|
|
|
509
516
|
n(Z) ? (a(), u("rect", {
|
|
510
517
|
key: 0,
|
|
511
518
|
x: o.value.left - 60,
|
|
512
|
-
y: M.value + o.value.top -
|
|
519
|
+
y: M.value + o.value.top - C.value / 2,
|
|
513
520
|
width: 50,
|
|
514
|
-
height:
|
|
521
|
+
height: C.value,
|
|
515
522
|
fill: "#6A6A6A40",
|
|
516
523
|
rx: "3"
|
|
517
524
|
}, null, 8, Yt)) : (a(), u("text", {
|
|
518
525
|
key: 1,
|
|
519
526
|
class: U({ "vue-ui-thermometer-temperature-value": e.value.style.chart.animation.use, "vue-ui-thermometer-label": !0 }),
|
|
520
|
-
y: M.value + o.value.top +
|
|
527
|
+
y: M.value + o.value.top + C.value / 3,
|
|
521
528
|
x: o.value.left - 10,
|
|
522
529
|
"text-anchor": "end",
|
|
523
530
|
fill: e.value.style.chart.label.color,
|
|
524
|
-
"font-size":
|
|
531
|
+
"font-size": C.value,
|
|
525
532
|
"font-weight": e.value.style.chart.label.bold ? "bold" : "normal"
|
|
526
533
|
}, Ge(n(et)(
|
|
527
534
|
e.value.style.chart.label.formatter,
|
|
528
|
-
|
|
535
|
+
S.dataset.value,
|
|
529
536
|
n(tt)({
|
|
530
537
|
p: e.value.style.chart.label.prefix,
|
|
531
|
-
v:
|
|
538
|
+
v: S.dataset.value,
|
|
532
539
|
s: e.value.style.chart.label.suffix,
|
|
533
540
|
r: e.value.style.chart.label.rounding
|
|
534
541
|
}),
|
|
535
|
-
{ datapoint:
|
|
542
|
+
{ datapoint: S.dataset }
|
|
536
543
|
)), 11, Et))
|
|
537
544
|
])) : i("", !0),
|
|
538
|
-
|
|
545
|
+
d(s.$slots, "svg", { svg: $e.value }, void 0, !0)
|
|
539
546
|
], 10, pt)),
|
|
540
547
|
s.$slots.watermark ? (a(), u("div", Ht, [
|
|
541
|
-
|
|
548
|
+
d(s.$slots, "watermark", L(N({ isPrinting: n(le) || n(ae) })), void 0, !0)
|
|
542
549
|
])) : i("", !0),
|
|
543
550
|
s.$slots.source ? (a(), u("div", {
|
|
544
551
|
key: 5,
|
|
@@ -546,12 +553,12 @@ const ft = ["id"], gt = {
|
|
|
546
553
|
ref: Q,
|
|
547
554
|
dir: "auto"
|
|
548
555
|
}, [
|
|
549
|
-
|
|
556
|
+
d(s.$slots, "source", {}, void 0, !0)
|
|
550
557
|
], 512)) : i("", !0),
|
|
551
558
|
n(Z) ? (a(), W(rt, { key: 6 })) : i("", !0)
|
|
552
559
|
], 46, ft));
|
|
553
560
|
}
|
|
554
|
-
}, os = /* @__PURE__ */ yt(Rt, [["__scopeId", "data-v-
|
|
561
|
+
}, os = /* @__PURE__ */ yt(Rt, [["__scopeId", "data-v-ca7efcec"]]);
|
|
555
562
|
export {
|
|
556
563
|
os as default
|
|
557
564
|
};
|
|
@@ -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-D-auaEEJ.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
|
});
|
|
@@ -1,4 +1,4 @@
|
|
|
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
|
|
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 m, createSlots as Fe, withCtx as $, renderSlot as p, normalizeProps as E, guardReactiveProps as M, createVNode as Te, Fragment as ve, renderList as he, toDisplayString as Ne } from "vue";
|
|
2
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-C_mNZmhD.js";
|
|
3
3
|
import { t as He, u as je } from "./useResponsive-DfdjqQps.js";
|
|
4
4
|
import { u as Xe, a as ge } from "./useNestedProp-BjZe1Y85.js";
|
|
@@ -30,8 +30,8 @@ const at = ["id"], lt = ["xmlns", "viewBox"], ot = ["width", "height"], st = { k
|
|
|
30
30
|
}
|
|
31
31
|
}
|
|
32
32
|
},
|
|
33
|
-
setup(fe, { expose:
|
|
34
|
-
const
|
|
33
|
+
setup(fe, { expose: pe }) {
|
|
34
|
+
const ye = j(() => import("./PenAndPaper-DSvu9dwa.js")), me = j(() => import("./UserOptions-CGnQt6Fd.js")), ke = j(() => import("./PackageVersion-D-auaEEJ.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), x = 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,
|
|
@@ -106,7 +106,7 @@ const at = ["id"], lt = ["xmlns", "viewBox"], ot = ["width", "height"], st = { k
|
|
|
106
106
|
z.value = Math.max(0.1, l), F.value = Math.max(0.1, a - 12);
|
|
107
107
|
});
|
|
108
108
|
});
|
|
109
|
-
|
|
109
|
+
x.value && (S.value && x.value.unobserve(S.value), x.value.disconnect()), x.value = new ResizeObserver(t), S.value = _.value.parentNode, x.value.observe(S.value);
|
|
110
110
|
}
|
|
111
111
|
oe(U.value.percentage || 0);
|
|
112
112
|
}
|
|
@@ -151,23 +151,23 @@ const at = ["id"], lt = ["xmlns", "viewBox"], ot = ["width", "height"], st = { k
|
|
|
151
151
|
for (let a = 0; a < 100; a += 1) {
|
|
152
152
|
const o = e.value.style.chart.layout.ticks.gradient.show ? de(e.value.style.chart.layout.activeColor, a / 100 * (e.value.style.chart.layout.ticks.gradient.shiftHueIntensity / 100)) : e.value.style.chart.layout.activeColor;
|
|
153
153
|
if (P.value) {
|
|
154
|
-
const y = e.value.style.chart.layout.crescendo ? (100 - a) * (n.value.width - c.value.left - c.value.right) / 100 / 3 : 0, g = c.value.left + 4 + y, k = n.value.width - c.value.right - 4 - y, b = n.value.height - c.value.bottom - a * d.value.mark - a * d.value.space - d.value.mark, w = n.value.height - c.value.bottom - a * d.value.mark - a * d.value.space - d.value.mark,
|
|
154
|
+
const y = e.value.style.chart.layout.crescendo ? (100 - a) * (n.value.width - c.value.left - c.value.right) / 100 / 3 : 0, g = c.value.left + 4 + y, k = n.value.width - c.value.right - 4 - y, b = n.value.height - c.value.bottom - a * d.value.mark - a * d.value.space - d.value.mark, w = n.value.height - c.value.bottom - a * d.value.mark - a * d.value.space - d.value.mark, A = (k - g) / e.value.style.chart.layout.curveAngleX, O = e.value.style.chart.layout.curveAngleY * ((1 + a) / 100);
|
|
155
155
|
t.push({
|
|
156
156
|
x1: g,
|
|
157
157
|
x2: k,
|
|
158
158
|
y1: b,
|
|
159
159
|
y2: w,
|
|
160
|
-
curve: `M ${g} ${b} C ${g +
|
|
160
|
+
curve: `M ${g} ${b} C ${g + A} ${b - O}, ${k - A} ${w - O}, ${k} ${w}`,
|
|
161
161
|
color: o
|
|
162
162
|
});
|
|
163
163
|
} else {
|
|
164
|
-
const y = e.value.style.chart.layout.crescendo ? (100 - a) * (n.value.height - c.value.top - c.value.bottom) / 100 / 3 : 0, g = c.value.left + a * d.value.mark + a * d.value.space - d.value.mark, k = g, b = c.value.top + 4 + y, w = n.value.height - c.value.bottom - 4 - y,
|
|
164
|
+
const y = e.value.style.chart.layout.crescendo ? (100 - a) * (n.value.height - c.value.top - c.value.bottom) / 100 / 3 : 0, g = c.value.left + a * d.value.mark + a * d.value.space - d.value.mark, k = g, b = c.value.top + 4 + y, w = n.value.height - c.value.bottom - 4 - y, A = e.value.style.chart.layout.curveAngleY * ((1 + a) / 100), O = (w - b) / e.value.style.chart.layout.curveAngleX;
|
|
165
165
|
t.push({
|
|
166
166
|
x1: g,
|
|
167
167
|
x2: k,
|
|
168
168
|
y1: b,
|
|
169
169
|
y2: w,
|
|
170
|
-
curve: `M ${g} ${b} C ${g +
|
|
170
|
+
curve: `M ${g} ${b} C ${g + A} ${b + O}, ${k + A} ${w - O}, ${k} ${w}`,
|
|
171
171
|
color: o
|
|
172
172
|
});
|
|
173
173
|
}
|
|
@@ -216,7 +216,7 @@ const at = ["id"], lt = ["xmlns", "viewBox"], ot = ["width", "height"], st = { k
|
|
|
216
216
|
} else
|
|
217
217
|
Se();
|
|
218
218
|
}
|
|
219
|
-
return
|
|
219
|
+
return pe({
|
|
220
220
|
getImage: xe,
|
|
221
221
|
generatePdf: ae,
|
|
222
222
|
generateImage: le,
|
|
@@ -232,21 +232,21 @@ const at = ["id"], lt = ["xmlns", "viewBox"], ot = ["width", "height"], st = { k
|
|
|
232
232
|
onMouseenter: l[0] || (l[0] = () => s(Q)(!0)),
|
|
233
233
|
onMouseleave: l[1] || (l[1] = () => s(Q)(!1))
|
|
234
234
|
}, [
|
|
235
|
-
e.value.userOptions.buttons.annotator ? (r(), R(s(
|
|
235
|
+
e.value.userOptions.buttons.annotator ? (r(), R(s(ye), {
|
|
236
236
|
key: 0,
|
|
237
237
|
svgRef: s(G),
|
|
238
238
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
239
239
|
color: e.value.style.chart.color,
|
|
240
240
|
active: N.value,
|
|
241
241
|
onClose: H
|
|
242
|
-
}, null, 8, ["svgRef", "backgroundColor", "color", "active"])) :
|
|
242
|
+
}, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : m("", !0),
|
|
243
243
|
_e.value ? (r(), u("div", {
|
|
244
244
|
key: 1,
|
|
245
245
|
ref_key: "noTitle",
|
|
246
246
|
ref: Ce,
|
|
247
247
|
class: "vue-data-ui-no-title-space",
|
|
248
248
|
style: "height:36px; width: 100%;background:transparent"
|
|
249
|
-
}, null, 512)) :
|
|
249
|
+
}, null, 512)) : m("", !0),
|
|
250
250
|
e.value.style.chart.title.text ? (r(), u("div", {
|
|
251
251
|
key: 2,
|
|
252
252
|
ref_key: "chartTitle",
|
|
@@ -266,7 +266,7 @@ const at = ["id"], lt = ["xmlns", "viewBox"], ot = ["width", "height"], st = { k
|
|
|
266
266
|
}
|
|
267
267
|
}
|
|
268
268
|
}, null, 8, ["config"]))
|
|
269
|
-
], 512)) :
|
|
269
|
+
], 512)) : m("", !0),
|
|
270
270
|
e.value.userOptions.show && we.value && (s(Z) || s(B)) ? (r(), R(s(me), {
|
|
271
271
|
ref: "details",
|
|
272
272
|
key: `user_options_${W.value}`,
|
|
@@ -299,40 +299,47 @@ const at = ["id"], lt = ["xmlns", "viewBox"], ot = ["width", "height"], st = { k
|
|
|
299
299
|
}, Fe({ _: 2 }, [
|
|
300
300
|
t.$slots.menuIcon ? {
|
|
301
301
|
name: "menuIcon",
|
|
302
|
-
fn:
|
|
303
|
-
|
|
302
|
+
fn: $(({ isOpen: a, color: o }) => [
|
|
303
|
+
p(t.$slots, "menuIcon", E(M({ isOpen: a, color: o })), void 0, !0)
|
|
304
304
|
]),
|
|
305
305
|
key: "0"
|
|
306
306
|
} : void 0,
|
|
307
307
|
t.$slots.optionPdf ? {
|
|
308
308
|
name: "optionPdf",
|
|
309
|
-
fn:
|
|
310
|
-
|
|
309
|
+
fn: $(() => [
|
|
310
|
+
p(t.$slots, "optionPdf", {}, void 0, !0)
|
|
311
311
|
]),
|
|
312
312
|
key: "1"
|
|
313
313
|
} : void 0,
|
|
314
314
|
t.$slots.optionImg ? {
|
|
315
315
|
name: "optionImg",
|
|
316
|
-
fn:
|
|
317
|
-
|
|
316
|
+
fn: $(() => [
|
|
317
|
+
p(t.$slots, "optionImg", {}, void 0, !0)
|
|
318
318
|
]),
|
|
319
319
|
key: "2"
|
|
320
320
|
} : void 0,
|
|
321
|
+
t.$slots.optionSvg ? {
|
|
322
|
+
name: "optionSvg",
|
|
323
|
+
fn: $(() => [
|
|
324
|
+
p(t.$slots, "optionSvg", {}, void 0, !0)
|
|
325
|
+
]),
|
|
326
|
+
key: "3"
|
|
327
|
+
} : void 0,
|
|
321
328
|
t.$slots.optionFullscreen ? {
|
|
322
329
|
name: "optionFullscreen",
|
|
323
|
-
fn:
|
|
324
|
-
|
|
330
|
+
fn: $(({ toggleFullscreen: a, isFullscreen: o }) => [
|
|
331
|
+
p(t.$slots, "optionFullscreen", E(M({ toggleFullscreen: a, isFullscreen: o })), void 0, !0)
|
|
325
332
|
]),
|
|
326
|
-
key: "
|
|
333
|
+
key: "4"
|
|
327
334
|
} : void 0,
|
|
328
335
|
t.$slots.optionAnnotator ? {
|
|
329
336
|
name: "optionAnnotator",
|
|
330
|
-
fn:
|
|
331
|
-
|
|
337
|
+
fn: $(({ toggleAnnotator: a, isAnnotator: o }) => [
|
|
338
|
+
p(t.$slots, "optionAnnotator", E(M({ toggleAnnotator: a, isAnnotator: o })), void 0, !0)
|
|
332
339
|
]),
|
|
333
|
-
key: "
|
|
340
|
+
key: "5"
|
|
334
341
|
} : void 0
|
|
335
|
-
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasImg", "hasSvg", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "onGeneratePdf", "onGenerateImage", "style"])) :
|
|
342
|
+
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasImg", "hasSvg", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "onGeneratePdf", "onGenerateImage", "style"])) : m("", !0),
|
|
336
343
|
(r(), u("svg", {
|
|
337
344
|
ref_key: "svgRef",
|
|
338
345
|
ref: G,
|
|
@@ -352,8 +359,8 @@ const at = ["id"], lt = ["xmlns", "viewBox"], ot = ["width", "height"], st = { k
|
|
|
352
359
|
pointerEvents: "none"
|
|
353
360
|
}
|
|
354
361
|
}, [
|
|
355
|
-
|
|
356
|
-
], 8, ot)) :
|
|
362
|
+
p(t.$slots, "chart-background", {}, void 0, !0)
|
|
363
|
+
], 8, ot)) : m("", !0),
|
|
357
364
|
e.value.style.chart.layout.curved ? (r(), u("g", st, [
|
|
358
365
|
(r(!0), u(ve, null, he(re.value, (a, o) => (r(), u("path", {
|
|
359
366
|
d: a.curve,
|
|
@@ -400,24 +407,24 @@ const at = ["id"], lt = ["xmlns", "viewBox"], ot = ["width", "height"], st = { k
|
|
|
400
407
|
r: e.value.style.chart.percentage.rounding
|
|
401
408
|
})
|
|
402
409
|
)), 9, vt))
|
|
403
|
-
])) :
|
|
404
|
-
|
|
410
|
+
])) : m("", !0),
|
|
411
|
+
p(t.$slots, "svg", { svg: n.value }, void 0, !0)
|
|
405
412
|
], 14, lt)),
|
|
406
413
|
t.$slots.watermark ? (r(), u("div", ht, [
|
|
407
|
-
|
|
408
|
-
])) :
|
|
414
|
+
p(t.$slots, "watermark", E(M({ isPrinting: s(ee) || s(te) })), void 0, !0)
|
|
415
|
+
])) : m("", !0),
|
|
409
416
|
t.$slots.source ? (r(), u("div", {
|
|
410
417
|
key: 5,
|
|
411
418
|
ref_key: "source",
|
|
412
419
|
ref: Y,
|
|
413
420
|
dir: "auto"
|
|
414
421
|
}, [
|
|
415
|
-
|
|
416
|
-
], 512)) :
|
|
417
|
-
s(K) ? (r(), R(qe, { key: 6 })) :
|
|
422
|
+
p(t.$slots, "source", {}, void 0, !0)
|
|
423
|
+
], 512)) : m("", !0),
|
|
424
|
+
s(K) ? (r(), R(qe, { key: 6 })) : m("", !0)
|
|
418
425
|
], 46, at));
|
|
419
426
|
}
|
|
420
|
-
}, Ot = /* @__PURE__ */ tt(dt, [["__scopeId", "data-v-
|
|
427
|
+
}, Ot = /* @__PURE__ */ tt(dt, [["__scopeId", "data-v-e1952655"]]);
|
|
421
428
|
export {
|
|
422
429
|
Ot as default
|
|
423
430
|
};
|