vue-data-ui 3.23.1 → 3.23.2
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-D6d8SCp9.js → PackageVersion-DXU7nRr9.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-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-hill.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-stackline.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/{package-KvlL5CqE.js → package-bsfpO6y3.js} +1 -1
- package/dist/{render-common-oDYGTc5P.js → render-common-C0PEe9so.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/vue-data-ui.d.ts +6 -0
- package/dist/{useSvgExport-DH-FfcqQ.js → useChartExport-DNiwdPmb.js} +47 -1
- package/dist/{useConfig-D3scuR88.js → useConfig-DlNpz6P8.js} +6 -0
- package/dist/{useObjectBindings-Brg8mm5J.js → useObjectBindings-BeWS5v0i.js} +1 -1
- package/dist/utils.js +1 -1
- package/dist/{vue-data-ui-DGWDPCwC.js → vue-data-ui-BNxtW8pK.js} +68 -68
- package/dist/vue-data-ui.js +69 -69
- package/dist/{vue-ui-3d-bar-C_Su9fve.js → vue-ui-3d-bar-BYumVxZG.js} +164 -182
- package/dist/{vue-ui-accordion-BxGriZik.js → vue-ui-accordion-DegI2lzR.js} +1 -1
- package/dist/vue-ui-age-pyramid-tJx_hCsS.js +1241 -0
- package/dist/{vue-ui-annotator-CCtnM8Rv.js → vue-ui-annotator-DfG79D4r.js} +2 -2
- package/dist/vue-ui-bullet-DrWG4jRy.js +700 -0
- package/dist/{vue-ui-bump-CcdzJZ9n.js → vue-ui-bump-mKysp0KO.js} +213 -263
- package/dist/vue-ui-candlestick-PgKcBZdy.js +1837 -0
- package/dist/vue-ui-carousel-table-DRvycNBl.js +467 -0
- package/dist/vue-ui-chestnut-Dpklo-VE.js +2014 -0
- package/dist/vue-ui-chord-7PPVH_iG.js +1345 -0
- package/dist/vue-ui-circle-pack-DW4Os6_8.js +1636 -0
- package/dist/{vue-ui-cursor-BqHr0n1Z.js → vue-ui-cursor-DIt7vOwc.js} +2 -2
- package/dist/{vue-ui-dag-jMLVoQkb.js → vue-ui-dag-Cl0WdSLb.js} +492 -515
- package/dist/{vue-ui-dashboard-DVAUFETR.js → vue-ui-dashboard-BwxRLR4E.js} +65 -65
- package/dist/{vue-ui-digits-Dy4gG6qm.js → vue-ui-digits-Bp1OH_t1.js} +2 -2
- package/dist/{vue-ui-donut-C0cWRLbU.js → vue-ui-donut-BZUT7QYt.js} +333 -359
- package/dist/vue-ui-donut-evolution-CQy3ZKXk.js +1549 -0
- package/dist/{vue-ui-donut-CYpxGBhl.js → vue-ui-donut-y6tOAVyY.js} +2 -2
- package/dist/{vue-ui-dumbbell-DxVbRjKR.js → vue-ui-dumbbell-BtKZcAOV.js} +378 -428
- package/dist/{vue-ui-flow-DWaZF4FS.js → vue-ui-flow-BF_cndsv.js} +182 -207
- package/dist/vue-ui-funnel-z3AeiDu6.js +750 -0
- package/dist/{vue-ui-galaxy-CWBP9oH9.js → vue-ui-galaxy-ClWaSOmM.js} +308 -334
- package/dist/vue-ui-gauge-CJstpakj.js +932 -0
- package/dist/{vue-ui-geo-ZA7CBy8f.js → vue-ui-geo-B1tOD3HC.js} +362 -413
- package/dist/{vue-ui-gizmo-SQCou0bQ.js → vue-ui-gizmo-foatosAv.js} +2 -2
- package/dist/{vue-ui-heatmap-CHd9gs_p.js → vue-ui-heatmap-By33A9dZ.js} +292 -315
- package/dist/vue-ui-hill-ewqkK9s5.js +1745 -0
- package/dist/{vue-ui-history-plot-BwnlC1mx.js → vue-ui-history-plot-FEIwXlsz.js} +258 -283
- package/dist/{vue-ui-horizontal-bar-BUar2HUH.js → vue-ui-horizontal-bar-D51sAeVu.js} +273 -298
- package/dist/{vue-ui-kpi-BF_9WWoo.js → vue-ui-kpi-y3EkgqJQ.js} +2 -2
- package/dist/{vue-ui-mini-loader-CvfukjXi.js → vue-ui-mini-loader-CtTewZJG.js} +1 -1
- package/dist/vue-ui-molecule-paWHp18h.js +935 -0
- package/dist/{vue-ui-mood-radar-_zpbmvJs.js → vue-ui-mood-radar-wBRTZI5k.js} +337 -386
- package/dist/vue-ui-nested-donuts-CB-HOLo2.js +1503 -0
- package/dist/{vue-ui-onion-CB5RYIy5.js → vue-ui-onion-B2Q2n55x.js} +257 -282
- package/dist/{vue-ui-parallel-coordinate-plot-BUwt-apg.js → vue-ui-parallel-coordinate-plot-GpkXiIZA.js} +190 -215
- package/dist/{vue-ui-quadrant-CoROD3er.js → vue-ui-quadrant-DOPuejDE.js} +213 -243
- package/dist/{vue-ui-quick-chart-BcH7eY4-.js → vue-ui-quick-chart-CgHX9njq.js} +52 -61
- package/dist/{vue-ui-radar-DGbaXGme.js → vue-ui-radar-BLvG-_zE.js} +343 -370
- package/dist/{vue-ui-rating-Bo3zD3yW.js → vue-ui-rating-BDVSVFA0.js} +8 -9
- package/dist/vue-ui-relation-circle-plOXwxJ5.js +903 -0
- package/dist/{vue-ui-ridgeline-BCaGcyfk.js → vue-ui-ridgeline-BbrnXvBo.js} +267 -317
- package/dist/{vue-ui-rings-BJUBn8_b.js → vue-ui-rings-B3cKfMWy.js} +407 -432
- package/dist/vue-ui-scatter-BY7waF2T.js +2403 -0
- package/dist/{vue-ui-skeleton-EeJcGbCo.js → vue-ui-skeleton-DwKxd7fk.js} +2 -2
- package/dist/{vue-ui-smiley-D0gibt5c.js → vue-ui-smiley-5iHJeTPc.js} +62 -63
- package/dist/{vue-ui-spark-trend-BRoQ7JpQ.js → vue-ui-spark-trend-MpvrV5Wd.js} +2 -2
- package/dist/{vue-ui-sparkbar-DFp2k7-7.js → vue-ui-sparkbar-s-2rBmEz.js} +97 -100
- package/dist/{vue-ui-sparkgauge-D0Bq85Hs.js → vue-ui-sparkgauge-B-BYVv4p.js} +2 -2
- package/dist/{vue-ui-sparkhistogram-BPln7v63.js → vue-ui-sparkhistogram-D7D4NHdi.js} +7 -8
- package/dist/{vue-ui-sparkline-C6Q45Dqp.js → vue-ui-sparkline-RbeYtLWp.js} +6 -7
- package/dist/{vue-ui-sparkstackbar-CjK4bcQg.js → vue-ui-sparkstackbar-ohN7mtbg.js} +191 -195
- package/dist/{vue-ui-stackbar-Ca8EPf3e.js → vue-ui-stackbar-D2bpvQYt.js} +524 -549
- package/dist/{vue-ui-stackline-Pz5WWlWT.js → vue-ui-stackline-Bo1oE8yq.js} +570 -595
- package/dist/vue-ui-strip-plot-CZ-C4a5x.js +1734 -0
- package/dist/{vue-ui-table-Bjg-ujJu.js → vue-ui-table-3PPiJPV6.js} +3 -3
- package/dist/{vue-ui-table-heatmap-ljeYW8Wc.js → vue-ui-table-heatmap-D1bbPXKG.js} +48 -49
- package/dist/{vue-ui-table-sparkline-iRFmtK5S.js → vue-ui-table-sparkline-l1cUX3ny.js} +7 -9
- package/dist/{vue-ui-thermometer-D8uiOaeA.js → vue-ui-thermometer-DltAELO7.js} +240 -261
- package/dist/{vue-ui-timer-CYw983oL.js → vue-ui-timer-DWNdx47q.js} +2 -2
- package/dist/vue-ui-tiremarks-GYhji_fa.js +538 -0
- package/dist/{vue-ui-treemap-h4VbnqPA.js → vue-ui-treemap-DjNlnOG5.js} +498 -524
- package/dist/vue-ui-waffle-BAA9EX6O.js +1386 -0
- package/dist/{vue-ui-wheel-tLvJadk5.js → vue-ui-wheel-DrefGLos.js} +188 -209
- package/dist/{vue-ui-word-cloud-BjpGSsod.js → vue-ui-word-cloud-CQZ8AyOi.js} +375 -398
- package/dist/{vue-ui-world-B4fCS3jN.js → vue-ui-world-Y7a3VEjq.js} +428 -453
- package/dist/{vue-ui-xy-7ZT9IRD8.js → vue-ui-xy-CJcdttNL.js} +857 -883
- package/dist/{vue-ui-xy-gyNS0yH0.js → vue-ui-xy-DPxtkYGc.js} +2 -2
- package/dist/{vue-ui-xy-canvas-BnLEwBpi.js → vue-ui-xy-canvas-1rbwMA1m.js} +13 -12
- package/package.json +1 -1
- package/dist/Slicer-CIk57nL4.js +0 -1163
- package/dist/vue-ui-age-pyramid-D4k1MkAL.js +0 -1264
- package/dist/vue-ui-bullet-DLZr2Uk8.js +0 -724
- package/dist/vue-ui-candlestick-EEEt7ORC.js +0 -1866
- package/dist/vue-ui-carousel-table-BicIpNAD.js +0 -463
- package/dist/vue-ui-chestnut-BI7mC5dd.js +0 -2068
- package/dist/vue-ui-chord-DXaq8ZMu.js +0 -1396
- package/dist/vue-ui-circle-pack-XHJBMG51.js +0 -1659
- package/dist/vue-ui-donut-evolution-DwR47A2r.js +0 -1603
- package/dist/vue-ui-funnel-Bmpx5GHR.js +0 -797
- package/dist/vue-ui-gauge-ByE_txav.js +0 -953
- package/dist/vue-ui-hill-BT183G-_.js +0 -1768
- package/dist/vue-ui-molecule-Bi2CKHer.js +0 -958
- package/dist/vue-ui-nested-donuts-qHZAJ70u.js +0 -1528
- package/dist/vue-ui-relation-circle-DaU1eTsG.js +0 -925
- package/dist/vue-ui-scatter-Pcft1bUt.js +0 -2428
- package/dist/vue-ui-strip-plot-Dw4MGDSO.js +0 -1757
- package/dist/vue-ui-tiremarks-CekiW2Ru.js +0 -559
- package/dist/vue-ui-waffle-cu0w_s6L.js +0 -1412
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
2
|
import { $ as t, Bt as n, C as r, D as i, Jt as a, Ot as o, Pt as ee, X as s, d as c, q as te, r as ne } from "./lib-Bttd6u5E.js";
|
|
3
|
-
import { t as re } from "./vue-ui-xy-
|
|
3
|
+
import { t as re } from "./vue-ui-xy-CJcdttNL.js";
|
|
4
4
|
import { n as ie, t as ae } from "./useHints-Dq_w2E8B.js";
|
|
5
|
-
import { t as oe } from "./useConfig-
|
|
5
|
+
import { t as oe } from "./useConfig-DlNpz6P8.js";
|
|
6
6
|
import { t as l } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
7
7
|
import { t as u } from "./BaseIcon-BfndwIWE.js";
|
|
8
|
-
import { t as se } from "./vue-ui-donut-
|
|
8
|
+
import { t as se } from "./vue-ui-donut-BZUT7QYt.js";
|
|
9
9
|
import { Fragment as d, computed as f, createBlock as ce, createCommentVNode as p, createElementBlock as m, createElementVNode as h, createTextVNode as g, createVNode as le, defineAsyncComponent as ue, nextTick as de, normalizeClass as _, normalizeStyle as v, onMounted as fe, openBlock as y, ref as b, renderList as x, toDisplayString as S, unref as C, useCssVars as pe, vModelSelect as me, vModelText as he, watch as ge, withCtx as _e, withDirectives as w, withKeys as ve, withModifiers as ye } from "vue";
|
|
10
10
|
//#region src/components/vue-ui-table.vue
|
|
11
11
|
var be = /* @__PURE__ */ e({ default: () => ln }), xe = ["innerHTML"], Se = ["data-is-open"], Ce = { class: "vue-ui-table-export-hub-options" }, we = { class: "vue-ui-table-export-hub-option-wrapper" }, Te = { class: "label" }, Ee = ["innerHTML"], De = { class: "vue-ui-table-export-hub-option-wrapper" }, Oe = { class: "label" }, ke = ["innerHTML"], Ae = { class: "vue-ui-table-dialog-field" }, je = {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
2
|
import { $ as t, D as n, jt as r, m as i, q as a, r as ee, tt as te, yt as ne } from "./lib-Bttd6u5E.js";
|
|
3
3
|
import { n as re, t as ie } from "./useHints-Dq_w2E8B.js";
|
|
4
|
-
import { t as ae } from "./useConfig-
|
|
4
|
+
import { t as ae } from "./useConfig-DlNpz6P8.js";
|
|
5
5
|
import { t as oe } from "./usePrinter-DN5bYhTG.js";
|
|
6
6
|
import { t as o } from "./useNestedProp-vPNvh7rV.js";
|
|
7
7
|
import { t as se } from "./useThemeCheck-C43Tcqmk.js";
|
|
@@ -11,7 +11,7 @@ import { t as le } from "./useUserOptionState-DK-_1ddE.js";
|
|
|
11
11
|
import { t as ue } from "./vue_ui_table_heatmap-w8vx5k6f.js";
|
|
12
12
|
import { Fragment as c, computed as l, createBlock as de, createCommentVNode as u, createElementBlock as d, createElementVNode as f, createSlots as fe, createVNode as pe, defineAsyncComponent as me, guardReactiveProps as p, mergeProps as m, nextTick as he, normalizeClass as h, normalizeProps as g, normalizeStyle as _, onMounted as v, openBlock as y, ref as b, renderList as x, renderSlot as S, unref as C, useCssVars as ge, useSlots as _e, watch as ve, withCtx as w } from "vue";
|
|
13
13
|
//#region src/components/vue-ui-table-heatmap.vue
|
|
14
|
-
var T = /* @__PURE__ */ e({ default: () =>
|
|
14
|
+
var T = /* @__PURE__ */ e({ default: () => N }), ye = ["id"], be = { role: "cell" }, xe = { role: "row" }, E = ["data-cell"], D = {
|
|
15
15
|
key: 0,
|
|
16
16
|
style: {
|
|
17
17
|
display: "flex",
|
|
@@ -19,23 +19,23 @@ var T = /* @__PURE__ */ e({ default: () => P }), ye = ["id"], be = { role: "cell
|
|
|
19
19
|
gap: "2px",
|
|
20
20
|
"align-items": "center"
|
|
21
21
|
}
|
|
22
|
-
},
|
|
22
|
+
}, O = ["height", "width"], k = {
|
|
23
23
|
key: 0,
|
|
24
24
|
role: "cell",
|
|
25
25
|
"data-cell": "sum"
|
|
26
|
-
},
|
|
26
|
+
}, A = {
|
|
27
27
|
key: 1,
|
|
28
28
|
role: "cell",
|
|
29
29
|
"data-cell": "average"
|
|
30
|
-
},
|
|
30
|
+
}, j = {
|
|
31
31
|
key: 2,
|
|
32
32
|
role: "cell",
|
|
33
33
|
"data-cell": "median"
|
|
34
|
-
},
|
|
34
|
+
}, M = {
|
|
35
35
|
key: 1,
|
|
36
36
|
ref: "source",
|
|
37
37
|
dir: "auto"
|
|
38
|
-
},
|
|
38
|
+
}, N = /*#__PURE__*/ s({
|
|
39
39
|
__name: "vue-ui-table-heatmap",
|
|
40
40
|
props: {
|
|
41
41
|
config: {
|
|
@@ -53,18 +53,16 @@ var T = /* @__PURE__ */ e({ default: () => P }), ye = ["id"], be = { role: "cell
|
|
|
53
53
|
},
|
|
54
54
|
setup(e, { expose: s }) {
|
|
55
55
|
ge((e) => ({
|
|
56
|
-
|
|
57
|
-
|
|
56
|
+
v1ad1563c: Ae.value,
|
|
57
|
+
v63a351d2: ke.value
|
|
58
58
|
}));
|
|
59
|
-
let T = me(() => import("./UserOptions-Dt98of5H.js").then((e) => e.n)), { vue_ui_table_heatmap:
|
|
60
|
-
|
|
61
|
-
Ce["chart-background"] && console.warn("VueUiTableHeatmap does not support the #chart-background slot.");
|
|
62
|
-
});
|
|
63
|
-
let V = l({
|
|
64
|
-
get: () => G(),
|
|
59
|
+
let T = me(() => import("./UserOptions-Dt98of5H.js").then((e) => e.n)), { vue_ui_table_heatmap: N } = ae(), { isThemeValid: Se, warnInvalidTheme: P } = se(), F = e, I = b(a()), L = b(!1), R = b(null), z = b(!1), B = b(0), Ce = _e(), V = l({
|
|
60
|
+
get: () => K(),
|
|
65
61
|
set: (e) => e
|
|
66
|
-
});
|
|
67
|
-
|
|
62
|
+
}), H = l(() => V.value.debug);
|
|
63
|
+
v(() => {
|
|
64
|
+
Ce["chart-background"] && H.value && console.warn("VueUiTableHeatmap does not support the #chart-background slot.");
|
|
65
|
+
}), re({
|
|
68
66
|
config: () => V.value,
|
|
69
67
|
dataset: () => F.dataset,
|
|
70
68
|
component: "VueUiTableHeatmap",
|
|
@@ -88,14 +86,14 @@ var T = /* @__PURE__ */ e({ default: () => P }), ye = ["id"], be = { role: "cell
|
|
|
88
86
|
}
|
|
89
87
|
]
|
|
90
88
|
});
|
|
91
|
-
let { userOptionsVisible:
|
|
92
|
-
function
|
|
89
|
+
let { userOptionsVisible: U, setUserOptionsVisibility: W, keepUserOptionState: G } = le({ config: V.value });
|
|
90
|
+
function K() {
|
|
93
91
|
let e = o({
|
|
94
92
|
userConfig: F.config,
|
|
95
|
-
defaultConfig:
|
|
93
|
+
defaultConfig: N
|
|
96
94
|
}), t = e.theme;
|
|
97
95
|
if (!t) return e;
|
|
98
|
-
if (!
|
|
96
|
+
if (!Se.value(e)) return P(e), e;
|
|
99
97
|
let n = o({
|
|
100
98
|
userConfig: ue[t] || F.config,
|
|
101
99
|
defaultConfig: e
|
|
@@ -106,24 +104,25 @@ var T = /* @__PURE__ */ e({ default: () => P }), ye = ["id"], be = { role: "cell
|
|
|
106
104
|
});
|
|
107
105
|
}
|
|
108
106
|
ve(() => F.config, (e) => {
|
|
109
|
-
V.value =
|
|
107
|
+
V.value = K(), U.value = !V.value.userOptions.showOnChartHover, Y();
|
|
110
108
|
}, { deep: !0 });
|
|
111
|
-
let { isPrinting: we, isImaging: Te, generatePdf:
|
|
109
|
+
let { isPrinting: we, isImaging: Te, generatePdf: q, generateImage: J } = oe({
|
|
112
110
|
elementId: `table_heatmap_${I.value}`,
|
|
113
111
|
fileName: "vue-ui-table-heatmap",
|
|
114
112
|
options: V.value.userOptions.print
|
|
115
|
-
}),
|
|
113
|
+
}), Ee = l(() => V.value.table.responsiveBreakpoint), De = l(() => !!F.dataset && F.dataset.length);
|
|
116
114
|
v(() => {
|
|
117
115
|
Y();
|
|
118
116
|
});
|
|
119
117
|
function Y() {
|
|
120
118
|
r(F.dataset) && te({
|
|
121
119
|
componentName: "VueUiTableHeatmap",
|
|
122
|
-
type: "dataset"
|
|
120
|
+
type: "dataset",
|
|
121
|
+
debug: H.value
|
|
123
122
|
});
|
|
124
123
|
let e = new ResizeObserver((e) => {
|
|
125
124
|
e.forEach((e) => {
|
|
126
|
-
L.value = e.contentRect.width <
|
|
125
|
+
L.value = e.contentRect.width < Ee.value;
|
|
127
126
|
});
|
|
128
127
|
});
|
|
129
128
|
R.value && e.observe(R.value);
|
|
@@ -150,14 +149,14 @@ var T = /* @__PURE__ */ e({ default: () => P }), ye = ["id"], be = { role: "cell
|
|
|
150
149
|
max: Math.max(...e)
|
|
151
150
|
};
|
|
152
151
|
});
|
|
153
|
-
function
|
|
152
|
+
function Oe(e, t) {
|
|
154
153
|
let n = V.value.style.heatmapColors.useIndividualScale;
|
|
155
154
|
return ne(V.value.style.heatmapColors.min, V.value.style.heatmapColors.max, n ? t.min : Z.value.min, n ? t.max : Z.value.max, e);
|
|
156
155
|
}
|
|
157
156
|
let Q = l(() => X.value.map((e) => ({
|
|
158
157
|
...e,
|
|
159
|
-
colors: e.displayValues.map((t) => isNaN(t) ? V.value.style.backgroundColor :
|
|
160
|
-
}))),
|
|
158
|
+
colors: e.displayValues.map((t) => isNaN(t) ? V.value.style.backgroundColor : Oe(t, e.serieExtremes))
|
|
159
|
+
}))), ke = l(() => V.value.style.backgroundColor), Ae = l(() => `${V.value.table.borderWidth}px`);
|
|
161
160
|
function $(e = null) {
|
|
162
161
|
he(() => {
|
|
163
162
|
let r = Q.value.map((e) => [
|
|
@@ -179,13 +178,13 @@ var T = /* @__PURE__ */ e({ default: () => P }), ye = ["id"], be = { role: "cell
|
|
|
179
178
|
});
|
|
180
179
|
});
|
|
181
180
|
}
|
|
182
|
-
function
|
|
181
|
+
function je(e) {
|
|
183
182
|
z.value = e, B.value += 1;
|
|
184
183
|
}
|
|
185
184
|
return s({
|
|
186
|
-
generatePdf:
|
|
185
|
+
generatePdf: q,
|
|
187
186
|
generateCsv: $,
|
|
188
|
-
generateImage:
|
|
187
|
+
generateImage: J
|
|
189
188
|
}), (e, t) => (y(), d("div", {
|
|
190
189
|
ref_key: "tableContainer",
|
|
191
190
|
ref: R,
|
|
@@ -195,10 +194,10 @@ var T = /* @__PURE__ */ e({ default: () => P }), ye = ["id"], be = { role: "cell
|
|
|
195
194
|
"vue-ui-responsive": L.value
|
|
196
195
|
}),
|
|
197
196
|
id: `table_heatmap_${I.value}`,
|
|
198
|
-
onMouseenter: t[0] ||= () => C(
|
|
199
|
-
onMouseleave: t[1] ||= () => C(
|
|
197
|
+
onMouseenter: t[0] ||= () => C(W)(!0),
|
|
198
|
+
onMouseleave: t[1] ||= () => C(W)(!1)
|
|
200
199
|
}, [
|
|
201
|
-
V.value.userOptions.show &&
|
|
200
|
+
V.value.userOptions.show && De.value && (C(G) || C(U)) ? (y(), de(C(T), {
|
|
202
201
|
ref: "details",
|
|
203
202
|
key: `user_option_${B.value}`,
|
|
204
203
|
backgroundColor: V.value.style.backgroundColor,
|
|
@@ -216,11 +215,11 @@ var T = /* @__PURE__ */ e({ default: () => P }), ye = ["id"], be = { role: "cell
|
|
|
216
215
|
position: V.value.userOptions.position,
|
|
217
216
|
callbacks: V.value.userOptions.callbacks,
|
|
218
217
|
printScale: V.value.userOptions.print.scale,
|
|
219
|
-
onToggleFullscreen:
|
|
220
|
-
onGeneratePdf: C(
|
|
218
|
+
onToggleFullscreen: je,
|
|
219
|
+
onGeneratePdf: C(q),
|
|
221
220
|
onGenerateCsv: $,
|
|
222
|
-
onGenerateImage: C(
|
|
223
|
-
style: _({ visibility: C(
|
|
221
|
+
onGenerateImage: C(J),
|
|
222
|
+
style: _({ visibility: C(G) ? C(U) ? "visible" : "hidden" : "visible" })
|
|
224
223
|
}, fe({ _: 2 }, [
|
|
225
224
|
e.$slots.menuIcon ? {
|
|
226
225
|
name: "menuIcon",
|
|
@@ -297,11 +296,11 @@ var T = /* @__PURE__ */ e({ default: () => P }), ye = ["id"], be = { role: "cell
|
|
|
297
296
|
type: typeof t,
|
|
298
297
|
isResponsive: L.value
|
|
299
298
|
}), void 0, !0)]))), 256))], 4)]),
|
|
300
|
-
f("tbody", null, [(y(!0), d(c, null, x(Q.value, (t, n) => (y(), d("tr",
|
|
299
|
+
f("tbody", null, [(y(!0), d(c, null, x(Q.value, (t, n) => (y(), d("tr", xe, [
|
|
301
300
|
(y(!0), d(c, null, x(t.displayValues, (r, i) => (y(), d("td", {
|
|
302
301
|
role: "cell",
|
|
303
302
|
"data-cell": V.value.table.head.values[i]
|
|
304
|
-
}, [t.color && i === 0 ? (y(), d("div",
|
|
303
|
+
}, [t.color && i === 0 ? (y(), d("div", D, [t.color ? (y(), d("svg", {
|
|
305
304
|
key: 0,
|
|
306
305
|
height: V.value.style.shapeSize,
|
|
307
306
|
width: V.value.style.shapeSize,
|
|
@@ -318,7 +317,7 @@ var T = /* @__PURE__ */ e({ default: () => P }), ye = ["id"], be = { role: "cell
|
|
|
318
317
|
color: t.color,
|
|
319
318
|
radius: 9,
|
|
320
319
|
shape: t.shape || "circle"
|
|
321
|
-
}, null, 8, ["color", "shape"])], 8,
|
|
320
|
+
}, null, 8, ["color", "shape"])], 8, O)) : u("", !0), S(e.$slots, "rowTitle", m({ ref_for: !0 }, {
|
|
322
321
|
value: r,
|
|
323
322
|
rowIndex: n,
|
|
324
323
|
colIndex: i,
|
|
@@ -338,27 +337,27 @@ var T = /* @__PURE__ */ e({ default: () => P }), ye = ["id"], be = { role: "cell
|
|
|
338
337
|
isResponsive: L.value,
|
|
339
338
|
color: t.colors[i],
|
|
340
339
|
textColor: C(ee)(t.colors[i])
|
|
341
|
-
}), void 0, !0, 1) : u("", !0)], 64))], 8,
|
|
342
|
-
V.value.table.showSum ? (y(), d("td",
|
|
340
|
+
}), void 0, !0, 1) : u("", !0)], 64))], 8, E))), 256)),
|
|
341
|
+
V.value.table.showSum ? (y(), d("td", k, [S(e.$slots, "sum", m({ ref_for: !0 }, {
|
|
343
342
|
value: t.sum,
|
|
344
343
|
rowIndex: n,
|
|
345
344
|
isResponsive: L.value
|
|
346
345
|
}), void 0, !0)])) : u("", !0),
|
|
347
|
-
V.value.table.showAverage ? (y(), d("td",
|
|
346
|
+
V.value.table.showAverage ? (y(), d("td", A, [S(e.$slots, "average", m({ ref_for: !0 }, {
|
|
348
347
|
value: t.average,
|
|
349
348
|
rowIndex: n,
|
|
350
349
|
isResponsive: L.value
|
|
351
350
|
}), void 0, !0)])) : u("", !0),
|
|
352
|
-
V.value.table.showMedian ? (y(), d("td",
|
|
351
|
+
V.value.table.showMedian ? (y(), d("td", j, [S(e.$slots, "median", m({ ref_for: !0 }, {
|
|
353
352
|
value: t.median,
|
|
354
353
|
rowIndex: n,
|
|
355
354
|
isResponsive: L.value
|
|
356
355
|
}), void 0, !0)])) : u("", !0)
|
|
357
356
|
]))), 256))])
|
|
358
357
|
], 4),
|
|
359
|
-
e.$slots.source ? (y(), d("div",
|
|
358
|
+
e.$slots.source ? (y(), d("div", M, [S(e.$slots, "source", {}, void 0, !0)], 512)) : u("", !0)
|
|
360
359
|
], 46, ye));
|
|
361
360
|
}
|
|
362
|
-
}, [["__scopeId", "data-v-
|
|
361
|
+
}, [["__scopeId", "data-v-38352ed2"]]);
|
|
363
362
|
//#endregion
|
|
364
|
-
export { T as n,
|
|
363
|
+
export { T as n, N as t };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
2
|
import { $ as t, D as n, Kt as r, Pt as i, S as a, X as o, i as ee, jt as te, m as ne, pt as re, q as ie, tt as ae, w as oe } from "./lib-Bttd6u5E.js";
|
|
3
3
|
import { n as se, t as ce } from "./useHints-Dq_w2E8B.js";
|
|
4
|
-
import { t as le } from "./useConfig-
|
|
4
|
+
import { t as le } from "./useConfig-DlNpz6P8.js";
|
|
5
5
|
import { t as ue } from "./usePrinter-DN5bYhTG.js";
|
|
6
6
|
import { t as s } from "./useNestedProp-vPNvh7rV.js";
|
|
7
7
|
import { t as de } from "./useThemeCheck-C43Tcqmk.js";
|
|
@@ -50,16 +50,14 @@ var Ee = /* @__PURE__ */ e({ default: () => T }), De = ["id"], Oe = { style: {
|
|
|
50
50
|
},
|
|
51
51
|
emits: ["copyAlt"],
|
|
52
52
|
setup(e, { expose: fe, emit: Ee }) {
|
|
53
|
-
Se((e) => ({
|
|
54
|
-
let T = m(() => import("./vue-ui-sparkline-
|
|
55
|
-
be(() => {
|
|
56
|
-
Ke["chart-background"] && console.warn("VueUiTableSparkline does not support the #chart-background slot.");
|
|
57
|
-
});
|
|
58
|
-
let j = l({
|
|
53
|
+
Se((e) => ({ v4821b9e9: e.tdo }));
|
|
54
|
+
let T = m(() => import("./vue-ui-sparkline-RbeYtLWp.js").then((e) => e.n)), E = m(() => import("./BaseIcon-BfndwIWE.js").then((e) => e.n)), Be = m(() => import("./UserOptions-Dt98of5H.js").then((e) => e.n)), { vue_ui_table_sparkline: Ve } = le(), { isThemeValid: He, warnInvalidTheme: Ue } = de(), D = e, We = Ee, O = y(ie()), Ge = y(0), k = y(0), A = y(null), Ke = Ce(), qe = y(!1), j = l({
|
|
59
55
|
get: () => Ze(),
|
|
60
56
|
set: (e) => e
|
|
61
57
|
});
|
|
62
|
-
|
|
58
|
+
be(() => {
|
|
59
|
+
Ke["chart-background"] && j.value.debug && console.warn("VueUiTableSparkline does not support the #chart-background slot.");
|
|
60
|
+
}), se({
|
|
63
61
|
config: () => j.value,
|
|
64
62
|
dataset: () => D.dataset,
|
|
65
63
|
component: "VueUiTableSparkline",
|
|
@@ -735,6 +733,6 @@ var Ee = /* @__PURE__ */ e({ default: () => T }), De = ["id"], Oe = { style: {
|
|
|
735
733
|
e.$slots.source ? (v(), d("div", ze, [x(e.$slots, "source", {}, void 0, !0)], 512)) : u("", !0)
|
|
736
734
|
], 42, De));
|
|
737
735
|
}
|
|
738
|
-
}, [["__scopeId", "data-v-
|
|
736
|
+
}, [["__scopeId", "data-v-004f0a63"]]);
|
|
739
737
|
//#endregion
|
|
740
738
|
export { Ee as n, T as t };
|