vue-data-ui 3.0.0-next.54 → 3.0.0-next.56
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-LMYgGTUq.js → Arrow-Dr73vXkS.js} +1 -1
- package/dist/{BaseDraggableDialog-D6NKDVDd.js → BaseDraggableDialog-C94LH2gO.js} +2 -2
- package/dist/{BaseIcon-D1YxuTqn.js → BaseIcon-DVj5nedZ.js} +1 -1
- package/dist/{ColorPicker-Dqnk4Bis.js → ColorPicker-BmI1B2Ie.js} +2 -2
- package/dist/{DataTable-D1RPxkQn.js → DataTable-DIRgYyMk.js} +2 -2
- package/dist/{Legend-BBaTktyQ.js → Legend-Bm0VbPfX.js} +2 -2
- package/dist/{NonSvgPenAndPaper-Dqp0PFOO.js → NonSvgPenAndPaper-B9qj2h1N.js} +3 -3
- package/dist/{PackageVersion-Dvivm8-r.js → PackageVersion-CmrjjMGu.js} +1 -1
- package/dist/{PenAndPaper-DaQWWpgs.js → PenAndPaper-CkxcaljP.js} +3 -3
- package/dist/{Shape-Dc4AHan7.js → Shape-PFacVGG6.js} +1 -1
- package/dist/{Slicer-viJHi_bq.js → Slicer-OzSjPeeA.js} +2 -2
- package/dist/{SparkTooltip-Ca7tsP2u.js → SparkTooltip-B5KxrXfj.js} +1 -1
- package/dist/{Title-Bnr--aA5.js → Title-CPlHadE3.js} +1 -1
- package/dist/{Tooltip-DSvSWahk.js → Tooltip-DfLg6pdN.js} +1 -1
- package/dist/{UserOptions-Dm91TR_d.js → UserOptions-Cvao0wOJ.js} +2 -2
- package/dist/{dom-to-png-DTwkx-9j.js → dom-to-png-D_YDAEr8.js} +1 -1
- package/dist/{img-Brj7vn--.js → img-BUkzDAPW.js} +1 -1
- package/dist/{index-B5FRcZLo.js → index-bTtbNszd.js} +706 -668
- package/dist/{pdf-s-J6FH3X.js → pdf-DH7vaP6J.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +42 -2
- package/dist/types/vue-data-ui.d.ts +42 -2
- package/dist/{useAutoSizeLabelsInsideViewbox-xwIHroEq.js → useAutoSizeLabelsInsideViewbox-D78glQ57.js} +1 -1
- package/dist/{BaseScanner-DIK2NTdp.js → useLoading-Bt5Doa8m.js} +11 -11
- package/dist/useNestedProp-CYma7CyA.js +13 -0
- package/dist/{usePrinter-CHbm8PGD.js → usePrinter-Byfy8pVl.js} +2 -2
- package/dist/{vue-data-ui-jynIaHEu.js → vue-data-ui-BA5aCP0F.js} +64 -64
- package/dist/vue-data-ui.js +1 -1
- package/dist/vue-ui-3d-bar-D8ONqED5.js +1323 -0
- package/dist/{vue-ui-accordion-h_xORY7m.js → vue-ui-accordion-CwsNjkyh.js} +3 -3
- package/dist/{vue-ui-age-pyramid-ByNg19-v.js → vue-ui-age-pyramid-DZ6AvPgA.js} +7 -7
- package/dist/{vue-ui-annotator-DHWKIAiw.js → vue-ui-annotator-BUUPzhqT.js} +2 -2
- package/dist/{vue-ui-bullet-D8QT8Bn3.js → vue-ui-bullet-DJ5o_J5c.js} +8 -8
- package/dist/{vue-ui-candlestick-Dfga6m-d.js → vue-ui-candlestick-DTOpUEUO.js} +8 -8
- package/dist/{vue-ui-carousel-table--OsqU2f2.js → vue-ui-carousel-table-D9h_e75T.js} +29 -29
- package/dist/{vue-ui-chestnut-Bos9_e2W.js → vue-ui-chestnut-T3gxdFRJ.js} +5 -5
- package/dist/{vue-ui-chord-CBxXikz5.js → vue-ui-chord-BXgJkrMP.js} +8 -8
- package/dist/{vue-ui-circle-pack-CA4h8PoX.js → vue-ui-circle-pack-CeDwV2pm.js} +42 -42
- package/dist/{vue-ui-cursor-D1e1-QTO.js → vue-ui-cursor-5EQyN1HC.js} +2 -2
- package/dist/{vue-ui-dashboard-CGLgntfH.js → vue-ui-dashboard-CRy1Qs01.js} +62 -62
- package/dist/{vue-ui-digits-CsO3Iczu.js → vue-ui-digits-wfErkCJ_.js} +2 -2
- package/dist/{vue-ui-donut-evolution-s6f_kN-K.js → vue-ui-donut-evolution-57R6hLc8.js} +9 -9
- package/dist/{vue-ui-donut-CkicdCC0.js → vue-ui-donut-fMNTVnoQ.js} +9 -9
- package/dist/vue-ui-dumbbell-Bb9EWdAh.js +1119 -0
- package/dist/{vue-ui-flow-BQUZA0Ci.js → vue-ui-flow-ZTN_1mhN.js} +8 -8
- package/dist/{vue-ui-funnel-BaJXfhkn.js → vue-ui-funnel-nrLWJgh7.js} +16 -16
- package/dist/{vue-ui-galaxy-AamRVENQ.js → vue-ui-galaxy-DqJRsXpE.js} +5 -5
- package/dist/{vue-ui-gauge-DwpIlS3L.js → vue-ui-gauge-DHpR-E7B.js} +8 -8
- package/dist/{vue-ui-gizmo-_LjeGmAP.js → vue-ui-gizmo-6QmhvBHc.js} +3 -3
- package/dist/{vue-ui-heatmap-C2LL_MI_.js → vue-ui-heatmap-DBCm73qw.js} +8 -8
- package/dist/{vue-ui-history-plot-BLxytFYc.js → vue-ui-history-plot-qan_4GRJ.js} +20 -20
- package/dist/{vue-ui-kpi-D2Pbj0bH.js → vue-ui-kpi-B-SrOVSP.js} +7 -7
- package/dist/{vue-ui-mini-loader-DlrRQmpO.js → vue-ui-mini-loader-C4x-pTjm.js} +2 -2
- package/dist/{vue-ui-molecule-BUJqDdqt.js → vue-ui-molecule-DEd1uTxl.js} +15 -15
- package/dist/{vue-ui-mood-radar-B3_UAmrH.js → vue-ui-mood-radar-CwoHDmS7.js} +15 -15
- package/dist/{vue-ui-nested-donuts-C6J6RswH.js → vue-ui-nested-donuts-DbFA4Z1s.js} +10 -10
- package/dist/{vue-ui-onion-BbABpEI9.js → vue-ui-onion-CG_mZFym.js} +24 -24
- package/dist/{vue-ui-parallel-coordinate-plot-DKg6Ksmk.js → vue-ui-parallel-coordinate-plot-jU6R5FJX.js} +9 -9
- package/dist/{vue-ui-quadrant-DKYW231A.js → vue-ui-quadrant-jvc98f1Q.js} +8 -8
- package/dist/{vue-ui-quick-chart-Dk8KMMWE.js → vue-ui-quick-chart-CB8cnyMU.js} +45 -45
- package/dist/{vue-ui-radar-JJJvDyH0.js → vue-ui-radar-Dbf8tizc.js} +25 -25
- package/dist/{vue-ui-rating-hbgc6VRD.js → vue-ui-rating-BTD7xrCK.js} +2 -2
- package/dist/{vue-ui-relation-circle-Btubhkqp.js → vue-ui-relation-circle-jErgm958.js} +6 -6
- package/dist/{vue-ui-ridgeline-zS0itk3r.js → vue-ui-ridgeline-we0epqNk.js} +9 -9
- package/dist/{vue-ui-rings-C6QI4vT_.js → vue-ui-rings-DJWTf1uZ.js} +20 -20
- package/dist/{vue-ui-scatter-C2kNKb55.js → vue-ui-scatter-C94FXact.js} +9 -9
- package/dist/{vue-ui-skeleton-CzVYh2n3.js → vue-ui-skeleton--VFckr1-.js} +3 -3
- package/dist/{vue-ui-smiley-BK28gGd8.js → vue-ui-smiley-DNj5p6hi.js} +26 -26
- package/dist/{vue-ui-spark-trend-CSypVrHj.js → vue-ui-spark-trend-BUKgFMV_.js} +3 -3
- package/dist/{vue-ui-sparkbar-Cn2ww9SA.js → vue-ui-sparkbar-DMjqw4dV.js} +3 -3
- package/dist/{vue-ui-sparkgauge-D_q1ShxX.js → vue-ui-sparkgauge-BnWxrxBS.js} +3 -3
- package/dist/{vue-ui-sparkhistogram-DrWMDYwQ.js → vue-ui-sparkhistogram-7MSKip9i.js} +4 -4
- package/dist/{vue-ui-sparkline-B2EWoOpH.js → vue-ui-sparkline-C8NiPHel.js} +4 -4
- package/dist/{vue-ui-sparkstackbar-dgtxtC-v.js → vue-ui-sparkstackbar-B4OrKV2_.js} +3 -3
- package/dist/{vue-ui-stackbar-BEPKt8t1.js → vue-ui-stackbar-BePLgZLL.js} +10 -10
- package/dist/{vue-ui-strip-plot-CGLaQrOE.js → vue-ui-strip-plot-BzVgS6vT.js} +25 -25
- package/dist/{vue-ui-table-CYeBDq4t.js → vue-ui-table-088-wqHU.js} +3 -3
- package/dist/{vue-ui-table-heatmap-D5Higl6c.js → vue-ui-table-heatmap-A8gN9NU2.js} +5 -5
- package/dist/{vue-ui-table-sparkline-CgUjTFEu.js → vue-ui-table-sparkline-B5ydziP3.js} +14 -14
- package/dist/{vue-ui-thermometer-DdHoEvl8.js → vue-ui-thermometer-DVSW7iAt.js} +25 -25
- package/dist/{vue-ui-timer-Dd9-bUFJ.js → vue-ui-timer-DOlZVwc0.js} +5 -5
- package/dist/{vue-ui-tiremarks-CDvBqFb9.js → vue-ui-tiremarks-BdpwJTjQ.js} +7 -7
- package/dist/{vue-ui-treemap-Cnk77LIb.js → vue-ui-treemap-BzRJXnWX.js} +39 -39
- package/dist/{vue-ui-vertical-bar-CfedVdxi.js → vue-ui-vertical-bar-BWF4L-si.js} +10 -10
- package/dist/{vue-ui-waffle-_nuwY19z.js → vue-ui-waffle-YMOhYjS2.js} +27 -27
- package/dist/{vue-ui-wheel-mgrK52NV.js → vue-ui-wheel-C2LJqnuj.js} +7 -7
- package/dist/{vue-ui-word-cloud-X7c1DN4a.js → vue-ui-word-cloud-BqoWGzfw.js} +6 -6
- package/dist/{vue-ui-world-Ip9Cyd__.js → vue-ui-world-BInCh1JK.js} +6 -6
- package/dist/{vue-ui-xy-canvas-1KtHBKRO.js → vue-ui-xy-canvas-DaIL6iBg.js} +8 -8
- package/dist/{vue-ui-xy-CsH5sX8-.js → vue-ui-xy-uE2FWrCv.js} +87 -87
- package/package.json +1 -1
- package/dist/useNestedProp-BwJKakXX.js +0 -13
- package/dist/vue-ui-3d-bar-CuyTiQjS.js +0 -1227
- package/dist/vue-ui-dumbbell-DmYCdaFI.js +0 -1058
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { defineAsyncComponent as _, computed as c, onMounted as Oe, ref as h, watch as Te, createElementBlock as f, openBlock as r, unref as a, normalizeStyle as F, normalizeClass as oe, createBlock as g, createCommentVNode as i, renderSlot as v, createVNode as E, createSlots as Ie, withCtx as p, normalizeProps as S, guardReactiveProps as V, createElementVNode as s, Fragment as le, renderList as ae, toDisplayString as T, createTextVNode as se, nextTick as Le } from "vue";
|
|
2
|
-
import { u as Fe, o as Se,
|
|
3
|
-
import { u as ue } from "./useNestedProp-
|
|
4
|
-
import { u as De } from "./usePrinter-
|
|
2
|
+
import { u as Fe, o as Se, f as re, c as Ve, b as Re, R as je, X as Be, s as w, x as Ue, S as Ee, k as ne, i as R, v as We, w as ze } from "./index-bTtbNszd.js";
|
|
3
|
+
import { u as ue } from "./useNestedProp-CYma7CyA.js";
|
|
4
|
+
import { u as De } from "./usePrinter-Byfy8pVl.js";
|
|
5
5
|
import { u as Ge } from "./useUserOptionState-BIvW1Kz7.js";
|
|
6
6
|
import { u as He } from "./useChartAccessibility-9icAAmYg.js";
|
|
7
|
-
import Xe from "./Legend-
|
|
8
|
-
import Ke from "./Title-
|
|
9
|
-
import
|
|
10
|
-
import { _ as
|
|
7
|
+
import Xe from "./Legend-Bm0VbPfX.js";
|
|
8
|
+
import Ke from "./Title-CPlHadE3.js";
|
|
9
|
+
import Ye from "./img-BUkzDAPW.js";
|
|
10
|
+
import { _ as qe } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
11
11
|
const Je = ["id"], Qe = {
|
|
12
12
|
key: 2,
|
|
13
13
|
style: "width:100%;background:transparent"
|
|
@@ -35,7 +35,7 @@ const Je = ["id"], Qe = {
|
|
|
35
35
|
}
|
|
36
36
|
},
|
|
37
37
|
setup(ie, { expose: de }) {
|
|
38
|
-
const ce = _(() => import("./vue-ui-accordion-
|
|
38
|
+
const ce = _(() => import("./vue-ui-accordion-CwsNjkyh.js")), $ = _(() => import("./BaseIcon-DVj5nedZ.js")), ve = _(() => import("./DataTable-DIRgYyMk.js")), ye = _(() => import("./PackageVersion-CmrjjMGu.js")), he = _(() => import("./PenAndPaper-CkxcaljP.js")), fe = _(() => import("./vue-ui-skeleton--VFckr1-.js")), pe = _(() => import("./UserOptions-Cvao0wOJ.js")), { vue_ui_mood_radar: me } = Fe(), d = ie, M = c(() => !!d.dataset && Object.keys(d.dataset).length);
|
|
39
39
|
Oe(() => {
|
|
40
40
|
W();
|
|
41
41
|
});
|
|
@@ -64,7 +64,7 @@ const Je = ["id"], Qe = {
|
|
|
64
64
|
Te(() => d.config, (o) => {
|
|
65
65
|
e.value = X(), j.value = !e.value.userOptions.showOnChartHover, W(), be.value += 1, Ce.value += 1, z.value += 1, A.value.showTable = e.value.table.show;
|
|
66
66
|
}, { deep: !0 });
|
|
67
|
-
const { isPrinting: K, isImaging:
|
|
67
|
+
const { isPrinting: K, isImaging: Y, generatePdf: q, generateImage: J } = De({
|
|
68
68
|
elementId: P.value,
|
|
69
69
|
fileName: e.value.style.chart.title.text || "vue-ui-mood-radar",
|
|
70
70
|
options: e.value.userOptions.print
|
|
@@ -195,7 +195,7 @@ const Je = ["id"], Qe = {
|
|
|
195
195
|
}
|
|
196
196
|
async function Ne({ scale: o = 2 } = {}) {
|
|
197
197
|
if (!N.value) return;
|
|
198
|
-
const { width: l, height: t } = N.value.getBoundingClientRect(), u = l / t, { imageUri: b, base64: y } = await
|
|
198
|
+
const { width: l, height: t } = N.value.getBoundingClientRect(), u = l / t, { imageUri: b, base64: y } = await Ye({ domElement: N.value, base64: !0, img: !0, scale: o });
|
|
199
199
|
return {
|
|
200
200
|
imageUri: b,
|
|
201
201
|
base64: y,
|
|
@@ -208,7 +208,7 @@ const Je = ["id"], Qe = {
|
|
|
208
208
|
return de({
|
|
209
209
|
getData: Pe,
|
|
210
210
|
getImage: Ne,
|
|
211
|
-
generatePdf:
|
|
211
|
+
generatePdf: q,
|
|
212
212
|
generateCsv: Z,
|
|
213
213
|
generateImage: J,
|
|
214
214
|
toggleTable: ee,
|
|
@@ -259,7 +259,7 @@ const Je = ["id"], Qe = {
|
|
|
259
259
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
260
260
|
color: e.value.style.chart.color,
|
|
261
261
|
isPrinting: a(K),
|
|
262
|
-
isImaging: a(
|
|
262
|
+
isImaging: a(Y),
|
|
263
263
|
uid: P.value,
|
|
264
264
|
hasPdf: e.value.userOptions.buttons.pdf,
|
|
265
265
|
hasXls: e.value.userOptions.buttons.csv,
|
|
@@ -275,7 +275,7 @@ const Je = ["id"], Qe = {
|
|
|
275
275
|
callbacks: e.value.userOptions.callbacks,
|
|
276
276
|
printScale: e.value.userOptions.print.scale,
|
|
277
277
|
onToggleFullscreen: te,
|
|
278
|
-
onGeneratePdf: a(
|
|
278
|
+
onGeneratePdf: a(q),
|
|
279
279
|
onGenerateCsv: Z,
|
|
280
280
|
onGenerateImage: a(J),
|
|
281
281
|
onToggleTable: ee,
|
|
@@ -539,7 +539,7 @@ const Je = ["id"], Qe = {
|
|
|
539
539
|
v(o.$slots, "svg", { svg: m.value }, void 0, !0)
|
|
540
540
|
], 14, Ze)) : i("", !0),
|
|
541
541
|
o.$slots.watermark ? (r(), f("div", wt, [
|
|
542
|
-
v(o.$slots, "watermark", S(V({ isPrinting: a(K) || a(
|
|
542
|
+
v(o.$slots, "watermark", S(V({ isPrinting: a(K) || a(Y) })), void 0, !0)
|
|
543
543
|
])) : i("", !0),
|
|
544
544
|
M.value ? i("", !0) : (r(), g(a(fe), {
|
|
545
545
|
key: 6,
|
|
@@ -664,7 +664,7 @@ const Je = ["id"], Qe = {
|
|
|
664
664
|
}, 8, ["config"])) : i("", !0)
|
|
665
665
|
], 46, Je));
|
|
666
666
|
}
|
|
667
|
-
}, jt = /* @__PURE__ */
|
|
667
|
+
}, jt = /* @__PURE__ */ qe(Pt, [["__scopeId", "data-v-b1ec6585"]]);
|
|
668
668
|
export {
|
|
669
669
|
jt as default
|
|
670
670
|
};
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { defineAsyncComponent as U, computed as C, ref as h, toRefs as Wt, watch as re, onMounted as qt, shallowRef as ct, onBeforeUnmount as Ht, createElementBlock as r, openBlock as n, unref as i, normalizeStyle as ie, normalizeClass as z, createBlock as G, createCommentVNode as $, createVNode as ht, createSlots as Jt, withCtx as x, renderSlot as _, normalizeProps as H, guardReactiveProps as J, createElementVNode as y, Fragment as A, renderList as T, toDisplayString as O, withDirectives as ft, vShow as yt, createTextVNode as Kt, nextTick as pt } from "vue";
|
|
2
|
-
import { u as Qt, c as Zt,
|
|
2
|
+
import { u as Qt, c as Zt, t as jt, a as ea, p as Se, b as ta, C as Ie, o as aa, f as K, d as la, G as M, e as oa, m as Ve, i as F, X as sa, s as ua, L as bt, q as Pe, r as Q, k as j, y as gt, v as na, w as ra, z as ia, T as mt, h as De } from "./index-bTtbNszd.js";
|
|
3
3
|
import { t as da, u as va } from "./useResponsive-DfdjqQps.js";
|
|
4
|
-
import { u as wt } from "./useNestedProp-
|
|
5
|
-
import { u as ca } from "./usePrinter-
|
|
4
|
+
import { u as wt } from "./useNestedProp-CYma7CyA.js";
|
|
5
|
+
import { u as ca } from "./usePrinter-Byfy8pVl.js";
|
|
6
6
|
import { u as ha } from "./useUserOptionState-BIvW1Kz7.js";
|
|
7
7
|
import { u as fa } from "./useChartAccessibility-9icAAmYg.js";
|
|
8
|
-
import ya from "./Title-
|
|
9
|
-
import pa from "./Legend-
|
|
10
|
-
import ba from "./img-
|
|
11
|
-
import { u as ga, B as ma } from "./
|
|
8
|
+
import ya from "./Title-CPlHadE3.js";
|
|
9
|
+
import pa from "./Legend-Bm0VbPfX.js";
|
|
10
|
+
import ba from "./img-BUkzDAPW.js";
|
|
11
|
+
import { u as ga, B as ma } from "./useLoading-Bt5Doa8m.js";
|
|
12
12
|
import { _ as wa } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
13
13
|
const $a = ["id"], ka = ["xmlns", "viewBox"], La = ["width", "height"], Ca = ["id"], xa = ["offset", "stop-color"], _a = ["offset", "stop-opacity"], Aa = ["id"], Ta = ["id"], Na = ["id"], Fa = ["flood-color"], Oa = ["id", "d"], Sa = ["d", "fill", "stroke", "stroke-width", "filter"], Ia = ["d", "fill", "stroke", "stroke-width"], Va = { key: 1 }, Pa = ["d", "fill"], Da = { key: 2 }, za = ["font-size", "font-weight", "fill", "dy"], Ma = ["href"], Ea = ["x", "y", "font-size", "font-weight", "fill"], Ba = { key: 3 }, Ra = ["filter"], Ua = ["opacity", "text-anchor", "x", "y", "fill", "font-size", "font-weight"], Ga = ["opacity", "text-anchor", "x", "y", "fill", "font-size", "font-weight"], Ya = ["text-anchor", "x", "y", "fill", "font-size", "font-weight"], Xa = ["d", "fill", "onMouseenter", "onClick", "onMouseleave"], Wa = {
|
|
14
14
|
key: 4,
|
|
@@ -34,9 +34,9 @@ const $a = ["id"], ka = ["xmlns", "viewBox"], La = ["width", "height"], Ca = ["i
|
|
|
34
34
|
},
|
|
35
35
|
emits: ["selectLegend", "selectDatapoint"],
|
|
36
36
|
setup($t, { expose: kt, emit: Lt }) {
|
|
37
|
-
const Ct = U(() => import("./vue-ui-accordion-
|
|
38
|
-
U(() => import("./vue-ui-skeleton
|
|
39
|
-
const Tt = U(() => import("./Tooltip-
|
|
37
|
+
const Ct = U(() => import("./vue-ui-accordion-CwsNjkyh.js")), xt = U(() => import("./DataTable-DIRgYyMk.js")), _t = U(() => import("./PackageVersion-CmrjjMGu.js")), At = U(() => import("./PenAndPaper-CkxcaljP.js"));
|
|
38
|
+
U(() => import("./vue-ui-skeleton--VFckr1-.js"));
|
|
39
|
+
const Tt = U(() => import("./Tooltip-DfLg6pdN.js")), Nt = U(() => import("./UserOptions-Cvao0wOJ.js")), { vue_ui_nested_donuts: Ft } = Qt(), g = $t, de = C({
|
|
40
40
|
get() {
|
|
41
41
|
return !!g.dataset && g.dataset.length;
|
|
42
42
|
},
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { defineAsyncComponent as M, computed as d, ref as r, toRefs as vt, watch as X, shallowRef as Re, onMounted as dt, onBeforeUnmount as ht, createElementBlock as i, openBlock as u, unref as s, normalizeStyle as A, normalizeClass as G, createBlock as I, createCommentVNode as g, createElementVNode as L, createVNode as ze, createSlots as ft, withCtx as p, renderSlot as h, normalizeProps as R, guardReactiveProps as z, Fragment as B, renderList as V, toDisplayString as N, createTextVNode as pt, nextTick as Ne } from "vue";
|
|
2
|
-
import { u as gt, c as mt,
|
|
2
|
+
import { u as gt, c as mt, t as yt, a as bt, p as De, b as kt, d as wt, o as Le, f as ne, e as Ct, X as $t, i as Y, k as se, y as Be, v as xt, w as Tt, z as Ot } from "./index-bTtbNszd.js";
|
|
3
3
|
import { t as _t, u as At } from "./useResponsive-DfdjqQps.js";
|
|
4
|
-
import { u as Ve } from "./useNestedProp-
|
|
5
|
-
import { u as It } from "./usePrinter-
|
|
4
|
+
import { u as Ve } from "./useNestedProp-CYma7CyA.js";
|
|
5
|
+
import { u as It } from "./usePrinter-Byfy8pVl.js";
|
|
6
6
|
import { u as St } from "./useUserOptionState-BIvW1Kz7.js";
|
|
7
7
|
import { u as Pt } from "./useChartAccessibility-9icAAmYg.js";
|
|
8
|
-
import Ft from "./Title-
|
|
9
|
-
import Mt from "./Legend-
|
|
10
|
-
import Rt from "./img-
|
|
11
|
-
import { u as zt, B as Nt } from "./
|
|
12
|
-
import { u as Dt } from "./useAutoSizeLabelsInsideViewbox-
|
|
8
|
+
import Ft from "./Title-CPlHadE3.js";
|
|
9
|
+
import Mt from "./Legend-Bm0VbPfX.js";
|
|
10
|
+
import Rt from "./img-BUkzDAPW.js";
|
|
11
|
+
import { u as zt, B as Nt } from "./useLoading-Bt5Doa8m.js";
|
|
12
|
+
import { u as Dt } from "./useAutoSizeLabelsInsideViewbox-D78glQ57.js";
|
|
13
13
|
import { _ as Lt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
14
|
-
const Bt = ["id"], Vt = ["xmlns", "viewBox"], Yt = ["width", "height"], Et = ["cx", "cy", "r", "stroke", "stroke-width", "stroke-dasharray", "stroke-dashoffset"], Ut = ["cx", "cy", "r", "stroke", "stroke-width", "stroke-dasharray", "stroke-dashoffset"], Xt = ["id"], Gt = ["stdDeviation"], Ht = ["filter"],
|
|
14
|
+
const Bt = ["id"], Vt = ["xmlns", "viewBox"], Yt = ["width", "height"], Et = ["cx", "cy", "r", "stroke", "stroke-width", "stroke-dasharray", "stroke-dashoffset"], Ut = ["cx", "cy", "r", "stroke", "stroke-width", "stroke-dasharray", "stroke-dashoffset"], Xt = ["id"], Gt = ["stdDeviation"], Ht = ["filter"], Wt = ["cx", "cy", "r", "stroke-width", "stroke-dasharray", "stroke-dashoffset"], jt = ["cx", "cy", "r", "stroke-width", "stroke-dasharray", "stroke-dashoffset", "onMouseenter", "onMouseleave", "onClick"], qt = { key: 2 }, Jt = ["onMouseenter", "onMouseleave", "onClick"], Kt = ["x", "y", "font-size", "fill", "font-weight"], Qt = {
|
|
15
15
|
key: 4,
|
|
16
16
|
class: "vue-data-ui-watermark"
|
|
17
17
|
}, Zt = ["onClick"], ea = ["innerHTML"], ta = {
|
|
@@ -32,7 +32,7 @@ const Bt = ["id"], Vt = ["xmlns", "viewBox"], Yt = ["width", "height"], Et = ["c
|
|
|
32
32
|
},
|
|
33
33
|
emits: ["selectLegend"],
|
|
34
34
|
setup(Ye, { expose: Ee, emit: Ue }) {
|
|
35
|
-
const Xe = M(() => import("./vue-ui-accordion-
|
|
35
|
+
const Xe = M(() => import("./vue-ui-accordion-CwsNjkyh.js")), Ge = M(() => import("./DataTable-DIRgYyMk.js")), He = M(() => import("./PackageVersion-CmrjjMGu.js")), We = M(() => import("./PenAndPaper-CkxcaljP.js")), je = M(() => import("./Tooltip-DfLg6pdN.js")), qe = M(() => import("./UserOptions-Cvao0wOJ.js")), { vue_ui_onion: Je } = gt(), w = Ye, ue = d(() => !!w.dataset && w.dataset.length), S = r(mt()), Ke = r(null), re = r(0), H = r(!1), W = r(""), y = r([]), x = r(null), ie = r(null), ce = r(null), ve = r(null), de = r(null), he = r(0), fe = r(0), pe = r(0), C = r(!1), e = r(K()), { loading: b, FINAL_DATASET: ge, manualLoading: j } = zt({
|
|
36
36
|
...vt(w),
|
|
37
37
|
FINAL_CONFIG: e,
|
|
38
38
|
prepareConfig: K,
|
|
@@ -68,7 +68,7 @@ const Bt = ["id"], Vt = ["xmlns", "viewBox"], Yt = ["width", "height"], Et = ["c
|
|
|
68
68
|
}
|
|
69
69
|
}
|
|
70
70
|
})
|
|
71
|
-
}), { userOptionsVisible:
|
|
71
|
+
}), { userOptionsVisible: q, setUserOptionsVisibility: me, keepUserOptionState: ye } = St({ config: e.value }), { svgRef: J } = Pt({ config: e.value.style.chart.title });
|
|
72
72
|
function K() {
|
|
73
73
|
const t = Ve({
|
|
74
74
|
userConfig: w.config,
|
|
@@ -83,7 +83,7 @@ const Bt = ["id"], Vt = ["xmlns", "viewBox"], Yt = ["width", "height"], Et = ["c
|
|
|
83
83
|
} : t;
|
|
84
84
|
}
|
|
85
85
|
X(() => w.config, (t) => {
|
|
86
|
-
b.value || (e.value = K()),
|
|
86
|
+
b.value || (e.value = K()), q.value = !e.value.userOptions.showOnChartHover, xe(), he.value += 1, fe.value += 1, pe.value += 1, m.value.showTable = e.value.table.show, m.value.showTooltip = e.value.style.chart.tooltip.show;
|
|
87
87
|
}, { deep: !0 });
|
|
88
88
|
const { isPrinting: be, isImaging: ke, generatePdf: we, generateImage: Ce } = It({
|
|
89
89
|
elementId: `vue-ui-onion_${S.value}`,
|
|
@@ -129,7 +129,7 @@ const Bt = ["id"], Vt = ["xmlns", "viewBox"], Yt = ["width", "height"], Et = ["c
|
|
|
129
129
|
componentName: "VueUiOnion",
|
|
130
130
|
type: "dataset",
|
|
131
131
|
debug: tt.value
|
|
132
|
-
}),
|
|
132
|
+
}), j.value = !0), Le(w.dataset) || (j.value = e.value.loading), e.value.responsive) {
|
|
133
133
|
const o = _t(() => {
|
|
134
134
|
Q && clearTimeout(Q), C.value = !0;
|
|
135
135
|
let { width: a, height: l } = At({
|
|
@@ -191,7 +191,7 @@ const Bt = ["id"], Vt = ["xmlns", "viewBox"], Yt = ["width", "height"], Et = ["c
|
|
|
191
191
|
};
|
|
192
192
|
}))), D = r(f.value), at = d(() => e.value.useStartAnimation), lt = r(null), ot = d(() => Math.max(...f.value.map((t) => t.percentage))), Z = r(!1);
|
|
193
193
|
X(() => f.value, Te, { immediate: !0, deep: !0 }), X(() => w.dataset, (t) => {
|
|
194
|
-
Array.isArray(t) && t.length > 0 && (
|
|
194
|
+
Array.isArray(t) && t.length > 0 && (j.value = !1);
|
|
195
195
|
}, { deep: !0 });
|
|
196
196
|
function Te() {
|
|
197
197
|
if (at.value && !Z.value && !b.value) {
|
|
@@ -316,7 +316,7 @@ const Bt = ["id"], Vt = ["xmlns", "viewBox"], Yt = ["width", "height"], Et = ["c
|
|
|
316
316
|
series: f.value,
|
|
317
317
|
config: e.value
|
|
318
318
|
})))
|
|
319
|
-
|
|
319
|
+
W.value = k({
|
|
320
320
|
seriesIndex: l,
|
|
321
321
|
datapoint: t,
|
|
322
322
|
series: f.value,
|
|
@@ -334,7 +334,7 @@ const Bt = ["id"], Vt = ["xmlns", "viewBox"], Yt = ["width", "height"], Et = ["c
|
|
|
334
334
|
r: e.value.style.chart.tooltip.roundingValue
|
|
335
335
|
}),
|
|
336
336
|
{ datapoint: t, seriesIndex: o }
|
|
337
|
-
) : ""}${le && oe ? ")" : ""}</div>`,
|
|
337
|
+
) : ""}${le && oe ? ")" : ""}</div>`, W.value = `<div>${v}</div>`;
|
|
338
338
|
}
|
|
339
339
|
}
|
|
340
340
|
function Fe() {
|
|
@@ -378,7 +378,7 @@ const Bt = ["id"], Vt = ["xmlns", "viewBox"], Yt = ["width", "height"], Et = ["c
|
|
|
378
378
|
onMouseenter: o[2] || (o[2] = () => s(me)(!0)),
|
|
379
379
|
onMouseleave: o[3] || (o[3] = () => s(me)(!1))
|
|
380
380
|
}, [
|
|
381
|
-
e.value.userOptions.buttons.annotator ? (u(), I(s(
|
|
381
|
+
e.value.userOptions.buttons.annotator ? (u(), I(s(We), {
|
|
382
382
|
key: 0,
|
|
383
383
|
svgRef: s(J),
|
|
384
384
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
@@ -413,7 +413,7 @@ const Bt = ["id"], Vt = ["xmlns", "viewBox"], Yt = ["width", "height"], Et = ["c
|
|
|
413
413
|
}
|
|
414
414
|
}, null, 8, ["config"]))
|
|
415
415
|
], 512)) : g("", !0),
|
|
416
|
-
e.value.userOptions.show && ue.value && (s(ye) || s(
|
|
416
|
+
e.value.userOptions.show && ue.value && (s(ye) || s(q)) ? (u(), I(s(qe), {
|
|
417
417
|
ref_key: "details",
|
|
418
418
|
ref: Ke,
|
|
419
419
|
key: `user_options${re.value}`,
|
|
@@ -445,7 +445,7 @@ const Bt = ["id"], Vt = ["xmlns", "viewBox"], Yt = ["width", "height"], Et = ["c
|
|
|
445
445
|
onToggleTooltip: Me,
|
|
446
446
|
onToggleAnnotator: ae,
|
|
447
447
|
style: A({
|
|
448
|
-
visibility: s(ye) ? s(
|
|
448
|
+
visibility: s(ye) ? s(q) ? "visible" : "hidden" : "visible"
|
|
449
449
|
})
|
|
450
450
|
}, ft({ _: 2 }, [
|
|
451
451
|
t.$slots.menuIcon ? {
|
|
@@ -596,7 +596,7 @@ const Bt = ["id"], Vt = ["xmlns", "viewBox"], Yt = ["width", "height"], Et = ["c
|
|
|
596
596
|
transition: C.value || s(b) ? "none" : "all 0.3s ease-in-out !important",
|
|
597
597
|
animation: C.value || s(b) ? "none" : "xyAnimation 0.5s ease-in"
|
|
598
598
|
})
|
|
599
|
-
}, null, 12,
|
|
599
|
+
}, null, 12, Wt))), 256))
|
|
600
600
|
], 8, Ht)) : g("", !0),
|
|
601
601
|
(u(!0), i(B, null, V($.value, (a, l) => (u(), i("circle", {
|
|
602
602
|
cx: c.value.centerX,
|
|
@@ -620,8 +620,8 @@ const Bt = ["id"], Vt = ["xmlns", "viewBox"], Yt = ["width", "height"], Et = ["c
|
|
|
620
620
|
}),
|
|
621
621
|
onMouseleave: (v) => Se({ datapoint: a }),
|
|
622
622
|
onClick: (v) => Ie({ datapoint: a })
|
|
623
|
-
}, null, 40,
|
|
624
|
-
e.value.style.chart.layout.labels.show ? (u(), i("g",
|
|
623
|
+
}, null, 40, jt))), 256)),
|
|
624
|
+
e.value.style.chart.layout.labels.show ? (u(), i("g", qt, [
|
|
625
625
|
(u(!0), i(B, null, V($.value, (a, l) => (u(), i("g", {
|
|
626
626
|
onMouseenter: (v) => Pe({
|
|
627
627
|
datapoint: a,
|
|
@@ -704,7 +704,7 @@ const Bt = ["id"], Vt = ["xmlns", "viewBox"], Yt = ["width", "height"], Et = ["c
|
|
|
704
704
|
}, [
|
|
705
705
|
h(t.$slots, "source", {}, void 0, !0)
|
|
706
706
|
], 512)) : g("", !0),
|
|
707
|
-
ze(s(
|
|
707
|
+
ze(s(je), {
|
|
708
708
|
show: m.value.showTooltip && H.value,
|
|
709
709
|
backgroundColor: e.value.style.chart.tooltip.backgroundColor,
|
|
710
710
|
color: e.value.style.chart.tooltip.color,
|
|
@@ -716,7 +716,7 @@ const Bt = ["id"], Vt = ["xmlns", "viewBox"], Yt = ["width", "height"], Et = ["c
|
|
|
716
716
|
position: e.value.style.chart.tooltip.position,
|
|
717
717
|
offsetY: e.value.style.chart.tooltip.offsetY,
|
|
718
718
|
parent: x.value,
|
|
719
|
-
content:
|
|
719
|
+
content: W.value,
|
|
720
720
|
isFullscreen: F.value,
|
|
721
721
|
isCustom: s(Be)(e.value.style.chart.tooltip.customFormat),
|
|
722
722
|
smooth: e.value.style.chart.tooltip.smooth,
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { defineAsyncComponent as D, computed as y, ref as d, toRefs as bt, watch as re, shallowRef as Be, onMounted as gt, onBeforeUnmount as xt, watchEffect as kt, createElementBlock as u, openBlock as n, unref as v, normalizeStyle as M, normalizeClass as V, createBlock as L, createCommentVNode as m, createElementVNode as E, createVNode as We, createSlots as wt, withCtx as w, renderSlot as b, normalizeProps as H, guardReactiveProps as B, Fragment as A, renderList as N, toDisplayString as W, createTextVNode as Ct } from "vue";
|
|
2
|
-
import { u as At, c as ce,
|
|
2
|
+
import { u as At, c as ce, t as $t, a as Tt, p as J, b as zt, o as Ue, f as Ve, g as Mt, d as Nt, e as Ft, D as _t, U as It, V as Lt, W as Pt, X as Ot, I as St, y as je, E as K, v as Rt, w as Dt, k as Ge, i as Xe, z as Et } from "./index-bTtbNszd.js";
|
|
3
3
|
import { t as Ye, u as Ht } from "./useResponsive-DfdjqQps.js";
|
|
4
|
-
import { u as Bt } from "./usePrinter-
|
|
5
|
-
import { u as Wt, B as Ut } from "./
|
|
6
|
-
import { u as qe } from "./useNestedProp-
|
|
4
|
+
import { u as Bt } from "./usePrinter-Byfy8pVl.js";
|
|
5
|
+
import { u as Wt, B as Ut } from "./useLoading-Bt5Doa8m.js";
|
|
6
|
+
import { u as qe } from "./useNestedProp-CYma7CyA.js";
|
|
7
7
|
import { u as Vt } from "./useUserOptionState-BIvW1Kz7.js";
|
|
8
8
|
import { u as jt } from "./useChartAccessibility-9icAAmYg.js";
|
|
9
9
|
import { u as Gt } from "./useTimeLabelCollider-CIsgDrl9.js";
|
|
10
|
-
import Xt from "./Title-
|
|
11
|
-
import Yt from "./Legend-
|
|
12
|
-
import { _ as qt } from "./Shape-
|
|
13
|
-
import Jt from "./img-
|
|
10
|
+
import Xt from "./Title-CPlHadE3.js";
|
|
11
|
+
import Yt from "./Legend-Bm0VbPfX.js";
|
|
12
|
+
import { _ as qt } from "./Shape-PFacVGG6.js";
|
|
13
|
+
import Jt from "./img-BUkzDAPW.js";
|
|
14
14
|
import { _ as Kt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
15
15
|
const Qt = ["id"], Zt = ["xmlns", "viewBox"], ea = ["x", "y", "width", "height"], ta = { style: { "pointer-events": "none" } }, aa = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], la = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], oa = { key: 0 }, sa = ["x", "y", "fill", "font-size", "font-weight"], na = ["fill", "font-size", "font-weight", "text-anchor", "transform"], ia = ["fill", "font-size", "font-weight", "text-anchor", "transform", "innerHTML"], ua = { key: 0 }, ra = ["x", "y", "font-size", "fill"], ca = ["width", "x", "y"], va = { style: { width: "100%" } }, da = ["x", "y", "fill", "font-weight", "font-size", "onMouseenter", "onMouseleave", "onClick"], ha = ["d", "stroke", "stroke-width", "onMouseenter", "onMouseleave", "onClick"], pa = ["d", "onMouseenter", "onMouseleave", "onClick"], ma = {
|
|
16
16
|
key: 4,
|
|
@@ -33,7 +33,7 @@ const Qt = ["id"], Zt = ["xmlns", "viewBox"], ea = ["x", "y", "width", "height"]
|
|
|
33
33
|
},
|
|
34
34
|
emits: ["selectLegend", "selectDatapoint"],
|
|
35
35
|
setup(Je, { expose: Ke, emit: Qe }) {
|
|
36
|
-
const Ze = D(() => import("./vue-ui-accordion-
|
|
36
|
+
const Ze = D(() => import("./vue-ui-accordion-CwsNjkyh.js")), et = D(() => import("./DataTable-DIRgYyMk.js")), tt = D(() => import("./PackageVersion-CmrjjMGu.js")), at = D(() => import("./PenAndPaper-CkxcaljP.js")), lt = D(() => import("./Tooltip-DfLg6pdN.js")), ot = D(() => import("./UserOptions-Cvao0wOJ.js")), { vue_ui_parallel_coordinate_plot: st } = At(), $ = Je, j = y({
|
|
37
37
|
get() {
|
|
38
38
|
return !!$.dataset && $.dataset.length;
|
|
39
39
|
},
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { defineAsyncComponent as P, computed as g, ref as y, watch as Ee, shallowRef as Ue, onMounted as bt, onBeforeUnmount as ft, createElementBlock as n, openBlock as s, unref as i, normalizeStyle as q, normalizeClass as T, createBlock as R, createCommentVNode as h, createElementVNode as d, createVNode as de, createSlots as pt, withCtx as m, renderSlot as x, normalizeProps as U, guardReactiveProps as D, Fragment as S, renderList as Y, toDisplayString as L, createTextVNode as gt, nextTick as mt } from "vue";
|
|
2
|
-
import { u as xt, c as De,
|
|
2
|
+
import { u as xt, c as De, a as $t, p as he, b as kt, o as Lt, f as G, d as wt, e as qt, Y as _t, k as F, i as V, X as St, s as oe, x as Ct, Z as zt, I as Tt, F as Xt, v as Wt, w as Yt, y as At, z as Mt } from "./index-bTtbNszd.js";
|
|
3
3
|
import { t as Nt, u as Ot } from "./useResponsive-DfdjqQps.js";
|
|
4
|
-
import { u as Ge } from "./useNestedProp-
|
|
5
|
-
import { u as Rt } from "./usePrinter-
|
|
4
|
+
import { u as Ge } from "./useNestedProp-CYma7CyA.js";
|
|
5
|
+
import { u as Rt } from "./usePrinter-Byfy8pVl.js";
|
|
6
6
|
import { u as Ft } from "./useUserOptionState-BIvW1Kz7.js";
|
|
7
7
|
import { u as Vt } from "./useChartAccessibility-9icAAmYg.js";
|
|
8
|
-
import Bt from "./Title-
|
|
9
|
-
import Pt from "./Legend-
|
|
10
|
-
import { _ as Qe } from "./Shape-
|
|
11
|
-
import Ht from "./img-
|
|
8
|
+
import Bt from "./Title-CPlHadE3.js";
|
|
9
|
+
import Pt from "./Legend-Bm0VbPfX.js";
|
|
10
|
+
import { _ as Qe } from "./Shape-PFacVGG6.js";
|
|
11
|
+
import Ht from "./img-BUkzDAPW.js";
|
|
12
12
|
import { _ as It } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
13
13
|
const Et = ["id"], Ut = ["xmlns", "viewBox", "id"], Dt = ["x", "y", "width", "height"], Gt = ["id"], Qt = ["stop-color"], Jt = ["stop-color"], jt = { key: 1 }, Zt = ["fill", "x", "y", "height", "width", "stroke-width", "stroke", "rx"], Kt = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], el = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], tl = { key: 2 }, ll = ["points", "fill"], al = ["points", "fill"], ul = ["points", "fill"], ol = ["points", "fill"], sl = { key: 3 }, rl = ["y", "fill", "font-size"], nl = ["x", "y", "fill", "font-size"], il = ["x", "y", "fill", "font-size"], vl = ["y", "fill", "font-size"], cl = { key: 4 }, dl = ["x", "y", "font-size", "fill"], hl = ["x", "y", "font-size", "fill"], yl = ["x", "y", "font-size", "fill"], bl = ["id", "font-size", "transform", "fill"], fl = ["id", "font-size", "transform", "fill"], pl = ["id", "font-size", "transform", "fill"], gl = { key: 5 }, ml = ["fill", "points"], xl = ["x", "y", "width", "height"], $l = ["x", "y", "width", "height"], kl = ["x", "y", "width", "height"], Ll = ["x", "y", "width", "height"], wl = {
|
|
14
14
|
key: 0,
|
|
@@ -42,7 +42,7 @@ const Et = ["id"], Ut = ["xmlns", "viewBox", "id"], Dt = ["x", "y", "width", "he
|
|
|
42
42
|
},
|
|
43
43
|
emits: ["selectPlot", "selectSide", "selectLegend"],
|
|
44
44
|
setup(Je, { expose: je, emit: Ze }) {
|
|
45
|
-
const Ke = P(() => import("./DataTable-
|
|
45
|
+
const Ke = P(() => import("./DataTable-DIRgYyMk.js")), et = P(() => import("./PenAndPaper-CkxcaljP.js")), tt = P(() => import("./vue-ui-accordion-CwsNjkyh.js")), lt = P(() => import("./vue-ui-skeleton--VFckr1-.js")), at = P(() => import("./Tooltip-DfLg6pdN.js")), ut = P(() => import("./UserOptions-Cvao0wOJ.js")), ot = P(() => import("./PackageVersion-CmrjjMGu.js")), { vue_ui_quadrant: st } = xt(), X = Je, K = g(() => !!X.dataset && X.dataset.length), z = y(De()), se = Ze, rt = y(null), ee = y(!1), re = y(""), ye = y(0), f = y(!1), A = y(null), be = y(null), fe = y(null), pe = y(null), ge = y(null), me = y(0), xe = y(0), $e = y(0), t = g({
|
|
46
46
|
get: () => qe(),
|
|
47
47
|
set: (l) => l
|
|
48
48
|
}), { userOptionsVisible: ne, setUserOptionsVisibility: ke, keepUserOptionState: Le } = Ft({ config: t.value }), { svgRef: we } = Vt({ config: t.value.style.chart.title });
|