vue-data-ui 3.16.5 → 3.17.0
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/README.md +64 -46
- package/dist/{PackageVersion-CvtT2-UH.js → PackageVersion-B3kmPxTR.js} +1 -1
- package/dist/{Slicer-DUycDH_N.js → Slicer-CIHwwuNR.js} +107 -110
- package/dist/SlicerPreview-BIvxyb5W.js +1484 -0
- package/dist/{Tooltip-Bf-kM3_A.js → Tooltip-C8KGyqQk.js} +19 -17
- package/dist/components/vue-ui-3d-bar.js +1 -1
- package/dist/components/vue-ui-accordion.js +1 -1
- package/dist/components/vue-ui-age-pyramid.js +1 -1
- package/dist/components/vue-ui-annotator.js +1 -1
- package/dist/components/vue-ui-bullet.js +1 -1
- package/dist/components/vue-ui-bump.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-digits.js +1 -1
- package/dist/components/vue-ui-donut-evolution.js +1 -1
- package/dist/components/vue-ui-donut.js +1 -1
- package/dist/components/vue-ui-dumbbell.js +1 -1
- package/dist/components/vue-ui-flow.js +1 -1
- package/dist/components/vue-ui-funnel.js +1 -1
- package/dist/components/vue-ui-galaxy.js +1 -1
- package/dist/components/vue-ui-gauge.js +1 -1
- package/dist/components/vue-ui-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-kpi.js +1 -1
- package/dist/components/vue-ui-mini-loader.js +1 -1
- package/dist/components/vue-ui-molecule.js +1 -1
- package/dist/components/vue-ui-mood-radar.js +1 -1
- package/dist/components/vue-ui-nested-donuts.js +1 -1
- package/dist/components/vue-ui-onion.js +1 -1
- package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
- package/dist/components/vue-ui-quadrant.js +1 -1
- package/dist/components/vue-ui-quick-chart.js +1 -1
- package/dist/components/vue-ui-radar.js +1 -1
- package/dist/components/vue-ui-rating.js +1 -1
- package/dist/components/vue-ui-relation-circle.js +1 -1
- package/dist/components/vue-ui-ridgeline.js +1 -1
- package/dist/components/vue-ui-rings.js +1 -1
- package/dist/components/vue-ui-scatter.js +1 -1
- package/dist/components/vue-ui-skeleton.js +1 -1
- package/dist/components/vue-ui-smiley.js +1 -1
- package/dist/components/vue-ui-spark-trend.js +1 -1
- package/dist/components/vue-ui-sparkbar.js +1 -1
- package/dist/components/vue-ui-sparkgauge.js +1 -1
- package/dist/components/vue-ui-sparkhistogram.js +1 -1
- package/dist/components/vue-ui-sparkline.js +1 -1
- package/dist/components/vue-ui-sparkstackbar.js +1 -1
- package/dist/components/vue-ui-stackbar.js +1 -1
- package/dist/components/vue-ui-stackline.js +1 -1
- package/dist/components/vue-ui-strip-plot.js +1 -1
- package/dist/components/vue-ui-table-heatmap.js +1 -1
- package/dist/components/vue-ui-table-sparkline.js +1 -1
- package/dist/components/vue-ui-table.js +1 -1
- package/dist/components/vue-ui-thermometer.js +1 -1
- package/dist/components/vue-ui-timer.js +1 -1
- package/dist/components/vue-ui-tiremarks.js +1 -1
- package/dist/components/vue-ui-treemap.js +1 -1
- package/dist/components/vue-ui-vertical-bar.js +1 -1
- package/dist/components/vue-ui-waffle.js +1 -1
- package/dist/components/vue-ui-wheel.js +1 -1
- package/dist/components/vue-ui-word-cloud.js +1 -1
- package/dist/components/vue-ui-world.js +1 -1
- package/dist/components/vue-ui-xy-canvas.js +1 -1
- package/dist/components/vue-ui-xy.js +1 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.ts +1 -1
- package/dist/{useConfig-CpJA0VZa.js → useConfig-ChRble71.js} +1 -0
- package/dist/{useObjectBindings-DToqZaRC.js → useObjectBindings-BVFCsss5.js} +1 -1
- package/dist/utils.js +1 -1
- package/dist/{vue-data-ui-XhJQD-ri.js → vue-data-ui-BX3I-ZQt.js} +67 -67
- package/dist/vue-data-ui.js +68 -68
- package/dist/{vue-ui-3d-bar-BhzRmNak.js → vue-ui-3d-bar-DsSxN6Xl.js} +2 -2
- package/dist/{vue-ui-accordion-BF4v32wv.js → vue-ui-accordion-CnDW2UQL.js} +1 -1
- package/dist/{vue-ui-age-pyramid-CZCn6OMX.js → vue-ui-age-pyramid-DgAJXx1F.js} +112 -109
- package/dist/{vue-ui-annotator-U961V1Kc.js → vue-ui-annotator-BA4hRkfX.js} +2 -2
- package/dist/{vue-ui-bullet-BRyBDt56.js → vue-ui-bullet-BCuT1zVr.js} +2 -2
- package/dist/{vue-ui-bump-Dulq2vNg.js → vue-ui-bump-BTnwgB5Q.js} +2 -2
- package/dist/{vue-ui-candlestick-BJD25FJV.js → vue-ui-candlestick-BMvM7WIc.js} +148 -145
- package/dist/{vue-ui-carousel-table-DCHtRFDV.js → vue-ui-carousel-table-DCtWIG49.js} +2 -2
- package/dist/{vue-ui-chestnut-46054xSO.js → vue-ui-chestnut-DJ0R3Aqx.js} +2 -2
- package/dist/{vue-ui-chord-CSdFVJx2.js → vue-ui-chord-BbWToSBq.js} +2 -2
- package/dist/{vue-ui-circle-pack-CmPyW4rp.js → vue-ui-circle-pack-CwuEfQPE.js} +117 -114
- package/dist/{vue-ui-cursor-QZjpAemm.js → vue-ui-cursor-C4MnK_CE.js} +2 -2
- package/dist/{vue-ui-dag-C051dx6c.js → vue-ui-dag-HKbeFOit.js} +2 -2
- package/dist/{vue-ui-dashboard-zCwCXCfe.js → vue-ui-dashboard-DTYz-idn.js} +65 -65
- package/dist/{vue-ui-digits-HPy7kRgm.js → vue-ui-digits-CrFH4BlD.js} +2 -2
- package/dist/{vue-ui-donut-DxOwX8nC.js → vue-ui-donut-B1C7vzFY.js} +100 -97
- package/dist/{vue-ui-donut-evolution-KD1WwwLS.js → vue-ui-donut-evolution-BUIQwZ-c.js} +3 -3
- package/dist/{vue-ui-dumbbell-0BJ1t72z.js → vue-ui-dumbbell-Bq-X5L24.js} +2 -2
- package/dist/{vue-ui-flow-lPRZK-_Q.js → vue-ui-flow-DUn9hp_J.js} +141 -138
- package/dist/{vue-ui-funnel-WJG6UU4c.js → vue-ui-funnel-CNF2ULOQ.js} +2 -2
- package/dist/{vue-ui-galaxy-Cnqgwc0G.js → vue-ui-galaxy-BzlU9OSU.js} +75 -72
- package/dist/{vue-ui-gauge-BXFwr3H7.js → vue-ui-gauge-aF_V6ynK.js} +2 -2
- package/dist/{vue-ui-geo-DeYdEiHT.js → vue-ui-geo-xaZvHjAP.js} +116 -113
- package/dist/{vue-ui-gizmo-C0-M2WoG.js → vue-ui-gizmo-BGvS_AHj.js} +2 -2
- package/dist/{vue-ui-heatmap-DctMvoRr.js → vue-ui-heatmap-B_BmpyVy.js} +191 -188
- package/dist/{vue-ui-history-plot-sLaCn8jd.js → vue-ui-history-plot-DsoLp3aL.js} +124 -121
- package/dist/{vue-ui-horizontal-bar-reisxCWX.js → vue-ui-horizontal-bar-JVjE88ZW.js} +218 -215
- package/dist/{vue-ui-kpi-z3S4DcoQ.js → vue-ui-kpi-B-v1zpd4.js} +2 -2
- package/dist/{vue-ui-mini-loader-DSQ9kcmW.js → vue-ui-mini-loader-CPfZsqWP.js} +1 -1
- package/dist/{vue-ui-molecule-CQEaLq9E.js → vue-ui-molecule-Di9_wsME.js} +61 -58
- package/dist/{vue-ui-mood-radar-BGIt_k-N.js → vue-ui-mood-radar-CetQpdnu.js} +2 -2
- package/dist/{vue-ui-nested-donuts-BxXAWrhM.js → vue-ui-nested-donuts-Y-UMjjYV.js} +131 -128
- package/dist/{vue-ui-onion-CMKIYAuh.js → vue-ui-onion-MM3QZLzF.js} +142 -139
- package/dist/{vue-ui-parallel-coordinate-plot-Tb8aJ91r.js → vue-ui-parallel-coordinate-plot-CcHmB0MQ.js} +91 -88
- package/dist/{vue-ui-quadrant-CLAqGLQH.js → vue-ui-quadrant-CQIMUggy.js} +58 -55
- package/dist/{vue-ui-quick-chart-BK2SOFv9.js → vue-ui-quick-chart-lwGufdDj.js} +235 -232
- package/dist/{vue-ui-radar-BY7vIWHL.js → vue-ui-radar-CS74L65M.js} +117 -114
- package/dist/{vue-ui-rating-hudM2QS0.js → vue-ui-rating-DiLLVHq3.js} +1 -1
- package/dist/{vue-ui-relation-circle-BlUbhTZ5.js → vue-ui-relation-circle-D3dO8RTC.js} +2 -2
- package/dist/{vue-ui-ridgeline-Bsfw_4y_.js → vue-ui-ridgeline-Dpvq9yp2.js} +2 -2
- package/dist/{vue-ui-rings-BaORhzZH.js → vue-ui-rings-D-45pPpZ.js} +122 -119
- package/dist/{vue-ui-scatter-D8afRw4d.js → vue-ui-scatter-BzCjfGB9.js} +121 -118
- package/dist/{vue-ui-skeleton-BE5ADLxq.js → vue-ui-skeleton-Dai-bZZw.js} +2 -2
- package/dist/{vue-ui-smiley-CQ_rGHFe.js → vue-ui-smiley-BioqmYwT.js} +1 -1
- package/dist/{vue-ui-spark-trend-C2QdubPf.js → vue-ui-spark-trend-DiC9V0VU.js} +2 -2
- package/dist/{vue-ui-sparkbar-BxP_TDR3.js → vue-ui-sparkbar-D6EsbW6u.js} +2 -2
- package/dist/{vue-ui-sparkgauge-CgHAoaeu.js → vue-ui-sparkgauge-BHDXZgJH.js} +2 -2
- package/dist/{vue-ui-sparkhistogram-0m7QAV93.js → vue-ui-sparkhistogram-DzuOjuNH.js} +2 -2
- package/dist/{vue-ui-sparkline-DNt9nHQ9.js → vue-ui-sparkline-B-zOqzrC.js} +2 -2
- package/dist/{vue-ui-sparkstackbar-RU8zQLfe.js → vue-ui-sparkstackbar-bqKzIKSg.js} +147 -144
- package/dist/{vue-ui-stackbar-C3qGXmTQ.js → vue-ui-stackbar-DPfxqQUG.js} +435 -424
- package/dist/{vue-ui-stackline-W24y7z12.js → vue-ui-stackline-Ctqe1OuF.js} +627 -609
- package/dist/{vue-ui-strip-plot--MWxAM0R.js → vue-ui-strip-plot-Dg2URhvc.js} +72 -69
- package/dist/{vue-ui-table-heatmap-DU7w6PrX.js → vue-ui-table-heatmap-Da6sqBlI.js} +1 -1
- package/dist/{vue-ui-table-sparkline-DKbkhX_x.js → vue-ui-table-sparkline-Bkv6Qz6V.js} +2 -2
- package/dist/{vue-ui-table-BtkypjfT.js → vue-ui-table-xrD-xqis.js} +3 -3
- package/dist/{vue-ui-thermometer-qaGYZUMd.js → vue-ui-thermometer-D7VVeA2i.js} +2 -2
- package/dist/{vue-ui-timer-CpQYSD-K.js → vue-ui-timer-D7XYgZfb.js} +2 -2
- package/dist/{vue-ui-tiremarks-CUiSLMlj.js → vue-ui-tiremarks-i6e8GTI9.js} +2 -2
- package/dist/{vue-ui-treemap-CMfWyA5N.js → vue-ui-treemap-D8Mbfeuc.js} +220 -217
- package/dist/{vue-ui-waffle-H02mH3Rc.js → vue-ui-waffle-7rVD530d.js} +123 -120
- package/dist/{vue-ui-wheel-agcFNYTs.js → vue-ui-wheel-HQNWtsvJ.js} +2 -2
- package/dist/{vue-ui-word-cloud-B0fNWUVr.js → vue-ui-word-cloud-DFAEbzUa.js} +159 -156
- package/dist/{vue-ui-world-B8mANOO8.js → vue-ui-world-YvmrdfIm.js} +86 -83
- package/dist/vue-ui-xy-canvas-CEaAQ_tr.js +1819 -0
- package/dist/{vue-ui-xy-DgyEEqnJ.js → vue-ui-xy-n4juEarQ.js} +402 -398
- package/package.json +1 -1
- package/dist/SlicerPreview-DTjwV0iY.js +0 -1372
- package/dist/vue-ui-xy-canvas-CaoWw3AU.js +0 -1810
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineAsyncComponent as M, computed as y, useSlots as w, ref as r, onMounted as $, watch as h, openBlock as u, createElementBlock as i, normalizeStyle as n, normalizeClass as v, renderSlot as s, createTextVNode as F, toDisplayString as N, createCommentVNode as R, createElementVNode as B, createVNode as L, unref as d, Fragment as V } from "vue";
|
|
2
2
|
import { u as _ } from "./useNestedProp-Bf5XFbs8.js";
|
|
3
3
|
import { j as E, k as I, l as O } from "./lib-DBptbyyI.js";
|
|
4
|
-
import { u as T } from "./useConfig-
|
|
4
|
+
import { u as T } from "./useConfig-ChRble71.js";
|
|
5
5
|
import { u as U } from "./usePrefersMotion-CUKm8_t8.js";
|
|
6
6
|
const j = ["aria-labelledby"], G = ["id"], P = ["aria-label"], W = {
|
|
7
7
|
__name: "vue-ui-kpi",
|
|
@@ -18,7 +18,7 @@ const j = ["aria-labelledby"], G = ["id"], P = ["aria-label"], W = {
|
|
|
18
18
|
}
|
|
19
19
|
},
|
|
20
20
|
setup(o) {
|
|
21
|
-
const D = M(() => import("./vue-ui-digits-
|
|
21
|
+
const D = M(() => import("./vue-ui-digits-CrFH4BlD.js")), { vue_ui_kpi: S } = T(), c = U(), l = o, e = y({
|
|
22
22
|
get: () => f(),
|
|
23
23
|
set: (a) => a
|
|
24
24
|
}), A = w(), x = y(() => e.value.debug), m = r(E());
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { useCssVars as h, computed as o, ref as f, openBlock as n, createElementBlock as u, unref as M, createElementVNode as t, normalizeStyle as l, createCommentVNode as a } from "vue";
|
|
2
2
|
import { u as m } from "./useNestedProp-Bf5XFbs8.js";
|
|
3
3
|
import { X as y } from "./lib-DBptbyyI.js";
|
|
4
|
-
import { u as L } from "./useConfig-
|
|
4
|
+
import { u as L } from "./useConfig-ChRble71.js";
|
|
5
5
|
import { _ as b } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
6
6
|
const B = ["xmlns", "viewBox"], x = { key: 0 }, $ = ["stroke"], w = ["stroke"], A = ["stroke"], N = { key: 1 }, O = ["stroke"], S = { key: 2 }, F = ["stroke"], I = {
|
|
7
7
|
__name: "vue-ui-mini-loader",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { useCssVars as St, defineAsyncComponent as m, computed as
|
|
1
|
+
import { useCssVars as St, defineAsyncComponent as m, computed as h, onMounted as It, ref as u, toRefs as Dt, watch as x, nextTick as Z, openBlock as d, createElementBlock as A, unref as a, normalizeStyle as E, normalizeClass as Le, createBlock as T, withCtx as i, renderSlot as r, normalizeProps as p, guardReactiveProps as f, createCommentVNode as k, createSlots as Be, createVNode as D, createElementVNode as _, Fragment as _t, renderList as Ft, resolveDynamicComponent as Nt, mergeProps as Lt, createTextVNode as Ue, toDisplayString as Ze } from "vue";
|
|
2
2
|
import { o as Bt, q as Ut, j as Ee, t as Re, m as Zt, p as ze, n as Et, ag as Rt, X as zt, x as Vt, A as Mt, s as Ve, a0 as Ht, a1 as Gt, T as xt, U as Wt } from "./lib-DBptbyyI.js";
|
|
3
|
-
import { u as jt } from "./useConfig-
|
|
3
|
+
import { u as jt } from "./useConfig-ChRble71.js";
|
|
4
4
|
import { u as Xt, B as Yt } from "./BaseScanner-BhhkKVoj.js";
|
|
5
5
|
import { u as qt } from "./usePrinter-CEpYU3r5.js";
|
|
6
6
|
import { u as Jt } from "./useSvgExport-ByUukOZt.js";
|
|
@@ -50,13 +50,13 @@ const so = ["id"], no = {
|
|
|
50
50
|
emits: ["selectNode", "copyAlt"],
|
|
51
51
|
setup(Me, { expose: He, emit: Ge }) {
|
|
52
52
|
St((t) => ({
|
|
53
|
-
|
|
53
|
+
v9bab8414: t.slicerColor
|
|
54
54
|
}));
|
|
55
|
-
const xe = m(() => import("./Title-BeMKE1cj.js")), We = m(() => import("./Tooltip-
|
|
55
|
+
const xe = m(() => import("./Title-BeMKE1cj.js")), We = m(() => import("./Tooltip-C8KGyqQk.js")), re = m(() => import("./BaseIcon-Cb3zzG6s.js")), je = m(() => import("./vue-ui-accordion-CnDW2UQL.js")), Xe = m(() => import("./DataTable-DT2kIdQ6.js")), Ye = m(() => import("./PenAndPaper-Ct3qJ4lA.js")), qe = m(() => import("./UserOptions-rW2fRf3V.js")), Je = m(() => import("./PackageVersion-B3kmPxTR.js")), Ke = m(() => import("./RecursiveLinks-BYh0tHDW.js")), Qe = m(() => import("./RecursiveLabels-BhQMS9Sm.js")), et = m(() => import("./RecursiveCircles-BE6GoMmo.js")), tt = m(() => import("./BaseDraggableDialog-CIb-iD9g.js")), { vue_ui_molecule: ot } = jt(), { isThemeValid: lt, warnInvalidTheme: at } = Kt(), w = Me, ie = Ge, ue = h(() => !!w.dataset && w.dataset.length);
|
|
56
56
|
It(() => {
|
|
57
57
|
ce();
|
|
58
58
|
});
|
|
59
|
-
const st =
|
|
59
|
+
const st = h(() => e.value.debug);
|
|
60
60
|
function ce() {
|
|
61
61
|
Bt(w.dataset) && Ut({
|
|
62
62
|
componentName: "VueUiMolecule",
|
|
@@ -64,7 +64,7 @@ const so = ["id"], no = {
|
|
|
64
64
|
debug: st.value
|
|
65
65
|
});
|
|
66
66
|
}
|
|
67
|
-
const
|
|
67
|
+
const W = u(Ee()), j = u(!1), R = u(""), $ = u(null), ve = u(0), de = u(0), pe = u(0), F = u(null), X = u(null), z = u(!1), V = u(!1), e = u(K()), P = h(() => e.value.userOptions.useCursorPointer), nt = h(() => Re({
|
|
68
68
|
defaultConfig: {
|
|
69
69
|
userOptions: { show: !1 },
|
|
70
70
|
table: { show: !1 },
|
|
@@ -77,10 +77,10 @@ const so = ["id"], no = {
|
|
|
77
77
|
}
|
|
78
78
|
},
|
|
79
79
|
userConfig: e.value.skeletonConfig ?? {}
|
|
80
|
-
})), { loading:
|
|
80
|
+
})), { loading: Y, FINAL_DATASET: q } = Xt({
|
|
81
81
|
...Dt(w),
|
|
82
82
|
FINAL_CONFIG: e,
|
|
83
|
-
prepareConfig:
|
|
83
|
+
prepareConfig: K,
|
|
84
84
|
skeletonDataset: w.config?.skeletonDataset ?? [
|
|
85
85
|
{
|
|
86
86
|
name: "_",
|
|
@@ -123,8 +123,8 @@ const so = ["id"], no = {
|
|
|
123
123
|
defaultConfig: e.value,
|
|
124
124
|
userConfig: nt.value
|
|
125
125
|
})
|
|
126
|
-
}), { userOptionsVisible:
|
|
127
|
-
function
|
|
126
|
+
}), { userOptionsVisible: J, setUserOptionsVisibility: fe, keepUserOptionState: he } = Qt({ config: e.value }), { svgRef: N } = eo({ config: e.value.style.chart.title });
|
|
127
|
+
function K() {
|
|
128
128
|
const t = ne({
|
|
129
129
|
userConfig: w.config,
|
|
130
130
|
defaultConfig: ot
|
|
@@ -144,26 +144,26 @@ const so = ["id"], no = {
|
|
|
144
144
|
customPalette: s.customPalette.length ? s.customPalette : Zt[l] || ze
|
|
145
145
|
};
|
|
146
146
|
}
|
|
147
|
-
|
|
148
|
-
e.value =
|
|
147
|
+
x(() => w.config, (t) => {
|
|
148
|
+
e.value = K(), J.value = !e.value.userOptions.showOnChartHover, ce(), de.value += 1, pe.value += 1, c.value.showTable = e.value.table.show, c.value.showTooltip = e.value.style.chart.tooltip.show, c.value.showZoom = e.value.style.chart.zoom.show;
|
|
149
149
|
}, { deep: !0 });
|
|
150
150
|
const me = u(0), rt = () => {
|
|
151
151
|
me.value += 1;
|
|
152
152
|
};
|
|
153
|
-
|
|
153
|
+
x([() => Y.value, () => q.value], async ([t]) => {
|
|
154
154
|
t || (await Z(), g.value = ye(), await Z(), rt(), await Z(), bt({ x: 0, y: 0, width: 400, height: 400 }), le(!1));
|
|
155
155
|
}, { flush: "post", deep: !1 });
|
|
156
|
-
const { isPrinting:
|
|
157
|
-
elementId: `cluster_${
|
|
156
|
+
const { isPrinting: Q, isImaging: ee, generatePdf: ge, generateImage: Ce } = qt({
|
|
157
|
+
elementId: `cluster_${W.value}`,
|
|
158
158
|
fileName: e.value.style.chart.title.text || "vue-ui-molecule",
|
|
159
159
|
options: e.value.userOptions.print
|
|
160
|
-
}), it =
|
|
160
|
+
}), it = h(() => e.value.userOptions.show && !e.value.style.chart.title.text), ut = h(() => Et(e.value.customPalette)), c = u({
|
|
161
161
|
showTable: e.value.table.show,
|
|
162
162
|
showDataLabels: !0,
|
|
163
163
|
showTooltip: e.value.style.chart.tooltip.show,
|
|
164
164
|
showZoom: e.value.style.chart.zoom.show
|
|
165
165
|
});
|
|
166
|
-
|
|
166
|
+
x(e, () => {
|
|
167
167
|
c.value = {
|
|
168
168
|
showTable: e.value.table.show,
|
|
169
169
|
showDataLabels: !0,
|
|
@@ -175,7 +175,7 @@ const so = ["id"], no = {
|
|
|
175
175
|
return Array.isArray(t) && t.length > 0 && t[0].nodes ? be(t[0].nodes, l + 1) : l;
|
|
176
176
|
}
|
|
177
177
|
function ye() {
|
|
178
|
-
const t = be(
|
|
178
|
+
const t = be(q.value);
|
|
179
179
|
let l = 100, o = l;
|
|
180
180
|
for (let s = 0; s < t; s += 1)
|
|
181
181
|
l /= 1, o += l;
|
|
@@ -227,12 +227,12 @@ const so = ["id"], no = {
|
|
|
227
227
|
s[n] = `gradient_${v}`;
|
|
228
228
|
}), s;
|
|
229
229
|
}
|
|
230
|
-
const vt =
|
|
231
|
-
const t = Rt(
|
|
230
|
+
const vt = h(() => ct(C.value)), C = h(() => {
|
|
231
|
+
const t = Rt(q.value);
|
|
232
232
|
return ke(t);
|
|
233
|
-
}),
|
|
233
|
+
}), M = u(null);
|
|
234
234
|
function dt(t) {
|
|
235
|
-
|
|
235
|
+
M.value = {
|
|
236
236
|
datapoint: t,
|
|
237
237
|
seriesIndex: -1,
|
|
238
238
|
series: C.value,
|
|
@@ -257,9 +257,9 @@ const so = ["id"], no = {
|
|
|
257
257
|
o += `<div style="display:flex;align-items:center;gap:3px"><div style="color:${t.color}">⬤</div><div>${t.name}</div></div>`, t.details && (o += `<div style="width:100%;border-top:1px solid ${e.value.style.chart.tooltip.borderColor};margin-top: 2px">${t.details}</div>`), R.value = `<div style="font-family:inherit">${o}</div>`;
|
|
258
258
|
}
|
|
259
259
|
}
|
|
260
|
-
const
|
|
260
|
+
const H = u(null), L = u(null), Ae = u(null);
|
|
261
261
|
function pt(t) {
|
|
262
|
-
Ae.value =
|
|
262
|
+
Ae.value = H.value, H.value = t, t ? e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: t, seriesIndex: -1 }) : e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: Ae.value || H.value, seriesIndex: -1 }), t ? (j.value = !0, dt(t), L.value = t.uid) : (j.value = !1, R.value = "", L.value = null);
|
|
263
263
|
}
|
|
264
264
|
function ft(t) {
|
|
265
265
|
const l = [];
|
|
@@ -276,7 +276,7 @@ const so = ["id"], no = {
|
|
|
276
276
|
}
|
|
277
277
|
return o(t), l;
|
|
278
278
|
}
|
|
279
|
-
const ht =
|
|
279
|
+
const ht = h(() => ft(C.value)), O = h(() => {
|
|
280
280
|
const t = [
|
|
281
281
|
e.value.table.translations.nodeName,
|
|
282
282
|
e.value.table.translations.details,
|
|
@@ -341,7 +341,7 @@ const so = ["id"], no = {
|
|
|
341
341
|
function oe() {
|
|
342
342
|
B.value = !B.value;
|
|
343
343
|
}
|
|
344
|
-
const gt =
|
|
344
|
+
const gt = h(() => !B.value && c.value.showZoom), { viewBox: G, resetZoom: le, isZoom: Ct, setInitialViewBox: bt } = lo(N, {
|
|
345
345
|
x: 0,
|
|
346
346
|
y: 0,
|
|
347
347
|
width: Math.max(10, g.value.width),
|
|
@@ -362,7 +362,7 @@ const so = ["id"], no = {
|
|
|
362
362
|
aspectRatio: s
|
|
363
363
|
};
|
|
364
364
|
}
|
|
365
|
-
const U =
|
|
365
|
+
const U = h(() => {
|
|
366
366
|
const t = e.value.table.useDialog && !e.value.table.show, l = c.value.showTable;
|
|
367
367
|
return {
|
|
368
368
|
component: t ? tt : je,
|
|
@@ -393,13 +393,13 @@ const so = ["id"], no = {
|
|
|
393
393
|
}
|
|
394
394
|
};
|
|
395
395
|
});
|
|
396
|
-
|
|
396
|
+
x(() => c.value.showTable, (t) => {
|
|
397
397
|
e.value.table.show || (t && e.value.table.useDialog && F.value ? F.value.open() : "close" in F.value && F.value.close());
|
|
398
398
|
});
|
|
399
399
|
function Se() {
|
|
400
|
-
c.value.showTable = !1,
|
|
400
|
+
c.value.showTable = !1, X.value && X.value.setTableIconState(!1);
|
|
401
401
|
}
|
|
402
|
-
const At =
|
|
402
|
+
const At = h(() => e.value.style.chart.backgroundColor), wt = h(() => e.value.style.chart.title), { exportSvg: $t, getSvg: Tt } = Jt({
|
|
403
403
|
svg: N,
|
|
404
404
|
title: wt,
|
|
405
405
|
backgroundColor: At
|
|
@@ -459,9 +459,9 @@ const so = ["id"], no = {
|
|
|
459
459
|
ref: $,
|
|
460
460
|
class: Le(`vue-data-ui-component vue-ui-molecule ${S.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
|
|
461
461
|
style: E(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor}`),
|
|
462
|
-
id: `cluster_${
|
|
462
|
+
id: `cluster_${W.value}`,
|
|
463
463
|
onMouseleave: l[2] || (l[2] = (o) => {
|
|
464
|
-
|
|
464
|
+
H.value = null, L.value = null, a(fe)(!1);
|
|
465
465
|
}),
|
|
466
466
|
onMouseenter: l[3] || (l[3] = () => a(fe)(!0))
|
|
467
467
|
}, [
|
|
@@ -478,19 +478,19 @@ const so = ["id"], no = {
|
|
|
478
478
|
r(t.$slots, "annotator-action-close", {}, void 0, !0)
|
|
479
479
|
]),
|
|
480
480
|
"annotator-action-color": i(({ color: o }) => [
|
|
481
|
-
r(t.$slots, "annotator-action-color", f(
|
|
481
|
+
r(t.$slots, "annotator-action-color", p(f({ color: o })), void 0, !0)
|
|
482
482
|
]),
|
|
483
483
|
"annotator-action-draw": i(({ mode: o }) => [
|
|
484
|
-
r(t.$slots, "annotator-action-draw", f(
|
|
484
|
+
r(t.$slots, "annotator-action-draw", p(f({ mode: o })), void 0, !0)
|
|
485
485
|
]),
|
|
486
486
|
"annotator-action-undo": i(({ disabled: o }) => [
|
|
487
|
-
r(t.$slots, "annotator-action-undo", f(
|
|
487
|
+
r(t.$slots, "annotator-action-undo", p(f({ disabled: o })), void 0, !0)
|
|
488
488
|
]),
|
|
489
489
|
"annotator-action-redo": i(({ disabled: o }) => [
|
|
490
|
-
r(t.$slots, "annotator-action-redo", f(
|
|
490
|
+
r(t.$slots, "annotator-action-redo", p(f({ disabled: o })), void 0, !0)
|
|
491
491
|
]),
|
|
492
492
|
"annotator-action-delete": i(({ disabled: o }) => [
|
|
493
|
-
r(t.$slots, "annotator-action-delete", f(
|
|
493
|
+
r(t.$slots, "annotator-action-delete", p(f({ disabled: o })), void 0, !0)
|
|
494
494
|
]),
|
|
495
495
|
_: 3
|
|
496
496
|
}, 8, ["svgRef", "backgroundColor", "color", "active", "isCursorPointer"])) : k("", !0),
|
|
@@ -510,15 +510,15 @@ const so = ["id"], no = {
|
|
|
510
510
|
}
|
|
511
511
|
}, null, 8, ["config"]))
|
|
512
512
|
])) : k("", !0),
|
|
513
|
-
e.value.userOptions.show && ue.value && (a(he) || a(
|
|
513
|
+
e.value.userOptions.show && ue.value && (a(he) || a(J)) ? (d(), T(a(qe), {
|
|
514
514
|
ref_key: "userOptionsRef",
|
|
515
|
-
ref:
|
|
515
|
+
ref: X,
|
|
516
516
|
key: `user_options_${ve.value}`,
|
|
517
517
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
518
518
|
color: e.value.style.chart.color,
|
|
519
|
-
isPrinting: a(
|
|
520
|
-
isImaging: a(
|
|
521
|
-
uid:
|
|
519
|
+
isPrinting: a(Q),
|
|
520
|
+
isImaging: a(ee),
|
|
521
|
+
uid: W.value,
|
|
522
522
|
hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.chart.tooltip.show,
|
|
523
523
|
hasPdf: e.value.userOptions.buttons.pdf,
|
|
524
524
|
hasXls: e.value.userOptions.buttons.csv,
|
|
@@ -552,13 +552,13 @@ const so = ["id"], no = {
|
|
|
552
552
|
onToggleZoom: Oe,
|
|
553
553
|
onCopyAlt: De,
|
|
554
554
|
style: E({
|
|
555
|
-
visibility: a(he) ? a(
|
|
555
|
+
visibility: a(he) ? a(J) ? "visible" : "hidden" : "visible"
|
|
556
556
|
})
|
|
557
557
|
}, Be({ _: 2 }, [
|
|
558
558
|
t.$slots.menuIcon ? {
|
|
559
559
|
name: "menuIcon",
|
|
560
560
|
fn: i(({ isOpen: o, color: s }) => [
|
|
561
|
-
r(t.$slots, "menuIcon", f(
|
|
561
|
+
r(t.$slots, "menuIcon", p(f({ isOpen: o, color: s })), void 0, !0)
|
|
562
562
|
]),
|
|
563
563
|
key: "0"
|
|
564
564
|
} : void 0,
|
|
@@ -614,28 +614,28 @@ const so = ["id"], no = {
|
|
|
614
614
|
t.$slots.optionFullscreen ? {
|
|
615
615
|
name: "optionFullscreen",
|
|
616
616
|
fn: i(({ toggleFullscreen: o, isFullscreen: s }) => [
|
|
617
|
-
r(t.$slots, "optionFullscreen", f(
|
|
617
|
+
r(t.$slots, "optionFullscreen", p(f({ toggleFullscreen: o, isFullscreen: s })), void 0, !0)
|
|
618
618
|
]),
|
|
619
619
|
key: "8"
|
|
620
620
|
} : void 0,
|
|
621
621
|
t.$slots.optionAnnotator ? {
|
|
622
622
|
name: "optionAnnotator",
|
|
623
623
|
fn: i(({ toggleAnnotator: o, isAnnotator: s }) => [
|
|
624
|
-
r(t.$slots, "optionAnnotator", f(
|
|
624
|
+
r(t.$slots, "optionAnnotator", p(f({ toggleAnnotator: o, isAnnotator: s })), void 0, !0)
|
|
625
625
|
]),
|
|
626
626
|
key: "9"
|
|
627
627
|
} : void 0,
|
|
628
628
|
t.$slots.optionZoom ? {
|
|
629
629
|
name: "optionZoom",
|
|
630
630
|
fn: i(({ toggleZoom: o, isZoomLocked: s }) => [
|
|
631
|
-
r(t.$slots, "optionZoom", f(
|
|
631
|
+
r(t.$slots, "optionZoom", p(f({ toggleZoom: o, isZoomLocked: s })), void 0, !0)
|
|
632
632
|
]),
|
|
633
633
|
key: "10"
|
|
634
634
|
} : void 0,
|
|
635
635
|
t.$slots.optionAltCopy ? {
|
|
636
636
|
name: "optionAltCopy",
|
|
637
637
|
fn: i(({ altCopy: o }) => [
|
|
638
|
-
r(t.$slots, "optionAltCopy", f(
|
|
638
|
+
r(t.$slots, "optionAltCopy", p(f({ altCopy: o })), void 0, !0)
|
|
639
639
|
]),
|
|
640
640
|
key: "11"
|
|
641
641
|
} : void 0
|
|
@@ -645,7 +645,7 @@ const so = ["id"], no = {
|
|
|
645
645
|
ref: N,
|
|
646
646
|
key: `svg_${me.value}`,
|
|
647
647
|
xmlns: a(zt),
|
|
648
|
-
viewBox: `${a(
|
|
648
|
+
viewBox: `${a(G).x} ${a(G).y} ${a(G).width} ${a(G).height}`,
|
|
649
649
|
class: Le({ "vue-data-ui-fullscreen--on": S.value, "vue-data-ui-fulscreen--off": !S.value }),
|
|
650
650
|
style: E(`overflow: hidden; background:transparent;color:${e.value.style.chart.color}`)
|
|
651
651
|
}, [
|
|
@@ -695,11 +695,11 @@ const so = ["id"], no = {
|
|
|
695
695
|
onHover: pt
|
|
696
696
|
}, {
|
|
697
697
|
node: i(({ node: o }) => [
|
|
698
|
-
r(t.$slots, "node", f(
|
|
698
|
+
r(t.$slots, "node", p(f({ node: o })), void 0, !0)
|
|
699
699
|
]),
|
|
700
700
|
_: 3
|
|
701
701
|
}, 8, ["dataset", "hoveredUid", "stroke", "strokeHovered"]),
|
|
702
|
-
c.value.showDataLabels && !a(
|
|
702
|
+
c.value.showDataLabels && !a(Y) ? (d(), T(a(Qe), {
|
|
703
703
|
key: 1,
|
|
704
704
|
dataset: C.value,
|
|
705
705
|
color: e.value.style.chart.color,
|
|
@@ -708,13 +708,13 @@ const so = ["id"], no = {
|
|
|
708
708
|
r(t.$slots, "svg", {
|
|
709
709
|
svg: {
|
|
710
710
|
...g.value,
|
|
711
|
-
isPrintingImg: a(
|
|
711
|
+
isPrintingImg: a(Q) | a(ee) | z.value,
|
|
712
712
|
isPrintingSvg: V.value
|
|
713
713
|
}
|
|
714
714
|
}, void 0, !0)
|
|
715
715
|
], 14, io)),
|
|
716
716
|
t.$slots.watermark ? (d(), A("div", fo, [
|
|
717
|
-
r(t.$slots, "watermark", f(
|
|
717
|
+
r(t.$slots, "watermark", p(f({ isPrinting: a(Q) || a(ee) || z.value || V.value })), void 0, !0)
|
|
718
718
|
])) : k("", !0),
|
|
719
719
|
a(Ct) ? (d(), A("div", ho, [
|
|
720
720
|
r(t.$slots, "reset-action", { reset: a(le) }, () => [
|
|
@@ -741,7 +741,7 @@ const so = ["id"], no = {
|
|
|
741
741
|
], 512)) : k("", !0),
|
|
742
742
|
D(a(We), {
|
|
743
743
|
teleportTo: e.value.style.chart.tooltip.teleportTo,
|
|
744
|
-
show: c.value.showTooltip &&
|
|
744
|
+
show: c.value.showTooltip && j.value,
|
|
745
745
|
backgroundColor: e.value.style.chart.tooltip.backgroundColor,
|
|
746
746
|
color: e.value.style.chart.tooltip.color,
|
|
747
747
|
borderRadius: e.value.style.chart.tooltip.borderRadius,
|
|
@@ -761,10 +761,13 @@ const so = ["id"], no = {
|
|
|
761
761
|
smoothSnapThreshold: e.value.style.chart.tooltip.smoothSnapThreshold
|
|
762
762
|
}, {
|
|
763
763
|
"tooltip-before": i(() => [
|
|
764
|
-
r(t.$slots, "tooltip-before", f(
|
|
764
|
+
r(t.$slots, "tooltip-before", p(f({ ...M.value })), void 0, !0)
|
|
765
|
+
]),
|
|
766
|
+
tooltip: i(() => [
|
|
767
|
+
r(t.$slots, "tooltip", p(f({ ...M.value })), void 0, !0)
|
|
765
768
|
]),
|
|
766
769
|
"tooltip-after": i(() => [
|
|
767
|
-
r(t.$slots, "tooltip-after", f(
|
|
770
|
+
r(t.$slots, "tooltip-after", p(f({ ...M.value })), void 0, !0)
|
|
768
771
|
]),
|
|
769
772
|
_: 3
|
|
770
773
|
}, 8, ["teleportTo", "show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom", "smooth", "backdropFilter", "smoothForce", "smoothSnapThreshold"]),
|
|
@@ -825,11 +828,11 @@ const so = ["id"], no = {
|
|
|
825
828
|
} : void 0
|
|
826
829
|
]), 1040)) : k("", !0),
|
|
827
830
|
r(t.$slots, "skeleton", {}, () => [
|
|
828
|
-
a(
|
|
831
|
+
a(Y) ? (d(), T(Yt, { key: 0 })) : k("", !0)
|
|
829
832
|
], !0)
|
|
830
833
|
], 46, so));
|
|
831
834
|
}
|
|
832
|
-
}, No = /* @__PURE__ */ ao(Co, [["__scopeId", "data-v-
|
|
835
|
+
}, No = /* @__PURE__ */ ao(Co, [["__scopeId", "data-v-bb408b4e"]]);
|
|
833
836
|
export {
|
|
834
837
|
No as default
|
|
835
838
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineAsyncComponent as N, ref as i, computed as d, toRefs as Mt, onMounted as Nt, watch as Be, openBlock as u, createElementBlock as m, normalizeStyle as B, normalizeClass as Ee, createElementVNode as n, toDisplayString as E, createBlock as k, createCommentVNode as f, unref as l, withCtx as y, renderSlot as v, normalizeProps as C, guardReactiveProps as w, createVNode as te, createSlots as Re, Fragment as Ve, renderList as Ke, Teleport as Lt, resolveDynamicComponent as Dt, mergeProps as It, createTextVNode as Ue, nextTick as fe } from "vue";
|
|
2
2
|
import { j as Ft, t as je, o as Bt, q as We, A as Et, k as he, l as R, X as Rt, u as T, v as Vt, ah as Kt, a0 as Ut, a1 as jt } from "./lib-DBptbyyI.js";
|
|
3
3
|
import { t as Wt, u as zt } from "./useResponsive-DfdjqQps.js";
|
|
4
|
-
import { u as Gt } from "./useConfig-
|
|
4
|
+
import { u as Gt } from "./useConfig-ChRble71.js";
|
|
5
5
|
import { u as Ht, B as Xt } from "./BaseScanner-BhhkKVoj.js";
|
|
6
6
|
import { u as qt } from "./usePrinter-CEpYU3r5.js";
|
|
7
7
|
import { u as Yt } from "./useSvgExport-ByUukOZt.js";
|
|
@@ -41,7 +41,7 @@ const so = ["id"], ro = ["id"], uo = ["id"], io = { style: { position: "relative
|
|
|
41
41
|
},
|
|
42
42
|
emits: ["copyAlt"],
|
|
43
43
|
setup(ze, { expose: Ge, emit: He }) {
|
|
44
|
-
const L = N(() => import("./BaseIcon-Cb3zzG6s.js")), Xe = N(() => import("./vue-ui-accordion-
|
|
44
|
+
const L = N(() => import("./BaseIcon-Cb3zzG6s.js")), Xe = N(() => import("./vue-ui-accordion-CnDW2UQL.js")), qe = N(() => import("./DataTable-DT2kIdQ6.js")), Ye = N(() => import("./PenAndPaper-Ct3qJ4lA.js")), Je = N(() => import("./UserOptions-rW2fRf3V.js")), Qe = N(() => import("./PackageVersion-B3kmPxTR.js")), Ze = N(() => import("./BaseDraggableDialog-CIb-iD9g.js")), { vue_ui_mood_radar: et } = Gt(), { isThemeValid: tt, warnInvalidTheme: ot } = Jt(), $ = ze, at = He, b = i(Ft()), A = i(null), p = i(null), pe = i(null), lt = i(0), nt = i(0), me = i(0), be = i(null), ke = i(null), V = i(null), Y = i(null), Ce = i(null), we = i(!1), K = i(null), oe = i(null), J = i(!1), Q = i(!1), O = i(null), ae = i(!1), $e = d(() => !!$.dataset && Object.keys($.dataset).length), e = i(se()), D = d(() => e.value.userOptions.useCursorPointer), st = d(() => je({
|
|
45
45
|
defaultConfig: {
|
|
46
46
|
userOptions: { show: !1 },
|
|
47
47
|
table: { show: !1 },
|