vue-data-ui 3.1.2 → 3.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{Arrow-BotYLY2I.js → Arrow-COJRk3pc.js} +1 -1
- package/dist/{BaseDraggableDialog-Dkpr-qUQ.js → BaseDraggableDialog-BdAp3qr9.js} +2 -2
- package/dist/{BaseIcon-BLg8FaQ2.js → BaseIcon-B5nQNkmd.js} +1 -1
- package/dist/{ColorPicker-C2sMVpbA.js → ColorPicker-CPqHwp1V.js} +2 -2
- package/dist/{DataTable-BRN1-1ob.js → DataTable-CzO3oHys.js} +2 -2
- package/dist/Legend-BQqnf4BN.js +85 -0
- package/dist/{NonSvgPenAndPaper-Dp53d2re.js → NonSvgPenAndPaper-D_g27Foy.js} +3 -3
- package/dist/{PackageVersion-Jz9FlNXl.js → PackageVersion-7CxQB-mx.js} +1 -1
- package/dist/{PenAndPaper-TgGWddgD.js → PenAndPaper-C8hICPzL.js} +3 -3
- package/dist/{Shape-Bmpx9GRg.js → Shape-BEVQVI0z.js} +1 -1
- package/dist/{Slicer-DeWHn8zH.js → Slicer-Cmc94zkG.js} +11 -9
- package/dist/{SparkTooltip-C6fJOQ0j.js → SparkTooltip-BSgzljwP.js} +1 -1
- package/dist/Title-nHtPyPd9.js +88 -0
- package/dist/{Tooltip-le0yZk_t.js → Tooltip-RCWHeRDV.js} +1 -1
- package/dist/{UserOptions-DEFwuQIo.js → UserOptions-D3pVnvAB.js} +29 -29
- package/dist/{dom-to-png-C7V0EktO.js → dom-to-png-CcijTM69.js} +1 -1
- package/dist/{img-DvuphHeJ.js → img-Bl0o2UAr.js} +1 -1
- package/dist/{index-BFqW8WA0.js → index-INqbM37s.js} +2 -1
- package/dist/{pdf-Bdf65IBz.js → pdf-BeeAdG2m.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +11 -1
- package/dist/types/vue-data-ui.d.ts +11 -1
- package/dist/{useAutoSizeLabelsInsideViewbox-N1I6Rk6M.js → useAutoSizeLabelsInsideViewbox-DXkvjSDn.js} +1 -1
- package/dist/{useNestedProp-BSZCnuGl.js → useNestedProp-BKprMEaB.js} +1 -1
- package/dist/{usePrinter-DDIKRiOp.js → usePrinter-9WO5mDzj.js} +2 -2
- package/dist/{vue-data-ui-vwh3dolO.js → vue-data-ui-IMHc9Ta4.js} +64 -64
- package/dist/vue-data-ui.js +1 -1
- package/dist/{vue-ui-3d-bar-DNw3RWRt.js → vue-ui-3d-bar-D-1TVi2s.js} +6 -6
- package/dist/{vue-ui-accordion-Cv747Pg6.js → vue-ui-accordion-CQZjxT5U.js} +3 -3
- package/dist/{vue-ui-age-pyramid-B1Yun-v7.js → vue-ui-age-pyramid-B31NbBxS.js} +6 -6
- package/dist/{vue-ui-annotator-B_5hOApA.js → vue-ui-annotator-BmFYtzWW.js} +2 -2
- package/dist/{vue-ui-bullet-C2Aj7Lcx.js → vue-ui-bullet-BvMlcux3.js} +7 -7
- package/dist/{vue-ui-candlestick-BBYqZVUp.js → vue-ui-candlestick-CCrNcgjy.js} +7 -7
- package/dist/{vue-ui-carousel-table-DPIOnp9J.js → vue-ui-carousel-table-DrGj7_CL.js} +4 -4
- package/dist/{vue-ui-chestnut-C4B0wEFn.js → vue-ui-chestnut-Dz0E-AxZ.js} +5 -5
- package/dist/{vue-ui-chord-B9Zml1V7.js → vue-ui-chord-BxOzgPka.js} +8 -8
- package/dist/{vue-ui-circle-pack-CLn19BHH.js → vue-ui-circle-pack-CaWwzEF0.js} +6 -6
- package/dist/{vue-ui-cursor-AVEV-uv3.js → vue-ui-cursor-CG-oJITu.js} +2 -2
- package/dist/vue-ui-dashboard-BFLQYXuo.js +411 -0
- package/dist/{vue-ui-digits-Dr4OHGU0.js → vue-ui-digits-BlZsS_qz.js} +2 -2
- package/dist/{vue-ui-donut-xseR2SnT.js → vue-ui-donut-COXIRkz4.js} +8 -8
- package/dist/{vue-ui-donut-evolution-hJh-1Z48.js → vue-ui-donut-evolution-DSGLD4z5.js} +8 -8
- package/dist/{vue-ui-dumbbell-FdTx7uAG.js → vue-ui-dumbbell-DgUPMy2W.js} +7 -7
- package/dist/{vue-ui-flow-Bh6FqlC1.js → vue-ui-flow-E8_jp5Qc.js} +7 -7
- package/dist/{vue-ui-funnel-BlsKhHbk.js → vue-ui-funnel-NMcBpYTQ.js} +6 -6
- package/dist/{vue-ui-galaxy-C0B8stYi.js → vue-ui-galaxy-Cay4NZ6o.js} +7 -7
- package/dist/{vue-ui-gauge-B1-UiZwV.js → vue-ui-gauge-DWOH8_Z2.js} +8 -8
- package/dist/{vue-ui-gizmo-Df_SCjOI.js → vue-ui-gizmo-DtZu2tcU.js} +3 -3
- package/dist/{vue-ui-heatmap-NfRSd6fU.js → vue-ui-heatmap-Dk5515tQ.js} +7 -7
- package/dist/{vue-ui-history-plot-Ce-DJ8xC.js → vue-ui-history-plot-X_jPheWu.js} +7 -7
- package/dist/{vue-ui-kpi-CH3rWyiG.js → vue-ui-kpi-DwNsapLR.js} +3 -3
- package/dist/{vue-ui-mini-loader-D9EVnpxk.js → vue-ui-mini-loader-uyATuTz5.js} +2 -2
- package/dist/{vue-ui-molecule-C973vfYh.js → vue-ui-molecule-BOeCt8b2.js} +5 -5
- package/dist/{vue-ui-mood-radar-DdLxBhlO.js → vue-ui-mood-radar-BeHjc5Ty.js} +7 -7
- package/dist/{vue-ui-nested-donuts-tARXMYzx.js → vue-ui-nested-donuts-CPoaD2py.js} +7 -7
- package/dist/{vue-ui-onion-BC9czZGG.js → vue-ui-onion-C8H8i77u.js} +8 -8
- package/dist/{vue-ui-parallel-coordinate-plot-CxDIkZKr.js → vue-ui-parallel-coordinate-plot-Cblzs6mf.js} +8 -8
- package/dist/{vue-ui-quadrant-Bpm5ZoTp.js → vue-ui-quadrant-BLYsMAey.js} +8 -8
- package/dist/{vue-ui-quick-chart-Bkc_JBCw.js → vue-ui-quick-chart-D-7cooqG.js} +111 -111
- package/dist/{vue-ui-radar-DVJQYNeL.js → vue-ui-radar-BBR8cYGx.js} +8 -8
- package/dist/{vue-ui-rating-DITnRSiS.js → vue-ui-rating-Ccn8aUMA.js} +2 -2
- package/dist/{vue-ui-relation-circle-D_OTYUmS.js → vue-ui-relation-circle-SKeIJXHs.js} +7 -7
- package/dist/{vue-ui-ridgeline-Gc1c4LXq.js → vue-ui-ridgeline-CuHSBPB8.js} +8 -8
- package/dist/{vue-ui-rings-CUT1N_kK.js → vue-ui-rings-SusI7pff.js} +8 -8
- package/dist/{vue-ui-scatter-DwnZHy0V.js → vue-ui-scatter-Do8NoLng.js} +8 -8
- package/dist/{vue-ui-skeleton-CeyaKpZd.js → vue-ui-skeleton-FONviv9G.js} +3 -3
- package/dist/{vue-ui-smiley-B9yNexWr.js → vue-ui-smiley-Bbt8bZxB.js} +2 -2
- package/dist/{vue-ui-spark-trend-DTYVcrHV.js → vue-ui-spark-trend-DB7RPBwQ.js} +3 -3
- package/dist/{vue-ui-sparkbar-BzxynYoW.js → vue-ui-sparkbar-B8inUR_m.js} +3 -3
- package/dist/{vue-ui-sparkgauge-DoznCX5h.js → vue-ui-sparkgauge-B4_YoY5M.js} +3 -3
- package/dist/{vue-ui-sparkhistogram-DoZpd0H2.js → vue-ui-sparkhistogram-DXSLenC7.js} +4 -4
- package/dist/{vue-ui-sparkline-ZKit-hgG.js → vue-ui-sparkline-BQ6Voxky.js} +3 -3
- package/dist/{vue-ui-sparkstackbar-DjoqH_Xs.js → vue-ui-sparkstackbar-BgFJQKhq.js} +4 -4
- package/dist/{vue-ui-stackbar-J-gxI4Xn.js → vue-ui-stackbar-CBB-kH1C.js} +9 -9
- package/dist/{vue-ui-strip-plot-CO7NVeFi.js → vue-ui-strip-plot-3gWivNhR.js} +7 -7
- package/dist/{vue-ui-table-rmbBw_0d.js → vue-ui-table-NJNp95Us.js} +156 -121
- package/dist/{vue-ui-table-heatmap-BEFdai_O.js → vue-ui-table-heatmap-CRzHSurU.js} +5 -5
- package/dist/{vue-ui-table-sparkline-CjgaQXbc.js → vue-ui-table-sparkline-DxGr1WNr.js} +4 -4
- package/dist/{vue-ui-thermometer--aqaJwFo.js → vue-ui-thermometer-B6NudPzq.js} +7 -7
- package/dist/{vue-ui-timer-qFNHDcU_.js → vue-ui-timer-DO3oJlhi.js} +5 -5
- package/dist/{vue-ui-tiremarks-DA8fzQHo.js → vue-ui-tiremarks-Dv39xDlL.js} +6 -6
- package/dist/{vue-ui-treemap-DGC9zxon.js → vue-ui-treemap-D9jbccaW.js} +8 -8
- package/dist/{vue-ui-vertical-bar-DOCeCCqz.js → vue-ui-vertical-bar-CxJNWczK.js} +9 -9
- package/dist/{vue-ui-waffle-DD9jtkcQ.js → vue-ui-waffle-BMjk9LhH.js} +8 -8
- package/dist/{vue-ui-wheel-87VStrfJ.js → vue-ui-wheel-CMACWJLJ.js} +6 -6
- package/dist/{vue-ui-word-cloud-CCMfa9H1.js → vue-ui-word-cloud-BbwSabN0.js} +6 -6
- package/dist/{vue-ui-world-Cm3Hn1-2.js → vue-ui-world-DCp2i-uy.js} +6 -6
- package/dist/{vue-ui-xy-C2SnbN6w.js → vue-ui-xy-CRQHfrGQ.js} +277 -273
- package/dist/{vue-ui-xy-canvas-WxSJqoiF.js → vue-ui-xy-canvas-D-iziyn0.js} +10 -10
- package/package.json +1 -1
- package/dist/Legend-DLzeDl3-.js +0 -72
- package/dist/Title-AGmmsSi_.js +0 -61
- package/dist/vue-ui-dashboard-DwNYa1I4.js +0 -412
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { defineAsyncComponent as ee, ref as c, computed as L, useSlots as ea, onMounted as dl, watch as D, nextTick as hl, shallowRef as Me, onBeforeUnmount as la, createElementBlock as de, openBlock as S, unref as p, normalizeClass as aa, normalizeStyle as le, createCommentVNode as H, createElementVNode as Y, createBlock as P, createSlots as yl, withCtx as b, renderSlot as k, normalizeProps as V, guardReactiveProps as G, createVNode as fl, Teleport as ta, toDisplayString as Oe, resolveDynamicComponent as oa, mergeProps as ua, createTextVNode as gl } from "vue";
|
|
2
|
-
import { u as ra, c as sa, a as na, p as Z, b as ia, C as xe, d as va, D as Re, k as ae, i as te, e as pl, a4 as ca, G as da, ae as ha, o as ya, f as fa, y as bl, v as ga, w as pa, z as ba, s as he, l as ma } from "./index-
|
|
2
|
+
import { u as ra, c as sa, a as na, p as Z, b as ia, C as xe, d as va, D as Re, k as ae, i as te, e as pl, a4 as ca, G as da, ae as ha, o as ya, f as fa, y as bl, v as ga, w as pa, z as ba, s as he, l as ma } from "./index-INqbM37s.js";
|
|
3
3
|
import { d as xa, t as La, u as ka, c as Ca, a as ml, l as C, r as De, b as F, p as xl } from "./useResponsive-DfdjqQps.js";
|
|
4
|
-
import { u as Ll } from "./useNestedProp-
|
|
5
|
-
import { u as wa } from "./usePrinter-
|
|
4
|
+
import { u as Ll } from "./useNestedProp-BKprMEaB.js";
|
|
5
|
+
import { u as wa } from "./usePrinter-9WO5mDzj.js";
|
|
6
6
|
import { u as Sa } from "./useUserOptionState-BIvW1Kz7.js";
|
|
7
7
|
import { u as za } from "./useChartAccessibility-9icAAmYg.js";
|
|
8
|
-
import $a from "./Legend-
|
|
9
|
-
import Ta from "./Title-
|
|
10
|
-
import { S as Ia } from "./Slicer-
|
|
11
|
-
import Ma from "./vue-ui-accordion-
|
|
8
|
+
import $a from "./Legend-BQqnf4BN.js";
|
|
9
|
+
import Ta from "./Title-nHtPyPd9.js";
|
|
10
|
+
import { S as Ia } from "./Slicer-Cmc94zkG.js";
|
|
11
|
+
import Ma from "./vue-ui-accordion-CQZjxT5U.js";
|
|
12
12
|
import { u as Oa } from "./useTimeLabels-BGFjWgrv.js";
|
|
13
|
-
import Ra from "./img-
|
|
14
|
-
import Da from "./BaseIcon-
|
|
13
|
+
import Ra from "./img-Bl0o2UAr.js";
|
|
14
|
+
import Da from "./BaseIcon-B5nQNkmd.js";
|
|
15
15
|
import { _ as Pa } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
16
16
|
const Fa = ["id"], Ea = ["id"], Aa = ["id"], Na = ["onClick"], Ha = {
|
|
17
17
|
key: 3,
|
|
@@ -34,7 +34,7 @@ const Fa = ["id"], Ea = ["id"], Aa = ["id"], Na = ["onClick"], Ha = {
|
|
|
34
34
|
},
|
|
35
35
|
emits: ["selectLegend"],
|
|
36
36
|
setup(Pe, { expose: kl, emit: Cl }) {
|
|
37
|
-
const wl = ee(() => import("./DataTable-
|
|
37
|
+
const wl = ee(() => import("./DataTable-CzO3oHys.js")), Sl = ee(() => import("./NonSvgPenAndPaper-D_g27Foy.js")), zl = ee(() => import("./vue-ui-skeleton-FONviv9G.js")), $l = ee(() => import("./Tooltip-RCWHeRDV.js")), Tl = ee(() => import("./UserOptions-D3pVnvAB.js")), Il = ee(() => import("./BaseDraggableDialog-BdAp3qr9.js")), { vue_ui_xy_canvas: Ml } = ra(), g = Pe, _ = c(sa()), I = c(null), oe = c(null), n = c(null), y = c(1), E = c(1), ye = c(!1), d = c(null), fe = c(""), Fe = c(null), $ = c([]), j = c(1), B = c(!0), q = c(!0), Le = c(null), Ee = c(0), Ae = c(0), ue = c(!1), Ne = c(null), He = c(null), Ye = c(null), _e = c(null), ke = c(0), Ce = c(0), we = c(0), M = c(null), Be = c(!1), re = c(null), Se = c(null), ge = L(() => !!g.dataset && g.dataset.length), Ol = Cl, Rl = ea();
|
|
38
38
|
dl(() => {
|
|
39
39
|
Rl["chart-background"] && console.warn("VueUiXyCanvas does not support the #chart-background slot.");
|
|
40
40
|
});
|
package/package.json
CHANGED
package/dist/Legend-DLzeDl3-.js
DELETED
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
import { createElementBlock as n, openBlock as a, normalizeStyle as c, renderSlot as r, Fragment as u, renderList as m, normalizeClass as g, createCommentVNode as h, createVNode as k, mergeProps as p, unref as y } from "vue";
|
|
2
|
-
import { a2 as $ } from "./index-BFqW8WA0.js";
|
|
3
|
-
import { _ as v } from "./Shape-Bmpx9GRg.js";
|
|
4
|
-
import { _ as x } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
|
-
const S = ["id"], b = ["onClick", "height", "width", "viewBox"], w = {
|
|
6
|
-
__name: "Legend",
|
|
7
|
-
props: {
|
|
8
|
-
legendSet: {
|
|
9
|
-
type: Array,
|
|
10
|
-
default() {
|
|
11
|
-
return [];
|
|
12
|
-
}
|
|
13
|
-
},
|
|
14
|
-
config: {
|
|
15
|
-
type: Object,
|
|
16
|
-
default() {
|
|
17
|
-
return {};
|
|
18
|
-
}
|
|
19
|
-
},
|
|
20
|
-
id: {
|
|
21
|
-
type: String,
|
|
22
|
-
default: ""
|
|
23
|
-
},
|
|
24
|
-
clickable: {
|
|
25
|
-
type: Boolean,
|
|
26
|
-
default: !0
|
|
27
|
-
}
|
|
28
|
-
},
|
|
29
|
-
emits: ["clickMarker"],
|
|
30
|
-
setup(e, { emit: d }) {
|
|
31
|
-
const s = d;
|
|
32
|
-
function f(i, l) {
|
|
33
|
-
s("clickMarker", { legend: i, i: l });
|
|
34
|
-
}
|
|
35
|
-
return (i, l) => (a(), n("div", {
|
|
36
|
-
id: e.id,
|
|
37
|
-
class: "vue-data-ui-legend",
|
|
38
|
-
style: c(`background:${e.config.backgroundColor};font-size:${e.config.fontSize}px;color:${e.config.color};padding-bottom:${e.config.paddingBottom}px;padding-top:${e.config.paddingTop || 12}px;font-weight:${e.config.fontWeight}`)
|
|
39
|
-
}, [
|
|
40
|
-
r(i.$slots, "legendTitle", { titleSet: e.legendSet }, void 0, !0),
|
|
41
|
-
(a(!0), n(u, null, m(e.legendSet, (t, o) => (a(), n("div", {
|
|
42
|
-
key: `legend_${o}`,
|
|
43
|
-
class: g({ "vue-data-ui-legend-item": !0, active: e.clickable })
|
|
44
|
-
}, [
|
|
45
|
-
t.shape ? (a(), n("svg", {
|
|
46
|
-
key: 0,
|
|
47
|
-
onClick: (z) => f(t, o),
|
|
48
|
-
height: e.config.fontSize,
|
|
49
|
-
width: e.config.fontSize,
|
|
50
|
-
viewBox: t.shape && t.shape === "star" ? "-10 -10 80 80" : "0 0 60 60",
|
|
51
|
-
style: c(`overflow: visible;opacity:${t.opacity}`)
|
|
52
|
-
}, [
|
|
53
|
-
k(v, {
|
|
54
|
-
shape: t.shape,
|
|
55
|
-
radius: 30,
|
|
56
|
-
stroke: "none",
|
|
57
|
-
plot: { x: 30, y: t.shape === "triangle" ? 36 : 30 },
|
|
58
|
-
fill: t.color
|
|
59
|
-
}, null, 8, ["shape", "plot", "fill"]),
|
|
60
|
-
r(i.$slots, "legend-pattern", p({ ref_for: !0 }, { legend: t, index: y($)(t.absoluteIndex) ? t.absoluteIndex : o }), void 0, !0)
|
|
61
|
-
], 12, b)) : h("", !0),
|
|
62
|
-
r(i.$slots, "item", {
|
|
63
|
-
legend: t,
|
|
64
|
-
index: o
|
|
65
|
-
}, void 0, !0)
|
|
66
|
-
], 2))), 128))
|
|
67
|
-
], 12, S));
|
|
68
|
-
}
|
|
69
|
-
}, L = /* @__PURE__ */ x(w, [["__scopeId", "data-v-f102edfc"]]);
|
|
70
|
-
export {
|
|
71
|
-
L as default
|
|
72
|
-
};
|
package/dist/Title-AGmmsSi_.js
DELETED
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
import { createElementBlock as l, openBlock as n, Fragment as f, createElementVNode as p, createCommentVNode as o, normalizeStyle as d, unref as e, toDisplayString as g, renderSlot as r } from "vue";
|
|
2
|
-
import { u as c } from "./useNestedProp-BSZCnuGl.js";
|
|
3
|
-
const x = {
|
|
4
|
-
__name: "Title",
|
|
5
|
-
props: {
|
|
6
|
-
config: {
|
|
7
|
-
type: Object,
|
|
8
|
-
default() {
|
|
9
|
-
return {};
|
|
10
|
-
}
|
|
11
|
-
},
|
|
12
|
-
lineHeight: {
|
|
13
|
-
type: [String, Boolean],
|
|
14
|
-
default: !1
|
|
15
|
-
}
|
|
16
|
-
},
|
|
17
|
-
setup(i) {
|
|
18
|
-
const t = c({
|
|
19
|
-
userConfig: i.config,
|
|
20
|
-
defaultConfig: {
|
|
21
|
-
title: {
|
|
22
|
-
cy: "",
|
|
23
|
-
text: "",
|
|
24
|
-
color: "",
|
|
25
|
-
fontSize: 20,
|
|
26
|
-
bold: !0,
|
|
27
|
-
textAlign: "center",
|
|
28
|
-
paddingLeft: 0,
|
|
29
|
-
paddingRight: 0
|
|
30
|
-
},
|
|
31
|
-
subtitle: {
|
|
32
|
-
cy: "",
|
|
33
|
-
text: "",
|
|
34
|
-
color: "",
|
|
35
|
-
fontSize: 14,
|
|
36
|
-
bold: !1
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
});
|
|
40
|
-
return (a, h) => (n(), l(f, null, [
|
|
41
|
-
p("div", {
|
|
42
|
-
class: "atom-title",
|
|
43
|
-
style: d(`width: calc(100% - ${e(t).title.paddingLeft + e(t).title.paddingRight}px); text-align:${e(t).title.textAlign};color:${e(t).title.color};font-size:${e(t).title.fontSize}px;font-weight:${e(t).title.bold ? "bold" : ""};padding-left:${e(t).title.paddingLeft}px;padding-right:${e(t).title.paddingRight}px;${i.lineHeight ? `line-height:${i.lineHeight}` : ""}`)
|
|
44
|
-
}, g(e(t).title.text), 5),
|
|
45
|
-
e(t).subtitle.text ? (n(), l("div", {
|
|
46
|
-
key: 0,
|
|
47
|
-
class: "atom-subtitle",
|
|
48
|
-
style: d(`width: calc(100% - ${e(t).title.paddingLeft + e(t).title.paddingRight}px); text-align:${e(t).title.textAlign};color:${e(t).subtitle.color};font-size:${e(t).subtitle.fontSize}px;font-weight:${e(t).subtitle.bold ? "bold" : ""};padding-left:${e(t).title.paddingLeft}px;padding-right:${e(t).title.paddingRight}px;${i.lineHeight ? `line-height:${i.lineHeight}` : ""}`)
|
|
49
|
-
}, g(e(t).subtitle.text), 5)) : o("", !0),
|
|
50
|
-
e(t).subtitle.text ? (n(), l("div", {
|
|
51
|
-
key: 1,
|
|
52
|
-
style: d(`width: calc(100% - ${e(t).title.paddingLeft + e(t).title.paddingRight}px); text-align:${e(t).title.textAlign};color:${e(t).subtitle.color};font-size:${e(t).subtitle.fontSize}px;font-weight:${e(t).subtitle.bold ? "bold" : ""};padding-left:${e(t).title.paddingLeft}px;padding-right:${e(t).title.paddingRight}px;${i.lineHeight ? `line-height:${i.lineHeight}` : ""}`)
|
|
53
|
-
}, [
|
|
54
|
-
r(a.$slots, "default")
|
|
55
|
-
], 4)) : o("", !0)
|
|
56
|
-
], 64));
|
|
57
|
-
}
|
|
58
|
-
};
|
|
59
|
-
export {
|
|
60
|
-
x as default
|
|
61
|
-
};
|
|
@@ -1,412 +0,0 @@
|
|
|
1
|
-
import { useCssVars as we, computed as U, defineAsyncComponent as t, ref as r, watch as _, createElementBlock as I, openBlock as g, createElementVNode as V, createBlock as H, createCommentVNode as D, normalizeStyle as S, Fragment as Q, renderList as Te, normalizeClass as Ce, renderSlot as y, resolveDynamicComponent as Ie, mergeProps as Me, unref as k, createSlots as Oe, withCtx as R, normalizeProps as j, guardReactiveProps as K } from "vue";
|
|
2
|
-
import { u as $e, c as Pe } from "./index-BFqW8WA0.js";
|
|
3
|
-
import { u as Se } from "./useNestedProp-BSZCnuGl.js";
|
|
4
|
-
import "./BaseIcon-BLg8FaQ2.js";
|
|
5
|
-
import { _ as Re } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
6
|
-
import { u as ze } from "./usePrinter-DDIKRiOp.js";
|
|
7
|
-
import Ae from "./UserOptions-DEFwuQIo.js";
|
|
8
|
-
import { u as Xe } from "./useUserOptionState-BIvW1Kz7.js";
|
|
9
|
-
import _e from "./PenAndPaper-TgGWddgD.js";
|
|
10
|
-
const He = ["id"], De = ["onMousedown", "onTouchstart"], Ye = ["onMousedown", "onTouchstart"], We = ["onMousedown", "onTouchstart"], Ne = ["onMousedown", "onTouchstart"], Ee = ["onMousedown", "onTouchstart"], z = 1, Le = {
|
|
11
|
-
__name: "vue-ui-dashboard",
|
|
12
|
-
props: {
|
|
13
|
-
dataset: Array,
|
|
14
|
-
config: Object
|
|
15
|
-
},
|
|
16
|
-
emits: ["change"],
|
|
17
|
-
setup(q, { expose: J, emit: Z }) {
|
|
18
|
-
we((e) => ({
|
|
19
|
-
"60600e28": he.value,
|
|
20
|
-
"1eeafe32": fe.value
|
|
21
|
-
}));
|
|
22
|
-
const ee = {
|
|
23
|
-
VueDataUi: t(() => import("./vue-data-ui-vwh3dolO.js")),
|
|
24
|
-
VueUi3dBar: t(() => import("./vue-ui-3d-bar-DNw3RWRt.js")),
|
|
25
|
-
VueUiAccordion: t(() => import("./vue-ui-accordion-Cv747Pg6.js")),
|
|
26
|
-
VueUiAgePyramid: t(() => import("./vue-ui-age-pyramid-B1Yun-v7.js")),
|
|
27
|
-
VueUiAnnotator: t(() => import("./vue-ui-annotator-B_5hOApA.js")),
|
|
28
|
-
VueUiCandlestick: t(() => import("./vue-ui-candlestick-BBYqZVUp.js")),
|
|
29
|
-
VueUiChestnut: t(() => import("./vue-ui-chestnut-C4B0wEFn.js")),
|
|
30
|
-
VueUiDigits: t(() => import("./vue-ui-digits-Dr4OHGU0.js")),
|
|
31
|
-
VueUiDonut: t(() => import("./vue-ui-donut-xseR2SnT.js")),
|
|
32
|
-
VueUiDonutEvolution: t(() => import("./vue-ui-donut-evolution-hJh-1Z48.js")),
|
|
33
|
-
VueUiDumbbell: t(() => import("./vue-ui-dumbbell-FdTx7uAG.js")),
|
|
34
|
-
VueUiFlow: t(() => import("./vue-ui-flow-Bh6FqlC1.js")),
|
|
35
|
-
VueUiGalaxy: t(() => import("./vue-ui-galaxy-C0B8stYi.js")),
|
|
36
|
-
VueUiGauge: t(() => import("./vue-ui-gauge-B1-UiZwV.js")),
|
|
37
|
-
VueUiHeatmap: t(() => import("./vue-ui-heatmap-NfRSd6fU.js")),
|
|
38
|
-
VueUiKpi: t(() => import("./vue-ui-kpi-CH3rWyiG.js")),
|
|
39
|
-
VueUiMiniLoader: t(() => import("./vue-ui-mini-loader-D9EVnpxk.js")),
|
|
40
|
-
VueUiMolecule: t(() => import("./vue-ui-molecule-C973vfYh.js")),
|
|
41
|
-
VueUiMoodRadar: t(() => import("./vue-ui-mood-radar-DdLxBhlO.js")),
|
|
42
|
-
VueUiNestedDonuts: t(() => import("./vue-ui-nested-donuts-tARXMYzx.js")),
|
|
43
|
-
VueUiOnion: t(() => import("./vue-ui-onion-BC9czZGG.js")),
|
|
44
|
-
VueUiParallelCoordinatePlot: t(() => import("./vue-ui-parallel-coordinate-plot-CxDIkZKr.js")),
|
|
45
|
-
VueUiQuadrant: t(() => import("./vue-ui-quadrant-Bpm5ZoTp.js")),
|
|
46
|
-
VueUiQuickChart: t(() => import("./vue-ui-quick-chart-Bkc_JBCw.js")),
|
|
47
|
-
VueUiRadar: t(() => import("./vue-ui-radar-DVJQYNeL.js")),
|
|
48
|
-
VueUiRating: t(() => import("./vue-ui-rating-DITnRSiS.js")),
|
|
49
|
-
VueUiRelationCircle: t(() => import("./vue-ui-relation-circle-D_OTYUmS.js")),
|
|
50
|
-
VueUiRings: t(() => import("./vue-ui-rings-CUT1N_kK.js")),
|
|
51
|
-
VueUiScatter: t(() => import("./vue-ui-scatter-DwnZHy0V.js")),
|
|
52
|
-
VueUiSkeleton: t(() => import("./vue-ui-skeleton-CeyaKpZd.js")),
|
|
53
|
-
VueUiSmiley: t(() => import("./vue-ui-smiley-B9yNexWr.js")),
|
|
54
|
-
VueUiSparkHistogram: t(() => import("./vue-ui-sparkhistogram-DoZpd0H2.js")),
|
|
55
|
-
VueUiSparkStackbar: t(() => import("./vue-ui-sparkstackbar-DjoqH_Xs.js")),
|
|
56
|
-
VueUiSparkTrend: t(() => import("./vue-ui-spark-trend-DTYVcrHV.js")),
|
|
57
|
-
VueUiSparkbar: t(() => import("./vue-ui-sparkbar-BzxynYoW.js")),
|
|
58
|
-
VueUiSparkgauge: t(() => import("./vue-ui-sparkgauge-DoznCX5h.js")),
|
|
59
|
-
VueUiSparkline: t(() => import("./vue-ui-sparkline-ZKit-hgG.js")),
|
|
60
|
-
VueUiStripPlot: t(() => import("./vue-ui-strip-plot-CO7NVeFi.js")),
|
|
61
|
-
VueUiTable: t(() => import("./vue-ui-table-rmbBw_0d.js")),
|
|
62
|
-
VueUiTableHeatmap: t(() => import("./vue-ui-table-heatmap-BEFdai_O.js")),
|
|
63
|
-
VueUiTableSparkline: t(() => import("./vue-ui-table-sparkline-CjgaQXbc.js")),
|
|
64
|
-
VueUiThermometer: t(() => import("./vue-ui-thermometer--aqaJwFo.js")),
|
|
65
|
-
VueUiTimer: t(() => import("./vue-ui-timer-qFNHDcU_.js")),
|
|
66
|
-
VueUiTiremarks: t(() => import("./vue-ui-tiremarks-DA8fzQHo.js")),
|
|
67
|
-
VueUiTreemap: t(() => import("./vue-ui-treemap-DGC9zxon.js")),
|
|
68
|
-
VueUiVerticalBar: t(() => import("./vue-ui-vertical-bar-DOCeCCqz.js")),
|
|
69
|
-
VueUiHorizontalBar: t(() => import("./vue-ui-vertical-bar-DOCeCCqz.js")),
|
|
70
|
-
VueUiWaffle: t(() => import("./vue-ui-waffle-DD9jtkcQ.js")),
|
|
71
|
-
VueUiWheel: t(() => import("./vue-ui-wheel-87VStrfJ.js")),
|
|
72
|
-
VueUiWordCloud: t(() => import("./vue-ui-word-cloud-CCMfa9H1.js")),
|
|
73
|
-
VueUiXy: t(() => import("./vue-ui-xy-C2SnbN6w.js")),
|
|
74
|
-
VueUiXyCanvas: t(() => import("./vue-ui-xy-canvas-WxSJqoiF.js")),
|
|
75
|
-
VueUiCarouselTable: t(() => import("./vue-ui-carousel-table-DPIOnp9J.js")),
|
|
76
|
-
VueUiGizmo: t(() => import("./vue-ui-gizmo-Df_SCjOI.js")),
|
|
77
|
-
VueUiStackbar: t(() => import("./vue-ui-stackbar-J-gxI4Xn.js")),
|
|
78
|
-
VueUiBullet: t(() => import("./vue-ui-bullet-C2Aj7Lcx.js")),
|
|
79
|
-
VueUiFunnel: t(() => import("./vue-ui-funnel-BlsKhHbk.js")),
|
|
80
|
-
VueUiHistoryPlot: t(() => import("./vue-ui-history-plot-Ce-DJ8xC.js")),
|
|
81
|
-
VueUiCirclePack: t(() => import("./vue-ui-circle-pack-CLn19BHH.js")),
|
|
82
|
-
VueUiWorld: t(() => import("./vue-ui-world-Cm3Hn1-2.js")),
|
|
83
|
-
VueUiChord: t(() => import("./vue-ui-chord-B9Zml1V7.js")),
|
|
84
|
-
VueUiRidgeline: t(() => import("./vue-ui-ridgeline-Gc1c4LXq.js"))
|
|
85
|
-
}, { vue_ui_dashboard: oe } = $e(), te = r(null), ne = r(null), A = r(null), M = q, u = U(() => Se({
|
|
86
|
-
userConfig: M.config,
|
|
87
|
-
defaultConfig: oe
|
|
88
|
-
})), X = r(Pe()), p = r(u.value.locked);
|
|
89
|
-
function ie() {
|
|
90
|
-
p.value = !p.value;
|
|
91
|
-
}
|
|
92
|
-
_(() => M.config, () => {
|
|
93
|
-
p.value = u.value.locked, G.value = !u.value.userOptions.showOnChartHover;
|
|
94
|
-
});
|
|
95
|
-
function Y() {
|
|
96
|
-
return M.dataset.map((e, o) => ({
|
|
97
|
-
...e,
|
|
98
|
-
index: o
|
|
99
|
-
}));
|
|
100
|
-
}
|
|
101
|
-
const s = r(Y());
|
|
102
|
-
_(() => M.dataset, () => {
|
|
103
|
-
s.value = Y();
|
|
104
|
-
});
|
|
105
|
-
const W = U(
|
|
106
|
-
() => s.value.map((e) => ({
|
|
107
|
-
...e,
|
|
108
|
-
resolvedComponent: typeof e.component == "string" ? ee[e.component] : e.component
|
|
109
|
-
}))
|
|
110
|
-
), v = r(null), l = r(null), h = r({ x: 0, y: 0 }), f = r({ x: 0, y: 0 }), d = r(null), c = r(!1), m = r(null), w = r(!1);
|
|
111
|
-
function N(e) {
|
|
112
|
-
const o = e.target;
|
|
113
|
-
(o.tagName === "INPUT" && o.type === "range" || o.classList.contains("range-handle")) && (w.value = !0);
|
|
114
|
-
}
|
|
115
|
-
function E(e) {
|
|
116
|
-
const o = e.target;
|
|
117
|
-
o.tagName === "INPUT" && o.type === "range" && (w.value = !1);
|
|
118
|
-
}
|
|
119
|
-
const { isPrinting: ue, isImaging: ae, generatePdf: L, generateImage: le } = ze({
|
|
120
|
-
elementId: `vue-ui-dashboard_${X.value}`,
|
|
121
|
-
fileName: u.value.userOptions.print.filename || "dashboard",
|
|
122
|
-
options: {
|
|
123
|
-
...u.value.userOptions.print,
|
|
124
|
-
aspectRatio: u.value.style.board.aspectRatio
|
|
125
|
-
}
|
|
126
|
-
});
|
|
127
|
-
function re(e) {
|
|
128
|
-
if (!p.value && (c.value = !0, m.value = e, l.value === null)) {
|
|
129
|
-
v.value = e, h.value = { x: event.clientX, y: event.clientY };
|
|
130
|
-
const o = s.value[e], i = 100 - o.width, n = 100 - o.height;
|
|
131
|
-
o.left < 0 && (o.left = 0), o.top < 0 && (o.top = 0), o.left > i && (o.left = i), o.top > n && (o.top = n), o.left < 0 && (o.left = 0), o.top < 0 && (o.top = 0), o.left + o.width > 100 && (o.left = 100 - o.width), o.top + o.height > 100 && (o.top = 100 - o.height);
|
|
132
|
-
}
|
|
133
|
-
}
|
|
134
|
-
function O(e, o) {
|
|
135
|
-
c.value = !0, m.value = e, l.value = { index: e, direction: o };
|
|
136
|
-
const i = s.value[e];
|
|
137
|
-
f.value = { x: event.clientX, y: event.clientY, initialWidth: i.width, initialHeight: i.height };
|
|
138
|
-
}
|
|
139
|
-
function B(e, o, i) {
|
|
140
|
-
if (l.value.direction.includes("top")) {
|
|
141
|
-
const n = e.height - i / d.value.offsetHeight * 100;
|
|
142
|
-
n >= z && (e.top += i / d.value.offsetHeight * 100, e.height = n);
|
|
143
|
-
}
|
|
144
|
-
if (l.value.direction.includes("bottom")) {
|
|
145
|
-
const n = e.height + i / d.value.offsetHeight * 100;
|
|
146
|
-
n >= z && (e.height = n);
|
|
147
|
-
}
|
|
148
|
-
if (l.value.direction.includes("left")) {
|
|
149
|
-
const n = e.width - o / d.value.offsetWidth * 100;
|
|
150
|
-
n >= z && (e.left += o / d.value.offsetWidth * 100, e.width = n);
|
|
151
|
-
}
|
|
152
|
-
if (l.value.direction.includes("right")) {
|
|
153
|
-
const n = e.width + o / d.value.offsetWidth * 100;
|
|
154
|
-
n >= z && (e.width = n);
|
|
155
|
-
}
|
|
156
|
-
}
|
|
157
|
-
function se(e) {
|
|
158
|
-
if (!(p.value || w.value)) {
|
|
159
|
-
if (c.value = !0, v.value !== null) {
|
|
160
|
-
const o = s.value[v.value], i = e.clientX - h.value.x, n = e.clientY - h.value.y, a = o.left + i / d.value.offsetWidth * 100, b = o.top + n / d.value.offsetHeight * 100;
|
|
161
|
-
a >= 0 && b >= 0 && a + o.width <= 100 && b + o.height <= 100 && (o.left = a, o.top = b), h.value = { x: e.clientX, y: e.clientY };
|
|
162
|
-
}
|
|
163
|
-
if (l.value !== null) {
|
|
164
|
-
const o = s.value[l.value.index], i = e.clientX - f.value.x, n = e.clientY - f.value.y;
|
|
165
|
-
B(o, i, n), f.value = { x: e.clientX, y: e.clientY };
|
|
166
|
-
}
|
|
167
|
-
}
|
|
168
|
-
}
|
|
169
|
-
const de = Z;
|
|
170
|
-
_(
|
|
171
|
-
s,
|
|
172
|
-
(e) => {
|
|
173
|
-
e && !c.value && de("change", s.value);
|
|
174
|
-
},
|
|
175
|
-
{ deep: !0 }
|
|
176
|
-
);
|
|
177
|
-
function ce() {
|
|
178
|
-
v.value = null, l.value = null, c.value = !1, m.value = null, s.value.forEach((e) => {
|
|
179
|
-
e.left = Math.round(e.left / 100 * 100), e.top = Math.round(e.top / 100 * 100), e.width = Math.round(e.width / 100 * 100), e.height = Math.round(e.height / 100 * 100);
|
|
180
|
-
});
|
|
181
|
-
}
|
|
182
|
-
function pe(e) {
|
|
183
|
-
p.value || w.value || (c.value = !0, m.value = e, l.value === null && (v.value = e, h.value = { x: event.touches[0].clientX, y: event.touches[0].clientY }));
|
|
184
|
-
}
|
|
185
|
-
function $(e, o, i) {
|
|
186
|
-
if (c.value = !0, m.value = e, l.value === null) {
|
|
187
|
-
l.value = { index: e, direction: o };
|
|
188
|
-
const n = s.value[e];
|
|
189
|
-
f.value = { x: i.touches[0].clientX, y: i.touches[0].clientY, initialWidth: n.width, initialHeight: n.height };
|
|
190
|
-
}
|
|
191
|
-
}
|
|
192
|
-
function P(e) {
|
|
193
|
-
if (c.value = !0, e.preventDefault(), l.value !== null) {
|
|
194
|
-
const o = s.value[l.value.index], i = e.touches[0].clientX - f.value.x, n = e.touches[0].clientY - f.value.y;
|
|
195
|
-
B(o, i, n), f.value = { x: e.touches[0].clientX, y: e.touches[0].clientY };
|
|
196
|
-
}
|
|
197
|
-
}
|
|
198
|
-
function ve(e) {
|
|
199
|
-
if (!(p.value || w.value) && (c.value = !0, e.preventDefault(), v.value !== null)) {
|
|
200
|
-
const o = s.value[v.value], i = e.touches[0].clientX - h.value.x, n = e.touches[0].clientY - h.value.y, a = o.left + i / d.value.offsetWidth * 100, b = o.top + n / d.value.offsetHeight * 100;
|
|
201
|
-
a >= 0 && b >= 0 && a + o.width <= 100 && b + o.height <= 100 && (o.left = a, o.top = b), h.value = { x: e.touches[0].clientX, y: e.touches[0].clientY };
|
|
202
|
-
}
|
|
203
|
-
}
|
|
204
|
-
function T() {
|
|
205
|
-
c.value = !1, m.value = null, v.value = null, l.value = null, s.value.forEach((e) => {
|
|
206
|
-
e.left = Math.round(e.left / 100 * 100), e.top = Math.round(e.top / 100 * 100), e.width = Math.round(e.width / 100 * 100), e.height = Math.round(e.height / 100 * 100);
|
|
207
|
-
});
|
|
208
|
-
}
|
|
209
|
-
const he = U(() => u.value.style.item.borderColor), fe = U(() => u.value.style.resizeHandles.backgroundColor), me = U(() => u.value.style.board.aspectRatio), ge = U(() => u.value.style.board.backgroundColor), be = U(() => u.value.style.board.border);
|
|
210
|
-
function Ue() {
|
|
211
|
-
return s.value;
|
|
212
|
-
}
|
|
213
|
-
const { userOptionsVisible: G, setUserOptionsVisibility: F, keepUserOptionState: Ve } = Xe({ config: u.value }), C = r(!1);
|
|
214
|
-
function x() {
|
|
215
|
-
C.value = !C.value;
|
|
216
|
-
}
|
|
217
|
-
function ye() {
|
|
218
|
-
F(!0);
|
|
219
|
-
}
|
|
220
|
-
function ke() {
|
|
221
|
-
F(!1);
|
|
222
|
-
}
|
|
223
|
-
return J({
|
|
224
|
-
generatePdf: L,
|
|
225
|
-
getItemsPositions: Ue,
|
|
226
|
-
toggleLock: ie
|
|
227
|
-
}), (e, o) => (g(), I("div", {
|
|
228
|
-
id: `vue-ui-dashboard_${X.value}`,
|
|
229
|
-
onMousedown: N,
|
|
230
|
-
onMouseup: E,
|
|
231
|
-
onTouchstart: N,
|
|
232
|
-
onTouchend: E,
|
|
233
|
-
onMouseenter: ye,
|
|
234
|
-
onMouseleave: ke,
|
|
235
|
-
ref_key: "dashboardRef",
|
|
236
|
-
ref: te,
|
|
237
|
-
style: {
|
|
238
|
-
position: "relative"
|
|
239
|
-
}
|
|
240
|
-
}, [
|
|
241
|
-
V("div", {
|
|
242
|
-
class: "vue-ui-dashboard-container",
|
|
243
|
-
ref_key: "dashboardContainer",
|
|
244
|
-
ref: d,
|
|
245
|
-
style: S(`outline:${be.value}; background:${ge.value}; aspect-ratio:${me.value};${C.value ? "pointer-events:none" : ""}`)
|
|
246
|
-
}, [
|
|
247
|
-
V("div", {
|
|
248
|
-
class: "vue-ui-dashboard-grid-container",
|
|
249
|
-
ref: "container",
|
|
250
|
-
onMousemove: se,
|
|
251
|
-
onMouseup: ce,
|
|
252
|
-
onTouchmove: ve,
|
|
253
|
-
onTouchend: T,
|
|
254
|
-
style: S(`background:${u.value.style.board.backgroundColor}`)
|
|
255
|
-
}, [
|
|
256
|
-
o[4] || (o[4] = V("div", { class: "vue-ui-dashboard-grid" }, null, -1)),
|
|
257
|
-
(g(!0), I(Q, null, Te(W.value, (i, n) => (g(), I("div", {
|
|
258
|
-
key: i.id,
|
|
259
|
-
class: Ce({ "vue-ui-dashboard-grid-item": !0, "vue-ui-dashboard-grid-item--locked": p.value }),
|
|
260
|
-
style: S({
|
|
261
|
-
width: `${i.width}%`,
|
|
262
|
-
height: `${i.height}%`,
|
|
263
|
-
left: `${i.left}%`,
|
|
264
|
-
top: `${i.top}%`,
|
|
265
|
-
cursor: "move",
|
|
266
|
-
boxShadow: m.value === n ? "0 6px 12px -3px rgba(0,0,0,0.3)" : "",
|
|
267
|
-
zIndex: m.value === n ? W.value.length + 1 : i.index,
|
|
268
|
-
backgroundColor: u.value.style.item.backgroundColor
|
|
269
|
-
}),
|
|
270
|
-
onMousedown: (a) => re(n),
|
|
271
|
-
onTouchstart: (a) => pe(n)
|
|
272
|
-
}, [
|
|
273
|
-
p.value ? D("", !0) : (g(), I(Q, { key: 0 }, [
|
|
274
|
-
V("div", {
|
|
275
|
-
class: "vue-ui-dashboard-resize-handle vue-ui-dashboard-top-left",
|
|
276
|
-
onMousedown: (a) => O(n, "top-left"),
|
|
277
|
-
onTouchstart: (a) => $(n, "top-left", a),
|
|
278
|
-
onTouchmove: o[0] || (o[0] = (a) => P(a)),
|
|
279
|
-
onTouchend: T
|
|
280
|
-
}, null, 40, Ye),
|
|
281
|
-
V("div", {
|
|
282
|
-
class: "vue-ui-dashboard-resize-handle vue-ui-dashboard-top-right",
|
|
283
|
-
onMousedown: (a) => O(n, "top-right"),
|
|
284
|
-
onTouchstart: (a) => $(n, "top-right", a),
|
|
285
|
-
onTouchmove: o[1] || (o[1] = (a) => P(a)),
|
|
286
|
-
onTouchend: T
|
|
287
|
-
}, null, 40, We),
|
|
288
|
-
V("div", {
|
|
289
|
-
class: "vue-ui-dashboard-resize-handle vue-ui-dashboard-bottom-left",
|
|
290
|
-
onMousedown: (a) => O(n, "bottom-left"),
|
|
291
|
-
onTouchstart: (a) => $(n, "bottom-left", a),
|
|
292
|
-
onTouchmove: o[2] || (o[2] = (a) => P(a)),
|
|
293
|
-
onTouchend: T
|
|
294
|
-
}, null, 40, Ne),
|
|
295
|
-
V("div", {
|
|
296
|
-
class: "vue-ui-dashboard-resize-handle vue-ui-dashboard-bottom-right",
|
|
297
|
-
onMousedown: (a) => O(n, "bottom-right"),
|
|
298
|
-
onTouchstart: (a) => $(n, "bottom-right", a),
|
|
299
|
-
onTouchmove: o[3] || (o[3] = (a) => P(a)),
|
|
300
|
-
onTouchend: T
|
|
301
|
-
}, null, 40, Ee)
|
|
302
|
-
], 64)),
|
|
303
|
-
y(e.$slots, "top", {
|
|
304
|
-
item: i,
|
|
305
|
-
index: n
|
|
306
|
-
}, void 0, !0),
|
|
307
|
-
i.resolvedComponent ? (g(), H(Ie(i.resolvedComponent), Me({
|
|
308
|
-
key: 1,
|
|
309
|
-
ref_for: !0
|
|
310
|
-
}, i.props), null, 16)) : y(e.$slots, "content", {
|
|
311
|
-
key: 2,
|
|
312
|
-
item: i,
|
|
313
|
-
index: n,
|
|
314
|
-
left: i.left,
|
|
315
|
-
top: i.top,
|
|
316
|
-
height: i.height,
|
|
317
|
-
width: i.width
|
|
318
|
-
}, void 0, !0),
|
|
319
|
-
y(e.$slots, "bottom", {
|
|
320
|
-
item: i,
|
|
321
|
-
index: n
|
|
322
|
-
}, void 0, !0)
|
|
323
|
-
], 46, De))), 128))
|
|
324
|
-
], 36)
|
|
325
|
-
], 4),
|
|
326
|
-
(g(), I("svg", {
|
|
327
|
-
style: {
|
|
328
|
-
width: "100%",
|
|
329
|
-
height: "100%",
|
|
330
|
-
pointerEvents: "none",
|
|
331
|
-
position: "absolute",
|
|
332
|
-
top: 0,
|
|
333
|
-
left: 0,
|
|
334
|
-
zIndex: 2
|
|
335
|
-
},
|
|
336
|
-
ref_key: "svgRef",
|
|
337
|
-
ref: A
|
|
338
|
-
}, null, 512)),
|
|
339
|
-
u.value.userOptions.buttons.annotator && d.value && A.value ? (g(), H(_e, {
|
|
340
|
-
key: 0,
|
|
341
|
-
color: u.value.style.board.color,
|
|
342
|
-
backgroundColor: u.value.style.board.backgroundColor,
|
|
343
|
-
active: C.value,
|
|
344
|
-
svgRef: A.value,
|
|
345
|
-
onClose: x,
|
|
346
|
-
style: {
|
|
347
|
-
zIndex: 2
|
|
348
|
-
}
|
|
349
|
-
}, null, 8, ["color", "backgroundColor", "active", "svgRef"])) : D("", !0),
|
|
350
|
-
(u.value.allowPrint || u.value.userOptions.show) && (u.value.userOptions.buttons.pdf || u.value.userOptions.buttons.img) ? (g(), H(Ae, {
|
|
351
|
-
key: 1,
|
|
352
|
-
ref_key: "userOptionsRef",
|
|
353
|
-
ref: ne,
|
|
354
|
-
backgroundColor: u.value.style.board.backgroundColor,
|
|
355
|
-
color: u.value.style.board.color,
|
|
356
|
-
isPrinting: k(ue),
|
|
357
|
-
isImaging: k(ae),
|
|
358
|
-
uid: X.value,
|
|
359
|
-
position: u.value.userOptions.position,
|
|
360
|
-
hasTooltip: !1,
|
|
361
|
-
hasPdf: u.value.userOptions.buttons.pdf,
|
|
362
|
-
hasImg: u.value.userOptions.buttons.img,
|
|
363
|
-
hasXls: !1,
|
|
364
|
-
hasTable: !1,
|
|
365
|
-
hasLabel: !1,
|
|
366
|
-
hasFullscreen: !1,
|
|
367
|
-
chartElement: d.value,
|
|
368
|
-
callbacks: u.value.userOptions.callbacks,
|
|
369
|
-
hasAnnotator: u.value.userOptions.buttons.annotator,
|
|
370
|
-
isAnnotation: C.value,
|
|
371
|
-
printScale: u.value.userOptions.print.scale,
|
|
372
|
-
titles: { ...u.value.userOptions.buttonTitles },
|
|
373
|
-
onGeneratePdf: k(L),
|
|
374
|
-
onGenerateImage: k(le),
|
|
375
|
-
onToggleAnnotator: x,
|
|
376
|
-
style: S({ visibility: k(Ve) ? k(G) ? "visible" : "hidden" : "visible", zIndex: 2 })
|
|
377
|
-
}, Oe({ _: 2 }, [
|
|
378
|
-
e.$slots.menuIcon ? {
|
|
379
|
-
name: "menuIcon",
|
|
380
|
-
fn: R(({ isOpen: i, color: n }) => [
|
|
381
|
-
y(e.$slots, "menuIcon", j(K({ isOpen: i, color: n })), void 0, !0)
|
|
382
|
-
]),
|
|
383
|
-
key: "0"
|
|
384
|
-
} : void 0,
|
|
385
|
-
e.$slots.optionPdf ? {
|
|
386
|
-
name: "optionPdf",
|
|
387
|
-
fn: R(() => [
|
|
388
|
-
y(e.$slots, "optionPdf", {}, void 0, !0)
|
|
389
|
-
]),
|
|
390
|
-
key: "1"
|
|
391
|
-
} : void 0,
|
|
392
|
-
e.$slots.optionImg ? {
|
|
393
|
-
name: "optionImg",
|
|
394
|
-
fn: R(() => [
|
|
395
|
-
y(e.$slots, "optionImg", {}, void 0, !0)
|
|
396
|
-
]),
|
|
397
|
-
key: "2"
|
|
398
|
-
} : void 0,
|
|
399
|
-
e.$slots.optionAnnotator ? {
|
|
400
|
-
name: "optionAnnotator",
|
|
401
|
-
fn: R(({ toggleAnnotator: i, isAnnotator: n }) => [
|
|
402
|
-
y(e.$slots, "optionAnnotator", j(K({ toggleAnnotator: i, isAnnotator: n })), void 0, !0)
|
|
403
|
-
]),
|
|
404
|
-
key: "3"
|
|
405
|
-
} : void 0
|
|
406
|
-
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "position", "hasPdf", "hasImg", "chartElement", "callbacks", "hasAnnotator", "isAnnotation", "printScale", "titles", "onGeneratePdf", "onGenerateImage", "style"])) : D("", !0)
|
|
407
|
-
], 40, He));
|
|
408
|
-
}
|
|
409
|
-
}, Ze = /* @__PURE__ */ Re(Le, [["__scopeId", "data-v-e51f13e1"]]);
|
|
410
|
-
export {
|
|
411
|
-
Ze as default
|
|
412
|
-
};
|