vue-data-ui 2.12.6 → 2.12.7-beta.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/{Arrow-Bd9ZVBnX.js → Arrow-CmqjRRUl.js} +1 -1
- package/dist/BaseDraggableDialog-BMlyvt7E.js +180 -0
- package/dist/{BaseIcon-CNbwMh_-.js → BaseIcon-CZdMutjs.js} +1 -1
- package/dist/{ColorPicker-B_FoQwtO.js → ColorPicker-DvVKgyAl.js} +23 -24
- package/dist/{DataTable-Rajdtaf6.js → DataTable-Cv9CIz-a.js} +11 -11
- package/dist/{Legend-BxtDQCIv.js → Legend-DFunFf8i.js} +8 -8
- package/dist/NonSvgPenAndPaper-pVuHj6_A.js +467 -0
- package/dist/PackageVersion-CLY-udAA.js +10 -0
- package/dist/{PenAndPaper-BkP3J-Ft.js → PenAndPaper-B9na2mbr.js} +8 -10
- package/dist/RecursiveCircles-Dn3TGoL6.js +96 -0
- package/dist/RecursiveLabels-NTMB9w5C.js +49 -0
- package/dist/RecursiveLinks-ld_gDZH4.js +64 -0
- package/dist/{Shape-C69a0f29.js → Shape-D3w9qas1.js} +2 -2
- package/dist/{Slicer-7qFdY-bT.js → Slicer-ncY8krrM.js} +2 -2
- package/dist/SparkTooltip-CwThutH2.js +68 -0
- package/dist/{Title-CzaCeCOm.js → Title-B5qqUI3M.js} +2 -2
- package/dist/Tooltip-C9rxJ-Ru.js +149 -0
- package/dist/{usePrinter-C5bLp34h.js → UserOptions-Ddy6CuLC.js} +172 -231
- package/dist/{dom-to-png-Bm0D0yPL.js → dom-to-png-DDlooC9r.js} +1 -1
- package/dist/{img-BN9AzqUr.js → img-m9g7lR5d.js} +1 -1
- package/dist/{index-BFzQMJda.js → index-BiHmNd1-.js} +21 -21
- package/dist/{pdf-uTbs813M.js → pdf-BqM953uL.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/useChartAccessibility-9icAAmYg.js +12 -0
- package/dist/useMouse-AicQS8Vf.js +13 -0
- package/dist/{useNestedProp-v7KPpwuP.js → useNestedProp-tRqS0ZAM.js} +1 -1
- package/dist/{usePanZoom-CUkkqW81.js → usePanZoom-BQMvRXEQ.js} +16 -17
- package/dist/usePrinter-CRCbl1WG.js +53 -0
- package/dist/vClickOutside-C6WiFswA.js +13 -0
- package/dist/{vue-data-ui-D1k8FeRp.js → vue-data-ui-D9uTDt73.js} +63 -63
- package/dist/vue-data-ui.js +19 -19
- package/dist/{vue-ui-3d-bar-DoklA4DT.js → vue-ui-3d-bar-rtuSc8FS.js} +397 -402
- package/dist/{vue-ui-accordion-BUz4JIIX.js → vue-ui-accordion-CmCs2yR2.js} +3 -3
- package/dist/{vue-ui-age-pyramid-4kyBq-Dy.js → vue-ui-age-pyramid-BrzMSiyu.js} +215 -218
- package/dist/{vue-ui-annotator-Bq1ZeFfb.js → vue-ui-annotator-CYxmTpf6.js} +2 -2
- package/dist/{vue-ui-bullet-DU10avvA.js → vue-ui-bullet-D25qNQfb.js} +137 -140
- package/dist/{vue-ui-candlestick-BI1t3flz.js → vue-ui-candlestick-BuerNa-r.js} +265 -271
- package/dist/{vue-ui-carousel-table-VowLf_oc.js → vue-ui-carousel-table-aN0HLsOO.js} +137 -137
- package/dist/{vue-ui-chestnut-BHjV3d94.js → vue-ui-chestnut-oUj2ocsZ.js} +397 -400
- package/dist/{vue-ui-chord-CPr7r-2_.js → vue-ui-chord-C4evlXYB.js} +356 -365
- package/dist/vue-ui-circle-pack-CWrNiKTY.js +656 -0
- package/dist/{vue-ui-cursor-C9teAbVI.js → vue-ui-cursor-DgpSttlt.js} +2 -2
- package/dist/{vue-ui-dashboard-CwDYB8tP.js → vue-ui-dashboard-BN2ha1Eh.js} +62 -62
- package/dist/{vue-ui-digits-CHmkL0hn.js → vue-ui-digits-BhjAxXgm.js} +2 -2
- package/dist/vue-ui-donut-D3_z61HI.js +1291 -0
- package/dist/vue-ui-donut-evolution-oKtmZPx4.js +864 -0
- package/dist/{vue-ui-dumbbell-DTKLLd1N.js → vue-ui-dumbbell-C8Lokx-F.js} +265 -270
- package/dist/{vue-ui-flow-BLBhsU2n.js → vue-ui-flow-BVRkH0PS.js} +291 -300
- package/dist/{vue-ui-funnel-CIrWdeBk.js → vue-ui-funnel-DFxcmAB5.js} +216 -219
- package/dist/{vue-ui-galaxy-ByhKyIV4.js → vue-ui-galaxy-CGE0hlBC.js} +227 -235
- package/dist/{vue-ui-gauge-BbfBMpng.js → vue-ui-gauge-B48eMvOR.js} +240 -243
- package/dist/{vue-ui-gizmo-BM-_QfHM.js → vue-ui-gizmo-zTKNpjvv.js} +57 -58
- package/dist/{vue-ui-heatmap-BA4z4hsw.js → vue-ui-heatmap-UNfTt8SM.js} +239 -242
- package/dist/{vue-ui-history-plot-8vM_IUy8.js → vue-ui-history-plot-CbCWmvtg.js} +257 -262
- package/dist/{vue-ui-kpi-D57QLK6A.js → vue-ui-kpi-Drf_lrlh.js} +29 -30
- package/dist/{vue-ui-mini-loader-CR4c-xJQ.js → vue-ui-mini-loader-DU3G6BVs.js} +2 -2
- package/dist/vue-ui-molecule-B5MOXYEA.js +580 -0
- package/dist/{vue-ui-mood-radar-Brc9cxoD.js → vue-ui-mood-radar-CC_CVLvn.js} +180 -186
- package/dist/{vue-ui-nested-donuts-W3Z5F--L.js → vue-ui-nested-donuts-D_H962kk.js} +366 -374
- package/dist/{vue-ui-onion-BNBlGNlF.js → vue-ui-onion-P8k6T724.js} +252 -258
- package/dist/{vue-ui-parallel-coordinate-plot-B5G3jyvg.js → vue-ui-parallel-coordinate-plot-B5Los0vX.js} +296 -303
- package/dist/{vue-ui-quadrant-CUy9mVIA.js → vue-ui-quadrant-B3wzCTxK.js} +402 -409
- package/dist/{vue-ui-quick-chart-D4_8mRXU.js → vue-ui-quick-chart-oucj6hXk.js} +611 -616
- package/dist/{vue-ui-radar-BUk56jGL.js → vue-ui-radar-Cjqlyu6d.js} +270 -277
- package/dist/{vue-ui-rating-B9TQl5KP.js → vue-ui-rating-gryk_h_6.js} +2 -2
- package/dist/vue-ui-relation-circle-ielvWC-1.js +525 -0
- package/dist/{vue-ui-ridgeline-Cl06bGom.js → vue-ui-ridgeline-Dydqo68b.js} +321 -326
- package/dist/{vue-ui-rings-B6bpFlFp.js → vue-ui-rings-BRBXektJ.js} +262 -269
- package/dist/{vue-ui-scatter--WUuVw5G.js → vue-ui-scatter-Df-BM7Ts.js} +372 -379
- package/dist/{vue-ui-skeleton-B_YI7Yuc.js → vue-ui-skeleton-CbYQYRvD.js} +19 -19
- package/dist/{vue-ui-smiley-Bbam2fDz.js → vue-ui-smiley-BfHaQMaW.js} +2 -2
- package/dist/{vue-ui-spark-trend-DavXuwGt.js → vue-ui-spark-trend-z3fUChs_.js} +114 -117
- package/dist/{vue-ui-sparkbar-9N1FU9-J.js → vue-ui-sparkbar-ChtFIugH.js} +104 -106
- package/dist/{vue-ui-sparkgauge-_9ntq4EK.js → vue-ui-sparkgauge-DtpODCww.js} +72 -74
- package/dist/{vue-ui-sparkhistogram-BEzOV4HV.js → vue-ui-sparkhistogram-C3XnYiXI.js} +83 -86
- package/dist/vue-ui-sparkline-CoL8jiX8.js +459 -0
- package/dist/{vue-ui-sparkstackbar-BSWcs3v0.js → vue-ui-sparkstackbar-CYk3mZJH.js} +102 -105
- package/dist/{vue-ui-stackbar-gG5BLlAr.js → vue-ui-stackbar-D9LGbuG5.js} +433 -437
- package/dist/{vue-ui-strip-plot-BJouRmxh.js → vue-ui-strip-plot-C5r1Ee2R.js} +245 -252
- package/dist/{vue-ui-table-D9Ry8s4N.js → vue-ui-table-DBaT_TfA.js} +3 -3
- package/dist/{vue-ui-table-heatmap-Bizzpi31.js → vue-ui-table-heatmap-CYW4YfKN.js} +93 -94
- package/dist/{vue-ui-table-sparkline-Dg54Ovs2.js → vue-ui-table-sparkline-Di0MYR4p.js} +212 -212
- package/dist/{vue-ui-thermometer-6MSdF_Gm.js → vue-ui-thermometer-BF1btHY2.js} +154 -157
- package/dist/{vue-ui-timer-ByaKokk8.js → vue-ui-timer-D9FfRWN5.js} +180 -181
- package/dist/vue-ui-tiremarks-CQ0lk8fJ.js +341 -0
- package/dist/vue-ui-treemap-1Lx7YRtc.js +947 -0
- package/dist/{vue-ui-vertical-bar-CE4oBwBv.js → vue-ui-vertical-bar-DdVVQ1ED.js} +397 -403
- package/dist/{vue-ui-waffle-DNEEnY_G.js → vue-ui-waffle-BhnuPiRD.js} +317 -324
- package/dist/vue-ui-wheel-BIjJ0fg8.js +335 -0
- package/dist/vue-ui-word-cloud-3-r8HwO_.js +642 -0
- package/dist/{vue-ui-world-Brhq17TE.js → vue-ui-world-CPIGEswq.js} +430 -442
- package/dist/{vue-ui-xy-K2G7QQxG.js → vue-ui-xy-9e_epIN4.js} +845 -846
- package/dist/vue-ui-xy-canvas-DcGgQ7s4.js +1206 -0
- package/package.json +6 -6
- package/dist/BaseDraggableDialog-Bzwlfmy1.js +0 -186
- package/dist/PackageVersion-BjrblLPQ.js +0 -10
- package/dist/Tooltip-CWmRmhJr.js +0 -158
- package/dist/useChartAccessibility-BWojgys7.js +0 -13
- package/dist/vue-ui-circle-pack-D_jYpsuD.js +0 -659
- package/dist/vue-ui-donut-WRUDvvZa.js +0 -1292
- package/dist/vue-ui-donut-evolution-BQxV5D_L.js +0 -871
- package/dist/vue-ui-molecule-Bq69N7rC.js +0 -782
- package/dist/vue-ui-relation-circle-T6aTibIU.js +0 -528
- package/dist/vue-ui-sparkline-D__GCUAz.js +0 -519
- package/dist/vue-ui-tiremarks-Z8pjUT1g.js +0 -344
- package/dist/vue-ui-treemap-pRJ3be5l.js +0 -956
- package/dist/vue-ui-wheel-DWPYZxdT.js +0 -338
- package/dist/vue-ui-word-cloud-DAR7R8F8.js +0 -648
- package/dist/vue-ui-xy-canvas-ml44sPHS.js +0 -1673
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import q from "./vue-ui-xy-
|
|
3
|
-
import Q from "./vue-ui-donut-
|
|
1
|
+
import { a4 as z, A as P, l as T, r as U, f as V, h as X, q as j, z as Y, d as W, G as J, u as K, p as Z } from "./index-BiHmNd1-.js";
|
|
2
|
+
import q from "./vue-ui-xy-9e_epIN4.js";
|
|
3
|
+
import Q from "./vue-ui-donut-D3_z61HI.js";
|
|
4
4
|
import { resolveComponent as x, createElementBlock as u, openBlock as c, normalizeStyle as g, createElementVNode as a, createCommentVNode as b, toDisplayString as d, Fragment as I, renderList as _, normalizeClass as p, createTextVNode as w, withDirectives as O, vModelText as S, withKeys as L, withModifiers as A, vModelSelect as $, createBlock as E, createVNode as ee } from "vue";
|
|
5
5
|
import { _ as te } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
6
6
|
const se = {
|
|
@@ -1,30 +1,29 @@
|
|
|
1
|
-
import { useCssVars as
|
|
2
|
-
import { u as
|
|
3
|
-
import { u as
|
|
4
|
-
import { u as
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
|
|
8
|
-
const _e = ["id"], Ie = { role: "cell" }, $e = { role: "row" }, we = ["data-cell"], Oe = {
|
|
1
|
+
import { useCssVars as se, computed as v, defineAsyncComponent as z, ref as h, useSlots as ne, onMounted as E, watch as le, createElementBlock as l, openBlock as n, unref as u, normalizeClass as G, normalizeStyle as C, createBlock as re, createCommentVNode as c, createElementVNode as g, createSlots as ue, withCtx as b, renderSlot as r, normalizeProps as B, guardReactiveProps as A, Fragment as k, renderList as w, mergeProps as f, createVNode as ie, nextTick as de } from "vue";
|
|
2
|
+
import { u as pe, c as H, a as ve, o as ce, e as me, a5 as fe, G as he, O as ge, q as be, r as ye } from "./index-BiHmNd1-.js";
|
|
3
|
+
import { u as D } from "./useNestedProp-tRqS0ZAM.js";
|
|
4
|
+
import { u as Ce } from "./usePrinter-CRCbl1WG.js";
|
|
5
|
+
import { u as ke } from "./useUserOptionState-BIvW1Kz7.js";
|
|
6
|
+
import { _ as Ie } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
7
|
+
const _e = ["id"], $e = { role: "cell" }, we = { role: "row" }, Oe = ["data-cell"], xe = {
|
|
9
8
|
key: 0,
|
|
10
9
|
style: { display: "flex", "flex-direction": "row", gap: "2px", "align-items": "center" }
|
|
11
|
-
},
|
|
10
|
+
}, Fe = ["height", "width"], Pe = {
|
|
12
11
|
key: 0,
|
|
13
12
|
role: "cell",
|
|
14
13
|
"data-cell": "sum"
|
|
15
|
-
},
|
|
14
|
+
}, Ne = {
|
|
16
15
|
key: 1,
|
|
17
16
|
role: "cell",
|
|
18
17
|
"data-cell": "average"
|
|
19
|
-
},
|
|
18
|
+
}, Ve = {
|
|
20
19
|
key: 2,
|
|
21
20
|
role: "cell",
|
|
22
21
|
"data-cell": "median"
|
|
23
|
-
},
|
|
22
|
+
}, Re = {
|
|
24
23
|
key: 1,
|
|
25
24
|
ref: "source",
|
|
26
25
|
dir: "auto"
|
|
27
|
-
},
|
|
26
|
+
}, Se = {
|
|
28
27
|
__name: "vue-ui-table-heatmap",
|
|
29
28
|
props: {
|
|
30
29
|
config: {
|
|
@@ -40,140 +39,140 @@ const _e = ["id"], Ie = { role: "cell" }, $e = { role: "row" }, we = ["data-cell
|
|
|
40
39
|
}
|
|
41
40
|
}
|
|
42
41
|
},
|
|
43
|
-
setup(
|
|
44
|
-
|
|
45
|
-
"
|
|
46
|
-
"
|
|
42
|
+
setup(L, { expose: X }) {
|
|
43
|
+
se((e) => ({
|
|
44
|
+
"253c0c88": oe.value,
|
|
45
|
+
"4e7d8ad2": te.value
|
|
47
46
|
}));
|
|
48
|
-
const { vue_ui_table_heatmap:
|
|
49
|
-
|
|
50
|
-
|
|
47
|
+
const W = z(() => import("./Shape-D3w9qas1.js")), q = z(() => import("./UserOptions-Ddy6CuLC.js")), { vue_ui_table_heatmap: J } = pe(), m = L, I = h(H()), i = h(!1), y = h(null), _ = h(!1), O = h(0), K = ne();
|
|
48
|
+
E(() => {
|
|
49
|
+
K["chart-background"] && console.warn("VueUiTableHeatmap does not support the #chart-background slot.");
|
|
51
50
|
});
|
|
52
51
|
const t = v({
|
|
53
52
|
get: () => P(),
|
|
54
53
|
set: (e) => e
|
|
55
|
-
}), { userOptionsVisible: $, setUserOptionsVisibility: x, keepUserOptionState: F } =
|
|
54
|
+
}), { userOptionsVisible: $, setUserOptionsVisibility: x, keepUserOptionState: F } = ke({ config: t.value });
|
|
56
55
|
function P() {
|
|
57
|
-
const e =
|
|
56
|
+
const e = D({
|
|
58
57
|
userConfig: m.config,
|
|
59
|
-
defaultConfig:
|
|
58
|
+
defaultConfig: J
|
|
60
59
|
});
|
|
61
60
|
return e.theme ? {
|
|
62
|
-
...
|
|
63
|
-
userConfig:
|
|
61
|
+
...D({
|
|
62
|
+
userConfig: ve.vue_ui_table_heatmap[e.theme] || m.config,
|
|
64
63
|
defaultConfig: e
|
|
65
64
|
})
|
|
66
65
|
} : e;
|
|
67
66
|
}
|
|
68
|
-
|
|
67
|
+
le(() => m.config, (e) => {
|
|
69
68
|
t.value = P(), $.value = !t.value.userOptions.showOnChartHover, R();
|
|
70
69
|
}, { deep: !0 });
|
|
71
|
-
const { isPrinting:
|
|
72
|
-
elementId: `table_heatmap_${
|
|
70
|
+
const { isPrinting: Q, isImaging: Y, generatePdf: N, generateImage: V } = Ce({
|
|
71
|
+
elementId: `table_heatmap_${I.value}`,
|
|
73
72
|
fileName: "vue-ui-table-heatmap",
|
|
74
73
|
options: t.value.userOptions.print
|
|
75
|
-
}),
|
|
76
|
-
|
|
74
|
+
}), Z = v(() => t.value.table.responsiveBreakpoint), j = v(() => !!m.dataset && m.dataset.length);
|
|
75
|
+
E(() => {
|
|
77
76
|
R();
|
|
78
77
|
});
|
|
79
78
|
function R() {
|
|
80
|
-
|
|
79
|
+
ce(m.dataset) && me({
|
|
81
80
|
componentName: "VueUiTableHeatmap",
|
|
82
81
|
type: "dataset"
|
|
83
82
|
});
|
|
84
|
-
const e = new ResizeObserver((
|
|
85
|
-
|
|
86
|
-
i.value =
|
|
83
|
+
const e = new ResizeObserver((a) => {
|
|
84
|
+
a.forEach((o) => {
|
|
85
|
+
i.value = o.contentRect.width < Z.value;
|
|
87
86
|
});
|
|
88
87
|
});
|
|
89
88
|
y.value && e.observe(y.value);
|
|
90
89
|
}
|
|
91
|
-
const
|
|
92
|
-
const
|
|
90
|
+
const S = v(() => m.dataset.map((e) => {
|
|
91
|
+
const a = e.values.map((s) => isNaN(s) ? 0 : s), o = a.reduce((s, p) => s + p, 0);
|
|
93
92
|
return {
|
|
94
93
|
...e,
|
|
95
|
-
values:
|
|
94
|
+
values: a,
|
|
96
95
|
serieExtremes: {
|
|
97
|
-
max: Math.max(...
|
|
98
|
-
min: Math.min(...
|
|
96
|
+
max: Math.max(...a),
|
|
97
|
+
min: Math.min(...a)
|
|
99
98
|
},
|
|
100
|
-
sum:
|
|
101
|
-
average:
|
|
102
|
-
median:
|
|
99
|
+
sum: o,
|
|
100
|
+
average: o / a.length,
|
|
101
|
+
median: fe(a),
|
|
103
102
|
displayValues: [e.name, ...e.values],
|
|
104
103
|
id: H()
|
|
105
104
|
};
|
|
106
|
-
})),
|
|
107
|
-
const e =
|
|
105
|
+
})), M = v(() => {
|
|
106
|
+
const e = S.value.flatMap((a) => a.values);
|
|
108
107
|
return {
|
|
109
108
|
min: Math.min(...e),
|
|
110
109
|
max: Math.max(...e)
|
|
111
110
|
};
|
|
112
111
|
});
|
|
113
|
-
function
|
|
114
|
-
const
|
|
115
|
-
return
|
|
112
|
+
function ee(e, a) {
|
|
113
|
+
const o = t.value.style.heatmapColors.useIndividualScale;
|
|
114
|
+
return ge(t.value.style.heatmapColors.min, t.value.style.heatmapColors.max, o ? a.min : M.value.min, o ? a.max : M.value.max, e);
|
|
116
115
|
}
|
|
117
|
-
const T = v(() =>
|
|
116
|
+
const T = v(() => S.value.map((e) => ({
|
|
118
117
|
...e,
|
|
119
|
-
colors: e.displayValues.map((
|
|
120
|
-
}))),
|
|
118
|
+
colors: e.displayValues.map((a) => isNaN(a) ? t.value.style.backgroundColor : ee(a, e.serieExtremes))
|
|
119
|
+
}))), te = v(() => t.value.style.backgroundColor), oe = v(() => `${t.value.table.borderWidth}px`);
|
|
121
120
|
function U() {
|
|
122
|
-
|
|
121
|
+
de(() => {
|
|
123
122
|
const e = T.value.map((s) => [
|
|
124
123
|
[s.name],
|
|
125
124
|
s.displayValues,
|
|
126
125
|
[s.sum],
|
|
127
126
|
[s.average],
|
|
128
127
|
[s.median]
|
|
129
|
-
]),
|
|
130
|
-
|
|
128
|
+
]), a = [[[""], t.value.table.head.values, ["sum"], ["average"], ["median"]]].concat(e), o = be(a);
|
|
129
|
+
ye({ csvContent: o, title: "vue-ui-table-heatmap" });
|
|
131
130
|
});
|
|
132
131
|
}
|
|
133
|
-
function
|
|
134
|
-
|
|
132
|
+
function ae(e) {
|
|
133
|
+
_.value = e, O.value += 1;
|
|
135
134
|
}
|
|
136
|
-
return
|
|
135
|
+
return X({
|
|
137
136
|
generatePdf: N,
|
|
138
137
|
generateCsv: U,
|
|
139
138
|
generateImage: V
|
|
140
|
-
}), (e,
|
|
139
|
+
}), (e, a) => (n(), l("div", {
|
|
141
140
|
ref_key: "tableContainer",
|
|
142
141
|
ref: y,
|
|
143
|
-
style: C(`width:100%; overflow-x:auto; container-type: inline-size;padding-top:${t.value.userOptions.show ? "36px" : ""}; ${
|
|
144
|
-
class:
|
|
145
|
-
id: `table_heatmap_${
|
|
146
|
-
onMouseenter:
|
|
147
|
-
onMouseleave:
|
|
142
|
+
style: C(`width:100%; overflow-x:auto; container-type: inline-size;padding-top:${t.value.userOptions.show ? "36px" : ""}; ${_.value ? "vue-data-ui-wrapper-fullscreen" : ""}; position:relative;`),
|
|
143
|
+
class: G({ "vue-ui-responsive": i.value }),
|
|
144
|
+
id: `table_heatmap_${I.value}`,
|
|
145
|
+
onMouseenter: a[0] || (a[0] = () => u(x)(!0)),
|
|
146
|
+
onMouseleave: a[1] || (a[1] = () => u(x)(!1))
|
|
148
147
|
}, [
|
|
149
|
-
t.value.userOptions.show &&
|
|
148
|
+
t.value.userOptions.show && j.value && (u(F) || u($)) ? (n(), re(u(q), {
|
|
150
149
|
ref: "details",
|
|
151
150
|
key: `user_option_${O.value}`,
|
|
152
151
|
backgroundColor: t.value.style.backgroundColor,
|
|
153
152
|
color: t.value.style.color,
|
|
154
|
-
isPrinting: u(
|
|
155
|
-
isImaging: u(
|
|
156
|
-
uid:
|
|
153
|
+
isPrinting: u(Q),
|
|
154
|
+
isImaging: u(Y),
|
|
155
|
+
uid: I.value,
|
|
157
156
|
hasPdf: t.value.userOptions.buttons.pdf,
|
|
158
157
|
hasXls: t.value.userOptions.buttons.csv,
|
|
159
158
|
hasImg: t.value.userOptions.buttons.img,
|
|
160
159
|
hasFullscreen: t.value.userOptions.buttons.fullscreen,
|
|
161
|
-
isFullscreen:
|
|
160
|
+
isFullscreen: _.value,
|
|
162
161
|
titles: { ...t.value.userOptions.buttonTitles },
|
|
163
162
|
chartElement: y.value,
|
|
164
163
|
position: t.value.userOptions.position,
|
|
165
|
-
onToggleFullscreen:
|
|
164
|
+
onToggleFullscreen: ae,
|
|
166
165
|
onGeneratePdf: u(N),
|
|
167
166
|
onGenerateCsv: U,
|
|
168
167
|
onGenerateImage: u(V),
|
|
169
168
|
style: C({
|
|
170
169
|
visibility: u(F) ? u($) ? "visible" : "hidden" : "visible"
|
|
171
170
|
})
|
|
172
|
-
},
|
|
171
|
+
}, ue({ _: 2 }, [
|
|
173
172
|
e.$slots.menuIcon ? {
|
|
174
173
|
name: "menuIcon",
|
|
175
|
-
fn: b(({ isOpen:
|
|
176
|
-
r(e.$slots, "menuIcon",
|
|
174
|
+
fn: b(({ isOpen: o, color: s }) => [
|
|
175
|
+
r(e.$slots, "menuIcon", B(A({ isOpen: o, color: s })), void 0, !0)
|
|
177
176
|
]),
|
|
178
177
|
key: "0"
|
|
179
178
|
} : void 0,
|
|
@@ -200,14 +199,14 @@ const _e = ["id"], Ie = { role: "cell" }, $e = { role: "row" }, we = ["data-cell
|
|
|
200
199
|
} : void 0,
|
|
201
200
|
e.$slots.optionFullscreen ? {
|
|
202
201
|
name: "optionFullscreen",
|
|
203
|
-
fn: b(({ toggleFullscreen:
|
|
204
|
-
r(e.$slots, "optionFullscreen",
|
|
202
|
+
fn: b(({ toggleFullscreen: o, isFullscreen: s }) => [
|
|
203
|
+
r(e.$slots, "optionFullscreen", B(A({ toggleFullscreen: o, isFullscreen: s })), void 0, !0)
|
|
205
204
|
]),
|
|
206
205
|
key: "4"
|
|
207
206
|
} : void 0
|
|
208
207
|
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasXls", "hasImg", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "onGeneratePdf", "onGenerateImage", "style"])) : c("", !0),
|
|
209
208
|
g("table", {
|
|
210
|
-
class:
|
|
209
|
+
class: G({ "vue-ui-table-heatmap": !0 }),
|
|
211
210
|
style: C(`width:100%;font-family:${t.value.style.fontFamily};background:${t.value.style.backgroundColor};`)
|
|
212
211
|
}, [
|
|
213
212
|
g("caption", null, [
|
|
@@ -218,32 +217,32 @@ const _e = ["id"], Ie = { role: "cell" }, $e = { role: "row" }, we = ["data-cell
|
|
|
218
217
|
role: "row",
|
|
219
218
|
style: C(`background:${t.value.table.head.backgroundColor};color:${t.value.table.head.color}`)
|
|
220
219
|
}, [
|
|
221
|
-
(n(!0), l(k, null, w(t.value.table.head.values, (
|
|
222
|
-
r(e.$slots, "head", f({ ref_for: !0 }, { value:
|
|
220
|
+
(n(!0), l(k, null, w(t.value.table.head.values, (o, s) => (n(), l("th", $e, [
|
|
221
|
+
r(e.$slots, "head", f({ ref_for: !0 }, { value: o, rowIndex: s, type: typeof o, isResponsive: i.value }), void 0, !0)
|
|
223
222
|
]))), 256))
|
|
224
223
|
], 4)
|
|
225
224
|
]),
|
|
226
225
|
g("tbody", null, [
|
|
227
|
-
(n(!0), l(k, null, w(T.value, (
|
|
228
|
-
(n(!0), l(k, null, w(
|
|
226
|
+
(n(!0), l(k, null, w(T.value, (o, s) => (n(), l("tr", we, [
|
|
227
|
+
(n(!0), l(k, null, w(o.displayValues, (p, d) => (n(), l("td", {
|
|
229
228
|
role: "cell",
|
|
230
229
|
"data-cell": t.value.table.head.values[d]
|
|
231
230
|
}, [
|
|
232
|
-
|
|
233
|
-
|
|
231
|
+
o.color && d === 0 ? (n(), l("div", xe, [
|
|
232
|
+
o.color ? (n(), l("svg", {
|
|
234
233
|
key: 0,
|
|
235
234
|
height: t.value.style.shapeSize,
|
|
236
235
|
width: t.value.style.shapeSize,
|
|
237
236
|
viewBox: "0 0 20 20",
|
|
238
237
|
style: { background: "none", overflow: "visible" }
|
|
239
238
|
}, [
|
|
240
|
-
|
|
239
|
+
ie(u(W), {
|
|
241
240
|
plot: { x: 10, y: 10 },
|
|
242
|
-
color:
|
|
241
|
+
color: o.color,
|
|
243
242
|
radius: 9,
|
|
244
|
-
shape:
|
|
243
|
+
shape: o.shape || "circle"
|
|
245
244
|
}, null, 8, ["color", "shape"])
|
|
246
|
-
], 8,
|
|
245
|
+
], 8, Fe)) : c("", !0),
|
|
247
246
|
r(e.$slots, "rowTitle", f({ ref_for: !0 }, { value: p, rowIndex: s, colIndex: d, type: typeof p, isResponsive: i.value }), void 0, !0)
|
|
248
247
|
])) : (n(), l(k, { key: 1 }, [
|
|
249
248
|
d === 0 ? r(e.$slots, "rowTitle", f({
|
|
@@ -253,27 +252,27 @@ const _e = ["id"], Ie = { role: "cell" }, $e = { role: "row" }, we = ["data-cell
|
|
|
253
252
|
d > 0 ? r(e.$slots, "cell", f({
|
|
254
253
|
key: 1,
|
|
255
254
|
ref_for: !0
|
|
256
|
-
}, { value: p, rowIndex: s, colIndex: d, type: typeof p, isResponsive: i.value, color:
|
|
255
|
+
}, { value: p, rowIndex: s, colIndex: d, type: typeof p, isResponsive: i.value, color: o.colors[d], textColor: u(he)(o.colors[d]) }), void 0, !0) : c("", !0)
|
|
257
256
|
], 64))
|
|
258
|
-
], 8,
|
|
259
|
-
t.value.table.showSum ? (n(), l("td",
|
|
260
|
-
r(e.$slots, "sum", f({ ref_for: !0 }, { value:
|
|
257
|
+
], 8, Oe))), 256)),
|
|
258
|
+
t.value.table.showSum ? (n(), l("td", Pe, [
|
|
259
|
+
r(e.$slots, "sum", f({ ref_for: !0 }, { value: o.sum, rowIndex: s, isResponsive: i.value }), void 0, !0)
|
|
261
260
|
])) : c("", !0),
|
|
262
|
-
t.value.table.showAverage ? (n(), l("td",
|
|
263
|
-
r(e.$slots, "average", f({ ref_for: !0 }, { value:
|
|
261
|
+
t.value.table.showAverage ? (n(), l("td", Ne, [
|
|
262
|
+
r(e.$slots, "average", f({ ref_for: !0 }, { value: o.average, rowIndex: s, isResponsive: i.value }), void 0, !0)
|
|
264
263
|
])) : c("", !0),
|
|
265
|
-
t.value.table.showMedian ? (n(), l("td",
|
|
266
|
-
r(e.$slots, "median", f({ ref_for: !0 }, { value:
|
|
264
|
+
t.value.table.showMedian ? (n(), l("td", Ve, [
|
|
265
|
+
r(e.$slots, "median", f({ ref_for: !0 }, { value: o.median, rowIndex: s, isResponsive: i.value }), void 0, !0)
|
|
267
266
|
])) : c("", !0)
|
|
268
267
|
]))), 256))
|
|
269
268
|
])
|
|
270
269
|
], 4),
|
|
271
|
-
e.$slots.source ? (n(), l("div",
|
|
270
|
+
e.$slots.source ? (n(), l("div", Re, [
|
|
272
271
|
r(e.$slots, "source", {}, void 0, !0)
|
|
273
272
|
], 512)) : c("", !0)
|
|
274
273
|
], 46, _e));
|
|
275
274
|
}
|
|
276
|
-
}, Be = /* @__PURE__ */
|
|
275
|
+
}, Be = /* @__PURE__ */ Ie(Se, [["__scopeId", "data-v-4276aa7b"]]);
|
|
277
276
|
export {
|
|
278
277
|
Be as default
|
|
279
278
|
};
|