vue-data-ui 2.12.8-beta.2 → 2.12.8-beta.4
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/README.md +21 -0
- package/dist/{Arrow-HbfibAF0.js → Arrow-XoY1VXNf.js} +1 -1
- package/dist/{BaseDraggableDialog-DGrErCX-.js → BaseDraggableDialog-CXe0WfN-.js} +2 -2
- package/dist/{BaseIcon-j0c6lJUs.js → BaseIcon-d4dmqhkb.js} +1 -1
- package/dist/{ColorPicker-DitXXl-H.js → ColorPicker-B3v0IhDO.js} +2 -2
- package/dist/{DataTable-CsoAI95B.js → DataTable-CmbjnjRg.js} +2 -2
- package/dist/{Legend-ZW-PFcHg.js → Legend-YPYnzTBz.js} +2 -2
- package/dist/{NonSvgPenAndPaper-DJTUaQ94.js → NonSvgPenAndPaper-SD-bH_GI.js} +3 -3
- package/dist/{PackageVersion-DCAZ9Z7V.js → PackageVersion-OcbP0WH2.js} +1 -1
- package/dist/{PenAndPaper-B9RP4oFj.js → PenAndPaper-BgPXmpGI.js} +3 -3
- package/dist/{Shape-BBbhObHC.js → Shape-WvXjwML_.js} +1 -1
- package/dist/{Slicer-Vh74fjdf.js → Slicer-CaMHCF_p.js} +2 -2
- package/dist/{SparkTooltip-CG-HMbX2.js → SparkTooltip-BTLad6y3.js} +1 -1
- package/dist/{Title-Dx8ctnVy.js → Title-CJcZXNtK.js} +1 -1
- package/dist/{Tooltip-COHlzpZI.js → Tooltip-dXp8FaUj.js} +1 -1
- package/dist/{UserOptions-CGn3YdRV.js → UserOptions-Cs7JW3dK.js} +154 -138
- package/dist/dom-to-png-DGfv21rX.js +247 -0
- package/dist/img-fdViJw1e.js +20 -0
- package/dist/{index-CbcpITE_.js → index-BzQ0j5xI.js} +190 -128
- package/dist/{pdf-Cy09nTjn.js → pdf-Bj65uPK-.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +60 -1
- package/dist/types/vue-data-ui.d.ts +60 -1
- package/dist/{useNestedProp-y56W8I7J.js → useNestedProp-DqpZEE3h.js} +1 -1
- package/dist/{usePrinter-u-gQiRNz.js → usePrinter-CpG5jh_z.js} +2 -2
- package/dist/{vue-data-ui-DGmMT-Yp.js → vue-data-ui-CeIncf6V.js} +63 -63
- package/dist/vue-data-ui.js +1 -1
- package/dist/{vue-ui-3d-bar-Du4TkjPV.js → vue-ui-3d-bar-fAJK0nIB.js} +175 -174
- package/dist/{vue-ui-accordion-BkA7rtwr.js → vue-ui-accordion-bpaEpjqI.js} +3 -3
- package/dist/{vue-ui-age-pyramid-bw7gLRlR.js → vue-ui-age-pyramid-D5w5EqmV.js} +200 -199
- package/dist/{vue-ui-annotator-C-_zXB7H.js → vue-ui-annotator-CSGemK-O.js} +2 -2
- package/dist/{vue-ui-bullet-BRnz7E8e.js → vue-ui-bullet-FPBahjOr.js} +9 -8
- package/dist/{vue-ui-candlestick-9cPPnO0t.js → vue-ui-candlestick-BpP9MQC2.js} +115 -114
- package/dist/{vue-ui-carousel-table-BJuSGbk2.js → vue-ui-carousel-table-lpdLFAfT.js} +80 -79
- package/dist/{vue-ui-chestnut-D2dnrdHT.js → vue-ui-chestnut-D5um0tmC.js} +453 -452
- package/dist/{vue-ui-chord-Rvygj27H.js → vue-ui-chord-CgrXXOgv.js} +43 -42
- package/dist/{vue-ui-circle-pack-BR79EDAC.js → vue-ui-circle-pack-Jk-Yd8T_.js} +143 -142
- package/dist/{vue-ui-cursor-K11x9TYc.js → vue-ui-cursor-BjmAMjTd.js} +2 -2
- package/dist/{vue-ui-dashboard-BgxqXwqN.js → vue-ui-dashboard-CQ0B1DMq.js} +62 -62
- package/dist/{vue-ui-digits-D7StMUym.js → vue-ui-digits-B3h4BufU.js} +2 -2
- package/dist/{vue-ui-donut-CyOg8kph.js → vue-ui-donut-DcjJqRof.js} +151 -150
- package/dist/{vue-ui-donut-evolution-CVhQaMNQ.js → vue-ui-donut-evolution-DmSbXlMu.js} +111 -110
- package/dist/{vue-ui-dumbbell-C7Wex4VO.js → vue-ui-dumbbell-BLcmTUd_.js} +54 -53
- package/dist/{vue-ui-flow-DFNdP-V9.js → vue-ui-flow-BmIGl6DC.js} +14 -13
- package/dist/{vue-ui-funnel-DqWcZVvF.js → vue-ui-funnel-BJfxaSQC.js} +75 -74
- package/dist/{vue-ui-galaxy-BhPbJqYr.js → vue-ui-galaxy-Cpnr2YW-.js} +84 -83
- package/dist/{vue-ui-gauge-sP6YPTJH.js → vue-ui-gauge-BhPFNziU.js} +33 -32
- package/dist/{vue-ui-gizmo-B4fq_bGX.js → vue-ui-gizmo-B2wA-kmz.js} +3 -3
- package/dist/{vue-ui-heatmap-CpNjtuyD.js → vue-ui-heatmap-CpwNMx3i.js} +222 -221
- package/dist/{vue-ui-history-plot-CtgTg4fG.js → vue-ui-history-plot-DpxHqDZw.js} +234 -233
- package/dist/{vue-ui-kpi-CN2AE1VF.js → vue-ui-kpi-CvqXwiiE.js} +3 -3
- package/dist/{vue-ui-mini-loader-CYt8LlhO.js → vue-ui-mini-loader-DIjSfc7L.js} +2 -2
- package/dist/{vue-ui-molecule-D3kexAu_.js → vue-ui-molecule-3-vg0Re6.js} +44 -43
- package/dist/{vue-ui-mood-radar-hHqR8eS7.js → vue-ui-mood-radar-B7W7wGkW.js} +76 -75
- package/dist/{vue-ui-nested-donuts-DXwaOA_n.js → vue-ui-nested-donuts-ByoeDL-3.js} +53 -52
- package/dist/{vue-ui-onion-C7R2R5tf.js → vue-ui-onion-CNVwf4QX.js} +72 -71
- package/dist/{vue-ui-parallel-coordinate-plot-Dh772r8W.js → vue-ui-parallel-coordinate-plot-C0KJrBX8.js} +13 -12
- package/dist/{vue-ui-quadrant-jrOesLSU.js → vue-ui-quadrant-C-wPn5l5.js} +13 -12
- package/dist/{vue-ui-quick-chart-CtLnhGZA.js → vue-ui-quick-chart-SV-m_FhA.js} +8 -7
- package/dist/{vue-ui-radar-BikYRjfw.js → vue-ui-radar-DqOzvLUy.js} +283 -282
- package/dist/{vue-ui-rating-DUYbT-Ve.js → vue-ui-rating-CsZXcINB.js} +2 -2
- package/dist/{vue-ui-relation-circle-CjnDrflp.js → vue-ui-relation-circle-B0zxq02O.js} +75 -74
- package/dist/{vue-ui-ridgeline-o7-RpeJx.js → vue-ui-ridgeline-CykFyAin.js} +102 -101
- package/dist/{vue-ui-rings-Dinj5ws1.js → vue-ui-rings-DoJwXgd3.js} +110 -109
- package/dist/{vue-ui-scatter-CODAsxBq.js → vue-ui-scatter-BTT3BYrI.js} +166 -165
- package/dist/{vue-ui-skeleton-miKWlCAi.js → vue-ui-skeleton-CavMQlAm.js} +3 -3
- package/dist/{vue-ui-smiley-DwqlNm1O.js → vue-ui-smiley-DdT6TBz8.js} +2 -2
- package/dist/{vue-ui-spark-trend-BjL35phT.js → vue-ui-spark-trend-D9q63V2-.js} +3 -3
- package/dist/{vue-ui-sparkbar-2o2ZLL50.js → vue-ui-sparkbar-DCS_f__b.js} +3 -3
- package/dist/{vue-ui-sparkgauge-CMlBpOcc.js → vue-ui-sparkgauge-CGDjBHjo.js} +3 -3
- package/dist/{vue-ui-sparkhistogram-C7Ue-aaI.js → vue-ui-sparkhistogram-Ctpm0106.js} +4 -4
- package/dist/{vue-ui-sparkline-w29yzdZG.js → vue-ui-sparkline-BVyjNK_A.js} +3 -3
- package/dist/{vue-ui-sparkstackbar-DbIxY7W3.js → vue-ui-sparkstackbar-BsNDucJO.js} +3 -3
- package/dist/{vue-ui-stackbar-CWqpeYW-.js → vue-ui-stackbar-DuGcJQ6F.js} +39 -38
- package/dist/{vue-ui-strip-plot-DyjQVaDX.js → vue-ui-strip-plot-C6vbloAI.js} +82 -81
- package/dist/{vue-ui-table-Bx82XIlz.js → vue-ui-table-Bb6pNaIM.js} +3 -3
- package/dist/{vue-ui-table-heatmap-RvSyx9L6.js → vue-ui-table-heatmap-_ypWL_z2.js} +77 -76
- package/dist/{vue-ui-table-sparkline-DebvtEV3.js → vue-ui-table-sparkline-_pPedR_D.js} +74 -73
- package/dist/{vue-ui-thermometer-yPKRIlqA.js → vue-ui-thermometer-CmLnTIU7.js} +22 -21
- package/dist/{vue-ui-timer-C15nOU7T.js → vue-ui-timer-CpAJT80M.js} +5 -5
- package/dist/{vue-ui-tiremarks-C2G8HtiX.js → vue-ui-tiremarks-DXgmJClr.js} +38 -37
- package/dist/{vue-ui-treemap-cFhw0xSg.js → vue-ui-treemap-Ci2Yi9Gh.js} +109 -108
- package/dist/{vue-ui-vertical-bar-dWiOw4sV.js → vue-ui-vertical-bar-pn_EqFmU.js} +82 -81
- package/dist/{vue-ui-waffle-Uldnmn6D.js → vue-ui-waffle-vqh1kEDT.js} +33 -32
- package/dist/{vue-ui-wheel-Cz79iDLO.js → vue-ui-wheel-BCcK6wwZ.js} +8 -7
- package/dist/{vue-ui-word-cloud-BGeHV6hS.js → vue-ui-word-cloud-Bu8Giu0b.js} +110 -109
- package/dist/{vue-ui-world-D1Dy-4mh.js → vue-ui-world-CzRlg19V.js} +57 -56
- package/dist/{vue-ui-xy-BA7xWU7_.js → vue-ui-xy-0gHPOOwZ.js} +982 -856
- package/dist/{vue-ui-xy-canvas-B2kkKb64.js → vue-ui-xy-canvas-DuAgXbBB.js} +41 -40
- package/package.json +1 -1
- package/dist/dom-to-png-BjSUS-jY.js +0 -243
- package/dist/img-DWfzRJdv.js +0 -19
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { useCssVars as
|
|
2
|
-
import { u as de, c as A, a as pe, o as ce, e as ve, a5 as me, G as fe, O as he, q as ge, r as be } from "./index-
|
|
3
|
-
import { u as H } from "./useNestedProp-
|
|
4
|
-
import { u as ye } from "./usePrinter-
|
|
1
|
+
import { useCssVars as ae, computed as c, defineAsyncComponent as oe, ref as h, useSlots as se, onMounted as z, watch as ne, createElementBlock as r, openBlock as n, unref as i, normalizeClass as E, normalizeStyle as C, createBlock as le, createCommentVNode as v, createElementVNode as g, createSlots as re, withCtx as b, renderSlot as u, normalizeProps as G, guardReactiveProps as B, Fragment as k, renderList as w, mergeProps as f, createVNode as ue, nextTick as ie } from "vue";
|
|
2
|
+
import { u as de, c as A, a as pe, o as ce, e as ve, a5 as me, G as fe, O as he, q as ge, r as be } from "./index-BzQ0j5xI.js";
|
|
3
|
+
import { u as H } from "./useNestedProp-DqpZEE3h.js";
|
|
4
|
+
import { u as ye } from "./usePrinter-CpG5jh_z.js";
|
|
5
5
|
import { u as Ce } from "./useUserOptionState-BIvW1Kz7.js";
|
|
6
|
-
import { _ as ke } from "./Shape-
|
|
6
|
+
import { _ as ke } from "./Shape-WvXjwML_.js";
|
|
7
7
|
import { _ as _e } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
8
8
|
const Ie = ["id"], $e = { role: "cell" }, we = { role: "row" }, Oe = ["data-cell"], xe = {
|
|
9
9
|
key: 0,
|
|
@@ -41,11 +41,11 @@ const Ie = ["id"], $e = { role: "cell" }, we = { role: "row" }, Oe = ["data-cell
|
|
|
41
41
|
}
|
|
42
42
|
},
|
|
43
43
|
setup(D, { expose: L }) {
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
"
|
|
44
|
+
ae((e) => ({
|
|
45
|
+
"6b4a429e": ee.value,
|
|
46
|
+
"14249d0c": j.value
|
|
47
47
|
}));
|
|
48
|
-
const X =
|
|
48
|
+
const X = oe(() => import("./UserOptions-Cs7JW3dK.js")), { vue_ui_table_heatmap: W } = de(), m = D, _ = h(A()), d = h(!1), y = h(null), I = h(!1), O = h(0), q = se();
|
|
49
49
|
z(() => {
|
|
50
50
|
q["chart-background"] && console.warn("VueUiTableHeatmap does not support the #chart-background slot.");
|
|
51
51
|
});
|
|
@@ -81,53 +81,53 @@ const Ie = ["id"], $e = { role: "cell" }, we = { role: "row" }, Oe = ["data-cell
|
|
|
81
81
|
componentName: "VueUiTableHeatmap",
|
|
82
82
|
type: "dataset"
|
|
83
83
|
});
|
|
84
|
-
const e = new ResizeObserver((
|
|
85
|
-
|
|
86
|
-
|
|
84
|
+
const e = new ResizeObserver((o) => {
|
|
85
|
+
o.forEach((a) => {
|
|
86
|
+
d.value = a.contentRect.width < Q.value;
|
|
87
87
|
});
|
|
88
88
|
});
|
|
89
89
|
y.value && e.observe(y.value);
|
|
90
90
|
}
|
|
91
91
|
const M = c(() => m.dataset.map((e) => {
|
|
92
|
-
const
|
|
92
|
+
const o = e.values.map((s) => isNaN(s) ? 0 : s), a = o.reduce((s, l) => s + l, 0);
|
|
93
93
|
return {
|
|
94
94
|
...e,
|
|
95
|
-
values:
|
|
95
|
+
values: o,
|
|
96
96
|
serieExtremes: {
|
|
97
|
-
max: Math.max(...
|
|
98
|
-
min: Math.min(...
|
|
97
|
+
max: Math.max(...o),
|
|
98
|
+
min: Math.min(...o)
|
|
99
99
|
},
|
|
100
|
-
sum:
|
|
101
|
-
average:
|
|
102
|
-
median: me(
|
|
100
|
+
sum: a,
|
|
101
|
+
average: a / o.length,
|
|
102
|
+
median: me(o),
|
|
103
103
|
displayValues: [e.name, ...e.values],
|
|
104
104
|
id: A()
|
|
105
105
|
};
|
|
106
106
|
})), S = c(() => {
|
|
107
|
-
const e = M.value.flatMap((
|
|
107
|
+
const e = M.value.flatMap((o) => o.values);
|
|
108
108
|
return {
|
|
109
109
|
min: Math.min(...e),
|
|
110
110
|
max: Math.max(...e)
|
|
111
111
|
};
|
|
112
112
|
});
|
|
113
|
-
function Z(e,
|
|
114
|
-
const
|
|
115
|
-
return he(t.value.style.heatmapColors.min, t.value.style.heatmapColors.max,
|
|
113
|
+
function Z(e, o) {
|
|
114
|
+
const a = t.value.style.heatmapColors.useIndividualScale;
|
|
115
|
+
return he(t.value.style.heatmapColors.min, t.value.style.heatmapColors.max, a ? o.min : S.value.min, a ? o.max : S.value.max, e);
|
|
116
116
|
}
|
|
117
117
|
const T = c(() => M.value.map((e) => ({
|
|
118
118
|
...e,
|
|
119
|
-
colors: e.displayValues.map((
|
|
119
|
+
colors: e.displayValues.map((o) => isNaN(o) ? t.value.style.backgroundColor : Z(o, e.serieExtremes))
|
|
120
120
|
}))), j = c(() => t.value.style.backgroundColor), ee = c(() => `${t.value.table.borderWidth}px`);
|
|
121
|
-
function U() {
|
|
121
|
+
function U(e = null) {
|
|
122
122
|
ie(() => {
|
|
123
|
-
const
|
|
124
|
-
[
|
|
125
|
-
|
|
126
|
-
[
|
|
127
|
-
[
|
|
128
|
-
[
|
|
129
|
-
]), a = [[[""], t.value.table.head.values, ["sum"], ["average"], ["median"]]].concat(
|
|
130
|
-
be({ csvContent:
|
|
123
|
+
const o = T.value.map((l) => [
|
|
124
|
+
[l.name],
|
|
125
|
+
l.displayValues,
|
|
126
|
+
[l.sum],
|
|
127
|
+
[l.average],
|
|
128
|
+
[l.median]
|
|
129
|
+
]), a = [[[""], t.value.table.head.values, ["sum"], ["average"], ["median"]]].concat(o), s = ge(a);
|
|
130
|
+
e ? e(s) : be({ csvContent: s, title: "vue-ui-table-heatmap" });
|
|
131
131
|
});
|
|
132
132
|
}
|
|
133
133
|
function te(e) {
|
|
@@ -137,22 +137,22 @@ const Ie = ["id"], $e = { role: "cell" }, we = { role: "row" }, Oe = ["data-cell
|
|
|
137
137
|
generatePdf: N,
|
|
138
138
|
generateCsv: U,
|
|
139
139
|
generateImage: V
|
|
140
|
-
}), (e,
|
|
140
|
+
}), (e, o) => (n(), r("div", {
|
|
141
141
|
ref_key: "tableContainer",
|
|
142
142
|
ref: y,
|
|
143
143
|
style: C(`width:100%; overflow-x:auto; container-type: inline-size;padding-top:${t.value.userOptions.show ? "36px" : ""}; ${I.value ? "vue-data-ui-wrapper-fullscreen" : ""}; position:relative;`),
|
|
144
|
-
class: E({ "vue-ui-responsive":
|
|
144
|
+
class: E({ "vue-ui-responsive": d.value }),
|
|
145
145
|
id: `table_heatmap_${_.value}`,
|
|
146
|
-
onMouseenter:
|
|
147
|
-
onMouseleave:
|
|
146
|
+
onMouseenter: o[0] || (o[0] = () => i(x)(!0)),
|
|
147
|
+
onMouseleave: o[1] || (o[1] = () => i(x)(!1))
|
|
148
148
|
}, [
|
|
149
|
-
t.value.userOptions.show && Y.value && (
|
|
149
|
+
t.value.userOptions.show && Y.value && (i(F) || i($)) ? (n(), le(i(X), {
|
|
150
150
|
ref: "details",
|
|
151
151
|
key: `user_option_${O.value}`,
|
|
152
152
|
backgroundColor: t.value.style.backgroundColor,
|
|
153
153
|
color: t.value.style.color,
|
|
154
|
-
isPrinting:
|
|
155
|
-
isImaging:
|
|
154
|
+
isPrinting: i(J),
|
|
155
|
+
isImaging: i(K),
|
|
156
156
|
uid: _.value,
|
|
157
157
|
hasPdf: t.value.userOptions.buttons.pdf,
|
|
158
158
|
hasXls: t.value.userOptions.buttons.csv,
|
|
@@ -162,75 +162,76 @@ const Ie = ["id"], $e = { role: "cell" }, we = { role: "row" }, Oe = ["data-cell
|
|
|
162
162
|
titles: { ...t.value.userOptions.buttonTitles },
|
|
163
163
|
chartElement: y.value,
|
|
164
164
|
position: t.value.userOptions.position,
|
|
165
|
+
callbacks: t.value.userOptions.callbacks,
|
|
165
166
|
onToggleFullscreen: te,
|
|
166
|
-
onGeneratePdf:
|
|
167
|
+
onGeneratePdf: i(N),
|
|
167
168
|
onGenerateCsv: U,
|
|
168
|
-
onGenerateImage:
|
|
169
|
+
onGenerateImage: i(V),
|
|
169
170
|
style: C({
|
|
170
|
-
visibility:
|
|
171
|
+
visibility: i(F) ? i($) ? "visible" : "hidden" : "visible"
|
|
171
172
|
})
|
|
172
173
|
}, re({ _: 2 }, [
|
|
173
174
|
e.$slots.menuIcon ? {
|
|
174
175
|
name: "menuIcon",
|
|
175
|
-
fn: b(({ isOpen:
|
|
176
|
-
|
|
176
|
+
fn: b(({ isOpen: a, color: s }) => [
|
|
177
|
+
u(e.$slots, "menuIcon", G(B({ isOpen: a, color: s })), void 0, !0)
|
|
177
178
|
]),
|
|
178
179
|
key: "0"
|
|
179
180
|
} : void 0,
|
|
180
181
|
e.$slots.optionPdf ? {
|
|
181
182
|
name: "optionPdf",
|
|
182
183
|
fn: b(() => [
|
|
183
|
-
|
|
184
|
+
u(e.$slots, "optionPdf", {}, void 0, !0)
|
|
184
185
|
]),
|
|
185
186
|
key: "1"
|
|
186
187
|
} : void 0,
|
|
187
188
|
e.$slots.optionCsv ? {
|
|
188
189
|
name: "optionCsv",
|
|
189
190
|
fn: b(() => [
|
|
190
|
-
|
|
191
|
+
u(e.$slots, "optionCsv", {}, void 0, !0)
|
|
191
192
|
]),
|
|
192
193
|
key: "2"
|
|
193
194
|
} : void 0,
|
|
194
195
|
e.$slots.optionImg ? {
|
|
195
196
|
name: "optionImg",
|
|
196
197
|
fn: b(() => [
|
|
197
|
-
|
|
198
|
+
u(e.$slots, "optionImg", {}, void 0, !0)
|
|
198
199
|
]),
|
|
199
200
|
key: "3"
|
|
200
201
|
} : void 0,
|
|
201
202
|
e.$slots.optionFullscreen ? {
|
|
202
203
|
name: "optionFullscreen",
|
|
203
|
-
fn: b(({ toggleFullscreen:
|
|
204
|
-
|
|
204
|
+
fn: b(({ toggleFullscreen: a, isFullscreen: s }) => [
|
|
205
|
+
u(e.$slots, "optionFullscreen", G(B({ toggleFullscreen: a, isFullscreen: s })), void 0, !0)
|
|
205
206
|
]),
|
|
206
207
|
key: "4"
|
|
207
208
|
} : void 0
|
|
208
|
-
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasXls", "hasImg", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "onGeneratePdf", "onGenerateImage", "style"])) : v("", !0),
|
|
209
|
+
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasXls", "hasImg", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "callbacks", "onGeneratePdf", "onGenerateImage", "style"])) : v("", !0),
|
|
209
210
|
g("table", {
|
|
210
211
|
class: E({ "vue-ui-table-heatmap": !0 }),
|
|
211
212
|
style: C(`width:100%;font-family:${t.value.style.fontFamily};background:${t.value.style.backgroundColor};`)
|
|
212
213
|
}, [
|
|
213
214
|
g("caption", null, [
|
|
214
|
-
|
|
215
|
+
u(e.$slots, "caption", {}, void 0, !0)
|
|
215
216
|
]),
|
|
216
217
|
g("thead", null, [
|
|
217
218
|
g("tr", {
|
|
218
219
|
role: "row",
|
|
219
220
|
style: C(`background:${t.value.table.head.backgroundColor};color:${t.value.table.head.color}`)
|
|
220
221
|
}, [
|
|
221
|
-
(n(!0),
|
|
222
|
-
|
|
222
|
+
(n(!0), r(k, null, w(t.value.table.head.values, (a, s) => (n(), r("th", $e, [
|
|
223
|
+
u(e.$slots, "head", f({ ref_for: !0 }, { value: a, rowIndex: s, type: typeof a, isResponsive: d.value }), void 0, !0)
|
|
223
224
|
]))), 256))
|
|
224
225
|
], 4)
|
|
225
226
|
]),
|
|
226
227
|
g("tbody", null, [
|
|
227
|
-
(n(!0),
|
|
228
|
-
(n(!0),
|
|
228
|
+
(n(!0), r(k, null, w(T.value, (a, s) => (n(), r("tr", we, [
|
|
229
|
+
(n(!0), r(k, null, w(a.displayValues, (l, p) => (n(), r("td", {
|
|
229
230
|
role: "cell",
|
|
230
|
-
"data-cell": t.value.table.head.values[
|
|
231
|
+
"data-cell": t.value.table.head.values[p]
|
|
231
232
|
}, [
|
|
232
|
-
|
|
233
|
-
|
|
233
|
+
a.color && p === 0 ? (n(), r("div", xe, [
|
|
234
|
+
a.color ? (n(), r("svg", {
|
|
234
235
|
key: 0,
|
|
235
236
|
height: t.value.style.shapeSize,
|
|
236
237
|
width: t.value.style.shapeSize,
|
|
@@ -239,41 +240,41 @@ const Ie = ["id"], $e = { role: "cell" }, we = { role: "row" }, Oe = ["data-cell
|
|
|
239
240
|
}, [
|
|
240
241
|
ue(ke, {
|
|
241
242
|
plot: { x: 10, y: 10 },
|
|
242
|
-
color:
|
|
243
|
+
color: a.color,
|
|
243
244
|
radius: 9,
|
|
244
|
-
shape:
|
|
245
|
+
shape: a.shape || "circle"
|
|
245
246
|
}, null, 8, ["color", "shape"])
|
|
246
247
|
], 8, Fe)) : v("", !0),
|
|
247
|
-
|
|
248
|
-
])) : (n(),
|
|
249
|
-
|
|
248
|
+
u(e.$slots, "rowTitle", f({ ref_for: !0 }, { value: l, rowIndex: s, colIndex: p, type: typeof l, isResponsive: d.value }), void 0, !0)
|
|
249
|
+
])) : (n(), r(k, { key: 1 }, [
|
|
250
|
+
p === 0 ? u(e.$slots, "rowTitle", f({
|
|
250
251
|
key: 0,
|
|
251
252
|
ref_for: !0
|
|
252
|
-
}, { value:
|
|
253
|
-
|
|
253
|
+
}, { value: l, rowIndex: s, colIndex: p, type: typeof l, isResponsive: d.value }), void 0, !0) : v("", !0),
|
|
254
|
+
p > 0 ? u(e.$slots, "cell", f({
|
|
254
255
|
key: 1,
|
|
255
256
|
ref_for: !0
|
|
256
|
-
}, { value:
|
|
257
|
+
}, { value: l, rowIndex: s, colIndex: p, type: typeof l, isResponsive: d.value, color: a.colors[p], textColor: i(fe)(a.colors[p]) }), void 0, !0) : v("", !0)
|
|
257
258
|
], 64))
|
|
258
259
|
], 8, Oe))), 256)),
|
|
259
|
-
t.value.table.showSum ? (n(),
|
|
260
|
-
|
|
260
|
+
t.value.table.showSum ? (n(), r("td", Pe, [
|
|
261
|
+
u(e.$slots, "sum", f({ ref_for: !0 }, { value: a.sum, rowIndex: s, isResponsive: d.value }), void 0, !0)
|
|
261
262
|
])) : v("", !0),
|
|
262
|
-
t.value.table.showAverage ? (n(),
|
|
263
|
-
|
|
263
|
+
t.value.table.showAverage ? (n(), r("td", Ne, [
|
|
264
|
+
u(e.$slots, "average", f({ ref_for: !0 }, { value: a.average, rowIndex: s, isResponsive: d.value }), void 0, !0)
|
|
264
265
|
])) : v("", !0),
|
|
265
|
-
t.value.table.showMedian ? (n(),
|
|
266
|
-
|
|
266
|
+
t.value.table.showMedian ? (n(), r("td", Ve, [
|
|
267
|
+
u(e.$slots, "median", f({ ref_for: !0 }, { value: a.median, rowIndex: s, isResponsive: d.value }), void 0, !0)
|
|
267
268
|
])) : v("", !0)
|
|
268
269
|
]))), 256))
|
|
269
270
|
])
|
|
270
271
|
], 4),
|
|
271
|
-
e.$slots.source ? (n(),
|
|
272
|
-
|
|
272
|
+
e.$slots.source ? (n(), r("div", Re, [
|
|
273
|
+
u(e.$slots, "source", {}, void 0, !0)
|
|
273
274
|
], 512)) : v("", !0)
|
|
274
275
|
], 46, Ie));
|
|
275
276
|
}
|
|
276
|
-
}, Ae = /* @__PURE__ */ _e(Me, [["__scopeId", "data-v-
|
|
277
|
+
}, Ae = /* @__PURE__ */ _e(Me, [["__scopeId", "data-v-879ed7b7"]]);
|
|
277
278
|
export {
|
|
278
279
|
Ae as default
|
|
279
280
|
};
|