vue-data-ui 3.2.1 → 3.2.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-cyyFTTnm.js → Arrow-Bb0bGghy.js} +1 -1
- package/dist/{BaseDraggableDialog-Bf6A6G_f.js → BaseDraggableDialog-CHhZIht2.js} +2 -2
- package/dist/{BaseIcon-D2f9w5Z5.js → BaseIcon-Bz-1GQhu.js} +10 -3
- package/dist/ColorPicker-B-WUqMoV.js +238 -0
- package/dist/{DataTable-xISHA7Pu.js → DataTable-BvjacRbw.js} +10 -10
- package/dist/{Legend-_Rv594VS.js → Legend-BpoFJ8fc.js} +2 -2
- package/dist/{NonSvgPenAndPaper-DiM4-9ju.js → NonSvgPenAndPaper-l9giyY1Z.js} +3 -3
- package/dist/{PackageVersion-BB7joYAK.js → PackageVersion-oBQ8brnx.js} +1 -1
- package/dist/{PenAndPaper-CtDMyIvW.js → PenAndPaper-CR8q353D.js} +3 -3
- package/dist/{Shape-BDy56-wS.js → Shape-C_C_OmqR.js} +1 -1
- package/dist/{Slicer-qM5l8BsU.js → Slicer-BA2GhOmY.js} +68 -68
- package/dist/{SparkTooltip-DOFGBHJ-.js → SparkTooltip-Dz1PDE_h.js} +1 -1
- package/dist/{Title-BIaVNiUQ.js → Title-C__lOIPC.js} +1 -1
- package/dist/{Tooltip-Clf2K3CF.js → Tooltip-BOXz8skU.js} +1 -1
- package/dist/{UserOptions-Bn3u4JQu.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-CSg_eTqL.js → dom-to-png-BgvOdfyW.js} +1 -1
- package/dist/{img-CH7J0fYg.js → img-DjWwQXVS.js} +1 -1
- package/dist/{lib-p5pfHmOX.js → lib-BEpWEyMm.js} +351 -368
- package/dist/{pdf-Wd2BQz4D.js → pdf-YD0ShN36.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.ts +24 -3
- package/dist/{useAutoSizeLabelsInsideViewbox-VqESrzQg.js → useAutoSizeLabelsInsideViewbox-BVJkib7z.js} +1 -1
- package/dist/{useNestedProp-7BbqoAYu.js → useNestedProp-CLD3Gk9S.js} +24 -7
- package/dist/{usePrinter-Yeu5jOfm.js → usePrinter-w23K-ezx.js} +2 -2
- package/dist/{vue-data-ui-DyqIdFbp.js → vue-data-ui-hSWsJzdK.js} +64 -64
- package/dist/vue-data-ui.js +96 -96
- package/dist/{vue-ui-3d-bar-BrlJjJDI.js → vue-ui-3d-bar-B45AYk-O.js} +6 -6
- package/dist/vue-ui-accordion-Cv7OaVUI.js +78 -0
- package/dist/{vue-ui-age-pyramid-BDIMacvP.js → vue-ui-age-pyramid-CJ66TbYc.js} +6 -6
- package/dist/vue-ui-annotator-DOO0qej9.js +2959 -0
- package/dist/{vue-ui-bullet-CIJw4kXd.js → vue-ui-bullet-D_V1l1Jt.js} +15 -15
- package/dist/{vue-ui-candlestick-ZjLiyYpC.js → vue-ui-candlestick-DrkWrGT2.js} +33 -33
- package/dist/{vue-ui-carousel-table-_-qalKHa.js → vue-ui-carousel-table-0zk2YkV7.js} +4 -4
- package/dist/{vue-ui-chestnut-XkX5ANAN.js → vue-ui-chestnut-CAGkS9Lt.js} +33 -33
- package/dist/{vue-ui-chord-B1vFXFgp.js → vue-ui-chord-CHAaUGaZ.js} +54 -54
- package/dist/{vue-ui-circle-pack-8J10Q6-I.js → vue-ui-circle-pack-CBySiQot.js} +31 -31
- package/dist/{vue-ui-cursor-CQp6B13J.js → vue-ui-cursor-Cbt_0B5t.js} +2 -2
- package/dist/{vue-ui-dashboard-CTEYSHVA.js → vue-ui-dashboard-BAOd1hi1.js} +69 -69
- package/dist/{vue-ui-digits-B4aZJw8I.js → vue-ui-digits-ChAz3jSS.js} +2 -2
- package/dist/{vue-ui-donut-d_XvnIQB.js → vue-ui-donut-BgYaWImK.js} +8 -8
- package/dist/{vue-ui-donut-evolution-Bz7fLQru.js → vue-ui-donut-evolution-UWyvIsbE.js} +55 -55
- package/dist/{vue-ui-dumbbell-fDl24oQq.js → vue-ui-dumbbell-B5IHRXdS.js} +7 -7
- package/dist/{vue-ui-flow-NYnnPoDX.js → vue-ui-flow-DB4sLZG4.js} +63 -63
- package/dist/{vue-ui-funnel-BWPIKyW8.js → vue-ui-funnel-COZLSfZ8.js} +37 -37
- package/dist/{vue-ui-galaxy-LabscC7n.js → vue-ui-galaxy-S8pIdU78.js} +46 -46
- package/dist/{vue-ui-gauge-DXETakZJ.js → vue-ui-gauge-BVaE3IZt.js} +59 -59
- package/dist/{vue-ui-gizmo-DZgMzP_e.js → vue-ui-gizmo-BmJ01zdG.js} +3 -3
- package/dist/{vue-ui-heatmap-C6Z5wEkZ.js → vue-ui-heatmap-DiAryN8L.js} +8 -8
- package/dist/{vue-ui-history-plot-CUGzhcjr.js → vue-ui-history-plot-eeYk4C28.js} +44 -44
- package/dist/{vue-ui-kpi-DklTxULP.js → vue-ui-kpi-D7WXGb3K.js} +3 -3
- package/dist/{vue-ui-mini-loader-D22vfM5g.js → vue-ui-mini-loader-CKMzFSG5.js} +5 -5
- package/dist/{vue-ui-molecule-BAH7NOZP.js → vue-ui-molecule-daI3rmbc.js} +6 -6
- package/dist/{vue-ui-mood-radar-DWZKM2u0.js → vue-ui-mood-radar-CawOBU0s.js} +7 -7
- package/dist/{vue-ui-nested-donuts-CxUSyTrT.js → vue-ui-nested-donuts-Ci7qxsh6.js} +70 -70
- package/dist/{vue-ui-onion-BfzkGOmQ.js → vue-ui-onion-CUkVuewC.js} +8 -8
- package/dist/{vue-ui-parallel-coordinate-plot-Dnl2GBps.js → vue-ui-parallel-coordinate-plot-D7UkjkUV.js} +35 -35
- package/dist/{vue-ui-quadrant-C_3l8xWm.js → vue-ui-quadrant-B9VZz5d6.js} +8 -8
- package/dist/{vue-ui-quick-chart-E6QujRg4.js → vue-ui-quick-chart-BQgH4Aap.js} +55 -55
- package/dist/{vue-ui-radar-C_yLoJvR.js → vue-ui-radar-DvZ8XcZC.js} +54 -54
- package/dist/{vue-ui-rating-Df02iNbL.js → vue-ui-rating-C0Ubexdn.js} +2 -2
- package/dist/{vue-ui-relation-circle-CBIXCwQb.js → vue-ui-relation-circle-Bal5QL_Z.js} +28 -28
- package/dist/{vue-ui-ridgeline-euhLcVI0.js → vue-ui-ridgeline-DbRZFJcN.js} +27 -27
- package/dist/{vue-ui-rings-BGxjmMDw.js → vue-ui-rings-BJ_Dmy5i.js} +38 -38
- package/dist/{vue-ui-scatter-CO4kXKZF.js → vue-ui-scatter-bljL9Bav.js} +50 -50
- package/dist/{vue-ui-skeleton-DrCI1AAl.js → vue-ui-skeleton-DZPi12tE.js} +3 -3
- package/dist/{vue-ui-smiley-FPLXOxew.js → vue-ui-smiley-DxC8rN5b.js} +2 -2
- package/dist/{vue-ui-spark-trend-D4dDN0Sc.js → vue-ui-spark-trend-CqMF642_.js} +22 -22
- package/dist/{vue-ui-sparkbar-BEXrQvP0.js → vue-ui-sparkbar-BcyaivMe.js} +3 -3
- package/dist/{vue-ui-sparkgauge-Cp4-BTZu.js → vue-ui-sparkgauge-BkIUpzkZ.js} +3 -3
- package/dist/{vue-ui-sparkhistogram-BwmKv4YF.js → vue-ui-sparkhistogram-DnPdJk3e.js} +4 -4
- package/dist/{vue-ui-sparkline-BXZJ-fUn.js → vue-ui-sparkline-F7h636hU.js} +29 -29
- package/dist/{vue-ui-sparkstackbar-Cie2g7gk.js → vue-ui-sparkstackbar-B-Du5D3w.js} +3 -3
- package/dist/{vue-ui-stackbar-B137wy4q.js → vue-ui-stackbar-BNOfLkY2.js} +38 -38
- package/dist/{vue-ui-strip-plot-Dd1aHpFW.js → vue-ui-strip-plot-DNPM01M_.js} +7 -7
- package/dist/{vue-ui-table-CduckNVX.js → vue-ui-table-__ABUm9x.js} +196 -156
- package/dist/{vue-ui-table-heatmap-DZAkUjty.js → vue-ui-table-heatmap-D-iueyM0.js} +14 -14
- package/dist/{vue-ui-table-sparkline-D6oTAFEO.js → vue-ui-table-sparkline-B5QdvlV7.js} +5 -5
- package/dist/{vue-ui-thermometer-BmK3_O7T.js → vue-ui-thermometer-DID_4Y6w.js} +10 -10
- package/dist/{vue-ui-timer-BYw6Z01O.js → vue-ui-timer-CjJmpXoF.js} +27 -27
- package/dist/{vue-ui-tiremarks-CWiME7zn.js → vue-ui-tiremarks-wDKOTVny.js} +6 -6
- package/dist/{vue-ui-treemap-D8PmfJbw.js → vue-ui-treemap-DFo4w0cb.js} +8 -8
- package/dist/{vue-ui-vertical-bar-DRC047BC.js → vue-ui-vertical-bar-BEdckhBh.js} +31 -31
- package/dist/{vue-ui-waffle-DAaBoyx4.js → vue-ui-waffle-D5i1Q6tF.js} +75 -75
- package/dist/vue-ui-wheel-DJlN8joO.js +620 -0
- package/dist/{vue-ui-word-cloud-ByKWZtkV.js → vue-ui-word-cloud-B7Y2UrwO.js} +29 -29
- package/dist/{vue-ui-world-BezpUr_Q.js → vue-ui-world-DzF8YW_Q.js} +6 -6
- package/dist/{vue-ui-xy-DlcJVA22.js → vue-ui-xy-DGln2YgO.js} +900 -822
- package/dist/{vue-ui-xy-canvas-DPfxdanR.js → vue-ui-xy-canvas-DF2Ts-g3.js} +10 -10
- package/package.json +3 -3
- package/dist/ColorPicker-gaAecgEC.js +0 -135
- package/dist/vue-ui-accordion-BSrtaPYx.js +0 -76
- package/dist/vue-ui-annotator-DGVlVhhy.js +0 -2182
- package/dist/vue-ui-wheel-DfNXrsTY.js +0 -587
|
@@ -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 = {
|
|
@@ -149,19 +149,19 @@ const Et = ["id"], Ut = ["xmlns", "viewBox"], Lt = ["width", "height"], Yt = ["t
|
|
|
149
149
|
},
|
|
150
150
|
setup(C, { expose: g }) {
|
|
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-oBQ8brnx.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, [
|