vue-data-ui 3.9.2 → 3.9.4
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-Cqd_jnJh.js → PackageVersion-CcRSQPqx.js} +1 -1
- 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-cursor.js +1 -1
- package/dist/components/vue-ui-dag.js +1 -1
- package/dist/components/vue-ui-dashboard.js +1 -1
- package/dist/components/vue-ui-donut-evolution.js +1 -1
- package/dist/components/vue-ui-donut.js +1 -1
- package/dist/components/vue-ui-dumbbell.js +1 -1
- package/dist/components/vue-ui-flow.js +1 -1
- package/dist/components/vue-ui-funnel.js +1 -1
- package/dist/components/vue-ui-galaxy.js +1 -1
- package/dist/components/vue-ui-gauge.js +1 -1
- package/dist/components/vue-ui-geo.js +1 -1
- package/dist/components/vue-ui-gizmo.js +1 -1
- package/dist/components/vue-ui-heatmap.js +1 -1
- package/dist/components/vue-ui-history-plot.js +1 -1
- package/dist/components/vue-ui-horizontal-bar.js +1 -1
- package/dist/components/vue-ui-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-stackline.js +1 -1
- package/dist/components/vue-ui-strip-plot.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.js +1 -1
- package/dist/style.css +1 -1
- package/dist/{vue-data-ui-jc7MUQmF.js → vue-data-ui-Cyf1vGWj.js} +57 -57
- package/dist/vue-data-ui.js +58 -58
- package/dist/{vue-ui-3d-bar-DnrKeChj.js → vue-ui-3d-bar-CL-AiiMH.js} +1 -1
- package/dist/{vue-ui-age-pyramid-BhMZmyvF.js → vue-ui-age-pyramid-CtH_XTVb.js} +1 -1
- package/dist/{vue-ui-bullet-CMMAxcpy.js → vue-ui-bullet-BslnCc4b.js} +117 -117
- package/dist/{vue-ui-candlestick-DD3HBSWY.js → vue-ui-candlestick-ACEUsHlP.js} +1 -1
- package/dist/{vue-ui-carousel-table-DYxQqLVw.js → vue-ui-carousel-table-CoGE1vEs.js} +1 -1
- package/dist/{vue-ui-chestnut-Bb391A-w.js → vue-ui-chestnut-Bl1kvUYI.js} +1 -1
- package/dist/{vue-ui-chord-BMJz7gTO.js → vue-ui-chord-B4Y_mO74.js} +1 -1
- package/dist/{vue-ui-circle-pack-BNvebVc_.js → vue-ui-circle-pack-DmRycIN5.js} +1 -1
- package/dist/{vue-ui-cursor-Dxi464Ps.js → vue-ui-cursor-DxOySGsA.js} +1 -1
- package/dist/{vue-ui-dag-D3Y0ss0q.js → vue-ui-dag-BJq_p371.js} +1 -1
- package/dist/{vue-ui-dashboard-D4XNvZEI.js → vue-ui-dashboard-BNUkZXFX.js} +54 -54
- package/dist/{vue-ui-donut-CofjZRvC.js → vue-ui-donut-BAjP2Xfh.js} +232 -232
- package/dist/{vue-ui-donut-evolution-CYdFYOv7.js → vue-ui-donut-evolution-DYsbI7cO.js} +1 -1
- package/dist/{vue-ui-dumbbell-Uwamxj-h.js → vue-ui-dumbbell-CtmcyLwo.js} +1 -1
- package/dist/{vue-ui-flow-Zjnvmqbf.js → vue-ui-flow-D0CBt2E3.js} +1 -1
- package/dist/{vue-ui-funnel-Bz1hwX8J.js → vue-ui-funnel-DCXphQjZ.js} +1 -1
- package/dist/{vue-ui-galaxy-Blj4OcuQ.js → vue-ui-galaxy-DswvZjwV.js} +1 -1
- package/dist/{vue-ui-gauge-lyzwM9n9.js → vue-ui-gauge-BQjGo1YG.js} +1 -1
- package/dist/{vue-ui-geo-DmyHgp6f.js → vue-ui-geo-B4rtpc6o.js} +1 -1
- package/dist/{vue-ui-gizmo-BIOa6EJm.js → vue-ui-gizmo-C0xf3U1a.js} +1 -1
- package/dist/{vue-ui-heatmap-Dy1I79jU.js → vue-ui-heatmap-CLwkzCZk.js} +1 -1
- package/dist/{vue-ui-history-plot-DhxscklX.js → vue-ui-history-plot-zboLNKle.js} +1 -1
- package/dist/{vue-ui-horizontal-bar-BXrc2mbE.js → vue-ui-horizontal-bar-S0m6kKF4.js} +1 -1
- package/dist/{vue-ui-molecule-DQtY0Gyy.js → vue-ui-molecule-Cg9G-B9D.js} +1 -1
- package/dist/{vue-ui-mood-radar-ZnEJ_AA9.js → vue-ui-mood-radar-D_hfg-WG.js} +1 -1
- package/dist/{vue-ui-nested-donuts-CfNibIXL.js → vue-ui-nested-donuts-JziMPa4A.js} +1 -1
- package/dist/{vue-ui-onion-CfEYEyby.js → vue-ui-onion-DAwiNZrD.js} +1 -1
- package/dist/{vue-ui-parallel-coordinate-plot-BDbDc-AQ.js → vue-ui-parallel-coordinate-plot-CKbqwKhY.js} +1 -1
- package/dist/{vue-ui-quadrant-OZn9JDYG.js → vue-ui-quadrant-Bnyr6Ko8.js} +1 -1
- package/dist/{vue-ui-quick-chart-rxjCkIfg.js → vue-ui-quick-chart-D_sbOTis.js} +1 -1
- package/dist/{vue-ui-radar-6LcXizLr.js → vue-ui-radar-C7ToNHPp.js} +1 -1
- package/dist/{vue-ui-relation-circle-CUsOxTTi.js → vue-ui-relation-circle-DRhhQRJP.js} +1 -1
- package/dist/{vue-ui-ridgeline-BpNOYtn-.js → vue-ui-ridgeline-BhhZ7Pwc.js} +1 -1
- package/dist/{vue-ui-rings-HxKjlcYy.js → vue-ui-rings-Dde-FFz0.js} +1 -1
- package/dist/{vue-ui-scatter-CBS2N3dz.js → vue-ui-scatter-Ce5hJ9_l.js} +1 -1
- package/dist/{vue-ui-skeleton-C4H_THKQ.js → vue-ui-skeleton-1k0fDsh4.js} +1 -1
- package/dist/{vue-ui-spark-trend-CJhuPDNg.js → vue-ui-spark-trend-M7uSr9fA.js} +1 -1
- package/dist/{vue-ui-sparkbar-B98lI934.js → vue-ui-sparkbar-BGIwVlEQ.js} +1 -1
- package/dist/{vue-ui-sparkgauge-L4xysWkN.js → vue-ui-sparkgauge-CvNK3zkW.js} +1 -1
- package/dist/{vue-ui-sparkhistogram-DHPJRHaj.js → vue-ui-sparkhistogram-LuSiEAIK.js} +1 -1
- package/dist/{vue-ui-sparkline-CYrrFlTe.js → vue-ui-sparkline-DLBWEwol.js} +1 -1
- package/dist/{vue-ui-sparkstackbar-rkOdqTgS.js → vue-ui-sparkstackbar-B-yT56E6.js} +1 -1
- package/dist/{vue-ui-stackbar-CK1NIsnA.js → vue-ui-stackbar-Dku5J0mF.js} +1 -1
- package/dist/{vue-ui-stackline-Lth0M3Nz.js → vue-ui-stackline-CJO3lT1M.js} +1 -1
- package/dist/{vue-ui-strip-plot-BGBCtwom.js → vue-ui-strip-plot-JkdUev1W.js} +1 -1
- package/dist/{vue-ui-table-CqoB-rh8.js → vue-ui-table-CoWi1q6g.js} +2 -2
- package/dist/{vue-ui-table-sparkline-ni8jsLpS.js → vue-ui-table-sparkline-COHiPXYw.js} +1 -1
- package/dist/{vue-ui-thermometer-ByH2NTic.js → vue-ui-thermometer-CfKXjJ7F.js} +1 -1
- package/dist/{vue-ui-timer-Dxvm6G9d.js → vue-ui-timer-CYtZLuRU.js} +1 -1
- package/dist/{vue-ui-tiremarks-DuCC1sgq.js → vue-ui-tiremarks-D_WOe7D2.js} +1 -1
- package/dist/{vue-ui-treemap-3r87kdbl.js → vue-ui-treemap-B1Zmai6N.js} +1 -1
- package/dist/{vue-ui-waffle-C1G226Ki.js → vue-ui-waffle-B7CyN9Hs.js} +1 -1
- package/dist/{vue-ui-wheel-B0yYlFGt.js → vue-ui-wheel-Dj41YOEX.js} +1 -1
- package/dist/{vue-ui-word-cloud-CmAKOgXN.js → vue-ui-word-cloud-D1Y5L7iG.js} +1 -1
- package/dist/{vue-ui-world-CwXBQ0i0.js → vue-ui-world-BEwKPxJB.js} +1 -1
- package/dist/{vue-ui-xy-Ck5ZIiAc.js → vue-ui-xy-DRgtxMu6.js} +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineAsyncComponent as j, ref as h, computed as d, onMounted as qe, toRefs as Xe, watch as he, onBeforeUnmount as Ye, createElementBlock as n, openBlock as s, unref as r, normalizeStyle as V, normalizeClass as de, createBlock as
|
|
1
|
+
import { defineAsyncComponent as j, ref as h, computed as d, onMounted as qe, toRefs as Xe, watch as he, onBeforeUnmount as Ye, createElementBlock as n, openBlock as s, unref as r, normalizeStyle as V, normalizeClass as de, createBlock as _, createCommentVNode as i, createElementVNode as $, withCtx as f, renderSlot as c, normalizeProps as b, guardReactiveProps as p, createSlots as Je, createVNode as Ke, Fragment as G, renderList as q, toDisplayString as T, Teleport as Qe } from "vue";
|
|
2
2
|
import { u as Ze, a as X } from "./useNestedProp-DjZhR3_5.js";
|
|
3
3
|
import { c as et, t as tt, n as at, M as lt, l as ot, a as P, d as M, X as st, o as ge, g as fe, k as rt } from "./lib-_nVZfi2t.js";
|
|
4
4
|
import { t as nt, u as ut } from "./useResponsive-DfdjqQps.js";
|
|
@@ -34,7 +34,7 @@ const me = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", leg
|
|
|
34
34
|
ref: "noTitle",
|
|
35
35
|
class: "vue-data-ui-no-title-space",
|
|
36
36
|
style: "height:36px; width: 100%;background:transparent"
|
|
37
|
-
}, At = ["id"], wt = ["xmlns", "viewBox"], Bt = ["width", "height"], xt = { key: 1 }, _t = ["x", "y", "height", "width", "fill", "stroke"],
|
|
37
|
+
}, At = ["id"], wt = ["xmlns", "viewBox"], Bt = ["width", "height"], xt = { key: 1 }, _t = ["x", "y", "height", "width", "fill", "stroke"], $t = ["x", "y", "height", "width", "rx", "fill", "stroke", "stroke-width"], Lt = ["x", "y", "height", "width", "fill", "stroke", "stroke-width"], Ft = ["x", "y", "font-size", "font-weight", "fill"], Ot = ["x", "y", "height", "width", "rx", "fill", "stroke", "stroke-width"], St = { key: 3 }, Dt = ["x", "y", "fill", "font-size", "font-weight"], Et = { key: 4 }, It = ["x1", "x2", "y1", "y2", "stroke"], Tt = {
|
|
38
38
|
key: 4,
|
|
39
39
|
class: "vue-data-ui-watermark"
|
|
40
40
|
}, Pt = ["id"], Mt = {
|
|
@@ -58,10 +58,10 @@ const me = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", leg
|
|
|
58
58
|
}
|
|
59
59
|
},
|
|
60
60
|
setup(we, { expose: Be }) {
|
|
61
|
-
const xe = j(() => import("./PackageVersion-
|
|
62
|
-
get: () =>
|
|
61
|
+
const xe = j(() => import("./PackageVersion-CcRSQPqx.js")), _e = j(() => import("./PenAndPaper-Cjiyv0O9.js")), $e = j(() => import("./UserOptions-DKK-Opvk.js")), { vue_ui_bullet: Le } = Ze(), { isThemeValid: Fe, warnInvalidTheme: Oe } = dt(), L = we, C = h(null), Y = h(null), J = h(0), K = h(null), Q = h(null), Se = h(0), F = h(null), D = h(null), Z = h(!1), w = d({
|
|
62
|
+
get: () => v.value.hasOwnProperty("value"),
|
|
63
63
|
set: (t) => t
|
|
64
|
-
}),
|
|
64
|
+
}), O = d(() => v.value.segments ? Array.isArray(v.value.segments) ? v.value.segments.length ? !0 : (console.warn(`VueUiBullet: dataset segments is empty. Provide segments with this datastructure:
|
|
65
65
|
|
|
66
66
|
segments: [
|
|
67
67
|
{
|
|
@@ -72,7 +72,7 @@ segments: [
|
|
|
72
72
|
},
|
|
73
73
|
{...}
|
|
74
74
|
]
|
|
75
|
-
`),
|
|
75
|
+
`), w.value = !1, !1) : (console.warn(`VueUiBullet: dataset segments must be an array of objects with this datastructure:
|
|
76
76
|
|
|
77
77
|
segments: [
|
|
78
78
|
{
|
|
@@ -83,7 +83,7 @@ segments: [
|
|
|
83
83
|
},
|
|
84
84
|
{...}
|
|
85
85
|
]
|
|
86
|
-
`),
|
|
86
|
+
`), w.value = !1, !1) : (console.warn(`VueUiBullet: dataset segments is empty. Provide segments with this datastructure:
|
|
87
87
|
|
|
88
88
|
segments: [
|
|
89
89
|
{
|
|
@@ -94,18 +94,18 @@ segments: [
|
|
|
94
94
|
},
|
|
95
95
|
{...}
|
|
96
96
|
]
|
|
97
|
-
`),
|
|
97
|
+
`), w.value = !1, !1)), ee = d(() => !!e.value.debug);
|
|
98
98
|
function te() {
|
|
99
|
-
if (ge(
|
|
99
|
+
if (ge(v.value) ? (fe({
|
|
100
100
|
componentName: "VueUiBullet",
|
|
101
101
|
type: "dataset",
|
|
102
102
|
debug: ee.value
|
|
103
|
-
}),
|
|
103
|
+
}), E.value = !0) : O.value ? v.value.segments.forEach((t, l) => {
|
|
104
104
|
rt({
|
|
105
105
|
datasetObject: t,
|
|
106
106
|
requiredAttributes: ["name", "from", "to"]
|
|
107
107
|
}).forEach((a) => {
|
|
108
|
-
|
|
108
|
+
w.value = !1, fe({
|
|
109
109
|
componentName: "VueUiBullet segment",
|
|
110
110
|
type: "datasetSerieAttribute",
|
|
111
111
|
property: a,
|
|
@@ -113,34 +113,34 @@ segments: [
|
|
|
113
113
|
debug: ee.value
|
|
114
114
|
});
|
|
115
115
|
});
|
|
116
|
-
}) : (
|
|
116
|
+
}) : (w.value = !1, E.value = !0), ge(v.value) || (E.value = e.value.loading), e.value.responsive) {
|
|
117
117
|
const t = nt(() => {
|
|
118
118
|
const { width: l, height: a } = ut({
|
|
119
|
-
chart:
|
|
119
|
+
chart: C.value,
|
|
120
120
|
title: e.value.style.chart.title.text ? Y.value : null,
|
|
121
121
|
legend: e.value.style.chart.legend.show ? K.value : null,
|
|
122
122
|
source: Q.value
|
|
123
|
-
});
|
|
123
|
+
}), k = (e.value.style.chart.legend.show ? 24 : 0) || 12;
|
|
124
124
|
requestAnimationFrame(() => {
|
|
125
|
-
|
|
125
|
+
x.value.width = l, x.value.height = a - k;
|
|
126
126
|
});
|
|
127
127
|
});
|
|
128
|
-
|
|
128
|
+
F.value && (D.value && F.value.unobserve(D.value), F.value.disconnect()), F.value = new ResizeObserver(t), D.value = C.value.parentNode, F.value.observe(D.value);
|
|
129
129
|
}
|
|
130
|
-
e.value.style.chart.animation.show && !
|
|
130
|
+
e.value.style.chart.animation.show && !B.value && se(v.value.value || 0);
|
|
131
131
|
}
|
|
132
132
|
qe(() => {
|
|
133
133
|
Z.value = !0, te();
|
|
134
134
|
});
|
|
135
|
-
const
|
|
135
|
+
const A = h(et());
|
|
136
136
|
function z() {
|
|
137
137
|
const t = X({
|
|
138
138
|
userConfig: L.config,
|
|
139
|
-
defaultConfig:
|
|
139
|
+
defaultConfig: Le
|
|
140
140
|
}), l = t.theme;
|
|
141
141
|
if (!l) return t;
|
|
142
142
|
if (!Fe.value(t))
|
|
143
|
-
return
|
|
143
|
+
return Oe(t), t;
|
|
144
144
|
const a = X({
|
|
145
145
|
userConfig: Ae[l] || L.config,
|
|
146
146
|
defaultConfig: t
|
|
@@ -150,7 +150,7 @@ segments: [
|
|
|
150
150
|
defaultConfig: a
|
|
151
151
|
});
|
|
152
152
|
}
|
|
153
|
-
const e = h(z()), { loading:
|
|
153
|
+
const e = h(z()), { loading: B, FINAL_DATASET: v, manualLoading: E } = ct({
|
|
154
154
|
...Xe(L),
|
|
155
155
|
FINAL_CONFIG: e,
|
|
156
156
|
prepareConfig: z,
|
|
@@ -198,40 +198,40 @@ segments: [
|
|
|
198
198
|
}
|
|
199
199
|
}
|
|
200
200
|
})
|
|
201
|
-
}), { userOptionsVisible: H, setUserOptionsVisibility: ae, keepUserOptionState: le } = gt({ config: e.value }), { svgRef: R } = ft({ config: e.value.style.chart.title })
|
|
202
|
-
he(() => L.config, (t) => {
|
|
203
|
-
w.value || (e.value = z()), H.value = !e.value.userOptions.showOnChartHover, te(), J.value += 1;
|
|
204
|
-
}, { deep: !0 });
|
|
205
|
-
const E = h({
|
|
201
|
+
}), { userOptionsVisible: H, setUserOptionsVisibility: ae, keepUserOptionState: le } = gt({ config: e.value }), { svgRef: R } = ft({ config: e.value.style.chart.title }), x = h({
|
|
206
202
|
width: e.value.style.chart.width,
|
|
207
203
|
height: e.value.style.chart.height
|
|
208
|
-
}), De = d(() =>
|
|
209
|
-
|
|
204
|
+
}), De = d(() => x.value.width), Ee = d(() => x.value.height);
|
|
205
|
+
he(() => L.config, (t) => {
|
|
206
|
+
B.value || (e.value = z()), H.value = !e.value.userOptions.showOnChartHover, x.value.width = e.value.style.chart.width, x.value.height = e.value.style.chart.height, te(), J.value += 1;
|
|
207
|
+
}, { deep: !0 });
|
|
208
|
+
const o = d(() => {
|
|
209
|
+
const t = Ee.value, l = De.value, a = e.value.style.chart.padding.left, u = l - e.value.style.chart.padding.right, k = e.value.style.chart.padding.top, g = t - e.value.style.chart.padding.bottom;
|
|
210
210
|
return {
|
|
211
211
|
height: Math.max(1e-3, t),
|
|
212
212
|
width: Math.max(1e-3, l),
|
|
213
213
|
left: a,
|
|
214
|
-
right:
|
|
215
|
-
top:
|
|
214
|
+
right: u,
|
|
215
|
+
top: k,
|
|
216
216
|
bottom: g,
|
|
217
|
-
chartWidth: Math.max(1e-3,
|
|
218
|
-
chartHeight: Math.max(1e-3, g -
|
|
217
|
+
chartWidth: Math.max(1e-3, u - a),
|
|
218
|
+
chartHeight: Math.max(1e-3, g - k)
|
|
219
219
|
};
|
|
220
220
|
}), Ie = d(() => {
|
|
221
|
-
if (!
|
|
221
|
+
if (!O.value) return [];
|
|
222
222
|
const t = [];
|
|
223
|
-
for (let l = 0; l <
|
|
224
|
-
t.push(at(e.value.style.chart.segments.baseColor, l /
|
|
223
|
+
for (let l = 0; l < v.value.segments.length; l += 1)
|
|
224
|
+
t.push(at(e.value.style.chart.segments.baseColor, l / v.value.segments.length));
|
|
225
225
|
return t;
|
|
226
|
-
}), N = d(() =>
|
|
227
|
-
min: Math.min(...
|
|
228
|
-
max: Math.max(...
|
|
226
|
+
}), N = d(() => O.value ? {
|
|
227
|
+
min: Math.min(...v.value.segments.map((t) => t.from)),
|
|
228
|
+
max: Math.max(...v.value.segments.map((t) => t.to))
|
|
229
229
|
} : { min: 0, max: 1 }), m = h(Te());
|
|
230
|
-
he(() =>
|
|
231
|
-
t.hasOwnProperty("value") && (
|
|
230
|
+
he(() => v.value, (t) => {
|
|
231
|
+
t.hasOwnProperty("value") && (E.value = !1), e.value.style.chart.animation.show && !B.value ? se(t.value || 0) : m.value = t.value || 0;
|
|
232
232
|
}, { deep: !0 });
|
|
233
233
|
function Te() {
|
|
234
|
-
return e.value.style.chart.animation.show && !
|
|
234
|
+
return e.value.style.chart.animation.show && !B.value ? N.value.min : v.value.value || 0;
|
|
235
235
|
}
|
|
236
236
|
const oe = h(null);
|
|
237
237
|
function se(t) {
|
|
@@ -245,13 +245,13 @@ segments: [
|
|
|
245
245
|
cancelAnimationFrame(oe.value);
|
|
246
246
|
});
|
|
247
247
|
const y = d(() => {
|
|
248
|
-
if (!
|
|
248
|
+
if (!O.value)
|
|
249
249
|
return [];
|
|
250
250
|
const t = lt(N.value.min, N.value.max, e.value.style.chart.segments.ticks.divisions), l = t.min >= 0 ? 0 : Math.abs(t.min), a = {
|
|
251
|
-
x: o.value.left + (
|
|
252
|
-
},
|
|
251
|
+
x: o.value.left + (v.value.target + l) / (t.max + l) * o.value.chartWidth - e.value.style.chart.target.width / 2
|
|
252
|
+
}, u = {
|
|
253
253
|
width: (m.value + l) / (t.max + l) * o.value.chartWidth
|
|
254
|
-
},
|
|
254
|
+
}, k = t.ticks.map((g) => ({
|
|
255
255
|
value: g,
|
|
256
256
|
y: o.value.bottom + e.value.style.chart.segments.dataLabels.fontSize + 3 + e.value.style.chart.segments.dataLabels.offsetY,
|
|
257
257
|
x: o.value.left + (g + l) / (t.max + l) * o.value.chartWidth
|
|
@@ -259,9 +259,9 @@ segments: [
|
|
|
259
259
|
return {
|
|
260
260
|
scale: t,
|
|
261
261
|
target: a,
|
|
262
|
-
value:
|
|
263
|
-
ticks:
|
|
264
|
-
chunks:
|
|
262
|
+
value: u,
|
|
263
|
+
ticks: k,
|
|
264
|
+
chunks: v.value.segments.map((g, Ge) => ({
|
|
265
265
|
...g,
|
|
266
266
|
color: g.color ? ot(g.color) : Ie.value[Ge],
|
|
267
267
|
x: o.value.left + o.value.chartWidth * ((g.from + l) / (t.max + l)),
|
|
@@ -289,12 +289,12 @@ segments: [
|
|
|
289
289
|
s: e.value.style.chart.segments.dataLabels.suffix,
|
|
290
290
|
r: e.value.style.chart.segments.dataLabels.rounding
|
|
291
291
|
})
|
|
292
|
-
),
|
|
292
|
+
), u = `${l} — ${a}`;
|
|
293
293
|
return {
|
|
294
294
|
...t,
|
|
295
295
|
shape: "square",
|
|
296
|
-
value:
|
|
297
|
-
display: `${t.name}: ${
|
|
296
|
+
value: u,
|
|
297
|
+
display: `${t.name}: ${u}`
|
|
298
298
|
};
|
|
299
299
|
})), Pe = d(() => ({
|
|
300
300
|
cy: "bullet-div-legend",
|
|
@@ -304,12 +304,12 @@ segments: [
|
|
|
304
304
|
paddingBottom: 6,
|
|
305
305
|
fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
|
|
306
306
|
})), { isPrinting: re, isImaging: ne, generatePdf: ue, generateImage: ie } = it({
|
|
307
|
-
elementId: `bullet_${
|
|
307
|
+
elementId: `bullet_${A.value}`,
|
|
308
308
|
fileName: e.value.style.chart.title.text || "vue-ui-bullet",
|
|
309
309
|
options: e.value.userOptions.print
|
|
310
310
|
}), Me = d(() => e.value.userOptions.show && !e.value.style.chart.title.text), S = h(!1);
|
|
311
311
|
function ce(t) {
|
|
312
|
-
S.value = t,
|
|
312
|
+
S.value = t, Se.value += 1;
|
|
313
313
|
}
|
|
314
314
|
function ze() {
|
|
315
315
|
return y.value;
|
|
@@ -319,15 +319,15 @@ segments: [
|
|
|
319
319
|
I.value = !I.value;
|
|
320
320
|
}
|
|
321
321
|
async function He({ scale: t = 2 } = {}) {
|
|
322
|
-
if (!
|
|
323
|
-
const { width: l, height: a } =
|
|
322
|
+
if (!C.value) return;
|
|
323
|
+
const { width: l, height: a } = C.value.getBoundingClientRect(), u = l / a, { imageUri: k, base64: g } = await bt({ domElement: C.value, base64: !0, img: !0, scale: t });
|
|
324
324
|
return {
|
|
325
|
-
imageUri:
|
|
325
|
+
imageUri: k,
|
|
326
326
|
base64: g,
|
|
327
327
|
title: e.value.style.chart.title.text,
|
|
328
328
|
width: l,
|
|
329
329
|
height: a,
|
|
330
|
-
aspectRatio:
|
|
330
|
+
aspectRatio: u
|
|
331
331
|
};
|
|
332
332
|
}
|
|
333
333
|
const Re = d(() => U.value.map((t) => ({
|
|
@@ -353,14 +353,14 @@ segments: [
|
|
|
353
353
|
toggleFullscreen: ce
|
|
354
354
|
}), (t, l) => (s(), n("div", {
|
|
355
355
|
ref_key: "bulletChart",
|
|
356
|
-
ref:
|
|
356
|
+
ref: C,
|
|
357
357
|
class: de(`vue-data-ui-component vue-ui-bullet ${S.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
|
|
358
|
-
style: V(`font-family:${e.value.style.fontFamily};width:100%;background:${e.value.style.chart.backgroundColor}`),
|
|
359
|
-
id: `bullet_${
|
|
358
|
+
style: V(`font-family:${e.value.style.fontFamily};width:100%;background:${e.value.style.chart.backgroundColor};${e.value.responsive ? "height:100%" : ""}`),
|
|
359
|
+
id: `bullet_${A.value}`,
|
|
360
360
|
onMouseenter: l[0] || (l[0] = () => r(ae)(!0)),
|
|
361
361
|
onMouseleave: l[1] || (l[1] = () => r(ae)(!1))
|
|
362
362
|
}, [
|
|
363
|
-
e.value.userOptions.buttons.annotator ? (s(),
|
|
363
|
+
e.value.userOptions.buttons.annotator ? (s(), _(r(_e), {
|
|
364
364
|
key: 0,
|
|
365
365
|
svgRef: r(R),
|
|
366
366
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
@@ -369,33 +369,33 @@ segments: [
|
|
|
369
369
|
onClose: W
|
|
370
370
|
}, {
|
|
371
371
|
"annotator-action-close": f(() => [
|
|
372
|
-
|
|
372
|
+
c(t.$slots, "annotator-action-close", {}, void 0, !0)
|
|
373
373
|
]),
|
|
374
374
|
"annotator-action-color": f(({ color: a }) => [
|
|
375
|
-
|
|
375
|
+
c(t.$slots, "annotator-action-color", b(p({ color: a })), void 0, !0)
|
|
376
376
|
]),
|
|
377
377
|
"annotator-action-draw": f(({ mode: a }) => [
|
|
378
|
-
|
|
378
|
+
c(t.$slots, "annotator-action-draw", b(p({ mode: a })), void 0, !0)
|
|
379
379
|
]),
|
|
380
380
|
"annotator-action-undo": f(({ disabled: a }) => [
|
|
381
|
-
|
|
381
|
+
c(t.$slots, "annotator-action-undo", b(p({ disabled: a })), void 0, !0)
|
|
382
382
|
]),
|
|
383
383
|
"annotator-action-redo": f(({ disabled: a }) => [
|
|
384
|
-
|
|
384
|
+
c(t.$slots, "annotator-action-redo", b(p({ disabled: a })), void 0, !0)
|
|
385
385
|
]),
|
|
386
386
|
"annotator-action-delete": f(({ disabled: a }) => [
|
|
387
|
-
|
|
387
|
+
c(t.$slots, "annotator-action-delete", b(p({ disabled: a })), void 0, !0)
|
|
388
388
|
]),
|
|
389
389
|
_: 3
|
|
390
|
-
}, 8, ["svgRef", "backgroundColor", "color", "active"])) :
|
|
391
|
-
Me.value ? (s(), n("div", Ct, null, 512)) :
|
|
390
|
+
}, 8, ["svgRef", "backgroundColor", "color", "active"])) : i("", !0),
|
|
391
|
+
Me.value ? (s(), n("div", Ct, null, 512)) : i("", !0),
|
|
392
392
|
e.value.style.chart.title.text ? (s(), n("div", {
|
|
393
393
|
key: 2,
|
|
394
394
|
ref_key: "chartTitle",
|
|
395
395
|
ref: Y,
|
|
396
396
|
style: "width:100%;background:transparent;"
|
|
397
397
|
}, [
|
|
398
|
-
(s(),
|
|
398
|
+
(s(), _(yt, {
|
|
399
399
|
lineHeight: "1.3rem",
|
|
400
400
|
key: `title_${J.value}`,
|
|
401
401
|
config: {
|
|
@@ -409,18 +409,18 @@ segments: [
|
|
|
409
409
|
}
|
|
410
410
|
}
|
|
411
411
|
}, null, 8, ["config"]))
|
|
412
|
-
], 512)) :
|
|
413
|
-
|
|
414
|
-
id: `legend-top-${
|
|
412
|
+
], 512)) : i("", !0),
|
|
413
|
+
$("div", {
|
|
414
|
+
id: `legend-top-${A.value}`
|
|
415
415
|
}, null, 8, At),
|
|
416
|
-
e.value.userOptions.show &&
|
|
416
|
+
e.value.userOptions.show && w.value && (r(le) || r(H)) ? (s(), _(r($e), {
|
|
417
417
|
key: 3,
|
|
418
418
|
ref: "details",
|
|
419
419
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
420
420
|
color: e.value.style.chart.color,
|
|
421
421
|
isPrinting: r(re),
|
|
422
422
|
isImaging: r(ne),
|
|
423
|
-
uid:
|
|
423
|
+
uid: A.value,
|
|
424
424
|
hasTooltip: !1,
|
|
425
425
|
hasPdf: e.value.userOptions.buttons.pdf,
|
|
426
426
|
hasImg: e.value.userOptions.buttons.img,
|
|
@@ -430,7 +430,7 @@ segments: [
|
|
|
430
430
|
hasLabel: !1,
|
|
431
431
|
hasFullscreen: e.value.userOptions.buttons.fullscreen,
|
|
432
432
|
isFullscreen: S.value,
|
|
433
|
-
chartElement:
|
|
433
|
+
chartElement: C.value,
|
|
434
434
|
position: e.value.userOptions.position,
|
|
435
435
|
titles: { ...e.value.userOptions.buttonTitles },
|
|
436
436
|
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
@@ -448,47 +448,47 @@ segments: [
|
|
|
448
448
|
}, Je({ _: 2 }, [
|
|
449
449
|
t.$slots.menuIcon ? {
|
|
450
450
|
name: "menuIcon",
|
|
451
|
-
fn: f(({ isOpen: a, color:
|
|
452
|
-
|
|
451
|
+
fn: f(({ isOpen: a, color: u }) => [
|
|
452
|
+
c(t.$slots, "menuIcon", b(p({ isOpen: a, color: u })), void 0, !0)
|
|
453
453
|
]),
|
|
454
454
|
key: "0"
|
|
455
455
|
} : void 0,
|
|
456
456
|
t.$slots.optionPdf ? {
|
|
457
457
|
name: "optionPdf",
|
|
458
458
|
fn: f(() => [
|
|
459
|
-
|
|
459
|
+
c(t.$slots, "optionPdf", {}, void 0, !0)
|
|
460
460
|
]),
|
|
461
461
|
key: "1"
|
|
462
462
|
} : void 0,
|
|
463
463
|
t.$slots.optionImg ? {
|
|
464
464
|
name: "optionImg",
|
|
465
465
|
fn: f(() => [
|
|
466
|
-
|
|
466
|
+
c(t.$slots, "optionImg", {}, void 0, !0)
|
|
467
467
|
]),
|
|
468
468
|
key: "2"
|
|
469
469
|
} : void 0,
|
|
470
470
|
t.$slots.optionSvg ? {
|
|
471
471
|
name: "optionSvg",
|
|
472
472
|
fn: f(() => [
|
|
473
|
-
|
|
473
|
+
c(t.$slots, "optionSvg", {}, void 0, !0)
|
|
474
474
|
]),
|
|
475
475
|
key: "3"
|
|
476
476
|
} : void 0,
|
|
477
477
|
t.$slots.optionFullscreen ? {
|
|
478
478
|
name: "optionFullscreen",
|
|
479
|
-
fn: f(({ toggleFullscreen: a, isFullscreen:
|
|
480
|
-
|
|
479
|
+
fn: f(({ toggleFullscreen: a, isFullscreen: u }) => [
|
|
480
|
+
c(t.$slots, "optionFullscreen", b(p({ toggleFullscreen: a, isFullscreen: u })), void 0, !0)
|
|
481
481
|
]),
|
|
482
482
|
key: "4"
|
|
483
483
|
} : void 0,
|
|
484
484
|
t.$slots.optionAnnotator ? {
|
|
485
485
|
name: "optionAnnotator",
|
|
486
|
-
fn: f(({ toggleAnnotator: a, isAnnotator:
|
|
487
|
-
|
|
486
|
+
fn: f(({ toggleAnnotator: a, isAnnotator: u }) => [
|
|
487
|
+
c(t.$slots, "optionAnnotator", b(p({ toggleAnnotator: a, isAnnotator: u })), void 0, !0)
|
|
488
488
|
]),
|
|
489
489
|
key: "5"
|
|
490
490
|
} : void 0
|
|
491
|
-
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasImg", "hasSvg", "hasFullscreen", "isFullscreen", "chartElement", "position", "titles", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "onGeneratePdf", "onGenerateImage", "style"])) :
|
|
491
|
+
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasImg", "hasSvg", "hasFullscreen", "isFullscreen", "chartElement", "position", "titles", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "onGeneratePdf", "onGenerateImage", "style"])) : i("", !0),
|
|
492
492
|
(s(), n("svg", {
|
|
493
493
|
ref_key: "svgRef",
|
|
494
494
|
ref: R,
|
|
@@ -508,9 +508,9 @@ segments: [
|
|
|
508
508
|
pointerEvents: "none"
|
|
509
509
|
}
|
|
510
510
|
}, [
|
|
511
|
-
|
|
512
|
-
], 8, Bt)) :
|
|
513
|
-
|
|
511
|
+
c(t.$slots, "chart-background", {}, void 0, !0)
|
|
512
|
+
], 8, Bt)) : i("", !0),
|
|
513
|
+
O.value ? (s(), n("g", xt, [
|
|
514
514
|
(s(!0), n(G, null, q(y.value.chunks, (a) => (s(), n("rect", {
|
|
515
515
|
x: a.x,
|
|
516
516
|
y: a.y,
|
|
@@ -531,8 +531,8 @@ segments: [
|
|
|
531
531
|
fill: e.value.style.chart.target.color,
|
|
532
532
|
stroke: e.value.style.chart.target.stroke,
|
|
533
533
|
"stroke-width": e.value.style.chart.target.strokeWidth
|
|
534
|
-
}, null, 8,
|
|
535
|
-
|
|
534
|
+
}, null, 8, $t)) : i("", !0),
|
|
535
|
+
$("rect", {
|
|
536
536
|
x: o.value.left,
|
|
537
537
|
y: o.value.top + (o.value.chartHeight - o.value.chartHeight * e.value.style.chart.valueBar.heightRatio) / 2,
|
|
538
538
|
height: o.value.chartHeight * e.value.style.chart.valueBar.heightRatio,
|
|
@@ -540,7 +540,7 @@ segments: [
|
|
|
540
540
|
fill: e.value.style.chart.valueBar.color,
|
|
541
541
|
stroke: e.value.style.chart.valueBar.stroke,
|
|
542
542
|
"stroke-width": e.value.style.chart.valueBar.strokeWidth
|
|
543
|
-
}, null, 8,
|
|
543
|
+
}, null, 8, Lt),
|
|
544
544
|
e.value.style.chart.valueBar.label.show ? (s(), n("text", {
|
|
545
545
|
key: 1,
|
|
546
546
|
x: o.value.left + y.value.value.width,
|
|
@@ -558,7 +558,7 @@ segments: [
|
|
|
558
558
|
s: e.value.style.chart.segments.dataLabels.suffix,
|
|
559
559
|
r: e.value.style.chart.segments.dataLabels.rounding
|
|
560
560
|
})
|
|
561
|
-
)), 9, Ft)) :
|
|
561
|
+
)), 9, Ft)) : i("", !0),
|
|
562
562
|
e.value.style.chart.target.onTop && e.value.style.chart.target.show ? (s(), n("rect", {
|
|
563
563
|
key: 2,
|
|
564
564
|
x: y.value.target.x,
|
|
@@ -570,8 +570,8 @@ segments: [
|
|
|
570
570
|
stroke: e.value.style.chart.target.stroke,
|
|
571
571
|
"stroke-width": e.value.style.chart.target.strokeWidth,
|
|
572
572
|
style: { transition: "x 0.3s ease-in-out" }
|
|
573
|
-
}, null, 8,
|
|
574
|
-
e.value.style.chart.segments.dataLabels.show ? (s(), n("g",
|
|
573
|
+
}, null, 8, Ot)) : i("", !0),
|
|
574
|
+
e.value.style.chart.segments.dataLabels.show ? (s(), n("g", St, [
|
|
575
575
|
(s(!0), n(G, null, q(y.value.ticks, (a) => (s(), n("text", {
|
|
576
576
|
x: a.x,
|
|
577
577
|
y: a.y,
|
|
@@ -589,7 +589,7 @@ segments: [
|
|
|
589
589
|
r: e.value.style.chart.segments.dataLabels.rounding
|
|
590
590
|
})
|
|
591
591
|
)), 9, Dt))), 256))
|
|
592
|
-
])) :
|
|
592
|
+
])) : i("", !0),
|
|
593
593
|
e.value.style.chart.segments.dataLabels.show && e.value.style.chart.segments.ticks.show ? (s(), n("g", Et, [
|
|
594
594
|
(s(!0), n(G, null, q(y.value.ticks, (a) => (s(), n("line", {
|
|
595
595
|
x1: a.x,
|
|
@@ -600,53 +600,53 @@ segments: [
|
|
|
600
600
|
"stroke-width": 1,
|
|
601
601
|
"stroke-linecap": "round"
|
|
602
602
|
}, null, 8, It))), 256))
|
|
603
|
-
])) :
|
|
604
|
-
])) :
|
|
605
|
-
|
|
603
|
+
])) : i("", !0)
|
|
604
|
+
])) : i("", !0),
|
|
605
|
+
c(t.$slots, "svg", { svg: o.value }, void 0, !0)
|
|
606
606
|
], 14, wt)),
|
|
607
607
|
t.$slots.watermark ? (s(), n("div", Tt, [
|
|
608
|
-
|
|
609
|
-
])) :
|
|
610
|
-
|
|
611
|
-
id: `legend-bottom-${
|
|
608
|
+
c(t.$slots, "watermark", b(p({ isPrinting: r(re) || r(ne) })), void 0, !0)
|
|
609
|
+
])) : i("", !0),
|
|
610
|
+
$("div", {
|
|
611
|
+
id: `legend-bottom-${A.value}`
|
|
612
612
|
}, null, 8, Pt),
|
|
613
|
-
Z.value ? (s(),
|
|
613
|
+
Z.value ? (s(), _(Qe, {
|
|
614
614
|
key: 5,
|
|
615
|
-
to: e.value.style.chart.legend.position === "top" ? `#legend-top-${
|
|
615
|
+
to: e.value.style.chart.legend.position === "top" ? `#legend-top-${A.value}` : `#legend-bottom-${A.value}`
|
|
616
616
|
}, [
|
|
617
|
-
|
|
617
|
+
$("div", {
|
|
618
618
|
ref_key: "chartLegend",
|
|
619
619
|
ref: K
|
|
620
620
|
}, [
|
|
621
|
-
e.value.style.chart.legend.show ? (s(),
|
|
621
|
+
e.value.style.chart.legend.show ? (s(), _(mt, {
|
|
622
622
|
key: 0,
|
|
623
623
|
clickable: !1,
|
|
624
624
|
legendSet: U.value,
|
|
625
625
|
config: Pe.value
|
|
626
626
|
}, {
|
|
627
627
|
item: f(({ legend: a }) => [
|
|
628
|
-
r(
|
|
629
|
-
|
|
630
|
-
|
|
628
|
+
r(B) ? i("", !0) : (s(), n("div", Mt, [
|
|
629
|
+
$("span", zt, T(a.name) + ":", 1),
|
|
630
|
+
$("span", null, T(a.value), 1)
|
|
631
631
|
]))
|
|
632
632
|
]),
|
|
633
633
|
_: 1
|
|
634
|
-
}, 8, ["legendSet", "config"])) :
|
|
635
|
-
|
|
634
|
+
}, 8, ["legendSet", "config"])) : i("", !0),
|
|
635
|
+
c(t.$slots, "legend", { legend: U.value }, void 0, !0)
|
|
636
636
|
], 512)
|
|
637
|
-
], 8, ["to"])) :
|
|
637
|
+
], 8, ["to"])) : i("", !0),
|
|
638
638
|
t.$slots.source ? (s(), n("div", {
|
|
639
639
|
key: 6,
|
|
640
640
|
ref_key: "source",
|
|
641
641
|
ref: Q,
|
|
642
642
|
dir: "auto"
|
|
643
643
|
}, [
|
|
644
|
-
|
|
645
|
-
], 512)) :
|
|
646
|
-
r(
|
|
644
|
+
c(t.$slots, "source", {}, void 0, !0)
|
|
645
|
+
], 512)) : i("", !0),
|
|
646
|
+
r(B) ? (s(), _(vt, { key: 7 })) : i("", !0)
|
|
647
647
|
], 46, kt));
|
|
648
648
|
}
|
|
649
|
-
}, Rt = /* @__PURE__ */ pt(Ht, [["__scopeId", "data-v-
|
|
649
|
+
}, Rt = /* @__PURE__ */ pt(Ht, [["__scopeId", "data-v-f9c44926"]]), aa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
650
650
|
__proto__: null,
|
|
651
651
|
default: Rt
|
|
652
652
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
@@ -56,7 +56,7 @@ const St = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", layout: { se
|
|
|
56
56
|
},
|
|
57
57
|
emits: ["selectX"],
|
|
58
58
|
setup(Rt, { expose: Ot, emit: Pt }) {
|
|
59
|
-
const Nt = j(() => import("./BaseIcon-Bcm8I1fZ.js")), Vt = j(() => import("./Tooltip-l2pmtXwi.js")), Ut = j(() => import("./vue-ui-accordion-BbkkniuF.js")), Wt = j(() => import("./DataTable-DFcqksx2.js")), Xt = j(() => import("./PenAndPaper-Cjiyv0O9.js")), jt = j(() => import("./UserOptions-DKK-Opvk.js")), Ht = j(() => import("./PackageVersion-
|
|
59
|
+
const Nt = j(() => import("./BaseIcon-Bcm8I1fZ.js")), Vt = j(() => import("./Tooltip-l2pmtXwi.js")), Ut = j(() => import("./vue-ui-accordion-BbkkniuF.js")), Wt = j(() => import("./DataTable-DFcqksx2.js")), Xt = j(() => import("./PenAndPaper-Cjiyv0O9.js")), jt = j(() => import("./UserOptions-DKK-Opvk.js")), Ht = j(() => import("./PackageVersion-CcRSQPqx.js")), Gt = j(() => import("./BaseDraggableDialog-n3raFtf2.js")), { vue_ui_candlestick: qt } = Gl(), { isThemeValid: Yt, warnInvalidTheme: Zt } = eo(), f = Rt, Pe = Pt, pe = d(() => !!f.dataset && f.dataset.length), E = y(!1), be = y(null), I = y(El()), xe = y(!1), ke = y(""), R = y(void 0), Ne = y(0), O = y(null), Ve = y(null), Ue = y(null), Q = y(null), We = y(null), Xe = y(null), Jt = y(0), je = y(0), He = y(0), we = y(null), ee = y(null), te = y(null), Ce = y(null), Ge = y(null), e = y(_e()), { loading: P, FINAL_DATASET: k, manualLoading: Ae } = Yl({
|
|
60
60
|
...Dl(f),
|
|
61
61
|
FINAL_CONFIG: e,
|
|
62
62
|
prepareConfig: _e,
|
|
@@ -25,7 +25,7 @@ const je = ["id"], Je = ["height"], Ke = ["data-cell", "height"], Qe = {
|
|
|
25
25
|
}
|
|
26
26
|
},
|
|
27
27
|
setup(k, { expose: ye }) {
|
|
28
|
-
const Ce = ce(() => import("./vue-ui-skeleton-
|
|
28
|
+
const Ce = ce(() => import("./vue-ui-skeleton-1k0fDsh4.js")), $e = ce(() => import("./UserOptions-DKK-Opvk.js")), { vue_ui_carousel_table: Te } = Ne(), i = k, V = n(Ve()), W = n(!1), O = n(!!i.dataset), ke = Re();
|
|
29
29
|
w(() => {
|
|
30
30
|
Y();
|
|
31
31
|
}), w(() => {
|
|
@@ -68,7 +68,7 @@ const Xe = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
68
68
|
zt((l) => ({
|
|
69
69
|
v2e18205a: l.tdo
|
|
70
70
|
}));
|
|
71
|
-
const ke = Z(() => import("./BaseIcon-Bcm8I1fZ.js")), Qe = Z(() => import("./vue-ui-accordion-BbkkniuF.js")), et = Z(() => import("./PenAndPaper-Cjiyv0O9.js")), tt = Z(() => import("./UserOptions-DKK-Opvk.js")), lt = Z(() => import("./PackageVersion-
|
|
71
|
+
const ke = Z(() => import("./BaseIcon-Bcm8I1fZ.js")), Qe = Z(() => import("./vue-ui-accordion-BbkkniuF.js")), et = Z(() => import("./PenAndPaper-Cjiyv0O9.js")), tt = Z(() => import("./UserOptions-DKK-Opvk.js")), lt = Z(() => import("./PackageVersion-CcRSQPqx.js")), at = Z(() => import("./BaseDraggableDialog-n3raFtf2.js")), { vue_ui_chestnut: ot } = Xt(), { isThemeValid: st, warnInvalidTheme: nt } = qt(), V = Ke, Ce = g(() => !!V.dataset && V.dataset.length), $ = S(Lt()), Y = S(null), we = S(0), J = S(null), ne = S(null), e = S(ce()), { loading: Ae, FINAL_DATASET: ue } = Gt({
|
|
72
72
|
...St(V),
|
|
73
73
|
FINAL_CONFIG: e,
|
|
74
74
|
prepareConfig: ce,
|
|
@@ -58,7 +58,7 @@ const pt = { table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td:
|
|
|
58
58
|
io((e) => ({
|
|
59
59
|
v0e648af8: e.slicerColor
|
|
60
60
|
}));
|
|
61
|
-
const It = H(() => import("./vue-ui-accordion-BbkkniuF.js")), Se = H(() => import("./BaseIcon-Bcm8I1fZ.js")), _t = H(() => import("./DataTable-DFcqksx2.js")), Pt = H(() => import("./PackageVersion-
|
|
61
|
+
const It = H(() => import("./vue-ui-accordion-BbkkniuF.js")), Se = H(() => import("./BaseIcon-Bcm8I1fZ.js")), _t = H(() => import("./DataTable-DFcqksx2.js")), Pt = H(() => import("./PackageVersion-CcRSQPqx.js")), Bt = H(() => import("./PenAndPaper-Cjiyv0O9.js")), St = H(() => import("./UserOptions-DKK-Opvk.js")), Tt = H(() => import("./BaseDraggableDialog-n3raFtf2.js")), { vue_ui_chord: Et } = Po(), { isThemeValid: Dt, warnInvalidTheme: Ft } = Do(), T = wt, se = xt, O = d(!!T.dataset && Object.hasOwn(T.dataset, "matrix")), $ = d(_e()), w = d(null), k = d(null), g = d(null), Te = d(0), E = d(null), Ee = d(null), De = d(null), Fe = d(null), Oe = d(null), ge = d(0), pe = d(0), me = d(0), J = d(!1), X = it(null), K = it(null), Le = d(!1), te = d(null), ye = d(null), t = d(Ce()), { loading: Ne, FINAL_DATASET: M, manualLoading: oe } = Bo({
|
|
62
62
|
...co(T),
|
|
63
63
|
FINAL_CONFIG: t,
|
|
64
64
|
prepareConfig: Ce,
|
|
@@ -112,7 +112,7 @@ const ot = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", cir
|
|
|
112
112
|
},
|
|
113
113
|
emits: ["selectDatapoint"],
|
|
114
114
|
setup(u, { expose: c, emit: p }) {
|
|
115
|
-
const y = E(() => import("./Tooltip-l2pmtXwi.js")), v = E(() => import("./BaseIcon-Bcm8I1fZ.js")), n = E(() => import("./vue-ui-accordion-BbkkniuF.js")), a = E(() => import("./DataTable-DFcqksx2.js")), s = E(() => import("./UserOptions-DKK-Opvk.js")), d = E(() => import("./PenAndPaper-Cjiyv0O9.js")), k = E(() => import("./PackageVersion-
|
|
115
|
+
const y = E(() => import("./Tooltip-l2pmtXwi.js")), v = E(() => import("./BaseIcon-Bcm8I1fZ.js")), n = E(() => import("./vue-ui-accordion-BbkkniuF.js")), a = E(() => import("./DataTable-DFcqksx2.js")), s = E(() => import("./UserOptions-DKK-Opvk.js")), d = E(() => import("./PenAndPaper-Cjiyv0O9.js")), k = E(() => import("./PackageVersion-CcRSQPqx.js")), D = E(() => import("./BaseDraggableDialog-n3raFtf2.js")), $ = u, J = p, { vue_ui_circle_pack: K } = Et(), { isThemeValid: Q, warnInvalidTheme: it } = Kt(), Te = w(() => !!$.dataset && $.dataset.length), G = f(Ke()), A = f(null), _e = f(null), Fe = f(null), Se = f(0), Oe = f(0), De = f(0), Pe = f(null), z = f(null), ue = f(null), ie = f(!1), ce = f(""), B = f(null), e = f(de()), { loading: Ie, FINAL_DATASET: Ee } = Wt({
|
|
116
116
|
...St($),
|
|
117
117
|
FINAL_CONFIG: e,
|
|
118
118
|
prepareConfig: de,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ref as u, computed as m, onMounted as I, onBeforeUnmount as N, createBlock as B, openBlock as l, Teleport as T, createElementBlock as i, createCommentVNode as n, normalizeStyle as $, unref as E, createVNode as R, createElementVNode as r, normalizeClass as S, toDisplayString as F, nextTick as M } from "vue";
|
|
2
2
|
import { u as W, a as G } from "./useNestedProp-DjZhR3_5.js";
|
|
3
3
|
import { c as V, X as A, s as U } from "./lib-_nVZfi2t.js";
|
|
4
|
-
import P from "./PackageVersion-
|
|
4
|
+
import P from "./PackageVersion-CcRSQPqx.js";
|
|
5
5
|
import { _ as X } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
6
6
|
const j = ["xmlns", "height", "width"], Y = {
|
|
7
7
|
id: "follower",
|
|
@@ -1936,7 +1936,7 @@ const wo = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", nod
|
|
|
1936
1936
|
},
|
|
1937
1937
|
emits: ["onNodeClick", "onMidpointEnter", "onMidpointLeave"],
|
|
1938
1938
|
setup(e, { expose: t, emit: o }) {
|
|
1939
|
-
const n = Ue(() => import("./PenAndPaper-Cjiyv0O9.js")), s = Ue(() => import("./UserOptions-DKK-Opvk.js")), i = Ue(() => import("./PackageVersion-
|
|
1939
|
+
const n = Ue(() => import("./PenAndPaper-Cjiyv0O9.js")), s = Ue(() => import("./UserOptions-DKK-Opvk.js")), i = Ue(() => import("./PackageVersion-CcRSQPqx.js")), { vue_ui_dag: r } = dn(), { isThemeValid: l, warnInvalidTheme: a } = vn(), c = e, d = o, f = y(null), g = y(st()), p = y(null), x = y(null), _ = y(null), T = y(0), W = y(0), de = y(!1), oe = y(!1), R = y(null), P = y(null), u = y(Ge()), I = y(u.value.style.chart.width), Y = y(u.value.style.chart.height), Ne = y({ x: 0, y: 0 }), B = y(null), Ae = y(null), Se = y({ left: "0px", top: "0px" }), fe = y("top"), q = y(!1), ct = y({ x: 0, y: 0 }), ut = y({ x: 0, y: 0 }), he = y(null), ze = y(null), Ve = y({ left: "0px", top: "0px" }), dt = y("top"), Le = y(!1), me = y(!1), { svgRef: K } = bn({ config: u.value.style.chart.title }), { userOptionsVisible: Ie, setUserOptionsVisibility: ft, keepUserOptionState: ht } = pn({ config: u.value }), H = y(u.value.style.chart.layout.rankDirection), { loading: ge, FINAL_DATASET: mt, manualLoading: gt } = fn({
|
|
1940
1940
|
...Ko(c),
|
|
1941
1941
|
FINAL_CONFIG: u,
|
|
1942
1942
|
prepareConfig: Ge,
|