vue-data-ui 3.1.1 → 3.1.3
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-xQM7mBzd.js → Arrow-DBaAWGvq.js} +1 -1
- package/dist/{BaseDraggableDialog-B2BQC0-h.js → BaseDraggableDialog-BmN9jTP8.js} +2 -2
- package/dist/{BaseIcon-DLesaZpW.js → BaseIcon-BcOSijbz.js} +5 -3
- package/dist/{ColorPicker-BKvJvFtX.js → ColorPicker-D1yNPt76.js} +2 -2
- package/dist/{DataTable-BAf4Obr9.js → DataTable-Cm8Tt9PQ.js} +2 -2
- package/dist/Legend-5qvgVkrY.js +85 -0
- package/dist/{NonSvgPenAndPaper-Cq4fHmA0.js → NonSvgPenAndPaper-D3QGd7vP.js} +3 -3
- package/dist/{PackageVersion-Cv_ypT0N.js → PackageVersion-0XlRFsI_.js} +1 -1
- package/dist/{PenAndPaper-B6OvfyHH.js → PenAndPaper-CyH7Ip2i.js} +3 -3
- package/dist/{Shape-Cjca5zta.js → Shape-DiplSMFy.js} +1 -1
- package/dist/{Slicer-6w3K8gAc.js → Slicer-DG99wPTy.js} +11 -9
- package/dist/{SparkTooltip-BV4Z-NMp.js → SparkTooltip-VveQSwlw.js} +1 -1
- package/dist/Title-CqYBs02Y.js +88 -0
- package/dist/{Tooltip-BTGOEC7w.js → Tooltip-CP0tVHAf.js} +1 -1
- package/dist/{UserOptions-CsDlFB0L.js → UserOptions-ZmwlARCV.js} +125 -108
- package/dist/{dom-to-png-BOu5-Ohz.js → dom-to-png-DGA4a3xT.js} +1 -1
- package/dist/{img-gBDz7xQQ.js → img-DSrvx9J6.js} +1 -1
- package/dist/{index-BKQqb9lF.js → index-CaxArMHL.js} +97 -74
- package/dist/pdf-BG8PiGFH.js +79 -0
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +28 -3
- package/dist/types/vue-data-ui.d.ts +28 -3
- package/dist/{useAutoSizeLabelsInsideViewbox-IO2dh0Uq.js → useAutoSizeLabelsInsideViewbox-DmtFf4bt.js} +1 -1
- package/dist/{useNestedProp-aBOhgs4U.js → useNestedProp-tWT02_6S.js} +1 -1
- package/dist/{usePrinter-BzuXiubT.js → usePrinter-BYtPmEo8.js} +13 -12
- package/dist/{vue-data-ui-B6eM6hF3.js → vue-data-ui-DVb8r5z7.js} +64 -64
- package/dist/vue-data-ui.js +1 -1
- package/dist/{vue-ui-3d-bar-DBeWmnvH.js → vue-ui-3d-bar-BLKyWpz7.js} +371 -366
- package/dist/{vue-ui-accordion-B5QeV3BK.js → vue-ui-accordion-DUlNpLir.js} +3 -3
- package/dist/{vue-ui-age-pyramid-rZFdUsgz.js → vue-ui-age-pyramid-LLqbXP1m.js} +200 -195
- package/dist/{vue-ui-annotator-CCCuslrT.js → vue-ui-annotator-CcYIlcKF.js} +2 -2
- package/dist/{vue-ui-bullet-DhJf9mvK.js → vue-ui-bullet-BKmts_u4.js} +7 -7
- package/dist/{vue-ui-candlestick-CGVtDKqZ.js → vue-ui-candlestick-C9l_NpXu.js} +225 -220
- package/dist/{vue-ui-carousel-table-DLAR3WY8.js → vue-ui-carousel-table-H7xS6aBC.js} +4 -4
- package/dist/{vue-ui-chestnut-BXnSxoXB.js → vue-ui-chestnut-CAW0IOdY.js} +344 -340
- package/dist/{vue-ui-chord-DH_MwAKX.js → vue-ui-chord-CK5YhCqM.js} +272 -266
- package/dist/{vue-ui-circle-pack-Cx_E1R63.js → vue-ui-circle-pack-NLyZgTGF.js} +6 -6
- package/dist/{vue-ui-cursor-CEvH1qDS.js → vue-ui-cursor-CyGUrKWU.js} +2 -2
- package/dist/vue-ui-dashboard-Cf5pvEzD.js +412 -0
- package/dist/{vue-ui-digits-PTozKs3l.js → vue-ui-digits-BZWwwp7c.js} +2 -2
- package/dist/{vue-ui-donut-evolution-DD7o-CxF.js → vue-ui-donut-evolution-CaEYMVZj.js} +310 -304
- package/dist/{vue-ui-donut-CsEtKJJD.js → vue-ui-donut-g1WHrj6G.js} +348 -343
- package/dist/{vue-ui-dumbbell-DfPYl3fu.js → vue-ui-dumbbell-BArS1nXS.js} +293 -287
- package/dist/{vue-ui-flow-CSTTZHwg.js → vue-ui-flow-BR0CB5qt.js} +263 -257
- package/dist/{vue-ui-funnel-C-NUZqIo.js → vue-ui-funnel-D2OCItvq.js} +206 -200
- package/dist/{vue-ui-galaxy-BwsZnU6T.js → vue-ui-galaxy-qgGF1AAf.js} +243 -238
- package/dist/{vue-ui-gauge-D9MUneq0.js → vue-ui-gauge-BIXmGyQL.js} +7 -7
- package/dist/{vue-ui-gizmo-Dnzs9wSf.js → vue-ui-gizmo-DHEoS051.js} +3 -3
- package/dist/{vue-ui-heatmap-CYaQIhy8.js → vue-ui-heatmap-tRzq9BnI.js} +405 -401
- package/dist/{vue-ui-history-plot-DMTFzl-_.js → vue-ui-history-plot-DmwHhrDk.js} +305 -299
- package/dist/{vue-ui-kpi-CkPotdff.js → vue-ui-kpi-C2b2R5i1.js} +3 -3
- package/dist/{vue-ui-mini-loader-CCE-bDOJ.js → vue-ui-mini-loader-Bs1Mi1tD.js} +2 -2
- package/dist/{vue-ui-molecule-DaN5lroq.js → vue-ui-molecule-BsUvf2v7.js} +188 -183
- package/dist/{vue-ui-mood-radar-tM0mmZh8.js → vue-ui-mood-radar-D3JIpVvX.js} +197 -192
- package/dist/{vue-ui-nested-donuts-RB4r6beI.js → vue-ui-nested-donuts-dJEgQXTH.js} +326 -320
- package/dist/{vue-ui-onion-CxDozHg3.js → vue-ui-onion-D8dF1DdA.js} +8 -8
- package/dist/{vue-ui-parallel-coordinate-plot-CK9nNExU.js → vue-ui-parallel-coordinate-plot-LmFsg7UA.js} +401 -395
- package/dist/{vue-ui-quadrant-C7tLJYn7.js → vue-ui-quadrant-C4O8ki4N.js} +339 -334
- package/dist/{vue-ui-quick-chart-MUBAkrHb.js → vue-ui-quick-chart-6bEtTQBG.js} +6 -6
- package/dist/{vue-ui-radar-Br4K80I9.js → vue-ui-radar-CfjGWGk3.js} +248 -243
- package/dist/{vue-ui-rating-NtvT9r_M.js → vue-ui-rating-D3WSs2OD.js} +2 -2
- package/dist/{vue-ui-relation-circle-CPQjAy1g.js → vue-ui-relation-circle-DzTfi7Tf.js} +7 -7
- package/dist/{vue-ui-ridgeline-C2M_Cjlh.js → vue-ui-ridgeline-NtYOJvDy.js} +267 -263
- package/dist/{vue-ui-rings-DEru-cWN.js → vue-ui-rings-CYQ4i71V.js} +229 -224
- package/dist/{vue-ui-scatter-CJKkiKle.js → vue-ui-scatter-meJEHdAD.js} +359 -354
- package/dist/{vue-ui-skeleton--twnjS2t.js → vue-ui-skeleton-BtILTxx-.js} +3 -3
- package/dist/{vue-ui-smiley-CNccdPZ7.js → vue-ui-smiley-B5bELpYD.js} +2 -2
- package/dist/{vue-ui-spark-trend-9BFkkC0u.js → vue-ui-spark-trend-lixdWq_N.js} +3 -3
- package/dist/{vue-ui-sparkbar-RYAThoA4.js → vue-ui-sparkbar-CaGPav-J.js} +3 -3
- package/dist/{vue-ui-sparkgauge-DkPlmgMF.js → vue-ui-sparkgauge-BZBGYDjs.js} +3 -3
- package/dist/{vue-ui-sparkhistogram-6EkCyYRF.js → vue-ui-sparkhistogram-Bp6KxpjH.js} +4 -4
- package/dist/{vue-ui-sparkline-Bl3nj8zd.js → vue-ui-sparkline-CF-EAZa6.js} +3 -3
- package/dist/{vue-ui-sparkstackbar-B88lA7iy.js → vue-ui-sparkstackbar-Cj1LAYC8.js} +3 -3
- package/dist/{vue-ui-stackbar-Csj7NhT6.js → vue-ui-stackbar-BrzKhqAK.js} +310 -304
- package/dist/{vue-ui-strip-plot-yY9NsUUI.js → vue-ui-strip-plot-BfVVaSFn.js} +246 -240
- package/dist/{vue-ui-table-Dg6U31ex.js → vue-ui-table-CBzNgzVP.js} +3 -3
- package/dist/{vue-ui-table-heatmap-BWU7CAWP.js → vue-ui-table-heatmap-CKz5bA7N.js} +5 -5
- package/dist/{vue-ui-table-sparkline-DV4Y9aRL.js → vue-ui-table-sparkline-O-Z0YH6u.js} +4 -4
- package/dist/{vue-ui-thermometer-C3fKamV-.js → vue-ui-thermometer-DpNyTGNH.js} +7 -7
- package/dist/{vue-ui-timer-6VAK9XyF.js → vue-ui-timer-uvshaRMI.js} +5 -5
- package/dist/{vue-ui-tiremarks-BB-KAkF7.js → vue-ui-tiremarks-A8Akuz-q.js} +6 -6
- package/dist/{vue-ui-treemap-GrXkD_3Z.js → vue-ui-treemap-Dvmuo3tM.js} +262 -256
- package/dist/{vue-ui-vertical-bar-Mmz6u4aX.js → vue-ui-vertical-bar-eMgRMSKN.js} +310 -306
- package/dist/{vue-ui-waffle-DzPVRUOA.js → vue-ui-waffle-Cm8VfnG8.js} +257 -252
- package/dist/{vue-ui-wheel-idRCvS5t.js → vue-ui-wheel-Bhsklf_m.js} +6 -6
- package/dist/vue-ui-word-cloud-C9HGLsG4.js +817 -0
- package/dist/{vue-ui-world-D6s5Eph8.js → vue-ui-world-B_MrjwGJ.js} +257 -252
- package/dist/{vue-ui-xy-BKTGSvfU.js → vue-ui-xy-DnYJw2aS.js} +1448 -1438
- package/dist/{vue-ui-xy-canvas-BOQyxVRl.js → vue-ui-xy-canvas-C0Snw0Dz.js} +235 -229
- package/package.json +1 -1
- package/dist/Legend-8_V5egWW.js +0 -72
- package/dist/Title-Dz-j6ERs.js +0 -61
- package/dist/pdf-Cjsn5GEE.js +0 -61
- package/dist/vue-ui-dashboard-CvduVgEy.js +0 -325
- package/dist/vue-ui-word-cloud-B2641uNP.js +0 -811
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { useCssVars as mt, computed as _, defineAsyncComponent as N, ref as y, toRefs as pt, watch as ne, shallowRef as Ue, onMounted as yt, onBeforeUnmount as bt, watchEffect as gt, createElementBlock as b, openBlock as m, unref as r, normalizeStyle as se, normalizeClass as Ve, createBlock as V, createCommentVNode as C, renderSlot as k, createSlots as He, withCtx as z, normalizeProps as J, guardReactiveProps as K, createVNode as je, Fragment as ue, renderList as kt, createElementVNode as $, mergeProps as be, toDisplayString as H, resolveDynamicComponent as wt, createTextVNode as Ge, nextTick as We } from "vue";
|
|
2
|
-
import { u as xt, c as qe, t as Ct, a as ge, p as re, b as _t, o as zt, f as $t, d as Tt, e as St, j as Xe, i as ke, X as Ft, l as Ot, F as Q, al as It, v as Pt, w as At, k as Ye } from "./index-
|
|
2
|
+
import { u as xt, c as qe, t as Ct, a as ge, p as re, b as _t, o as zt, f as $t, d as Tt, e as St, j as Xe, i as ke, X as Ft, l as Ot, F as Q, al as It, v as Pt, w as At, k as Ye } from "./index-CaxArMHL.js";
|
|
3
3
|
import { t as Dt, u as Mt } from "./useResponsive-DfdjqQps.js";
|
|
4
|
-
import { u as Et } from "./usePrinter-
|
|
4
|
+
import { u as Et } from "./usePrinter-BYtPmEo8.js";
|
|
5
5
|
import { u as Nt, B as Rt } from "./BaseScanner-BgWxam9d.js";
|
|
6
|
-
import { u as Ze } from "./useNestedProp-
|
|
6
|
+
import { u as Ze } from "./useNestedProp-tWT02_6S.js";
|
|
7
7
|
import { u as Bt } from "./useUserOptionState-BIvW1Kz7.js";
|
|
8
8
|
import { u as Lt } from "./useChartAccessibility-9icAAmYg.js";
|
|
9
|
-
import Ut from "./img-
|
|
10
|
-
import Vt from "./Title-
|
|
9
|
+
import Ut from "./img-DSrvx9J6.js";
|
|
10
|
+
import Vt from "./Title-CqYBs02Y.js";
|
|
11
11
|
import { _ as Ht } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
12
12
|
function Je(u, c = 0) {
|
|
13
13
|
const f = u.reduce((o, { x: s, r: d }) => Math.min(o, s - d - c), 1 / 0), p = u.reduce((o, { x: s, r: d }) => Math.max(o, s + d + c), -1 / 0), v = u.reduce((o, { y: s, r: d }) => Math.min(o, s - d - c), 1 / 0), n = u.reduce((o, { y: s, r: d }) => Math.max(o, s + d + c), -1 / 0);
|
|
@@ -100,7 +100,7 @@ const Gt = ["id"], Wt = ["xmlns", "viewBox", "height", "width"], qt = ["x", "y",
|
|
|
100
100
|
"5748196e": L.value,
|
|
101
101
|
"2de8b0e7": he.value
|
|
102
102
|
}));
|
|
103
|
-
const p = N(() => import("./BaseIcon-
|
|
103
|
+
const p = N(() => import("./BaseIcon-BcOSijbz.js")), v = N(() => import("./vue-ui-accordion-DUlNpLir.js")), n = N(() => import("./DataTable-Cm8Tt9PQ.js")), o = N(() => import("./UserOptions-ZmwlARCV.js")), s = N(() => import("./PenAndPaper-CyH7Ip2i.js")), d = N(() => import("./PackageVersion-0XlRFsI_.js")), w = N(() => import("./BaseDraggableDialog-BmN9jTP8.js")), x = u, ee = f, { vue_ui_circle_pack: te } = xt(), j = _(() => !!x.dataset && x.dataset.length), S = y(qe()), T = y(null), we = y(null), xe = y(null), Ce = y(0), _e = y(0), ze = y(0), tt = y(null), G = y(null), e = y(ve()), { loading: $e, FINAL_DATASET: Te } = Nt({
|
|
104
104
|
...pt(x),
|
|
105
105
|
FINAL_CONFIG: e,
|
|
106
106
|
prepareConfig: ve,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ref as c, computed as _, onMounted as R, onBeforeUnmount as S, createElementBlock as l, createCommentVNode as o, openBlock as i, normalizeStyle as E, unref as m, createElementVNode as r, normalizeClass as C, toDisplayString as p, nextTick as b } from "vue";
|
|
2
|
-
import { u as F } from "./useNestedProp-
|
|
3
|
-
import { u as L, c as z, X as O, s as I } from "./index-
|
|
2
|
+
import { u as F } from "./useNestedProp-tWT02_6S.js";
|
|
3
|
+
import { u as L, c as z, X as O, s as I } from "./index-CaxArMHL.js";
|
|
4
4
|
import { _ as B } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
5
|
const N = ["xmlns", "height", "width"], T = {
|
|
6
6
|
id: "follower",
|
|
@@ -0,0 +1,412 @@
|
|
|
1
|
+
import { useCssVars as we, computed as U, defineAsyncComponent as o, ref as r, watch as H, createElementBlock as O, openBlock as g, createElementVNode as V, createBlock as D, createCommentVNode as Y, normalizeStyle as k, Fragment as Q, renderList as Te, normalizeClass as Ce, renderSlot as y, resolveDynamicComponent as Ie, mergeProps as Me, unref as w, createSlots as Oe, withCtx as z, normalizeProps as j, guardReactiveProps as K } from "vue";
|
|
2
|
+
import { u as $e, c as Pe } from "./index-CaxArMHL.js";
|
|
3
|
+
import { u as Se } from "./useNestedProp-tWT02_6S.js";
|
|
4
|
+
import "./BaseIcon-BcOSijbz.js";
|
|
5
|
+
import { _ as Re } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
6
|
+
import { u as ze } from "./usePrinter-BYtPmEo8.js";
|
|
7
|
+
import Ae from "./UserOptions-ZmwlARCV.js";
|
|
8
|
+
import { u as Xe } from "./useUserOptionState-BIvW1Kz7.js";
|
|
9
|
+
import _e from "./PenAndPaper-CyH7Ip2i.js";
|
|
10
|
+
const He = ["id"], De = ["onMousedown", "onTouchstart"], Ye = ["onMousedown", "onTouchstart"], We = ["onMousedown", "onTouchstart"], Ne = ["onMousedown", "onTouchstart"], Ee = ["onMousedown", "onTouchstart"], A = 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
|
+
"18beff09": he.value,
|
|
20
|
+
"726a2971": fe.value
|
|
21
|
+
}));
|
|
22
|
+
const ee = {
|
|
23
|
+
VueDataUi: o(() => import("./vue-data-ui-DVb8r5z7.js")),
|
|
24
|
+
VueUi3dBar: o(() => import("./vue-ui-3d-bar-BLKyWpz7.js")),
|
|
25
|
+
VueUiAccordion: o(() => import("./vue-ui-accordion-DUlNpLir.js")),
|
|
26
|
+
VueUiAgePyramid: o(() => import("./vue-ui-age-pyramid-LLqbXP1m.js")),
|
|
27
|
+
VueUiAnnotator: o(() => import("./vue-ui-annotator-CcYIlcKF.js")),
|
|
28
|
+
VueUiCandlestick: o(() => import("./vue-ui-candlestick-C9l_NpXu.js")),
|
|
29
|
+
VueUiChestnut: o(() => import("./vue-ui-chestnut-CAW0IOdY.js")),
|
|
30
|
+
VueUiDigits: o(() => import("./vue-ui-digits-BZWwwp7c.js")),
|
|
31
|
+
VueUiDonut: o(() => import("./vue-ui-donut-g1WHrj6G.js")),
|
|
32
|
+
VueUiDonutEvolution: o(() => import("./vue-ui-donut-evolution-CaEYMVZj.js")),
|
|
33
|
+
VueUiDumbbell: o(() => import("./vue-ui-dumbbell-BArS1nXS.js")),
|
|
34
|
+
VueUiFlow: o(() => import("./vue-ui-flow-BR0CB5qt.js")),
|
|
35
|
+
VueUiGalaxy: o(() => import("./vue-ui-galaxy-qgGF1AAf.js")),
|
|
36
|
+
VueUiGauge: o(() => import("./vue-ui-gauge-BIXmGyQL.js")),
|
|
37
|
+
VueUiHeatmap: o(() => import("./vue-ui-heatmap-tRzq9BnI.js")),
|
|
38
|
+
VueUiKpi: o(() => import("./vue-ui-kpi-C2b2R5i1.js")),
|
|
39
|
+
VueUiMiniLoader: o(() => import("./vue-ui-mini-loader-Bs1Mi1tD.js")),
|
|
40
|
+
VueUiMolecule: o(() => import("./vue-ui-molecule-BsUvf2v7.js")),
|
|
41
|
+
VueUiMoodRadar: o(() => import("./vue-ui-mood-radar-D3JIpVvX.js")),
|
|
42
|
+
VueUiNestedDonuts: o(() => import("./vue-ui-nested-donuts-dJEgQXTH.js")),
|
|
43
|
+
VueUiOnion: o(() => import("./vue-ui-onion-D8dF1DdA.js")),
|
|
44
|
+
VueUiParallelCoordinatePlot: o(() => import("./vue-ui-parallel-coordinate-plot-LmFsg7UA.js")),
|
|
45
|
+
VueUiQuadrant: o(() => import("./vue-ui-quadrant-C4O8ki4N.js")),
|
|
46
|
+
VueUiQuickChart: o(() => import("./vue-ui-quick-chart-6bEtTQBG.js")),
|
|
47
|
+
VueUiRadar: o(() => import("./vue-ui-radar-CfjGWGk3.js")),
|
|
48
|
+
VueUiRating: o(() => import("./vue-ui-rating-D3WSs2OD.js")),
|
|
49
|
+
VueUiRelationCircle: o(() => import("./vue-ui-relation-circle-DzTfi7Tf.js")),
|
|
50
|
+
VueUiRings: o(() => import("./vue-ui-rings-CYQ4i71V.js")),
|
|
51
|
+
VueUiScatter: o(() => import("./vue-ui-scatter-meJEHdAD.js")),
|
|
52
|
+
VueUiSkeleton: o(() => import("./vue-ui-skeleton-BtILTxx-.js")),
|
|
53
|
+
VueUiSmiley: o(() => import("./vue-ui-smiley-B5bELpYD.js")),
|
|
54
|
+
VueUiSparkHistogram: o(() => import("./vue-ui-sparkhistogram-Bp6KxpjH.js")),
|
|
55
|
+
VueUiSparkStackbar: o(() => import("./vue-ui-sparkstackbar-Cj1LAYC8.js")),
|
|
56
|
+
VueUiSparkTrend: o(() => import("./vue-ui-spark-trend-lixdWq_N.js")),
|
|
57
|
+
VueUiSparkbar: o(() => import("./vue-ui-sparkbar-CaGPav-J.js")),
|
|
58
|
+
VueUiSparkgauge: o(() => import("./vue-ui-sparkgauge-BZBGYDjs.js")),
|
|
59
|
+
VueUiSparkline: o(() => import("./vue-ui-sparkline-CF-EAZa6.js")),
|
|
60
|
+
VueUiStripPlot: o(() => import("./vue-ui-strip-plot-BfVVaSFn.js")),
|
|
61
|
+
VueUiTable: o(() => import("./vue-ui-table-CBzNgzVP.js")),
|
|
62
|
+
VueUiTableHeatmap: o(() => import("./vue-ui-table-heatmap-CKz5bA7N.js")),
|
|
63
|
+
VueUiTableSparkline: o(() => import("./vue-ui-table-sparkline-O-Z0YH6u.js")),
|
|
64
|
+
VueUiThermometer: o(() => import("./vue-ui-thermometer-DpNyTGNH.js")),
|
|
65
|
+
VueUiTimer: o(() => import("./vue-ui-timer-uvshaRMI.js")),
|
|
66
|
+
VueUiTiremarks: o(() => import("./vue-ui-tiremarks-A8Akuz-q.js")),
|
|
67
|
+
VueUiTreemap: o(() => import("./vue-ui-treemap-Dvmuo3tM.js")),
|
|
68
|
+
VueUiVerticalBar: o(() => import("./vue-ui-vertical-bar-eMgRMSKN.js")),
|
|
69
|
+
VueUiHorizontalBar: o(() => import("./vue-ui-vertical-bar-eMgRMSKN.js")),
|
|
70
|
+
VueUiWaffle: o(() => import("./vue-ui-waffle-Cm8VfnG8.js")),
|
|
71
|
+
VueUiWheel: o(() => import("./vue-ui-wheel-Bhsklf_m.js")),
|
|
72
|
+
VueUiWordCloud: o(() => import("./vue-ui-word-cloud-C9HGLsG4.js")),
|
|
73
|
+
VueUiXy: o(() => import("./vue-ui-xy-DnYJw2aS.js")),
|
|
74
|
+
VueUiXyCanvas: o(() => import("./vue-ui-xy-canvas-C0Snw0Dz.js")),
|
|
75
|
+
VueUiCarouselTable: o(() => import("./vue-ui-carousel-table-H7xS6aBC.js")),
|
|
76
|
+
VueUiGizmo: o(() => import("./vue-ui-gizmo-DHEoS051.js")),
|
|
77
|
+
VueUiStackbar: o(() => import("./vue-ui-stackbar-BrzKhqAK.js")),
|
|
78
|
+
VueUiBullet: o(() => import("./vue-ui-bullet-BKmts_u4.js")),
|
|
79
|
+
VueUiFunnel: o(() => import("./vue-ui-funnel-D2OCItvq.js")),
|
|
80
|
+
VueUiHistoryPlot: o(() => import("./vue-ui-history-plot-DmwHhrDk.js")),
|
|
81
|
+
VueUiCirclePack: o(() => import("./vue-ui-circle-pack-NLyZgTGF.js")),
|
|
82
|
+
VueUiWorld: o(() => import("./vue-ui-world-B_MrjwGJ.js")),
|
|
83
|
+
VueUiChord: o(() => import("./vue-ui-chord-CK5YhCqM.js")),
|
|
84
|
+
VueUiRidgeline: o(() => import("./vue-ui-ridgeline-NtYOJvDy.js"))
|
|
85
|
+
}, { vue_ui_dashboard: te } = $e(), oe = r(null), ne = r(null), X = r(null), $ = q, u = U(() => Se({
|
|
86
|
+
userConfig: $.config,
|
|
87
|
+
defaultConfig: te
|
|
88
|
+
})), _ = r(Pe()), p = r(u.value.locked);
|
|
89
|
+
function ie() {
|
|
90
|
+
p.value = !p.value;
|
|
91
|
+
}
|
|
92
|
+
H(() => $.config, () => {
|
|
93
|
+
p.value = u.value.locked, G.value = !u.value.userOptions.showOnChartHover;
|
|
94
|
+
});
|
|
95
|
+
function W() {
|
|
96
|
+
return $.dataset.map((e, t) => ({
|
|
97
|
+
...e,
|
|
98
|
+
index: t
|
|
99
|
+
}));
|
|
100
|
+
}
|
|
101
|
+
const s = r(W());
|
|
102
|
+
H(() => $.dataset, () => {
|
|
103
|
+
s.value = W();
|
|
104
|
+
});
|
|
105
|
+
const T = 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), C = r(!1);
|
|
111
|
+
function N(e) {
|
|
112
|
+
const t = e.target;
|
|
113
|
+
(t.tagName === "INPUT" && t.type === "range" || t.classList.contains("range-handle")) && (C.value = !0);
|
|
114
|
+
}
|
|
115
|
+
function E(e) {
|
|
116
|
+
const t = e.target;
|
|
117
|
+
t.tagName === "INPUT" && t.type === "range" && (C.value = !1);
|
|
118
|
+
}
|
|
119
|
+
const { isPrinting: ue, isImaging: ae, generatePdf: L, generateImage: le } = ze({
|
|
120
|
+
elementId: `vue-ui-dashboard_${_.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 t = s.value[e], i = 100 - t.width, n = 100 - t.height;
|
|
131
|
+
t.left < 0 && (t.left = 0), t.top < 0 && (t.top = 0), t.left > i && (t.left = i), t.top > n && (t.top = n), t.left < 0 && (t.left = 0), t.top < 0 && (t.top = 0), t.left + t.width > 100 && (t.left = 100 - t.width), t.top + t.height > 100 && (t.top = 100 - t.height);
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
function P(e, t) {
|
|
135
|
+
c.value = !0, m.value = e, l.value = { index: e, direction: t };
|
|
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, t, i) {
|
|
140
|
+
if (l.value.direction.includes("top")) {
|
|
141
|
+
const n = e.height - i / d.value.offsetHeight * 100;
|
|
142
|
+
n >= A && (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 >= A && (e.height = n);
|
|
147
|
+
}
|
|
148
|
+
if (l.value.direction.includes("left")) {
|
|
149
|
+
const n = e.width - t / d.value.offsetWidth * 100;
|
|
150
|
+
n >= A && (e.left += t / d.value.offsetWidth * 100, e.width = n);
|
|
151
|
+
}
|
|
152
|
+
if (l.value.direction.includes("right")) {
|
|
153
|
+
const n = e.width + t / d.value.offsetWidth * 100;
|
|
154
|
+
n >= A && (e.width = n);
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
function se(e) {
|
|
158
|
+
if (!(p.value || C.value)) {
|
|
159
|
+
if (c.value = !0, v.value !== null) {
|
|
160
|
+
const t = s.value[v.value], i = e.clientX - h.value.x, n = e.clientY - h.value.y, a = t.left + i / d.value.offsetWidth * 100, b = t.top + n / d.value.offsetHeight * 100;
|
|
161
|
+
a >= 0 && b >= 0 && a + t.width <= 100 && b + t.height <= 100 && (t.left = a, t.top = b), h.value = { x: e.clientX, y: e.clientY };
|
|
162
|
+
}
|
|
163
|
+
if (l.value !== null) {
|
|
164
|
+
const t = s.value[l.value.index], i = e.clientX - f.value.x, n = e.clientY - f.value.y;
|
|
165
|
+
B(t, i, n), f.value = { x: e.clientX, y: e.clientY };
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
const de = Z;
|
|
170
|
+
H(
|
|
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 || C.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 S(e, t, i) {
|
|
186
|
+
if (c.value = !0, m.value = e, l.value === null) {
|
|
187
|
+
l.value = { index: e, direction: t };
|
|
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 R(e) {
|
|
193
|
+
if (c.value = !0, e.preventDefault(), l.value !== null) {
|
|
194
|
+
const t = s.value[l.value.index], i = e.touches[0].clientX - f.value.x, n = e.touches[0].clientY - f.value.y;
|
|
195
|
+
B(t, i, n), f.value = { x: e.touches[0].clientX, y: e.touches[0].clientY };
|
|
196
|
+
}
|
|
197
|
+
}
|
|
198
|
+
function ve(e) {
|
|
199
|
+
if (!(p.value || C.value) && (c.value = !0, e.preventDefault(), v.value !== null)) {
|
|
200
|
+
const t = s.value[v.value], i = e.touches[0].clientX - h.value.x, n = e.touches[0].clientY - h.value.y, a = t.left + i / d.value.offsetWidth * 100, b = t.top + n / d.value.offsetHeight * 100;
|
|
201
|
+
a >= 0 && b >= 0 && a + t.width <= 100 && b + t.height <= 100 && (t.left = a, t.top = b), h.value = { x: e.touches[0].clientX, y: e.touches[0].clientY };
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
function I() {
|
|
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 }), M = r(!1);
|
|
214
|
+
function x() {
|
|
215
|
+
M.value = !M.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, t) => (g(), O("div", {
|
|
228
|
+
id: `vue-ui-dashboard_${_.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: oe,
|
|
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: k(`outline:${be.value}; background:${ge.value}; aspect-ratio:${me.value};${M.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: I,
|
|
254
|
+
style: k(`background:${u.value.style.board.backgroundColor}`)
|
|
255
|
+
}, [
|
|
256
|
+
t[4] || (t[4] = V("div", { class: "vue-ui-dashboard-grid" }, null, -1)),
|
|
257
|
+
(g(!0), O(Q, null, Te(T.value, (i, n) => (g(), O("div", {
|
|
258
|
+
key: i.id,
|
|
259
|
+
class: Ce({ "vue-ui-dashboard-grid-item": !0, "vue-ui-dashboard-grid-item--locked": p.value }),
|
|
260
|
+
style: k({
|
|
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 ? T.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 ? Y("", !0) : (g(), O(Q, { key: 0 }, [
|
|
274
|
+
V("div", {
|
|
275
|
+
class: "vue-ui-dashboard-resize-handle vue-ui-dashboard-top-left",
|
|
276
|
+
onMousedown: (a) => P(n, "top-left"),
|
|
277
|
+
onTouchstart: (a) => S(n, "top-left", a),
|
|
278
|
+
onTouchmove: t[0] || (t[0] = (a) => R(a)),
|
|
279
|
+
onTouchend: I
|
|
280
|
+
}, null, 40, Ye),
|
|
281
|
+
V("div", {
|
|
282
|
+
class: "vue-ui-dashboard-resize-handle vue-ui-dashboard-top-right",
|
|
283
|
+
onMousedown: (a) => P(n, "top-right"),
|
|
284
|
+
onTouchstart: (a) => S(n, "top-right", a),
|
|
285
|
+
onTouchmove: t[1] || (t[1] = (a) => R(a)),
|
|
286
|
+
onTouchend: I
|
|
287
|
+
}, null, 40, We),
|
|
288
|
+
V("div", {
|
|
289
|
+
class: "vue-ui-dashboard-resize-handle vue-ui-dashboard-bottom-left",
|
|
290
|
+
onMousedown: (a) => P(n, "bottom-left"),
|
|
291
|
+
onTouchstart: (a) => S(n, "bottom-left", a),
|
|
292
|
+
onTouchmove: t[2] || (t[2] = (a) => R(a)),
|
|
293
|
+
onTouchend: I
|
|
294
|
+
}, null, 40, Ne),
|
|
295
|
+
V("div", {
|
|
296
|
+
class: "vue-ui-dashboard-resize-handle vue-ui-dashboard-bottom-right",
|
|
297
|
+
onMousedown: (a) => P(n, "bottom-right"),
|
|
298
|
+
onTouchstart: (a) => S(n, "bottom-right", a),
|
|
299
|
+
onTouchmove: t[3] || (t[3] = (a) => R(a)),
|
|
300
|
+
onTouchend: I
|
|
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(), D(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(), O("svg", {
|
|
327
|
+
style: k({
|
|
328
|
+
width: "100%",
|
|
329
|
+
height: "100%",
|
|
330
|
+
pointerEvents: "none",
|
|
331
|
+
position: "absolute",
|
|
332
|
+
top: 0,
|
|
333
|
+
left: 0,
|
|
334
|
+
zIndex: T.value.length + 1
|
|
335
|
+
}),
|
|
336
|
+
ref_key: "svgRef",
|
|
337
|
+
ref: X
|
|
338
|
+
}, null, 4)),
|
|
339
|
+
u.value.userOptions.buttons.annotator && d.value && X.value ? (g(), D(_e, {
|
|
340
|
+
key: 0,
|
|
341
|
+
color: u.value.style.board.color,
|
|
342
|
+
backgroundColor: u.value.style.board.backgroundColor,
|
|
343
|
+
active: M.value,
|
|
344
|
+
svgRef: X.value,
|
|
345
|
+
onClose: x,
|
|
346
|
+
style: k({
|
|
347
|
+
zIndex: T.value.length + 1
|
|
348
|
+
})
|
|
349
|
+
}, null, 8, ["color", "backgroundColor", "active", "svgRef", "style"])) : Y("", !0),
|
|
350
|
+
(u.value.allowPrint || u.value.userOptions.show) && (u.value.userOptions.buttons.pdf || u.value.userOptions.buttons.img) ? (g(), D(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: w(ue),
|
|
357
|
+
isImaging: w(ae),
|
|
358
|
+
uid: _.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: M.value,
|
|
371
|
+
printScale: u.value.userOptions.print.scale,
|
|
372
|
+
titles: { ...u.value.userOptions.buttonTitles },
|
|
373
|
+
onGeneratePdf: w(L),
|
|
374
|
+
onGenerateImage: w(le),
|
|
375
|
+
onToggleAnnotator: x,
|
|
376
|
+
style: k({ visibility: w(Ve) ? w(G) ? "visible" : "hidden" : "visible", zIndex: T.value.length + 1 })
|
|
377
|
+
}, Oe({ _: 2 }, [
|
|
378
|
+
e.$slots.menuIcon ? {
|
|
379
|
+
name: "menuIcon",
|
|
380
|
+
fn: z(({ 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: z(() => [
|
|
388
|
+
y(e.$slots, "optionPdf", {}, void 0, !0)
|
|
389
|
+
]),
|
|
390
|
+
key: "1"
|
|
391
|
+
} : void 0,
|
|
392
|
+
e.$slots.optionImg ? {
|
|
393
|
+
name: "optionImg",
|
|
394
|
+
fn: z(() => [
|
|
395
|
+
y(e.$slots, "optionImg", {}, void 0, !0)
|
|
396
|
+
]),
|
|
397
|
+
key: "2"
|
|
398
|
+
} : void 0,
|
|
399
|
+
e.$slots.optionAnnotator ? {
|
|
400
|
+
name: "optionAnnotator",
|
|
401
|
+
fn: z(({ 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"])) : Y("", !0)
|
|
407
|
+
], 40, He));
|
|
408
|
+
}
|
|
409
|
+
}, Ze = /* @__PURE__ */ Re(Le, [["__scopeId", "data-v-9439a246"]]);
|
|
410
|
+
export {
|
|
411
|
+
Ze as default
|
|
412
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ref as k, computed as d, createElementBlock as i, openBlock as $, Fragment as o, createCommentVNode as m, createElementVNode as l, normalizeStyle as v, unref as C, renderList as b, createBlock as N } from "vue";
|
|
2
|
-
import { u as q } from "./useNestedProp-
|
|
3
|
-
import { u as M, X as S } from "./index-
|
|
2
|
+
import { u as q } from "./useNestedProp-tWT02_6S.js";
|
|
3
|
+
import { u as M, X as S } from "./index-CaxArMHL.js";
|
|
4
4
|
const w = { key: 0 }, B = ["d", "fill"], F = ["d", "fill"], X = ["d", "fill"], E = ["d", "fill"], I = ["d", "fill"], O = ["d", "fill"], A = ["d", "fill"], D = { key: 1 }, G = ["cx", "cy", "fill"], V = {
|
|
5
5
|
__name: "Digit",
|
|
6
6
|
props: {
|