vft 0.0.92 → 0.0.93
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/es/components/index.js +90 -90
- package/es/components/table/table.vue2.js +68 -66
- package/es/index.js +90 -90
- package/es/package.json.js +1 -1
- package/lib/components/index.cjs +1 -1
- package/lib/components/table/table.vue2.cjs +1 -1
- package/lib/index.cjs +1 -1
- package/lib/package.json.cjs +1 -1
- package/package.json +4 -4
- package/web-types.json +1 -1
package/es/components/index.js
CHANGED
|
@@ -78,39 +78,39 @@ import { VftMdCodeDemo as ge } from "./md-code-demo/index.js";
|
|
|
78
78
|
import { VftMdCodeTabs as Pe } from "./md-code-tabs/index.js";
|
|
79
79
|
import { VftMessage as De, VftMessage as ye } from "./message/index.js";
|
|
80
80
|
import { VftLoading as Me } from "./loading/index.js";
|
|
81
|
-
import {
|
|
82
|
-
import {
|
|
83
|
-
import {
|
|
84
|
-
import {
|
|
85
|
-
import { default as Oe } from "./popper/
|
|
86
|
-
import {
|
|
87
|
-
import {
|
|
88
|
-
import {
|
|
89
|
-
import {
|
|
90
|
-
import {
|
|
91
|
-
import {
|
|
92
|
-
import {
|
|
93
|
-
import {
|
|
94
|
-
import {
|
|
95
|
-
import {
|
|
96
|
-
import {
|
|
97
|
-
import {
|
|
98
|
-
import {
|
|
99
|
-
import {
|
|
100
|
-
import {
|
|
101
|
-
import {
|
|
102
|
-
import {
|
|
103
|
-
import {
|
|
104
|
-
import {
|
|
105
|
-
import {
|
|
106
|
-
import {
|
|
107
|
-
import {
|
|
108
|
-
import {
|
|
109
|
-
import {
|
|
110
|
-
import {
|
|
111
|
-
import {
|
|
112
|
-
import {
|
|
113
|
-
import {
|
|
81
|
+
import { EmptyEnum as Ee } from "./empty/constants.js";
|
|
82
|
+
import { TabsRootContextKey as Ke } from "./tabs/types.js";
|
|
83
|
+
import { default as Fe } from "./popper/arrow.vue2.js";
|
|
84
|
+
import { default as Ae } from "./popper/trigger.vue2.js";
|
|
85
|
+
import { default as Oe } from "./popper/content.vue2.js";
|
|
86
|
+
import { TOOLTIP_INJECTION_KEY as _e } from "./tooltip/constants.js";
|
|
87
|
+
import { useTabDropdown as we } from "./multiple-tabs/use/use-tab-dropdown.js";
|
|
88
|
+
import { initAffixTabs as Ne, useTabsDrag as Be } from "./multiple-tabs/use/use-multiple-tabs.js";
|
|
89
|
+
import { configProviderContextKey as Ue, messageConfig as Je } from "./config-provider/constants.js";
|
|
90
|
+
import { provideGlobalConfig as je, useGlobalComponentSettings as qe, useGlobalConfig as We } from "./config-provider/hooks/use-global-config.js";
|
|
91
|
+
import { usePagination as Xe, vftPaginationKey as Ze } from "./pagination/usePagination.js";
|
|
92
|
+
import { formItemValidateStates as or } from "./form/types.js";
|
|
93
|
+
import { formContextKey as er, formItemContextKey as rr } from "./form/constants.js";
|
|
94
|
+
import { useDisabled as pr, useFormDisabled as mr, useFormSize as xr, useSize as ar } from "./form/hooks/use-form-common-props.js";
|
|
95
|
+
import { useFormItem as Vr, useFormItemInputId as nr } from "./form/hooks/use-form-item.js";
|
|
96
|
+
import { buttonGroupContextKey as ur } from "./button/constants.js";
|
|
97
|
+
import { checkboxGroupContextKey as dr } from "./checkbox/constants.js";
|
|
98
|
+
import { radioGroupKey as Cr } from "./radio/constants.js";
|
|
99
|
+
import { BAR_MAP as Tr, GAP as Pr, renderThumbStyle as Ir } from "./scrollbar/util.js";
|
|
100
|
+
import { scrollbarContextKey as yr } from "./scrollbar/constants.js";
|
|
101
|
+
import { DROPDOWN_INJECTION_KEY as Mr } from "./dropdown/tokens.js";
|
|
102
|
+
import { selectV2InjectionKey as Er } from "./select-v2/token.js";
|
|
103
|
+
import { selectGroupKey as Kr, selectKey as vr } from "./select/token.js";
|
|
104
|
+
import { INDEX as kr } from "./table/columns.js";
|
|
105
|
+
import { useDialog as Gr } from "./dialog/hooks/use-dialog.js";
|
|
106
|
+
import { dialogInjectionKey as Rr } from "./dialog/constants.js";
|
|
107
|
+
import { rowContextKey as zr } from "./row/constants.js";
|
|
108
|
+
import { MenuTypeEnum as hr } from "./horizontal-menu/constants.js";
|
|
109
|
+
import { buildTimeList as Br, dateEquals as Hr, extractDateFormat as Ur, extractTimeFormat as Jr, formatter as Yr, makeList as jr, parseDate as qr, rangeArr as Wr, valueEquals as Qr } from "./time-picker/utils.js";
|
|
110
|
+
import { DEFAULT_FORMATS_DATE as Zr, DEFAULT_FORMATS_DATEPICKER as $r, DEFAULT_FORMATS_TIME as of, timeUnits as tf } from "./time-picker/constants.js";
|
|
111
|
+
import { timePickerDefaultProps as rf } from "./time-picker/common/props.js";
|
|
112
|
+
import { default as pf } from "./time-picker/common/picker.vue2.js";
|
|
113
|
+
import { default as xf } from "./time-picker/time-picker-com/panel-time-pick.vue2.js";
|
|
114
114
|
import { ROOT_PICKER_INJECTION_KEY as Vf, datePickerConfig as nf } from "./date-picker/constants.js";
|
|
115
115
|
import { datePickerProps as uf } from "./date-picker/props/date-picker.js";
|
|
116
116
|
import { dragEventsKey as df, useDragNodeHandler as cf } from "./tree/model/useDragNode.js";
|
|
@@ -121,26 +121,26 @@ import { messageDefaults as Sf, messageTypes as Mf } from "./message/types.js";
|
|
|
121
121
|
import { vLoading as Ef, createLoadingDirective as Lf, vLoading as Kf } from "./loading/directive.js";
|
|
122
122
|
import { Loading as Ff } from "./loading/service.js";
|
|
123
123
|
export {
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
124
|
+
Tr as BAR_MAP,
|
|
125
|
+
pf as CommonPicker,
|
|
126
|
+
Zr as DEFAULT_FORMATS_DATE,
|
|
127
|
+
$r as DEFAULT_FORMATS_DATEPICKER,
|
|
128
|
+
of as DEFAULT_FORMATS_TIME,
|
|
129
|
+
Mr as DROPDOWN_INJECTION_KEY,
|
|
130
130
|
st as DynamicSizeGrid,
|
|
131
131
|
at as DynamicSizeList,
|
|
132
|
-
|
|
132
|
+
Ee as EmptyEnum,
|
|
133
133
|
Vt as FixedSizeGrid,
|
|
134
134
|
mt as FixedSizeList,
|
|
135
|
-
|
|
136
|
-
|
|
135
|
+
Pr as GAP,
|
|
136
|
+
kr as INDEX,
|
|
137
137
|
f as Icon,
|
|
138
|
-
|
|
138
|
+
hr as MenuTypeEnum,
|
|
139
139
|
De as Message,
|
|
140
140
|
Vf as ROOT_PICKER_INJECTION_KEY,
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
141
|
+
_e as TOOLTIP_INJECTION_KEY,
|
|
142
|
+
Ke as TabsRootContextKey,
|
|
143
|
+
xf as TimePickPanel,
|
|
144
144
|
ae as VftAlert,
|
|
145
145
|
q as VftAside,
|
|
146
146
|
x as VftAvatar,
|
|
@@ -210,9 +210,9 @@ export {
|
|
|
210
210
|
me as VftPopconfirm,
|
|
211
211
|
D as VftPopover,
|
|
212
212
|
c as VftPopper,
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
213
|
+
Fe as VftPopperArrow,
|
|
214
|
+
Oe as VftPopperContent,
|
|
215
|
+
Ae as VftPopperTrigger,
|
|
216
216
|
Do as VftQrcode,
|
|
217
217
|
Yo as VftRadio,
|
|
218
218
|
jo as VftRadioButton,
|
|
@@ -239,61 +239,61 @@ export {
|
|
|
239
239
|
Xt as VftTree,
|
|
240
240
|
Mt as VftTreeSelect,
|
|
241
241
|
Et as VftVerifyCode,
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
242
|
+
Br as buildTimeList,
|
|
243
|
+
ur as buttonGroupContextKey,
|
|
244
|
+
dr as checkboxGroupContextKey,
|
|
245
|
+
Ue as configProviderContextKey,
|
|
246
246
|
K as createContextMenu,
|
|
247
247
|
Lf as createLoadingDirective,
|
|
248
|
-
|
|
248
|
+
Hr as dateEquals,
|
|
249
249
|
nf as datePickerConfig,
|
|
250
250
|
uf as datePickerProps,
|
|
251
251
|
v as destroyContextMenu,
|
|
252
|
-
|
|
252
|
+
Rr as dialogInjectionKey,
|
|
253
253
|
df as dragEventsKey,
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
254
|
+
Ur as extractDateFormat,
|
|
255
|
+
Jr as extractTimeFormat,
|
|
256
|
+
er as formContextKey,
|
|
257
|
+
rr as formItemContextKey,
|
|
258
|
+
or as formItemValidateStates,
|
|
259
|
+
Yr as formatter,
|
|
260
260
|
gf as getChildState,
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
261
|
+
Ne as initAffixTabs,
|
|
262
|
+
jr as makeList,
|
|
263
|
+
Je as messageConfig,
|
|
264
264
|
Sf as messageDefaults,
|
|
265
265
|
Mf as messageTypes,
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
266
|
+
qr as parseDate,
|
|
267
|
+
je as provideGlobalConfig,
|
|
268
|
+
Cr as radioGroupKey,
|
|
269
|
+
Wr as rangeArr,
|
|
270
|
+
Ir as renderThumbStyle,
|
|
271
|
+
zr as rowContextKey,
|
|
272
|
+
yr as scrollbarContextKey,
|
|
273
|
+
Kr as selectGroupKey,
|
|
274
|
+
vr as selectKey,
|
|
275
|
+
Er as selectV2InjectionKey,
|
|
276
276
|
Pf as spaceProps,
|
|
277
|
-
|
|
278
|
-
|
|
277
|
+
rf as timePickerDefaultProps,
|
|
278
|
+
tf as timeUnits,
|
|
279
279
|
k as useContextMenu,
|
|
280
|
-
|
|
281
|
-
|
|
280
|
+
Gr as useDialog,
|
|
281
|
+
pr as useDisabled,
|
|
282
282
|
cf as useDragNodeHandler,
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
283
|
+
mr as useFormDisabled,
|
|
284
|
+
Vr as useFormItem,
|
|
285
|
+
nr as useFormItemInputId,
|
|
286
|
+
xr as useFormSize,
|
|
287
|
+
qe as useGlobalComponentSettings,
|
|
288
|
+
We as useGlobalConfig,
|
|
289
|
+
Xe as usePagination,
|
|
290
|
+
ar as useSize,
|
|
291
291
|
Df as useSpace,
|
|
292
|
-
|
|
293
|
-
|
|
292
|
+
we as useTabDropdown,
|
|
293
|
+
Be as useTabsDrag,
|
|
294
294
|
Kf as vLoading,
|
|
295
|
-
|
|
296
|
-
|
|
295
|
+
Qr as valueEquals,
|
|
296
|
+
Ze as vftPaginationKey,
|
|
297
297
|
lt as virtualizedGridProps,
|
|
298
298
|
dt as virtualizedListProps,
|
|
299
299
|
ct as virtualizedProps,
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { VftEmpty as
|
|
1
|
+
import { defineComponent as q, useAttrs as J, ref as s, computed as h, watch as y, createVNode as C, reactive as K, onMounted as Q, resolveComponent as U, openBlock as b, createElementBlock as Z, normalizeClass as S, unref as n, createBlock as L, mergeProps as w, createCommentVNode as R, createSlots as _, withCtx as P, withDirectives as ee, createElementVNode as O, vShow as te } from "vue";
|
|
2
|
+
import { VftEmpty as ae } from "../empty/index.js";
|
|
3
3
|
import { VftPagination as W } from "../pagination/index.js";
|
|
4
|
-
import { useNamespace as
|
|
4
|
+
import { useNamespace as le } from "../../hooks/use-namespace/index.js";
|
|
5
5
|
import "@popperjs/core";
|
|
6
6
|
import "lodash";
|
|
7
7
|
import "../../hooks/use-z-index/index.js";
|
|
8
|
-
import { useDebounceFn as
|
|
8
|
+
import { useDebounceFn as ne, useResizeObserver as oe } from "@vueuse/core";
|
|
9
9
|
import "@vft/utils";
|
|
10
10
|
import "../../utils/ns-cover.js";
|
|
11
11
|
import I from "vxe-table";
|
|
12
|
-
import { EmptyEnum as
|
|
12
|
+
import { EmptyEnum as re } from "../empty/constants.js";
|
|
13
13
|
const r = (
|
|
14
14
|
/* hoist-static*/
|
|
15
|
-
|
|
16
|
-
),
|
|
15
|
+
le("table")
|
|
16
|
+
), ie = q({
|
|
17
17
|
name: r.b()
|
|
18
|
-
}),
|
|
19
|
-
...
|
|
18
|
+
}), be = /* @__PURE__ */ q({
|
|
19
|
+
...ie,
|
|
20
20
|
props: {
|
|
21
21
|
maxHeight: {},
|
|
22
22
|
columns: {},
|
|
@@ -51,28 +51,30 @@ const r = (
|
|
|
51
51
|
},
|
|
52
52
|
emits: ["page-change", "sort-change", "update:pageNum"],
|
|
53
53
|
setup(l, {
|
|
54
|
-
expose:
|
|
54
|
+
expose: T,
|
|
55
55
|
emit: d
|
|
56
56
|
}) {
|
|
57
|
-
const
|
|
58
|
-
|
|
57
|
+
const V = J(), $ = s(0), i = s(), A = ne(() => G(), 120), k = h(() => l.pagePlacement.startsWith("bottom")), D = h(() => l.columns.map((e) => (e.align || (e.align = "center"), !e.formatter && !e.slots && !e.cellRender && (e.formatter = ({
|
|
58
|
+
cellValue: t
|
|
59
|
+
}) => t || "-"), e)));
|
|
60
|
+
y([() => l.loading, () => l.data, () => l.columns], () => {
|
|
59
61
|
A();
|
|
60
62
|
}, {
|
|
61
63
|
immediate: !0
|
|
62
64
|
});
|
|
63
|
-
function
|
|
64
|
-
g.data = l.data,
|
|
65
|
+
function G() {
|
|
66
|
+
g.data = l.data, N(l.pageNum);
|
|
65
67
|
}
|
|
66
68
|
I.renderer.add("Encrypt", {
|
|
67
69
|
// 加密模板
|
|
68
70
|
renderDefault(e, t) {
|
|
69
71
|
const {
|
|
70
72
|
row: a,
|
|
71
|
-
column:
|
|
73
|
+
column: f
|
|
72
74
|
} = t;
|
|
73
|
-
return
|
|
75
|
+
return C("span", {
|
|
74
76
|
class: "line-clamp",
|
|
75
|
-
innerHTML: a[
|
|
77
|
+
innerHTML: a[f.field] || "-"
|
|
76
78
|
}, null);
|
|
77
79
|
}
|
|
78
80
|
}), I.formats.mixin({
|
|
@@ -82,13 +84,13 @@ const r = (
|
|
|
82
84
|
return e || "-";
|
|
83
85
|
}
|
|
84
86
|
});
|
|
85
|
-
function
|
|
87
|
+
function M(e) {
|
|
86
88
|
d("page-change", e), d("update:pageNum", e);
|
|
87
89
|
}
|
|
88
|
-
const
|
|
90
|
+
const X = () => ({
|
|
89
91
|
maxHeight: "88px",
|
|
90
92
|
height: "44px"
|
|
91
|
-
}),
|
|
93
|
+
}), j = (e) => {
|
|
92
94
|
var a;
|
|
93
95
|
const {
|
|
94
96
|
column: t
|
|
@@ -96,7 +98,7 @@ const r = (
|
|
|
96
98
|
return {
|
|
97
99
|
maxHeight: ((a = t == null ? void 0 : t.cellRender) == null ? void 0 : a.name) === "Clamp" ? "max-content" : "44px"
|
|
98
100
|
};
|
|
99
|
-
}, g =
|
|
101
|
+
}, g = K({
|
|
100
102
|
autoResize: !0,
|
|
101
103
|
sortConfig: {
|
|
102
104
|
trigger: "cell",
|
|
@@ -113,8 +115,8 @@ const r = (
|
|
|
113
115
|
},
|
|
114
116
|
cellClassName: "cellClass",
|
|
115
117
|
rowClassName: "rowClass",
|
|
116
|
-
cellStyle:
|
|
117
|
-
rowStyle:
|
|
118
|
+
cellStyle: j,
|
|
119
|
+
rowStyle: X,
|
|
118
120
|
headerRowClassName: "headerRowClass",
|
|
119
121
|
headerAlign: "center",
|
|
120
122
|
columnConfig: {
|
|
@@ -131,47 +133,47 @@ const r = (
|
|
|
131
133
|
enabled: !1
|
|
132
134
|
},
|
|
133
135
|
...l.tableConfig,
|
|
134
|
-
...
|
|
135
|
-
}),
|
|
136
|
+
...V
|
|
137
|
+
}), F = (e) => {
|
|
136
138
|
d("sort-change", e);
|
|
137
139
|
};
|
|
138
|
-
|
|
139
|
-
|
|
140
|
+
y(() => l.pageNum, (e) => {
|
|
141
|
+
N(e);
|
|
140
142
|
});
|
|
141
|
-
const
|
|
143
|
+
const N = (e) => {
|
|
142
144
|
g.seqConfig && (g.seqConfig.startIndex = (e - 1) * l.pageSize);
|
|
143
|
-
}, u = s(),
|
|
144
|
-
let
|
|
145
|
-
const c =
|
|
145
|
+
}, u = s(), z = s();
|
|
146
|
+
let p = s(!1), o = s(null), m = s(null);
|
|
147
|
+
const c = h(() => {
|
|
146
148
|
var e;
|
|
147
149
|
return ((e = l.sticky) == null ? void 0 : e.getContainer) || document.documentElement || document.body;
|
|
148
150
|
});
|
|
149
|
-
|
|
151
|
+
y(() => [i, l.sticky], () => {
|
|
150
152
|
var e, t, a;
|
|
151
|
-
(e = i.value) != null && e.$el && l.sticky && ((t = c.value) == null || t.removeEventListener("scroll",
|
|
152
|
-
|
|
153
|
+
(e = i.value) != null && e.$el && l.sticky && ((t = c.value) == null || t.removeEventListener("scroll", v), (a = c.value) == null || a.addEventListener("scroll", v), setTimeout(() => {
|
|
154
|
+
E();
|
|
153
155
|
}, 50));
|
|
154
156
|
}, {
|
|
155
157
|
immediate: !0,
|
|
156
158
|
deep: !0
|
|
157
159
|
});
|
|
158
|
-
function
|
|
159
|
-
if (!o.value || !m.value || (
|
|
160
|
+
function E() {
|
|
161
|
+
if (!o.value || !m.value || (v(), !p.value))
|
|
160
162
|
return;
|
|
161
163
|
const e = o.value.clientWidth, t = m.value.offsetWidth;
|
|
162
|
-
u.value.style.width = e - 1 + "px",
|
|
164
|
+
u.value.style.width = e - 1 + "px", z.value.style.width = t + "px";
|
|
163
165
|
}
|
|
164
|
-
function
|
|
165
|
-
var
|
|
166
|
-
if (!((
|
|
166
|
+
function v() {
|
|
167
|
+
var x, B, H;
|
|
168
|
+
if (!((x = i.value) != null && x.$el) || !o.value || !c.value)
|
|
167
169
|
return;
|
|
168
170
|
const e = ((B = c.value) == null ? void 0 : B.clientHeight) || window.innerHeight || document.documentElement.clientHeight || document.body.clientHeight, {
|
|
169
171
|
top: t,
|
|
170
172
|
bottom: a
|
|
171
|
-
} = o.value.getBoundingClientRect(),
|
|
172
|
-
|
|
173
|
+
} = o.value.getBoundingClientRect(), f = ((H = c.value) == null ? void 0 : H.getBoundingClientRect().top) || document.body.getBoundingClientRect().top;
|
|
174
|
+
p.value = t < e && a > e && a - f > e, u.value.scrollLeft = o.value.scrollLeft;
|
|
173
175
|
}
|
|
174
|
-
const
|
|
176
|
+
const Y = () => {
|
|
175
177
|
var t;
|
|
176
178
|
const e = (t = i.value) == null ? void 0 : t.$el;
|
|
177
179
|
e && (o.value = e.querySelector(".vxe-table--body-wrapper"), m.value = e.querySelector(".vxe-table--body"), !(!o.value && !m.value) && (o.value.addEventListener("scroll", function(a) {
|
|
@@ -180,65 +182,65 @@ const r = (
|
|
|
180
182
|
o.value.scrollLeft = a.target.scrollLeft;
|
|
181
183
|
})));
|
|
182
184
|
};
|
|
183
|
-
return
|
|
184
|
-
l.sticky && (
|
|
185
|
-
}),
|
|
185
|
+
return Q(() => {
|
|
186
|
+
l.sticky && (Y(), oe(i, () => E()));
|
|
187
|
+
}), T({
|
|
186
188
|
table: i
|
|
187
189
|
}), (e, t) => {
|
|
188
|
-
const a =
|
|
189
|
-
return
|
|
190
|
-
class:
|
|
191
|
-
}, [
|
|
190
|
+
const a = U("vxe-grid");
|
|
191
|
+
return b(), Z("div", {
|
|
192
|
+
class: S(n(r).b())
|
|
193
|
+
}, [k.value ? R("", !0) : (b(), L(n(W), w({
|
|
192
194
|
key: 0,
|
|
193
195
|
class: [n(r).e("pager"), n(r).m("pager-" + e.pagePlacement)],
|
|
194
196
|
layout: "prev, pager, next"
|
|
195
197
|
}, e.pageOptions, {
|
|
196
198
|
total: e.total,
|
|
197
199
|
"page-size": e.pageSize,
|
|
198
|
-
onCurrentChange: t[0] || (t[0] = (
|
|
200
|
+
onCurrentChange: t[0] || (t[0] = (f) => d("page-change", e.pageNum)),
|
|
199
201
|
"current-page": e.pageNum
|
|
200
|
-
}), null, 16, ["class", "total", "page-size", "current-page"])),
|
|
202
|
+
}), null, 16, ["class", "total", "page-size", "current-page"])), C(a, w({
|
|
201
203
|
ref_key: "xGrid",
|
|
202
204
|
ref: i
|
|
203
205
|
}, g, {
|
|
204
206
|
height: e.height,
|
|
205
207
|
"max-height": e.maxHeight,
|
|
206
|
-
columns:
|
|
208
|
+
columns: D.value,
|
|
207
209
|
data: e.data,
|
|
208
210
|
"auto-resize": "",
|
|
209
211
|
loading: e.loading,
|
|
210
212
|
resizable: "",
|
|
211
|
-
onSortChange:
|
|
212
|
-
}),
|
|
213
|
-
empty:
|
|
214
|
-
type: n(
|
|
213
|
+
onSortChange: F
|
|
214
|
+
}), _({
|
|
215
|
+
empty: P(() => [C(n(ae), {
|
|
216
|
+
type: n(re).NO_DATA
|
|
215
217
|
}, null, 8, ["type"])]),
|
|
216
218
|
_: 2
|
|
217
219
|
}, [e.sticky ? {
|
|
218
220
|
name: "bottom",
|
|
219
|
-
fn:
|
|
221
|
+
fn: P(() => [ee(O("div", {
|
|
220
222
|
ref_key: "stickyScroll",
|
|
221
223
|
ref: u,
|
|
222
|
-
class:
|
|
224
|
+
class: S(n(r).e("sticky-scroll-warpper"))
|
|
223
225
|
}, [O("div", {
|
|
224
226
|
ref_key: "stickyScrollBar",
|
|
225
|
-
ref:
|
|
226
|
-
class:
|
|
227
|
-
}, null, 2)], 2), [[
|
|
227
|
+
ref: z,
|
|
228
|
+
class: S(n(r).e("sticky-scroll-bar"))
|
|
229
|
+
}, null, 2)], 2), [[te, n(p)]])]),
|
|
228
230
|
key: "0"
|
|
229
|
-
} : void 0]), 1040, ["height", "max-height", "columns", "data", "loading"]),
|
|
231
|
+
} : void 0]), 1040, ["height", "max-height", "columns", "data", "loading"]), k.value ? (b(), L(n(W), w({
|
|
230
232
|
key: 1,
|
|
231
233
|
class: [n(r).e("pager"), n(r).m("pager-" + e.pagePlacement)],
|
|
232
234
|
layout: "prev, pager, next"
|
|
233
235
|
}, e.pageOptions, {
|
|
234
236
|
total: e.total,
|
|
235
237
|
"page-size": e.pageSize,
|
|
236
|
-
onCurrentChange:
|
|
238
|
+
onCurrentChange: M,
|
|
237
239
|
"current-page": e.pageNum
|
|
238
|
-
}), null, 16, ["class", "total", "page-size", "current-page"])) :
|
|
240
|
+
}), null, 16, ["class", "total", "page-size", "current-page"])) : R("", !0)], 2);
|
|
239
241
|
};
|
|
240
242
|
}
|
|
241
243
|
});
|
|
242
244
|
export {
|
|
243
|
-
|
|
245
|
+
be as default
|
|
244
246
|
};
|