vue-data-ui 2.14.1 → 2.14.3-beta.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 +17 -0
- package/dist/{Arrow-HJLeHmf6.js → Arrow-DrUXalK1.js} +1 -1
- package/dist/{BaseDraggableDialog-DxqOerJ8.js → BaseDraggableDialog-BBiAE4t8.js} +2 -2
- package/dist/{BaseIcon-61ZYnf6Y.js → BaseIcon-avTvifnO.js} +1 -1
- package/dist/{ColorPicker-DiOZ0dIA.js → ColorPicker-BAOfnFRQ.js} +2 -2
- package/dist/{DataTable-CvEYBbuI.js → DataTable-D8n1mvaG.js} +2 -2
- package/dist/{Legend-ChpNJ_NF.js → Legend-Cpx0xSce.js} +4 -4
- package/dist/{NonSvgPenAndPaper-cf1P3kEq.js → NonSvgPenAndPaper-ClnGCm8G.js} +3 -3
- package/dist/{PackageVersion-CczS07-5.js → PackageVersion-Bwu7jdjH.js} +2 -2
- package/dist/{PenAndPaper-CqPrXvIl.js → PenAndPaper-BzQcbTCN.js} +3 -3
- package/dist/{Shape-Bdn11q8F.js → Shape-D65xhJAN.js} +1 -1
- package/dist/{Slicer-D9JY91SV.js → Slicer-DjwiDPEk.js} +14 -14
- package/dist/{SparkTooltip-B6ZYyu7F.js → SparkTooltip-B8nH7aKM.js} +1 -1
- package/dist/{Title-CjfBFzRf.js → Title-B71Dk29x.js} +1 -1
- package/dist/{Tooltip-BZpxnTbb.js → Tooltip-BuP-Tir7.js} +1 -1
- package/dist/{UserOptions-DVYwPBK2.js → UserOptions-fd2DeGS7.js} +2 -2
- package/dist/{dom-to-png-Dya0UERi.js → dom-to-png-D7idYX2d.js} +1 -1
- package/dist/{img-CuEOfq14.js → img-CSeVuPYh.js} +1 -1
- package/dist/{index-BgrDsHvy.js → index-BzH6XFI9.js} +413 -394
- package/dist/{pdf-D10HhJgy.js → pdf-ksl9rS7r.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +4 -0
- package/dist/types/vue-data-ui.d.ts +4 -0
- package/dist/{useNestedProp-Cw4jG3FY.js → useNestedProp-CKM2gCr5.js} +1 -1
- package/dist/{usePrinter-DzxhXGdR.js → usePrinter-C653sJjz.js} +2 -2
- package/dist/{vue-data-ui-CMV-krGM.js → vue-data-ui-DdffTqYM.js} +63 -63
- package/dist/vue-data-ui.js +21 -21
- package/dist/{vue-ui-3d-bar-CP4gDeA9.js → vue-ui-3d-bar-vdc7daf_.js} +5 -5
- package/dist/{vue-ui-accordion-m8te3vGO.js → vue-ui-accordion-Cjq4hqGi.js} +3 -3
- package/dist/{vue-ui-age-pyramid-C8uZPTAY.js → vue-ui-age-pyramid-CMFgIKLE.js} +5 -5
- package/dist/{vue-ui-annotator-CiIkCJ6S.js → vue-ui-annotator-BvODcd7y.js} +2 -2
- package/dist/{vue-ui-bullet-D7GCFc-g.js → vue-ui-bullet-BX73-v3g.js} +6 -6
- package/dist/{vue-ui-candlestick-B8jQjSpc.js → vue-ui-candlestick-Ogvne-GG.js} +6 -6
- package/dist/{vue-ui-carousel-table-Cm4mh1bm.js → vue-ui-carousel-table-DXeRsoL_.js} +4 -4
- package/dist/{vue-ui-chestnut-xJx3qXST.js → vue-ui-chestnut-DXDQOgbn.js} +4 -4
- package/dist/{vue-ui-chord-DeMiI8ma.js → vue-ui-chord-CWStby-a.js} +7 -7
- package/dist/{vue-ui-circle-pack-CIYfy0qC.js → vue-ui-circle-pack-C4kdJPNJ.js} +5 -5
- package/dist/{vue-ui-cursor-D9Z3w8f_.js → vue-ui-cursor-Du4IVYWM.js} +2 -2
- package/dist/{vue-ui-dashboard-f6jQBHYW.js → vue-ui-dashboard-XpoAcLb4.js} +62 -62
- package/dist/{vue-ui-digits-BT16JoAt.js → vue-ui-digits-Ce_eR3L5.js} +2 -2
- package/dist/{vue-ui-donut-u7q9NrFK.js → vue-ui-donut-D6VPixUt.js} +188 -188
- package/dist/{vue-ui-donut-evolution-BCMm8STJ.js → vue-ui-donut-evolution-C3MA75pG.js} +309 -293
- package/dist/{vue-ui-dumbbell-CoopXtZe.js → vue-ui-dumbbell-CeQOb65i.js} +6 -6
- package/dist/{vue-ui-flow-BFgXTv_3.js → vue-ui-flow-D-_7gBhg.js} +26 -26
- package/dist/{vue-ui-funnel-DKgnIXPL.js → vue-ui-funnel-BsXNYzPK.js} +5 -5
- package/dist/{vue-ui-galaxy-Cq6YBbi_.js → vue-ui-galaxy--N2CYrWl.js} +4 -4
- package/dist/{vue-ui-gauge-D-vM39d0.js → vue-ui-gauge-DhKGlAJd.js} +5 -5
- package/dist/{vue-ui-gizmo-D3RZqfAG.js → vue-ui-gizmo-Bcwgwj-f.js} +3 -3
- package/dist/{vue-ui-heatmap-DPL8z3cI.js → vue-ui-heatmap-BlY7-ZUF.js} +6 -6
- package/dist/{vue-ui-history-plot-CSXwsNpD.js → vue-ui-history-plot-typzqDiw.js} +234 -210
- package/dist/{vue-ui-kpi-b8tHwa8_.js → vue-ui-kpi-Cj_96Iru.js} +3 -3
- package/dist/{vue-ui-mini-loader-CdY-ZkhQ.js → vue-ui-mini-loader-Dr42qu-K.js} +2 -2
- package/dist/{vue-ui-molecule-3h00FH5s.js → vue-ui-molecule-DfQCNRcr.js} +16 -16
- package/dist/{vue-ui-mood-radar-D33gSEOC.js → vue-ui-mood-radar-ChryER9p.js} +19 -19
- package/dist/{vue-ui-nested-donuts-B0A0vXtk.js → vue-ui-nested-donuts-CWm-A-co.js} +90 -90
- package/dist/{vue-ui-onion-a8_JDLyl.js → vue-ui-onion-Bb8s5St0.js} +6 -6
- package/dist/{vue-ui-parallel-coordinate-plot-1LlN6F0r.js → vue-ui-parallel-coordinate-plot-DcD53HSq.js} +188 -171
- package/dist/{vue-ui-quadrant-N0rhTZ5W.js → vue-ui-quadrant-CpuFmTG9.js} +243 -225
- package/dist/{vue-ui-quick-chart-Wv8KVB-d.js → vue-ui-quick-chart-BHO_J8Tc.js} +369 -353
- package/dist/{vue-ui-radar-CzniRpn-.js → vue-ui-radar-LsSH7YAg.js} +45 -45
- package/dist/{vue-ui-rating-Cf_RDtUI.js → vue-ui-rating-rcN8C68M.js} +8 -8
- package/dist/{vue-ui-relation-circle-Bo_-vb66.js → vue-ui-relation-circle-CmZ8rXwC.js} +5 -5
- package/dist/{vue-ui-ridgeline-DjU5kQwH.js → vue-ui-ridgeline-CpXWT3tk.js} +185 -165
- package/dist/{vue-ui-rings-CpOhLhDo.js → vue-ui-rings-x_HCzzIw.js} +7 -7
- package/dist/{vue-ui-scatter-Diq2Iio2.js → vue-ui-scatter-DNgUU2mO.js} +49 -49
- package/dist/{vue-ui-skeleton-B8Wzi4Hi.js → vue-ui-skeleton-qa5B2MES.js} +3 -3
- package/dist/{vue-ui-smiley-O2q3w9fQ.js → vue-ui-smiley-C0DEaxQK.js} +2 -2
- package/dist/{vue-ui-spark-trend-BTnR034D.js → vue-ui-spark-trend-DjctYLri.js} +3 -3
- package/dist/{vue-ui-sparkbar-B5SlfKQN.js → vue-ui-sparkbar-Un3CJINy.js} +3 -3
- package/dist/{vue-ui-sparkgauge-B_BVnGgV.js → vue-ui-sparkgauge-BascS5LC.js} +8 -8
- package/dist/{vue-ui-sparkhistogram-CowIuwbW.js → vue-ui-sparkhistogram-CZYnWAUW.js} +4 -4
- package/dist/{vue-ui-sparkline-Ogfd0FmW.js → vue-ui-sparkline-DyIDPpiz.js} +11 -11
- package/dist/{vue-ui-sparkstackbar-B5SnjytL.js → vue-ui-sparkstackbar-Ctz_OFbi.js} +3 -3
- package/dist/{vue-ui-stackbar-Co6Ly31u.js → vue-ui-stackbar-DqIv6O-t.js} +417 -373
- package/dist/{vue-ui-strip-plot-B-dKieOC.js → vue-ui-strip-plot-BAfdL6Ih.js} +202 -184
- package/dist/{vue-ui-table-DlM8IVJC.js → vue-ui-table-CCMkrVp7.js} +3 -3
- package/dist/{vue-ui-table-heatmap-C-G1Vr3i.js → vue-ui-table-heatmap--gO5Zuyp.js} +18 -18
- package/dist/{vue-ui-table-sparkline-Dh3m5rHW.js → vue-ui-table-sparkline-5HTiQPhC.js} +4 -4
- package/dist/{vue-ui-thermometer-COAiS2i7.js → vue-ui-thermometer-BbxNtsdP.js} +5 -5
- package/dist/{vue-ui-timer-Bnxo2caA.js → vue-ui-timer-DwUmt-Jo.js} +5 -5
- package/dist/{vue-ui-tiremarks-D1gy7-Uu.js → vue-ui-tiremarks-YyiGuluO.js} +5 -5
- package/dist/{vue-ui-treemap-_qyTaKiq.js → vue-ui-treemap-hHSyoGry.js} +7 -7
- package/dist/{vue-ui-vertical-bar-CKbzxqWL.js → vue-ui-vertical-bar-Bjyjarmi.js} +8 -8
- package/dist/{vue-ui-waffle-_IX54mhp.js → vue-ui-waffle-B3lfeeZs.js} +246 -242
- package/dist/{vue-ui-wheel-BT1vFZGN.js → vue-ui-wheel-DrVnxe3n.js} +5 -5
- package/dist/{vue-ui-word-cloud-B0ZKf-0k.js → vue-ui-word-cloud-CRFfYl4B.js} +15 -15
- package/dist/{vue-ui-world-CBDKYFwQ.js → vue-ui-world-BeVT9bsc.js} +5 -5
- package/dist/{vue-ui-xy-ChqEX06H.js → vue-ui-xy-B6LjQd7h.js} +591 -570
- package/dist/{vue-ui-xy-canvas-Dca_tr3r.js → vue-ui-xy-canvas-DviTudRz.js} +7 -7
- package/package.json +1 -1
|
@@ -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-CKM2gCr5.js";
|
|
3
|
+
import { u as M, i as E, f as I } from "./index-BzH6XFI9.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-Ce_eR3L5.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-CKM2gCr5.js";
|
|
3
|
+
import { u as y, X as L } from "./index-BzH6XFI9.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,7 +1,7 @@
|
|
|
1
1
|
import { useCssVars as Qe, defineAsyncComponent as p, computed as k, onMounted as Je, ref as c, watch as Ke, createElementBlock as y, openBlock as r, unref as l, normalizeStyle as B, normalizeClass as he, createBlock as $, createCommentVNode as f, createVNode as F, createSlots as et, withCtx as d, renderSlot as i, normalizeProps as w, guardReactiveProps as T, createElementVNode as _, Fragment as tt, renderList as ot, createTextVNode as lt, toDisplayString as st, nextTick as at } from "vue";
|
|
2
|
-
import { u as nt, o as rt, e as it, c as pe, t as ut, p as fe, a as ct, b as dt,
|
|
3
|
-
import { u as me } from "./useNestedProp-
|
|
4
|
-
import { u as kt } from "./usePrinter-
|
|
2
|
+
import { u as nt, o as rt, e as it, c as pe, t as ut, p as fe, a as ct, b as dt, Q as vt, X as ht, l as pt, R as ft, d as ge, q as gt, r as mt, x as yt, y as bt } from "./index-BzH6XFI9.js";
|
|
3
|
+
import { u as me } from "./useNestedProp-CKM2gCr5.js";
|
|
4
|
+
import { u as kt } from "./usePrinter-C653sJjz.js";
|
|
5
5
|
import { u as Ct } from "./useUserOptionState-BIvW1Kz7.js";
|
|
6
6
|
import { u as $t } from "./useChartAccessibility-9icAAmYg.js";
|
|
7
7
|
import { u as wt } from "./usePanZoom-BQMvRXEQ.js";
|
|
@@ -25,7 +25,7 @@ const Ot = ["id"], Pt = {
|
|
|
25
25
|
key: 8,
|
|
26
26
|
ref: "source",
|
|
27
27
|
dir: "auto"
|
|
28
|
-
},
|
|
28
|
+
}, Rt = ["innerHTML"], Ut = {
|
|
29
29
|
__name: "vue-ui-molecule",
|
|
30
30
|
props: {
|
|
31
31
|
config: {
|
|
@@ -46,7 +46,7 @@ const Ot = ["id"], Pt = {
|
|
|
46
46
|
Qe((t) => ({
|
|
47
47
|
"1859f908": t.slicerColor
|
|
48
48
|
}));
|
|
49
|
-
const Ce = p(() => import("./vue-ui-accordion-
|
|
49
|
+
const Ce = p(() => import("./vue-ui-accordion-Cjq4hqGi.js")), $e = p(() => import("./BaseIcon-avTvifnO.js")), we = p(() => import("./DataTable-D8n1mvaG.js")), Te = p(() => import("./PackageVersion-Bwu7jdjH.js")), Oe = p(() => import("./PenAndPaper-BzQcbTCN.js")), Pe = p(() => import("./RecursiveCircles-Dn3TGoL6.js")), Ae = p(() => import("./RecursiveLabels-NTMB9w5C.js")), Ie = p(() => import("./RecursiveLinks-ld_gDZH4.js")), Ne = p(() => import("./vue-ui-skeleton-qa5B2MES.js")), Fe = p(() => import("./Title-B71Dk29x.js")), _e = p(() => import("./Tooltip-BuP-Tir7.js")), Se = p(() => import("./UserOptions-fd2DeGS7.js")), { vue_ui_molecule: Le } = nt(), C = ye, De = ke, S = k(() => !!C.dataset && C.dataset.length);
|
|
50
50
|
Je(() => {
|
|
51
51
|
W();
|
|
52
52
|
});
|
|
@@ -56,7 +56,7 @@ const Ot = ["id"], Pt = {
|
|
|
56
56
|
type: "dataset"
|
|
57
57
|
});
|
|
58
58
|
}
|
|
59
|
-
const
|
|
59
|
+
const R = c(pe()), Be = c(null), U = c(!1), L = c(""), E = c(null), X = c(0), j = c(0), Y = c(0), e = k({
|
|
60
60
|
get: () => Q(),
|
|
61
61
|
set: (t) => t
|
|
62
62
|
}), { userOptionsVisible: x, setUserOptionsVisibility: Z, keepUserOptionState: q } = Ct({ config: e.value }), { svgRef: z } = $t({ config: e.value.style.chart.title });
|
|
@@ -77,10 +77,10 @@ const Ot = ["id"], Pt = {
|
|
|
77
77
|
e.value = Q(), x.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;
|
|
78
78
|
}, { deep: !0 });
|
|
79
79
|
const { isPrinting: J, isImaging: K, generatePdf: ee, generateImage: te } = kt({
|
|
80
|
-
elementId: `cluster_${
|
|
80
|
+
elementId: `cluster_${R.value}`,
|
|
81
81
|
fileName: e.value.style.chart.title.text || "vue-ui-molecule",
|
|
82
82
|
options: e.value.userOptions.print
|
|
83
|
-
}),
|
|
83
|
+
}), Re = k(() => e.value.userOptions.show && !e.value.style.chart.title.text), Ue = k(() => dt(e.value.customPalette)), h = c({
|
|
84
84
|
showTable: e.value.table.show,
|
|
85
85
|
showDataLabels: !0,
|
|
86
86
|
showTooltip: e.value.style.chart.tooltip.show
|
|
@@ -114,7 +114,7 @@ const Ot = ["id"], Pt = {
|
|
|
114
114
|
return M.startsWith("#") ? M : `#${M}`;
|
|
115
115
|
})() : null;
|
|
116
116
|
let P;
|
|
117
|
-
ve ? P = ve : G === 0 ? P = g : G === 1 ? (P =
|
|
117
|
+
ve ? P = ve : G === 0 ? P = g : G === 1 ? (P = Ue.value[u] || fe[u] || g, u += 1) : P = g, m.polygonPath = { coordinates: [de] }, m.circleRadius = n, m.color = P, m.uid = pe(), Array.isArray(m.nodes) && m.nodes.length && (m.nodes = le(
|
|
118
118
|
m.nodes,
|
|
119
119
|
de,
|
|
120
120
|
o / 2.9,
|
|
@@ -174,7 +174,7 @@ const Ot = ["id"], Pt = {
|
|
|
174
174
|
}
|
|
175
175
|
const se = c(null), A = c(null);
|
|
176
176
|
function Ve(t) {
|
|
177
|
-
se.value = t, t ? (
|
|
177
|
+
se.value = t, t ? (U.value = !0, He(t), A.value = t.uid) : (U.value = !1, L.value = "", A.value = null);
|
|
178
178
|
}
|
|
179
179
|
function Ge(t) {
|
|
180
180
|
const s = [];
|
|
@@ -276,7 +276,7 @@ const Ot = ["id"], Pt = {
|
|
|
276
276
|
ref: E,
|
|
277
277
|
class: he(`vue-ui-molecule ${I.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
|
|
278
278
|
style: B(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor}`),
|
|
279
|
-
id: `cluster_${
|
|
279
|
+
id: `cluster_${R.value}`,
|
|
280
280
|
onMouseleave: s[2] || (s[2] = (o) => {
|
|
281
281
|
se.value = null, A.value = null, l(Z)(!1);
|
|
282
282
|
}),
|
|
@@ -290,7 +290,7 @@ const Ot = ["id"], Pt = {
|
|
|
290
290
|
active: N.value,
|
|
291
291
|
onClose: V
|
|
292
292
|
}, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : f("", !0),
|
|
293
|
-
|
|
293
|
+
Re.value ? (r(), y("div", Pt, null, 512)) : f("", !0),
|
|
294
294
|
e.value.style.chart.title.text ? (r(), y("div", At, [
|
|
295
295
|
(r(), $(l(Fe), {
|
|
296
296
|
key: `title_${j.value}`,
|
|
@@ -314,7 +314,7 @@ const Ot = ["id"], Pt = {
|
|
|
314
314
|
color: e.value.style.chart.color,
|
|
315
315
|
isPrinting: l(J),
|
|
316
316
|
isImaging: l(K),
|
|
317
|
-
uid:
|
|
317
|
+
uid: R.value,
|
|
318
318
|
hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.chart.tooltip.show,
|
|
319
319
|
hasPdf: e.value.userOptions.buttons.pdf,
|
|
320
320
|
hasXls: e.value.userOptions.buttons.csv,
|
|
@@ -510,7 +510,7 @@ const Ot = ["id"], Pt = {
|
|
|
510
510
|
i(t.$slots, "source", {}, void 0, !0)
|
|
511
511
|
], 512)) : f("", !0),
|
|
512
512
|
F(l(_e), {
|
|
513
|
-
show: h.value.showTooltip &&
|
|
513
|
+
show: h.value.showTooltip && U.value,
|
|
514
514
|
backgroundColor: e.value.style.chart.tooltip.backgroundColor,
|
|
515
515
|
color: e.value.style.chart.tooltip.color,
|
|
516
516
|
borderRadius: e.value.style.chart.tooltip.borderRadius,
|
|
@@ -563,7 +563,7 @@ const Ot = ["id"], Pt = {
|
|
|
563
563
|
_("div", {
|
|
564
564
|
innerHTML: o,
|
|
565
565
|
style: { display: "flex", "align-items": "center" }
|
|
566
|
-
}, null, 8,
|
|
566
|
+
}, null, 8, Rt)
|
|
567
567
|
]),
|
|
568
568
|
td: d(({ td: o }) => [
|
|
569
569
|
lt(st(o.name || o), 1)
|
|
@@ -575,7 +575,7 @@ const Ot = ["id"], Pt = {
|
|
|
575
575
|
}, 8, ["config"])) : f("", !0)
|
|
576
576
|
], 46, Ot));
|
|
577
577
|
}
|
|
578
|
-
}, Xt = /* @__PURE__ */ Tt(
|
|
578
|
+
}, Xt = /* @__PURE__ */ Tt(Ut, [["__scopeId", "data-v-20a9487b"]]);
|
|
579
579
|
export {
|
|
580
580
|
Xt as default
|
|
581
581
|
};
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { defineAsyncComponent as _, computed as c, onMounted as Ae, ref as y, watch as Oe, createElementBlock as h, openBlock as r, unref as a, normalizeStyle as I, normalizeClass as te, createBlock as m, createCommentVNode as i, renderSlot as v, createVNode as U, createSlots as Te, withCtx as f, normalizeProps as F, guardReactiveProps as S, createElementVNode as s, Fragment as oe, renderList as le, toDisplayString as O, createTextVNode as ae, nextTick as Le } from "vue";
|
|
2
|
-
import { u as Ie, o as Fe, e as se, c as Se, a as Ve,
|
|
3
|
-
import { u as ne } from "./useNestedProp-
|
|
4
|
-
import { u as De } from "./usePrinter-
|
|
2
|
+
import { u as Ie, o as Fe, e as se, c as Se, a as Ve, R as je, X as Re, s as C, w as Be, S as Ue, i as re, f as V, q as We, r as ze } from "./index-BzH6XFI9.js";
|
|
3
|
+
import { u as ne } from "./useNestedProp-CKM2gCr5.js";
|
|
4
|
+
import { u as De } from "./usePrinter-C653sJjz.js";
|
|
5
5
|
import { u as Ee } from "./useUserOptionState-BIvW1Kz7.js";
|
|
6
6
|
import { u as Ge } from "./useChartAccessibility-9icAAmYg.js";
|
|
7
|
-
import He from "./Legend-
|
|
8
|
-
import Xe from "./Title-
|
|
7
|
+
import He from "./Legend-Cpx0xSce.js";
|
|
8
|
+
import Xe from "./Title-B71Dk29x.js";
|
|
9
9
|
import { _ as Ke } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
10
|
-
const qe = ["id"],
|
|
10
|
+
const qe = ["id"], Ye = {
|
|
11
11
|
key: 2,
|
|
12
12
|
style: "width:100%;background:transparent"
|
|
13
|
-
},
|
|
13
|
+
}, Je = ["xmlns", "viewBox"], Qe = ["width", "height"], Ze = ["id"], et = ["stop-color"], tt = ["stop-color"], ot = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], lt = ["d", "stroke", "stroke-width"], at = ["stroke"], st = ["fill"], rt = ["stroke"], nt = ["fill"], ut = ["stroke"], it = ["fill"], dt = ["stroke"], ct = ["fill"], vt = ["stroke"], yt = ["fill"], ht = ["d", "stroke", "stroke-width", "fill"], ft = ["x1", "y1", "stroke"], pt = ["cx", "cy", "fill", "stroke"], mt = ["fill", "stroke"], gt = ["y", "fill", "font-weight"], kt = ["y", "fill"], bt = {
|
|
14
14
|
key: 5,
|
|
15
15
|
class: "vue-data-ui-watermark"
|
|
16
16
|
}, Ct = ["onClick"], wt = { style: { "font-weight": "bold" } }, xt = {
|
|
@@ -34,7 +34,7 @@ const qe = ["id"], Qe = {
|
|
|
34
34
|
}
|
|
35
35
|
},
|
|
36
36
|
setup(ue, { expose: ie }) {
|
|
37
|
-
const de = _(() => import("./vue-ui-accordion-
|
|
37
|
+
const de = _(() => import("./vue-ui-accordion-Cjq4hqGi.js")), $ = _(() => import("./BaseIcon-avTvifnO.js")), ce = _(() => import("./DataTable-D8n1mvaG.js")), ve = _(() => import("./PackageVersion-Bwu7jdjH.js")), ye = _(() => import("./PenAndPaper-BzQcbTCN.js")), he = _(() => import("./vue-ui-skeleton-qa5B2MES.js")), fe = _(() => import("./UserOptions-fd2DeGS7.js")), { vue_ui_mood_radar: pe } = Ie(), d = ue, M = c(() => !!d.dataset && Object.keys(d.dataset).length);
|
|
38
38
|
Ae(() => {
|
|
39
39
|
W();
|
|
40
40
|
});
|
|
@@ -63,7 +63,7 @@ const qe = ["id"], Qe = {
|
|
|
63
63
|
Oe(() => d.config, (o) => {
|
|
64
64
|
e.value = X(), j.value = !e.value.userOptions.showOnChartHover, W(), ke.value += 1, be.value += 1, D.value += 1, N.value.showTable = e.value.table.show;
|
|
65
65
|
}, { deep: !0 });
|
|
66
|
-
const { isPrinting: K, isImaging: q, generatePdf:
|
|
66
|
+
const { isPrinting: K, isImaging: q, generatePdf: Y, generateImage: J } = De({
|
|
67
67
|
elementId: P.value,
|
|
68
68
|
fileName: e.value.style.chart.title.text || "vue-ui-mood-radar",
|
|
69
69
|
options: e.value.userOptions.print
|
|
@@ -95,7 +95,7 @@ const qe = ["id"], Qe = {
|
|
|
95
95
|
proportion: t / w.value,
|
|
96
96
|
color: e.value.style.chart.layout.smileys.colors[o]
|
|
97
97
|
};
|
|
98
|
-
}).sort((o, l) => l.key - o.key)),
|
|
98
|
+
}).sort((o, l) => l.key - o.key)), Q = c(() => M.value ? (["1", "2", "3", "4", "5"].forEach((o) => {
|
|
99
99
|
[null, void 0].includes(d.dataset[o]) && se({
|
|
100
100
|
componentName: "VueUiMoodRadar",
|
|
101
101
|
type: "datasetAttribute",
|
|
@@ -194,9 +194,9 @@ const qe = ["id"], Qe = {
|
|
|
194
194
|
}
|
|
195
195
|
return ie({
|
|
196
196
|
getData: Me,
|
|
197
|
-
generatePdf:
|
|
197
|
+
generatePdf: Y,
|
|
198
198
|
generateCsv: Z,
|
|
199
|
-
generateImage:
|
|
199
|
+
generateImage: J,
|
|
200
200
|
toggleTable: ee,
|
|
201
201
|
toggleAnnotator: B
|
|
202
202
|
}), (o, l) => (r(), h("div", {
|
|
@@ -223,7 +223,7 @@ const qe = ["id"], Qe = {
|
|
|
223
223
|
class: "vue-data-ui-no-title-space",
|
|
224
224
|
style: "height:36px; width: 100%;background:transparent"
|
|
225
225
|
}, null, 512)) : i("", !0),
|
|
226
|
-
e.value.style.chart.title.text ? (r(), h("div",
|
|
226
|
+
e.value.style.chart.title.text ? (r(), h("div", Ye, [
|
|
227
227
|
U(Xe, {
|
|
228
228
|
config: {
|
|
229
229
|
title: {
|
|
@@ -259,9 +259,9 @@ const qe = ["id"], Qe = {
|
|
|
259
259
|
isAnnotation: L.value,
|
|
260
260
|
callbacks: e.value.userOptions.callbacks,
|
|
261
261
|
onToggleFullscreen: Pe,
|
|
262
|
-
onGeneratePdf: a(
|
|
262
|
+
onGeneratePdf: a(Y),
|
|
263
263
|
onGenerateCsv: Z,
|
|
264
|
-
onGenerateImage: a(
|
|
264
|
+
onGenerateImage: a(J),
|
|
265
265
|
onToggleTable: ee,
|
|
266
266
|
onToggleAnnotator: B,
|
|
267
267
|
style: I({
|
|
@@ -339,7 +339,7 @@ const qe = ["id"], Qe = {
|
|
|
339
339
|
}
|
|
340
340
|
}, [
|
|
341
341
|
v(o.$slots, "chart-background", {}, void 0, !0)
|
|
342
|
-
], 8,
|
|
342
|
+
], 8, Qe)) : i("", !0),
|
|
343
343
|
s("defs", null, [
|
|
344
344
|
s("radialGradient", {
|
|
345
345
|
cx: "50%",
|
|
@@ -456,14 +456,14 @@ const qe = ["id"], Qe = {
|
|
|
456
456
|
fill: n.value === 1 ? a(C)(e.value.style.chart.layout.smileys.colors[1], 20) : "transparent"
|
|
457
457
|
}, null, 40, yt),
|
|
458
458
|
s("path", {
|
|
459
|
-
d: a(Ue)(
|
|
459
|
+
d: a(Ue)(Q.value.map((t) => t.plots)),
|
|
460
460
|
stroke: e.value.style.chart.layout.dataPolygon.stroke,
|
|
461
461
|
"stroke-width": e.value.style.chart.layout.dataPolygon.strokeWidth,
|
|
462
462
|
"stroke-linecap": "round",
|
|
463
463
|
"stroke-linejoin": "round",
|
|
464
464
|
fill: e.value.style.chart.layout.dataPolygon.gradient.show ? `url(#mood_radar_gradient_${P.value})` : a(C)(e.value.style.chart.layout.dataPolygon.color, e.value.style.chart.layout.dataPolygon.opacity)
|
|
465
465
|
}, null, 8, ht),
|
|
466
|
-
(r(!0), h(oe, null, le(
|
|
466
|
+
(r(!0), h(oe, null, le(Q.value.map((t) => t.plots), (t, u) => (r(), h("g", {
|
|
467
467
|
class: "vue-ui-mood-radar-trap",
|
|
468
468
|
style: I(`opacity:${n.value == t.key ? "1" : "0"}`)
|
|
469
469
|
}, [
|
|
@@ -521,7 +521,7 @@ const qe = ["id"], Qe = {
|
|
|
521
521
|
})) + ") ", 9, kt)
|
|
522
522
|
], 4))), 256)),
|
|
523
523
|
v(o.$slots, "svg", { svg: p.value }, void 0, !0)
|
|
524
|
-
], 14,
|
|
524
|
+
], 14, Je)) : i("", !0),
|
|
525
525
|
o.$slots.watermark ? (r(), h("div", bt, [
|
|
526
526
|
v(o.$slots, "watermark", F(S({ isPrinting: a(K) || a(q) })), void 0, !0)
|
|
527
527
|
])) : i("", !0),
|