@juzhenfe/page-model 3.13.3 → 3.14.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/dist/components/table/components/table-column/components/filter-zone/index.vue.d.ts +72 -0
- package/dist/components/table/components/table-column/index.vue.d.ts +281 -0
- package/dist/components/table/constructor.d.ts +16 -0
- package/dist/components/table/type.d.ts +12 -0
- package/dist/components/table/utils/save-column-filter.d.ts +2 -0
- package/dist/components/table-toolsbox/index.vue.d.ts +25 -1
- package/dist/index.es.js +296 -212
- package/dist/index.min.css +1 -1
- package/dist/index.umd.js +3 -3
- package/dist/types/common.d.ts +19 -17
- package/package.json +1 -1
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import { FilterItemTypeEnum, FilterMatchModeEnum } from "./utils";
|
|
2
|
+
declare const _sfc_main: import("vue").DefineComponent<{
|
|
3
|
+
tableManager: {
|
|
4
|
+
type: ObjectConstructor;
|
|
5
|
+
required: true;
|
|
6
|
+
};
|
|
7
|
+
}, {
|
|
8
|
+
props: any;
|
|
9
|
+
emit: (event: "screen", ...args: any[]) => void;
|
|
10
|
+
tableManager: import("vue").Ref<any>;
|
|
11
|
+
BEMSpace: string;
|
|
12
|
+
createBEMName: (name: string) => string;
|
|
13
|
+
currentColumn: import("vue").Ref<{
|
|
14
|
+
filterMultiple: boolean;
|
|
15
|
+
prop: string;
|
|
16
|
+
filterType: string;
|
|
17
|
+
filterLabel: string;
|
|
18
|
+
filterOptions: any[];
|
|
19
|
+
}>;
|
|
20
|
+
filterMultiple: import("vue").Ref<boolean>;
|
|
21
|
+
hasCompare: import("vue").Ref<boolean>;
|
|
22
|
+
filterList: import("vue").Ref<{
|
|
23
|
+
prop: string;
|
|
24
|
+
filterType?: FilterItemTypeEnum;
|
|
25
|
+
filterLabel?: string;
|
|
26
|
+
filterOptions?: {
|
|
27
|
+
label: string;
|
|
28
|
+
value: string | number | boolean;
|
|
29
|
+
}[];
|
|
30
|
+
condition?: FilterMatchModeEnum;
|
|
31
|
+
value?: any;
|
|
32
|
+
}[]>;
|
|
33
|
+
getAddFilterItem: () => {
|
|
34
|
+
prop: string;
|
|
35
|
+
filterType: any;
|
|
36
|
+
filterLabel: string;
|
|
37
|
+
filterOptions: any[];
|
|
38
|
+
condition: any;
|
|
39
|
+
value: any;
|
|
40
|
+
};
|
|
41
|
+
show: (column: PageModel.TableBaseItem<any>) => void;
|
|
42
|
+
handleRemoveFilterItem: (index: number) => void;
|
|
43
|
+
clearCurrentParams: () => void;
|
|
44
|
+
handleScreen: () => void;
|
|
45
|
+
handleClear: () => void;
|
|
46
|
+
handleAddFilterItem: () => void;
|
|
47
|
+
readonly CirclePlus: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
|
48
|
+
readonly Remove: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
|
49
|
+
readonly FilterItemTypeEnum: typeof FilterItemTypeEnum;
|
|
50
|
+
readonly compareOptions: {
|
|
51
|
+
string: {
|
|
52
|
+
label: string;
|
|
53
|
+
value: FilterMatchModeEnum;
|
|
54
|
+
}[];
|
|
55
|
+
number: {
|
|
56
|
+
label: string;
|
|
57
|
+
value: FilterMatchModeEnum;
|
|
58
|
+
}[];
|
|
59
|
+
date: {
|
|
60
|
+
label: string;
|
|
61
|
+
value: FilterMatchModeEnum;
|
|
62
|
+
}[];
|
|
63
|
+
};
|
|
64
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "screen"[], "screen", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
65
|
+
tableManager: {
|
|
66
|
+
type: ObjectConstructor;
|
|
67
|
+
required: true;
|
|
68
|
+
};
|
|
69
|
+
}>> & {
|
|
70
|
+
onScreen?: (...args: any[]) => any;
|
|
71
|
+
}, {}, {}>;
|
|
72
|
+
export default _sfc_main;
|
|
@@ -0,0 +1,281 @@
|
|
|
1
|
+
declare const _sfc_main: import("vue").DefineComponent<{
|
|
2
|
+
els: {
|
|
3
|
+
type: ArrayConstructor;
|
|
4
|
+
required: true;
|
|
5
|
+
};
|
|
6
|
+
context: {
|
|
7
|
+
type: any;
|
|
8
|
+
required: true;
|
|
9
|
+
};
|
|
10
|
+
}, {
|
|
11
|
+
props: any;
|
|
12
|
+
emit: (event: "column-screen", ...args: any[]) => void;
|
|
13
|
+
tableManager: import("vue").ComputedRef<any>;
|
|
14
|
+
handleClickEditIcon: (column: any, row: any) => void;
|
|
15
|
+
onUpdateTableCellModelValue: (row: any, prop: string, value: any) => void;
|
|
16
|
+
onSaveEditContent: (row: AnyObject, cellKey: string, column: PageModel.TableBaseItem<any, any>) => Promise<boolean>;
|
|
17
|
+
onCellDataChange: (row: AnyObject, cellKey: string, column: PageModel.TableBaseItem<any, any>) => void;
|
|
18
|
+
onCancelEditContent: (row: AnyObject, cellKey: string, restoreKey: string) => void;
|
|
19
|
+
simplePopoverRef: import("vue").Ref<any>;
|
|
20
|
+
filterZoneRef: import("vue").Ref<any>;
|
|
21
|
+
showSimplePopover: (element: HTMLElement, column: PageModel.TableBaseItem<any>) => void;
|
|
22
|
+
hideSimplePopover: () => void;
|
|
23
|
+
handleColumnScreen: () => void;
|
|
24
|
+
TableCellRenderer: import("vue").DefineComponent<{
|
|
25
|
+
renderFn: {
|
|
26
|
+
type: import("vue").PropType<PageModel.RenderFn>;
|
|
27
|
+
default: any;
|
|
28
|
+
};
|
|
29
|
+
context: {
|
|
30
|
+
type: import("vue").PropType<any>;
|
|
31
|
+
default: any;
|
|
32
|
+
};
|
|
33
|
+
args: {
|
|
34
|
+
type: import("vue").PropType<any[]>;
|
|
35
|
+
default: () => any[];
|
|
36
|
+
};
|
|
37
|
+
pure: {
|
|
38
|
+
type: import("vue").PropType<boolean>;
|
|
39
|
+
default: boolean;
|
|
40
|
+
};
|
|
41
|
+
row: {
|
|
42
|
+
type: ObjectConstructor;
|
|
43
|
+
default: () => void;
|
|
44
|
+
};
|
|
45
|
+
index: {
|
|
46
|
+
type: NumberConstructor;
|
|
47
|
+
};
|
|
48
|
+
}, () => any, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
49
|
+
renderFn: {
|
|
50
|
+
type: import("vue").PropType<PageModel.RenderFn>;
|
|
51
|
+
default: any;
|
|
52
|
+
};
|
|
53
|
+
context: {
|
|
54
|
+
type: import("vue").PropType<any>;
|
|
55
|
+
default: any;
|
|
56
|
+
};
|
|
57
|
+
args: {
|
|
58
|
+
type: import("vue").PropType<any[]>;
|
|
59
|
+
default: () => any[];
|
|
60
|
+
};
|
|
61
|
+
pure: {
|
|
62
|
+
type: import("vue").PropType<boolean>;
|
|
63
|
+
default: boolean;
|
|
64
|
+
};
|
|
65
|
+
row: {
|
|
66
|
+
type: ObjectConstructor;
|
|
67
|
+
default: () => void;
|
|
68
|
+
};
|
|
69
|
+
index: {
|
|
70
|
+
type: NumberConstructor;
|
|
71
|
+
};
|
|
72
|
+
}>>, {
|
|
73
|
+
context: any;
|
|
74
|
+
renderFn: PageModel.RenderFn;
|
|
75
|
+
args: any[];
|
|
76
|
+
pure: boolean;
|
|
77
|
+
row: Record<string, any>;
|
|
78
|
+
}, {}>;
|
|
79
|
+
FormItemRenderer: import("vue").DefineComponent<{
|
|
80
|
+
modelValue: any;
|
|
81
|
+
renderFn: {
|
|
82
|
+
type: import("vue").PropType<PageModel.RenderFn>;
|
|
83
|
+
default: any;
|
|
84
|
+
};
|
|
85
|
+
change: {
|
|
86
|
+
type: import("vue").PropType<(...rest: any[]) => void>;
|
|
87
|
+
default: any;
|
|
88
|
+
};
|
|
89
|
+
options: {
|
|
90
|
+
type: import("vue").PropType<any>;
|
|
91
|
+
default: () => void;
|
|
92
|
+
};
|
|
93
|
+
context: {
|
|
94
|
+
type: import("vue").PropType<any>;
|
|
95
|
+
default: () => void;
|
|
96
|
+
};
|
|
97
|
+
disabled: {
|
|
98
|
+
type: import("vue").PropType<boolean>;
|
|
99
|
+
default: any;
|
|
100
|
+
};
|
|
101
|
+
model: {
|
|
102
|
+
type: import("vue").PropType<AnyObject>;
|
|
103
|
+
default: () => {};
|
|
104
|
+
};
|
|
105
|
+
multProps: {
|
|
106
|
+
type: import("vue").PropType<string[]>;
|
|
107
|
+
default: any;
|
|
108
|
+
};
|
|
109
|
+
}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
110
|
+
[key: string]: any;
|
|
111
|
+
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
112
|
+
modelValue: any;
|
|
113
|
+
renderFn: {
|
|
114
|
+
type: import("vue").PropType<PageModel.RenderFn>;
|
|
115
|
+
default: any;
|
|
116
|
+
};
|
|
117
|
+
change: {
|
|
118
|
+
type: import("vue").PropType<(...rest: any[]) => void>;
|
|
119
|
+
default: any;
|
|
120
|
+
};
|
|
121
|
+
options: {
|
|
122
|
+
type: import("vue").PropType<any>;
|
|
123
|
+
default: () => void;
|
|
124
|
+
};
|
|
125
|
+
context: {
|
|
126
|
+
type: import("vue").PropType<any>;
|
|
127
|
+
default: () => void;
|
|
128
|
+
};
|
|
129
|
+
disabled: {
|
|
130
|
+
type: import("vue").PropType<boolean>;
|
|
131
|
+
default: any;
|
|
132
|
+
};
|
|
133
|
+
model: {
|
|
134
|
+
type: import("vue").PropType<AnyObject>;
|
|
135
|
+
default: () => {};
|
|
136
|
+
};
|
|
137
|
+
multProps: {
|
|
138
|
+
type: import("vue").PropType<string[]>;
|
|
139
|
+
default: any;
|
|
140
|
+
};
|
|
141
|
+
}>>, {
|
|
142
|
+
context: any;
|
|
143
|
+
renderFn: PageModel.RenderFn;
|
|
144
|
+
modelValue: any;
|
|
145
|
+
change: (...rest: any[]) => void;
|
|
146
|
+
disabled: boolean;
|
|
147
|
+
options: any;
|
|
148
|
+
model: {};
|
|
149
|
+
multProps: string[];
|
|
150
|
+
}, {}>;
|
|
151
|
+
readonly QuestionFilled: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
|
152
|
+
readonly Loading: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
|
153
|
+
readonly Edit: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
|
154
|
+
readonly Filter: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
|
155
|
+
SimplePopover: import("vue").DefineComponent<{
|
|
156
|
+
width: {
|
|
157
|
+
type: NumberConstructor;
|
|
158
|
+
required: false;
|
|
159
|
+
default: number;
|
|
160
|
+
};
|
|
161
|
+
}, {
|
|
162
|
+
BEMSpace: string;
|
|
163
|
+
props: any;
|
|
164
|
+
nextZIndex: () => number;
|
|
165
|
+
visible: import("vue").Ref<boolean>;
|
|
166
|
+
isRender: import("vue").Ref<boolean>;
|
|
167
|
+
currentTriggerElement: HTMLElement;
|
|
168
|
+
popoverRectInfo: import("vue").Ref<any>;
|
|
169
|
+
getPopoverTriggerElementRectInfo: (element: HTMLElement) => void;
|
|
170
|
+
popoverRef: import("vue").Ref<HTMLElement>;
|
|
171
|
+
popoverStyle: import("vue").ComputedRef<{
|
|
172
|
+
top?: undefined;
|
|
173
|
+
left?: undefined;
|
|
174
|
+
width?: undefined;
|
|
175
|
+
} | {
|
|
176
|
+
top: string;
|
|
177
|
+
left: string;
|
|
178
|
+
width: string;
|
|
179
|
+
}>;
|
|
180
|
+
isChildElement: (rootElement: HTMLElement, childElement: HTMLElement) => boolean;
|
|
181
|
+
isPopperChildElement: (element: HTMLElement) => boolean;
|
|
182
|
+
handleHide: (e: Event) => void;
|
|
183
|
+
handleResize: (...rest: any[]) => void;
|
|
184
|
+
hide: () => void;
|
|
185
|
+
zIndex: import("vue").Ref<number>;
|
|
186
|
+
show: (element: HTMLElement) => void;
|
|
187
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
188
|
+
width: {
|
|
189
|
+
type: NumberConstructor;
|
|
190
|
+
required: false;
|
|
191
|
+
default: number;
|
|
192
|
+
};
|
|
193
|
+
}>>, {
|
|
194
|
+
width: number;
|
|
195
|
+
}, {}>;
|
|
196
|
+
FilterZone: import("vue").DefineComponent<{
|
|
197
|
+
tableManager: {
|
|
198
|
+
type: ObjectConstructor;
|
|
199
|
+
required: true;
|
|
200
|
+
};
|
|
201
|
+
}, {
|
|
202
|
+
props: any;
|
|
203
|
+
emit: (event: "screen", ...args: any[]) => void;
|
|
204
|
+
tableManager: import("vue").Ref<any>;
|
|
205
|
+
BEMSpace: string;
|
|
206
|
+
createBEMName: (name: string) => string;
|
|
207
|
+
currentColumn: import("vue").Ref<{
|
|
208
|
+
filterMultiple: boolean;
|
|
209
|
+
prop: string;
|
|
210
|
+
filterType: string;
|
|
211
|
+
filterLabel: string;
|
|
212
|
+
filterOptions: any[];
|
|
213
|
+
}>;
|
|
214
|
+
filterMultiple: import("vue").Ref<boolean>;
|
|
215
|
+
hasCompare: import("vue").Ref<boolean>;
|
|
216
|
+
filterList: import("vue").Ref<{
|
|
217
|
+
prop: string;
|
|
218
|
+
filterType?: import("./components/filter-zone/utils").FilterItemTypeEnum;
|
|
219
|
+
filterLabel?: string;
|
|
220
|
+
filterOptions?: {
|
|
221
|
+
label: string;
|
|
222
|
+
value: string | number | boolean;
|
|
223
|
+
}[];
|
|
224
|
+
condition?: import("./components/filter-zone/utils").FilterMatchModeEnum;
|
|
225
|
+
value?: any;
|
|
226
|
+
}[]>;
|
|
227
|
+
getAddFilterItem: () => {
|
|
228
|
+
prop: string;
|
|
229
|
+
filterType: any;
|
|
230
|
+
filterLabel: string;
|
|
231
|
+
filterOptions: any[];
|
|
232
|
+
condition: any;
|
|
233
|
+
value: any;
|
|
234
|
+
};
|
|
235
|
+
show: (column: PageModel.TableBaseItem<any, any>) => void;
|
|
236
|
+
handleRemoveFilterItem: (index: number) => void;
|
|
237
|
+
clearCurrentParams: () => void;
|
|
238
|
+
handleScreen: () => void;
|
|
239
|
+
handleClear: () => void;
|
|
240
|
+
handleAddFilterItem: () => void;
|
|
241
|
+
readonly CirclePlus: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
|
242
|
+
readonly Remove: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
|
243
|
+
/**
|
|
244
|
+
* 显示列工具
|
|
245
|
+
*/
|
|
246
|
+
readonly FilterItemTypeEnum: typeof import("./components/filter-zone/utils").FilterItemTypeEnum;
|
|
247
|
+
readonly compareOptions: {
|
|
248
|
+
string: {
|
|
249
|
+
label: string;
|
|
250
|
+
value: import("./components/filter-zone/utils").FilterMatchModeEnum;
|
|
251
|
+
}[];
|
|
252
|
+
number: {
|
|
253
|
+
label: string;
|
|
254
|
+
value: import("./components/filter-zone/utils").FilterMatchModeEnum;
|
|
255
|
+
}[];
|
|
256
|
+
date: {
|
|
257
|
+
label: string;
|
|
258
|
+
value: import("./components/filter-zone/utils").FilterMatchModeEnum;
|
|
259
|
+
}[];
|
|
260
|
+
};
|
|
261
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "screen"[], "screen", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
262
|
+
tableManager: {
|
|
263
|
+
type: ObjectConstructor;
|
|
264
|
+
required: true;
|
|
265
|
+
};
|
|
266
|
+
}>> & {
|
|
267
|
+
onScreen?: (...args: any[]) => any;
|
|
268
|
+
}, {}, {}>;
|
|
269
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "column-screen"[], "column-screen", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
270
|
+
els: {
|
|
271
|
+
type: ArrayConstructor;
|
|
272
|
+
required: true;
|
|
273
|
+
};
|
|
274
|
+
context: {
|
|
275
|
+
type: any;
|
|
276
|
+
required: true;
|
|
277
|
+
};
|
|
278
|
+
}>> & {
|
|
279
|
+
"onColumn-screen"?: (...args: any[]) => any;
|
|
280
|
+
}, {}, {}>;
|
|
281
|
+
export default _sfc_main;
|
|
@@ -29,6 +29,14 @@ export default class TableManager extends IManager {
|
|
|
29
29
|
sortOrders: string[];
|
|
30
30
|
sortParams: AnyObject;
|
|
31
31
|
constructor(config?: PageModel.Table);
|
|
32
|
+
/**
|
|
33
|
+
* 是否已经初始化
|
|
34
|
+
*/
|
|
35
|
+
private isInitColumnParams;
|
|
36
|
+
/**
|
|
37
|
+
* 获取本地的表格的筛选参数
|
|
38
|
+
*/
|
|
39
|
+
initColumnParams(): boolean;
|
|
32
40
|
get table(): PageModel.Table<AnyObject, TableManager>;
|
|
33
41
|
/**
|
|
34
42
|
* config配置的rowKey
|
|
@@ -60,6 +68,10 @@ export default class TableManager extends IManager {
|
|
|
60
68
|
* key是否配置参数
|
|
61
69
|
*/
|
|
62
70
|
get columnParamsKey(): {};
|
|
71
|
+
/**
|
|
72
|
+
* 是否开启列筛选
|
|
73
|
+
*/
|
|
74
|
+
get isColumnSearch(): boolean;
|
|
63
75
|
/**
|
|
64
76
|
* 获取每列的参数
|
|
65
77
|
*/
|
|
@@ -209,6 +221,10 @@ export default class TableManager extends IManager {
|
|
|
209
221
|
*/
|
|
210
222
|
currentRenderTableEls: PageModel.TableBaseItem[];
|
|
211
223
|
updateCurrentRenderTableEls(els: PageModel.TableBaseItem[]): void;
|
|
224
|
+
/**
|
|
225
|
+
* 当前隐藏的字段数量
|
|
226
|
+
*/
|
|
227
|
+
get hiddeenFieldCount(): number;
|
|
212
228
|
/**
|
|
213
229
|
* 内部筛选
|
|
214
230
|
*/
|
|
@@ -123,6 +123,12 @@ declare global {
|
|
|
123
123
|
* 是否可拖拽
|
|
124
124
|
*/
|
|
125
125
|
dragable?: boolean;
|
|
126
|
+
|
|
127
|
+
/**
|
|
128
|
+
* 是否保存
|
|
129
|
+
*/
|
|
130
|
+
saveFilter?: boolean;
|
|
131
|
+
|
|
126
132
|
/**
|
|
127
133
|
* 显示工具列
|
|
128
134
|
*/
|
|
@@ -195,6 +201,12 @@ declare global {
|
|
|
195
201
|
* 工具箱
|
|
196
202
|
*/
|
|
197
203
|
toolbox?: ('export' | 'fullscreen' | 'colunm-tool')[]
|
|
204
|
+
|
|
205
|
+
/**
|
|
206
|
+
* 工具栏显示模式
|
|
207
|
+
*/
|
|
208
|
+
toolboxShowMode?: 'button' | 'icon';
|
|
209
|
+
|
|
198
210
|
/**
|
|
199
211
|
* 扩展工具栏
|
|
200
212
|
*/
|
|
@@ -7,6 +7,15 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
7
7
|
type: any;
|
|
8
8
|
required: true;
|
|
9
9
|
};
|
|
10
|
+
mode: {
|
|
11
|
+
type: any;
|
|
12
|
+
required: false;
|
|
13
|
+
default: string;
|
|
14
|
+
};
|
|
15
|
+
tableManager: {
|
|
16
|
+
type: any;
|
|
17
|
+
required: false;
|
|
18
|
+
};
|
|
10
19
|
}, {
|
|
11
20
|
props: any;
|
|
12
21
|
emit: (event: "custom-event", ...args: any[]) => void;
|
|
@@ -15,16 +24,19 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
15
24
|
icon: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
|
16
25
|
text: string;
|
|
17
26
|
event: string;
|
|
27
|
+
desc: string;
|
|
18
28
|
};
|
|
19
29
|
fullscreen: {
|
|
20
30
|
icon: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
|
21
31
|
text: string;
|
|
22
32
|
event: string;
|
|
33
|
+
desc: string;
|
|
23
34
|
};
|
|
24
35
|
"colunm-tool": {
|
|
25
36
|
icon: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
|
26
37
|
text: string;
|
|
27
38
|
event: string;
|
|
39
|
+
desc: string;
|
|
28
40
|
};
|
|
29
41
|
};
|
|
30
42
|
showToolbox: import("vue").ComputedRef<any>;
|
|
@@ -38,7 +50,19 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
38
50
|
type: any;
|
|
39
51
|
required: true;
|
|
40
52
|
};
|
|
53
|
+
mode: {
|
|
54
|
+
type: any;
|
|
55
|
+
required: false;
|
|
56
|
+
default: string;
|
|
57
|
+
};
|
|
58
|
+
tableManager: {
|
|
59
|
+
type: any;
|
|
60
|
+
required: false;
|
|
61
|
+
};
|
|
41
62
|
}>> & {
|
|
42
63
|
"onCustom-event"?: (...args: any[]) => any;
|
|
43
|
-
}, {
|
|
64
|
+
}, {
|
|
65
|
+
mode: any;
|
|
66
|
+
tableManager: any;
|
|
67
|
+
}, {}>;
|
|
44
68
|
export default _sfc_main;
|