vue-data-ui 3.0.0-next.4 → 3.0.0-next.40
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-COeGcYaf.js → Arrow-CJMQcuGh.js} +1 -1
- package/dist/{BaseDraggableDialog-B6a_nUd1.js → BaseDraggableDialog-BorVmOH6.js} +2 -2
- package/dist/{BaseIcon-C_m_NEgt.js → BaseIcon-DEsg88EI.js} +1 -1
- package/dist/{useLoading-Bt5Doa8m.js → BaseScanner-DIK2NTdp.js} +11 -11
- package/dist/{ColorPicker-_xpvmgl6.js → ColorPicker-Co40B_SG.js} +2 -2
- package/dist/{DataTable-kd4xY9pT.js → DataTable-DY-e2LXS.js} +2 -2
- package/dist/{Legend-Bow74t3d.js → Legend-C7zp8-t4.js} +2 -2
- package/dist/{NonSvgPenAndPaper-cUcAGGV2.js → NonSvgPenAndPaper-C2R7jHOH.js} +3 -3
- package/dist/{PackageVersion-3ZfzB951.js → PackageVersion-B6kajKgU.js} +1 -1
- package/dist/{PenAndPaper-BZddJqUG.js → PenAndPaper-en69u8G0.js} +3 -3
- package/dist/{Shape-BsptIVCm.js → Shape-D2suYivy.js} +43 -37
- package/dist/Slicer-DlcITWn0.js +588 -0
- package/dist/{SparkTooltip-BdD0e0jv.js → SparkTooltip-BwDKg_cF.js} +7 -7
- package/dist/{Title-FiH2Kirc.js → Title-CBSyhlmd.js} +1 -1
- package/dist/{Tooltip-BLtR7DBZ.js → Tooltip-Dis_Iqvl.js} +23 -19
- package/dist/{UserOptions-DOwmMJId.js → UserOptions-BAGpDPid.js} +2 -2
- package/dist/{dom-to-png-DnsK-Zal.js → dom-to-png-Ov4kozad.js} +1 -1
- package/dist/{img-CP2uNkKq.js → img-lSctQ4V6.js} +1 -1
- package/dist/{index-BnnNoGGd.js → index-Dt40W2hN.js} +1533 -1265
- package/dist/{pdf-urw1sGoX.js → pdf-DtFuExHv.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +231 -10
- package/dist/types/vue-data-ui.d.ts +231 -10
- package/dist/{useNestedProp-B6Dz15k2.js → useNestedProp-CiNTcBth.js} +1 -1
- package/dist/{usePrinter-Dd-RkmL8.js → usePrinter-C4Hc_Nbf.js} +2 -2
- package/dist/useTimeLabelCollider-CIsgDrl9.js +78 -0
- package/dist/{useTimeLabels-Mrr0jrpL.js → useTimeLabels-DkzmKfZn.js} +211 -152
- package/dist/{vue-data-ui-Dql75T3d.js → vue-data-ui-Bgp_em-v.js} +64 -64
- package/dist/vue-data-ui.js +26 -25
- package/dist/{vue-ui-3d-bar-CUDEgTKp.js → vue-ui-3d-bar-osKQ4IOP.js} +6 -6
- package/dist/{vue-ui-accordion-qNR0BQCP.js → vue-ui-accordion-BrdvtjzQ.js} +3 -3
- package/dist/{vue-ui-age-pyramid-BFWU1VGZ.js → vue-ui-age-pyramid-CioF-ZZz.js} +11 -9
- package/dist/{vue-ui-annotator-CeMOjHpf.js → vue-ui-annotator-CSqAhQiG.js} +2 -2
- package/dist/vue-ui-bullet-CVDhxrNn.js +571 -0
- package/dist/vue-ui-candlestick--MPqDI4C.js +999 -0
- package/dist/{vue-ui-carousel-table-CAr64-2F.js → vue-ui-carousel-table-BVk7PLwZ.js} +4 -4
- package/dist/{vue-ui-chestnut-B0zNp1jY.js → vue-ui-chestnut-DEx9TbrF.js} +5 -5
- package/dist/{vue-ui-chord-C-_tz6Tb.js → vue-ui-chord-CA-KhxYT.js} +8 -8
- package/dist/{vue-ui-circle-pack-BSTkkKx-.js → vue-ui-circle-pack-DBathPgi.js} +26 -26
- package/dist/{vue-ui-cursor-Dqd6RkcK.js → vue-ui-cursor-DMgru1Ut.js} +2 -2
- package/dist/{vue-ui-dashboard-CspqjC6x.js → vue-ui-dashboard-DjR4GMXi.js} +62 -62
- package/dist/{vue-ui-digits-CazGAGyM.js → vue-ui-digits-Zyo5YPt9.js} +2 -2
- package/dist/{vue-ui-donut-BK35Gt-7.js → vue-ui-donut-CTkQZ2S_.js} +408 -381
- package/dist/vue-ui-donut-evolution-CqWJyBuS.js +1075 -0
- package/dist/{vue-ui-dumbbell-CJal89Ud.js → vue-ui-dumbbell-CqW_fq8N.js} +7 -7
- package/dist/vue-ui-flow-CrAhSPCS.js +841 -0
- package/dist/{vue-ui-funnel-Dm0LCakq.js → vue-ui-funnel-DhfW5rrz.js} +6 -6
- package/dist/{vue-ui-galaxy-C9poCSSD.js → vue-ui-galaxy-PAdaOeqx.js} +51 -49
- package/dist/{vue-ui-gauge-CYXXfMRC.js → vue-ui-gauge-O3pWOp6L.js} +6 -6
- package/dist/{vue-ui-gizmo-B-8rhor5.js → vue-ui-gizmo-euqtfneE.js} +3 -3
- package/dist/vue-ui-heatmap-DpJtmmha.js +1078 -0
- package/dist/{vue-ui-history-plot-C_Si7S5S.js → vue-ui-history-plot-D-ERYWqA.js} +12 -10
- package/dist/{vue-ui-kpi-BYYBkt55.js → vue-ui-kpi-BVPy5lir.js} +3 -3
- package/dist/{vue-ui-mini-loader-DmHE-wrb.js → vue-ui-mini-loader-C1jyLTN0.js} +2 -2
- package/dist/{vue-ui-molecule-I2ZUVtal.js → vue-ui-molecule-D5a1xiZe.js} +35 -33
- package/dist/{vue-ui-mood-radar-BYUr9rcv.js → vue-ui-mood-radar-BFoBLBHr.js} +7 -7
- package/dist/vue-ui-nested-donuts-C5EdQl9m.js +1286 -0
- package/dist/{vue-ui-onion-BpGz1RFC.js → vue-ui-onion-R8aDUWKW.js} +46 -44
- package/dist/vue-ui-parallel-coordinate-plot-BlyVabIZ.js +915 -0
- package/dist/{vue-ui-quadrant-CByC4r8k.js → vue-ui-quadrant-IUglavFx.js} +59 -57
- package/dist/vue-ui-quick-chart-BpNPyMU7.js +1761 -0
- package/dist/{vue-ui-radar-CBVb6GyN.js → vue-ui-radar-gw_Juu9G.js} +12 -10
- package/dist/{vue-ui-rating-Thf6P6AF.js → vue-ui-rating-1unEFc2G.js} +2 -2
- package/dist/{vue-ui-relation-circle-Blg3GkeU.js → vue-ui-relation-circle-BcfPtGPT.js} +6 -6
- package/dist/{vue-ui-ridgeline-D6kxALQN.js → vue-ui-ridgeline-MPTZgHBN.js} +12 -10
- package/dist/{vue-ui-rings-bBHc4cwe.js → vue-ui-rings-BathT6rc.js} +13 -11
- package/dist/{vue-ui-scatter-DS6-kGZL.js → vue-ui-scatter-c18cEUOV.js} +72 -70
- package/dist/{vue-ui-skeleton-gHkpLBcj.js → vue-ui-skeleton-B7-_d7dq.js} +3 -3
- package/dist/{vue-ui-smiley-S7qJ-dRf.js → vue-ui-smiley-BDXogV8H.js} +2 -2
- package/dist/{vue-ui-spark-trend-Co-sKoQX.js → vue-ui-spark-trend-DDTjw45H.js} +3 -3
- package/dist/{vue-ui-sparkbar-G1Jhr305.js → vue-ui-sparkbar-C_5eGtLa.js} +3 -3
- package/dist/{vue-ui-sparkgauge-Bzm5X8us.js → vue-ui-sparkgauge-DHY87x_9.js} +3 -3
- package/dist/{vue-ui-sparkhistogram-IGnxrQK9.js → vue-ui-sparkhistogram-DS5XBE2H.js} +4 -4
- package/dist/vue-ui-sparkline-CSDFmjTw.js +489 -0
- package/dist/{vue-ui-sparkstackbar-C_cbbRT_.js → vue-ui-sparkstackbar-BlbqR90E.js} +55 -53
- package/dist/vue-ui-stackbar-BQhWHZhn.js +1370 -0
- package/dist/{vue-ui-strip-plot-Cw1CDIL0.js → vue-ui-strip-plot-DqW7c8P5.js} +30 -28
- package/dist/{vue-ui-table-C4A73F9D.js → vue-ui-table-CgQG6lgC.js} +3 -3
- package/dist/{vue-ui-table-heatmap-DDlDAXMI.js → vue-ui-table-heatmap-BSvr6nNW.js} +5 -5
- package/dist/{vue-ui-table-sparkline-CQDLqNvX.js → vue-ui-table-sparkline-w7bQM7Hk.js} +4 -4
- package/dist/{vue-ui-thermometer-DgBtT1Ts.js → vue-ui-thermometer-DXtr4W_t.js} +6 -6
- package/dist/{vue-ui-timer-DwL2EUHc.js → vue-ui-timer-DFF2z6Uo.js} +5 -5
- package/dist/{vue-ui-tiremarks-J9v9JAmf.js → vue-ui-tiremarks-a_a4b9HI.js} +6 -6
- package/dist/{vue-ui-treemap-BSPd3wFo.js → vue-ui-treemap-DLbstU3H.js} +13 -11
- package/dist/vue-ui-vertical-bar-B7NnA0GU.js +1108 -0
- package/dist/vue-ui-waffle-B9VX_YKC.js +910 -0
- package/dist/{vue-ui-wheel-B_r_vUFd.js → vue-ui-wheel-BuMOe8AU.js} +6 -6
- package/dist/{vue-ui-word-cloud-DqvRfwF3.js → vue-ui-word-cloud-CEZ2XSvH.js} +12 -10
- package/dist/{vue-ui-world-DguPtgux.js → vue-ui-world-BTXi0bm-.js} +11 -9
- package/dist/vue-ui-xy-DIstI78B.js +3755 -0
- package/dist/{vue-ui-xy-canvas-Cv4Fs6Jw.js → vue-ui-xy-canvas-u2RoNNiK.js} +265 -264
- package/package.json +1 -1
- package/dist/Slicer-i0BAmgHn.js +0 -577
- package/dist/vue-ui-bullet-CmNollxj.js +0 -513
- package/dist/vue-ui-candlestick-CkoAVYNh.js +0 -873
- package/dist/vue-ui-donut-evolution-SomhFGJh.js +0 -903
- package/dist/vue-ui-flow-BFsmk2iL.js +0 -765
- package/dist/vue-ui-heatmap-BQzObiF9.js +0 -877
- package/dist/vue-ui-nested-donuts-DEm7s2uC.js +0 -1177
- package/dist/vue-ui-parallel-coordinate-plot-SkVvzSSQ.js +0 -807
- package/dist/vue-ui-quick-chart-GEYFXShR.js +0 -1612
- package/dist/vue-ui-sparkline-ezu4qjgC.js +0 -459
- package/dist/vue-ui-stackbar-BD9gyxAb.js +0 -1207
- package/dist/vue-ui-vertical-bar-B5b5tXjT.js +0 -1029
- package/dist/vue-ui-waffle-Bh_gS8y2.js +0 -863
- package/dist/vue-ui-xy-MFNbJqgb.js +0 -2980
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { defineAsyncComponent as O, computed as h, ref as u, watch as xe, shallowRef as Te, onMounted as et, onBeforeUnmount as tt, createElementBlock as i, openBlock as s, unref as r, normalizeStyle as X, normalizeClass as E, createBlock as P, createCommentVNode as
|
|
2
|
-
import { u as nt, c as st, t as rt, p as Pe, a as ut, b as it, o as ct, e as Z, d as vt, X as dt, f as V, i as ee, x as _e, q as ht, r as ft, y as
|
|
3
|
-
import { t as
|
|
4
|
-
import { u as Ie } from "./useNestedProp-
|
|
5
|
-
import { u as mt } from "./usePrinter-
|
|
1
|
+
import { defineAsyncComponent as O, computed as h, ref as u, watch as xe, shallowRef as Te, onMounted as et, onBeforeUnmount as tt, createElementBlock as i, openBlock as s, unref as r, normalizeStyle as X, normalizeClass as E, createBlock as P, createCommentVNode as g, createElementVNode as S, createVNode as Oe, createSlots as at, withCtx as f, renderSlot as v, normalizeProps as F, guardReactiveProps as M, Fragment as D, renderList as L, toDisplayString as R, createTextVNode as lt, nextTick as ot } from "vue";
|
|
2
|
+
import { u as nt, c as st, t as rt, p as Pe, a as ut, b as it, o as ct, e as Z, d as vt, X as dt, f as V, i as ee, x as _e, q as ht, r as ft, y as pt } from "./index-Dt40W2hN.js";
|
|
3
|
+
import { t as gt, u as yt } from "./useResponsive-DfdjqQps.js";
|
|
4
|
+
import { u as Ie } from "./useNestedProp-CiNTcBth.js";
|
|
5
|
+
import { u as mt } from "./usePrinter-C4Hc_Nbf.js";
|
|
6
6
|
import { u as bt } from "./useUserOptionState-BIvW1Kz7.js";
|
|
7
7
|
import { u as kt } from "./useChartAccessibility-9icAAmYg.js";
|
|
8
|
-
import wt from "./Title-
|
|
9
|
-
import $t from "./Legend-
|
|
10
|
-
import Ct from "./img-
|
|
8
|
+
import wt from "./Title-CBSyhlmd.js";
|
|
9
|
+
import $t from "./Legend-C7zp8-t4.js";
|
|
10
|
+
import Ct from "./img-lSctQ4V6.js";
|
|
11
11
|
import { _ as xt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
12
12
|
const Tt = ["id"], Ot = ["xmlns", "viewBox"], Pt = ["width", "height"], _t = ["cx", "cy", "r", "stroke", "stroke-width", "stroke-dasharray", "stroke-dashoffset"], It = ["cx", "cy", "r", "stroke", "stroke-width", "stroke-dasharray", "stroke-dashoffset"], At = ["id"], St = ["stdDeviation"], Ft = ["filter"], Mt = ["cx", "cy", "r", "stroke-width", "stroke-dasharray", "stroke-dashoffset"], Rt = ["cx", "cy", "r", "stroke-width", "stroke-dasharray", "stroke-dashoffset", "onMouseenter"], Nt = { key: 2 }, Dt = ["onMouseenter"], Lt = ["x", "y", "font-size", "fill", "font-weight"], Vt = {
|
|
13
13
|
key: 5,
|
|
@@ -30,7 +30,7 @@ const Tt = ["id"], Ot = ["xmlns", "viewBox"], Pt = ["width", "height"], _t = ["c
|
|
|
30
30
|
},
|
|
31
31
|
emits: ["selectLegend"],
|
|
32
32
|
setup(Ae, { expose: Se, emit: Fe }) {
|
|
33
|
-
const Me = O(() => import("./vue-ui-accordion-
|
|
33
|
+
const Me = O(() => import("./vue-ui-accordion-BrdvtjzQ.js")), Re = O(() => import("./DataTable-DY-e2LXS.js")), Ne = O(() => import("./PackageVersion-B6kajKgU.js")), De = O(() => import("./PenAndPaper-en69u8G0.js")), Le = O(() => import("./vue-ui-skeleton-B7-_d7dq.js")), Ve = O(() => import("./Tooltip-Dis_Iqvl.js")), ze = O(() => import("./UserOptions-BAGpDPid.js")), { vue_ui_onion: Be } = nt(), $ = Ae, z = h(() => !!$.dataset && $.dataset.length), _ = u(st()), Ye = u(null), te = u(0), B = u(!1), G = u(""), y = u([]), C = u(null), ae = u(null), le = u(null), oe = u(null), ne = u(null), se = u(0), re = u(0), ue = u(0), e = h({
|
|
34
34
|
get: () => de(),
|
|
35
35
|
set: (t) => t
|
|
36
36
|
}), { userOptionsVisible: H, setUserOptionsVisibility: ie, keepUserOptionState: ce } = bt({ config: e.value }), { svgRef: ve } = kt({ config: e.value.style.chart.title });
|
|
@@ -50,7 +50,7 @@ const Tt = ["id"], Ot = ["xmlns", "viewBox"], Pt = ["width", "height"], _t = ["c
|
|
|
50
50
|
xe(() => $.config, (t) => {
|
|
51
51
|
e.value = de(), H.value = !e.value.userOptions.showOnChartHover, ye(), se.value += 1, re.value += 1, ue.value += 1, m.value.showTable = e.value.table.show, m.value.showTooltip = e.value.style.chart.tooltip.show;
|
|
52
52
|
}, { deep: !0 });
|
|
53
|
-
const { isPrinting: he, isImaging: fe, generatePdf:
|
|
53
|
+
const { isPrinting: he, isImaging: fe, generatePdf: pe, generateImage: ge } = mt({
|
|
54
54
|
elementId: `vue-ui-onion_${_.value}`,
|
|
55
55
|
fileName: e.value.style.chart.title.text || "vue-ui-onion",
|
|
56
56
|
options: e.value.userOptions.print
|
|
@@ -76,7 +76,7 @@ const Tt = ["id"], Ot = ["xmlns", "viewBox"], Pt = ["width", "height"], _t = ["c
|
|
|
76
76
|
componentName: "VueUiOnion",
|
|
77
77
|
type: "dataset"
|
|
78
78
|
}), e.value.responsive) {
|
|
79
|
-
const o =
|
|
79
|
+
const o = gt(() => {
|
|
80
80
|
const { width: a, height: l } = yt({
|
|
81
81
|
chart: C.value,
|
|
82
82
|
title: e.value.style.chart.title.text ? ae.value : null,
|
|
@@ -174,11 +174,11 @@ const Tt = ["id"], Ot = ["xmlns", "viewBox"], Pt = ["width", "height"], _t = ["c
|
|
|
174
174
|
};
|
|
175
175
|
}));
|
|
176
176
|
function Je(t, o) {
|
|
177
|
-
const a = 2 * Math.PI * t, l = a * 0.75,
|
|
177
|
+
const a = 2 * Math.PI * t, l = a * 0.75, p = `${l} ${a}`, b = l * (1 - o / 100);
|
|
178
178
|
return {
|
|
179
179
|
bgDashArray: `${l} ${a}`,
|
|
180
180
|
bgDashOffset: 0,
|
|
181
|
-
dashArray:
|
|
181
|
+
dashArray: p,
|
|
182
182
|
dashOffset: b,
|
|
183
183
|
fullOffset: 0,
|
|
184
184
|
active: `
|
|
@@ -224,7 +224,7 @@ const Tt = ["id"], Ot = ["xmlns", "viewBox"], Pt = ["width", "height"], _t = ["c
|
|
|
224
224
|
});
|
|
225
225
|
function be(t = null) {
|
|
226
226
|
ot(() => {
|
|
227
|
-
const o = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], a = j.value.head, l = j.value.body,
|
|
227
|
+
const o = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], a = j.value.head, l = j.value.body, p = o.concat([a]).concat(l), b = ht(p);
|
|
228
228
|
t ? t(b) : ft({ csvContent: b, title: e.value.style.chart.title.text || "vue-ui-onion" });
|
|
229
229
|
});
|
|
230
230
|
}
|
|
@@ -241,9 +241,9 @@ const Tt = ["id"], Ot = ["xmlns", "viewBox"], Pt = ["width", "height"], _t = ["c
|
|
|
241
241
|
series: d.value,
|
|
242
242
|
config: e.value
|
|
243
243
|
}, B.value = a;
|
|
244
|
-
let
|
|
244
|
+
let p = "";
|
|
245
245
|
const b = e.value.style.chart.tooltip.customFormat;
|
|
246
|
-
if (_e(b) &&
|
|
246
|
+
if (_e(b) && pt(() => b({
|
|
247
247
|
seriesIndex: l,
|
|
248
248
|
datapoint: t,
|
|
249
249
|
series: d.value,
|
|
@@ -257,7 +257,7 @@ const Tt = ["id"], Ot = ["xmlns", "viewBox"], Pt = ["width", "height"], _t = ["c
|
|
|
257
257
|
});
|
|
258
258
|
else {
|
|
259
259
|
const K = e.value.style.chart.tooltip.showPercentage, Q = e.value.style.chart.tooltip.showValue;
|
|
260
|
-
|
|
260
|
+
p += `<div style="width: 100%; border-bottom: 1px solid ${e.value.style.chart.tooltip.borderColor}; padding-bottom: 6px;margin-bottom:3px;display:flex;flex-direction:row;gap:3px;align-items:center"><svg viewBox="0 0 12 12" height="14" width="14"><circle cx="6" cy="6" r="6" stroke="none" fill="${t.color}"/></svg><span></span>${t.name}</span></div>`, p += `<div style="width:100%;text-align:left;"><b>${K ? V({ p: "", v: t.percentage, s: "%", r: e.value.style.chart.tooltip.roundingPercentage }) : ""}</b> ${K && Q ? "(" : ""}${Q ? ee(
|
|
261
261
|
e.value.style.chart.layout.labels.value.formatter,
|
|
262
262
|
t.value,
|
|
263
263
|
V({
|
|
@@ -267,7 +267,7 @@ const Tt = ["id"], Ot = ["xmlns", "viewBox"], Pt = ["width", "height"], _t = ["c
|
|
|
267
267
|
r: e.value.style.chart.tooltip.roundingValue
|
|
268
268
|
}),
|
|
269
269
|
{ datapoint: t, seriesIndex: o }
|
|
270
|
-
) : ""}${K && Q ? ")" : ""}</div>`, G.value = `<div>${
|
|
270
|
+
) : ""}${K && Q ? ")" : ""}</div>`, G.value = `<div>${p}</div>`;
|
|
271
271
|
}
|
|
272
272
|
}
|
|
273
273
|
function $e() {
|
|
@@ -282,9 +282,9 @@ const Tt = ["id"], Ot = ["xmlns", "viewBox"], Pt = ["width", "height"], _t = ["c
|
|
|
282
282
|
}
|
|
283
283
|
async function Ze({ scale: t = 2 } = {}) {
|
|
284
284
|
if (!C.value) return;
|
|
285
|
-
const { width: o, height: a } = C.value.getBoundingClientRect(), l = o / a, { imageUri:
|
|
285
|
+
const { width: o, height: a } = C.value.getBoundingClientRect(), l = o / a, { imageUri: p, base64: b } = await Ct({ domElement: C.value, base64: !0, img: !0, scale: t });
|
|
286
286
|
return {
|
|
287
|
-
imageUri:
|
|
287
|
+
imageUri: p,
|
|
288
288
|
base64: b,
|
|
289
289
|
title: e.value.style.chart.title.text,
|
|
290
290
|
width: o,
|
|
@@ -295,9 +295,9 @@ const Tt = ["id"], Ot = ["xmlns", "viewBox"], Pt = ["width", "height"], _t = ["c
|
|
|
295
295
|
return Se({
|
|
296
296
|
getData: Qe,
|
|
297
297
|
getImage: Ze,
|
|
298
|
-
generatePdf:
|
|
298
|
+
generatePdf: pe,
|
|
299
299
|
generateCsv: be,
|
|
300
|
-
generateImage:
|
|
300
|
+
generateImage: ge,
|
|
301
301
|
toggleTable: $e,
|
|
302
302
|
toggleTooltip: Ce,
|
|
303
303
|
toggleAnnotator: J,
|
|
@@ -318,14 +318,14 @@ const Tt = ["id"], Ot = ["xmlns", "viewBox"], Pt = ["width", "height"], _t = ["c
|
|
|
318
318
|
color: e.value.style.chart.color,
|
|
319
319
|
active: U.value,
|
|
320
320
|
onClose: J
|
|
321
|
-
}, null, 8, ["svgRef", "backgroundColor", "color", "active"])) :
|
|
321
|
+
}, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : g("", !0),
|
|
322
322
|
Ue.value ? (s(), i("div", {
|
|
323
323
|
key: 1,
|
|
324
324
|
ref_key: "noTitle",
|
|
325
325
|
ref: ne,
|
|
326
326
|
class: "vue-data-ui-no-title-space",
|
|
327
327
|
style: "height:36px; width: 100%;background:transparent"
|
|
328
|
-
}, null, 512)) :
|
|
328
|
+
}, null, 512)) : g("", !0),
|
|
329
329
|
e.value.style.chart.title.text ? (s(), i("div", {
|
|
330
330
|
key: 2,
|
|
331
331
|
ref_key: "chartTitle",
|
|
@@ -345,7 +345,7 @@ const Tt = ["id"], Ot = ["xmlns", "viewBox"], Pt = ["width", "height"], _t = ["c
|
|
|
345
345
|
}
|
|
346
346
|
}
|
|
347
347
|
}, null, 8, ["config"]))
|
|
348
|
-
], 512)) :
|
|
348
|
+
], 512)) : g("", !0),
|
|
349
349
|
e.value.userOptions.show && z.value && (r(ce) || r(H)) ? (s(), P(r(ze), {
|
|
350
350
|
ref_key: "details",
|
|
351
351
|
ref: Ye,
|
|
@@ -371,9 +371,9 @@ const Tt = ["id"], Ot = ["xmlns", "viewBox"], Pt = ["width", "height"], _t = ["c
|
|
|
371
371
|
callbacks: e.value.userOptions.callbacks,
|
|
372
372
|
printScale: e.value.userOptions.print.scale,
|
|
373
373
|
onToggleFullscreen: ke,
|
|
374
|
-
onGeneratePdf: r(
|
|
374
|
+
onGeneratePdf: r(pe),
|
|
375
375
|
onGenerateCsv: be,
|
|
376
|
-
onGenerateImage: r(
|
|
376
|
+
onGenerateImage: r(ge),
|
|
377
377
|
onToggleTable: $e,
|
|
378
378
|
onToggleTooltip: Ce,
|
|
379
379
|
onToggleAnnotator: J,
|
|
@@ -437,7 +437,7 @@ const Tt = ["id"], Ot = ["xmlns", "viewBox"], Pt = ["width", "height"], _t = ["c
|
|
|
437
437
|
]),
|
|
438
438
|
key: "7"
|
|
439
439
|
} : void 0
|
|
440
|
-
]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "onGeneratePdf", "onGenerateImage", "style"])) :
|
|
440
|
+
]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "onGeneratePdf", "onGenerateImage", "style"])) : g("", !0),
|
|
441
441
|
z.value ? (s(), i("svg", {
|
|
442
442
|
key: 4,
|
|
443
443
|
ref_key: "svgRef",
|
|
@@ -459,7 +459,7 @@ const Tt = ["id"], Ot = ["xmlns", "viewBox"], Pt = ["width", "height"], _t = ["c
|
|
|
459
459
|
}
|
|
460
460
|
}, [
|
|
461
461
|
v(t.$slots, "chart-background", {}, void 0, !0)
|
|
462
|
-
], 8, Pt)) :
|
|
462
|
+
], 8, Pt)) : g("", !0),
|
|
463
463
|
(s(!0), i(D, null, L(k.value, (a, l) => (s(), i("circle", {
|
|
464
464
|
cx: c.value.centerX,
|
|
465
465
|
cy: c.value.centerY,
|
|
@@ -516,7 +516,7 @@ const Tt = ["id"], Ot = ["xmlns", "viewBox"], Pt = ["width", "height"], _t = ["c
|
|
|
516
516
|
"stroke-dashoffset": a.path.dashOffset,
|
|
517
517
|
style: { transform: "rotate(-90deg)", "transform-origin": "50% 50%" }
|
|
518
518
|
}, null, 8, Mt))), 256))
|
|
519
|
-
], 8, Ft)) :
|
|
519
|
+
], 8, Ft)) : g("", !0),
|
|
520
520
|
(s(!0), i(D, null, L(k.value, (a, l) => (s(), i("circle", {
|
|
521
521
|
cx: c.value.centerX,
|
|
522
522
|
cy: c.value.centerY,
|
|
@@ -529,27 +529,27 @@ const Tt = ["id"], Ot = ["xmlns", "viewBox"], Pt = ["width", "height"], _t = ["c
|
|
|
529
529
|
"stroke-linecap": "round",
|
|
530
530
|
class: "vue-ui-onion-path",
|
|
531
531
|
style: { transform: "rotate(-90deg)", "transform-origin": "50% 50%" },
|
|
532
|
-
onMouseenter: (
|
|
532
|
+
onMouseenter: (p) => we({
|
|
533
533
|
datapoint: a,
|
|
534
534
|
show: !0,
|
|
535
535
|
seriesIndex: l
|
|
536
536
|
}),
|
|
537
|
-
onMouseleave: o[0] || (o[0] = (
|
|
537
|
+
onMouseleave: o[0] || (o[0] = (p) => {
|
|
538
538
|
w.value = void 0, B.value = !1;
|
|
539
539
|
})
|
|
540
540
|
}, null, 40, Rt))), 256)),
|
|
541
541
|
e.value.style.chart.layout.labels.show ? (s(), i("g", Nt, [
|
|
542
542
|
(s(!0), i(D, null, L(k.value, (a, l) => (s(), i("g", {
|
|
543
|
-
onMouseenter: (
|
|
543
|
+
onMouseenter: (p) => we({
|
|
544
544
|
datapoint: a,
|
|
545
545
|
show: !0,
|
|
546
546
|
seriesIndex: l
|
|
547
547
|
}),
|
|
548
|
-
onMouseleave: o[1] || (o[1] = (
|
|
548
|
+
onMouseleave: o[1] || (o[1] = (p) => {
|
|
549
549
|
w.value = void 0, B.value = !1;
|
|
550
550
|
})
|
|
551
551
|
}, [
|
|
552
|
-
y.value.includes(a.id) ?
|
|
552
|
+
y.value.includes(a.id) ? g("", !0) : (s(), i("text", {
|
|
553
553
|
key: 0,
|
|
554
554
|
x: n.value.width / 2 - T.value.gutter * 0.8 + e.value.style.chart.layout.labels.offsetX,
|
|
555
555
|
y: a.labelY + e.value.style.chart.layout.labels.offsetY,
|
|
@@ -583,13 +583,13 @@ const Tt = ["id"], Ot = ["xmlns", "viewBox"], Pt = ["width", "height"], _t = ["c
|
|
|
583
583
|
{ datapoint: a, seriesIndex: l }
|
|
584
584
|
)})` : ""}`), 9, Lt))
|
|
585
585
|
], 40, Dt))), 256))
|
|
586
|
-
])) :
|
|
586
|
+
])) : g("", !0),
|
|
587
587
|
v(t.$slots, "svg", { svg: n.value }, void 0, !0)
|
|
588
|
-
], 14, Ot)) :
|
|
588
|
+
], 14, Ot)) : g("", !0),
|
|
589
589
|
t.$slots.watermark ? (s(), i("div", Vt, [
|
|
590
590
|
v(t.$slots, "watermark", F(M({ isPrinting: r(he) || r(fe) })), void 0, !0)
|
|
591
|
-
])) :
|
|
592
|
-
z.value ?
|
|
591
|
+
])) : g("", !0),
|
|
592
|
+
z.value ? g("", !0) : (s(), P(r(Le), {
|
|
593
593
|
key: 6,
|
|
594
594
|
config: {
|
|
595
595
|
type: "onion",
|
|
@@ -631,7 +631,7 @@ const Tt = ["id"], Ot = ["xmlns", "viewBox"], Pt = ["width", "height"], _t = ["c
|
|
|
631
631
|
dir: "auto"
|
|
632
632
|
}, [
|
|
633
633
|
v(t.$slots, "source", {}, void 0, !0)
|
|
634
|
-
], 512)) :
|
|
634
|
+
], 512)) : g("", !0),
|
|
635
635
|
Oe(r(Ve), {
|
|
636
636
|
show: m.value.showTooltip && B.value,
|
|
637
637
|
backgroundColor: e.value.style.chart.tooltip.backgroundColor,
|
|
@@ -646,7 +646,9 @@ const Tt = ["id"], Ot = ["xmlns", "viewBox"], Pt = ["width", "height"], _t = ["c
|
|
|
646
646
|
parent: C.value,
|
|
647
647
|
content: G.value,
|
|
648
648
|
isFullscreen: A.value,
|
|
649
|
-
isCustom: r(_e)(e.value.style.chart.tooltip.customFormat)
|
|
649
|
+
isCustom: r(_e)(e.value.style.chart.tooltip.customFormat),
|
|
650
|
+
smooth: e.value.style.chart.tooltip.smooth,
|
|
651
|
+
backdropFilter: e.value.style.chart.tooltip.backdropFilter
|
|
650
652
|
}, {
|
|
651
653
|
"tooltip-before": f(() => [
|
|
652
654
|
v(t.$slots, "tooltip-before", F(M({ ...q.value })), void 0, !0)
|
|
@@ -655,7 +657,7 @@ const Tt = ["id"], Ot = ["xmlns", "viewBox"], Pt = ["width", "height"], _t = ["c
|
|
|
655
657
|
v(t.$slots, "tooltip-after", F(M({ ...q.value })), void 0, !0)
|
|
656
658
|
]),
|
|
657
659
|
_: 3
|
|
658
|
-
}, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom"]),
|
|
660
|
+
}, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom", "smooth", "backdropFilter"]),
|
|
659
661
|
z.value ? (s(), P(r(Me), {
|
|
660
662
|
key: 8,
|
|
661
663
|
hideDetails: "",
|
|
@@ -692,10 +694,10 @@ const Tt = ["id"], Ot = ["xmlns", "viewBox"], Pt = ["width", "height"], _t = ["c
|
|
|
692
694
|
}, 8, ["colNames", "head", "body", "config", "title"]))
|
|
693
695
|
]),
|
|
694
696
|
_: 1
|
|
695
|
-
}, 8, ["config"])) :
|
|
697
|
+
}, 8, ["config"])) : g("", !0)
|
|
696
698
|
], 46, Tt));
|
|
697
699
|
}
|
|
698
|
-
}, Zt = /* @__PURE__ */ xt(Yt, [["__scopeId", "data-v-
|
|
700
|
+
}, Zt = /* @__PURE__ */ xt(Yt, [["__scopeId", "data-v-3929f4be"]]);
|
|
699
701
|
export {
|
|
700
702
|
Zt as default
|
|
701
703
|
};
|