vue-data-ui 3.0.0-next.47 → 3.0.0-next.49
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-BHgPVuF5.js → Arrow-DotTzDzE.js} +1 -1
- package/dist/{BaseDraggableDialog-CHKA2DkB.js → BaseDraggableDialog-BPs3KOCk.js} +2 -2
- package/dist/{BaseIcon-CVvqI_Vz.js → BaseIcon-B4lxhw9o.js} +1 -1
- package/dist/{ColorPicker-Dsb6xLiB.js → ColorPicker-2EO8-zhQ.js} +2 -2
- package/dist/{DataTable-Cu4ONs-C.js → DataTable-CVnNcUM4.js} +2 -2
- package/dist/{Legend-BFdpVM3f.js → Legend-BlVtnIFw.js} +2 -2
- package/dist/{NonSvgPenAndPaper-Bu810bZ_.js → NonSvgPenAndPaper-07syJcgZ.js} +3 -3
- package/dist/{PackageVersion-Dj1nIbYu.js → PackageVersion-Cg4_GtJf.js} +1 -1
- package/dist/{PenAndPaper-C6CBX4Sw.js → PenAndPaper-Cz9cyN0p.js} +3 -3
- package/dist/{Shape-BYDrMsk2.js → Shape-BV7FCMRW.js} +1 -1
- package/dist/{Slicer-a2s9l8L1.js → Slicer-B_KcnJc3.js} +2 -2
- package/dist/{SparkTooltip-KMLWgEAl.js → SparkTooltip-BEClvQnh.js} +1 -1
- package/dist/{Title-cYv28OdE.js → Title-BFyRC6GM.js} +1 -1
- package/dist/{Tooltip-pVlR-1jt.js → Tooltip-CAF7J60u.js} +1 -1
- package/dist/{UserOptions-BI-GdWdR.js → UserOptions-D3-mjgYs.js} +2 -2
- package/dist/{dom-to-png-Bzu62hX8.js → dom-to-png-kBhe3ibE.js} +1 -1
- package/dist/{img-Ckro3NYj.js → img-C5BY-RpJ.js} +1 -1
- package/dist/{index-CZvYLNd2.js → index-D6eUCgEP.js} +34 -9
- package/dist/{pdf-D9PBRUEG.js → pdf-Dj4tVKzE.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +32 -18
- package/dist/types/vue-data-ui.d.ts +32 -18
- package/dist/useAutoSizeLabelsInsideViewbox-CnajDz5R.js +41 -0
- package/dist/{useNestedProp-UUiB4gNW.js → useNestedProp-BApHoInw.js} +1 -1
- package/dist/{usePrinter-xp6x8667.js → usePrinter-B_35JREm.js} +2 -2
- package/dist/{vue-data-ui-DDKJZmyJ.js → vue-data-ui-DbOmFNxn.js} +64 -64
- package/dist/vue-data-ui.js +1 -1
- package/dist/{vue-ui-3d-bar-BqSQlty4.js → vue-ui-3d-bar-BWl2wDpv.js} +6 -6
- package/dist/{vue-ui-accordion-CJtprJZE.js → vue-ui-accordion-BZiwwf95.js} +3 -3
- package/dist/{vue-ui-age-pyramid-Coomx370.js → vue-ui-age-pyramid-C9Uwu6sz.js} +6 -6
- package/dist/{vue-ui-annotator-B10lhcjh.js → vue-ui-annotator-D-S2Pa6d.js} +2 -2
- package/dist/{vue-ui-bullet-CNZ_aq4R.js → vue-ui-bullet-CmItGyRx.js} +7 -7
- package/dist/{vue-ui-candlestick-DM4fbKYW.js → vue-ui-candlestick-8-jyu0C7.js} +7 -7
- package/dist/{vue-ui-carousel-table-D1DepNH9.js → vue-ui-carousel-table-bpuq5ZXs.js} +4 -4
- package/dist/{vue-ui-chestnut-DWukJ4lH.js → vue-ui-chestnut-CWdwyp7F.js} +5 -5
- package/dist/{vue-ui-chord-z6UwiTE4.js → vue-ui-chord-BGNBeAMc.js} +8 -8
- package/dist/{vue-ui-circle-pack-CVmc5ACN.js → vue-ui-circle-pack-CWHbNqER.js} +6 -6
- package/dist/{vue-ui-cursor-J8G71ncU.js → vue-ui-cursor-DU-sUJqm.js} +2 -2
- package/dist/{vue-ui-dashboard-Cnc_NX23.js → vue-ui-dashboard-DPnqiFZt.js} +62 -62
- package/dist/{vue-ui-digits-B0Ck4kpp.js → vue-ui-digits-Bk75Ph_N.js} +2 -2
- package/dist/{vue-ui-donut-Dwj53WCt.js → vue-ui-donut-DlJ164Ho.js} +8 -8
- package/dist/{vue-ui-donut-evolution-EWzabDbY.js → vue-ui-donut-evolution-Bn6tNIhD.js} +8 -8
- package/dist/{vue-ui-dumbbell-DxCYAzk0.js → vue-ui-dumbbell-Co0dhIlX.js} +7 -7
- package/dist/{vue-ui-flow-DXKJIrIE.js → vue-ui-flow-C5nPJMht.js} +7 -7
- package/dist/{vue-ui-funnel-Cj84UcRt.js → vue-ui-funnel-oyFttR44.js} +6 -6
- package/dist/{vue-ui-galaxy-BgswPvfl.js → vue-ui-galaxy-DQzS2e8f.js} +5 -5
- package/dist/vue-ui-gauge-DXaspDjM.js +791 -0
- package/dist/{vue-ui-gizmo-9zMdj0XL.js → vue-ui-gizmo-Ce1BJaCv.js} +3 -3
- package/dist/{vue-ui-heatmap-SQy7SlRv.js → vue-ui-heatmap-DyylSc9H.js} +47 -47
- package/dist/{vue-ui-history-plot-BLr3cDMF.js → vue-ui-history-plot-n4RiiZru.js} +7 -7
- package/dist/{vue-ui-kpi-B6ZjLnIp.js → vue-ui-kpi-86f0lpbv.js} +3 -3
- package/dist/{vue-ui-mini-loader-Cea2H0vU.js → vue-ui-mini-loader-Bhf43HYu.js} +2 -2
- package/dist/{vue-ui-molecule-CSFYPlaG.js → vue-ui-molecule-BPiowxmT.js} +17 -17
- package/dist/{vue-ui-mood-radar-CN__8UZK.js → vue-ui-mood-radar-C2XTA7zS.js} +7 -7
- package/dist/{vue-ui-nested-donuts-CB6YMcdq.js → vue-ui-nested-donuts-DLUDg8Gk.js} +9 -9
- package/dist/vue-ui-onion-CsZcgkcy.js +776 -0
- package/dist/{vue-ui-parallel-coordinate-plot-D9bjwDOd.js → vue-ui-parallel-coordinate-plot-lebyjyDa.js} +8 -8
- package/dist/{vue-ui-quadrant-Kwctvtob.js → vue-ui-quadrant-CzBI0nnL.js} +8 -8
- package/dist/{vue-ui-quick-chart-Bn5aNviA.js → vue-ui-quick-chart-Crr9LZ1B.js} +6 -6
- package/dist/{vue-ui-radar-ZBMHkVaV.js → vue-ui-radar-7lxwJ59B.js} +7 -7
- package/dist/{vue-ui-rating-C9kcqLH5.js → vue-ui-rating-DDb0GWHH.js} +2 -2
- package/dist/{vue-ui-relation-circle-uE7VllfK.js → vue-ui-relation-circle-Kxkxkh-1.js} +6 -6
- package/dist/{vue-ui-ridgeline-BpYT8aSl.js → vue-ui-ridgeline-DYOtEei6.js} +8 -8
- package/dist/{vue-ui-rings-DCTW_aDf.js → vue-ui-rings-Cdxl4tbG.js} +8 -8
- package/dist/{vue-ui-scatter-C8U7JJVH.js → vue-ui-scatter-CyncadlL.js} +8 -8
- package/dist/{vue-ui-skeleton-CcuLFdSr.js → vue-ui-skeleton-BsGAx6EO.js} +3 -3
- package/dist/{vue-ui-smiley-BJnu6nQA.js → vue-ui-smiley-BSRMXP0_.js} +2 -2
- package/dist/{vue-ui-spark-trend-Bf0ZxwmM.js → vue-ui-spark-trend-8jFykYcD.js} +3 -3
- package/dist/{vue-ui-sparkbar-CryzO3ek.js → vue-ui-sparkbar-Sn9cp8uT.js} +3 -3
- package/dist/{vue-ui-sparkgauge-D8QdTrpS.js → vue-ui-sparkgauge-DLVjSoWV.js} +12 -12
- package/dist/{vue-ui-sparkhistogram-CDW1BBIe.js → vue-ui-sparkhistogram-CMtj3d70.js} +4 -4
- package/dist/{vue-ui-sparkline-CEdAQDrl.js → vue-ui-sparkline-PdA7SxHY.js} +3 -3
- package/dist/{vue-ui-sparkstackbar-D9vdEPYT.js → vue-ui-sparkstackbar-BJsTLD0S.js} +3 -3
- package/dist/{vue-ui-stackbar-GZldxkz6.js → vue-ui-stackbar-CAeqsmt2.js} +9 -9
- package/dist/{vue-ui-strip-plot-Zat2zDLv.js → vue-ui-strip-plot-DA8EXkjU.js} +7 -7
- package/dist/{vue-ui-table-BfdG3UsG.js → vue-ui-table-BPKr_mKl.js} +3 -3
- package/dist/{vue-ui-table-heatmap-EStrNR7J.js → vue-ui-table-heatmap-DN2k0MYk.js} +19 -19
- package/dist/{vue-ui-table-sparkline--1EBEEAj.js → vue-ui-table-sparkline-5l6bCUhT.js} +4 -4
- package/dist/{vue-ui-thermometer-D0wus6Kr.js → vue-ui-thermometer-BOD9V8DL.js} +6 -6
- package/dist/{vue-ui-timer-D8lencSe.js → vue-ui-timer-57aaKsPi.js} +5 -5
- package/dist/vue-ui-tiremarks-BU-F4ucd.js +406 -0
- package/dist/{vue-ui-treemap-yuliJD7V.js → vue-ui-treemap-Bn5hZXkA.js} +8 -8
- package/dist/{vue-ui-vertical-bar-Dyfg-IjL.js → vue-ui-vertical-bar-Cnw3jql2.js} +9 -9
- package/dist/{vue-ui-waffle-vpUG24j8.js → vue-ui-waffle-BURt826b.js} +8 -8
- package/dist/{vue-ui-wheel-DiqAjHS6.js → vue-ui-wheel-LgKxBqPV.js} +6 -6
- package/dist/{vue-ui-word-cloud-BI6HLypL.js → vue-ui-word-cloud-C4vbIC9H.js} +6 -6
- package/dist/{vue-ui-world-DojcWljK.js → vue-ui-world-BcHGc5CX.js} +6 -6
- package/dist/{vue-ui-xy-gEEYQHX4.js → vue-ui-xy-DMmZMjpX.js} +9 -9
- package/dist/{vue-ui-xy-canvas-BXYWA5oG.js → vue-ui-xy-canvas-FTVpx_gZ.js} +8 -8
- package/package.json +1 -1
- package/dist/vue-ui-gauge-BuOviUss.js +0 -812
- package/dist/vue-ui-onion-DJRxsxuq.js +0 -703
- package/dist/vue-ui-tiremarks-CFPbV8d_.js +0 -358
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineAsyncComponent as z, ref as G, useSlots as L, onMounted as _, computed as c, watch as N, createElementBlock as s, openBlock as a, normalizeStyle as $, createVNode as F, createCommentVNode as n, unref as l, createElementVNode as t, Fragment as p, toDisplayString as y } from "vue";
|
|
2
|
-
import { u as V, c as B, e as P, i as k, f as m } from "./index-
|
|
3
|
-
import { u as U } from "./useNestedProp-
|
|
2
|
+
import { u as V, c as B, e as P, i as k, f as m } from "./index-D6eUCgEP.js";
|
|
3
|
+
import { u as U } from "./useNestedProp-BApHoInw.js";
|
|
4
4
|
const D = ["viewBox", "width"], I = { key: 0 }, M = ["id"], S = ["stop-color"], A = ["stop-color"], E = ["stroke"], O = ["stroke"], j = ["width", "fill"], T = ["fill"], q = { key: 0 }, H = ["id"], J = ["stroke"], K = ["stroke", "stroke-dasharray", "stroke-dashoffset"], Q = ["filter"], R = ["stroke", "stroke-dasharray", "stroke-dashoffset"], W = ["fill"], ee = {
|
|
5
5
|
__name: "vue-ui-gizmo",
|
|
6
6
|
props: {
|
|
@@ -16,7 +16,7 @@ const D = ["viewBox", "width"], I = { key: 0 }, M = ["id"], S = ["stop-color"],
|
|
|
16
16
|
}
|
|
17
17
|
},
|
|
18
18
|
setup(f) {
|
|
19
|
-
const w = z(() => import("./PackageVersion-
|
|
19
|
+
const w = z(() => import("./PackageVersion-Cg4_GtJf.js")), { vue_ui_gizmo: x } = V(), o = f, u = G(B()), C = L();
|
|
20
20
|
_(() => {
|
|
21
21
|
h();
|
|
22
22
|
}), _(() => {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { useCssVars as Bt, defineAsyncComponent as ne, computed as g, ref as c, shallowRef as nt, toRefs as Ut, watch as Re, onBeforeUnmount as Fe, onMounted as Yt, watchEffect as Ne, reactive as rt, createElementBlock as n, openBlock as u, normalizeStyle as k, normalizeClass as re, createBlock as ve, createCommentVNode as p, createElementVNode as h, createVNode as He, unref as i, createSlots as Gt, withCtx as O, renderSlot as T, normalizeProps as Z, guardReactiveProps as ee, Fragment as L, renderList as R, withDirectives as vt, createTextVNode as ct, toDisplayString as z, vShow as Wt, withKeys as jt, nextTick as qt } from "vue";
|
|
2
|
-
import { u as Kt, c as Xe, v as
|
|
3
|
-
import { u as ht } from "./useNestedProp-
|
|
4
|
-
import { u as ul } from "./usePrinter-
|
|
2
|
+
import { u as Kt, c as Xe, v as Jt, a as Qt, C as Zt, o as dt, e as yt, P as ce, g as el, X as tl, F as xe, i as E, f as H, w as D, q as ll, r as al, y as ol, z as sl } from "./index-D6eUCgEP.js";
|
|
3
|
+
import { u as ht } from "./useNestedProp-BApHoInw.js";
|
|
4
|
+
import { u as ul } from "./usePrinter-B_35JREm.js";
|
|
5
5
|
import { u as il } from "./useUserOptionState-BIvW1Kz7.js";
|
|
6
6
|
import { u as nl } from "./useChartAccessibility-9icAAmYg.js";
|
|
7
|
-
import rl from "./vue-ui-accordion-
|
|
8
|
-
import vl from "./Title-
|
|
9
|
-
import cl from "./img-
|
|
7
|
+
import rl from "./vue-ui-accordion-BZiwwf95.js";
|
|
8
|
+
import vl from "./Title-BFyRC6GM.js";
|
|
9
|
+
import cl from "./img-C5BY-RpJ.js";
|
|
10
10
|
import { t as we, u as dl } from "./useResponsive-DfdjqQps.js";
|
|
11
11
|
import { u as ft } from "./useTimeLabelCollider-CIsgDrl9.js";
|
|
12
12
|
import { u as pt } from "./useTimeLabels-DkzmKfZn.js";
|
|
@@ -27,7 +27,7 @@ function gt(b, {
|
|
|
27
27
|
minFontSize: ye,
|
|
28
28
|
index: $,
|
|
29
29
|
reportRotation: te,
|
|
30
|
-
reportHide:
|
|
30
|
+
reportHide: P,
|
|
31
31
|
rotateAll: ke,
|
|
32
32
|
hideAll: C
|
|
33
33
|
}) {
|
|
@@ -36,10 +36,10 @@ function gt(b, {
|
|
|
36
36
|
b.setAttribute("font-size", Y);
|
|
37
37
|
const W = b.getComputedTextLength();
|
|
38
38
|
if (W <= X)
|
|
39
|
-
te($, !1),
|
|
39
|
+
te($, !1), P($, !1);
|
|
40
40
|
else {
|
|
41
41
|
const w = Math.floor(Y * X / W);
|
|
42
|
-
w >= ye ? (b.setAttribute("font-size", w), te($, !1),
|
|
42
|
+
w >= ye ? (b.setAttribute("font-size", w), te($, !1), P($, !1)) : (te($, !0), P($, !1), le = !0);
|
|
43
43
|
}
|
|
44
44
|
if (ke && (le = !0), le) {
|
|
45
45
|
b.setAttribute("font-size", Y);
|
|
@@ -47,10 +47,10 @@ function gt(b, {
|
|
|
47
47
|
b.setAttribute("transform", `rotate(-90 ${Ae} ${ae})`);
|
|
48
48
|
const j = b.getBBox().width;
|
|
49
49
|
if (j <= de)
|
|
50
|
-
|
|
50
|
+
P($, !1);
|
|
51
51
|
else {
|
|
52
52
|
const oe = Math.floor(Y * de / j);
|
|
53
|
-
oe >= ye ? (b.setAttribute("font-size", oe),
|
|
53
|
+
oe >= ye ? (b.setAttribute("font-size", oe), P($, !1)) : (G = !0, P($, !0));
|
|
54
54
|
}
|
|
55
55
|
}
|
|
56
56
|
(C || G) && b.setAttribute("visibility", "hidden");
|
|
@@ -58,7 +58,7 @@ function gt(b, {
|
|
|
58
58
|
const gl = ["id"], bl = ["xmlns", "viewBox"], ml = ["x", "y", "width", "height"], xl = ["x", "y", "height", "width", "fill", "stroke", "stroke-width"], wl = ["x", "y", "height", "width", "fill", "stroke", "stroke-width"], kl = ["x", "y", "width", "height", "fill", "stroke", "stroke-width"], Al = ["x", "y", "width", "height", "fill", "stroke", "stroke-width", "onMouseover", "onMouseout", "onClick"], Ll = ["font-size", "font-weight", "fill", "x", "y"], Cl = ["x", "y", "width", "height", "fill", "stroke", "stroke-width"], Tl = ["x", "y", "width", "height", "fill", "stroke", "stroke-width"], _l = ["font-size", "fill", "x", "y", "font-weight"], zl = ["font-size", "fill", "x", "y", "font-weight"], Sl = ["text-anchor", "font-size", "fill", "font-weight", "transform"], $l = ["text-anchor", "font-size", "fill", "font-weight", "transform"], Ml = { key: 6 }, Ol = ["x", "y", "width", "height", "stroke", "stroke-width"], Rl = { class: "vue-ui-heatmap-legend-gauge-right" }, Fl = ["data-value"], Nl = { class: "vue-ui-heatmap-gauge-indicator-value" }, Hl = {
|
|
59
59
|
key: 4,
|
|
60
60
|
class: "vue-data-ui-watermark"
|
|
61
|
-
}, Xl = { class: "vue-ui-data-table" },
|
|
61
|
+
}, Xl = { class: "vue-ui-data-table" }, Pl = { key: 0 }, Il = ["data-cell"], Vl = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, El = ["data-cell"], Dl = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Bl = {
|
|
62
62
|
__name: "vue-ui-heatmap",
|
|
63
63
|
props: {
|
|
64
64
|
config: {
|
|
@@ -79,14 +79,14 @@ const gl = ["id"], bl = ["xmlns", "viewBox"], ml = ["x", "y", "width", "height"]
|
|
|
79
79
|
Bt((t) => ({
|
|
80
80
|
ae23f74c: t.tdo
|
|
81
81
|
}));
|
|
82
|
-
const Y = ne(() => import("./BaseIcon-
|
|
82
|
+
const Y = ne(() => import("./BaseIcon-B4lxhw9o.js")), ye = ne(() => import("./PackageVersion-Cg4_GtJf.js")), $ = ne(() => import("./PenAndPaper-Cz9cyN0p.js")), te = ne(() => import("./Tooltip-CAF7J60u.js")), P = ne(() => import("./UserOptions-D3-mjgYs.js")), { vue_ui_heatmap: ke } = Kt(), C = b, le = de, G = g({
|
|
83
83
|
get() {
|
|
84
84
|
return !!C.dataset && C.dataset.length;
|
|
85
85
|
},
|
|
86
86
|
set(t) {
|
|
87
87
|
return t;
|
|
88
88
|
}
|
|
89
|
-
}), W = c(Xe()), w = c(null), Ae = c(null), ae = c(!1), j = c(""), oe = c(void 0), se = c(null),
|
|
89
|
+
}), W = c(Xe()), w = c(null), Ae = c(null), ae = c(!1), j = c(""), oe = c(void 0), se = c(null), Pe = c(0), Le = c(null), Ie = c(!1), Ve = c(0), bt = c(null), Ee = c(null), De = c(null), mt = c(null), Be = c(null), xt = c(null), Ce = c(null), Te = c(null), wt = c(null), Ue = c(null), q = nt(null), e = c(Se());
|
|
90
90
|
function kt() {
|
|
91
91
|
const t = Array(7).fill("_"), a = [], o = 14, s = t.length;
|
|
92
92
|
for (let d = 0; d < s; d += 1) {
|
|
@@ -105,7 +105,7 @@ const gl = ["id"], bl = ["xmlns", "viewBox"], ml = ["x", "y", "width", "height"]
|
|
|
105
105
|
FINAL_CONFIG: e,
|
|
106
106
|
prepareConfig: Se,
|
|
107
107
|
skeletonDataset: kt(),
|
|
108
|
-
skeletonConfig:
|
|
108
|
+
skeletonConfig: Jt({
|
|
109
109
|
defaultConfig: e.value,
|
|
110
110
|
userConfig: {
|
|
111
111
|
table: { show: !1 },
|
|
@@ -142,7 +142,7 @@ const gl = ["id"], bl = ["xmlns", "viewBox"], ml = ["x", "y", "width", "height"]
|
|
|
142
142
|
let a = {};
|
|
143
143
|
return t.theme ? a = {
|
|
144
144
|
...ht({
|
|
145
|
-
userConfig:
|
|
145
|
+
userConfig: Qt.vue_ui_heatmap[t.theme] || C.config,
|
|
146
146
|
defaultConfig: t
|
|
147
147
|
})
|
|
148
148
|
} : a = t, C.config && Zt(C.config, "style.layout.dataLabels.xAxis.showOnlyAtModulo") ? a.style.layout.dataLabels.xAxis.showOnlyAtModulo = C.config.style.layout.dataLabels.xAxis.showOnlyAtModulo : a.style.layout.dataLabels.xAxis.showOnlyAtModulo = null, a;
|
|
@@ -152,7 +152,7 @@ const gl = ["id"], bl = ["xmlns", "viewBox"], ml = ["x", "y", "width", "height"]
|
|
|
152
152
|
}, { deep: !0 }), Re(() => C.dataset, (t) => {
|
|
153
153
|
Array.isArray(t) && t.length > 0 && (_e.value = !1), $e();
|
|
154
154
|
}, { deep: !0 });
|
|
155
|
-
const { isPrinting: je, isImaging: qe, generatePdf: Ke, generateImage:
|
|
155
|
+
const { isPrinting: je, isImaging: qe, generatePdf: Ke, generateImage: Je } = ul({
|
|
156
156
|
elementId: `heatmap__${W.value}`,
|
|
157
157
|
fileName: e.value.style.title.text || "vue-ui-heatmap",
|
|
158
158
|
options: e.value.userOptions.print
|
|
@@ -170,19 +170,19 @@ const gl = ["id"], bl = ["xmlns", "viewBox"], ml = ["x", "y", "width", "height"]
|
|
|
170
170
|
function Tt() {
|
|
171
171
|
K.value && K.value.disconnect(), K.value = new ResizeObserver((t) => {
|
|
172
172
|
t.forEach((a) => {
|
|
173
|
-
|
|
173
|
+
Ie.value = a.contentRect.width < Ct.value;
|
|
174
174
|
});
|
|
175
175
|
}), Le.value && K.value.observe(Le.value);
|
|
176
176
|
}
|
|
177
177
|
Fe(() => {
|
|
178
178
|
K.value && K.value.disconnect();
|
|
179
179
|
});
|
|
180
|
-
const
|
|
180
|
+
const I = c(null), Qe = g(() => !!e.value.debug);
|
|
181
181
|
function $e() {
|
|
182
182
|
if (dt(C.dataset) && (yt({
|
|
183
183
|
componentName: "VueUiHeatmap",
|
|
184
184
|
type: "dataset",
|
|
185
|
-
debug:
|
|
185
|
+
debug: Qe.value
|
|
186
186
|
}), G.value = !1, _e.value = !0), dt(C.dataset) || (_e.value = e.value.loading), e.value.responsive) {
|
|
187
187
|
const t = we(() => {
|
|
188
188
|
const { width: a, height: o } = dl({
|
|
@@ -197,12 +197,12 @@ const gl = ["id"], bl = ["xmlns", "viewBox"], ml = ["x", "y", "width", "height"]
|
|
|
197
197
|
fe.value = a, pe.value = o;
|
|
198
198
|
});
|
|
199
199
|
});
|
|
200
|
-
|
|
200
|
+
I.value && (q.value && I.value.unobserve(q.value), I.value.disconnect()), I.value = new ResizeObserver(t), q.value = w.value.parentNode, I.value.observe(q.value);
|
|
201
201
|
}
|
|
202
202
|
Tt();
|
|
203
203
|
}
|
|
204
204
|
Fe(() => {
|
|
205
|
-
|
|
205
|
+
I.value && (q.value && I.value.unobserve(q.value), I.value.disconnect());
|
|
206
206
|
}), Yt(() => {
|
|
207
207
|
$e();
|
|
208
208
|
});
|
|
@@ -220,8 +220,8 @@ const gl = ["id"], bl = ["xmlns", "viewBox"], ml = ["x", "y", "width", "height"]
|
|
|
220
220
|
});
|
|
221
221
|
o.observe(a), t(() => o.disconnect());
|
|
222
222
|
});
|
|
223
|
-
const
|
|
224
|
-
|
|
223
|
+
const J = c(0), zt = we((t) => {
|
|
224
|
+
J.value = t;
|
|
225
225
|
}, 100);
|
|
226
226
|
Ne((t) => {
|
|
227
227
|
const a = Be.value;
|
|
@@ -242,7 +242,7 @@ const gl = ["id"], bl = ["xmlns", "viewBox"], ml = ["x", "y", "width", "height"]
|
|
|
242
242
|
});
|
|
243
243
|
o.observe(a), t(() => o.disconnect());
|
|
244
244
|
}), Fe(() => {
|
|
245
|
-
ue.value = 0,
|
|
245
|
+
ue.value = 0, J.value = 0, ge.value = 0;
|
|
246
246
|
});
|
|
247
247
|
const r = g(() => Math.min(_.value.height, _.value.width) / 1e3 * e.value.style.layout.cells.spacing), l = g(() => {
|
|
248
248
|
let t = 0;
|
|
@@ -250,7 +250,7 @@ const gl = ["id"], bl = ["xmlns", "viewBox"], ml = ["x", "y", "width", "height"]
|
|
|
250
250
|
const a = e.value.style.layout.padding, o = e.value.style.layout.dataLabels.xAxis.fontSize / 3, s = e.value.style.layout.dataLabels.xAxis.fontSize / 2, d = _.value.height - a.top - a.bottom - ue.value - o, v = _.value.width / 60, x = {
|
|
251
251
|
x: r.value * F.value,
|
|
252
252
|
y: r.value * ((m.value || []).length + 1)
|
|
253
|
-
}, N = _.value.width - a.left - a.right - x.x - v * 2 - 2 - t -
|
|
253
|
+
}, N = _.value.width - a.left - a.right - x.x - v * 2 - 2 - t - J.value, y = d - v - x.y - ge.value - s - e.value.style.layout.cells.columnTotal.value.offsetY, A = {
|
|
254
254
|
width: Math.max(3, N / F.value),
|
|
255
255
|
height: Math.max(3, y / (m.value.length ?? 1))
|
|
256
256
|
};
|
|
@@ -259,7 +259,7 @@ const gl = ["id"], bl = ["xmlns", "viewBox"], ml = ["x", "y", "width", "height"]
|
|
|
259
259
|
topLabelsHeight: ue.value,
|
|
260
260
|
sumCellXHeight: v,
|
|
261
261
|
height: y,
|
|
262
|
-
left: a.left +
|
|
262
|
+
left: a.left + J.value + v / 2,
|
|
263
263
|
right: a.right - t,
|
|
264
264
|
bottom: _.value.height - a.bottom - ge.value,
|
|
265
265
|
width: N,
|
|
@@ -315,7 +315,7 @@ const gl = ["id"], bl = ["xmlns", "viewBox"], ml = ["x", "y", "width", "height"]
|
|
|
315
315
|
type: "datasetSerieAttribute",
|
|
316
316
|
property: "values",
|
|
317
317
|
index: a,
|
|
318
|
-
debug:
|
|
318
|
+
debug: Qe.value
|
|
319
319
|
});
|
|
320
320
|
});
|
|
321
321
|
}), m.value.map((t, a) => ({
|
|
@@ -382,7 +382,7 @@ const gl = ["id"], bl = ["xmlns", "viewBox"], ml = ["x", "y", "width", "height"]
|
|
|
382
382
|
function Xt({ datapoint: t, seriesIndex: a }) {
|
|
383
383
|
e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: t, seriesIndex: a }), ae.value = !1, oe.value = void 0, M.value = null, se.value = null;
|
|
384
384
|
}
|
|
385
|
-
function
|
|
385
|
+
function Pt(t) {
|
|
386
386
|
return E(
|
|
387
387
|
e.value.style.layout.cells.value.formatter,
|
|
388
388
|
f.value.yTotals[t].total,
|
|
@@ -395,7 +395,7 @@ const gl = ["id"], bl = ["xmlns", "viewBox"], ml = ["x", "y", "width", "height"]
|
|
|
395
395
|
{ datapoint: f.value.yTotals[t], rowIndex: t }
|
|
396
396
|
);
|
|
397
397
|
}
|
|
398
|
-
function
|
|
398
|
+
function It(t) {
|
|
399
399
|
return E(
|
|
400
400
|
e.value.style.layout.cells.value.formatter,
|
|
401
401
|
f.value.xTotals[t].total,
|
|
@@ -427,9 +427,9 @@ const gl = ["id"], bl = ["xmlns", "viewBox"], ml = ["x", "y", "width", "height"]
|
|
|
427
427
|
t ? t(d) : al({ csvContent: d, title: e.value.style.title.text || "vue-ui-heatmap" });
|
|
428
428
|
});
|
|
429
429
|
}
|
|
430
|
-
const
|
|
430
|
+
const Q = c(!1);
|
|
431
431
|
function at(t) {
|
|
432
|
-
|
|
432
|
+
Q.value = t, Pe.value += 1;
|
|
433
433
|
}
|
|
434
434
|
function ot() {
|
|
435
435
|
S.value.showTable = !S.value.showTable;
|
|
@@ -492,7 +492,7 @@ const gl = ["id"], bl = ["xmlns", "viewBox"], ml = ["x", "y", "width", "height"]
|
|
|
492
492
|
getImage: Dt,
|
|
493
493
|
generatePdf: Ke,
|
|
494
494
|
generateCsv: lt,
|
|
495
|
-
generateImage:
|
|
495
|
+
generateImage: Je,
|
|
496
496
|
toggleTable: ot,
|
|
497
497
|
toggleTooltip: st,
|
|
498
498
|
toggleAnnotator: Me,
|
|
@@ -500,7 +500,7 @@ const gl = ["id"], bl = ["xmlns", "viewBox"], ml = ["x", "y", "width", "height"]
|
|
|
500
500
|
}), (t, a) => (u(), n("div", {
|
|
501
501
|
ref_key: "heatmapChart",
|
|
502
502
|
ref: w,
|
|
503
|
-
class: re(`vue-ui-heatmap ${
|
|
503
|
+
class: re(`vue-ui-heatmap ${Q.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
|
|
504
504
|
style: k(`font-family:${e.value.style.fontFamily};width:100%;${e.value.responsive ? "height: 100%;" : ""} text-align:center;background:${e.value.style.backgroundColor}`),
|
|
505
505
|
id: `heatmap__${W.value}`,
|
|
506
506
|
onMouseenter: a[2] || (a[2] = () => We(!0)),
|
|
@@ -541,10 +541,10 @@ const gl = ["id"], bl = ["xmlns", "viewBox"], ml = ["x", "y", "width", "height"]
|
|
|
541
541
|
}
|
|
542
542
|
}, null, 8, ["config"]))
|
|
543
543
|
], 512)) : p("", !0),
|
|
544
|
-
e.value.userOptions.show && G.value && (i(Ye) || i(ze)) ? (u(), ve(i(
|
|
544
|
+
e.value.userOptions.show && G.value && (i(Ye) || i(ze)) ? (u(), ve(i(P), {
|
|
545
545
|
ref_key: "details",
|
|
546
546
|
ref: Ae,
|
|
547
|
-
key: `user_options_${
|
|
547
|
+
key: `user_options_${Pe.value}`,
|
|
548
548
|
backgroundColor: e.value.style.backgroundColor,
|
|
549
549
|
color: e.value.style.color,
|
|
550
550
|
isImaging: i(qe),
|
|
@@ -556,7 +556,7 @@ const gl = ["id"], bl = ["xmlns", "viewBox"], ml = ["x", "y", "width", "height"]
|
|
|
556
556
|
hasXls: e.value.userOptions.buttons.csv,
|
|
557
557
|
hasTable: e.value.userOptions.buttons.table,
|
|
558
558
|
hasFullscreen: e.value.userOptions.buttons.fullscreen,
|
|
559
|
-
isFullscreen:
|
|
559
|
+
isFullscreen: Q.value,
|
|
560
560
|
isTooltip: S.value.showTooltip,
|
|
561
561
|
titles: { ...e.value.userOptions.buttonTitles },
|
|
562
562
|
chartElement: w.value,
|
|
@@ -568,7 +568,7 @@ const gl = ["id"], bl = ["xmlns", "viewBox"], ml = ["x", "y", "width", "height"]
|
|
|
568
568
|
onToggleFullscreen: at,
|
|
569
569
|
onGeneratePdf: i(Ke),
|
|
570
570
|
onGenerateCsv: lt,
|
|
571
|
-
onGenerateImage: i(
|
|
571
|
+
onGenerateImage: i(Je),
|
|
572
572
|
onToggleTable: ot,
|
|
573
573
|
onToggleTooltip: st,
|
|
574
574
|
onToggleAnnotator: Me,
|
|
@@ -643,7 +643,7 @@ const gl = ["id"], bl = ["xmlns", "viewBox"], ml = ["x", "y", "width", "height"]
|
|
|
643
643
|
ref_key: "svgRef",
|
|
644
644
|
ref: Ge,
|
|
645
645
|
xmlns: i(tl),
|
|
646
|
-
class: re({ "vue-data-ui-fullscreen--on":
|
|
646
|
+
class: re({ "vue-data-ui-fullscreen--on": Q.value, "vue-data-ui-fulscreen--off": !Q.value }),
|
|
647
647
|
viewBox: `0 0 ${_.value.width} ${_.value.height}`,
|
|
648
648
|
width: "100%",
|
|
649
649
|
style: k(`overflow: visible; background:transparent;color:${e.value.style.color}`),
|
|
@@ -788,7 +788,7 @@ const gl = ["id"], bl = ["xmlns", "viewBox"], ml = ["x", "y", "width", "height"]
|
|
|
788
788
|
class: "vue-ui-heatmap-row-name",
|
|
789
789
|
"font-size": e.value.style.layout.dataLabels.yAxis.fontSize,
|
|
790
790
|
fill: e.value.style.layout.dataLabels.yAxis.color,
|
|
791
|
-
x:
|
|
791
|
+
x: J.value,
|
|
792
792
|
y: l.value.top + l.value.cellSize.height * s + l.value.cellSize.height / 2 + e.value.style.layout.dataLabels.yAxis.fontSize / 3 + e.value.style.layout.dataLabels.yAxis.offsetY - (e.value.style.layout.cells.rowTotal.value.show ? e.value.style.layout.dataLabels.yAxis.fontSize / 1.5 : 0),
|
|
793
793
|
"text-anchor": "end",
|
|
794
794
|
"font-weight": e.value.style.layout.dataLabels.yAxis.bold ? "bold" : "normal"
|
|
@@ -798,11 +798,11 @@ const gl = ["id"], bl = ["xmlns", "viewBox"], ml = ["x", "y", "width", "height"]
|
|
|
798
798
|
class: "vue-ui-heatmap-row-total",
|
|
799
799
|
"font-size": e.value.style.layout.dataLabels.yAxis.fontSize,
|
|
800
800
|
fill: e.value.style.layout.dataLabels.yAxis.color,
|
|
801
|
-
x:
|
|
801
|
+
x: J.value,
|
|
802
802
|
y: l.value.top + l.value.cellSize.height * s + l.value.cellSize.height / 2 + e.value.style.layout.dataLabels.yAxis.fontSize + e.value.style.layout.dataLabels.yAxis.offsetY,
|
|
803
803
|
"text-anchor": "end",
|
|
804
804
|
"font-weight": e.value.style.layout.dataLabels.yAxis.bold ? "bold" : "normal"
|
|
805
|
-
}, z(
|
|
805
|
+
}, z(Pt(s)), 9, zl)) : p("", !0)
|
|
806
806
|
], 64))), 256))
|
|
807
807
|
], 512)) : p("", !0),
|
|
808
808
|
e.value.style.layout.dataLabels.xAxis.show ? (u(), n("g", {
|
|
@@ -834,7 +834,7 @@ const gl = ["id"], bl = ["xmlns", "viewBox"], ml = ["x", "y", "width", "height"]
|
|
|
834
834
|
fill: e.value.style.layout.dataLabels.xAxis.color,
|
|
835
835
|
"font-weight": e.value.style.layout.dataLabels.xAxis.bold ? "bold" : "normal",
|
|
836
836
|
transform: `translate(${l.value.left + l.value.cellSize.width / 2 + l.value.width / f.value.xLabels.length * s + e.value.style.layout.dataLabels.xAxis.offsetX + e.value.style.layout.cells.columnTotal.value.offsetX + l.value.sumCellXHeight}, ${l.value.bottom + e.value.style.layout.dataLabels.xAxis.fontSize / 2}), rotate(${e.value.style.layout.cells.columnTotal.value.rotation})`
|
|
837
|
-
}, z(
|
|
837
|
+
}, z(It(s)), 9, $l))), 256))
|
|
838
838
|
], 512)) : p("", !0),
|
|
839
839
|
se.value ? (u(), n("g", Ml, [
|
|
840
840
|
h("rect", {
|
|
@@ -968,7 +968,7 @@ const gl = ["id"], bl = ["xmlns", "viewBox"], ml = ["x", "y", "width", "height"]
|
|
|
968
968
|
offsetY: e.value.style.tooltip.offsetY,
|
|
969
969
|
parent: w.value,
|
|
970
970
|
content: j.value,
|
|
971
|
-
isFullscreen:
|
|
971
|
+
isFullscreen: Q.value,
|
|
972
972
|
isCustom: e.value.style.tooltip.customFormat && typeof e.value.style.tooltip.customFormat == "function",
|
|
973
973
|
smooth: e.value.style.tooltip.smooth,
|
|
974
974
|
backdropFilter: e.value.style.tooltip.backdropFilter
|
|
@@ -1005,7 +1005,7 @@ const gl = ["id"], bl = ["xmlns", "viewBox"], ml = ["x", "y", "width", "height"]
|
|
|
1005
1005
|
}, [
|
|
1006
1006
|
h("div", {
|
|
1007
1007
|
style: "width:100%;overflow-x:auto;padding-top:36px;position:relative",
|
|
1008
|
-
class: re({ "vue-ui-responsive":
|
|
1008
|
+
class: re({ "vue-ui-responsive": Ie.value })
|
|
1009
1009
|
}, [
|
|
1010
1010
|
h("div", {
|
|
1011
1011
|
role: "button",
|
|
@@ -1025,7 +1025,7 @@ const gl = ["id"], bl = ["xmlns", "viewBox"], ml = ["x", "y", "width", "height"]
|
|
|
1025
1025
|
style: k(`backgroundColor:${e.value.table.th.backgroundColor};color:${e.value.table.th.color};outline:${e.value.table.th.outline}`)
|
|
1026
1026
|
}, [
|
|
1027
1027
|
ct(z(e.value.style.title.text) + " ", 1),
|
|
1028
|
-
e.value.style.title.subtitle.text ? (u(), n("span",
|
|
1028
|
+
e.value.style.title.subtitle.text ? (u(), n("span", Pl, z(e.value.style.title.subtitle.text), 1)) : p("", !0)
|
|
1029
1029
|
], 4),
|
|
1030
1030
|
h("thead", null, [
|
|
1031
1031
|
h("tr", {
|
|
@@ -1053,7 +1053,7 @@ const gl = ["id"], bl = ["xmlns", "viewBox"], ml = ["x", "y", "width", "height"]
|
|
|
1053
1053
|
style: k(`outline:${e.value.table.td.outline}`)
|
|
1054
1054
|
}, [
|
|
1055
1055
|
h("div", Vl, z(o), 1)
|
|
1056
|
-
], 12,
|
|
1056
|
+
], 12, Il),
|
|
1057
1057
|
(u(!0), n(L, null, R(b.dataset, (d, v) => (u(), n("td", {
|
|
1058
1058
|
class: "vue-ui-data-table__tbody__td",
|
|
1059
1059
|
"data-cell": b.dataset[v].name,
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { defineAsyncComponent as X, ref as v, shallowRef as Fe, computed as d, onMounted as kt, onBeforeUnmount as wt, toRefs as At, watch as ie, watchEffect as Ct, createElementBlock as r, openBlock as o, unref as u, normalizeStyle as _, normalizeClass as O, renderSlot as p, createBlock as I, createCommentVNode as h, createElementVNode as M, createVNode as Xe, createSlots as _t, withCtx as m, normalizeProps as R, guardReactiveProps as Y, Fragment as g, renderList as b, toDisplayString as z, createTextVNode as Lt, nextTick as $t } from "vue";
|
|
2
|
-
import { u as St, c as Re, o as Ye, e as De, g as Tt, v as Mt, b as zt, d as Nt, p as Z, D as Be, i as D, f as B, X as Ot, l as It, h as Pt, I as Ft, F as Xt, E as P, t as Rt, a as Yt, C as J, q as Dt, r as Bt, y as Et } from "./index-
|
|
2
|
+
import { u as St, c as Re, o as Ye, e as De, g as Tt, v as Mt, b as zt, d as Nt, p as Z, D as Be, i as D, f as B, X as Ot, l as It, h as Pt, I as Ft, F as Xt, E as P, t as Rt, a as Yt, C as J, q as Dt, r as Bt, y as Et } from "./index-D6eUCgEP.js";
|
|
3
3
|
import { t as Ee, u as Ht } from "./useResponsive-DfdjqQps.js";
|
|
4
4
|
import { u as Wt, B as jt } from "./BaseScanner-DIK2NTdp.js";
|
|
5
|
-
import { u as Ut } from "./usePrinter-
|
|
6
|
-
import { u as He } from "./useNestedProp-
|
|
5
|
+
import { u as Ut } from "./usePrinter-B_35JREm.js";
|
|
6
|
+
import { u as He } from "./useNestedProp-BApHoInw.js";
|
|
7
7
|
import { u as Gt } from "./useUserOptionState-BIvW1Kz7.js";
|
|
8
8
|
import { u as Vt } from "./useChartAccessibility-9icAAmYg.js";
|
|
9
9
|
import { u as qt } from "./useTimeLabelCollider-CIsgDrl9.js";
|
|
10
|
-
import Zt from "./Legend-
|
|
11
|
-
import Jt from "./Title-
|
|
12
|
-
import Kt from "./img-
|
|
10
|
+
import Zt from "./Legend-BlVtnIFw.js";
|
|
11
|
+
import Jt from "./Title-BFyRC6GM.js";
|
|
12
|
+
import Kt from "./img-C5BY-RpJ.js";
|
|
13
13
|
import { _ as Qt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
14
14
|
const el = ["id"], tl = ["xmlns", "viewBox"], ll = ["x", "y", "width", "height"], al = { key: 1 }, sl = ["id"], ol = ["stop-color"], rl = ["stop-color"], nl = ["stop-color"], il = { key: 2 }, ul = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], cl = { key: 3 }, vl = ["stroke", "stroke-width", "x1", "x2", "y1", "y2"], hl = ["x", "y", "fill", "font-size"], yl = ["transform", "font-size", "fill", "font-weight"], dl = { key: 6 }, fl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], xl = { key: 7 }, pl = ["stroke", "stroke-width", "x1", "x2", "y1", "y2"], ml = ["transform", "fill", "font-size", "text-anchor"], gl = ["x", "y", "font-size", "fill", "font-weight"], bl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], kl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], wl = ["d", "stroke", "stroke-width"], Al = ["d", "stroke", "stroke-width"], Cl = ["cx", "cy", "fill", "r"], _l = ["cx", "cy", "fill", "r", "stroke", "stroke-width"], Ll = { key: 1 }, $l = ["x", "y", "font-size", "fill", "font-weight"], Sl = ["x", "y", "font-size", "fill", "font-weight", "innerHTML"], Tl = { key: 2 }, Ml = ["x", "y", "font-size", "font-weight", "fill"], zl = ["cx", "cy", "r", "onMouseenter", "onMouseleave", "onClick"], Nl = {
|
|
15
15
|
key: 4,
|
|
@@ -32,7 +32,7 @@ const el = ["id"], tl = ["xmlns", "viewBox"], ll = ["x", "y", "width", "height"]
|
|
|
32
32
|
},
|
|
33
33
|
emits: ["selectLegend", "selectDatapoint"],
|
|
34
34
|
setup(We, { expose: je, emit: Ue }) {
|
|
35
|
-
const Ge = X(() => import("./vue-ui-accordion-
|
|
35
|
+
const Ge = X(() => import("./vue-ui-accordion-BZiwwf95.js")), Ve = X(() => import("./DataTable-CVnNcUM4.js")), qe = X(() => import("./PackageVersion-Cg4_GtJf.js")), Ze = X(() => import("./PenAndPaper-Cz9cyN0p.js")), Je = X(() => import("./Tooltip-CAF7J60u.js")), Ke = X(() => import("./UserOptions-D3-mjgYs.js")), { vue_ui_history_plot: Qe } = St(), y = We, L = v(null), ue = v(null), ce = v(0), ve = v(null), he = v(0), ye = v(0), de = v(0), $ = Fe(null), F = Fe(null), fe = v(null), E = v(Re()), K = v(!1), Q = v(""), w = v([]), W = v(!1), A = v(null), H = v(!1), xe = v(null), ee = v(null), te = v(null), j = v(null), le = v(null), U = d({
|
|
36
36
|
get: () => !!y.dataset && y.dataset.length,
|
|
37
37
|
set: (t) => t
|
|
38
38
|
}), pe = Ue;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineAsyncComponent as A, computed as x, useSlots as z, onMounted as C, watch as y, ref as k, createElementBlock as i, openBlock as s, normalizeStyle as u, normalizeClass as r, createElementVNode as $, renderSlot as n, createTextVNode as h, toDisplayString as b, createVNode as w, unref as v, Fragment as B } from "vue";
|
|
2
|
-
import { u as L } from "./useNestedProp-
|
|
3
|
-
import { u as M, i as E, f as I } from "./index-
|
|
2
|
+
import { u as L } from "./useNestedProp-BApHoInw.js";
|
|
3
|
+
import { u as M, i as E, f as I } from "./index-D6eUCgEP.js";
|
|
4
4
|
const G = {
|
|
5
5
|
__name: "vue-ui-kpi",
|
|
6
6
|
props: {
|
|
@@ -16,7 +16,7 @@ const G = {
|
|
|
16
16
|
}
|
|
17
17
|
},
|
|
18
18
|
setup(o) {
|
|
19
|
-
const F = A(() => import("./vue-ui-digits-
|
|
19
|
+
const F = A(() => import("./vue-ui-digits-Bk75Ph_N.js")), { vue_ui_kpi: N } = M(), l = o, e = x({
|
|
20
20
|
get: () => c(),
|
|
21
21
|
set: (a) => a
|
|
22
22
|
}), D = z();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useCssVars as h, computed as r, ref as f, createElementBlock as n, openBlock as u, unref as M, createCommentVNode as a, createElementVNode as t, normalizeStyle as l } from "vue";
|
|
2
|
-
import { u as m } from "./useNestedProp-
|
|
3
|
-
import { u as y, X as L } from "./index-
|
|
2
|
+
import { u as m } from "./useNestedProp-BApHoInw.js";
|
|
3
|
+
import { u as y, X as L } from "./index-D6eUCgEP.js";
|
|
4
4
|
import { _ as B } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
5
|
const b = ["xmlns", "viewBox"], x = { key: 0 }, $ = ["stroke"], w = ["stroke"], A = ["stroke"], N = { key: 1 }, O = ["stroke"], S = { key: 2 }, F = ["stroke"], I = {
|
|
6
6
|
__name: "vue-ui-mini-loader",
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { useCssVars as
|
|
2
|
-
import { u as rt, o as it, e as ut, c as fe, t as ct, p as ge, a as dt, b as vt,
|
|
3
|
-
import { u as ye } from "./useNestedProp-
|
|
4
|
-
import { u as Ct } from "./usePrinter-
|
|
1
|
+
import { useCssVars as Je, defineAsyncComponent as p, computed as k, onMounted as Ke, ref as c, watch as et, createElementBlock as y, openBlock as i, unref as s, normalizeStyle as R, normalizeClass as pe, createBlock as $, createCommentVNode as f, createVNode as S, createSlots as tt, withCtx as d, renderSlot as u, normalizeProps as w, guardReactiveProps as T, createElementVNode as _, Fragment as ot, renderList as lt, createTextVNode as st, toDisplayString as at, nextTick as nt } from "vue";
|
|
2
|
+
import { u as rt, o as it, e as ut, c as fe, t as ct, p as ge, a as dt, b as vt, Q as ht, X as pt, l as ft, R as gt, d as me, q as mt, r as yt, y as bt, z as kt } from "./index-D6eUCgEP.js";
|
|
3
|
+
import { u as ye } from "./useNestedProp-BApHoInw.js";
|
|
4
|
+
import { u as Ct } from "./usePrinter-B_35JREm.js";
|
|
5
5
|
import { u as $t } from "./useUserOptionState-BIvW1Kz7.js";
|
|
6
6
|
import { u as wt } from "./useChartAccessibility-9icAAmYg.js";
|
|
7
7
|
import { u as Tt } from "./usePanZoom-BQMvRXEQ.js";
|
|
8
|
-
import Ot from "./img-
|
|
8
|
+
import Ot from "./img-C5BY-RpJ.js";
|
|
9
9
|
import { _ as Pt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
10
10
|
const At = ["id"], Ft = {
|
|
11
11
|
key: 1,
|
|
@@ -44,11 +44,11 @@ const At = ["id"], Ft = {
|
|
|
44
44
|
},
|
|
45
45
|
emits: ["selectNode"],
|
|
46
46
|
setup(be, { expose: ke, emit: Ce }) {
|
|
47
|
-
|
|
47
|
+
Je((t) => ({
|
|
48
48
|
"69f7b946": t.slicerColor
|
|
49
49
|
}));
|
|
50
|
-
const $e = p(() => import("./vue-ui-accordion-
|
|
51
|
-
|
|
50
|
+
const $e = p(() => import("./vue-ui-accordion-BZiwwf95.js")), we = p(() => import("./BaseIcon-B4lxhw9o.js")), Te = p(() => import("./DataTable-CVnNcUM4.js")), Oe = p(() => import("./PackageVersion-Cg4_GtJf.js")), Pe = p(() => import("./PenAndPaper-Cz9cyN0p.js")), Ae = p(() => import("./RecursiveCircles-Dn3TGoL6.js")), Fe = p(() => import("./RecursiveLabels-NTMB9w5C.js")), Ie = p(() => import("./RecursiveLinks-ld_gDZH4.js")), Ne = p(() => import("./vue-ui-skeleton-BsGAx6EO.js")), Se = p(() => import("./Title-BFyRC6GM.js")), _e = p(() => import("./Tooltip-CAF7J60u.js")), Le = p(() => import("./UserOptions-D3-mjgYs.js")), { vue_ui_molecule: De } = rt(), C = be, Be = Ce, L = k(() => !!C.dataset && C.dataset.length);
|
|
51
|
+
Ke(() => {
|
|
52
52
|
W();
|
|
53
53
|
});
|
|
54
54
|
function W() {
|
|
@@ -58,10 +58,10 @@ const At = ["id"], Ft = {
|
|
|
58
58
|
});
|
|
59
59
|
}
|
|
60
60
|
const U = c(fe()), Re = c(null), E = c(!1), D = c(""), O = c(null), X = c(0), j = c(0), Y = c(0), e = k({
|
|
61
|
-
get: () =>
|
|
61
|
+
get: () => Q(),
|
|
62
62
|
set: (t) => t
|
|
63
63
|
}), { userOptionsVisible: z, setUserOptionsVisibility: Z, keepUserOptionState: q } = $t({ config: e.value }), { svgRef: x } = wt({ config: e.value.style.chart.title });
|
|
64
|
-
function
|
|
64
|
+
function Q() {
|
|
65
65
|
const t = ye({
|
|
66
66
|
userConfig: C.config,
|
|
67
67
|
defaultConfig: De
|
|
@@ -75,9 +75,9 @@ const At = ["id"], Ft = {
|
|
|
75
75
|
} : t;
|
|
76
76
|
}
|
|
77
77
|
et(() => C.config, (t) => {
|
|
78
|
-
e.value =
|
|
78
|
+
e.value = Q(), z.value = !e.value.userOptions.showOnChartHover, W(), j.value += 1, Y.value += 1, h.value.showTable = e.value.table.show, h.value.showTooltip = e.value.style.chart.tooltip.show;
|
|
79
79
|
}, { deep: !0 });
|
|
80
|
-
const { isPrinting:
|
|
80
|
+
const { isPrinting: J, isImaging: K, generatePdf: ee, generateImage: te } = Ct({
|
|
81
81
|
elementId: `cluster_${U.value}`,
|
|
82
82
|
fileName: e.value.style.chart.title.text || "vue-ui-molecule",
|
|
83
83
|
options: e.value.userOptions.print
|
|
@@ -103,14 +103,14 @@ const At = ["id"], Ft = {
|
|
|
103
103
|
c(`0 0 ${v.value.width} ${v.value.height}`);
|
|
104
104
|
function le(t, l = { x: -v.value.width / 2.43, y: v.value.height / 2 }, o = v.value.width / 1.1, n = 24, a = 0, r = 0, g = "#BBBBBB", G = 0) {
|
|
105
105
|
if (!Array.isArray(t) || t.length === 0) return t;
|
|
106
|
-
const
|
|
106
|
+
const Qe = gt({
|
|
107
107
|
plot: l,
|
|
108
108
|
radius: o,
|
|
109
109
|
sides: t.length,
|
|
110
110
|
rotation: a
|
|
111
111
|
});
|
|
112
112
|
return t.forEach((m, de) => {
|
|
113
|
-
const ve =
|
|
113
|
+
const ve = Qe.coordinates[de], he = m.color ? (() => {
|
|
114
114
|
let M = me(m.color);
|
|
115
115
|
return M.startsWith("#") ? M : `#${M}`;
|
|
116
116
|
})() : null;
|
|
@@ -327,8 +327,8 @@ const At = ["id"], Ft = {
|
|
|
327
327
|
key: `user_options_${X.value}`,
|
|
328
328
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
329
329
|
color: e.value.style.chart.color,
|
|
330
|
-
isPrinting: s(
|
|
331
|
-
isImaging: s(
|
|
330
|
+
isPrinting: s(J),
|
|
331
|
+
isImaging: s(K),
|
|
332
332
|
uid: U.value,
|
|
333
333
|
hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.chart.tooltip.show,
|
|
334
334
|
hasPdf: e.value.userOptions.buttons.pdf,
|
|
@@ -489,7 +489,7 @@ const At = ["id"], Ft = {
|
|
|
489
489
|
u(t.$slots, "svg", { svg: v.value }, void 0, !0)
|
|
490
490
|
], 14, Nt)) : f("", !0),
|
|
491
491
|
t.$slots.watermark ? (i(), y("div", Bt, [
|
|
492
|
-
u(t.$slots, "watermark", w(T({ isPrinting: s(
|
|
492
|
+
u(t.$slots, "watermark", w(T({ isPrinting: s(J) || s(K) })), void 0, !0)
|
|
493
493
|
])) : f("", !0),
|
|
494
494
|
s(Ye) ? (i(), y("div", Rt, [
|
|
495
495
|
u(t.$slots, "reset-action", { reset: s(ce) }, () => [
|
|
@@ -1,12 +1,12 @@
|
|
|
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, e as re, c as Ve, a as Re,
|
|
3
|
-
import { u as ue } from "./useNestedProp-
|
|
4
|
-
import { u as De } from "./usePrinter-
|
|
2
|
+
import { u as Fe, o as Se, e as re, c as Ve, a as Re, R as je, X as Be, s as w, x as Ue, S as Ee, i as ne, f as R, q as We, r as ze } from "./index-D6eUCgEP.js";
|
|
3
|
+
import { u as ue } from "./useNestedProp-BApHoInw.js";
|
|
4
|
+
import { u as De } from "./usePrinter-B_35JREm.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 qe from "./img-
|
|
7
|
+
import Xe from "./Legend-BlVtnIFw.js";
|
|
8
|
+
import Ke from "./Title-BFyRC6GM.js";
|
|
9
|
+
import qe from "./img-C5BY-RpJ.js";
|
|
10
10
|
import { _ as Ye } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
11
11
|
const Je = ["id"], Qe = {
|
|
12
12
|
key: 2,
|
|
@@ -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-BZiwwf95.js")), $ = _(() => import("./BaseIcon-B4lxhw9o.js")), ve = _(() => import("./DataTable-CVnNcUM4.js")), ye = _(() => import("./PackageVersion-Cg4_GtJf.js")), he = _(() => import("./PenAndPaper-Cz9cyN0p.js")), fe = _(() => import("./vue-ui-skeleton-BsGAx6EO.js")), pe = _(() => import("./UserOptions-D3-mjgYs.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
|
});
|
|
@@ -1,13 +1,13 @@
|
|
|
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, v as jt, t as ea, p as Se, a as ta, C as Ie, o as aa, e as K, b as la, G as M, d as oa, m as Ve, f as F, X as sa, s as ua, L as bt, k as Pe, n as Q, i as j, y as gt, q as na, r as ra, z as ia,
|
|
2
|
+
import { u as Qt, c as Zt, v as jt, t as ea, p as Se, a as ta, C as Ie, o as aa, e as K, b as la, G as M, d as oa, m as Ve, f as F, X as sa, s as ua, L as bt, k as Pe, n as Q, i as j, y as gt, q as na, r as ra, z as ia, T as mt, w as De } from "./index-D6eUCgEP.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-BApHoInw.js";
|
|
5
|
+
import { u as ca } from "./usePrinter-B_35JREm.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-
|
|
8
|
+
import ya from "./Title-BFyRC6GM.js";
|
|
9
|
+
import pa from "./Legend-BlVtnIFw.js";
|
|
10
|
+
import ba from "./img-C5BY-RpJ.js";
|
|
11
11
|
import { u as ga, B as ma } from "./BaseScanner-DIK2NTdp.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 = {
|
|
@@ -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-BZiwwf95.js")), xt = U(() => import("./DataTable-CVnNcUM4.js")), _t = U(() => import("./PackageVersion-Cg4_GtJf.js")), At = U(() => import("./PenAndPaper-Cz9cyN0p.js"));
|
|
38
|
+
U(() => import("./vue-ui-skeleton-BsGAx6EO.js"));
|
|
39
|
+
const Tt = U(() => import("./Tooltip-CAF7J60u.js")), Nt = U(() => import("./UserOptions-D3-mjgYs.js")), { vue_ui_nested_donuts: Ft } = Qt(), g = $t, de = C({
|
|
40
40
|
get() {
|
|
41
41
|
return !!g.dataset && g.dataset.length;
|
|
42
42
|
},
|