vue-data-ui 3.21.9 → 3.22.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{PackageVersion-CIojmGa_.js → PackageVersion-DxBQctV8.js} +1 -1
- package/dist/{SlicerPreview-CZOlZJWD.js → SlicerPreview-BA_RDgVn.js} +574 -568
- package/dist/components/vue-ui-3d-bar.js +1 -1
- package/dist/components/vue-ui-age-pyramid.js +1 -1
- package/dist/components/vue-ui-bullet.js +1 -1
- package/dist/components/vue-ui-bump.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-dag.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-geo.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-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-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-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-stackline.js +1 -1
- package/dist/components/vue-ui-strip-plot.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/composables.js +5 -0
- package/dist/{package-WJqzsiKY.js → package-0oRlvBuX.js} +1 -1
- package/dist/{render-common-aNNTJvOw.js → render-common-DSiH7qj-.js} +1 -1
- package/dist/ssr/vue-ui-donut.js +1 -1
- package/dist/ssr/vue-ui-xy.js +1 -1
- package/dist/ssr.js +2 -2
- package/dist/style.css +1 -1
- package/dist/types/composables.d.ts +43 -0
- package/dist/types/vue-data-ui.d.ts +48 -1
- package/dist/useTooltipPosition-BsRysTrw.js +189 -0
- package/dist/{vue-data-ui-BIr6l_HF.js → vue-data-ui-DoViN_4r.js} +61 -61
- package/dist/vue-data-ui.js +63 -62
- package/dist/{vue-ui-3d-bar-DMMkeh_A.js → vue-ui-3d-bar-BUEcrSrc.js} +1 -1
- package/dist/{vue-ui-age-pyramid-D4bDrkiR.js → vue-ui-age-pyramid-Zw5otO78.js} +1 -1
- package/dist/{vue-ui-bullet-BhguyBxj.js → vue-ui-bullet-B-bWGz6d.js} +1 -1
- package/dist/{vue-ui-bump-CwnBlNCg.js → vue-ui-bump-DM-hF-AK.js} +1 -1
- package/dist/{vue-ui-candlestick-BAWICBCq.js → vue-ui-candlestick-BfOvntqR.js} +2 -2
- package/dist/{vue-ui-carousel-table-P7mYvHYL.js → vue-ui-carousel-table-CrmVyfym.js} +1 -1
- package/dist/{vue-ui-chestnut-D28FaW45.js → vue-ui-chestnut-BQq65pNh.js} +1 -1
- package/dist/{vue-ui-chord-DdvwhJ24.js → vue-ui-chord-BA2jFRMP.js} +1 -1
- package/dist/{vue-ui-circle-pack-B79wNkoj.js → vue-ui-circle-pack-BBaRLELd.js} +1 -1
- package/dist/{vue-ui-cursor-D3H_Qf7p.js → vue-ui-cursor-DWlKtcab.js} +1 -1
- package/dist/{vue-ui-dag-hr4Ss8l6.js → vue-ui-dag-BAKU4jBj.js} +1 -1
- package/dist/{vue-ui-dashboard-CL4bzd2D.js → vue-ui-dashboard-DE4R55nU.js} +58 -58
- package/dist/{vue-ui-digits-CEOk7574.js → vue-ui-digits-B416Mj46.js} +1 -1
- package/dist/{vue-ui-donut-EjSLbIAW.js → vue-ui-donut-BuGSF4pM.js} +1 -1
- package/dist/{vue-ui-donut-FBWZg1uw.js → vue-ui-donut-BugVAUHv.js} +1 -1
- package/dist/{vue-ui-donut-evolution-B7WE5Lgt.js → vue-ui-donut-evolution-C6fXP7QH.js} +1 -1
- package/dist/{vue-ui-dumbbell-L7_or9bl.js → vue-ui-dumbbell-1K5kOirf.js} +1 -1
- package/dist/{vue-ui-flow-D9FORJGE.js → vue-ui-flow-BoEP6hmg.js} +1 -1
- package/dist/{vue-ui-funnel-OGqICn6H.js → vue-ui-funnel-CheSqvyj.js} +1 -1
- package/dist/{vue-ui-galaxy-NmVt74F4.js → vue-ui-galaxy-CB5F8Q-u.js} +1 -1
- package/dist/{vue-ui-gauge-CPMWMceV.js → vue-ui-gauge-Cjtovl1s.js} +1 -1
- package/dist/{vue-ui-geo-PJ1_i_Lk.js → vue-ui-geo-BAy4kNv-.js} +1 -1
- package/dist/{vue-ui-gizmo-fQsrdhuo.js → vue-ui-gizmo-DjA8cqcl.js} +1 -1
- package/dist/{vue-ui-heatmap-DgJ_kKdY.js → vue-ui-heatmap-CMlxUI7Q.js} +1 -1
- package/dist/{vue-ui-history-plot-roDxoIHG.js → vue-ui-history-plot-PkrNUPpp.js} +1 -1
- package/dist/{vue-ui-horizontal-bar-DIxjAek3.js → vue-ui-horizontal-bar-XgzEVwOK.js} +1 -1
- package/dist/{vue-ui-kpi-CkwWKcZz.js → vue-ui-kpi-B5Lu5U1S.js} +1 -1
- package/dist/{vue-ui-molecule-ntN8sWCx.js → vue-ui-molecule-DzpgAmZn.js} +1 -1
- package/dist/{vue-ui-mood-radar-BYLCsNZ9.js → vue-ui-mood-radar-DMgYQtOw.js} +1 -1
- package/dist/{vue-ui-nested-donuts-BlC-4Lhn.js → vue-ui-nested-donuts-BHX0QqvR.js} +1 -1
- package/dist/{vue-ui-onion-Bt7tFuTt.js → vue-ui-onion-CYh7tdS0.js} +1 -1
- package/dist/{vue-ui-parallel-coordinate-plot-Bai5P5wb.js → vue-ui-parallel-coordinate-plot-BTaG92hV.js} +1 -1
- package/dist/{vue-ui-quadrant-BRtjiH_e.js → vue-ui-quadrant-C00cEk5o.js} +1 -1
- package/dist/{vue-ui-quick-chart-7BFN6O03.js → vue-ui-quick-chart-CHSUGLTx.js} +1 -1
- package/dist/{vue-ui-radar-DrDtkofg.js → vue-ui-radar-jNxRTIur.js} +1 -1
- package/dist/{vue-ui-relation-circle-ByY-D-QH.js → vue-ui-relation-circle-Ne_rI2jS.js} +1 -1
- package/dist/{vue-ui-ridgeline-D3BQhP64.js → vue-ui-ridgeline-q_UhtM4M.js} +1 -1
- package/dist/{vue-ui-rings-BCW-WqvZ.js → vue-ui-rings-VOjUZu2b.js} +1 -1
- package/dist/{vue-ui-scatter-ZLVgItib.js → vue-ui-scatter-DETMofE2.js} +1 -1
- package/dist/{vue-ui-skeleton-CVxGJH6s.js → vue-ui-skeleton-D36VILNm.js} +1 -1
- package/dist/{vue-ui-spark-trend-BaOA26BE.js → vue-ui-spark-trend-XpEbgNeK.js} +1 -1
- package/dist/{vue-ui-sparkbar-Ck4lq2tm.js → vue-ui-sparkbar-Dq1hnBhL.js} +1 -1
- package/dist/{vue-ui-sparkgauge-C6Yodnmt.js → vue-ui-sparkgauge-CbAakuhB.js} +1 -1
- package/dist/{vue-ui-sparkhistogram-CE_FHxu1.js → vue-ui-sparkhistogram-DpPjIA7n.js} +1 -1
- package/dist/{vue-ui-sparkline-9XAxUj-V.js → vue-ui-sparkline-DLay6Hog.js} +1 -1
- package/dist/{vue-ui-sparkstackbar-DbsxNM9w.js → vue-ui-sparkstackbar-OprYrGQQ.js} +1 -1
- package/dist/{vue-ui-stackbar-Cl64BZCO.js → vue-ui-stackbar-Bt0FKlf7.js} +2 -2
- package/dist/{vue-ui-stackline-B5T2IB_Q.js → vue-ui-stackline-CrUTz-k1.js} +2 -2
- package/dist/{vue-ui-strip-plot-BZwdGtN_.js → vue-ui-strip-plot-DdzflSOm.js} +1 -1
- package/dist/{vue-ui-table-Bli1rIbH.js → vue-ui-table-BZbLau0d.js} +2 -2
- package/dist/{vue-ui-table-sparkline-C6YBMUhZ.js → vue-ui-table-sparkline-C3_J575b.js} +1 -1
- package/dist/{vue-ui-thermometer-BvWe_SbX.js → vue-ui-thermometer-Bo32hwAO.js} +1 -1
- package/dist/{vue-ui-timer-D1jJae5y.js → vue-ui-timer-smc39MBP.js} +1 -1
- package/dist/{vue-ui-tiremarks-BbWlc8S5.js → vue-ui-tiremarks-MwPUc9H4.js} +1 -1
- package/dist/{vue-ui-treemap-kBDsFDs5.js → vue-ui-treemap-BNG7Zc04.js} +1 -1
- package/dist/{vue-ui-waffle-YdmWD2ct.js → vue-ui-waffle-D-9Ny9vN.js} +1 -1
- package/dist/{vue-ui-wheel-oCVOwRxg.js → vue-ui-wheel-VQ5Sc_Kt.js} +1 -1
- package/dist/{vue-ui-word-cloud-BlBLdDwP.js → vue-ui-word-cloud-BqsUdsCY.js} +1 -1
- package/dist/{vue-ui-world-Dp0u6R4u.js → vue-ui-world-Dq9I3omC.js} +1 -1
- package/dist/{vue-ui-xy-Co7U6Be6.js → vue-ui-xy-BRITAMZZ.js} +1 -1
- package/dist/{vue-ui-xy-MZkL62pQ.js → vue-ui-xy-D4D9tjiY.js} +2 -2
- package/dist/{vue-ui-xy-canvas-CJG8yIx5.js → vue-ui-xy-canvas-CYQF5hVa.js} +1 -1
- package/package.json +5 -1
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
//--------------------------------------------------------------------------------------------//
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* COMPOSABLES TYPES
|
|
5
|
+
*
|
|
6
|
+
* IMPORTANT: these types are duplicated in vue-data-ui.d.ts for the legacy import to work.
|
|
7
|
+
* If we ever ship a v4 these types can be forcefully removed from vue-data-ui.ts, with
|
|
8
|
+
* a breaking change.
|
|
9
|
+
*/
|
|
10
|
+
|
|
11
|
+
//--------------------------------------------------------------------------------------------//
|
|
12
|
+
|
|
13
|
+
import type { ComputedRef, MaybeRefOrGetter } from 'vue';
|
|
14
|
+
|
|
15
|
+
import type { TooltipPosition } from 'vue-data-ui';
|
|
16
|
+
export type { TooltipPosition };
|
|
17
|
+
|
|
18
|
+
export type TooltipPositionTargetElement =
|
|
19
|
+
| HTMLElement
|
|
20
|
+
| {
|
|
21
|
+
$el?: HTMLElement | null;
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
export type TooltipPositionTarget = MaybeRefOrGetter<
|
|
25
|
+
TooltipPositionTargetElement | null | undefined
|
|
26
|
+
>;
|
|
27
|
+
|
|
28
|
+
/**
|
|
29
|
+
* Vue Data UI composable
|
|
30
|
+
* ---
|
|
31
|
+
* Returns a dynamic tooltip position based on the mouse position inside a chart element.
|
|
32
|
+
* ---
|
|
33
|
+
* This value can be passed to vue-data-ui component configurations using the
|
|
34
|
+
* `tooltip.position` attribute.
|
|
35
|
+
*
|
|
36
|
+
* @param chartRef - A Vue ref, computed ref, getter, raw `HTMLElement`, Vue component instance,
|
|
37
|
+
* or object exposing a `$el` element used as the chart container.
|
|
38
|
+
* @returns A computed tooltip position: `"center"` when the mouse is outside the element,
|
|
39
|
+
* `"left"` when the mouse is on the right side of the element, otherwise `"right"`.
|
|
40
|
+
*/
|
|
41
|
+
export declare function useTooltipPosition(
|
|
42
|
+
chartRef: TooltipPositionTarget,
|
|
43
|
+
): ComputedRef<TooltipPosition>;
|
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
declare module 'vue-data-ui' {
|
|
2
|
-
import type {
|
|
2
|
+
import type {
|
|
3
|
+
Ref,
|
|
4
|
+
DefineComponent,
|
|
5
|
+
VNodeChild,
|
|
6
|
+
Component,
|
|
7
|
+
ComputedRef,
|
|
8
|
+
MaybeRefOrGetter,
|
|
9
|
+
} from 'vue';
|
|
3
10
|
|
|
4
11
|
export type VueUiUnknownObj = {
|
|
5
12
|
[key: string]: unknown;
|
|
@@ -17358,4 +17365,44 @@ declare module 'vue-data-ui' {
|
|
|
17358
17365
|
smoothingTau: number;
|
|
17359
17366
|
},
|
|
17360
17367
|
): Array<{ value: number | null }>;
|
|
17368
|
+
|
|
17369
|
+
//--------------------------------------------------------------------------------------------//
|
|
17370
|
+
|
|
17371
|
+
/**
|
|
17372
|
+
* COMPOSABLE TYPES
|
|
17373
|
+
*
|
|
17374
|
+
* IMPORTANT: these types are duplicated in composables.d.ts
|
|
17375
|
+
* They are kept in vue-data-ui.d.ts for the legacy import from "vue-data-ui" to work.
|
|
17376
|
+
* If we ever ship a v4 these types can be forcefully removed from vue-data-ui.ts, with
|
|
17377
|
+
* a breaking change.
|
|
17378
|
+
*/
|
|
17379
|
+
|
|
17380
|
+
//--------------------------------------------------------------------------------------------
|
|
17381
|
+
|
|
17382
|
+
export type TooltipPositionTargetElement =
|
|
17383
|
+
| HTMLElement
|
|
17384
|
+
| {
|
|
17385
|
+
$el?: HTMLElement | null;
|
|
17386
|
+
};
|
|
17387
|
+
|
|
17388
|
+
export type TooltipPositionTarget = MaybeRefOrGetter<
|
|
17389
|
+
TooltipPositionTargetElement | null | undefined
|
|
17390
|
+
>;
|
|
17391
|
+
|
|
17392
|
+
/**
|
|
17393
|
+
* Vue Data UI composable
|
|
17394
|
+
* ---
|
|
17395
|
+
* Returns a dynamic tooltip position based on the mouse position inside a chart element.
|
|
17396
|
+
* ---
|
|
17397
|
+
* This value can be passed to vue-data-ui component configurations using the
|
|
17398
|
+
* `tooltip.position` attribute.
|
|
17399
|
+
*
|
|
17400
|
+
* @param chartRef - A Vue ref, computed ref, getter, raw `HTMLElement`, Vue component instance,
|
|
17401
|
+
* or object exposing a `$el` element used as the chart container.
|
|
17402
|
+
* @returns A computed tooltip position: `"center"` when the mouse is outside the element,
|
|
17403
|
+
* `"left"` when the mouse is on the right side of the element, otherwise `"right"`.
|
|
17404
|
+
*/
|
|
17405
|
+
export function useTooltipPosition(
|
|
17406
|
+
chartRef: TooltipPositionTarget,
|
|
17407
|
+
): ComputedRef<TooltipPosition>;
|
|
17361
17408
|
}
|
|
@@ -0,0 +1,189 @@
|
|
|
1
|
+
import { computed as e, getCurrentInstance as t, getCurrentScope as n, nextTick as r, onMounted as i, onScopeDispose as a, shallowRef as o, toValue as s, unref as c, watch as l } from "vue";
|
|
2
|
+
//#region src/useMouseInElement.js
|
|
3
|
+
var u = typeof window < "u" ? window : void 0;
|
|
4
|
+
function d(e) {
|
|
5
|
+
return Array.isArray(e) ? e : [e];
|
|
6
|
+
}
|
|
7
|
+
function f(e) {
|
|
8
|
+
return Object.prototype.toString.call(e) === "[object Object]";
|
|
9
|
+
}
|
|
10
|
+
function p(e) {
|
|
11
|
+
return e != null;
|
|
12
|
+
}
|
|
13
|
+
function m(e, n = !0, a) {
|
|
14
|
+
a ?? t() ? i(e, a) : n ? e() : r(e);
|
|
15
|
+
}
|
|
16
|
+
function h(e, t) {
|
|
17
|
+
return n() ? (a(e, t), !0) : !1;
|
|
18
|
+
}
|
|
19
|
+
function g(e) {
|
|
20
|
+
let t = s(e);
|
|
21
|
+
return t?.$el ?? t;
|
|
22
|
+
}
|
|
23
|
+
function _(t) {
|
|
24
|
+
let n = o(!1);
|
|
25
|
+
return m(() => {
|
|
26
|
+
n.value = !0;
|
|
27
|
+
}), e(() => (n.value, !!t()));
|
|
28
|
+
}
|
|
29
|
+
function v(...t) {
|
|
30
|
+
let n = (e, t, n, r) => (e.addEventListener(t, n, r), () => {
|
|
31
|
+
e.removeEventListener(t, n, r);
|
|
32
|
+
}), r = e(() => {
|
|
33
|
+
let e = d(s(t[0])).filter((e) => e != null);
|
|
34
|
+
return e.every((e) => typeof e != "string") ? e : void 0;
|
|
35
|
+
});
|
|
36
|
+
return l(() => {
|
|
37
|
+
let e = r.value;
|
|
38
|
+
return [
|
|
39
|
+
e?.map((e) => g(e)) ?? [u].filter((e) => e != null),
|
|
40
|
+
d(s(e ? t[1] : t[0])),
|
|
41
|
+
d(c(e ? t[2] : t[1])),
|
|
42
|
+
s(e ? t[3] : t[2])
|
|
43
|
+
];
|
|
44
|
+
}, ([e, t, r, i], a, o) => {
|
|
45
|
+
if (!e?.length || !t?.length || !r?.length) return;
|
|
46
|
+
let s = f(i) ? { ...i } : i, c = e.flatMap((e) => t.flatMap((t) => r.map((r) => n(e, t, r, s))));
|
|
47
|
+
o(() => {
|
|
48
|
+
c.forEach((e) => e());
|
|
49
|
+
});
|
|
50
|
+
}, {
|
|
51
|
+
immediate: !0,
|
|
52
|
+
flush: "post"
|
|
53
|
+
});
|
|
54
|
+
}
|
|
55
|
+
function y(t, n, r = {}) {
|
|
56
|
+
let { window: i = u, ...a } = r, o, c = _(() => i && "ResizeObserver" in i), d = () => {
|
|
57
|
+
o &&= (o.disconnect(), void 0);
|
|
58
|
+
}, f = l(e(() => {
|
|
59
|
+
let e = s(t);
|
|
60
|
+
return Array.isArray(e) ? e.map((e) => g(e)) : [g(e)];
|
|
61
|
+
}), (e) => {
|
|
62
|
+
if (d(), c.value && i) {
|
|
63
|
+
o = new i.ResizeObserver(n);
|
|
64
|
+
for (let t of e) t && o.observe(t, a);
|
|
65
|
+
}
|
|
66
|
+
}, {
|
|
67
|
+
immediate: !0,
|
|
68
|
+
flush: "post"
|
|
69
|
+
}), p = () => {
|
|
70
|
+
d(), f();
|
|
71
|
+
};
|
|
72
|
+
return h(p), {
|
|
73
|
+
isSupported: c,
|
|
74
|
+
stop: p
|
|
75
|
+
};
|
|
76
|
+
}
|
|
77
|
+
function b(t, n, r = {}) {
|
|
78
|
+
let { window: i = u, ...a } = r, o, c = _(() => i && "MutationObserver" in i), f = () => {
|
|
79
|
+
o &&= (o.disconnect(), void 0);
|
|
80
|
+
}, m = l(e(() => {
|
|
81
|
+
let e = d(s(t)).map((e) => g(e)).filter(p);
|
|
82
|
+
return new Set(e);
|
|
83
|
+
}), (e) => {
|
|
84
|
+
f(), c.value && e.size && (o = new i.MutationObserver(n), e.forEach((e) => {
|
|
85
|
+
o.observe(e, a);
|
|
86
|
+
}));
|
|
87
|
+
}, {
|
|
88
|
+
immediate: !0,
|
|
89
|
+
flush: "post"
|
|
90
|
+
}), v = () => o?.takeRecords(), y = () => {
|
|
91
|
+
m(), f();
|
|
92
|
+
};
|
|
93
|
+
return h(y), {
|
|
94
|
+
isSupported: c,
|
|
95
|
+
stop: y,
|
|
96
|
+
takeRecords: v
|
|
97
|
+
};
|
|
98
|
+
}
|
|
99
|
+
var x = {
|
|
100
|
+
page: (e) => [e.pageX, e.pageY],
|
|
101
|
+
client: (e) => [e.clientX, e.clientY],
|
|
102
|
+
screen: (e) => [e.screenX, e.screenY],
|
|
103
|
+
movement: (e) => typeof MouseEvent < "u" && e instanceof MouseEvent ? [e.movementX, e.movementY] : null
|
|
104
|
+
};
|
|
105
|
+
function S(e = {}) {
|
|
106
|
+
let { type: t = "page", touch: n = !0, resetOnTouchEnds: r = !1, initialValue: i = {
|
|
107
|
+
x: 0,
|
|
108
|
+
y: 0
|
|
109
|
+
}, window: a = u, target: s = a, scroll: c = !0, eventFilter: l } = e, d = null, f = 0, p = 0, m = o(i.x), h = o(i.y), g = o(null), _ = typeof t == "function" ? t : x[t], y = (e) => {
|
|
110
|
+
let t = _(e);
|
|
111
|
+
d = e, t && ([m.value, h.value] = t, g.value = "mouse"), a && (f = a.scrollX, p = a.scrollY);
|
|
112
|
+
}, b = (e) => {
|
|
113
|
+
if (e.touches.length > 0) {
|
|
114
|
+
let t = _(e.touches[0]);
|
|
115
|
+
t && ([m.value, h.value] = t, g.value = "touch");
|
|
116
|
+
}
|
|
117
|
+
}, S = () => {
|
|
118
|
+
if (!d || !a) return;
|
|
119
|
+
let e = _(d);
|
|
120
|
+
typeof MouseEvent < "u" && d instanceof MouseEvent && e && (m.value = e[0] + a.scrollX - f, h.value = e[1] + a.scrollY - p);
|
|
121
|
+
}, C = () => {
|
|
122
|
+
m.value = i.x, h.value = i.y;
|
|
123
|
+
}, w = l ? (e) => l(() => y(e), {}) : (e) => y(e), T = l ? (e) => l(() => b(e), {}) : (e) => b(e), E = l ? () => l(() => S(), {}) : () => S();
|
|
124
|
+
if (s) {
|
|
125
|
+
let e = { passive: !0 };
|
|
126
|
+
v(s, ["mousemove", "dragover"], w, e), n && t !== "movement" && (v(s, ["touchstart", "touchmove"], T, e), r && v(s, "touchend", C, e)), c && t === "page" && v(a, "scroll", E, e);
|
|
127
|
+
}
|
|
128
|
+
return {
|
|
129
|
+
x: m,
|
|
130
|
+
y: h,
|
|
131
|
+
sourceType: g
|
|
132
|
+
};
|
|
133
|
+
}
|
|
134
|
+
function C(e, t = {}) {
|
|
135
|
+
let { windowResize: n = !0, windowScroll: r = !0, handleOutside: i = !0, window: a = u } = t, s = t.type || "page", { x: c, y: d, sourceType: f } = S(t), p = o(e ?? a?.document.body), h = o(0), _ = o(0), x = o(0), C = o(0), w = o(0), T = o(0), E = o(!0);
|
|
136
|
+
function D() {
|
|
137
|
+
if (!a) return;
|
|
138
|
+
let e = g(p);
|
|
139
|
+
if (!(!e || !(e instanceof Element))) for (let t of e.getClientRects()) {
|
|
140
|
+
let { left: e, top: n, width: r, height: o } = t;
|
|
141
|
+
x.value = e + (s === "page" ? a.pageXOffset : 0), C.value = n + (s === "page" ? a.pageYOffset : 0), w.value = o, T.value = r;
|
|
142
|
+
let l = c.value - x.value, u = d.value - C.value;
|
|
143
|
+
if (E.value = r === 0 || o === 0 || l < 0 || u < 0 || l > r || u > o, (i || !E.value) && (h.value = l, _.value = u), !E.value) break;
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
let O = [];
|
|
147
|
+
function k() {
|
|
148
|
+
O.forEach((e) => e()), O.length = 0;
|
|
149
|
+
}
|
|
150
|
+
if (m(() => {
|
|
151
|
+
D();
|
|
152
|
+
}), a) {
|
|
153
|
+
let { stop: e } = y(p, D), { stop: t } = b(p, D, { attributeFilter: ["style", "class"] }), i = l([
|
|
154
|
+
p,
|
|
155
|
+
c,
|
|
156
|
+
d
|
|
157
|
+
], D);
|
|
158
|
+
O.push(e, t, i), v(document, "mouseleave", () => {
|
|
159
|
+
E.value = !0;
|
|
160
|
+
}, { passive: !0 }), r && O.push(v("scroll", D, {
|
|
161
|
+
capture: !0,
|
|
162
|
+
passive: !0
|
|
163
|
+
})), n && O.push(v("resize", D, { passive: !0 }));
|
|
164
|
+
}
|
|
165
|
+
return {
|
|
166
|
+
x: c,
|
|
167
|
+
y: d,
|
|
168
|
+
sourceType: f,
|
|
169
|
+
elementX: h,
|
|
170
|
+
elementY: _,
|
|
171
|
+
elementPositionX: x,
|
|
172
|
+
elementPositionY: C,
|
|
173
|
+
elementHeight: w,
|
|
174
|
+
elementWidth: T,
|
|
175
|
+
isOutside: E,
|
|
176
|
+
stop: k
|
|
177
|
+
};
|
|
178
|
+
}
|
|
179
|
+
//#endregion
|
|
180
|
+
//#region src/useTooltipPosition.js
|
|
181
|
+
function w(t) {
|
|
182
|
+
let { elementX: n, elementWidth: r, isOutside: i } = C(e(() => {
|
|
183
|
+
let e = s(t);
|
|
184
|
+
return e ? e instanceof HTMLElement ? e : e.$el || null : null;
|
|
185
|
+
}));
|
|
186
|
+
return e(() => i.value || r.value === 0 ? "center" : n.value > r.value / 2 ? "left" : "right");
|
|
187
|
+
}
|
|
188
|
+
//#endregion
|
|
189
|
+
export { w as t };
|
|
@@ -17,73 +17,73 @@ var u = /* @__PURE__ */ e({ default: () => d }), ge = { style: { width: "36px" }
|
|
|
17
17
|
emits: /* @__PURE__ */ "selectLegend.selectDatapoint.toggleOpenState.saveAnnotations.selectRoot.selectBranch.selectNut.change.selectPlot.selectSide.rate.postImage.hoverIndex.selectX.toggleLock.toggleTooltip.start.play.pause.reset.restart.lap.toggleAnnotator.selectGroup.selectRibbon.toggleTable.resetZoom.showSeries.hideSeries.toggleZoom.onNodeClick.onMidpointEnter.onMidpointLeave.focusLocation.zoomStart.zoomEnd.zoomReset.copyAlt".split("."),
|
|
18
18
|
setup(e, { expose: u, emit: d }) {
|
|
19
19
|
let f = e, { component: _e, dataset: ve, config: ye } = me(f), p = {
|
|
20
|
-
VueUi3dBar: o(() => import("./vue-ui-3d-bar-
|
|
21
|
-
VueUiAgePyramid: o(() => import("./vue-ui-age-pyramid-
|
|
20
|
+
VueUi3dBar: o(() => import("./vue-ui-3d-bar-BUEcrSrc.js").then((e) => e.n)),
|
|
21
|
+
VueUiAgePyramid: o(() => import("./vue-ui-age-pyramid-Zw5otO78.js").then((e) => e.n)),
|
|
22
22
|
VueUiAnnotator: o(() => import("./vue-ui-annotator-7s5ly6XJ.js").then((e) => e.n)),
|
|
23
|
-
VueUiCandlestick: o(() => import("./vue-ui-candlestick-
|
|
24
|
-
VueUiChestnut: o(() => import("./vue-ui-chestnut-
|
|
25
|
-
VueUiDashboard: o(() => import("./vue-ui-dashboard-
|
|
26
|
-
VueUiDigits: o(() => import("./vue-ui-digits-
|
|
27
|
-
VueUiDonut: o(() => import("./vue-ui-donut-
|
|
28
|
-
VueUiDonutEvolution: o(() => import("./vue-ui-donut-evolution-
|
|
29
|
-
VueUiGalaxy: o(() => import("./vue-ui-galaxy-
|
|
30
|
-
VueUiGauge: o(() => import("./vue-ui-gauge-
|
|
31
|
-
VueUiHeatmap: o(() => import("./vue-ui-heatmap-
|
|
32
|
-
VueUiKpi: o(() => import("./vue-ui-kpi-
|
|
23
|
+
VueUiCandlestick: o(() => import("./vue-ui-candlestick-BfOvntqR.js").then((e) => e.n)),
|
|
24
|
+
VueUiChestnut: o(() => import("./vue-ui-chestnut-BQq65pNh.js").then((e) => e.n)),
|
|
25
|
+
VueUiDashboard: o(() => import("./vue-ui-dashboard-DE4R55nU.js").then((e) => e.n)),
|
|
26
|
+
VueUiDigits: o(() => import("./vue-ui-digits-B416Mj46.js").then((e) => e.n)),
|
|
27
|
+
VueUiDonut: o(() => import("./vue-ui-donut-BugVAUHv.js").then((e) => e.n)),
|
|
28
|
+
VueUiDonutEvolution: o(() => import("./vue-ui-donut-evolution-C6fXP7QH.js").then((e) => e.n)),
|
|
29
|
+
VueUiGalaxy: o(() => import("./vue-ui-galaxy-CB5F8Q-u.js").then((e) => e.n)),
|
|
30
|
+
VueUiGauge: o(() => import("./vue-ui-gauge-Cjtovl1s.js").then((e) => e.n)),
|
|
31
|
+
VueUiHeatmap: o(() => import("./vue-ui-heatmap-CMlxUI7Q.js").then((e) => e.n)),
|
|
32
|
+
VueUiKpi: o(() => import("./vue-ui-kpi-B5Lu5U1S.js").then((e) => e.n)),
|
|
33
33
|
VueUiMiniLoader: o(() => import("./vue-ui-mini-loader-CyYpLcrt.js").then((e) => e.n)),
|
|
34
|
-
VueUiMolecule: o(() => import("./vue-ui-molecule-
|
|
35
|
-
VueUiMoodRadar: o(() => import("./vue-ui-mood-radar-
|
|
36
|
-
VueUiNestedDonuts: o(() => import("./vue-ui-nested-donuts-
|
|
37
|
-
VueUiOnion: o(() => import("./vue-ui-onion-
|
|
38
|
-
VueUiQuadrant: o(() => import("./vue-ui-quadrant-
|
|
39
|
-
VueUiRadar: o(() => import("./vue-ui-radar-
|
|
34
|
+
VueUiMolecule: o(() => import("./vue-ui-molecule-DzpgAmZn.js").then((e) => e.n)),
|
|
35
|
+
VueUiMoodRadar: o(() => import("./vue-ui-mood-radar-DMgYQtOw.js").then((e) => e.n)),
|
|
36
|
+
VueUiNestedDonuts: o(() => import("./vue-ui-nested-donuts-BHX0QqvR.js").then((e) => e.n)),
|
|
37
|
+
VueUiOnion: o(() => import("./vue-ui-onion-CYh7tdS0.js").then((e) => e.n)),
|
|
38
|
+
VueUiQuadrant: o(() => import("./vue-ui-quadrant-C00cEk5o.js").then((e) => e.n)),
|
|
39
|
+
VueUiRadar: o(() => import("./vue-ui-radar-jNxRTIur.js").then((e) => e.n)),
|
|
40
40
|
VueUiRating: o(() => import("./vue-ui-rating-BoBLJm55.js").then((e) => e.n)),
|
|
41
|
-
VueUiRelationCircle: o(() => import("./vue-ui-relation-circle-
|
|
42
|
-
VueUiRings: o(() => import("./vue-ui-rings-
|
|
43
|
-
VueUiScatter: o(() => import("./vue-ui-scatter-
|
|
44
|
-
VueUiSkeleton: o(() => import("./vue-ui-skeleton-
|
|
41
|
+
VueUiRelationCircle: o(() => import("./vue-ui-relation-circle-Ne_rI2jS.js").then((e) => e.n)),
|
|
42
|
+
VueUiRings: o(() => import("./vue-ui-rings-VOjUZu2b.js").then((e) => e.n)),
|
|
43
|
+
VueUiScatter: o(() => import("./vue-ui-scatter-DETMofE2.js").then((e) => e.n)),
|
|
44
|
+
VueUiSkeleton: o(() => import("./vue-ui-skeleton-D36VILNm.js").then((e) => e.n)),
|
|
45
45
|
VueUiSmiley: o(() => import("./vue-ui-smiley-CPbUSUTQ.js").then((e) => e.n)),
|
|
46
|
-
VueUiSparkbar: o(() => import("./vue-ui-sparkbar-
|
|
47
|
-
VueUiSparkgauge: o(() => import("./vue-ui-sparkgauge-
|
|
48
|
-
VueUiSparkHistogram: o(() => import("./vue-ui-sparkhistogram-
|
|
49
|
-
VueUiSparkline: o(() => import("./vue-ui-sparkline-
|
|
50
|
-
VueUiSparkStackbar: o(() => import("./vue-ui-sparkstackbar-
|
|
51
|
-
VueUiTable: o(() => import("./vue-ui-table-
|
|
52
|
-
VueUiTableSparkline: o(() => import("./vue-ui-table-sparkline-
|
|
53
|
-
VueUiThermometer: o(() => import("./vue-ui-thermometer-
|
|
54
|
-
VueUiTiremarks: o(() => import("./vue-ui-tiremarks-
|
|
55
|
-
VueUiTreemap: o(() => import("./vue-ui-treemap-
|
|
56
|
-
VueUiVerticalBar: o(() => import("./vue-ui-horizontal-bar-
|
|
57
|
-
VueUiHorizontalBar: o(() => import("./vue-ui-horizontal-bar-
|
|
58
|
-
VueUiWaffle: o(() => import("./vue-ui-waffle-
|
|
59
|
-
VueUiWheel: o(() => import("./vue-ui-wheel-
|
|
60
|
-
VueUiXy: o(() => import("./vue-ui-xy-
|
|
46
|
+
VueUiSparkbar: o(() => import("./vue-ui-sparkbar-Dq1hnBhL.js").then((e) => e.n)),
|
|
47
|
+
VueUiSparkgauge: o(() => import("./vue-ui-sparkgauge-CbAakuhB.js").then((e) => e.n)),
|
|
48
|
+
VueUiSparkHistogram: o(() => import("./vue-ui-sparkhistogram-DpPjIA7n.js").then((e) => e.n)),
|
|
49
|
+
VueUiSparkline: o(() => import("./vue-ui-sparkline-DLay6Hog.js").then((e) => e.n)),
|
|
50
|
+
VueUiSparkStackbar: o(() => import("./vue-ui-sparkstackbar-OprYrGQQ.js").then((e) => e.n)),
|
|
51
|
+
VueUiTable: o(() => import("./vue-ui-table-BZbLau0d.js").then((e) => e.n)),
|
|
52
|
+
VueUiTableSparkline: o(() => import("./vue-ui-table-sparkline-C3_J575b.js").then((e) => e.n)),
|
|
53
|
+
VueUiThermometer: o(() => import("./vue-ui-thermometer-Bo32hwAO.js").then((e) => e.n)),
|
|
54
|
+
VueUiTiremarks: o(() => import("./vue-ui-tiremarks-MwPUc9H4.js").then((e) => e.n)),
|
|
55
|
+
VueUiTreemap: o(() => import("./vue-ui-treemap-BNG7Zc04.js").then((e) => e.n)),
|
|
56
|
+
VueUiVerticalBar: o(() => import("./vue-ui-horizontal-bar-XgzEVwOK.js").then((e) => e.n)),
|
|
57
|
+
VueUiHorizontalBar: o(() => import("./vue-ui-horizontal-bar-XgzEVwOK.js").then((e) => e.n)),
|
|
58
|
+
VueUiWaffle: o(() => import("./vue-ui-waffle-D-9Ny9vN.js").then((e) => e.n)),
|
|
59
|
+
VueUiWheel: o(() => import("./vue-ui-wheel-VQ5Sc_Kt.js").then((e) => e.n)),
|
|
60
|
+
VueUiXy: o(() => import("./vue-ui-xy-D4D9tjiY.js").then((e) => e.n)),
|
|
61
61
|
VueUiTableHeatmap: o(() => import("./vue-ui-table-heatmap-DX80uRHe.js").then((e) => e.n)),
|
|
62
62
|
VueUiAccordion: o(() => import("./vue-ui-accordion-HvsT8_RM.js").then((e) => e.n)),
|
|
63
|
-
VueUiQuickChart: o(() => import("./vue-ui-quick-chart-
|
|
64
|
-
VueUiCursor: o(() => import("./vue-ui-cursor-
|
|
65
|
-
VueUiSparkTrend: o(() => import("./vue-ui-spark-trend-
|
|
66
|
-
VueUiStripPlot: o(() => import("./vue-ui-strip-plot-
|
|
67
|
-
VueUiDumbbell: o(() => import("./vue-ui-dumbbell-
|
|
68
|
-
VueUiWordCloud: o(() => import("./vue-ui-word-cloud-
|
|
69
|
-
VueUiXyCanvas: o(() => import("./vue-ui-xy-canvas-
|
|
70
|
-
VueUiFlow: o(() => import("./vue-ui-flow-
|
|
71
|
-
VueUiParallelCoordinatePlot: o(() => import("./vue-ui-parallel-coordinate-plot-
|
|
72
|
-
VueUiTimer: o(() => import("./vue-ui-timer-
|
|
73
|
-
VueUiCarouselTable: o(() => import("./vue-ui-carousel-table-
|
|
74
|
-
VueUiGizmo: o(() => import("./vue-ui-gizmo-
|
|
75
|
-
VueUiStackbar: o(() => import("./vue-ui-stackbar-
|
|
76
|
-
VueUiStackline: o(() => import("./vue-ui-stackline-
|
|
77
|
-
VueUiBullet: o(() => import("./vue-ui-bullet-
|
|
78
|
-
VueUiFunnel: o(() => import("./vue-ui-funnel-
|
|
79
|
-
VueUiHistoryPlot: o(() => import("./vue-ui-history-plot-
|
|
80
|
-
VueUiCirclePack: o(() => import("./vue-ui-circle-pack-
|
|
81
|
-
VueUiWorld: o(() => import("./vue-ui-world-
|
|
82
|
-
VueUiRidgeline: o(() => import("./vue-ui-ridgeline-
|
|
83
|
-
VueUiChord: o(() => import("./vue-ui-chord-
|
|
84
|
-
VueUiDag: o(() => import("./vue-ui-dag-
|
|
85
|
-
VueUiGeo: o(() => import("./vue-ui-geo-
|
|
86
|
-
VueUiBump: o(() => import("./vue-ui-bump-
|
|
63
|
+
VueUiQuickChart: o(() => import("./vue-ui-quick-chart-CHSUGLTx.js").then((e) => e.n)),
|
|
64
|
+
VueUiCursor: o(() => import("./vue-ui-cursor-DWlKtcab.js").then((e) => e.n)),
|
|
65
|
+
VueUiSparkTrend: o(() => import("./vue-ui-spark-trend-XpEbgNeK.js").then((e) => e.n)),
|
|
66
|
+
VueUiStripPlot: o(() => import("./vue-ui-strip-plot-DdzflSOm.js").then((e) => e.n)),
|
|
67
|
+
VueUiDumbbell: o(() => import("./vue-ui-dumbbell-1K5kOirf.js").then((e) => e.n)),
|
|
68
|
+
VueUiWordCloud: o(() => import("./vue-ui-word-cloud-BqsUdsCY.js").then((e) => e.n)),
|
|
69
|
+
VueUiXyCanvas: o(() => import("./vue-ui-xy-canvas-CYQF5hVa.js").then((e) => e.n)),
|
|
70
|
+
VueUiFlow: o(() => import("./vue-ui-flow-BoEP6hmg.js").then((e) => e.n)),
|
|
71
|
+
VueUiParallelCoordinatePlot: o(() => import("./vue-ui-parallel-coordinate-plot-BTaG92hV.js").then((e) => e.n)),
|
|
72
|
+
VueUiTimer: o(() => import("./vue-ui-timer-smc39MBP.js").then((e) => e.n)),
|
|
73
|
+
VueUiCarouselTable: o(() => import("./vue-ui-carousel-table-CrmVyfym.js").then((e) => e.n)),
|
|
74
|
+
VueUiGizmo: o(() => import("./vue-ui-gizmo-DjA8cqcl.js").then((e) => e.n)),
|
|
75
|
+
VueUiStackbar: o(() => import("./vue-ui-stackbar-Bt0FKlf7.js").then((e) => e.n)),
|
|
76
|
+
VueUiStackline: o(() => import("./vue-ui-stackline-CrUTz-k1.js").then((e) => e.n)),
|
|
77
|
+
VueUiBullet: o(() => import("./vue-ui-bullet-B-bWGz6d.js").then((e) => e.n)),
|
|
78
|
+
VueUiFunnel: o(() => import("./vue-ui-funnel-CheSqvyj.js").then((e) => e.n)),
|
|
79
|
+
VueUiHistoryPlot: o(() => import("./vue-ui-history-plot-PkrNUPpp.js").then((e) => e.n)),
|
|
80
|
+
VueUiCirclePack: o(() => import("./vue-ui-circle-pack-BBaRLELd.js").then((e) => e.n)),
|
|
81
|
+
VueUiWorld: o(() => import("./vue-ui-world-Dq9I3omC.js").then((e) => e.n)),
|
|
82
|
+
VueUiRidgeline: o(() => import("./vue-ui-ridgeline-q_UhtM4M.js").then((e) => e.n)),
|
|
83
|
+
VueUiChord: o(() => import("./vue-ui-chord-BA2jFRMP.js").then((e) => e.n)),
|
|
84
|
+
VueUiDag: o(() => import("./vue-ui-dag-BAKU4jBj.js").then((e) => e.n)),
|
|
85
|
+
VueUiGeo: o(() => import("./vue-ui-geo-BAy4kNv-.js").then((e) => e.n)),
|
|
86
|
+
VueUiBump: o(() => import("./vue-ui-bump-DM-hF-AK.js").then((e) => e.n))
|
|
87
87
|
}, be = {
|
|
88
88
|
VueUi3dBar: ["config", "dataset"],
|
|
89
89
|
VueUiAgePyramid: ["config", "dataset"],
|
package/dist/vue-data-ui.js
CHANGED
|
@@ -1,76 +1,77 @@
|
|
|
1
1
|
import { I as e, U as t, at as ee, k as n, lt as r, n as i, ot as a, rt as o, z as s } from "./lib-AJRHFE5U.js";
|
|
2
|
-
import { t as c } from "./vue-ui-xy-
|
|
2
|
+
import { t as c } from "./vue-ui-xy-D4D9tjiY.js";
|
|
3
3
|
import { t as l } from "./BaseIcon-CWXbczu_.js";
|
|
4
4
|
import { t as u } from "./vue-ui-accordion-HvsT8_RM.js";
|
|
5
5
|
import { t as d } from "./Arrow-_pDGXl76.js";
|
|
6
|
-
import { t as f } from "./vue-ui-3d-bar-
|
|
7
|
-
import { t as p } from "./vue-ui-age-pyramid-
|
|
6
|
+
import { t as f } from "./vue-ui-3d-bar-BUEcrSrc.js";
|
|
7
|
+
import { t as p } from "./vue-ui-age-pyramid-Zw5otO78.js";
|
|
8
8
|
import { t as m } from "./vue-ui-annotator-7s5ly6XJ.js";
|
|
9
|
-
import { t as h } from "./vue-ui-candlestick-
|
|
10
|
-
import { t as g } from "./vue-ui-chestnut-
|
|
11
|
-
import { t as _ } from "./vue-ui-cursor-
|
|
12
|
-
import { t as v } from "./vue-ui-dashboard-
|
|
13
|
-
import { t as y } from "./vue-ui-digits-
|
|
14
|
-
import { t as b } from "./vue-ui-donut-
|
|
15
|
-
import { t as x } from "./vue-ui-donut-evolution-
|
|
16
|
-
import { t as S } from "./vue-ui-dumbbell-
|
|
17
|
-
import { t as C } from "./vue-ui-flow-
|
|
18
|
-
import { t as w } from "./vue-ui-galaxy-
|
|
19
|
-
import { t as T } from "./vue-ui-gauge-
|
|
20
|
-
import { t as E } from "./vue-ui-heatmap-
|
|
21
|
-
import { t as D } from "./vue-ui-kpi-
|
|
9
|
+
import { t as h } from "./vue-ui-candlestick-BfOvntqR.js";
|
|
10
|
+
import { t as g } from "./vue-ui-chestnut-BQq65pNh.js";
|
|
11
|
+
import { t as _ } from "./vue-ui-cursor-DWlKtcab.js";
|
|
12
|
+
import { t as v } from "./vue-ui-dashboard-DE4R55nU.js";
|
|
13
|
+
import { t as y } from "./vue-ui-digits-B416Mj46.js";
|
|
14
|
+
import { t as b } from "./vue-ui-donut-BugVAUHv.js";
|
|
15
|
+
import { t as x } from "./vue-ui-donut-evolution-C6fXP7QH.js";
|
|
16
|
+
import { t as S } from "./vue-ui-dumbbell-1K5kOirf.js";
|
|
17
|
+
import { t as C } from "./vue-ui-flow-BoEP6hmg.js";
|
|
18
|
+
import { t as w } from "./vue-ui-galaxy-CB5F8Q-u.js";
|
|
19
|
+
import { t as T } from "./vue-ui-gauge-Cjtovl1s.js";
|
|
20
|
+
import { t as E } from "./vue-ui-heatmap-CMlxUI7Q.js";
|
|
21
|
+
import { t as D } from "./vue-ui-kpi-B5Lu5U1S.js";
|
|
22
22
|
import { t as O } from "./vue-ui-mini-loader-CyYpLcrt.js";
|
|
23
|
-
import { t as k } from "./vue-ui-molecule-
|
|
24
|
-
import { t as A } from "./vue-ui-mood-radar-
|
|
25
|
-
import { t as j } from "./vue-ui-nested-donuts-
|
|
26
|
-
import { t as M } from "./vue-ui-onion-
|
|
27
|
-
import { t as N } from "./vue-ui-parallel-coordinate-plot-
|
|
28
|
-
import { t as P } from "./vue-ui-quadrant-
|
|
29
|
-
import { t as F } from "./vue-ui-quick-chart-
|
|
30
|
-
import { t as I } from "./vue-ui-radar-
|
|
23
|
+
import { t as k } from "./vue-ui-molecule-DzpgAmZn.js";
|
|
24
|
+
import { t as A } from "./vue-ui-mood-radar-DMgYQtOw.js";
|
|
25
|
+
import { t as j } from "./vue-ui-nested-donuts-BHX0QqvR.js";
|
|
26
|
+
import { t as M } from "./vue-ui-onion-CYh7tdS0.js";
|
|
27
|
+
import { t as N } from "./vue-ui-parallel-coordinate-plot-BTaG92hV.js";
|
|
28
|
+
import { t as P } from "./vue-ui-quadrant-C00cEk5o.js";
|
|
29
|
+
import { t as F } from "./vue-ui-quick-chart-CHSUGLTx.js";
|
|
30
|
+
import { t as I } from "./vue-ui-radar-jNxRTIur.js";
|
|
31
31
|
import { t as L } from "./vue-ui-rating-BoBLJm55.js";
|
|
32
|
-
import { t as R } from "./vue-ui-relation-circle-
|
|
33
|
-
import { t as z } from "./vue-ui-rings-
|
|
34
|
-
import { t as B } from "./vue-ui-scatter-
|
|
35
|
-
import { t as V } from "./vue-ui-skeleton-
|
|
32
|
+
import { t as R } from "./vue-ui-relation-circle-Ne_rI2jS.js";
|
|
33
|
+
import { t as z } from "./vue-ui-rings-VOjUZu2b.js";
|
|
34
|
+
import { t as B } from "./vue-ui-scatter-DETMofE2.js";
|
|
35
|
+
import { t as V } from "./vue-ui-skeleton-D36VILNm.js";
|
|
36
36
|
import { t as H } from "./vue-ui-smiley-CPbUSUTQ.js";
|
|
37
|
-
import { t as U } from "./vue-ui-sparkhistogram-
|
|
38
|
-
import { t as W } from "./vue-ui-sparkstackbar-
|
|
39
|
-
import { t as
|
|
40
|
-
import { t as
|
|
41
|
-
import { t as
|
|
42
|
-
import { t as
|
|
43
|
-
import { t as
|
|
44
|
-
import { t as Y } from "./vue-ui-table-
|
|
37
|
+
import { t as U } from "./vue-ui-sparkhistogram-DpPjIA7n.js";
|
|
38
|
+
import { t as W } from "./vue-ui-sparkstackbar-OprYrGQQ.js";
|
|
39
|
+
import { t as G } from "./vue-ui-spark-trend-XpEbgNeK.js";
|
|
40
|
+
import { t as K } from "./vue-ui-sparkbar-Dq1hnBhL.js";
|
|
41
|
+
import { t as q } from "./vue-ui-sparkgauge-CbAakuhB.js";
|
|
42
|
+
import { t as J } from "./vue-ui-sparkline-DLay6Hog.js";
|
|
43
|
+
import { t as te } from "./vue-ui-strip-plot-DdzflSOm.js";
|
|
44
|
+
import { t as Y } from "./vue-ui-table-BZbLau0d.js";
|
|
45
45
|
import { t as X } from "./vue-ui-table-heatmap-DX80uRHe.js";
|
|
46
|
-
import { t as Z } from "./vue-ui-table-sparkline-
|
|
47
|
-
import { t as Q } from "./vue-ui-thermometer-
|
|
48
|
-
import { t as ne } from "./vue-ui-timer-
|
|
49
|
-
import { t as re } from "./vue-ui-tiremarks-
|
|
50
|
-
import { t as ie } from "./vue-ui-treemap-
|
|
51
|
-
import { t as $ } from "./vue-ui-horizontal-bar-
|
|
52
|
-
import { t as ae } from "./vue-ui-waffle-
|
|
53
|
-
import { t as oe } from "./vue-ui-wheel-
|
|
54
|
-
import { t as se } from "./vue-ui-word-cloud-
|
|
46
|
+
import { t as Z } from "./vue-ui-table-sparkline-C3_J575b.js";
|
|
47
|
+
import { t as Q } from "./vue-ui-thermometer-Bo32hwAO.js";
|
|
48
|
+
import { t as ne } from "./vue-ui-timer-smc39MBP.js";
|
|
49
|
+
import { t as re } from "./vue-ui-tiremarks-MwPUc9H4.js";
|
|
50
|
+
import { t as ie } from "./vue-ui-treemap-BNG7Zc04.js";
|
|
51
|
+
import { t as $ } from "./vue-ui-horizontal-bar-XgzEVwOK.js";
|
|
52
|
+
import { t as ae } from "./vue-ui-waffle-D-9Ny9vN.js";
|
|
53
|
+
import { t as oe } from "./vue-ui-wheel-VQ5Sc_Kt.js";
|
|
54
|
+
import { t as se } from "./vue-ui-word-cloud-BqsUdsCY.js";
|
|
55
55
|
import { i as ce, n as le, r as ue, t as de } from "./exposedLib-BJbE_A8E.js";
|
|
56
|
-
import { t as fe } from "./vue-ui-xy-canvas-
|
|
57
|
-
import { t as pe } from "./vue-ui-carousel-table-
|
|
58
|
-
import { t as me } from "./vue-ui-gizmo-
|
|
59
|
-
import { t as he } from "./vue-ui-stackbar-
|
|
60
|
-
import { t as ge } from "./vue-ui-stackline-
|
|
61
|
-
import { t as _e } from "./vue-ui-bullet-
|
|
62
|
-
import { t as ve } from "./vue-ui-funnel-
|
|
63
|
-
import { t as ye } from "./vue-ui-history-plot-
|
|
56
|
+
import { t as fe } from "./vue-ui-xy-canvas-CYQF5hVa.js";
|
|
57
|
+
import { t as pe } from "./vue-ui-carousel-table-CrmVyfym.js";
|
|
58
|
+
import { t as me } from "./vue-ui-gizmo-DjA8cqcl.js";
|
|
59
|
+
import { t as he } from "./vue-ui-stackbar-Bt0FKlf7.js";
|
|
60
|
+
import { t as ge } from "./vue-ui-stackline-CrUTz-k1.js";
|
|
61
|
+
import { t as _e } from "./vue-ui-bullet-B-bWGz6d.js";
|
|
62
|
+
import { t as ve } from "./vue-ui-funnel-CheSqvyj.js";
|
|
63
|
+
import { t as ye } from "./vue-ui-history-plot-PkrNUPpp.js";
|
|
64
64
|
import { t as be } from "./vue-ui-pattern-DKozfnVn.js";
|
|
65
|
-
import { t as xe } from "./vue-ui-circle-pack-
|
|
66
|
-
import { t as Se } from "./vue-ui-world-
|
|
67
|
-
import { t as Ce } from "./vue-ui-ridgeline-
|
|
68
|
-
import { t as we } from "./vue-ui-chord-
|
|
69
|
-
import { t as Te } from "./vue-ui-dag-
|
|
70
|
-
import { t as Ee } from "./vue-data-ui-
|
|
71
|
-
import { t as De } from "./vue-ui-geo-
|
|
72
|
-
import { t as Oe } from "./vue-ui-bump-
|
|
65
|
+
import { t as xe } from "./vue-ui-circle-pack-BBaRLELd.js";
|
|
66
|
+
import { t as Se } from "./vue-ui-world-Dq9I3omC.js";
|
|
67
|
+
import { t as Ce } from "./vue-ui-ridgeline-q_UhtM4M.js";
|
|
68
|
+
import { t as we } from "./vue-ui-chord-BA2jFRMP.js";
|
|
69
|
+
import { t as Te } from "./vue-ui-dag-BAKU4jBj.js";
|
|
70
|
+
import { t as Ee } from "./vue-data-ui-DoViN_4r.js";
|
|
71
|
+
import { t as De } from "./vue-ui-geo-BAy4kNv-.js";
|
|
72
|
+
import { t as Oe } from "./vue-ui-bump-DM-hF-AK.js";
|
|
73
73
|
import { t as ke } from "./patternUtils-CS7hn6at.js";
|
|
74
74
|
import { t as Ae } from "./vue-ui-pattern-seed-BB1honLm.js";
|
|
75
75
|
import { i as je, n as Me, r as Ne, t as Pe } from "./useObjectBindings-CxQ6A5pi.js";
|
|
76
|
-
|
|
76
|
+
import { t as Fe } from "./useTooltipPosition-BsRysTrw.js";
|
|
77
|
+
export { d as Arrow, Ee as VueDataUi, f as VueUi3dBar, u as VueUiAccordion, p as VueUiAgePyramid, m as VueUiAnnotator, _e as VueUiBullet, Oe as VueUiBump, h as VueUiCandlestick, pe as VueUiCarouselTable, g as VueUiChestnut, we as VueUiChord, xe as VueUiCirclePack, _ as VueUiCursor, Te as VueUiDag, v as VueUiDashboard, y as VueUiDigits, b as VueUiDonut, x as VueUiDonutEvolution, S as VueUiDumbbell, C as VueUiFlow, ve as VueUiFunnel, w as VueUiGalaxy, T as VueUiGauge, De as VueUiGeo, me as VueUiGizmo, E as VueUiHeatmap, ye as VueUiHistoryPlot, $ as VueUiHorizontalBar, $ as VueUiVerticalBar, l as VueUiIcon, D as VueUiKpi, O as VueUiMiniLoader, k as VueUiMolecule, A as VueUiMoodRadar, j as VueUiNestedDonuts, M as VueUiOnion, N as VueUiParallelCoordinatePlot, be as VueUiPattern, Ae as VueUiPatternSeed, P as VueUiQuadrant, F as VueUiQuickChart, I as VueUiRadar, L as VueUiRating, R as VueUiRelationCircle, Ce as VueUiRidgeline, z as VueUiRings, B as VueUiScatter, V as VueUiSkeleton, H as VueUiSmiley, U as VueUiSparkHistogram, W as VueUiSparkStackbar, G as VueUiSparkTrend, K as VueUiSparkbar, q as VueUiSparkgauge, J as VueUiSparkline, he as VueUiStackbar, ge as VueUiStackline, te as VueUiStripPlot, Y as VueUiTable, X as VueUiTableHeatmap, Z as VueUiTableSparkline, Q as VueUiThermometer, ne as VueUiTimer, re as VueUiTiremarks, ie as VueUiTreemap, ae as VueUiWaffle, oe as VueUiWheel, se as VueUiWordCloud, Se as VueUiWorld, c as VueUiXy, fe as VueUiXyCanvas, i as abbreviate, Me as applyDataCorrection, ke as createPatternDef, n as createSmoothPath, e as createStraightPath, s as createTSpans, t as createWordCloudDatasetFromPlainText, de as darkenColor, o as formatSmallValue, ee as getCumulativeAverage, a as getCumulativeMedian, r as getPalette, Ne as getThemeConfig, je as getVueDataUiConfig, le as lightenColor, ue as mergeConfigs, ce as shiftColorHue, Pe as useObjectBindings, Fe as useTooltipPosition };
|
|
@@ -235,7 +235,7 @@ var Ne = /* @__PURE__ */ e({ default: () => In }), Pe = ["id"], Fe = ["id"], Ie
|
|
|
235
235
|
},
|
|
236
236
|
emits: ["selectDatapoint", "copyAlt"],
|
|
237
237
|
setup(e, { expose: me, emit: Ne }) {
|
|
238
|
-
let In = w(() => import("./BaseIcon-CWXbczu_.js").then((e) => e.n)), Ln = w(() => import("./vue-ui-accordion-HvsT8_RM.js").then((e) => e.n)), Rn = w(() => import("./DataTable-G9aclxhk.js")), zn = w(() => import("./PenAndPaper-z1woaB1V.js").then((e) => e.t)), Bn = w(() => import("./UserOptions-rx9hUnOy.js").then((e) => e.n)), Vn = w(() => import("./PackageVersion-
|
|
238
|
+
let In = w(() => import("./BaseIcon-CWXbczu_.js").then((e) => e.n)), Ln = w(() => import("./vue-ui-accordion-HvsT8_RM.js").then((e) => e.n)), Rn = w(() => import("./DataTable-G9aclxhk.js")), zn = w(() => import("./PenAndPaper-z1woaB1V.js").then((e) => e.t)), Bn = w(() => import("./UserOptions-rx9hUnOy.js").then((e) => e.n)), Vn = w(() => import("./PackageVersion-DxBQctV8.js").then((e) => e.t)), Hn = w(() => import("./BaseDraggableDialog-O8jn9Lvi.js").then((e) => e.n)), { vue_ui_3d_bar: Un } = ae(), { isThemeValid: Wn, warnInvalidTheme: Gn } = de(), F = e, Kn = Ne, qn = y(() => !!F.dataset && Object.keys(F.dataset).length), I = k(i()), L = k(null), R = k(!1), Jn = k(0), Yn = k(0), Xn = k(null), Zn = k(null), Qn = k(null), $n = k(null), z = k(!1), er = k(null), tr = k(null), nr = k(!1), rr = k(!1), B = k(null), V = k(""), H = k(ur()), ir = y(() => H.value.userOptions.useCursorPointer), ar = y(() => a({
|
|
239
239
|
defaultConfig: {
|
|
240
240
|
customPalette: [
|
|
241
241
|
"#808080",
|
|
@@ -159,7 +159,7 @@ var Ie = /* @__PURE__ */ e({ default: () => ht }), Le = ["id"], Re = ["id"], ze
|
|
|
159
159
|
},
|
|
160
160
|
emits: ["copyAlt"],
|
|
161
161
|
setup(e, { expose: _e, emit: Ie }) {
|
|
162
|
-
let ht = h(() => import("./Tooltip-979Ytd8R.js")), gt = h(() => import("./BaseIcon-CWXbczu_.js").then((e) => e.n)), _t = h(() => import("./vue-ui-accordion-HvsT8_RM.js").then((e) => e.n)), vt = h(() => import("./DataTable-G9aclxhk.js")), yt = h(() => import("./PenAndPaper-z1woaB1V.js").then((e) => e.t)), bt = h(() => import("./UserOptions-rx9hUnOy.js").then((e) => e.n)), xt = h(() => import("./PackageVersion-
|
|
162
|
+
let ht = h(() => import("./Tooltip-979Ytd8R.js")), gt = h(() => import("./BaseIcon-CWXbczu_.js").then((e) => e.n)), _t = h(() => import("./vue-ui-accordion-HvsT8_RM.js").then((e) => e.n)), vt = h(() => import("./DataTable-G9aclxhk.js")), yt = h(() => import("./PenAndPaper-z1woaB1V.js").then((e) => e.t)), bt = h(() => import("./UserOptions-rx9hUnOy.js").then((e) => e.n)), xt = h(() => import("./PackageVersion-DxBQctV8.js").then((e) => e.t)), St = h(() => import("./BaseDraggableDialog-O8jn9Lvi.js").then((e) => e.n)), { vue_ui_age_pyramid: Ct } = se(), { isThemeValid: wt, warnInvalidTheme: Tt } = pe(), D = e, Et = Ie, Dt = u(() => !!D.dataset && D.dataset.length), O = b(r()), k = b(!1), Ot = b(""), A = b(null), kt = b(0), j = b(null), At = b(null), jt = b(null), Mt = b(null), Nt = b(0), Pt = b(0), Ft = b(null), M = b(null), It = b(null), Lt = b(!1), N = b(!1), P = b(null), Rt = b({
|
|
163
163
|
x: 0,
|
|
164
164
|
y: 0
|
|
165
165
|
}), F = b("pointer"), zt = b(!1), I = b(Kt()), L = u(() => I.value.userOptions.useCursorPointer), Bt = u(() => i({
|
|
@@ -103,7 +103,7 @@ var ke = /* @__PURE__ */ e({ default: () => T }), Ae = ["id"], je = {
|
|
|
103
103
|
},
|
|
104
104
|
emits: ["copyAlt"],
|
|
105
105
|
setup(e, { expose: pe, emit: ke }) {
|
|
106
|
-
let T = m(() => import("./PackageVersion-
|
|
106
|
+
let T = m(() => import("./PackageVersion-DxBQctV8.js").then((e) => e.t)), Ze = m(() => import("./PenAndPaper-z1woaB1V.js").then((e) => e.t)), Qe = m(() => import("./UserOptions-rx9hUnOy.js").then((e) => e.n)), { vue_ui_bullet: $e } = ae(), { isThemeValid: et, warnInvalidTheme: tt } = ue(), E = e, nt = ke, D = y(null), rt = y(null), it = y(0), at = y(null), ot = y(null), st = y(0), O = y(null), k = y(null), ct = y(!1), A = y(!1), j = y(!1), M = l({
|
|
107
107
|
get: () => R.value.hasOwnProperty("value"),
|
|
108
108
|
set: (e) => e
|
|
109
109
|
}), N = l(() => R.value.segments ? Array.isArray(R.value.segments) ? R.value.segments.length ? !0 : (console.warn("VueUiBullet: dataset segments is empty. Provide segments with this datastructure:\n\nsegments: [\n {\n name: string;\n from: number;\n to: number;\n color?: string;\n },\n {...}\n]\n "), M.value = !1, !1) : (console.warn("VueUiBullet: dataset segments must be an array of objects with this datastructure:\n\nsegments: [\n {\n name: string;\n from: number;\n to: number;\n color?: string;\n },\n {...}\n] \n "), M.value = !1, !1) : (console.warn("VueUiBullet: dataset segments is empty. Provide segments with this datastructure:\n\nsegments: [\n {\n name: string;\n from: number;\n to: number;\n color?: string;\n },\n {...}\n]\n "), M.value = !1, !1)), lt = l(() => !!I.value.debug), ut = l(() => {
|
|
@@ -127,7 +127,7 @@ var Ve = /* @__PURE__ */ e({ default: () => ct }), He = ["id"], Ue = ["id"], We
|
|
|
127
127
|
},
|
|
128
128
|
emits: ["copyAlt"],
|
|
129
129
|
setup(e, { expose: be, emit: Ve }) {
|
|
130
|
-
let ct = _(() => import("./BaseIcon-CWXbczu_.js").then((e) => e.n)), lt = _(() => import("./vue-ui-accordion-HvsT8_RM.js").then((e) => e.n)), ut = _(() => import("./DataTable-G9aclxhk.js")), dt = _(() => import("./PenAndPaper-z1woaB1V.js").then((e) => e.t)), ft = _(() => import("./UserOptions-rx9hUnOy.js").then((e) => e.n)), pt = _(() => import("./PackageVersion-
|
|
130
|
+
let ct = _(() => import("./BaseIcon-CWXbczu_.js").then((e) => e.n)), lt = _(() => import("./vue-ui-accordion-HvsT8_RM.js").then((e) => e.n)), ut = _(() => import("./DataTable-G9aclxhk.js")), dt = _(() => import("./PenAndPaper-z1woaB1V.js").then((e) => e.t)), ft = _(() => import("./UserOptions-rx9hUnOy.js").then((e) => e.n)), pt = _(() => import("./PackageVersion-DxBQctV8.js").then((e) => e.t)), { vue_ui_bump: mt } = de(), { isThemeValid: ht, warnInvalidTheme: gt } = _e(), O = e, _t = Ve, vt = f({
|
|
131
131
|
get() {
|
|
132
132
|
return !!O.dataset && O.dataset.length;
|
|
133
133
|
},
|