vue-data-ui 3.2.2 → 3.2.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-BWqgcDpl.js → Arrow-Bb0bGghy.js} +1 -1
- package/dist/{BaseDraggableDialog-Cg4ZF9cb.js → BaseDraggableDialog-CHhZIht2.js} +2 -2
- package/dist/{BaseIcon-e63bhLIi.js → BaseIcon-Bz-1GQhu.js} +10 -3
- package/dist/ColorPicker-B-WUqMoV.js +238 -0
- package/dist/{DataTable-dv6G7Krn.js → DataTable-BvjacRbw.js} +2 -2
- package/dist/{Legend-CVcdvTLM.js → Legend-BpoFJ8fc.js} +2 -2
- package/dist/{NonSvgPenAndPaper-DSmotL8i.js → NonSvgPenAndPaper-l9giyY1Z.js} +3 -3
- package/dist/{PackageVersion-C3Vg-vTM.js → PackageVersion-x4hg0tYe.js} +1 -1
- package/dist/{PenAndPaper-CplrzuG7.js → PenAndPaper-CR8q353D.js} +3 -3
- package/dist/{Shape-D_vfF7sk.js → Shape-C_C_OmqR.js} +1 -1
- package/dist/{Slicer-BO2wNLcR.js → Slicer-BA2GhOmY.js} +63 -63
- package/dist/{SparkTooltip-B82G5-BO.js → SparkTooltip-Dz1PDE_h.js} +1 -1
- package/dist/{Title-DlqxaiIs.js → Title-C__lOIPC.js} +1 -1
- package/dist/{Tooltip-BKqK7z38.js → Tooltip-BOXz8skU.js} +1 -1
- package/dist/{UserOptions-C9IFsUt0.js → UserOptions-DsTgvAok.js} +2 -2
- package/dist/components/arrow.js +1 -1
- package/dist/components/vue-ui-3d-bar.js +1 -1
- package/dist/components/vue-ui-accordion.js +1 -1
- package/dist/components/vue-ui-age-pyramid.js +1 -1
- package/dist/components/vue-ui-annotator.js +5 -0
- package/dist/components/vue-ui-bullet.js +1 -1
- package/dist/components/vue-ui-candlestick.js +1 -1
- package/dist/components/vue-ui-carousel-table.js +1 -1
- package/dist/components/vue-ui-chestnut.js +1 -1
- package/dist/components/vue-ui-chord.js +1 -1
- package/dist/components/vue-ui-circle-pack.js +1 -1
- package/dist/components/vue-ui-cursor.js +1 -1
- package/dist/components/vue-ui-dashboard.js +1 -1
- package/dist/components/vue-ui-digits.js +1 -1
- package/dist/components/vue-ui-donut-evolution.js +1 -1
- package/dist/components/vue-ui-donut.js +1 -1
- package/dist/components/vue-ui-dumbbell.js +1 -1
- package/dist/components/vue-ui-flow.js +1 -1
- package/dist/components/vue-ui-funnel.js +1 -1
- package/dist/components/vue-ui-galaxy.js +1 -1
- package/dist/components/vue-ui-gauge.js +1 -1
- package/dist/components/vue-ui-gizmo.js +1 -1
- package/dist/components/vue-ui-heatmap.js +1 -1
- package/dist/components/vue-ui-history-plot.js +1 -1
- package/dist/components/vue-ui-horizontal-bar.js +1 -1
- package/dist/components/vue-ui-icon.js +1 -1
- package/dist/components/vue-ui-kpi.js +1 -1
- package/dist/components/vue-ui-mini-loader.js +1 -1
- package/dist/components/vue-ui-molecule.js +1 -1
- package/dist/components/vue-ui-mood-radar.js +1 -1
- package/dist/components/vue-ui-nested-donuts.js +1 -1
- package/dist/components/vue-ui-onion.js +1 -1
- package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
- package/dist/components/vue-ui-quadrant.js +1 -1
- package/dist/components/vue-ui-quick-chart.js +1 -1
- package/dist/components/vue-ui-radar.js +1 -1
- package/dist/components/vue-ui-rating.js +1 -1
- package/dist/components/vue-ui-relation-circle.js +1 -1
- package/dist/components/vue-ui-ridgeline.js +1 -1
- package/dist/components/vue-ui-rings.js +1 -1
- package/dist/components/vue-ui-scatter.js +1 -1
- package/dist/components/vue-ui-skeleton.js +1 -1
- package/dist/components/vue-ui-smiley.js +1 -1
- package/dist/components/vue-ui-spark-trend.js +1 -1
- package/dist/components/vue-ui-sparkbar.js +1 -1
- package/dist/components/vue-ui-sparkgauge.js +1 -1
- package/dist/components/vue-ui-sparkhistogram.js +1 -1
- package/dist/components/vue-ui-sparkline.js +1 -1
- package/dist/components/vue-ui-sparkstackbar.js +1 -1
- package/dist/components/vue-ui-stackbar.js +1 -1
- package/dist/components/vue-ui-strip-plot.js +1 -1
- package/dist/components/vue-ui-table-heatmap.js +1 -1
- package/dist/components/vue-ui-table-sparkline.js +1 -1
- package/dist/components/vue-ui-table.js +1 -1
- package/dist/components/vue-ui-thermometer.js +1 -1
- package/dist/components/vue-ui-timer.js +1 -1
- package/dist/components/vue-ui-tiremarks.js +1 -1
- package/dist/components/vue-ui-treemap.js +1 -1
- package/dist/components/vue-ui-vertical-bar.js +1 -1
- package/dist/components/vue-ui-waffle.js +1 -1
- package/dist/components/vue-ui-wheel.js +1 -1
- package/dist/components/vue-ui-word-cloud.js +1 -1
- package/dist/components/vue-ui-world.js +1 -1
- package/dist/components/vue-ui-xy-canvas.js +1 -1
- package/dist/components/vue-ui-xy.js +1 -1
- package/dist/{dom-to-png-1edcjS0-.js → dom-to-png-BgvOdfyW.js} +1 -1
- package/dist/{img-A48JwXxj.js → img-DjWwQXVS.js} +1 -1
- package/dist/{lib-CDp2KgIU.js → lib-BEpWEyMm.js} +56 -56
- package/dist/{pdf-BZV8MuXM.js → pdf-YD0ShN36.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.ts +15 -4
- package/dist/types/vue-ui-annotator.d.ts +14 -0
- package/dist/{useAutoSizeLabelsInsideViewbox-C2IsrQqi.js → useAutoSizeLabelsInsideViewbox-BVJkib7z.js} +1 -1
- package/dist/{useNestedProp-Cwtenuui.js → useNestedProp-CLD3Gk9S.js} +17 -13
- package/dist/{usePrinter-DU_Pi3Rq.js → usePrinter-w23K-ezx.js} +2 -2
- package/dist/{vue-data-ui-BHJOTOQY.js → vue-data-ui-boJG_PFN.js} +64 -64
- package/dist/vue-data-ui.js +96 -96
- package/dist/{vue-ui-3d-bar-rxghnZJO.js → vue-ui-3d-bar-HrbA4DmH.js} +6 -6
- package/dist/vue-ui-accordion-Cv7OaVUI.js +78 -0
- package/dist/{vue-ui-age-pyramid-gT_SnI-F.js → vue-ui-age-pyramid-CS5384rT.js} +6 -6
- package/dist/vue-ui-annotator-DOO0qej9.js +2959 -0
- package/dist/{vue-ui-bullet-DREbhLhy.js → vue-ui-bullet-DaauvX3a.js} +15 -15
- package/dist/{vue-ui-candlestick-D4P15Ci1.js → vue-ui-candlestick-DQXu21Mp.js} +33 -33
- package/dist/{vue-ui-carousel-table-C24KX4gd.js → vue-ui-carousel-table-Bh8Vb6ce.js} +4 -4
- package/dist/{vue-ui-chestnut-BbQknrj0.js → vue-ui-chestnut-BgmAUlUz.js} +32 -32
- package/dist/{vue-ui-chord-BM4_D9kI.js → vue-ui-chord-3NX_jwG_.js} +53 -53
- package/dist/{vue-ui-circle-pack-S4Asc9CS.js → vue-ui-circle-pack-Berb37Aa.js} +29 -29
- package/dist/{vue-ui-cursor-F9MXsQ1K.js → vue-ui-cursor-Cbt_0B5t.js} +2 -2
- package/dist/{vue-ui-dashboard-D6LHLdFS.js → vue-ui-dashboard-BzU-96mz.js} +67 -67
- package/dist/{vue-ui-digits-B_8VzLOS.js → vue-ui-digits-ChAz3jSS.js} +2 -2
- package/dist/{vue-ui-donut-B7T8_tP1.js → vue-ui-donut-BBQNmH5y.js} +8 -8
- package/dist/{vue-ui-donut-evolution-DOn-7PnK.js → vue-ui-donut-evolution-BD3_nxd1.js} +55 -55
- package/dist/{vue-ui-dumbbell-Ch66pFUG.js → vue-ui-dumbbell-Ct-YAkFg.js} +7 -7
- package/dist/{vue-ui-flow-DPcsRLJJ.js → vue-ui-flow-CVHjWM9l.js} +63 -63
- package/dist/{vue-ui-funnel-BdcKoacQ.js → vue-ui-funnel-Co79mdnX.js} +36 -36
- package/dist/{vue-ui-galaxy-D3c-O1Op.js → vue-ui-galaxy-D-XFEUfD.js} +46 -46
- package/dist/{vue-ui-gauge-D1zbKzZQ.js → vue-ui-gauge-Cx6eQ1nL.js} +59 -59
- package/dist/{vue-ui-gizmo-CcrANrSX.js → vue-ui-gizmo-D2PHxbS3.js} +3 -3
- package/dist/{vue-ui-heatmap-CcvV9Y14.js → vue-ui-heatmap-D4KCpMN3.js} +7 -7
- package/dist/{vue-ui-history-plot-a0mLhd0L.js → vue-ui-history-plot-Q_Q9g2Es.js} +44 -44
- package/dist/{vue-ui-kpi-BwUpplcm.js → vue-ui-kpi-D7WXGb3K.js} +3 -3
- package/dist/{vue-ui-mini-loader-DBPZOqZA.js → vue-ui-mini-loader-CKMzFSG5.js} +2 -2
- package/dist/{vue-ui-molecule-xsgartoC.js → vue-ui-molecule-Bxs72uED.js} +5 -5
- package/dist/{vue-ui-mood-radar-kl2d5QsL.js → vue-ui-mood-radar-B5wYN9tI.js} +7 -7
- package/dist/{vue-ui-nested-donuts-D9I8_VnP.js → vue-ui-nested-donuts-pt6KriAc.js} +70 -70
- package/dist/{vue-ui-onion-BlxsHavW.js → vue-ui-onion-C8jid2_q.js} +8 -8
- package/dist/{vue-ui-parallel-coordinate-plot-DHH6lrbW.js → vue-ui-parallel-coordinate-plot-06wFGFFV.js} +35 -35
- package/dist/{vue-ui-quadrant-DyIQZUPC.js → vue-ui-quadrant-B2dS6aSz.js} +8 -8
- package/dist/{vue-ui-quick-chart-Jfr_Ezh9.js → vue-ui-quick-chart-CrkR07qv.js} +55 -55
- package/dist/{vue-ui-radar-BL_dJV12.js → vue-ui-radar-CkAX2pUE.js} +54 -54
- package/dist/{vue-ui-rating-LiragGSU.js → vue-ui-rating-C0Ubexdn.js} +2 -2
- package/dist/{vue-ui-relation-circle-BrR2W_6V.js → vue-ui-relation-circle-eROPsns9.js} +25 -25
- package/dist/{vue-ui-ridgeline-CpaOYplC.js → vue-ui-ridgeline-AkXpQ6zB.js} +27 -27
- package/dist/{vue-ui-rings-B9TGOwFE.js → vue-ui-rings-DEwCnnwC.js} +38 -38
- package/dist/{vue-ui-scatter-Bq4pSRu_.js → vue-ui-scatter-DzojJVhb.js} +49 -49
- package/dist/{vue-ui-skeleton-BlVnOk2o.js → vue-ui-skeleton-Bp8Ao16B.js} +3 -3
- package/dist/{vue-ui-smiley-DyP9gKYe.js → vue-ui-smiley-DxC8rN5b.js} +2 -2
- package/dist/{vue-ui-spark-trend-Pvdqnqia.js → vue-ui-spark-trend-DqKebrx9.js} +22 -22
- package/dist/{vue-ui-sparkbar-DF6eDrxt.js → vue-ui-sparkbar-BShmZ5Vp.js} +3 -3
- package/dist/{vue-ui-sparkgauge-BR7oFSSF.js → vue-ui-sparkgauge-NX3Z_bFF.js} +3 -3
- package/dist/{vue-ui-sparkhistogram-CkOGqy2h.js → vue-ui-sparkhistogram-TBxquo5S.js} +4 -4
- package/dist/{vue-ui-sparkline-DF8bLc-F.js → vue-ui-sparkline-Bw4jxjxk.js} +29 -29
- package/dist/{vue-ui-sparkstackbar-DMkn-0FV.js → vue-ui-sparkstackbar-D8YGkrZ9.js} +3 -3
- package/dist/{vue-ui-stackbar-CUXktGA-.js → vue-ui-stackbar-0Kag52U5.js} +38 -38
- package/dist/{vue-ui-strip-plot-ibdxtil6.js → vue-ui-strip-plot-CU0tiCsd.js} +7 -7
- package/dist/{vue-ui-table-BocHahKB.js → vue-ui-table-B4BTGeKs.js} +17 -17
- package/dist/{vue-ui-table-heatmap-B03YDYck.js → vue-ui-table-heatmap-D-iueyM0.js} +13 -13
- package/dist/{vue-ui-table-sparkline-8mOvfeTL.js → vue-ui-table-sparkline-BnqMY5lk.js} +4 -4
- package/dist/{vue-ui-thermometer-Dq_nJLiU.js → vue-ui-thermometer-Ct3Sr0M1.js} +7 -7
- package/dist/{vue-ui-timer-BLveMseW.js → vue-ui-timer-DsAVvm1H.js} +27 -27
- package/dist/{vue-ui-tiremarks-DMG1_YzV.js → vue-ui-tiremarks-DKNpl_8J.js} +6 -6
- package/dist/{vue-ui-treemap-io-J9w5R.js → vue-ui-treemap-Jdea_p8r.js} +8 -8
- package/dist/{vue-ui-vertical-bar-DqnTF6h2.js → vue-ui-vertical-bar-DE42y9ZI.js} +30 -30
- package/dist/{vue-ui-waffle-X9DHHqlw.js → vue-ui-waffle-CrYeU7zd.js} +75 -75
- package/dist/{vue-ui-wheel-BLBwVpV8.js → vue-ui-wheel-B4Be4Ol6.js} +6 -6
- package/dist/{vue-ui-word-cloud-0GXQqY8G.js → vue-ui-word-cloud-9QkLvAgs.js} +28 -28
- package/dist/{vue-ui-world-5OHPVwxv.js → vue-ui-world-DTwfuIIZ.js} +6 -6
- package/dist/{vue-ui-xy-HW0T1CD8.js → vue-ui-xy-BKzt6d8T.js} +9 -9
- package/dist/{vue-ui-xy-canvas-C4FbbXNQ.js → vue-ui-xy-canvas-BGzMXziC.js} +10 -10
- package/package.json +1 -1
- package/dist/ColorPicker-BO4ntExI.js +0 -135
- package/dist/vue-ui-accordion-BWnxgda4.js +0 -76
- package/dist/vue-ui-annotator-BkHDHfHG.js +0 -2182
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { useCssVars as it, defineAsyncComponent as
|
|
1
|
+
import { useCssVars as it, defineAsyncComponent as q, computed as ae, ref as m, toRefs as ut, watch as oe, shallowRef as We, onMounted as rt, onBeforeUnmount as ct, createElementBlock as _, openBlock as k, unref as u, normalizeStyle as ye, createBlock as le, createCommentVNode as W, createVNode as we, createSlots as Xe, withCtx as S, renderSlot as F, normalizeProps as ne, guardReactiveProps as se, normalizeClass as Ee, createElementVNode as ke, Fragment as vt, renderList as dt, toDisplayString as Me, resolveDynamicComponent as mt, mergeProps as ht, createTextVNode as Ue, nextTick as Le } from "vue";
|
|
2
2
|
import { d as ft, t as pt, u as gt } from "./useResponsive-DfdjqQps.js";
|
|
3
|
-
import { c as Ye, t as bt,
|
|
4
|
-
import { u as Mt, a as
|
|
3
|
+
import { c as Ye, t as bt, ai as yt, q as wt, b as kt, p as Ce, o as qe, f as Ge, g as Ct, d as xt, X as $t, x as Tt, y as St, z as Ft } from "./lib-BEpWEyMm.js";
|
|
4
|
+
import { u as Mt, a as je } from "./useNestedProp-CLD3Gk9S.js";
|
|
5
5
|
import { u as Pt, B as At } from "./BaseScanner-BgWxam9d.js";
|
|
6
|
-
import { u as Ot } from "./usePrinter-
|
|
6
|
+
import { u as Ot } from "./usePrinter-w23K-ezx.js";
|
|
7
7
|
import { u as It } from "./useUserOptionState-BIvW1Kz7.js";
|
|
8
8
|
import { u as zt } from "./useChartAccessibility-9icAAmYg.js";
|
|
9
|
-
import Dt from "./img-
|
|
10
|
-
import Nt from "./Title-
|
|
9
|
+
import Dt from "./img-DjWwQXVS.js";
|
|
10
|
+
import Nt from "./Title-C__lOIPC.js";
|
|
11
11
|
import { t as _t } from "./themes-D3cUNuKw.js";
|
|
12
12
|
import { u as Bt } from "./usePanZoom-BVca3eMk.js";
|
|
13
13
|
import { _ as Rt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
@@ -75,7 +75,7 @@ function Xt({
|
|
|
75
75
|
X !== y && (R = ($.value - y) / (X - y) * (M - x) + x), R = Math.max(x, Math.min(M, R));
|
|
76
76
|
let A = !1, I = R;
|
|
77
77
|
for (; !A && I >= s; ) {
|
|
78
|
-
let { w: O, h: z, wordMask: V, minX:
|
|
78
|
+
let { w: O, h: z, wordMask: V, minX: G, minY: j, maxX: H, maxY: Z } = He({
|
|
79
79
|
word: $,
|
|
80
80
|
fontSize: I,
|
|
81
81
|
pad: g,
|
|
@@ -90,7 +90,7 @@ function Xt({
|
|
|
90
90
|
L += 1;
|
|
91
91
|
const P = Math.round(Y + D * Math.cos(i * Math.PI / 180) - O / 2), p = Math.round(K + D * Math.sin(i * Math.PI / 180) - z / 2);
|
|
92
92
|
if (!(P < 0 || p < 0 || P + O > l || p + z > o) && Ze({ mask: E, maskW: l, maskH: o, wx: P, wy: p, wordMask: V })) {
|
|
93
|
-
ue.push({ ...$, x: P - l / 2, y: p - o / 2, fontSize: I, width: O, height: z, angle: 0, minX:
|
|
93
|
+
ue.push({ ...$, x: P - l / 2, y: p - o / 2, fontSize: I, width: O, height: z, angle: 0, minX: G, minY: j, maxX: H, maxY: Z }), Je({ mask: E, maskW: l, maskH: o, wx: P, wy: p, wordMask: V }), A = !0;
|
|
94
94
|
break;
|
|
95
95
|
}
|
|
96
96
|
}
|
|
@@ -100,7 +100,7 @@ function Xt({
|
|
|
100
100
|
}
|
|
101
101
|
if (!A && I < s) {
|
|
102
102
|
I = s;
|
|
103
|
-
const { w: O, h: z, wordMask: V, minX:
|
|
103
|
+
const { w: O, h: z, wordMask: V, minX: G, minY: j, maxX: H, maxY: Z } = He({
|
|
104
104
|
word: $,
|
|
105
105
|
fontSize: I,
|
|
106
106
|
pad: g,
|
|
@@ -114,7 +114,7 @@ function Xt({
|
|
|
114
114
|
L += 1;
|
|
115
115
|
const P = Math.round(Y + D * Math.cos(i * Math.PI / 180) - O / 2), p = Math.round(K + D * Math.sin(i * Math.PI / 180) - z / 2);
|
|
116
116
|
if (!(P < 0 || p < 0 || P + O > l || p + z > o) && Ze({ mask: E, maskW: l, maskH: o, wx: P, wy: p, wordMask: V })) {
|
|
117
|
-
ue.push({ ...$, x: P - l / 2, y: p - o / 2, fontSize: I, width: O, height: z, angle: 0, minX:
|
|
117
|
+
ue.push({ ...$, x: P - l / 2, y: p - o / 2, fontSize: I, width: O, height: z, angle: 0, minX: G, minY: j, maxX: H, maxY: Z }), Je({ mask: E, maskW: l, maskH: o, wx: P, wy: p, wordMask: V }), A = !0;
|
|
118
118
|
break;
|
|
119
119
|
}
|
|
120
120
|
}
|
|
@@ -124,7 +124,7 @@ function Xt({
|
|
|
124
124
|
}
|
|
125
125
|
return ue.sort(($, R) => R.fontSize - $.fontSize);
|
|
126
126
|
}
|
|
127
|
-
const Et = ["id"], Ut = ["xmlns", "viewBox"], Lt = ["width", "height"], Yt = ["transform"],
|
|
127
|
+
const Et = ["id"], Ut = ["xmlns", "viewBox"], Lt = ["width", "height"], Yt = ["transform"], qt = ["x", "y", "width", "height", "onMouseover", "onMouseleave", "onClick"], Gt = ["fill", "font-weight", "x", "y", "font-size", "transform"], jt = {
|
|
128
128
|
key: 3,
|
|
129
129
|
class: "vue-data-ui-watermark"
|
|
130
130
|
}, Ht = {
|
|
@@ -151,17 +151,17 @@ const Et = ["id"], Ut = ["xmlns", "viewBox"], Lt = ["width", "height"], Yt = ["t
|
|
|
151
151
|
it((t) => ({
|
|
152
152
|
v20b7b35f: t.slicerColor
|
|
153
153
|
}));
|
|
154
|
-
const v =
|
|
154
|
+
const v = q(() => import("./Tooltip-BOXz8skU.js")), h = q(() => import("./BaseIcon-Bz-1GQhu.js")), d = q(() => import("./vue-ui-accordion-Cv7OaVUI.js")), f = q(() => import("./DataTable-BvjacRbw.js")), l = q(() => import("./PenAndPaper-CR8q353D.js")), o = q(() => import("./UserOptions-DsTgvAok.js")), s = q(() => import("./PackageVersion-x4hg0tYe.js")), x = q(() => import("./BaseDraggableDialog-CHhZIht2.js")), { vue_ui_word_cloud: M } = Mt(), r = C, y = ae({
|
|
155
155
|
get() {
|
|
156
156
|
return !!r.dataset && r.dataset.length;
|
|
157
157
|
},
|
|
158
158
|
set(t) {
|
|
159
159
|
return t;
|
|
160
160
|
}
|
|
161
|
-
}), X = m(Ye()), E = m(0), w = m(null), B = m(null), U = m(null), me = m(0), he = m(0), ie = m(!1), Y = m(null), K = m(null), e = m(
|
|
161
|
+
}), X = m(Ye()), E = m(0), w = m(null), B = m(null), U = m(null), me = m(0), he = m(0), ie = m(!1), Y = m(null), K = m(null), e = m(j()), { loading: ue, FINAL_DATASET: $, manualLoading: R } = Pt({
|
|
162
162
|
...ut(r),
|
|
163
163
|
FINAL_CONFIG: e,
|
|
164
|
-
prepareConfig:
|
|
164
|
+
prepareConfig: j,
|
|
165
165
|
skeletonDataset: [
|
|
166
166
|
{ name: "Lorem", value: 6 },
|
|
167
167
|
{ name: "ipsum", value: 3 },
|
|
@@ -242,14 +242,14 @@ const Et = ["id"], Ut = ["xmlns", "viewBox"], Lt = ["width", "height"], Yt = ["t
|
|
|
242
242
|
oe(() => r.dataset, () => {
|
|
243
243
|
A.value = I(), xe(), Z();
|
|
244
244
|
});
|
|
245
|
-
const { userOptionsVisible: O, setUserOptionsVisibility: z, keepUserOptionState: V } = It({ config: e.value }), { svgRef:
|
|
246
|
-
function
|
|
247
|
-
const t =
|
|
245
|
+
const { userOptionsVisible: O, setUserOptionsVisibility: z, keepUserOptionState: V } = It({ config: e.value }), { svgRef: G } = zt({ config: e.value.style.chart.title });
|
|
246
|
+
function j() {
|
|
247
|
+
const t = je({
|
|
248
248
|
userConfig: r.config,
|
|
249
249
|
defaultConfig: M
|
|
250
250
|
});
|
|
251
251
|
return t.theme ? {
|
|
252
|
-
...
|
|
252
|
+
...je({
|
|
253
253
|
userConfig: _t.vue_ui_word_cloud[t.theme] || r.config,
|
|
254
254
|
defaultConfig: t
|
|
255
255
|
}),
|
|
@@ -275,7 +275,7 @@ const Et = ["id"], Ut = ["xmlns", "viewBox"], Lt = ["width", "height"], Yt = ["t
|
|
|
275
275
|
oe(() => L.value, (t) => {
|
|
276
276
|
t === !1 && (D(), Z());
|
|
277
277
|
}), oe(() => r.config, (t) => {
|
|
278
|
-
e.value =
|
|
278
|
+
e.value = j(), O.value = !e.value.userOptions.showOnChartHover, Ae(), me.value += 1, he.value += 1, T.value.showTable = e.value.table.show, T.value.showTooltip = e.value.style.chart.tooltip.show;
|
|
279
279
|
}, { deep: !0 });
|
|
280
280
|
const i = m({
|
|
281
281
|
width: e.value.style.chart.width,
|
|
@@ -297,7 +297,7 @@ const Et = ["id"], Ut = ["xmlns", "viewBox"], Lt = ["width", "height"], Yt = ["t
|
|
|
297
297
|
rt(Ae);
|
|
298
298
|
const Pe = ae(() => !!e.value.debug);
|
|
299
299
|
function Ae() {
|
|
300
|
-
|
|
300
|
+
qe(r.dataset) ? Ge({
|
|
301
301
|
componentName: "VueUiWordCloud",
|
|
302
302
|
type: "dataset",
|
|
303
303
|
debug: Pe.value
|
|
@@ -306,7 +306,7 @@ const Et = ["id"], Ut = ["xmlns", "viewBox"], Lt = ["width", "height"], Yt = ["t
|
|
|
306
306
|
datasetObject: t,
|
|
307
307
|
requiredAttributes: ["name", "value"]
|
|
308
308
|
}).forEach((a) => {
|
|
309
|
-
y.value = !1,
|
|
309
|
+
y.value = !1, Ge({
|
|
310
310
|
componentName: "VueUiWordCloud",
|
|
311
311
|
type: "datasetSerieAttribute",
|
|
312
312
|
property: a,
|
|
@@ -314,7 +314,7 @@ const Et = ["id"], Ut = ["xmlns", "viewBox"], Lt = ["width", "height"], Yt = ["t
|
|
|
314
314
|
debug: Pe.value
|
|
315
315
|
});
|
|
316
316
|
});
|
|
317
|
-
}),
|
|
317
|
+
}), qe(r.dataset) || (R.value = e.value.loading), e.value.responsive && (p.value && (Q.value && p.value.unobserve(Q.value), p.value.disconnect()), p.value = new ResizeObserver(P), Q.value = w.value.parentNode, p.value.observe(Q.value)), Z();
|
|
318
318
|
}
|
|
319
319
|
ct(() => {
|
|
320
320
|
p.value && (Q.value && p.value.unobserve(Q.value), p.value.disconnect());
|
|
@@ -430,7 +430,7 @@ const Et = ["id"], Ut = ["xmlns", "viewBox"], Lt = ["width", "height"], Yt = ["t
|
|
|
430
430
|
function Te() {
|
|
431
431
|
ce.value = !ce.value;
|
|
432
432
|
}
|
|
433
|
-
const et = ae(() => !ce.value && e.value.style.chart.zoom.show), { viewBox: ge, resetZoom: be, isZoom: tt, setInitialViewBox: at } = Bt(
|
|
433
|
+
const et = ae(() => !ce.value && e.value.style.chart.zoom.show), { viewBox: ge, resetZoom: be, isZoom: tt, setInitialViewBox: at } = Bt(G, {
|
|
434
434
|
x: 0,
|
|
435
435
|
y: 0,
|
|
436
436
|
width: i.value.width <= 0 ? 10 : i.value.width,
|
|
@@ -534,7 +534,7 @@ const Et = ["id"], Ut = ["xmlns", "viewBox"], Lt = ["width", "height"], Yt = ["t
|
|
|
534
534
|
}, [
|
|
535
535
|
e.value.userOptions.buttons.annotator ? (k(), le(u(l), {
|
|
536
536
|
key: 0,
|
|
537
|
-
svgRef: u(
|
|
537
|
+
svgRef: u(G),
|
|
538
538
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
539
539
|
color: e.value.style.chart.color,
|
|
540
540
|
active: ce.value,
|
|
@@ -646,7 +646,7 @@ const Et = ["id"], Ut = ["xmlns", "viewBox"], Lt = ["width", "height"], Yt = ["t
|
|
|
646
646
|
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasXls", "hasImg", "hasTable", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "hasTooltip", "isTooltip", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "tableDialog", "onGeneratePdf", "onGenerateImage", "style"])) : W("", !0),
|
|
647
647
|
(k(), _("svg", {
|
|
648
648
|
ref_key: "svgRef",
|
|
649
|
-
ref:
|
|
649
|
+
ref: G,
|
|
650
650
|
class: Ee({ "vue-data-ui-fullscreen--on": ee.value, "vue-data-ui-fulscreen--off": !ee.value }),
|
|
651
651
|
xmlns: u($t),
|
|
652
652
|
viewBox: `${u(ge).x} ${u(ge).y} ${u(ge).width} ${u(ge).height}`,
|
|
@@ -680,7 +680,7 @@ const Et = ["id"], Ut = ["xmlns", "viewBox"], Lt = ["width", "height"], Yt = ["t
|
|
|
680
680
|
onMouseover: (b) => st(a, c),
|
|
681
681
|
onMouseleave: (b) => lt(a, c),
|
|
682
682
|
onClick: (b) => nt(a, c)
|
|
683
|
-
}, null, 40,
|
|
683
|
+
}, null, 40, qt)) : W("", !0),
|
|
684
684
|
(k(), _("text", {
|
|
685
685
|
fill: a.color,
|
|
686
686
|
"font-weight": e.value.style.chart.words.bold ? "bold" : "normal",
|
|
@@ -693,14 +693,14 @@ const Et = ["id"], Ut = ["xmlns", "viewBox"], Lt = ["width", "height"], Yt = ["t
|
|
|
693
693
|
"text-anchor": "middle",
|
|
694
694
|
"dominant-baseline": "central",
|
|
695
695
|
style: ye(`animation-delay:${c * e.value.animationDelayMs}ms !important; pointer-events:none;`)
|
|
696
|
-
}, Me(a.name), 15,
|
|
696
|
+
}, Me(a.name), 15, Gt))
|
|
697
697
|
]))), 256))
|
|
698
698
|
], 8, Yt),
|
|
699
699
|
F(t.$slots, "svg", {
|
|
700
700
|
svg: { height: i.value.height, width: i.value.width }
|
|
701
701
|
}, void 0, !0)
|
|
702
702
|
], 10, Ut)),
|
|
703
|
-
t.$slots.watermark ? (k(), _("div",
|
|
703
|
+
t.$slots.watermark ? (k(), _("div", jt, [
|
|
704
704
|
F(t.$slots, "watermark", ne(se({ isPrinting: u(Oe) || u(Ie) })), void 0, !0)
|
|
705
705
|
])) : W("", !0),
|
|
706
706
|
u(tt) ? (k(), _("div", Ht, [
|