vue-data-ui 2.12.8-beta.3 → 2.13.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/README.md +10 -4
- package/dist/{Arrow-kQyQXUUg.js → Arrow-B2y3GYgv.js} +1 -1
- package/dist/{BaseDraggableDialog-DLRFrsDT.js → BaseDraggableDialog-B3CZVeze.js} +2 -2
- package/dist/{BaseIcon-DaR0sIWZ.js → BaseIcon-P7wV92Er.js} +1 -1
- package/dist/{ColorPicker-Bj3sq9o7.js → ColorPicker-C7b6TR_9.js} +2 -2
- package/dist/{DataTable-BBqbcutV.js → DataTable-DBkfb6pd.js} +2 -2
- package/dist/{Legend-DRqzYrP9.js → Legend-DcDRW3Xd.js} +2 -2
- package/dist/{NonSvgPenAndPaper-CQIC2PMP.js → NonSvgPenAndPaper-DYA_rF1x.js} +3 -3
- package/dist/{PackageVersion-ClpqQxYT.js → PackageVersion-C5fpg4GN.js} +2 -2
- package/dist/{PenAndPaper-B-T7XvxF.js → PenAndPaper-BRkuVFb4.js} +3 -3
- package/dist/{Shape-DEWxbZ-l.js → Shape-CnD-h_98.js} +1 -1
- package/dist/{Slicer-o6jJH5bw.js → Slicer-CxdgZOQ7.js} +2 -2
- package/dist/{SparkTooltip-LPnbBoFu.js → SparkTooltip-BIAMOmfJ.js} +1 -1
- package/dist/{Title-apr_T9tg.js → Title-DoWqzga-.js} +1 -1
- package/dist/{Tooltip-BuHsMAfp.js → Tooltip-DYCBNM-_.js} +1 -1
- package/dist/{UserOptions-OVNxxnq5.js → UserOptions-B3q-xfQV.js} +16 -11
- package/dist/dom-to-png-4VVH9Qna.js +247 -0
- package/dist/img-Dy6IrSzX.js +20 -0
- package/dist/{index-CH_mJIWj.js → index-BXbyT0Qn.js} +6 -2
- package/dist/{pdf-Jun3ogRn.js → pdf-ZrUvUcH9.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +20 -3
- package/dist/types/vue-data-ui.d.ts +20 -3
- package/dist/{useNestedProp-rMR-JeOJ.js → useNestedProp-DVZpeH84.js} +1 -1
- package/dist/{usePrinter-DJ7WfWUs.js → usePrinter-aKh5-HcK.js} +2 -2
- package/dist/{vue-data-ui-D7AaTKU6.js → vue-data-ui-DUHiuRmY.js} +63 -63
- package/dist/vue-data-ui.js +1 -1
- package/dist/{vue-ui-3d-bar-BfLLrwWi.js → vue-ui-3d-bar-C3cqHCNp.js} +173 -173
- package/dist/{vue-ui-accordion-Ds4zkPIx.js → vue-ui-accordion-CXsjHe1y.js} +3 -3
- package/dist/{vue-ui-age-pyramid-C7ca5TG5.js → vue-ui-age-pyramid-B2EpIzV9.js} +179 -179
- package/dist/{vue-ui-annotator-DG2z1gw8.js → vue-ui-annotator-Czvbjx_j.js} +2 -2
- package/dist/{vue-ui-bullet-Dh25QAEH.js → vue-ui-bullet-ClY1tgTT.js} +6 -6
- package/dist/{vue-ui-candlestick-7Yo_kEV0.js → vue-ui-candlestick-BQ1RVdoH.js} +113 -113
- package/dist/{vue-ui-carousel-table-Det9Kwmy.js → vue-ui-carousel-table-UQjCOJJV.js} +94 -94
- package/dist/{vue-ui-chestnut-DLlFv6Uj.js → vue-ui-chestnut-DmEa8kef.js} +452 -452
- package/dist/{vue-ui-chord-BXlv5Z2x.js → vue-ui-chord-CEDZ-UcP.js} +17 -17
- package/dist/{vue-ui-circle-pack-DdRcdWmx.js → vue-ui-circle-pack-Bx_mLhCR.js} +116 -116
- package/dist/{vue-ui-cursor-Djtg6Ppw.js → vue-ui-cursor-D27qwk90.js} +2 -2
- package/dist/{vue-ui-dashboard-C4MDDCl6.js → vue-ui-dashboard-DKsYxh6J.js} +62 -62
- package/dist/{vue-ui-digits-8Ox6q1Ov.js → vue-ui-digits-CdDTbIAN.js} +2 -2
- package/dist/{vue-ui-donut-Hk4EaVhb.js → vue-ui-donut-DS-DfHIm.js} +149 -149
- package/dist/{vue-ui-donut-evolution-DzgYokPU.js → vue-ui-donut-evolution-XMEmv1DK.js} +109 -109
- package/dist/{vue-ui-dumbbell-CAC44_Hu.js → vue-ui-dumbbell-DAm5A4u3.js} +65 -65
- package/dist/{vue-ui-flow-CYWiZjrP.js → vue-ui-flow-CTbmqqmV.js} +12 -12
- package/dist/{vue-ui-funnel-C2eqxh_8.js → vue-ui-funnel-CihunDsZ.js} +65 -65
- package/dist/{vue-ui-galaxy-BBfg84E4.js → vue-ui-galaxy-CJHycmpt.js} +82 -82
- package/dist/{vue-ui-gauge-BJgJgef_.js → vue-ui-gauge-Bsc9wIKK.js} +5 -5
- package/dist/{vue-ui-gizmo-DBclpybR.js → vue-ui-gizmo-D6AciZZe.js} +3 -3
- package/dist/{vue-ui-heatmap-D65wOgqe.js → vue-ui-heatmap-in5WwNRr.js} +221 -221
- package/dist/{vue-ui-history-plot-CHhDy7Da.js → vue-ui-history-plot-C9IEmAmm.js} +232 -232
- package/dist/{vue-ui-kpi-uT6fsAaO.js → vue-ui-kpi-fDPWRpRZ.js} +3 -3
- package/dist/{vue-ui-mini-loader-CKVlBiYB.js → vue-ui-mini-loader-BeJRaP7N.js} +2 -2
- package/dist/{vue-ui-molecule-BwtHZtGN.js → vue-ui-molecule-BJbwA0F6.js} +30 -30
- package/dist/{vue-ui-mood-radar-Vf4_-R-m.js → vue-ui-mood-radar--YEOJ6q6.js} +75 -75
- package/dist/{vue-ui-nested-donuts-BVkSns4S.js → vue-ui-nested-donuts-BswKH0D6.js} +16 -16
- package/dist/{vue-ui-onion-UzMmwtvF.js → vue-ui-onion-BAw8X4iu.js} +70 -70
- package/dist/{vue-ui-parallel-coordinate-plot-Dk5T3ZAr.js → vue-ui-parallel-coordinate-plot-CYkzOe_Q.js} +11 -11
- package/dist/{vue-ui-quadrant-Ck7xALez.js → vue-ui-quadrant-BupqUnMn.js} +11 -11
- package/dist/{vue-ui-quick-chart-B62Pa0nG.js → vue-ui-quick-chart-BzpDL6CR.js} +5 -5
- package/dist/{vue-ui-radar-DMfv2hSb.js → vue-ui-radar-zPrbIZv5.js} +283 -282
- package/dist/{vue-ui-rating-CFYHJrxj.js → vue-ui-rating-DqCOz2LB.js} +2 -2
- package/dist/{vue-ui-relation-circle-RWlfC5BI.js → vue-ui-relation-circle-DQp_zboM.js} +5 -5
- package/dist/{vue-ui-ridgeline-Bh93VzcO.js → vue-ui-ridgeline-DoJfX7Ii.js} +100 -100
- package/dist/{vue-ui-rings-CyX30Ccv.js → vue-ui-rings-Bk4QJYsW.js} +96 -96
- package/dist/{vue-ui-scatter-BEDnWByj.js → vue-ui-scatter-RxF0N8Zj.js} +164 -164
- package/dist/{vue-ui-skeleton-C6PWt_m5.js → vue-ui-skeleton-Fxr752Oi.js} +3 -3
- package/dist/{vue-ui-smiley-79itAe84.js → vue-ui-smiley-CNScIHKI.js} +2 -2
- package/dist/{vue-ui-spark-trend-AaA4KuaH.js → vue-ui-spark-trend-CyMzdoJ9.js} +3 -3
- package/dist/{vue-ui-sparkbar-CYBZeaor.js → vue-ui-sparkbar-DMTRPWwC.js} +3 -3
- package/dist/{vue-ui-sparkgauge-ElGarXVS.js → vue-ui-sparkgauge-itAGdTj_.js} +3 -3
- package/dist/{vue-ui-sparkhistogram-C_LV99i1.js → vue-ui-sparkhistogram-CZx5cF_r.js} +4 -4
- package/dist/{vue-ui-sparkline-DwzCA8d6.js → vue-ui-sparkline-POYMl6cO.js} +3 -3
- package/dist/{vue-ui-sparkstackbar-CobB11uw.js → vue-ui-sparkstackbar-C0EE8xrA.js} +3 -3
- package/dist/{vue-ui-stackbar-B4SxM5Ix.js → vue-ui-stackbar-B6ytrTFL.js} +37 -37
- package/dist/{vue-ui-strip-plot-9VK_Y3SC.js → vue-ui-strip-plot-u39z36tT.js} +80 -80
- package/dist/{vue-ui-table-DFTE1OH5.js → vue-ui-table-Cvmrm0sZ.js} +3 -3
- package/dist/{vue-ui-table-heatmap-DvyJx0j7.js → vue-ui-table-heatmap-BOFRFilm.js} +57 -57
- package/dist/{vue-ui-table-sparkline-SGsBnQTK.js → vue-ui-table-sparkline-CMhk8rpj.js} +72 -72
- package/dist/{vue-ui-thermometer-DEMS6HXl.js → vue-ui-thermometer-Cxznchnu.js} +5 -5
- package/dist/{vue-ui-timer-CQ71yJ_N.js → vue-ui-timer-Du0Cskiy.js} +5 -5
- package/dist/{vue-ui-tiremarks-CsN_QtUK.js → vue-ui-tiremarks-BzC40iBw.js} +5 -5
- package/dist/{vue-ui-treemap-B0CPNusH.js → vue-ui-treemap-D5Nk7usb.js} +297 -297
- package/dist/{vue-ui-vertical-bar-Cxv-ahMT.js → vue-ui-vertical-bar-BivMp4WH.js} +81 -81
- package/dist/{vue-ui-waffle-TgNNo9UX.js → vue-ui-waffle-DI0Ul1Tb.js} +50 -50
- package/dist/{vue-ui-wheel-Bq0ZLc-R.js → vue-ui-wheel-BfHsxhQq.js} +5 -5
- package/dist/{vue-ui-word-cloud-D28awCaT.js → vue-ui-word-cloud-ytYbdQKa.js} +67 -67
- package/dist/{vue-ui-world-BhUsfhY5.js → vue-ui-world-CiYvMEKb.js} +55 -55
- package/dist/{vue-ui-xy-CEFkua9H.js → vue-ui-xy-DxgCkZEV.js} +201 -182
- package/dist/{vue-ui-xy-canvas-oHhzL0ui.js → vue-ui-xy-canvas-R0tICTKy.js} +80 -80
- package/package.json +1 -1
- package/dist/dom-to-png-C0Ct8ClX.js +0 -243
- package/dist/img-P0SFFw37.js +0 -19
|
@@ -1,9 +1,9 @@
|
|
|
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
|
|
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-BXbyT0Qn.js";
|
|
3
|
+
import { u as H } from "./useNestedProp-DVZpeH84.js";
|
|
4
|
+
import { u as ye } from "./usePrinter-aKh5-HcK.js";
|
|
5
5
|
import { u as Ce } from "./useUserOptionState-BIvW1Kz7.js";
|
|
6
|
-
import { _ as ke } from "./Shape-
|
|
6
|
+
import { _ as ke } from "./Shape-CnD-h_98.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,
|
|
@@ -42,10 +42,10 @@ const Ie = ["id"], $e = { role: "cell" }, we = { role: "row" }, Oe = ["data-cell
|
|
|
42
42
|
},
|
|
43
43
|
setup(D, { expose: L }) {
|
|
44
44
|
ae((e) => ({
|
|
45
|
-
|
|
46
|
-
"
|
|
45
|
+
"6b4a429e": ee.value,
|
|
46
|
+
"14249d0c": j.value
|
|
47
47
|
}));
|
|
48
|
-
const X = oe(() => import("./UserOptions-
|
|
48
|
+
const X = oe(() => import("./UserOptions-B3q-xfQV.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
|
});
|
|
@@ -83,13 +83,13 @@ const Ie = ["id"], $e = { role: "cell" }, we = { role: "row" }, Oe = ["data-cell
|
|
|
83
83
|
});
|
|
84
84
|
const e = new ResizeObserver((o) => {
|
|
85
85
|
o.forEach((a) => {
|
|
86
|
-
|
|
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 o = e.values.map((s) => isNaN(s) ? 0 : s), a = o.reduce((s,
|
|
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
95
|
values: o,
|
|
@@ -118,16 +118,16 @@ const Ie = ["id"], $e = { role: "cell" }, we = { role: "row" }, Oe = ["data-cell
|
|
|
118
118
|
...e,
|
|
119
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
|
-
]),
|
|
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, o) => (n(),
|
|
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: o[0] || (o[0] = () =>
|
|
147
|
-
onMouseleave: o[1] || (o[1] = () =>
|
|
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,
|
|
@@ -164,45 +164,45 @@ const Ie = ["id"], $e = { role: "cell" }, we = { role: "row" }, Oe = ["data-cell
|
|
|
164
164
|
position: t.value.userOptions.position,
|
|
165
165
|
callbacks: t.value.userOptions.callbacks,
|
|
166
166
|
onToggleFullscreen: te,
|
|
167
|
-
onGeneratePdf:
|
|
167
|
+
onGeneratePdf: i(N),
|
|
168
168
|
onGenerateCsv: U,
|
|
169
|
-
onGenerateImage:
|
|
169
|
+
onGenerateImage: i(V),
|
|
170
170
|
style: C({
|
|
171
|
-
visibility:
|
|
171
|
+
visibility: i(F) ? i($) ? "visible" : "hidden" : "visible"
|
|
172
172
|
})
|
|
173
173
|
}, re({ _: 2 }, [
|
|
174
174
|
e.$slots.menuIcon ? {
|
|
175
175
|
name: "menuIcon",
|
|
176
176
|
fn: b(({ isOpen: a, color: s }) => [
|
|
177
|
-
|
|
177
|
+
u(e.$slots, "menuIcon", G(B({ isOpen: a, color: s })), void 0, !0)
|
|
178
178
|
]),
|
|
179
179
|
key: "0"
|
|
180
180
|
} : void 0,
|
|
181
181
|
e.$slots.optionPdf ? {
|
|
182
182
|
name: "optionPdf",
|
|
183
183
|
fn: b(() => [
|
|
184
|
-
|
|
184
|
+
u(e.$slots, "optionPdf", {}, void 0, !0)
|
|
185
185
|
]),
|
|
186
186
|
key: "1"
|
|
187
187
|
} : void 0,
|
|
188
188
|
e.$slots.optionCsv ? {
|
|
189
189
|
name: "optionCsv",
|
|
190
190
|
fn: b(() => [
|
|
191
|
-
|
|
191
|
+
u(e.$slots, "optionCsv", {}, void 0, !0)
|
|
192
192
|
]),
|
|
193
193
|
key: "2"
|
|
194
194
|
} : void 0,
|
|
195
195
|
e.$slots.optionImg ? {
|
|
196
196
|
name: "optionImg",
|
|
197
197
|
fn: b(() => [
|
|
198
|
-
|
|
198
|
+
u(e.$slots, "optionImg", {}, void 0, !0)
|
|
199
199
|
]),
|
|
200
200
|
key: "3"
|
|
201
201
|
} : void 0,
|
|
202
202
|
e.$slots.optionFullscreen ? {
|
|
203
203
|
name: "optionFullscreen",
|
|
204
204
|
fn: b(({ toggleFullscreen: a, isFullscreen: s }) => [
|
|
205
|
-
|
|
205
|
+
u(e.$slots, "optionFullscreen", G(B({ toggleFullscreen: a, isFullscreen: s })), void 0, !0)
|
|
206
206
|
]),
|
|
207
207
|
key: "4"
|
|
208
208
|
} : void 0
|
|
@@ -212,26 +212,26 @@ const Ie = ["id"], $e = { role: "cell" }, we = { role: "row" }, Oe = ["data-cell
|
|
|
212
212
|
style: C(`width:100%;font-family:${t.value.style.fontFamily};background:${t.value.style.backgroundColor};`)
|
|
213
213
|
}, [
|
|
214
214
|
g("caption", null, [
|
|
215
|
-
|
|
215
|
+
u(e.$slots, "caption", {}, void 0, !0)
|
|
216
216
|
]),
|
|
217
217
|
g("thead", null, [
|
|
218
218
|
g("tr", {
|
|
219
219
|
role: "row",
|
|
220
220
|
style: C(`background:${t.value.table.head.backgroundColor};color:${t.value.table.head.color}`)
|
|
221
221
|
}, [
|
|
222
|
-
(n(!0),
|
|
223
|
-
|
|
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)
|
|
224
224
|
]))), 256))
|
|
225
225
|
], 4)
|
|
226
226
|
]),
|
|
227
227
|
g("tbody", null, [
|
|
228
|
-
(n(!0),
|
|
229
|
-
(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", {
|
|
230
230
|
role: "cell",
|
|
231
|
-
"data-cell": t.value.table.head.values[
|
|
231
|
+
"data-cell": t.value.table.head.values[p]
|
|
232
232
|
}, [
|
|
233
|
-
a.color &&
|
|
234
|
-
a.color ? (n(),
|
|
233
|
+
a.color && p === 0 ? (n(), r("div", xe, [
|
|
234
|
+
a.color ? (n(), r("svg", {
|
|
235
235
|
key: 0,
|
|
236
236
|
height: t.value.style.shapeSize,
|
|
237
237
|
width: t.value.style.shapeSize,
|
|
@@ -245,36 +245,36 @@ const Ie = ["id"], $e = { role: "cell" }, we = { role: "row" }, Oe = ["data-cell
|
|
|
245
245
|
shape: a.shape || "circle"
|
|
246
246
|
}, null, 8, ["color", "shape"])
|
|
247
247
|
], 8, Fe)) : v("", !0),
|
|
248
|
-
|
|
249
|
-
])) : (n(),
|
|
250
|
-
|
|
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({
|
|
251
251
|
key: 0,
|
|
252
252
|
ref_for: !0
|
|
253
|
-
}, { value:
|
|
254
|
-
|
|
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({
|
|
255
255
|
key: 1,
|
|
256
256
|
ref_for: !0
|
|
257
|
-
}, { 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)
|
|
258
258
|
], 64))
|
|
259
259
|
], 8, Oe))), 256)),
|
|
260
|
-
t.value.table.showSum ? (n(),
|
|
261
|
-
|
|
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)
|
|
262
262
|
])) : v("", !0),
|
|
263
|
-
t.value.table.showAverage ? (n(),
|
|
264
|
-
|
|
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)
|
|
265
265
|
])) : v("", !0),
|
|
266
|
-
t.value.table.showMedian ? (n(),
|
|
267
|
-
|
|
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)
|
|
268
268
|
])) : v("", !0)
|
|
269
269
|
]))), 256))
|
|
270
270
|
])
|
|
271
271
|
], 4),
|
|
272
|
-
e.$slots.source ? (n(),
|
|
273
|
-
|
|
272
|
+
e.$slots.source ? (n(), r("div", Re, [
|
|
273
|
+
u(e.$slots, "source", {}, void 0, !0)
|
|
274
274
|
], 512)) : v("", !0)
|
|
275
275
|
], 46, Ie));
|
|
276
276
|
}
|
|
277
|
-
}, Ae = /* @__PURE__ */ _e(Me, [["__scopeId", "data-v-
|
|
277
|
+
}, Ae = /* @__PURE__ */ _e(Me, [["__scopeId", "data-v-879ed7b7"]]);
|
|
278
278
|
export {
|
|
279
279
|
Ae as default
|
|
280
280
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { useCssVars as Fe, defineAsyncComponent as J, ref as p, useSlots as Ve, onMounted as me, computed as _, watch as be, shallowRef as Te, onBeforeUnmount as We, createElementBlock as c, openBlock as
|
|
2
|
-
import { u as ye } from "./useNestedProp-
|
|
3
|
-
import { u as Ge, c as Le, t as Re, p as T, a as He, b as qe, o as Xe, e as he, g as Je, a5 as Ke, d as Qe, i as W, f as M, q as Ye, r as Ze } from "./index-
|
|
4
|
-
import { u as je } from "./usePrinter-
|
|
1
|
+
import { useCssVars as Fe, defineAsyncComponent as J, ref as p, useSlots as Ve, onMounted as me, computed as _, watch as be, shallowRef as Te, onBeforeUnmount as We, createElementBlock as c, openBlock as v, unref as u, normalizeClass as K, createCommentVNode as g, createElementVNode as f, normalizeStyle as r, toDisplayString as C, withDirectives as Me, createVNode as D, Fragment as Q, renderList as Y, createBlock as Ue, createSlots as Be, withCtx as P, renderSlot as O, mergeProps as ge, nextTick as Ee } from "vue";
|
|
2
|
+
import { u as ye } from "./useNestedProp-DVZpeH84.js";
|
|
3
|
+
import { u as Ge, c as Le, t as Re, p as T, a as He, b as qe, o as Xe, e as he, g as Je, a5 as Ke, d as Qe, i as W, f as M, q as Ye, r as Ze } from "./index-BXbyT0Qn.js";
|
|
4
|
+
import { u as je } from "./usePrinter-aKh5-HcK.js";
|
|
5
5
|
import { u as et } from "./useUserOptionState-BIvW1Kz7.js";
|
|
6
6
|
import { v as tt } from "./vClickOutside-C6WiFswA.js";
|
|
7
7
|
import { _ as at } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
@@ -41,9 +41,9 @@ const lt = ["id"], ot = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
41
41
|
},
|
|
42
42
|
setup(ke, { expose: _e }) {
|
|
43
43
|
Fe((t) => ({
|
|
44
|
-
|
|
44
|
+
c3f77e6e: t.tdo
|
|
45
45
|
}));
|
|
46
|
-
const Ce = J(() => import("./vue-ui-sparkline-
|
|
46
|
+
const Ce = J(() => import("./vue-ui-sparkline-POYMl6cO.js")), N = J(() => import("./BaseIcon-P7wV92Er.js")), xe = J(() => import("./UserOptions-B3q-xfQV.js")), { vue_ui_table_sparkline: we } = Ge(), x = ke, U = p(Le()), Z = p(0), B = p(0), E = p(null), Se = Ve();
|
|
47
47
|
me(() => {
|
|
48
48
|
Se["chart-background"] && console.warn("VueUiTableSparkline does not support the #chart-background slot.");
|
|
49
49
|
});
|
|
@@ -106,30 +106,30 @@ const lt = ["id"], ot = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
106
106
|
});
|
|
107
107
|
});
|
|
108
108
|
}), x.dataset.map((t, l) => {
|
|
109
|
-
const a = (t.values || []).map((
|
|
109
|
+
const a = (t.values || []).map((d) => isNaN(d) ? 0 : d ?? 0), n = a.reduce((d, i) => d + i, 0), s = n / a.length, o = Ke(a);
|
|
110
110
|
return {
|
|
111
111
|
...t,
|
|
112
112
|
values: t.values || [],
|
|
113
113
|
color: Qe(t.color) || Ie.value[l] || T[l] || T[l % T.length],
|
|
114
|
-
sum:
|
|
114
|
+
sum: n,
|
|
115
115
|
average: s,
|
|
116
|
-
median:
|
|
117
|
-
sparklineDataset: a.map((
|
|
116
|
+
median: o,
|
|
117
|
+
sparklineDataset: a.map((d, i) => ({
|
|
118
118
|
period: e.value.colNames[i] || `col ${i}`,
|
|
119
|
-
value:
|
|
119
|
+
value: d || 0
|
|
120
120
|
}))
|
|
121
121
|
};
|
|
122
122
|
})));
|
|
123
123
|
function Oe(t) {
|
|
124
124
|
const a = (t[0].values || []).map(
|
|
125
|
-
(s,
|
|
125
|
+
(s, o) => t.map((d) => d.values[o] || [])
|
|
126
126
|
).map(
|
|
127
|
-
(s) => s.map((
|
|
127
|
+
(s) => s.map((o, d) => [o, d]).sort((o, d) => d[0] - o[0]).map((o) => o[1])
|
|
128
128
|
);
|
|
129
|
-
return t.map((s,
|
|
129
|
+
return t.map((s, o) => ({
|
|
130
130
|
...s,
|
|
131
131
|
values: s.values || [],
|
|
132
|
-
orders: a[
|
|
132
|
+
orders: a[o]
|
|
133
133
|
}));
|
|
134
134
|
}
|
|
135
135
|
const $ = _(() => Oe(se.value)), m = p($.value), $e = _(() => Math.max(...m.value.map((t) => (t.values || []).length))), H = p(void 0), q = p(!1), b = p(void 0), re = p(1);
|
|
@@ -152,10 +152,10 @@ const lt = ["id"], ot = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
152
152
|
return;
|
|
153
153
|
}
|
|
154
154
|
q.value = !0, b.value = l;
|
|
155
|
-
const
|
|
155
|
+
const n = $.value.map((i) => i.values[l] || []), s = a;
|
|
156
156
|
z.value[l].state = s, re.value = s, l === H.value ? H.value = void 0 : H.value = l;
|
|
157
|
-
const
|
|
158
|
-
m.value =
|
|
157
|
+
const d = n.map((i, h) => [h, i]).sort((i, h) => s * (h[1] - i[1])).map((i) => i[0]).map((i) => $.value[i]);
|
|
158
|
+
m.value = d, B.value += 1;
|
|
159
159
|
}
|
|
160
160
|
const ie = _(() => Math.max(...x.dataset.map((t) => (t.values || []).length))), k = _(() => {
|
|
161
161
|
let t = R.value.map((a) => ({
|
|
@@ -185,9 +185,9 @@ const lt = ["id"], ot = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
185
185
|
return;
|
|
186
186
|
}
|
|
187
187
|
y.value = t, q.value = !0, w.value[t] = a, [null, void 0].includes(l) || (z.value[l].state = w.value[t]);
|
|
188
|
-
const
|
|
189
|
-
const i =
|
|
190
|
-
return typeof i == "string" && typeof h == "string" ?
|
|
188
|
+
const n = w.value[t], s = [...m.value].sort((o, d) => {
|
|
189
|
+
const i = o[t] ?? (typeof o[t] == "number" ? 0 : ""), h = d[t] ?? (typeof d[t] == "number" ? 0 : "");
|
|
190
|
+
return typeof i == "string" && typeof h == "string" ? n === -1 ? i.localeCompare(h) : h.localeCompare(i) : typeof i == "number" && typeof h == "number" ? n === -1 ? i - h : h - i : 0;
|
|
191
191
|
});
|
|
192
192
|
m.value = s;
|
|
193
193
|
}
|
|
@@ -199,17 +199,17 @@ const lt = ["id"], ot = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
199
199
|
function Pe(t) {
|
|
200
200
|
de.value = t, Z.value += 1;
|
|
201
201
|
}
|
|
202
|
-
function ve() {
|
|
202
|
+
function ve(t = null) {
|
|
203
203
|
Ee(() => {
|
|
204
|
-
const
|
|
205
|
-
[
|
|
206
|
-
|
|
207
|
-
[
|
|
208
|
-
[
|
|
209
|
-
[
|
|
210
|
-
]),
|
|
211
|
-
Ze({
|
|
212
|
-
csvContent:
|
|
204
|
+
const l = [e.value.translations.serie].concat(k.value), a = se.value.map((o, d) => [
|
|
205
|
+
[o.name],
|
|
206
|
+
o.values,
|
|
207
|
+
[o.sum],
|
|
208
|
+
[o.average],
|
|
209
|
+
[o.median]
|
|
210
|
+
]), n = [l].concat(a), s = Ye(n);
|
|
211
|
+
t ? t(s) : Ze({
|
|
212
|
+
csvContent: s,
|
|
213
213
|
title: e.value.title.text || "vue-ui-table-sparkline"
|
|
214
214
|
});
|
|
215
215
|
});
|
|
@@ -235,7 +235,7 @@ const lt = ["id"], ot = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
235
235
|
generateImage: ne,
|
|
236
236
|
generateCsv: ve,
|
|
237
237
|
restoreOrder: A
|
|
238
|
-
}), (t, l) => (
|
|
238
|
+
}), (t, l) => (v(), c("div", {
|
|
239
239
|
ref_key: "tableContainer",
|
|
240
240
|
ref: F,
|
|
241
241
|
class: K({ "vue-ui-table-sparkline": !0, "vue-ui-responsive": L.value }),
|
|
@@ -244,7 +244,7 @@ const lt = ["id"], ot = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
244
244
|
onMouseenter: l[3] || (l[3] = () => u(j)(!0)),
|
|
245
245
|
onMouseleave: l[4] || (l[4] = () => u(j)(!1))
|
|
246
246
|
}, [
|
|
247
|
-
e.value.title.text ? (
|
|
247
|
+
e.value.title.text ? (v(), c("div", {
|
|
248
248
|
key: 0,
|
|
249
249
|
class: "vue-ui-table-sparkline-caption",
|
|
250
250
|
style: r({ backgroundColor: e.value.title.backgroundColor })
|
|
@@ -258,7 +258,7 @@ const lt = ["id"], ot = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
258
258
|
textAlign: e.value.title.textAlign
|
|
259
259
|
})
|
|
260
260
|
}, C(e.value.title.text), 5),
|
|
261
|
-
e.value.title.subtitle.text ? (
|
|
261
|
+
e.value.title.subtitle.text ? (v(), c("div", {
|
|
262
262
|
key: 0,
|
|
263
263
|
class: "atom-subtitle",
|
|
264
264
|
style: r({
|
|
@@ -280,7 +280,7 @@ const lt = ["id"], ot = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
280
280
|
style: r({ fontFamily: e.value.fontFamily, position: "relative" })
|
|
281
281
|
}, [
|
|
282
282
|
f("thead", ot, [
|
|
283
|
-
Me((
|
|
283
|
+
Me((v(), c("tr", {
|
|
284
284
|
role: "row",
|
|
285
285
|
class: "vue-ui-data-table__thead-row",
|
|
286
286
|
style: r({
|
|
@@ -308,7 +308,7 @@ const lt = ["id"], ot = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
308
308
|
})
|
|
309
309
|
}, [
|
|
310
310
|
f("span", null, C(e.value.translations.serie), 1),
|
|
311
|
-
m.value.length > 1 && e.value.sortedSeriesName ? (
|
|
311
|
+
m.value.length > 1 && e.value.sortedSeriesName ? (v(), c("div", nt, [
|
|
312
312
|
f("button", {
|
|
313
313
|
class: "vue-ui-table-sparkline-sorting-button vue-ui-table-sparkline-sorting-button-down",
|
|
314
314
|
onClick: l[0] || (l[0] = (a) => V({ type: "name" }, null, -1))
|
|
@@ -338,17 +338,17 @@ const lt = ["id"], ot = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
338
338
|
])) : g("", !0)
|
|
339
339
|
], 4)
|
|
340
340
|
], 4),
|
|
341
|
-
(
|
|
341
|
+
(v(!0), c(Q, null, Y(k.value, (a, n) => (v(), c("th", {
|
|
342
342
|
role: "cell",
|
|
343
343
|
style: r({
|
|
344
344
|
background: e.value.thead.backgroundColor,
|
|
345
345
|
border: e.value.thead.outline,
|
|
346
346
|
textAlign: e.value.thead.textAlign,
|
|
347
347
|
fontWeight: e.value.thead.bold ? "bold" : "normal",
|
|
348
|
-
minWidth:
|
|
349
|
-
paddingRight:
|
|
348
|
+
minWidth: n === k.value.length - 1 ? `${e.value.sparkline.dimensions.width}px` : "48px",
|
|
349
|
+
paddingRight: n === k.value.length - 1 && e.value.userOptions.show ? "36px" : ""
|
|
350
350
|
}),
|
|
351
|
-
class: K({ "sticky-col":
|
|
351
|
+
class: K({ "sticky-col": n === k.value.length - 1 && e.value.showSparklines })
|
|
352
352
|
}, [
|
|
353
353
|
f("div", {
|
|
354
354
|
style: r({
|
|
@@ -360,36 +360,36 @@ const lt = ["id"], ot = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
360
360
|
})
|
|
361
361
|
}, [
|
|
362
362
|
f("span", null, C(a.value), 1),
|
|
363
|
-
m.value.length > 1 && (ce(
|
|
363
|
+
m.value.length > 1 && (ce(n) || pe(a)) ? (v(), c("div", ut, [
|
|
364
364
|
f("button", {
|
|
365
365
|
class: "vue-ui-table-sparkline-sorting-button vue-ui-table-sparkline-sorting-button-down",
|
|
366
|
-
onClick: () => V(a,
|
|
366
|
+
onClick: () => V(a, n, -1)
|
|
367
367
|
}, [
|
|
368
368
|
D(u(N), {
|
|
369
369
|
size: 12,
|
|
370
370
|
name: "arrowBottom",
|
|
371
371
|
stroke: e.value.thead.color,
|
|
372
372
|
style: r({
|
|
373
|
-
opacity: fe(
|
|
373
|
+
opacity: fe(n, a, -1)
|
|
374
374
|
})
|
|
375
375
|
}, null, 8, ["stroke", "style"])
|
|
376
376
|
], 8, st),
|
|
377
377
|
f("button", {
|
|
378
378
|
class: "vue-ui-table-sparkline-sorting-button vue-ui-table-sparkline-sorting-button-up",
|
|
379
|
-
onClick: () => V(a,
|
|
379
|
+
onClick: () => V(a, n, 1)
|
|
380
380
|
}, [
|
|
381
381
|
D(u(N), {
|
|
382
382
|
size: 12,
|
|
383
383
|
name: "arrowTop",
|
|
384
384
|
stroke: e.value.thead.color,
|
|
385
385
|
style: r({
|
|
386
|
-
opacity: fe(
|
|
386
|
+
opacity: fe(n, a, 1)
|
|
387
387
|
})
|
|
388
388
|
}, null, 8, ["stroke", "style"])
|
|
389
389
|
], 8, rt)
|
|
390
390
|
])) : g("", !0)
|
|
391
391
|
], 4),
|
|
392
|
-
e.value.userOptions.show &&
|
|
392
|
+
e.value.userOptions.show && n === k.value.length - 1 && (u(ee) || u(G)) ? (v(), Ue(u(xe), {
|
|
393
393
|
ref_for: !0,
|
|
394
394
|
ref: "details",
|
|
395
395
|
key: `user_option_${Z.value}`,
|
|
@@ -417,8 +417,8 @@ const lt = ["id"], ot = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
417
417
|
}, Be({ _: 2 }, [
|
|
418
418
|
t.$slots.menuIcon ? {
|
|
419
419
|
name: "menuIcon",
|
|
420
|
-
fn: P(({ isOpen: s, color:
|
|
421
|
-
O(t.$slots, "menuIcon", ge({ ref_for: !0 }, { isOpen: s, color:
|
|
420
|
+
fn: P(({ isOpen: s, color: o }) => [
|
|
421
|
+
O(t.$slots, "menuIcon", ge({ ref_for: !0 }, { isOpen: s, color: o }), void 0, !0)
|
|
422
422
|
]),
|
|
423
423
|
key: "0"
|
|
424
424
|
} : void 0,
|
|
@@ -445,8 +445,8 @@ const lt = ["id"], ot = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
445
445
|
} : void 0,
|
|
446
446
|
t.$slots.optionFullscreen ? {
|
|
447
447
|
name: "optionFullscreen",
|
|
448
|
-
fn: P(({ toggleFullscreen: s, isFullscreen:
|
|
449
|
-
O(t.$slots, "optionFullscreen", ge({ ref_for: !0 }, { toggleFullscreen: s, isFullscreen:
|
|
448
|
+
fn: P(({ toggleFullscreen: s, isFullscreen: o }) => [
|
|
449
|
+
O(t.$slots, "optionFullscreen", ge({ ref_for: !0 }, { toggleFullscreen: s, isFullscreen: o }), void 0, !0)
|
|
450
450
|
]),
|
|
451
451
|
key: "4"
|
|
452
452
|
} : void 0
|
|
@@ -457,13 +457,13 @@ const lt = ["id"], ot = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
457
457
|
])
|
|
458
458
|
]),
|
|
459
459
|
f("tbody", null, [
|
|
460
|
-
(
|
|
460
|
+
(v(!0), c(Q, null, Y(m.value, (a, n) => (v(), c("tr", {
|
|
461
461
|
role: "row",
|
|
462
462
|
style: r({
|
|
463
463
|
backgroundColor: e.value.tbody.backgroundColor,
|
|
464
464
|
color: e.value.tbody.color
|
|
465
465
|
}),
|
|
466
|
-
class: K({ "vue-ui-data-table__tbody__row": !0, "vue-ui-data-table__tbody__row-even":
|
|
466
|
+
class: K({ "vue-ui-data-table__tbody__row": !0, "vue-ui-data-table__tbody__row-even": n % 2 === 0, "vue-ui-data-table__tbody__row-odd": n % 2 !== 0 })
|
|
467
467
|
}, [
|
|
468
468
|
f("td", {
|
|
469
469
|
role: "cell",
|
|
@@ -487,14 +487,14 @@ const lt = ["id"], ot = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
487
487
|
justifyContent: e.value.tbody.textAlign
|
|
488
488
|
})
|
|
489
489
|
}, [
|
|
490
|
-
e.value.tbody.showColorMarker ? (
|
|
490
|
+
e.value.tbody.showColorMarker ? (v(), c("span", {
|
|
491
491
|
key: 0,
|
|
492
492
|
style: r({ color: a.color })
|
|
493
493
|
}, "⬤", 4)) : g("", !0),
|
|
494
494
|
f("span", null, C(a.name ?? "-"), 1)
|
|
495
495
|
], 4)
|
|
496
496
|
], 12, it),
|
|
497
|
-
(
|
|
497
|
+
(v(!0), c(Q, null, Y($e.value, (s, o) => (v(), c("td", {
|
|
498
498
|
dir: "auto",
|
|
499
499
|
role: "cell",
|
|
500
500
|
ref_for: !0,
|
|
@@ -505,25 +505,25 @@ const lt = ["id"], ot = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
505
505
|
fontSize: `${e.value.tbody.fontSize}px`,
|
|
506
506
|
fontWeight: e.value.tbody.bold ? "bold" : "normal",
|
|
507
507
|
textAlign: e.value.tbody.textAlign,
|
|
508
|
-
background: S.value !== void 0 &&
|
|
508
|
+
background: S.value !== void 0 && o === S.value ? e.value.tbody.selectedColor.useSerieColor ? `${a.color.length > 7 ? a.color.slice(0, -2) : a.color}33` : e.value.tbody.selectedColor.fallback : ""
|
|
509
509
|
}),
|
|
510
|
-
"data-cell": k.value[
|
|
510
|
+
"data-cell": k.value[o] ? k.value[o].value : "",
|
|
511
511
|
class: "vue-ui-data-table__tbody__td",
|
|
512
|
-
onPointerenter: (
|
|
513
|
-
X.value =
|
|
512
|
+
onPointerenter: (d) => {
|
|
513
|
+
X.value = n, S.value = o;
|
|
514
514
|
}
|
|
515
|
-
}, C([null, void 0].includes(a.values[
|
|
515
|
+
}, C([null, void 0].includes(a.values[o]) ? "-" : u(W)(
|
|
516
516
|
e.value.formatter,
|
|
517
|
-
Number(a.values[
|
|
517
|
+
Number(a.values[o]),
|
|
518
518
|
u(M)({
|
|
519
519
|
p: e.value.prefix,
|
|
520
|
-
v: Number(a.values[
|
|
520
|
+
v: Number(a.values[o]),
|
|
521
521
|
s: e.value.suffix,
|
|
522
522
|
r: e.value.roundingValues
|
|
523
523
|
}),
|
|
524
|
-
{ datapoint: a, seriesIndex:
|
|
524
|
+
{ datapoint: a, seriesIndex: n, datapointIndex: o }
|
|
525
525
|
)), 45, dt))), 256)),
|
|
526
|
-
e.value.showTotal ? (
|
|
526
|
+
e.value.showTotal ? (v(), c("td", {
|
|
527
527
|
key: 0,
|
|
528
528
|
dir: "auto",
|
|
529
529
|
role: "cell",
|
|
@@ -544,9 +544,9 @@ const lt = ["id"], ot = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
544
544
|
s: e.value.suffix,
|
|
545
545
|
r: e.value.roundingTotal
|
|
546
546
|
}),
|
|
547
|
-
{ datapoint: a.sum, seriesIndex:
|
|
547
|
+
{ datapoint: a.sum, seriesIndex: n }
|
|
548
548
|
)), 13, vt)) : g("", !0),
|
|
549
|
-
e.value.showAverage ? (
|
|
549
|
+
e.value.showAverage ? (v(), c("td", {
|
|
550
550
|
key: 1,
|
|
551
551
|
dir: "auto",
|
|
552
552
|
role: "cell",
|
|
@@ -567,9 +567,9 @@ const lt = ["id"], ot = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
567
567
|
s: e.value.suffix,
|
|
568
568
|
r: e.value.roundingAverage
|
|
569
569
|
}),
|
|
570
|
-
{ datapoint: a.average, seriesIndex:
|
|
570
|
+
{ datapoint: a.average, seriesIndex: n }
|
|
571
571
|
)), 13, ct)) : g("", !0),
|
|
572
|
-
e.value.showMedian ? (
|
|
572
|
+
e.value.showMedian ? (v(), c("td", {
|
|
573
573
|
key: 2,
|
|
574
574
|
dir: "auto",
|
|
575
575
|
role: "cell",
|
|
@@ -590,9 +590,9 @@ const lt = ["id"], ot = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
590
590
|
s: e.value.suffix,
|
|
591
591
|
r: e.value.roundingMedian
|
|
592
592
|
}),
|
|
593
|
-
{ datapoint: a.median, seriesIndex:
|
|
593
|
+
{ datapoint: a.median, seriesIndex: n }
|
|
594
594
|
)), 13, pt)) : g("", !0),
|
|
595
|
-
e.value.showSparklines ? (
|
|
595
|
+
e.value.showSparklines ? (v(), c("td", {
|
|
596
596
|
key: 3,
|
|
597
597
|
role: "cell",
|
|
598
598
|
"data-cell": e.value.translations.chart,
|
|
@@ -607,7 +607,7 @@ const lt = ["id"], ot = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
607
607
|
class: "vue-ui-data-table__tbody__td sticky-col"
|
|
608
608
|
}, [
|
|
609
609
|
D(u(Ce), {
|
|
610
|
-
onHoverIndex: ({ index: s }) => De({ dataIndex: s, serieIndex:
|
|
610
|
+
onHoverIndex: ({ index: s }) => De({ dataIndex: s, serieIndex: n }),
|
|
611
611
|
"height-ratio": e.value.sparkline.dimensions.heightRatio,
|
|
612
612
|
"forced-padding": 30,
|
|
613
613
|
dataset: a.sparklineDataset,
|
|
@@ -650,12 +650,12 @@ const lt = ["id"], ot = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
650
650
|
])
|
|
651
651
|
], 4)
|
|
652
652
|
], 32),
|
|
653
|
-
t.$slots.source ? (
|
|
653
|
+
t.$slots.source ? (v(), c("div", mt, [
|
|
654
654
|
O(t.$slots, "source", {}, void 0, !0)
|
|
655
655
|
], 512)) : g("", !0)
|
|
656
656
|
], 42, lt));
|
|
657
657
|
}
|
|
658
|
-
}, wt = /* @__PURE__ */ at(bt, [["__scopeId", "data-v-
|
|
658
|
+
}, wt = /* @__PURE__ */ at(bt, [["__scopeId", "data-v-92eaf0de"]]);
|
|
659
659
|
export {
|
|
660
660
|
wt as default
|
|
661
661
|
};
|