vue-data-ui 3.4.7 → 3.4.8
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-QNVkHOgG.js → PackageVersion-D-auaEEJ.js} +1 -1
- package/dist/{UserOptions-CnzumGJj.js → UserOptions-CGnQt6Fd.js} +91 -91
- package/dist/components/vue-ui-3d-bar.js +1 -1
- package/dist/components/vue-ui-age-pyramid.js +1 -1
- package/dist/components/vue-ui-bullet.js +1 -1
- package/dist/components/vue-ui-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-dashboard.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-gizmo.js +1 -1
- package/dist/components/vue-ui-heatmap.js +1 -1
- package/dist/components/vue-ui-history-plot.js +1 -1
- package/dist/components/vue-ui-horizontal-bar.js +1 -1
- package/dist/components/vue-ui-molecule.js +1 -1
- package/dist/components/vue-ui-mood-radar.js +1 -1
- package/dist/components/vue-ui-nested-donuts.js +1 -1
- package/dist/components/vue-ui-onion.js +1 -1
- package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
- package/dist/components/vue-ui-quadrant.js +1 -1
- package/dist/components/vue-ui-quick-chart.js +1 -1
- package/dist/components/vue-ui-radar.js +1 -1
- package/dist/components/vue-ui-relation-circle.js +1 -1
- package/dist/components/vue-ui-ridgeline.js +1 -1
- package/dist/components/vue-ui-rings.js +1 -1
- package/dist/components/vue-ui-scatter.js +1 -1
- package/dist/components/vue-ui-skeleton.js +1 -1
- package/dist/components/vue-ui-spark-trend.js +1 -1
- package/dist/components/vue-ui-sparkbar.js +1 -1
- package/dist/components/vue-ui-sparkgauge.js +1 -1
- package/dist/components/vue-ui-sparkhistogram.js +1 -1
- package/dist/components/vue-ui-sparkline.js +1 -1
- package/dist/components/vue-ui-sparkstackbar.js +1 -1
- package/dist/components/vue-ui-stackbar.js +1 -1
- package/dist/components/vue-ui-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/style.css +1 -1
- package/dist/{vue-data-ui-BFwmY6si.js → vue-data-ui-CzqHcPqG.js} +55 -55
- package/dist/vue-data-ui.js +55 -55
- package/dist/{vue-ui-3d-bar-D1GoJWeg.js → vue-ui-3d-bar-CwXiD8zD.js} +49 -42
- package/dist/{vue-ui-age-pyramid-BDGFSsA5.js → vue-ui-age-pyramid-DlEPlWmV.js} +12 -5
- package/dist/{vue-ui-bullet-C3GtE3bF.js → vue-ui-bullet-DtzpeIu4.js} +59 -52
- package/dist/{vue-ui-candlestick-BlzmB2vM.js → vue-ui-candlestick-DzoiyaeB.js} +56 -49
- package/dist/{vue-ui-carousel-table-TKa7KYZ0.js → vue-ui-carousel-table-BqRERrjs.js} +79 -72
- package/dist/{vue-ui-chestnut-DNxARRsx.js → vue-ui-chestnut-CzBGckif.js} +77 -70
- package/dist/{vue-ui-chord-BM7tZig3.js → vue-ui-chord-B4waG93A.js} +71 -64
- package/dist/{vue-ui-circle-pack-BZU75WUb.js → vue-ui-circle-pack-DiTw_p5r.js} +58 -51
- package/dist/{vue-ui-dashboard-pNXFzQu4.js → vue-ui-dashboard-Bt-MUKqy.js} +56 -56
- package/dist/{vue-ui-donut-CRvfqCUO.js → vue-ui-donut-Bc492JeS.js} +95 -88
- package/dist/{vue-ui-donut-evolution-CCdIWlyZ.js → vue-ui-donut-evolution-D6TaZK2x.js} +80 -73
- package/dist/{vue-ui-dumbbell-CLmwZyrf.js → vue-ui-dumbbell-BlZr68Sq.js} +12 -5
- package/dist/{vue-ui-flow-BY8XQXKF.js → vue-ui-flow-ByEP18dA.js} +205 -198
- package/dist/{vue-ui-funnel-BmxhWoVW.js → vue-ui-funnel-BU7d_U6T.js} +98 -91
- package/dist/{vue-ui-galaxy-BgtKffX5.js → vue-ui-galaxy-CpVrxaTr.js} +140 -133
- package/dist/{vue-ui-gauge-DLpK4-Cd.js → vue-ui-gauge-B9Z4EXoj.js} +108 -101
- package/dist/{vue-ui-gizmo-CCNboEnL.js → vue-ui-gizmo-T1paJEJ3.js} +1 -1
- package/dist/{vue-ui-heatmap-BSDmuvq8.js → vue-ui-heatmap-Uw83eEMz.js} +97 -90
- package/dist/{vue-ui-history-plot-s8wYm7fn.js → vue-ui-history-plot-C93VwVCY.js} +41 -34
- package/dist/{vue-ui-molecule-BYWE2ONy.js → vue-ui-molecule-CFMWwXFN.js} +94 -87
- package/dist/{vue-ui-mood-radar-BOvaA1Jq.js → vue-ui-mood-radar-FkVaaOVG.js} +71 -64
- package/dist/{vue-ui-nested-donuts-BUGkuN56.js → vue-ui-nested-donuts-Cyi98NXq.js} +93 -86
- package/dist/{vue-ui-onion-CPshjlgf.js → vue-ui-onion-BCENNhsY.js} +82 -75
- package/dist/{vue-ui-parallel-coordinate-plot-orQotxDr.js → vue-ui-parallel-coordinate-plot-Dca9wkD0.js} +116 -109
- package/dist/{vue-ui-quadrant-CM3iH31f.js → vue-ui-quadrant-CEtFEZT3.js} +46 -39
- package/dist/{vue-ui-quick-chart-BhO2YQn0.js → vue-ui-quick-chart-bqcp6BIl.js} +171 -164
- package/dist/{vue-ui-radar-CNZVFG-v.js → vue-ui-radar-lgRCmyNP.js} +36 -29
- package/dist/{vue-ui-relation-circle-BX48Cgx3.js → vue-ui-relation-circle-cRRrbaIT.js} +100 -93
- package/dist/{vue-ui-ridgeline-MQAF9nvq.js → vue-ui-ridgeline-CaeFJq9a.js} +23 -16
- package/dist/{vue-ui-rings-BPhLSCUX.js → vue-ui-rings-DbsYfGjx.js} +55 -48
- package/dist/{vue-ui-scatter-C3dD6T6q.js → vue-ui-scatter-DcMnoNrY.js} +189 -182
- package/dist/{vue-ui-skeleton-Be8xm0gy.js → vue-ui-skeleton-b5fdgyHv.js} +1 -1
- package/dist/{vue-ui-spark-trend-suNsujGP.js → vue-ui-spark-trend-DrQ26BzL.js} +1 -1
- package/dist/{vue-ui-sparkbar-BjD2kUth.js → vue-ui-sparkbar-BlvXLcfO.js} +1 -1
- package/dist/{vue-ui-sparkgauge-C816ocz6.js → vue-ui-sparkgauge-CQmNePxu.js} +1 -1
- package/dist/{vue-ui-sparkhistogram-CAgfueUq.js → vue-ui-sparkhistogram-CJatqy8x.js} +1 -1
- package/dist/{vue-ui-sparkline-BmVwG9vw.js → vue-ui-sparkline-5m7hFiMq.js} +1 -1
- package/dist/{vue-ui-sparkstackbar-DoFTW_u_.js → vue-ui-sparkstackbar-Z5g6L2Hj.js} +1 -1
- package/dist/{vue-ui-stackbar-C1qHHSuI.js → vue-ui-stackbar-WrexTg8_.js} +53 -46
- package/dist/{vue-ui-strip-plot-Ccz9BiSl.js → vue-ui-strip-plot-DqX7yya9.js} +13 -6
- package/dist/{vue-ui-table-IKsrsEUh.js → vue-ui-table-BhrP9BCp.js} +2 -2
- package/dist/{vue-ui-table-heatmap-B4rjR34n.js → vue-ui-table-heatmap-BqCEBoUf.js} +1 -1
- package/dist/{vue-ui-table-sparkline-B71QVMkq.js → vue-ui-table-sparkline-BECa8n5_.js} +1 -1
- package/dist/{vue-ui-thermometer-fY5WxAbX.js → vue-ui-thermometer-BxBGrsSR.js} +83 -76
- package/dist/{vue-ui-timer-BBdNJ0fK.js → vue-ui-timer-BbHY5Ed5.js} +1 -1
- package/dist/{vue-ui-tiremarks-Co0t61HH.js → vue-ui-tiremarks-DzL3Sc1f.js} +43 -36
- package/dist/{vue-ui-treemap-ujTn_36A.js → vue-ui-treemap-DoHoS5NK.js} +114 -107
- package/dist/{vue-ui-vertical-bar-BNp-Vl0q.js → vue-ui-vertical-bar-D0N5btU-.js} +89 -82
- package/dist/{vue-ui-waffle-CRPYb9mZ.js → vue-ui-waffle-CTt7dxCY.js} +41 -34
- package/dist/{vue-ui-wheel-BvycoQ3Z.js → vue-ui-wheel--TIPvQ9I.js} +132 -125
- package/dist/{vue-ui-word-cloud-Cjs46-dC.js → vue-ui-word-cloud-D5pZq4Jq.js} +116 -109
- package/dist/{vue-ui-world-BTLAdJeD.js → vue-ui-world-BERHgePa.js} +71 -64
- package/dist/{vue-ui-xy-CBRHUbAn.js → vue-ui-xy-BI5stV8f.js} +163 -156
- package/dist/{vue-ui-xy-canvas-BGl_2pHw.js → vue-ui-xy-canvas-DXnLFwW3.js} +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineAsyncComponent as ce, ref as n, useSlots as
|
|
1
|
+
import { defineAsyncComponent as ce, ref as n, useSlots as Re, onMounted as w, computed as B, watch as N, onBeforeUnmount as G, shallowRef as ze, nextTick as fe, createElementBlock as p, openBlock as r, unref as u, createElementVNode as U, createBlock as he, createCommentVNode as R, normalizeClass as Ee, normalizeStyle as h, createTextVNode as D, renderSlot as d, toDisplayString as X, Fragment as j, renderList as Q, mergeProps as me, createSlots as He, withCtx as T, normalizeProps as ge, guardReactiveProps as be } from "vue";
|
|
2
2
|
import { u as Ne, a as Ue } from "./useNestedProp-BjZe1Y85.js";
|
|
3
3
|
import { c as Ve, o as J, f as K, s as Me, P as Le, Q as qe } from "./lib-C_mNZmhD.js";
|
|
4
4
|
import { u as Ge } from "./usePrinter-DTzqpYKF.js";
|
|
@@ -24,11 +24,11 @@ const je = ["id"], Qe = ["height"], Je = ["data-cell", "height"], Ke = {
|
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
26
|
},
|
|
27
|
-
setup(
|
|
28
|
-
const Ce = ce(() => import("./vue-ui-skeleton-
|
|
29
|
-
|
|
27
|
+
setup(k, { expose: ye }) {
|
|
28
|
+
const Ce = ce(() => import("./vue-ui-skeleton-b5fdgyHv.js")), $e = ce(() => import("./UserOptions-CGnQt6Fd.js")), { vue_ui_carousel_table: Te } = Ne(), i = k, V = n(Ve()), W = n(!1), O = n(!!i.dataset), ke = Re();
|
|
29
|
+
w(() => {
|
|
30
30
|
Y();
|
|
31
|
-
}),
|
|
31
|
+
}), w(() => {
|
|
32
32
|
ke["chart-background"] && console.warn("VueUiCarouselTable does not support the #chart-background slot.");
|
|
33
33
|
});
|
|
34
34
|
function Y() {
|
|
@@ -45,7 +45,7 @@ const je = ["id"], Qe = ["height"], Je = ["data-cell", "height"], Ke = {
|
|
|
45
45
|
property: "body"
|
|
46
46
|
}), O.value = !1));
|
|
47
47
|
}
|
|
48
|
-
const e =
|
|
48
|
+
const e = B({
|
|
49
49
|
get: () => ee(),
|
|
50
50
|
set: (t) => t
|
|
51
51
|
}), { userOptionsVisible: M, setUserOptionsVisibility: Z, keepUserOptionState: _ } = De({ config: e.value });
|
|
@@ -66,18 +66,18 @@ const je = ["id"], Qe = ["height"], Je = ["data-cell", "height"], Ke = {
|
|
|
66
66
|
options: e.value.userOptions.print
|
|
67
67
|
}), m = n({
|
|
68
68
|
showAnimation: e.value.animation.use
|
|
69
|
-
}), l = n(null), ne = n(null),
|
|
69
|
+
}), l = n(null), ne = n(null), I = n(null), x = n(null), F = n(0), z = n(0), E = n(!1), S = n(null), b = n(null), A = n(0);
|
|
70
70
|
function L() {
|
|
71
|
-
|
|
72
|
-
elements:
|
|
73
|
-
heights: Array.from(
|
|
71
|
+
S.value && (b.value = {
|
|
72
|
+
elements: S.value.getElementsByTagName("tr"),
|
|
73
|
+
heights: Array.from(S.value.getElementsByTagName("tr")).map((t) => t.getBoundingClientRect().height)
|
|
74
74
|
});
|
|
75
75
|
}
|
|
76
|
-
|
|
77
|
-
const we =
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
}),
|
|
76
|
+
w(L);
|
|
77
|
+
const we = B(() => !b.value || !b.value.heights.length ? 0 : Math.max(...b.value.heights) + F.value + z.value), Oe = B(() => i.dataset.body ? e.value.tbody.tr.visible <= i.dataset.body.length ? e.value.tbody.tr.visible : i.dataset.body.length : 0), Ie = B(() => (e.value.tbody.tr.height + e.value.tbody.tr.td.padding.top + e.value.tbody.tr.td.padding.bottom + e.value.tbody.tr.border.size * 2) * Oe.value + F.value + z.value), c = n(0), y = n(null), v = n(0), C = n(!1), le = n(0);
|
|
78
|
+
w(() => {
|
|
79
|
+
I.value && (F.value = I.value.getBoundingClientRect().height), x.value && (z.value = x.value.getBoundingClientRect().height), m.value.showAnimation && b.value && ie();
|
|
80
|
+
}), w(() => {
|
|
81
81
|
if (l.value) {
|
|
82
82
|
let o = function() {
|
|
83
83
|
const s = t.getBoundingClientRect().bottom;
|
|
@@ -85,13 +85,13 @@ const je = ["id"], Qe = ["height"], Je = ["data-cell", "height"], Ke = {
|
|
|
85
85
|
f.getBoundingClientRect().top < s ? f.style.visibility = "hidden" : f.style.visibility = "visible";
|
|
86
86
|
});
|
|
87
87
|
};
|
|
88
|
-
const t = l.value.querySelector("thead"), a = Array.from(
|
|
88
|
+
const t = l.value.querySelector("thead"), a = Array.from(S.value.querySelectorAll("tr"));
|
|
89
89
|
l.value.addEventListener("scroll", o), o(), G(() => {
|
|
90
90
|
l.value.removeEventListener("scroll", o);
|
|
91
91
|
});
|
|
92
92
|
}
|
|
93
93
|
});
|
|
94
|
-
function
|
|
94
|
+
function xe(t) {
|
|
95
95
|
W.value = t, le.value += 1;
|
|
96
96
|
}
|
|
97
97
|
function ie() {
|
|
@@ -104,32 +104,32 @@ const je = ["id"], Qe = ["height"], Je = ["data-cell", "height"], Ke = {
|
|
|
104
104
|
}
|
|
105
105
|
function se(t) {
|
|
106
106
|
if (C.value) return;
|
|
107
|
-
|
|
107
|
+
v.value || (v.value = t), t - v.value >= e.value.animation.speedMs && (c.value += b.value.heights[A.value], (Fe() || A.value >= b.value.heights.length) && (c.value = 0, A.value = -1), A.value += 1, l.value && l.value.scrollTo({
|
|
108
108
|
top: c.value,
|
|
109
109
|
behavior: "smooth"
|
|
110
|
-
}),
|
|
110
|
+
}), v.value = t), y.value = requestAnimationFrame(se);
|
|
111
111
|
}
|
|
112
112
|
function ue(t) {
|
|
113
113
|
if (C.value) return;
|
|
114
|
-
|
|
115
|
-
const a = t -
|
|
114
|
+
v.value || (v.value = t);
|
|
115
|
+
const a = t - v.value, o = e.value.animation.speedMs / 4 / 1e3;
|
|
116
116
|
a >= o && (c.value += o, c.value >= l.value.scrollHeight - l.value.clientHeight && (c.value = 0), l.value && l.value.scrollTo({
|
|
117
117
|
top: c.value,
|
|
118
118
|
behavior: "auto"
|
|
119
|
-
}),
|
|
119
|
+
}), v.value = t), y.value = requestAnimationFrame(ue);
|
|
120
120
|
}
|
|
121
121
|
function g() {
|
|
122
122
|
C.value = !0, cancelAnimationFrame(y.value), y.value = null;
|
|
123
123
|
}
|
|
124
124
|
G(g);
|
|
125
125
|
function $() {
|
|
126
|
-
!C.value || !m.value.showAnimation || (C.value = !1,
|
|
126
|
+
!C.value || !m.value.showAnimation || (C.value = !1, v.value = 0, ie());
|
|
127
127
|
}
|
|
128
|
-
function
|
|
128
|
+
function Se() {
|
|
129
129
|
e.value.animation.pauseOnHover && g();
|
|
130
130
|
}
|
|
131
131
|
const q = n(null);
|
|
132
|
-
function
|
|
132
|
+
function Pe() {
|
|
133
133
|
g(), clearTimeout(q.value);
|
|
134
134
|
}
|
|
135
135
|
function re() {
|
|
@@ -143,19 +143,19 @@ const je = ["id"], Qe = ["height"], Je = ["data-cell", "height"], Ke = {
|
|
|
143
143
|
), N(
|
|
144
144
|
() => e.value.animation.type,
|
|
145
145
|
(t) => {
|
|
146
|
-
g(), c.value = 0,
|
|
146
|
+
g(), c.value = 0, A.value = 0, l.value.scrollTo({
|
|
147
147
|
top: 0,
|
|
148
148
|
behavior: "auto"
|
|
149
149
|
}), $();
|
|
150
150
|
}
|
|
151
151
|
);
|
|
152
|
-
const
|
|
153
|
-
|
|
152
|
+
const Be = B(() => e.value.responsiveBreakpoint), H = ze(null);
|
|
153
|
+
w(() => {
|
|
154
154
|
H.value = new ResizeObserver((t) => {
|
|
155
155
|
t.forEach((a) => {
|
|
156
|
-
E.value = a.contentRect.width <
|
|
157
|
-
}), F.value =
|
|
158
|
-
g(),
|
|
156
|
+
E.value = a.contentRect.width < Be.value;
|
|
157
|
+
}), F.value = I.value ? I.value.getBoundingClientRect().height : 0, z.value = x.value ? x.value.getBoundingClientRect().height : 0, A.value = 0, fe(() => {
|
|
158
|
+
g(), v.value = 0, c.value = 0, L(), $();
|
|
159
159
|
});
|
|
160
160
|
}), l.value && H.value.observe(l.value);
|
|
161
161
|
}), G(() => {
|
|
@@ -169,8 +169,8 @@ const je = ["id"], Qe = ["height"], Je = ["data-cell", "height"], Ke = {
|
|
|
169
169
|
}
|
|
170
170
|
function pe(t = null) {
|
|
171
171
|
fe(() => {
|
|
172
|
-
const a = i.dataset.head.map((f,
|
|
173
|
-
[i.dataset.body[
|
|
172
|
+
const a = i.dataset.head.map((f, P) => [
|
|
173
|
+
[i.dataset.body[P]]
|
|
174
174
|
]), o = [
|
|
175
175
|
[e.value.caption.text],
|
|
176
176
|
[i.dataset.head.map((f) => [f])]
|
|
@@ -188,7 +188,7 @@ const je = ["id"], Qe = ["height"], Je = ["data-cell", "height"], Ke = {
|
|
|
188
188
|
generateCsv: pe,
|
|
189
189
|
generatePdf: de,
|
|
190
190
|
generateImage: oe
|
|
191
|
-
}), (t, a) => (r(),
|
|
191
|
+
}), (t, a) => (r(), p("div", {
|
|
192
192
|
class: "vue-data-ui-component vue-ui-carousel-table",
|
|
193
193
|
style: { position: "relative", overflow: "visible" },
|
|
194
194
|
ref_key: "chartContainer",
|
|
@@ -201,20 +201,20 @@ const je = ["id"], Qe = ["height"], Je = ["data-cell", "height"], Ke = {
|
|
|
201
201
|
ref: l,
|
|
202
202
|
id: `carousel-table_${V.value}`,
|
|
203
203
|
style: h({
|
|
204
|
-
height: u(te) || u(ae) ? "auto" : `${Math.max(
|
|
204
|
+
height: u(te) || u(ae) ? "auto" : `${Math.max(Ie.value, we.value)}px`,
|
|
205
205
|
containerType: "inline-size",
|
|
206
206
|
position: "relative",
|
|
207
207
|
overflow: "auto",
|
|
208
208
|
fontFamily: e.value.fontFamily
|
|
209
209
|
}),
|
|
210
210
|
class: Ee({ "vue-ui-responsive": E.value, "is-playing": e.value.scrollbar.hide || !C.value && e.value.scrollbar.showOnlyOnHover }),
|
|
211
|
-
onMouseover: a[0] || (a[0] = (o) =>
|
|
211
|
+
onMouseover: a[0] || (a[0] = (o) => Se()),
|
|
212
212
|
onMouseleave: a[1] || (a[1] = (o) => $()),
|
|
213
|
-
onTouchstart: a[2] || (a[2] = (o) =>
|
|
213
|
+
onTouchstart: a[2] || (a[2] = (o) => Pe()),
|
|
214
214
|
onTouchend: a[3] || (a[3] = (o) => re()),
|
|
215
215
|
onTouchcancel: a[4] || (a[4] = (o) => re())
|
|
216
216
|
}, [
|
|
217
|
-
O.value ? (r(),
|
|
217
|
+
O.value ? (r(), p("table", {
|
|
218
218
|
key: 0,
|
|
219
219
|
class: "vue-data-ui-carousel-table",
|
|
220
220
|
style: h({
|
|
@@ -227,7 +227,7 @@ const je = ["id"], Qe = ["height"], Je = ["data-cell", "height"], Ke = {
|
|
|
227
227
|
}, [
|
|
228
228
|
U("caption", {
|
|
229
229
|
ref_key: "caption",
|
|
230
|
-
ref:
|
|
230
|
+
ref: I,
|
|
231
231
|
class: "vue-data-ui-carousel-table-caption",
|
|
232
232
|
style: h({
|
|
233
233
|
...e.value.caption.style,
|
|
@@ -245,14 +245,14 @@ const je = ["id"], Qe = ["height"], Je = ["data-cell", "height"], Ke = {
|
|
|
245
245
|
})
|
|
246
246
|
}, [
|
|
247
247
|
D(X(e.value.caption.text && !t.$slots.caption ? e.value.caption.text : "") + " ", 1),
|
|
248
|
-
|
|
248
|
+
d(t.$slots, "caption", {}, void 0, !0)
|
|
249
249
|
], 4),
|
|
250
250
|
U("thead", {
|
|
251
251
|
style: h({ ...e.value.thead.style, position: "sticky", top: `${t.$slots.caption || e.value.caption.text || e.value.userOptions.show ? F.value : 0}px`, zIndex: 1 })
|
|
252
252
|
}, [
|
|
253
253
|
U("tr", {
|
|
254
254
|
ref_key: "tableRow",
|
|
255
|
-
ref:
|
|
255
|
+
ref: x,
|
|
256
256
|
role: "row",
|
|
257
257
|
style: h({
|
|
258
258
|
...e.value.thead.tr.style,
|
|
@@ -261,7 +261,7 @@ const je = ["id"], Qe = ["height"], Je = ["data-cell", "height"], Ke = {
|
|
|
261
261
|
}),
|
|
262
262
|
height: `${e.value.thead.tr.height}px`
|
|
263
263
|
}, [
|
|
264
|
-
(r(!0),
|
|
264
|
+
(r(!0), p(j, null, Q(k.dataset.head, (o, s) => (r(), p("th", {
|
|
265
265
|
role: "cell",
|
|
266
266
|
key: `th_${s}`,
|
|
267
267
|
style: h({
|
|
@@ -274,28 +274,28 @@ const je = ["id"], Qe = ["height"], Je = ["data-cell", "height"], Ke = {
|
|
|
274
274
|
})
|
|
275
275
|
}, [
|
|
276
276
|
D(X(t.$slots.th ? "" : o) + " ", 1),
|
|
277
|
-
|
|
277
|
+
d(t.$slots, "th", me({ ref_for: !0 }, { th: o, colIndex: s }), void 0, !0)
|
|
278
278
|
], 4))), 128))
|
|
279
279
|
], 12, Qe)
|
|
280
280
|
], 4),
|
|
281
|
-
|
|
281
|
+
k.dataset.body && k.dataset.head ? (r(), p("tbody", {
|
|
282
282
|
key: 0,
|
|
283
283
|
ref_key: "tbody",
|
|
284
|
-
ref:
|
|
284
|
+
ref: S,
|
|
285
285
|
style: {
|
|
286
286
|
clipPath: "inset(0,0,0,0)"
|
|
287
287
|
}
|
|
288
288
|
}, [
|
|
289
|
-
(r(!0),
|
|
289
|
+
(r(!0), p(j, null, Q(k.dataset.body, (o, s) => (r(), p("tr", {
|
|
290
290
|
style: h({
|
|
291
291
|
...e.value.tbody.tr.style,
|
|
292
292
|
border: `${e.value.tbody.tr.border.size}px solid ${e.value.tbody.tr.border.color}`,
|
|
293
293
|
verticalAlign: "middle"
|
|
294
294
|
})
|
|
295
295
|
}, [
|
|
296
|
-
(r(!0),
|
|
296
|
+
(r(!0), p(j, null, Q(o, (f, P) => (r(), p("td", {
|
|
297
297
|
role: "cell",
|
|
298
|
-
"data-cell":
|
|
298
|
+
"data-cell": k.dataset.head[P] || "",
|
|
299
299
|
style: h({
|
|
300
300
|
...e.value.tbody.tr.td.style,
|
|
301
301
|
border: `${e.value.tbody.tr.td.border.size}px solid ${e.value.tbody.tr.td.border.color}`,
|
|
@@ -309,13 +309,13 @@ const je = ["id"], Qe = ["height"], Je = ["data-cell", "height"], Ke = {
|
|
|
309
309
|
height: `${e.value.tbody.tr.height}px`
|
|
310
310
|
}, [
|
|
311
311
|
D(X(t.$slots.td ? "" : f) + " ", 1),
|
|
312
|
-
|
|
312
|
+
d(t.$slots, "td", me({ ref_for: !0 }, { td: f, rowIndex: s, colIndex: P }), void 0, !0)
|
|
313
313
|
], 12, Je))), 256))
|
|
314
314
|
], 4))), 256))
|
|
315
|
-
], 512)) :
|
|
316
|
-
], 4)) :
|
|
315
|
+
], 512)) : R("", !0)
|
|
316
|
+
], 4)) : R("", !0)
|
|
317
317
|
], 46, je),
|
|
318
|
-
O.value ?
|
|
318
|
+
O.value ? R("", !0) : (r(), he(u(Ce), {
|
|
319
319
|
key: 0,
|
|
320
320
|
config: {
|
|
321
321
|
type: "table"
|
|
@@ -350,60 +350,67 @@ const je = ["id"], Qe = ["height"], Je = ["data-cell", "height"], Ke = {
|
|
|
350
350
|
onGenerateCsv: pe,
|
|
351
351
|
onGenerateImage: u(oe),
|
|
352
352
|
onToggleAnimation: ve,
|
|
353
|
-
onToggleFullscreen:
|
|
353
|
+
onToggleFullscreen: xe,
|
|
354
354
|
style: h({
|
|
355
355
|
visibility: u(_) ? u(M) ? "visible" : "hidden" : "visible"
|
|
356
356
|
})
|
|
357
357
|
}, He({ _: 2 }, [
|
|
358
358
|
t.$slots.menuIcon ? {
|
|
359
359
|
name: "menuIcon",
|
|
360
|
-
fn:
|
|
361
|
-
|
|
360
|
+
fn: T(({ isOpen: o, color: s }) => [
|
|
361
|
+
d(t.$slots, "menuIcon", ge(be({ isOpen: o, color: s })), void 0, !0)
|
|
362
362
|
]),
|
|
363
363
|
key: "0"
|
|
364
364
|
} : void 0,
|
|
365
365
|
t.$slots.optionPdf ? {
|
|
366
366
|
name: "optionPdf",
|
|
367
|
-
fn:
|
|
368
|
-
|
|
367
|
+
fn: T(() => [
|
|
368
|
+
d(t.$slots, "optionPdf", {}, void 0, !0)
|
|
369
369
|
]),
|
|
370
370
|
key: "1"
|
|
371
371
|
} : void 0,
|
|
372
372
|
t.$slots.optionCsv ? {
|
|
373
373
|
name: "optionCsv",
|
|
374
|
-
fn:
|
|
375
|
-
|
|
374
|
+
fn: T(() => [
|
|
375
|
+
d(t.$slots, "optionCsv", {}, void 0, !0)
|
|
376
376
|
]),
|
|
377
377
|
key: "2"
|
|
378
378
|
} : void 0,
|
|
379
379
|
t.$slots.optionImg ? {
|
|
380
380
|
name: "optionImg",
|
|
381
|
-
fn:
|
|
382
|
-
|
|
381
|
+
fn: T(() => [
|
|
382
|
+
d(t.$slots, "optionImg", {}, void 0, !0)
|
|
383
383
|
]),
|
|
384
384
|
key: "3"
|
|
385
385
|
} : void 0,
|
|
386
|
+
t.$slots.optionSvg ? {
|
|
387
|
+
name: "optionSvg",
|
|
388
|
+
fn: T(() => [
|
|
389
|
+
d(t.$slots, "optionSvg", {}, void 0, !0)
|
|
390
|
+
]),
|
|
391
|
+
key: "4"
|
|
392
|
+
} : void 0,
|
|
386
393
|
t.$slots.optionAnimation ? {
|
|
387
394
|
name: "optionAnimation",
|
|
388
|
-
fn:
|
|
389
|
-
|
|
395
|
+
fn: T(() => [
|
|
396
|
+
d(t.$slots, "optionAnimation", {}, void 0, !0)
|
|
390
397
|
]),
|
|
391
|
-
key: "
|
|
398
|
+
key: "5"
|
|
392
399
|
} : void 0,
|
|
393
400
|
t.$slots.optionFullscreen ? {
|
|
394
401
|
name: "optionFullscreen",
|
|
395
|
-
fn:
|
|
396
|
-
|
|
402
|
+
fn: T(({ toggleFullscreen: o, isFullscreen: s }) => [
|
|
403
|
+
d(t.$slots, "optionFullscreen", ge(be({ toggleFullscreen: o, isFullscreen: s })), void 0, !0)
|
|
397
404
|
]),
|
|
398
|
-
key: "
|
|
405
|
+
key: "6"
|
|
399
406
|
} : void 0
|
|
400
|
-
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasImg", "hasXls", "hasAnimation", "isAnimation", "hasFullscreen", "isFullscreen", "chartElement", "position", "titles", "callbacks", "printScale", "onGenerateImage", "style"])) :
|
|
401
|
-
t.$slots.source ? (r(),
|
|
402
|
-
|
|
403
|
-
], 512)) :
|
|
407
|
+
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasImg", "hasXls", "hasAnimation", "isAnimation", "hasFullscreen", "isFullscreen", "chartElement", "position", "titles", "callbacks", "printScale", "onGenerateImage", "style"])) : R("", !0),
|
|
408
|
+
t.$slots.source ? (r(), p("div", Ke, [
|
|
409
|
+
d(t.$slots, "source", {}, void 0, !0)
|
|
410
|
+
], 512)) : R("", !0)
|
|
404
411
|
], 544));
|
|
405
412
|
}
|
|
406
|
-
}, ot = /* @__PURE__ */ Xe(We, [["__scopeId", "data-v-
|
|
413
|
+
}, ot = /* @__PURE__ */ Xe(We, [["__scopeId", "data-v-563981b9"]]);
|
|
407
414
|
export {
|
|
408
415
|
ot as default
|
|
409
416
|
};
|