3h1-ui 2.1.3 → 2.1.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/es/index.js
CHANGED
|
@@ -6,7 +6,7 @@ import { zxcvbn } from "@zxcvbn-ts/core";
|
|
|
6
6
|
import Iconify from "@purge-icons/generated";
|
|
7
7
|
import Sortablejs from "sortablejs";
|
|
8
8
|
import "xe-utils";
|
|
9
|
-
import "vxe-table";
|
|
9
|
+
import { VxeTable, VxeColumn } from "vxe-table";
|
|
10
10
|
const windiBase = "";
|
|
11
11
|
const windiComponents = "";
|
|
12
12
|
const windiUtilities = "";
|
|
@@ -20276,8 +20276,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
20276
20276
|
};
|
|
20277
20277
|
emits("register", tableAction, formActions);
|
|
20278
20278
|
return (_ctx, _cache) => {
|
|
20279
|
-
const _component_vxe_column = resolveComponent("vxe-column");
|
|
20280
|
-
const _component_vxe_table = resolveComponent("vxe-table");
|
|
20281
20279
|
return openBlock(), createElementBlock("div", {
|
|
20282
20280
|
class: normalizeClass(getClassName("wrapper"))
|
|
20283
20281
|
}, [
|
|
@@ -20300,7 +20298,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
20300
20298
|
createElementVNode("div", {
|
|
20301
20299
|
class: normalizeClass(getClassName("body"))
|
|
20302
20300
|
}, [
|
|
20303
|
-
createVNode(
|
|
20301
|
+
createVNode(unref(VxeTable), mergeProps({
|
|
20304
20302
|
ref_key: "tableRef",
|
|
20305
20303
|
ref: tableRef
|
|
20306
20304
|
}, unref(getBindValues), {
|
|
@@ -20310,25 +20308,24 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
20310
20308
|
onRadioChange: handleRadioChange,
|
|
20311
20309
|
"row-config": { isHover: true },
|
|
20312
20310
|
"show-overflow": "",
|
|
20313
|
-
"column-config": { resizable: true }
|
|
20314
|
-
"edit-config": { trigger: "manual", mode: "row" }
|
|
20311
|
+
"column-config": { resizable: true }
|
|
20315
20312
|
}), {
|
|
20316
20313
|
default: withCtx(() => {
|
|
20317
20314
|
var _a2, _b, _c, _d, _e, _f;
|
|
20318
20315
|
return [
|
|
20319
|
-
((_b = (_a2 = unref(getProps)) == null ? void 0 : _a2.configRowSelection) == null ? void 0 : _b.type) === "checkbox" && ((_c = unref(getProps)) == null ? void 0 : _c.isShowRowSelection) ? (openBlock(), createBlock(
|
|
20316
|
+
((_b = (_a2 = unref(getProps)) == null ? void 0 : _a2.configRowSelection) == null ? void 0 : _b.type) === "checkbox" && ((_c = unref(getProps)) == null ? void 0 : _c.isShowRowSelection) ? (openBlock(), createBlock(unref(VxeColumn), {
|
|
20320
20317
|
key: 0,
|
|
20321
20318
|
type: "checkbox",
|
|
20322
20319
|
width: "60",
|
|
20323
20320
|
align: "center"
|
|
20324
20321
|
})) : createCommentVNode("", true),
|
|
20325
|
-
((_e = (_d = unref(getProps)) == null ? void 0 : _d.configRowSelection) == null ? void 0 : _e.type) === "radio" && ((_f = unref(getProps)) == null ? void 0 : _f.isShowRowSelection) ? (openBlock(), createBlock(
|
|
20322
|
+
((_e = (_d = unref(getProps)) == null ? void 0 : _d.configRowSelection) == null ? void 0 : _e.type) === "radio" && ((_f = unref(getProps)) == null ? void 0 : _f.isShowRowSelection) ? (openBlock(), createBlock(unref(VxeColumn), {
|
|
20326
20323
|
key: 1,
|
|
20327
20324
|
type: "radio",
|
|
20328
20325
|
width: "60",
|
|
20329
20326
|
align: "center"
|
|
20330
20327
|
})) : createCommentVNode("", true),
|
|
20331
|
-
unref(getProps).isShowSeq ? (openBlock(), createBlock(
|
|
20328
|
+
unref(getProps).isShowSeq ? (openBlock(), createBlock(unref(VxeColumn), {
|
|
20332
20329
|
key: 2,
|
|
20333
20330
|
type: "seq",
|
|
20334
20331
|
width: "60",
|
|
@@ -20336,7 +20333,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
20336
20333
|
title: "序号"
|
|
20337
20334
|
})) : createCommentVNode("", true),
|
|
20338
20335
|
(openBlock(true), createElementBlock(Fragment, null, renderList(unref(getColumns), (column, index2) => {
|
|
20339
|
-
return openBlock(), createBlock(
|
|
20336
|
+
return openBlock(), createBlock(unref(VxeColumn), mergeProps({ key: index2 }, column, {
|
|
20340
20337
|
"edit-render": (column == null ? void 0 : column.editRender) || void 0
|
|
20341
20338
|
}), {
|
|
20342
20339
|
default: withCtx((config) => [
|
|
@@ -20364,7 +20361,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
20364
20361
|
_: 2
|
|
20365
20362
|
}, 1040, ["edit-render"]);
|
|
20366
20363
|
}), 128)),
|
|
20367
|
-
unref(getProps).isShowAction ? (openBlock(), createBlock(
|
|
20364
|
+
unref(getProps).isShowAction ? (openBlock(), createBlock(unref(VxeColumn), mergeProps({
|
|
20368
20365
|
key: 3,
|
|
20369
20366
|
title: "操作",
|
|
20370
20367
|
field: "action",
|
|
@@ -20455,7 +20452,7 @@ const withInstall = (comp) => {
|
|
|
20455
20452
|
};
|
|
20456
20453
|
return comp;
|
|
20457
20454
|
};
|
|
20458
|
-
|
|
20455
|
+
withInstall(_sfc_main);
|
|
20459
20456
|
export {
|
|
20460
20457
|
ApiCascader,
|
|
20461
20458
|
ApiModalSelect,
|
|
@@ -20504,7 +20501,6 @@ export {
|
|
|
20504
20501
|
_sfc_main as TablePlus,
|
|
20505
20502
|
ToolbarEnum,
|
|
20506
20503
|
createLoading,
|
|
20507
|
-
registerTablePlus,
|
|
20508
20504
|
treeEmits,
|
|
20509
20505
|
treeProps,
|
|
20510
20506
|
useComponentRegister,
|
|
@@ -141,6 +141,8 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
141
141
|
getTableData: () => any[];
|
|
142
142
|
};
|
|
143
143
|
readonly BasicForm: import("vue").DefineComponent<unknown, object, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<unknown>, {}>;
|
|
144
|
+
readonly VxeTable: import("vxe-table").VXEComponent<import("vxe-table").VxeTableProps<any>, import("vxe-table").VxeTableEventProps>;
|
|
145
|
+
readonly VxeColumn: import("vxe-table").VXEComponent<VxeColumnProps, {}>;
|
|
144
146
|
readonly Pagination: {
|
|
145
147
|
new (...args: any[]): {
|
|
146
148
|
$: import("vue").ComponentInternalInstance;
|
|
@@ -1,583 +1,3 @@
|
|
|
1
1
|
import TablePlus from './TablePlus.vue';
|
|
2
2
|
export * from './hooks';
|
|
3
|
-
|
|
4
|
-
declare type SFCWithInstall<T> = T & Plugin;
|
|
5
|
-
declare const registerTablePlus: SFCWithInstall<import("vue").DefineComponent<{
|
|
6
|
-
api: {
|
|
7
|
-
type: any;
|
|
8
|
-
required: false;
|
|
9
|
-
};
|
|
10
|
-
columns: {
|
|
11
|
-
type: ArrayConstructor;
|
|
12
|
-
required: false;
|
|
13
|
-
default: () => import("vxe-table").VxeColumnProps[];
|
|
14
|
-
};
|
|
15
|
-
isShowSeq: {
|
|
16
|
-
type: BooleanConstructor;
|
|
17
|
-
required: false;
|
|
18
|
-
default: boolean;
|
|
19
|
-
};
|
|
20
|
-
isCompatible: {
|
|
21
|
-
type: BooleanConstructor;
|
|
22
|
-
required: false;
|
|
23
|
-
default: boolean;
|
|
24
|
-
};
|
|
25
|
-
actionColumn: {
|
|
26
|
-
type: any;
|
|
27
|
-
required: false;
|
|
28
|
-
default: () => {
|
|
29
|
-
title: string;
|
|
30
|
-
field: string;
|
|
31
|
-
width: number;
|
|
32
|
-
};
|
|
33
|
-
};
|
|
34
|
-
isShowSearch: {
|
|
35
|
-
type: BooleanConstructor;
|
|
36
|
-
required: false;
|
|
37
|
-
default: boolean;
|
|
38
|
-
};
|
|
39
|
-
isShowRowSelection: {
|
|
40
|
-
type: BooleanConstructor;
|
|
41
|
-
required: false;
|
|
42
|
-
default: boolean;
|
|
43
|
-
};
|
|
44
|
-
isShowAction: {
|
|
45
|
-
type: BooleanConstructor;
|
|
46
|
-
required: false;
|
|
47
|
-
default: boolean;
|
|
48
|
-
};
|
|
49
|
-
isShowPagination: {
|
|
50
|
-
type: BooleanConstructor;
|
|
51
|
-
required: false;
|
|
52
|
-
default: boolean;
|
|
53
|
-
};
|
|
54
|
-
isUseDefaultEditAction: {
|
|
55
|
-
type: BooleanConstructor;
|
|
56
|
-
required: false;
|
|
57
|
-
default: boolean;
|
|
58
|
-
};
|
|
59
|
-
isShowToolbar: {
|
|
60
|
-
type: BooleanConstructor;
|
|
61
|
-
required: false;
|
|
62
|
-
default: boolean;
|
|
63
|
-
};
|
|
64
|
-
isImmediate: {
|
|
65
|
-
type: BooleanConstructor;
|
|
66
|
-
required: false;
|
|
67
|
-
default: boolean;
|
|
68
|
-
};
|
|
69
|
-
configRowSelection: {
|
|
70
|
-
type: any;
|
|
71
|
-
required: false;
|
|
72
|
-
default: {
|
|
73
|
-
type: string;
|
|
74
|
-
};
|
|
75
|
-
};
|
|
76
|
-
formConfig: {
|
|
77
|
-
type: any;
|
|
78
|
-
required: false;
|
|
79
|
-
default: {};
|
|
80
|
-
};
|
|
81
|
-
searchInfo: {
|
|
82
|
-
type: any;
|
|
83
|
-
required: false;
|
|
84
|
-
default: {};
|
|
85
|
-
};
|
|
86
|
-
transSearchInfoBeforeReload: {
|
|
87
|
-
type: any;
|
|
88
|
-
required: false;
|
|
89
|
-
default: () => (form: any) => any;
|
|
90
|
-
};
|
|
91
|
-
isUseEdit: {
|
|
92
|
-
type: BooleanConstructor;
|
|
93
|
-
required: false;
|
|
94
|
-
};
|
|
95
|
-
}, {
|
|
96
|
-
emits: (event: "register" | "selection-change" | "row-ensure" | "row-cancel", ...args: any[]) => void;
|
|
97
|
-
prefixCls: string;
|
|
98
|
-
getClassName: (className: any) => string;
|
|
99
|
-
props: any;
|
|
100
|
-
innerProps: import("vue").Ref<{}>;
|
|
101
|
-
getProps: import("vue").ComputedRef<any>;
|
|
102
|
-
setProps: (props: any) => void;
|
|
103
|
-
attrs: {
|
|
104
|
-
[x: string]: unknown;
|
|
105
|
-
};
|
|
106
|
-
slots: Readonly<{
|
|
107
|
-
[name: string]: import("vue").Slot;
|
|
108
|
-
}>;
|
|
109
|
-
getBindValues: import("vue").ComputedRef<any>;
|
|
110
|
-
getColumns: any;
|
|
111
|
-
page: {
|
|
112
|
-
total: number;
|
|
113
|
-
current: number;
|
|
114
|
-
pageSize: number;
|
|
115
|
-
pageSizeOptions: string[];
|
|
116
|
-
};
|
|
117
|
-
setPage: (pageInfo: any) => void;
|
|
118
|
-
handlePageChange: (current: any, pageSize: any) => void;
|
|
119
|
-
getFormConfig: import("vue").ComputedRef<any>;
|
|
120
|
-
registerForm: import("../form").RegisterFn;
|
|
121
|
-
formActions: import("../form").FormActionType;
|
|
122
|
-
formSearch: import("vue").Ref<{}>;
|
|
123
|
-
handleSearchFormSubmit: (form: any) => void;
|
|
124
|
-
params: import("vue").ComputedRef<any>;
|
|
125
|
-
dataSource: import("vue").Ref<any[]>;
|
|
126
|
-
setTableData: (data: any) => void;
|
|
127
|
-
reload: () => Promise<void>;
|
|
128
|
-
getTableData: () => any[];
|
|
129
|
-
tableRef: import("vue").Ref<any>;
|
|
130
|
-
handleCheckboxChange: () => void;
|
|
131
|
-
handleRadioChange: () => void;
|
|
132
|
-
getRowSelection: () => any;
|
|
133
|
-
setEditByRow: (row: any) => void;
|
|
134
|
-
cancelEditByRow: (row: any) => void;
|
|
135
|
-
handleEditEnsure: (row: any) => void;
|
|
136
|
-
handleEditCancel: (row: any) => void;
|
|
137
|
-
tableAction: {
|
|
138
|
-
reload: () => Promise<void>;
|
|
139
|
-
setTableData: (data: any) => void;
|
|
140
|
-
setProps: (props: any) => void;
|
|
141
|
-
getRowSelection: () => any;
|
|
142
|
-
setEditByRow: (row: any) => void;
|
|
143
|
-
cancelEditByRow: (row: any) => void;
|
|
144
|
-
getTableData: () => any[];
|
|
145
|
-
};
|
|
146
|
-
readonly BasicForm: import("vue").DefineComponent<unknown, object, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<unknown>, {}>;
|
|
147
|
-
readonly Pagination: {
|
|
148
|
-
new (...args: any[]): {
|
|
149
|
-
$: import("vue").ComponentInternalInstance;
|
|
150
|
-
$data: {};
|
|
151
|
-
$props: Partial<{
|
|
152
|
-
disabled: boolean;
|
|
153
|
-
responsive: boolean;
|
|
154
|
-
hideOnSinglePage: boolean;
|
|
155
|
-
showSizeChanger: boolean;
|
|
156
|
-
showLessItems: boolean;
|
|
157
|
-
showQuickJumper: boolean | {
|
|
158
|
-
goButton?: any;
|
|
159
|
-
};
|
|
160
|
-
simple: boolean;
|
|
161
|
-
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
162
|
-
total: NumberConstructor;
|
|
163
|
-
defaultCurrent: NumberConstructor;
|
|
164
|
-
disabled: {
|
|
165
|
-
type: BooleanConstructor;
|
|
166
|
-
default: any;
|
|
167
|
-
};
|
|
168
|
-
current: NumberConstructor;
|
|
169
|
-
defaultPageSize: NumberConstructor;
|
|
170
|
-
pageSize: NumberConstructor;
|
|
171
|
-
hideOnSinglePage: {
|
|
172
|
-
type: BooleanConstructor;
|
|
173
|
-
default: any;
|
|
174
|
-
};
|
|
175
|
-
showSizeChanger: {
|
|
176
|
-
type: BooleanConstructor;
|
|
177
|
-
default: any;
|
|
178
|
-
};
|
|
179
|
-
pageSizeOptions: import("vue").PropType<(string | number)[]>;
|
|
180
|
-
buildOptionText: import("vue").PropType<(opt: {
|
|
181
|
-
value: any;
|
|
182
|
-
}) => any>;
|
|
183
|
-
showQuickJumper: {
|
|
184
|
-
type: import("vue").PropType<boolean | {
|
|
185
|
-
goButton?: any;
|
|
186
|
-
}>;
|
|
187
|
-
default: boolean | {
|
|
188
|
-
goButton?: any;
|
|
189
|
-
};
|
|
190
|
-
};
|
|
191
|
-
showTotal: import("vue").PropType<(total: number, range: [number, number]) => any>;
|
|
192
|
-
size: import("vue").PropType<"small" | "default">;
|
|
193
|
-
simple: {
|
|
194
|
-
type: BooleanConstructor;
|
|
195
|
-
default: any;
|
|
196
|
-
};
|
|
197
|
-
locale: ObjectConstructor;
|
|
198
|
-
prefixCls: StringConstructor;
|
|
199
|
-
selectPrefixCls: StringConstructor;
|
|
200
|
-
totalBoundaryShowSizeChanger: NumberConstructor;
|
|
201
|
-
selectComponentClass: StringConstructor;
|
|
202
|
-
itemRender: import("vue").PropType<(opt: {
|
|
203
|
-
page: number;
|
|
204
|
-
type: "page" | "prev" | "next" | "jump-prev" | "jump-next";
|
|
205
|
-
originalElement: any;
|
|
206
|
-
}) => any>;
|
|
207
|
-
role: StringConstructor;
|
|
208
|
-
responsive: BooleanConstructor;
|
|
209
|
-
showLessItems: {
|
|
210
|
-
type: BooleanConstructor;
|
|
211
|
-
default: any;
|
|
212
|
-
};
|
|
213
|
-
onChange: import("vue").PropType<(page: number, pageSize: number) => void>;
|
|
214
|
-
onShowSizeChange: import("vue").PropType<(current: number, size: number) => void>;
|
|
215
|
-
'onUpdate:current': import("vue").PropType<(current: number) => void>;
|
|
216
|
-
'onUpdate:pageSize': import("vue").PropType<(size: number) => void>;
|
|
217
|
-
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "disabled" | "hideOnSinglePage" | "showSizeChanger" | "showQuickJumper" | "simple" | "responsive" | "showLessItems">;
|
|
218
|
-
$attrs: {
|
|
219
|
-
[x: string]: unknown;
|
|
220
|
-
};
|
|
221
|
-
$refs: {
|
|
222
|
-
[x: string]: unknown;
|
|
223
|
-
};
|
|
224
|
-
$slots: Readonly<{
|
|
225
|
-
[name: string]: import("vue").Slot<any>;
|
|
226
|
-
}>;
|
|
227
|
-
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>;
|
|
228
|
-
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>;
|
|
229
|
-
$emit: (event: string, ...args: any[]) => void;
|
|
230
|
-
$el: any;
|
|
231
|
-
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
232
|
-
total: NumberConstructor;
|
|
233
|
-
defaultCurrent: NumberConstructor;
|
|
234
|
-
disabled: {
|
|
235
|
-
type: BooleanConstructor;
|
|
236
|
-
default: any;
|
|
237
|
-
};
|
|
238
|
-
current: NumberConstructor;
|
|
239
|
-
defaultPageSize: NumberConstructor;
|
|
240
|
-
pageSize: NumberConstructor;
|
|
241
|
-
hideOnSinglePage: {
|
|
242
|
-
type: BooleanConstructor;
|
|
243
|
-
default: any;
|
|
244
|
-
};
|
|
245
|
-
showSizeChanger: {
|
|
246
|
-
type: BooleanConstructor;
|
|
247
|
-
default: any;
|
|
248
|
-
};
|
|
249
|
-
pageSizeOptions: import("vue").PropType<(string | number)[]>;
|
|
250
|
-
buildOptionText: import("vue").PropType<(opt: {
|
|
251
|
-
value: any;
|
|
252
|
-
}) => any>;
|
|
253
|
-
showQuickJumper: {
|
|
254
|
-
type: import("vue").PropType<boolean | {
|
|
255
|
-
goButton?: any;
|
|
256
|
-
}>;
|
|
257
|
-
default: boolean | {
|
|
258
|
-
goButton?: any;
|
|
259
|
-
};
|
|
260
|
-
};
|
|
261
|
-
showTotal: import("vue").PropType<(total: number, range: [number, number]) => any>;
|
|
262
|
-
size: import("vue").PropType<"small" | "default">;
|
|
263
|
-
simple: {
|
|
264
|
-
type: BooleanConstructor;
|
|
265
|
-
default: any;
|
|
266
|
-
};
|
|
267
|
-
locale: ObjectConstructor;
|
|
268
|
-
prefixCls: StringConstructor;
|
|
269
|
-
selectPrefixCls: StringConstructor;
|
|
270
|
-
totalBoundaryShowSizeChanger: NumberConstructor;
|
|
271
|
-
selectComponentClass: StringConstructor;
|
|
272
|
-
itemRender: import("vue").PropType<(opt: {
|
|
273
|
-
page: number;
|
|
274
|
-
type: "page" | "prev" | "next" | "jump-prev" | "jump-next";
|
|
275
|
-
originalElement: any;
|
|
276
|
-
}) => any>;
|
|
277
|
-
role: StringConstructor;
|
|
278
|
-
responsive: BooleanConstructor;
|
|
279
|
-
showLessItems: {
|
|
280
|
-
type: BooleanConstructor;
|
|
281
|
-
default: any;
|
|
282
|
-
};
|
|
283
|
-
onChange: import("vue").PropType<(page: number, pageSize: number) => void>;
|
|
284
|
-
onShowSizeChange: import("vue").PropType<(current: number, size: number) => void>;
|
|
285
|
-
'onUpdate:current': import("vue").PropType<(current: number) => void>;
|
|
286
|
-
'onUpdate:pageSize': import("vue").PropType<(size: number) => void>;
|
|
287
|
-
}>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
288
|
-
disabled: boolean;
|
|
289
|
-
responsive: boolean;
|
|
290
|
-
hideOnSinglePage: boolean;
|
|
291
|
-
showSizeChanger: boolean;
|
|
292
|
-
showLessItems: boolean;
|
|
293
|
-
showQuickJumper: boolean | {
|
|
294
|
-
goButton?: any;
|
|
295
|
-
};
|
|
296
|
-
simple: boolean;
|
|
297
|
-
}, {}, string, {}> & {
|
|
298
|
-
beforeCreate?: (() => void) | (() => void)[];
|
|
299
|
-
created?: (() => void) | (() => void)[];
|
|
300
|
-
beforeMount?: (() => void) | (() => void)[];
|
|
301
|
-
mounted?: (() => void) | (() => void)[];
|
|
302
|
-
beforeUpdate?: (() => void) | (() => void)[];
|
|
303
|
-
updated?: (() => void) | (() => void)[];
|
|
304
|
-
activated?: (() => void) | (() => void)[];
|
|
305
|
-
deactivated?: (() => void) | (() => void)[];
|
|
306
|
-
beforeDestroy?: (() => void) | (() => void)[];
|
|
307
|
-
beforeUnmount?: (() => void) | (() => void)[];
|
|
308
|
-
destroyed?: (() => void) | (() => void)[];
|
|
309
|
-
unmounted?: (() => void) | (() => void)[];
|
|
310
|
-
renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
|
311
|
-
renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
|
312
|
-
errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>, info: string) => boolean | void)[];
|
|
313
|
-
};
|
|
314
|
-
$forceUpdate: () => void;
|
|
315
|
-
$nextTick: typeof import("vue").nextTick;
|
|
316
|
-
$watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
|
|
317
|
-
} & Readonly<import("vue").ExtractPropTypes<{
|
|
318
|
-
total: NumberConstructor;
|
|
319
|
-
defaultCurrent: NumberConstructor;
|
|
320
|
-
disabled: {
|
|
321
|
-
type: BooleanConstructor;
|
|
322
|
-
default: any;
|
|
323
|
-
};
|
|
324
|
-
current: NumberConstructor;
|
|
325
|
-
defaultPageSize: NumberConstructor;
|
|
326
|
-
pageSize: NumberConstructor;
|
|
327
|
-
hideOnSinglePage: {
|
|
328
|
-
type: BooleanConstructor;
|
|
329
|
-
default: any;
|
|
330
|
-
};
|
|
331
|
-
showSizeChanger: {
|
|
332
|
-
type: BooleanConstructor;
|
|
333
|
-
default: any;
|
|
334
|
-
};
|
|
335
|
-
pageSizeOptions: import("vue").PropType<(string | number)[]>;
|
|
336
|
-
buildOptionText: import("vue").PropType<(opt: {
|
|
337
|
-
value: any;
|
|
338
|
-
}) => any>;
|
|
339
|
-
showQuickJumper: {
|
|
340
|
-
type: import("vue").PropType<boolean | {
|
|
341
|
-
goButton?: any;
|
|
342
|
-
}>;
|
|
343
|
-
default: boolean | {
|
|
344
|
-
goButton?: any;
|
|
345
|
-
};
|
|
346
|
-
};
|
|
347
|
-
showTotal: import("vue").PropType<(total: number, range: [number, number]) => any>;
|
|
348
|
-
size: import("vue").PropType<"small" | "default">;
|
|
349
|
-
simple: {
|
|
350
|
-
type: BooleanConstructor;
|
|
351
|
-
default: any;
|
|
352
|
-
};
|
|
353
|
-
locale: ObjectConstructor;
|
|
354
|
-
prefixCls: StringConstructor;
|
|
355
|
-
selectPrefixCls: StringConstructor;
|
|
356
|
-
totalBoundaryShowSizeChanger: NumberConstructor;
|
|
357
|
-
selectComponentClass: StringConstructor;
|
|
358
|
-
itemRender: import("vue").PropType<(opt: {
|
|
359
|
-
page: number;
|
|
360
|
-
type: "page" | "prev" | "next" | "jump-prev" | "jump-next";
|
|
361
|
-
originalElement: any;
|
|
362
|
-
}) => any>;
|
|
363
|
-
role: StringConstructor;
|
|
364
|
-
responsive: BooleanConstructor;
|
|
365
|
-
showLessItems: {
|
|
366
|
-
type: BooleanConstructor;
|
|
367
|
-
default: any;
|
|
368
|
-
};
|
|
369
|
-
onChange: import("vue").PropType<(page: number, pageSize: number) => void>;
|
|
370
|
-
onShowSizeChange: import("vue").PropType<(current: number, size: number) => void>;
|
|
371
|
-
'onUpdate:current': import("vue").PropType<(current: number) => void>;
|
|
372
|
-
'onUpdate:pageSize': import("vue").PropType<(size: number) => void>;
|
|
373
|
-
}>> & import("vue").ShallowUnwrapRef<() => JSX.Element> & import("vue").ComponentCustomProperties;
|
|
374
|
-
__isFragment?: never;
|
|
375
|
-
__isTeleport?: never;
|
|
376
|
-
__isSuspense?: never;
|
|
377
|
-
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
378
|
-
total: NumberConstructor;
|
|
379
|
-
defaultCurrent: NumberConstructor;
|
|
380
|
-
disabled: {
|
|
381
|
-
type: BooleanConstructor;
|
|
382
|
-
default: any;
|
|
383
|
-
};
|
|
384
|
-
current: NumberConstructor;
|
|
385
|
-
defaultPageSize: NumberConstructor;
|
|
386
|
-
pageSize: NumberConstructor;
|
|
387
|
-
hideOnSinglePage: {
|
|
388
|
-
type: BooleanConstructor;
|
|
389
|
-
default: any;
|
|
390
|
-
};
|
|
391
|
-
showSizeChanger: {
|
|
392
|
-
type: BooleanConstructor;
|
|
393
|
-
default: any;
|
|
394
|
-
};
|
|
395
|
-
pageSizeOptions: import("vue").PropType<(string | number)[]>;
|
|
396
|
-
buildOptionText: import("vue").PropType<(opt: {
|
|
397
|
-
value: any;
|
|
398
|
-
}) => any>;
|
|
399
|
-
showQuickJumper: {
|
|
400
|
-
type: import("vue").PropType<boolean | {
|
|
401
|
-
goButton?: any;
|
|
402
|
-
}>;
|
|
403
|
-
default: boolean | {
|
|
404
|
-
goButton?: any;
|
|
405
|
-
};
|
|
406
|
-
};
|
|
407
|
-
showTotal: import("vue").PropType<(total: number, range: [number, number]) => any>;
|
|
408
|
-
size: import("vue").PropType<"small" | "default">;
|
|
409
|
-
simple: {
|
|
410
|
-
type: BooleanConstructor;
|
|
411
|
-
default: any;
|
|
412
|
-
};
|
|
413
|
-
locale: ObjectConstructor;
|
|
414
|
-
prefixCls: StringConstructor;
|
|
415
|
-
selectPrefixCls: StringConstructor;
|
|
416
|
-
totalBoundaryShowSizeChanger: NumberConstructor;
|
|
417
|
-
selectComponentClass: StringConstructor;
|
|
418
|
-
itemRender: import("vue").PropType<(opt: {
|
|
419
|
-
page: number;
|
|
420
|
-
type: "page" | "prev" | "next" | "jump-prev" | "jump-next";
|
|
421
|
-
originalElement: any;
|
|
422
|
-
}) => any>;
|
|
423
|
-
role: StringConstructor;
|
|
424
|
-
responsive: BooleanConstructor;
|
|
425
|
-
showLessItems: {
|
|
426
|
-
type: BooleanConstructor;
|
|
427
|
-
default: any;
|
|
428
|
-
};
|
|
429
|
-
onChange: import("vue").PropType<(page: number, pageSize: number) => void>;
|
|
430
|
-
onShowSizeChange: import("vue").PropType<(current: number, size: number) => void>;
|
|
431
|
-
'onUpdate:current': import("vue").PropType<(current: number) => void>;
|
|
432
|
-
'onUpdate:pageSize': import("vue").PropType<(size: number) => void>;
|
|
433
|
-
}>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
434
|
-
disabled: boolean;
|
|
435
|
-
responsive: boolean;
|
|
436
|
-
hideOnSinglePage: boolean;
|
|
437
|
-
showSizeChanger: boolean;
|
|
438
|
-
showLessItems: boolean;
|
|
439
|
-
showQuickJumper: boolean | {
|
|
440
|
-
goButton?: any;
|
|
441
|
-
};
|
|
442
|
-
simple: boolean;
|
|
443
|
-
}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Plugin;
|
|
444
|
-
readonly CellComponent: import("vue").FunctionalComponent<{}, {}>;
|
|
445
|
-
ButtonGroupEdit: import("vue").DefineComponent<{
|
|
446
|
-
row: {
|
|
447
|
-
default: any;
|
|
448
|
-
};
|
|
449
|
-
}, {
|
|
450
|
-
emit: (event: "updateStatusEdit" | "edit-ensure" | "edit-cancel", ...args: any[]) => void;
|
|
451
|
-
props: any;
|
|
452
|
-
getActions: import("vue").ComputedRef<{
|
|
453
|
-
label: string;
|
|
454
|
-
onClick: () => void;
|
|
455
|
-
ifShow: boolean;
|
|
456
|
-
}[]>;
|
|
457
|
-
TableAction: import("vue").DefineComponent<unknown, object, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<unknown>, {}>;
|
|
458
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("updateStatusEdit" | "edit-ensure" | "edit-cancel")[], "updateStatusEdit" | "edit-ensure" | "edit-cancel", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
459
|
-
row: {
|
|
460
|
-
default: any;
|
|
461
|
-
};
|
|
462
|
-
}>> & {
|
|
463
|
-
onUpdateStatusEdit?: (...args: any[]) => any;
|
|
464
|
-
"onEdit-ensure"?: (...args: any[]) => any;
|
|
465
|
-
"onEdit-cancel"?: (...args: any[]) => any;
|
|
466
|
-
}, {
|
|
467
|
-
row: any;
|
|
468
|
-
}>;
|
|
469
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("register" | "selection-change" | "row-ensure" | "row-cancel")[], "register" | "selection-change" | "row-ensure" | "row-cancel", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
470
|
-
api: {
|
|
471
|
-
type: any;
|
|
472
|
-
required: false;
|
|
473
|
-
};
|
|
474
|
-
columns: {
|
|
475
|
-
type: ArrayConstructor;
|
|
476
|
-
required: false;
|
|
477
|
-
default: () => import("vxe-table").VxeColumnProps[];
|
|
478
|
-
};
|
|
479
|
-
isShowSeq: {
|
|
480
|
-
type: BooleanConstructor;
|
|
481
|
-
required: false;
|
|
482
|
-
default: boolean;
|
|
483
|
-
};
|
|
484
|
-
isCompatible: {
|
|
485
|
-
type: BooleanConstructor;
|
|
486
|
-
required: false;
|
|
487
|
-
default: boolean;
|
|
488
|
-
};
|
|
489
|
-
actionColumn: {
|
|
490
|
-
type: any;
|
|
491
|
-
required: false;
|
|
492
|
-
default: () => {
|
|
493
|
-
title: string;
|
|
494
|
-
field: string;
|
|
495
|
-
width: number;
|
|
496
|
-
};
|
|
497
|
-
};
|
|
498
|
-
isShowSearch: {
|
|
499
|
-
type: BooleanConstructor;
|
|
500
|
-
required: false;
|
|
501
|
-
default: boolean;
|
|
502
|
-
};
|
|
503
|
-
isShowRowSelection: {
|
|
504
|
-
type: BooleanConstructor;
|
|
505
|
-
required: false;
|
|
506
|
-
default: boolean;
|
|
507
|
-
};
|
|
508
|
-
isShowAction: {
|
|
509
|
-
type: BooleanConstructor;
|
|
510
|
-
required: false;
|
|
511
|
-
default: boolean;
|
|
512
|
-
};
|
|
513
|
-
isShowPagination: {
|
|
514
|
-
type: BooleanConstructor;
|
|
515
|
-
required: false;
|
|
516
|
-
default: boolean;
|
|
517
|
-
};
|
|
518
|
-
isUseDefaultEditAction: {
|
|
519
|
-
type: BooleanConstructor;
|
|
520
|
-
required: false;
|
|
521
|
-
default: boolean;
|
|
522
|
-
};
|
|
523
|
-
isShowToolbar: {
|
|
524
|
-
type: BooleanConstructor;
|
|
525
|
-
required: false;
|
|
526
|
-
default: boolean;
|
|
527
|
-
};
|
|
528
|
-
isImmediate: {
|
|
529
|
-
type: BooleanConstructor;
|
|
530
|
-
required: false;
|
|
531
|
-
default: boolean;
|
|
532
|
-
};
|
|
533
|
-
configRowSelection: {
|
|
534
|
-
type: any;
|
|
535
|
-
required: false;
|
|
536
|
-
default: {
|
|
537
|
-
type: string;
|
|
538
|
-
};
|
|
539
|
-
};
|
|
540
|
-
formConfig: {
|
|
541
|
-
type: any;
|
|
542
|
-
required: false;
|
|
543
|
-
default: {};
|
|
544
|
-
};
|
|
545
|
-
searchInfo: {
|
|
546
|
-
type: any;
|
|
547
|
-
required: false;
|
|
548
|
-
default: {};
|
|
549
|
-
};
|
|
550
|
-
transSearchInfoBeforeReload: {
|
|
551
|
-
type: any;
|
|
552
|
-
required: false;
|
|
553
|
-
default: () => (form: any) => any;
|
|
554
|
-
};
|
|
555
|
-
isUseEdit: {
|
|
556
|
-
type: BooleanConstructor;
|
|
557
|
-
required: false;
|
|
558
|
-
};
|
|
559
|
-
}>> & {
|
|
560
|
-
onRegister?: (...args: any[]) => any;
|
|
561
|
-
"onSelection-change"?: (...args: any[]) => any;
|
|
562
|
-
"onRow-ensure"?: (...args: any[]) => any;
|
|
563
|
-
"onRow-cancel"?: (...args: any[]) => any;
|
|
564
|
-
}, {
|
|
565
|
-
columns: unknown[];
|
|
566
|
-
api: any;
|
|
567
|
-
isShowSeq: boolean;
|
|
568
|
-
isCompatible: boolean;
|
|
569
|
-
actionColumn: any;
|
|
570
|
-
isShowSearch: boolean;
|
|
571
|
-
isShowRowSelection: boolean;
|
|
572
|
-
isShowAction: boolean;
|
|
573
|
-
isShowPagination: boolean;
|
|
574
|
-
isUseDefaultEditAction: boolean;
|
|
575
|
-
isShowToolbar: boolean;
|
|
576
|
-
isImmediate: boolean;
|
|
577
|
-
configRowSelection: any;
|
|
578
|
-
formConfig: any;
|
|
579
|
-
searchInfo: any;
|
|
580
|
-
transSearchInfoBeforeReload: any;
|
|
581
|
-
isUseEdit: boolean;
|
|
582
|
-
}>>;
|
|
583
|
-
export { TablePlus, registerTablePlus };
|
|
3
|
+
export { TablePlus };
|