vue-data-ui 3.2.7 → 3.2.8
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/{PackageVersion-Cwrh45ON.js → PackageVersion-C40g0Rfc.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 +1 -1
- 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-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-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/style.css +1 -1
- package/dist/{vue-data-ui-DH8opsJv.js → vue-data-ui-BcRg499t.js} +62 -62
- package/dist/vue-data-ui.js +62 -62
- package/dist/{vue-ui-3d-bar-CRXnB8wH.js → vue-ui-3d-bar-Cf7zHemQ.js} +3 -3
- package/dist/{vue-ui-accordion-CeMTgpl0.js → vue-ui-accordion-CDIzGCG1.js} +16 -16
- package/dist/{vue-ui-age-pyramid-BEGsngR6.js → vue-ui-age-pyramid-T09D0LHr.js} +3 -3
- package/dist/{vue-ui-annotator-BhZr9pFJ.js → vue-ui-annotator-3bUg-1Zy.js} +3 -3
- package/dist/{vue-ui-bullet-CrCHb15S.js → vue-ui-bullet-DKgdFa2v.js} +3 -3
- package/dist/{vue-ui-candlestick-CnWY88nd.js → vue-ui-candlestick-g6PO_L_7.js} +3 -3
- package/dist/{vue-ui-carousel-table-CsVWXrdA.js → vue-ui-carousel-table-Ch2xooE8.js} +3 -3
- package/dist/{vue-ui-chestnut-NpO91zJV.js → vue-ui-chestnut-B-nzp0b6.js} +4 -4
- package/dist/{vue-ui-chord-bIihB6Qf.js → vue-ui-chord-BqS8DoTd.js} +4 -3
- package/dist/{vue-ui-circle-pack-Z5VTiXZU.js → vue-ui-circle-pack-B1axDP9l.js} +5 -5
- package/dist/{vue-ui-dashboard-BEJ5uSZV.js → vue-ui-dashboard-TXcw45j_.js} +67 -66
- package/dist/{vue-ui-digits-CDtdGqLS.js → vue-ui-digits-pW7YVqxy.js} +8 -8
- package/dist/{vue-ui-donut-a82yzfvT.js → vue-ui-donut-BFpWEe2s.js} +3 -3
- package/dist/{vue-ui-donut-evolution-DP_dXmIC.js → vue-ui-donut-evolution-BoVslTri.js} +3 -3
- package/dist/{vue-ui-dumbbell-BDIzPnlX.js → vue-ui-dumbbell-CRHvtmq9.js} +3 -3
- package/dist/{vue-ui-flow-B72CBzC3.js → vue-ui-flow-CKGjSZoj.js} +50 -50
- package/dist/{vue-ui-funnel-CaxHiJIB.js → vue-ui-funnel-CKUlzitM.js} +51 -51
- package/dist/{vue-ui-galaxy-CbGRAAFI.js → vue-ui-galaxy-DZqCAK9c.js} +3 -3
- package/dist/{vue-ui-gauge-But_1QwV.js → vue-ui-gauge-D3bPFF59.js} +3 -3
- package/dist/{vue-ui-gizmo-DcBQp-C8.js → vue-ui-gizmo-oVLp367W.js} +16 -16
- package/dist/{vue-ui-heatmap-BAVkwnbX.js → vue-ui-heatmap-C1RctcPx.js} +5 -5
- package/dist/{vue-ui-history-plot-BlVib573.js → vue-ui-history-plot-CoQYOlF4.js} +84 -84
- package/dist/{vue-ui-kpi-DuFgWXJM.js → vue-ui-kpi-BZX-tqIm.js} +2 -2
- package/dist/{vue-ui-mini-loader-D4W9oE3V.js → vue-ui-mini-loader-hMqB-KQI.js} +17 -17
- package/dist/{vue-ui-molecule-CEb6_0wR.js → vue-ui-molecule-D0Kr_w-v.js} +4 -4
- package/dist/{vue-ui-mood-radar-CqJPicZv.js → vue-ui-mood-radar-C6UCofDb.js} +3 -3
- package/dist/{vue-ui-nested-donuts-B6rmNl9X.js → vue-ui-nested-donuts-94Gu95Z9.js} +3 -3
- package/dist/{vue-ui-onion-BWAdTZ6V.js → vue-ui-onion-Dy_aTvGI.js} +3 -3
- package/dist/{vue-ui-parallel-coordinate-plot-DXbgnatq.js → vue-ui-parallel-coordinate-plot-D_oo5lQW.js} +3 -3
- package/dist/{vue-ui-quadrant-BwGMZ_d_.js → vue-ui-quadrant-CRYpRl_q.js} +3 -3
- package/dist/{vue-ui-quick-chart-2bQ0DX_A.js → vue-ui-quick-chart-B1s047tz.js} +3 -3
- package/dist/{vue-ui-radar-DPXvVIbh.js → vue-ui-radar-DA7EuchK.js} +3 -3
- package/dist/{vue-ui-rating-CxIBq7Xr.js → vue-ui-rating-z2bsnprP.js} +2 -2
- package/dist/{vue-ui-relation-circle-BVGAfqBj.js → vue-ui-relation-circle-DZ8IiUNu.js} +6 -6
- package/dist/{vue-ui-ridgeline-C6UdClMT.js → vue-ui-ridgeline-5IWuJgs6.js} +3 -3
- package/dist/{vue-ui-rings-B_7zAshC.js → vue-ui-rings-gY2f8mVf.js} +3 -3
- package/dist/{vue-ui-scatter-BRr9oPfo.js → vue-ui-scatter-OLidvHlx.js} +3 -3
- package/dist/{vue-ui-skeleton-C3tGR_lR.js → vue-ui-skeleton-BaysGsg0.js} +104 -104
- package/dist/{vue-ui-smiley-B70Ck-49.js → vue-ui-smiley-Dn2IR0oC.js} +87 -87
- package/dist/{vue-ui-spark-trend-C2tSZULg.js → vue-ui-spark-trend-gp5B9uF7.js} +3 -3
- package/dist/{vue-ui-sparkbar-BUPDw_qR.js → vue-ui-sparkbar-8t63RYc7.js} +28 -28
- package/dist/{vue-ui-sparkgauge-DufAZyFK.js → vue-ui-sparkgauge-BWSykUpn.js} +2 -2
- package/dist/{vue-ui-sparkhistogram-DDunWMKu.js → vue-ui-sparkhistogram-BEjxKMG5.js} +4 -4
- package/dist/{vue-ui-sparkline-lRx2nNde.js → vue-ui-sparkline-bFF-ZCCH.js} +3 -3
- package/dist/{vue-ui-sparkstackbar-CB6WHJHd.js → vue-ui-sparkstackbar-HtAlEtzK.js} +3 -3
- package/dist/{vue-ui-stackbar-CQ9Zvuxh.js → vue-ui-stackbar-CUIWPgfk.js} +3 -3
- package/dist/{vue-ui-strip-plot-DW3c82dV.js → vue-ui-strip-plot-DwS52yGc.js} +3 -3
- package/dist/{vue-ui-table-CEt97z7F.js → vue-ui-table-BYqPx7k4.js} +13 -13
- package/dist/{vue-ui-table-heatmap-DFZCaMxK.js → vue-ui-table-heatmap-CRfjUoa1.js} +4 -4
- package/dist/{vue-ui-table-sparkline-RB40-Z1R.js → vue-ui-table-sparkline-Bvf0ZBOi.js} +4 -4
- package/dist/{vue-ui-thermometer-fmPzO-eT.js → vue-ui-thermometer-BB7cHec0.js} +6 -6
- package/dist/{vue-ui-timer-qxLpO3HX.js → vue-ui-timer-BVDKvC4v.js} +3 -3
- package/dist/{vue-ui-tiremarks-Cxx97FLg.js → vue-ui-tiremarks-CBVuu_Zi.js} +3 -3
- package/dist/{vue-ui-treemap-B4-IPDxV.js → vue-ui-treemap-nGgRTw0l.js} +3 -3
- package/dist/{vue-ui-vertical-bar-Y5LefeNg.js → vue-ui-vertical-bar-BJOm2JQh.js} +5 -5
- package/dist/{vue-ui-waffle-gvnJOZlg.js → vue-ui-waffle-aCMPaHbw.js} +3 -3
- package/dist/{vue-ui-wheel-BzS_N3GP.js → vue-ui-wheel-D_q23eOk.js} +34 -34
- package/dist/{vue-ui-word-cloud-vWhTarrE.js → vue-ui-word-cloud-C7TMR4Zq.js} +4 -4
- package/dist/{vue-ui-world-CqWuE8ZR.js → vue-ui-world-DtMYYQ6T.js} +3 -3
- package/dist/{vue-ui-xy-BxpuE9Ng.js → vue-ui-xy-Dputm9QT.js} +4 -4
- package/dist/{vue-ui-xy-canvas-C9YQjaUA.js → vue-ui-xy-canvas-BCeQoXNM.js} +4 -4
- package/package.json +1 -1
|
@@ -33,7 +33,7 @@ const dl = ["id"], hl = ["id"], pl = ["xmlns", "viewBox"], fl = ["id"], yl = ["s
|
|
|
33
33
|
},
|
|
34
34
|
emits: ["selectLegend"],
|
|
35
35
|
setup(lt, { expose: at, emit: ot }) {
|
|
36
|
-
const ut = L(() => import("./Tooltip-BOXz8skU.js")), st = L(() => import("./BaseIcon-Bz-1GQhu.js")), nt = L(() => import("./DataTable-BvjacRbw.js")), rt = L(() => import("./vue-ui-accordion-
|
|
36
|
+
const ut = L(() => import("./Tooltip-BOXz8skU.js")), st = L(() => import("./BaseIcon-Bz-1GQhu.js")), nt = L(() => import("./DataTable-BvjacRbw.js")), rt = L(() => import("./vue-ui-accordion-CDIzGCG1.js")), it = L(() => import("./UserOptions-DsTgvAok.js")), vt = L(() => import("./PenAndPaper-CR8q353D.js")), ct = L(() => import("./PackageVersion-C40g0Rfc.js")), dt = L(() => import("./BaseDraggableDialog-CHhZIht2.js")), { vue_ui_waffle: ht } = el(), w = lt, pt = Ot(), ue = h(() => !!w.dataset && w.dataset.length), b = i(Nt()), se = i(!1), ne = i(""), E = i(null), xe = i(0), I = i(null), Ce = i(null), $e = i(null), Ie = i(null), Te = i(null), _e = i(0), Ae = i(0), Se = i(0), Oe = i(!1), H = i(null), re = i(null), e = i(ce()), { loading: Pe, FINAL_DATASET: Z, manualLoading: ie } = tl({
|
|
37
37
|
...Pt(w),
|
|
38
38
|
FINAL_CONFIG: e,
|
|
39
39
|
prepareConfig: ce,
|
|
@@ -550,7 +550,7 @@ const dl = ["id"], hl = ["id"], pl = ["xmlns", "viewBox"], fl = ["id"], yl = ["s
|
|
|
550
550
|
toggleAnnotator: ge,
|
|
551
551
|
toggleFullscreen: He
|
|
552
552
|
}), (t, a) => (s(), v("div", {
|
|
553
|
-
class: Qe(`vue-ui-waffle ${V.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
|
|
553
|
+
class: Qe(`vue-data-ui-component vue-ui-waffle ${V.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
|
|
554
554
|
ref_key: "waffleChart",
|
|
555
555
|
ref: I,
|
|
556
556
|
id: `vue-ui-waffle_${b.value}`,
|
|
@@ -969,7 +969,7 @@ const dl = ["id"], hl = ["id"], pl = ["xmlns", "viewBox"], fl = ["id"], yl = ["s
|
|
|
969
969
|
c(Pe) ? (s(), B(ll, { key: 8 })) : m("", !0)
|
|
970
970
|
], 46, dl));
|
|
971
971
|
}
|
|
972
|
-
}, Hl = /* @__PURE__ */ cl(Fl, [["__scopeId", "data-v-
|
|
972
|
+
}, Hl = /* @__PURE__ */ cl(Fl, [["__scopeId", "data-v-96bcc115"]]);
|
|
973
973
|
export {
|
|
974
974
|
Hl as default
|
|
975
975
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { useCssVars as
|
|
1
|
+
import { useCssVars as bt, computed as m, defineAsyncComponent as ke, ref as _, toRefs as Mt, watch as Le, shallowRef as Ue, onMounted as Ct, onBeforeUnmount as _t, createElementBlock as n, openBlock as o, unref as c, normalizeStyle as fe, normalizeClass as P, createBlock as se, createCommentVNode as S, createSlots as At, withCtx as V, renderSlot as z, normalizeProps as oe, guardReactiveProps as ne, createVNode as $t, Fragment as $, renderList as O, createElementVNode as It, toDisplayString as St } from "vue";
|
|
2
2
|
import { c as Rt, t as Pt, o as zt, f as Ot, i as Z, n as Wt, X as Dt, m as je, a as Tt, q as Be, d as Ft } from "./lib-BEpWEyMm.js";
|
|
3
3
|
import { t as Xt, u as Nt } from "./useResponsive-DfdjqQps.js";
|
|
4
4
|
import { u as Lt, a as Ee } from "./useNestedProp-BOk-tPdu.js";
|
|
@@ -30,12 +30,12 @@ const Zt = ["id"], Jt = ["xmlns", "viewBox"], Kt = ["x", "y", "width", "height"]
|
|
|
30
30
|
}
|
|
31
31
|
},
|
|
32
32
|
setup(Ye, { expose: He }) {
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
33
|
+
bt((t) => ({
|
|
34
|
+
v8bf8e800: nt.value,
|
|
35
|
+
v13a3bd66: ut.value,
|
|
36
|
+
v13a39ff9: it.value
|
|
37
37
|
}));
|
|
38
|
-
const qe = ke(() => import("./PenAndPaper-CR8q353D.js")), Ge = ke(() => import("./UserOptions-DsTgvAok.js")), Ve = ke(() => import("./PackageVersion-
|
|
38
|
+
const qe = ke(() => import("./PenAndPaper-CR8q353D.js")), Ge = ke(() => import("./UserOptions-DsTgvAok.js")), Ve = ke(() => import("./PackageVersion-C40g0Rfc.js")), { vue_ui_wheel: Ze } = Lt(), F = Ye, Je = m(() => !!F.dataset && Object.keys(F.dataset).length), ue = _(Rt()), Ke = _(null), pe = _(0), X = _(null), ge = _(null), me = _(null), we = _(null), xe = _(0), e = _(ce()), { loading: be, FINAL_DATASET: ie } = qt({
|
|
39
39
|
...Mt(F),
|
|
40
40
|
FINAL_CONFIG: e,
|
|
41
41
|
prepareConfig: ce,
|
|
@@ -77,7 +77,7 @@ const Zt = ["id"], Jt = ["xmlns", "viewBox"], Kt = ["x", "y", "width", "height"]
|
|
|
77
77
|
} : t;
|
|
78
78
|
}
|
|
79
79
|
Le(() => F.config, (t) => {
|
|
80
|
-
e.value = ce(), re.value = !e.value.userOptions.showOnChartHover, Pe(),
|
|
80
|
+
e.value = ce(), re.value = !e.value.userOptions.showOnChartHover, Pe(), xe.value += 1;
|
|
81
81
|
}, { deep: !0 });
|
|
82
82
|
const { isPrinting: Ae, isImaging: $e, generatePdf: Ie, generateImage: Se } = Ut({
|
|
83
83
|
elementId: ue.value,
|
|
@@ -140,8 +140,8 @@ const Zt = ["id"], Jt = ["xmlns", "viewBox"], Kt = ["x", "y", "width", "height"]
|
|
|
140
140
|
return [t * r, s * r, a, r];
|
|
141
141
|
}
|
|
142
142
|
function ze(t, s) {
|
|
143
|
-
const a = t.replace("#", ""), l = parseInt(a.substring(0, 2), 16), r = parseInt(a.substring(2, 4), 16), v = parseInt(a.substring(4, 6), 16), y = 1 - Math.min(1, Math.max(0, e.value.style.chart.layout.wheel.ticks.shadeColorRatio3d)) * s, k = Math.max(0, Math.min(255, Math.round(l * y))),
|
|
144
|
-
return `#${k.toString(16).padStart(2, "0")}${
|
|
143
|
+
const a = t.replace("#", ""), l = parseInt(a.substring(0, 2), 16), r = parseInt(a.substring(2, 4), 16), v = parseInt(a.substring(4, 6), 16), y = 1 - Math.min(1, Math.max(0, e.value.style.chart.layout.wheel.ticks.shadeColorRatio3d)) * s, k = Math.max(0, Math.min(255, Math.round(l * y))), b = Math.max(0, Math.min(255, Math.round(r * y))), M = Math.max(0, Math.min(255, Math.round(v * y)));
|
|
144
|
+
return `#${k.toString(16).padStart(2, "0")}${b.toString(16).padStart(2, "0")}${M.toString(16).padStart(2, "0")}`;
|
|
145
145
|
}
|
|
146
146
|
function tt({
|
|
147
147
|
cx: t,
|
|
@@ -153,16 +153,16 @@ const Zt = ["id"], Jt = ["xmlns", "viewBox"], Kt = ["x", "y", "width", "height"]
|
|
|
153
153
|
axDeg: w = 50,
|
|
154
154
|
f: y = 520,
|
|
155
155
|
baseStroke: k = 5,
|
|
156
|
-
activeColor:
|
|
156
|
+
activeColor: b,
|
|
157
157
|
inactiveColor: M,
|
|
158
158
|
getActive: A
|
|
159
159
|
}) {
|
|
160
|
-
const h = w * Math.PI / 180, p = a, C = a * l,
|
|
160
|
+
const h = w * Math.PI / 180, p = a, C = a * l, x = [];
|
|
161
161
|
for (let g = 0; g < r; g += 1) {
|
|
162
|
-
const f = (g / r * 360 + v) * Math.PI / 180, R = t + p * Math.cos(f), j = s + p * Math.sin(f), N = t + C * Math.cos(f), E = s + C * Math.sin(f), Y = [R - t, j - s, 0], H = [N - t, E - s, 0], [ae, Ne, q] = J(Y, h), [de, ye, G] = J(H, h), [le, rt, , ct] = K([ae, Ne, q], y), [ht, vt, , ka] = K([de, ye, G], y), dt = t + le, yt = s + rt, kt = t + ht, ft = s + vt, pt = (Math.max(q, G) - -p * Math.sin(h)) / (2 * p * Math.sin(h) || 1), gt = A ? A(g) : !0, mt = e.value.style.chart.layout.wheel.ticks.gradient.show ? Z(
|
|
163
|
-
|
|
162
|
+
const f = (g / r * 360 + v) * Math.PI / 180, R = t + p * Math.cos(f), j = s + p * Math.sin(f), N = t + C * Math.cos(f), E = s + C * Math.sin(f), Y = [R - t, j - s, 0], H = [N - t, E - s, 0], [ae, Ne, q] = J(Y, h), [de, ye, G] = J(H, h), [le, rt, , ct] = K([ae, Ne, q], y), [ht, vt, , ka] = K([de, ye, G], y), dt = t + le, yt = s + rt, kt = t + ht, ft = s + vt, pt = (Math.max(q, G) - -p * Math.sin(h)) / (2 * p * Math.sin(h) || 1), gt = A ? A(g) : !0, mt = e.value.style.chart.layout.wheel.ticks.gradient.show ? Z(b, g * I.value / T.value * (e.value.style.chart.layout.wheel.ticks.gradient.shiftHueIntensity / 100)) : b, wt = ze(gt ? mt : M, pt), xt = Math.max(1.25, k * ct * (Math.min(u.value.width, u.value.height) / 360));
|
|
163
|
+
x.push({ i: g, x1: dt, y1: yt, x2: kt, y2: ft, stroke: xt, color: wt, z: Math.max(q, G) });
|
|
164
164
|
}
|
|
165
|
-
return
|
|
165
|
+
return x.sort((g, f) => g.z - f.z), x;
|
|
166
166
|
}
|
|
167
167
|
const Oe = m(() => {
|
|
168
168
|
if (!e.value.layout === "3d") return null;
|
|
@@ -184,35 +184,35 @@ const Zt = ["id"], Jt = ["xmlns", "viewBox"], Kt = ["x", "y", "width", "height"]
|
|
|
184
184
|
});
|
|
185
185
|
function We({ cx: t, cy: s, r: a, count: l = 180, startDeg: r = -90, axDeg: v = 50, f: w }) {
|
|
186
186
|
const y = v * Math.PI / 180, k = [];
|
|
187
|
-
let
|
|
187
|
+
let b = 0;
|
|
188
188
|
for (let h = 0; h < l; h += 1) {
|
|
189
|
-
const p = (h / l * 360 + r) * Math.PI / 180, C = [a * Math.cos(p), a * Math.sin(p), 0], [
|
|
190
|
-
|
|
189
|
+
const p = (h / l * 360 + r) * Math.PI / 180, C = [a * Math.cos(p), a * Math.sin(p), 0], [x, g, f] = J(C, y), [R, j, , N] = K([x, g, f], w);
|
|
190
|
+
b += N, k.push([t + R, s + j]);
|
|
191
191
|
}
|
|
192
192
|
let M = `M ${k[0][0]} ${k[0][1]}`;
|
|
193
193
|
for (let h = 1; h < k.length; h += 1)
|
|
194
194
|
M += ` L ${k[h][0]} ${k[h][1]}`;
|
|
195
195
|
M += " Z";
|
|
196
|
-
const A =
|
|
196
|
+
const A = b / l;
|
|
197
197
|
return { d: M, avgScale: A, pts: k };
|
|
198
198
|
}
|
|
199
199
|
const D = m(() => {
|
|
200
200
|
if (e.value.layout !== "3d") return null;
|
|
201
201
|
const t = Math.min(u.value.width, u.value.height) * 1.45, s = e.value.style.chart.layout.wheel.tiltAngle3d, a = i.value.radius, { pts: l, avgScale: r } = (() => {
|
|
202
|
-
const C = a,
|
|
202
|
+
const C = a, x = s, { avgScale: g, pts: f } = We({
|
|
203
203
|
cx: i.value.centerX,
|
|
204
204
|
cy: i.value.centerY,
|
|
205
205
|
r: C,
|
|
206
206
|
startDeg: -90,
|
|
207
|
-
axDeg:
|
|
207
|
+
axDeg: x,
|
|
208
208
|
f: t
|
|
209
209
|
});
|
|
210
210
|
return { pts: f, avgScale: g };
|
|
211
211
|
})();
|
|
212
212
|
let v = 1 / 0, w = 1 / 0, y = -1 / 0, k = -1 / 0;
|
|
213
|
-
for (const [C,
|
|
214
|
-
C < v && (v = C),
|
|
215
|
-
const
|
|
213
|
+
for (const [C, x] of l)
|
|
214
|
+
C < v && (v = C), x < w && (w = x), C > y && (y = C), x > k && (k = x);
|
|
215
|
+
const b = e.value.style.chart.layout.wheel.ticks.strokeWidth / 360 * Math.min(u.value.width, u.value.height), M = e.value.style.chart.layout.innerCircle.strokeWidth || 0, A = 0.5 * Math.max(b, M * (r || 1)), h = Math.max(0, Number(e.value.style.chart.layout.wheel.ticks.depth3d) || 0), p = A;
|
|
216
216
|
return {
|
|
217
217
|
x: v - p,
|
|
218
218
|
y: w - h - p,
|
|
@@ -237,8 +237,8 @@ const Zt = ["id"], Jt = ["xmlns", "viewBox"], Kt = ["x", "y", "width", "height"]
|
|
|
237
237
|
}
|
|
238
238
|
const De = m(() => at(Math.max(0, i.value.radius * 0.8 * e.value.style.chart.layout.innerCircle.radiusRatio)));
|
|
239
239
|
function Q({ cx: t, cy: s, r: a, aRad: l, ax: r, f: v }) {
|
|
240
|
-
const w = [a * Math.cos(l), a * Math.sin(l), 0], [y, k,
|
|
241
|
-
return { x: t + M, y: s + A, z:
|
|
240
|
+
const w = [a * Math.cos(l), a * Math.sin(l), 0], [y, k, b] = J(w, r), [M, A, , h] = K([y, k, b], v);
|
|
241
|
+
return { x: t + M, y: s + A, z: b, s: h };
|
|
242
242
|
}
|
|
243
243
|
function lt({
|
|
244
244
|
cx: t,
|
|
@@ -250,16 +250,16 @@ const Zt = ["id"], Jt = ["xmlns", "viewBox"], Kt = ["x", "y", "width", "height"]
|
|
|
250
250
|
axDeg: w = 45,
|
|
251
251
|
f: y = 600,
|
|
252
252
|
activeColor: k,
|
|
253
|
-
inactiveColor:
|
|
253
|
+
inactiveColor: b,
|
|
254
254
|
getActive: M,
|
|
255
255
|
Y: A = 0
|
|
256
256
|
}) {
|
|
257
|
-
const h = w * Math.PI / 180, p = a, C = a * l,
|
|
257
|
+
const h = w * Math.PI / 180, p = a, C = a * l, x = 2 * Math.PI / r, g = [];
|
|
258
258
|
for (let f = 0; f < r; f += 1) {
|
|
259
|
-
const R = v * Math.PI / 180 +
|
|
259
|
+
const R = v * Math.PI / 180 + x * f, j = R + x * Math.min(1, e.value.style.chart.layout.wheel.ticks.spacingRatio3d), N = Q({ cx: t, cy: s + A, r: p, aRad: R, ax: h, f: y }), E = Q({ cx: t, cy: s + A, r: p, aRad: j, ax: h, f: y }), Y = Q({ cx: t, cy: s + A, r: C, aRad: j, ax: h, f: y }), H = Q({ cx: t, cy: s + A, r: C, aRad: R, ax: h, f: y }), ae = (N.z + E.z + H.z + Y.z) / 4, q = (M ? M(f) : !0) ? e.value.style.chart.layout.wheel.ticks.gradient.show ? Z(
|
|
260
260
|
e.value.style.chart.layout.wheel.ticks.activeColor,
|
|
261
261
|
f * (100 / r) / 100 * (e.value.style.chart.layout.wheel.ticks.gradient.shiftHueIntensity / 100)
|
|
262
|
-
) : k :
|
|
262
|
+
) : k : b, de = (() => {
|
|
263
263
|
const le = p * Math.sin(h) || 1;
|
|
264
264
|
return (ae - -le) / (2 * le);
|
|
265
265
|
})(), ye = ze(q, de), G = `M ${N.x} ${N.y} L ${E.x} ${E.y} L ${Y.x} ${Y.y} L ${H.x} ${H.y} Z`;
|
|
@@ -338,7 +338,7 @@ const Zt = ["id"], Jt = ["xmlns", "viewBox"], Kt = ["x", "y", "width", "height"]
|
|
|
338
338
|
toggleAnnotator: ve,
|
|
339
339
|
toggleFullscreen: Xe
|
|
340
340
|
}), (t, s) => (o(), n("div", {
|
|
341
|
-
class: P(["vue-ui-wheel", { "vue-ui-wheel-3d-wrap": e.value.layout === "3d" }]),
|
|
341
|
+
class: P(["vue-ui-wheel", { "vue-data-ui-component": !0, "vue-ui-wheel-3d-wrap": e.value.layout === "3d" }]),
|
|
342
342
|
ref_key: "wheelChart",
|
|
343
343
|
ref: X,
|
|
344
344
|
id: ue.value,
|
|
@@ -368,7 +368,7 @@ const Zt = ["id"], Jt = ["xmlns", "viewBox"], Kt = ["x", "y", "width", "height"]
|
|
|
368
368
|
style: "width:100%;background:transparent;padding-bottom:12px"
|
|
369
369
|
}, [
|
|
370
370
|
(o(), se(Yt, {
|
|
371
|
-
key: `title_${
|
|
371
|
+
key: `title_${xe.value}`,
|
|
372
372
|
config: {
|
|
373
373
|
title: {
|
|
374
374
|
cy: "wheel-title",
|
|
@@ -565,7 +565,7 @@ const Zt = ["id"], Jt = ["xmlns", "viewBox"], Kt = ["x", "y", "width", "height"]
|
|
|
565
565
|
}, null, 10, ra))), 256))
|
|
566
566
|
], 64)),
|
|
567
567
|
e.value.style.chart.layout.percentage.show ? (o(), n("g", ca, [
|
|
568
|
-
c(
|
|
568
|
+
c(be) ? (o(), n("rect", {
|
|
569
569
|
key: 0,
|
|
570
570
|
x: i.value.centerX - 40,
|
|
571
571
|
y: i.value.centerY - B.value / 2,
|
|
@@ -611,10 +611,10 @@ const Zt = ["id"], Jt = ["xmlns", "viewBox"], Kt = ["x", "y", "width", "height"]
|
|
|
611
611
|
}, [
|
|
612
612
|
z(t.$slots, "source", {}, void 0, !0)
|
|
613
613
|
], 512)) : S("", !0),
|
|
614
|
-
c(
|
|
614
|
+
c(be) ? (o(), se(Gt, { key: 6 })) : S("", !0)
|
|
615
615
|
], 46, Zt));
|
|
616
616
|
}
|
|
617
|
-
}, Sa = /* @__PURE__ */ Vt(ya, [["__scopeId", "data-v-
|
|
617
|
+
}, Sa = /* @__PURE__ */ Vt(ya, [["__scopeId", "data-v-0e59272e"]]);
|
|
618
618
|
export {
|
|
619
619
|
Sa as default
|
|
620
620
|
};
|
|
@@ -149,9 +149,9 @@ 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
|
+
v555a2310: t.slicerColor
|
|
153
153
|
}));
|
|
154
|
-
const v = q(() => import("./Tooltip-BOXz8skU.js")), h = q(() => import("./BaseIcon-Bz-1GQhu.js")), d = q(() => import("./vue-ui-accordion-
|
|
154
|
+
const v = q(() => import("./Tooltip-BOXz8skU.js")), h = q(() => import("./BaseIcon-Bz-1GQhu.js")), d = q(() => import("./vue-ui-accordion-CDIzGCG1.js")), f = q(() => import("./DataTable-BvjacRbw.js")), l = q(() => import("./PenAndPaper-CR8q353D.js")), o = q(() => import("./UserOptions-DsTgvAok.js")), s = q(() => import("./PackageVersion-C40g0Rfc.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
|
},
|
|
@@ -524,7 +524,7 @@ const Et = ["id"], Ut = ["xmlns", "viewBox"], Lt = ["width", "height"], Yt = ["t
|
|
|
524
524
|
ie.value = !0;
|
|
525
525
|
}
|
|
526
526
|
return (t, n) => (k(), _("div", {
|
|
527
|
-
class: "vue-ui-word-cloud",
|
|
527
|
+
class: "vue-data-ui-component vue-ui-word-cloud",
|
|
528
528
|
ref_key: "wordCloudChart",
|
|
529
529
|
ref: w,
|
|
530
530
|
id: `wordCloud_${X.value}`,
|
|
@@ -815,7 +815,7 @@ const Et = ["id"], Ut = ["xmlns", "viewBox"], Lt = ["width", "height"], Yt = ["t
|
|
|
815
815
|
u(ue) ? (k(), le(At, { key: 7 })) : W("", !0)
|
|
816
816
|
], 44, Et));
|
|
817
817
|
}
|
|
818
|
-
}, va = /* @__PURE__ */ Rt(Jt, [["__scopeId", "data-v-
|
|
818
|
+
}, va = /* @__PURE__ */ Rt(Jt, [["__scopeId", "data-v-2ed36c3a"]]);
|
|
819
819
|
export {
|
|
820
820
|
va as default
|
|
821
821
|
};
|
|
@@ -179,7 +179,7 @@ const T4 = {
|
|
|
179
179
|
},
|
|
180
180
|
emits: ["selectDatapoint", "selectLegend"],
|
|
181
181
|
setup(y, { expose: i, emit: s }) {
|
|
182
|
-
const l = D(() => import("./Title-DG2nloSB.js")), g = D(() => import("./Legend-BpoFJ8fc.js")), r = D(() => import("./Tooltip-BOXz8skU.js")), P = D(() => import("./BaseIcon-Bz-1GQhu.js")), m = D(() => import("./vue-ui-accordion-
|
|
182
|
+
const l = D(() => import("./Title-DG2nloSB.js")), g = D(() => import("./Legend-BpoFJ8fc.js")), r = D(() => import("./Tooltip-BOXz8skU.js")), P = D(() => import("./BaseIcon-Bz-1GQhu.js")), m = D(() => import("./vue-ui-accordion-CDIzGCG1.js")), n = D(() => import("./DataTable-BvjacRbw.js")), d = D(() => import("./PenAndPaper-CR8q353D.js")), p = D(() => import("./UserOptions-DsTgvAok.js")), v = D(() => import("./PackageVersion-C40g0Rfc.js")), c = D(() => import("./BaseDraggableDialog-CHhZIht2.js")), { vue_ui_world: _ } = n4(), h = y, A = s, C = x({
|
|
183
183
|
get() {
|
|
184
184
|
return !!m1.value;
|
|
185
185
|
},
|
|
@@ -586,7 +586,7 @@ const T4 = {
|
|
|
586
586
|
ref_key: "worldChart",
|
|
587
587
|
ref: N,
|
|
588
588
|
id: `world_${k.value}`,
|
|
589
|
-
class: y2(`vue-ui-world ${J.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
|
|
589
|
+
class: y2(`vue-data-ui-component vue-ui-world ${J.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
|
|
590
590
|
style: C1(`font-family:${t.value.style.fontFamily};width:100%; text-align:center;background:${t.value.style.chart.backgroundColor}`),
|
|
591
591
|
onMouseenter: a[2] || (a[2] = () => f(U1)(!0)),
|
|
592
592
|
onMouseleave: a[3] || (a[3] = () => f(U1)(!1))
|
|
@@ -1035,7 +1035,7 @@ const T4 = {
|
|
|
1035
1035
|
f(M2) ? (M(), X(g4, { key: 8 })) : S("", !0)
|
|
1036
1036
|
], 46, S4));
|
|
1037
1037
|
}
|
|
1038
|
-
}, u0 = /* @__PURE__ */ b4(Q4, [["__scopeId", "data-v-
|
|
1038
|
+
}, u0 = /* @__PURE__ */ b4(Q4, [["__scopeId", "data-v-9c448e5a"]]);
|
|
1039
1039
|
export {
|
|
1040
1040
|
u0 as default
|
|
1041
1041
|
};
|
|
@@ -12,7 +12,7 @@ import { t as Sn } from "./themes-Dw-dDudK.js";
|
|
|
12
12
|
import { _ as ma } from "./Shape-C_C_OmqR.js";
|
|
13
13
|
import $n from "./BaseIcon-Bz-1GQhu.js";
|
|
14
14
|
import { _ as Lo } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
15
|
-
import _n from "./vue-ui-accordion-
|
|
15
|
+
import _n from "./vue-ui-accordion-CDIzGCG1.js";
|
|
16
16
|
const Mn = {
|
|
17
17
|
class: "vue-data-ui-slicer-labels",
|
|
18
18
|
style: { position: "relative", "z-index": "1", "pointer-events": "none" }
|
|
@@ -1159,7 +1159,7 @@ const Mn = {
|
|
|
1159
1159
|
},
|
|
1160
1160
|
emits: ["selectTimeLabel", "selectX", "selectLegend"],
|
|
1161
1161
|
setup(S, { expose: Sa, emit: $a }) {
|
|
1162
|
-
const d = S, Fe = Xt(() => import("./DataTable-BvjacRbw.js")), de = Xt(() => import("./Tooltip-BOXz8skU.js")), ge = Xt(() => import("./UserOptions-DsTgvAok.js")), xe = Xt(() => import("./BaseIcon-Bz-1GQhu.js")), Ll = Xt(() => import("./vue-ui-table-sparkline-
|
|
1162
|
+
const d = S, Fe = Xt(() => import("./DataTable-BvjacRbw.js")), de = Xt(() => import("./Tooltip-BOXz8skU.js")), ge = Xt(() => import("./UserOptions-DsTgvAok.js")), xe = Xt(() => import("./BaseIcon-Bz-1GQhu.js")), Ll = Xt(() => import("./vue-ui-table-sparkline-Bvf0ZBOi.js")), Mt = Xt(() => import("./PackageVersion-C40g0Rfc.js")), Nt = Xt(() => import("./PenAndPaper-CR8q353D.js")), Kl = Xt(() => import("./BaseDraggableDialog-CHhZIht2.js")), qt = $a, xl = Uo(), Zt = qo(), { vue_ui_xy: at } = fn(), He = y(null), ze = y(null), Je = y(null), Ce = y(null), gt = y(null), Lt = y(null), Cl = y(null), Kt = y(null), Jt = y(null), Me = y(null), Al = y(null), Tl = y(null), xt = y(null), se = y(null), Jl = y(0), E = y(null), Qt = y(!0), W = y(600), oe = y(1e3), ot = y("0 0 1000 600"), Ql = y({ x: 0, y: 0 }), jt = y({ line: "line", bar: "bar", plot: "plot" }), De = y(!1), Re = y(!1), bl = y(!1), ne = y(null), he = y([]), J = y(ga()), zl = y(0), Il = y(0), Nl = y(0), We = y(!0), bt = y(0), X = y(null), jl = y(!1), Pl = y(!0), yl = y(!0), Le = y(null), nt = y({}), el = y(null), H = y(!1), Qe = y(null), _ = y(null), yt = x(() => ({
|
|
1163
1163
|
height: W.value,
|
|
1164
1164
|
width: oe.value
|
|
1165
1165
|
}));
|
|
@@ -2655,7 +2655,7 @@ const Mn = {
|
|
|
2655
2655
|
toggleFullscreen: no
|
|
2656
2656
|
}), (l, s) => (n(), i("div", {
|
|
2657
2657
|
id: `vue-ui-xy_${J.value}`,
|
|
2658
|
-
class: Ke(`vue-ui-xy ${Re.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${t.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
2658
|
+
class: Ke(`vue-data-ui-component vue-ui-xy ${Re.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${t.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
2659
2659
|
ref_key: "chart",
|
|
2660
2660
|
ref: He,
|
|
2661
2661
|
style: L(`background:${t.value.chart.backgroundColor}; color:${t.value.chart.color};width:100%;font-family:${t.value.chart.fontFamily};${t.value.responsive ? "height: 100%" : ""}`),
|
|
@@ -4627,7 +4627,7 @@ const Mn = {
|
|
|
4627
4627
|
v(ye) ? (n(), dt(xn, { key: 9 })) : g("", !0)
|
|
4628
4628
|
], 46, mi));
|
|
4629
4629
|
}
|
|
4630
|
-
}, xr = /* @__PURE__ */ Lo(tr, [["__scopeId", "data-v-
|
|
4630
|
+
}, xr = /* @__PURE__ */ Lo(tr, [["__scopeId", "data-v-e2428c46"]]);
|
|
4631
4631
|
export {
|
|
4632
4632
|
xr as default
|
|
4633
4633
|
};
|
|
@@ -9,7 +9,7 @@ import { t as zl } from "./themes-Dw-dDudK.js";
|
|
|
9
9
|
import $l from "./Legend-BpoFJ8fc.js";
|
|
10
10
|
import Tl from "./Title-DG2nloSB.js";
|
|
11
11
|
import { S as Il } from "./Slicer-BA2GhOmY.js";
|
|
12
|
-
import Ml from "./vue-ui-accordion-
|
|
12
|
+
import Ml from "./vue-ui-accordion-CDIzGCG1.js";
|
|
13
13
|
import { u as Ol } from "./useTimeLabels-BGFjWgrv.js";
|
|
14
14
|
import Rl from "./img-DjWwQXVS.js";
|
|
15
15
|
import Dl from "./BaseIcon-Bz-1GQhu.js";
|
|
@@ -35,7 +35,7 @@ const Pl = ["id"], El = ["id"], Al = ["id"], Nl = ["onClick"], Hl = {
|
|
|
35
35
|
},
|
|
36
36
|
emits: ["selectLegend"],
|
|
37
37
|
setup(Pe, { expose: ka, emit: Ca }) {
|
|
38
|
-
const wa = ee(() => import("./DataTable-BvjacRbw.js")), Sa = ee(() => import("./NonSvgPenAndPaper-l9giyY1Z.js")), za = ee(() => import("./vue-ui-skeleton-
|
|
38
|
+
const wa = ee(() => import("./DataTable-BvjacRbw.js")), Sa = ee(() => import("./NonSvgPenAndPaper-l9giyY1Z.js")), za = ee(() => import("./vue-ui-skeleton-BaysGsg0.js")), $a = ee(() => import("./Tooltip-BOXz8skU.js")), Ta = ee(() => import("./UserOptions-DsTgvAok.js")), Ia = ee(() => import("./BaseDraggableDialog-CHhZIht2.js")), { vue_ui_xy_canvas: Ma } = kl(), g = Pe, _ = c(rl()), I = c(null), oe = c(null), n = c(null), f = c(1), E = c(1), ye = c(!1), d = c(null), ge = c(""), Ee = c(null), $ = c([]), j = c(1), B = c(!0), q = c(!0), Le = c(null), Ae = c(0), Ne = c(0), ue = c(!1), He = c(null), Ye = c(null), _e = c(null), Be = c(null), ke = c(0), Ce = c(0), we = c(0), M = c(null), Ue = c(!1), re = c(null), Se = c(null), pe = L(() => !!g.dataset && g.dataset.length), Oa = Ca, Ra = el();
|
|
39
39
|
ha(() => {
|
|
40
40
|
Ra["chart-background"] && console.warn("VueUiXyCanvas does not support the #chart-background slot.");
|
|
41
41
|
});
|
|
@@ -957,7 +957,7 @@ const Pl = ["id"], El = ["id"], Al = ["id"], Nl = ["onClick"], Hl = {
|
|
|
957
957
|
ref_key: "xy",
|
|
958
958
|
ref: I,
|
|
959
959
|
id: `xy_canvas_${_.value}`,
|
|
960
|
-
class: ll(`vue-ui-
|
|
960
|
+
class: ll(`vue-data-ui-component vue-ui-xy-canvas ${ue.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
|
|
961
961
|
onMouseenter: l[5] || (l[5] = () => p(We)(!0)),
|
|
962
962
|
onMouseleave: l[6] || (l[6] = () => p(We)(!1))
|
|
963
963
|
}, [
|
|
@@ -1299,7 +1299,7 @@ const Pl = ["id"], El = ["id"], Al = ["id"], Nl = ["onClick"], Hl = {
|
|
|
1299
1299
|
}, null, 8, ["parent", "backgroundColor", "color", "active"])) : H("", !0)
|
|
1300
1300
|
], 46, Pl));
|
|
1301
1301
|
}
|
|
1302
|
-
}, ot = /* @__PURE__ */ Fl(_l, [["__scopeId", "data-v-
|
|
1302
|
+
}, ot = /* @__PURE__ */ Fl(_l, [["__scopeId", "data-v-a22cfedc"]]);
|
|
1303
1303
|
export {
|
|
1304
1304
|
ot as default
|
|
1305
1305
|
};
|
package/package.json
CHANGED