ele-admin-plus 1.2.1-beta.6 → 1.2.2-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/es/ele-app/components/form-item-rest.d.ts +4 -0
- package/es/ele-app/components/form-item-rest.js +15 -0
- package/es/ele-data-table/index.d.ts +16 -326
- package/es/ele-data-table/index.js +142 -225
- package/es/ele-data-table/util.d.ts +0 -5
- package/es/ele-data-table/util.js +1 -29
- package/es/ele-dropdown/components/pro-dropdown.d.ts +9 -0
- package/es/ele-dropdown/index.d.ts +15 -389
- package/es/ele-dropdown/index.js +4 -2
- package/es/ele-dropdown/props.d.ts +18 -3
- package/es/ele-dropdown/props.js +6 -1
- package/es/ele-file-list/index.js +2 -1
- package/es/ele-menus/index.d.ts +8 -41
- package/es/ele-menus/index.js +3 -1
- package/es/ele-pro-table/components/table-tools.d.ts +3 -378
- package/es/ele-pro-table/components/table-tools.js +1 -0
- package/es/ele-pro-table/index.d.ts +7 -929
- package/es/ele-pro-table/index.js +19 -5
- package/es/ele-pro-table/props.d.ts +17 -2
- package/es/ele-segmented/index.d.ts +9 -0
- package/es/ele-segmented/index.js +3 -1
- package/es/ele-segmented/props.d.ts +5 -0
- package/es/ele-segmented/props.js +6 -1
- package/es/ele-tab-wrap/components/tab-dropdown.js +2 -1
- package/es/ele-tabs/index.js +1 -0
- package/es/ele-toolbar/index.d.ts +5 -3241
- package/es/ele-virtual-table/index.d.ts +1 -1
- package/es/icons/LoadingOutlined.js +1 -1
- package/lib/ele-app/components/form-item-rest.cjs +14 -0
- package/lib/ele-app/components/form-item-rest.d.ts +4 -0
- package/lib/ele-data-table/index.cjs +139 -222
- package/lib/ele-data-table/index.d.ts +16 -326
- package/lib/ele-data-table/util.cjs +0 -28
- package/lib/ele-data-table/util.d.ts +0 -5
- package/lib/ele-dropdown/components/pro-dropdown.d.ts +9 -0
- package/lib/ele-dropdown/index.cjs +4 -2
- package/lib/ele-dropdown/index.d.ts +15 -389
- package/lib/ele-dropdown/props.cjs +6 -1
- package/lib/ele-dropdown/props.d.ts +18 -3
- package/lib/ele-file-list/index.cjs +2 -1
- package/lib/ele-menus/index.cjs +3 -1
- package/lib/ele-menus/index.d.ts +8 -41
- package/lib/ele-pro-table/components/table-tools.cjs +1 -0
- package/lib/ele-pro-table/components/table-tools.d.ts +3 -378
- package/lib/ele-pro-table/index.cjs +19 -5
- package/lib/ele-pro-table/index.d.ts +7 -929
- package/lib/ele-pro-table/props.d.ts +17 -2
- package/lib/ele-segmented/index.cjs +3 -1
- package/lib/ele-segmented/index.d.ts +9 -0
- package/lib/ele-segmented/props.cjs +6 -1
- package/lib/ele-segmented/props.d.ts +5 -0
- package/lib/ele-tab-wrap/components/tab-dropdown.cjs +2 -1
- package/lib/ele-tabs/index.cjs +1 -0
- package/lib/ele-toolbar/index.d.ts +5 -3241
- package/lib/ele-virtual-table/index.d.ts +1 -1
- package/lib/icons/LoadingOutlined.cjs +1 -1
- package/package.json +1 -1
- package/typings/global.d.ts +1 -1
- package/es/ele-data-table/components/table-columns.d.ts +0 -32
- package/es/ele-data-table/components/table-columns.js +0 -124
- package/lib/ele-data-table/components/table-columns.cjs +0 -123
- package/lib/ele-data-table/components/table-columns.d.ts +0 -32
package/README.md
CHANGED
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
2
|
+
[key: string]: any;
|
|
3
|
+
}>[] | undefined, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{}>>, {}, {}>;
|
|
4
|
+
export default _default;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { defineComponent, provide } from "vue";
|
|
2
|
+
import { formItemContextKey } from "element-plus";
|
|
3
|
+
const formItemRest = defineComponent({
|
|
4
|
+
name: "FormItemRest",
|
|
5
|
+
setup(_props, { slots }) {
|
|
6
|
+
provide(formItemContextKey, null);
|
|
7
|
+
return () => {
|
|
8
|
+
var _a;
|
|
9
|
+
return (_a = slots.default) == null ? void 0 : _a.call(slots);
|
|
10
|
+
};
|
|
11
|
+
}
|
|
12
|
+
});
|
|
13
|
+
export {
|
|
14
|
+
formItemRest as default
|
|
15
|
+
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Ref } from 'vue';
|
|
2
|
+
import { ElTableInstance } from '../ele-app/el';
|
|
3
3
|
import { DataKey, DataItem, Column, Columns, Sorter, Filter } from './types';
|
|
4
4
|
|
|
5
5
|
declare const _default: import('vue').DefineComponent<{
|
|
@@ -48,6 +48,10 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
48
48
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
49
49
|
__epPropKey: true;
|
|
50
50
|
};
|
|
51
|
+
data: {
|
|
52
|
+
type: import('vue').PropType<any[]>;
|
|
53
|
+
default: () => never[];
|
|
54
|
+
};
|
|
51
55
|
fit: {
|
|
52
56
|
type: BooleanConstructor;
|
|
53
57
|
default: boolean;
|
|
@@ -60,10 +64,6 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
60
64
|
default: string;
|
|
61
65
|
};
|
|
62
66
|
height: (NumberConstructor | StringConstructor)[];
|
|
63
|
-
data: {
|
|
64
|
-
type: import('vue').PropType<any[]>;
|
|
65
|
-
default: () => never[];
|
|
66
|
-
};
|
|
67
67
|
showHeader: {
|
|
68
68
|
type: BooleanConstructor;
|
|
69
69
|
default: boolean;
|
|
@@ -114,321 +114,13 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
114
114
|
};
|
|
115
115
|
load: import('vue').PropType<((row: any, treeNode: import('element-plus').TreeNode, resolve: (data: any[]) => void) => void) | undefined>;
|
|
116
116
|
tableLayout: {
|
|
117
|
-
type: import('vue').PropType<"
|
|
117
|
+
type: import('vue').PropType<"fixed" | "auto">;
|
|
118
118
|
default: string;
|
|
119
119
|
};
|
|
120
120
|
scrollbarAlwaysOn: BooleanConstructor;
|
|
121
121
|
flexible: BooleanConstructor;
|
|
122
122
|
showOverflowTooltip: import('vue').PropType<boolean | Partial<Pick<import('element-plus').ElTooltipProps, "offset" | "transition" | "placement" | "effect" | "showAfter" | "hideAfter" | "popperOptions" | "enterable" | "popperClass" | "appendTo" | "showArrow">> | undefined>;
|
|
123
123
|
}, {
|
|
124
|
-
isLayoutFixedHead: import('vue').ComputedRef<boolean | undefined>;
|
|
125
|
-
isLayoutMaximized: import('vue').ComputedRef<boolean | undefined>;
|
|
126
|
-
tableRef: import('vue').Ref<ElTableInstance>;
|
|
127
|
-
tableCols: import('vue').Ref<{
|
|
128
|
-
filterPlacement?: import('../ele-app/plus').EleTooltipProps["placement"];
|
|
129
|
-
uid?: string | undefined;
|
|
130
|
-
slot?: string | undefined;
|
|
131
|
-
headerSlot?: string | undefined;
|
|
132
|
-
filterIcon?: string | import('vue').FunctionalComponent<any, {}, any, {}> | {
|
|
133
|
-
new (...args: any[]): any;
|
|
134
|
-
__isFragment?: never;
|
|
135
|
-
__isTeleport?: never;
|
|
136
|
-
__isSuspense?: never;
|
|
137
|
-
} | {
|
|
138
|
-
[x: string]: any;
|
|
139
|
-
setup?: ((this: void, props: import('@vue/shared').LooseRequired<any>, ctx: {
|
|
140
|
-
attrs: {
|
|
141
|
-
[x: string]: unknown;
|
|
142
|
-
};
|
|
143
|
-
slots: Readonly<{
|
|
144
|
-
[name: string]: import('vue').Slot<any> | undefined;
|
|
145
|
-
}>;
|
|
146
|
-
emit: ((event: unknown, ...args: any[]) => void) | ((event: string, ...args: any[]) => void);
|
|
147
|
-
expose: <Exposed extends Record<string, any> = Record<string, any>>(exposed?: Exposed) => void;
|
|
148
|
-
}) => any) | undefined;
|
|
149
|
-
name?: string | undefined;
|
|
150
|
-
template?: (string | object) | undefined;
|
|
151
|
-
render?: Function | undefined;
|
|
152
|
-
components?: Record<string, import('vue').Component> | undefined;
|
|
153
|
-
directives?: Record<string, import('vue').Directive> | undefined;
|
|
154
|
-
inheritAttrs?: boolean | undefined;
|
|
155
|
-
emits?: any;
|
|
156
|
-
slots?: {} | undefined;
|
|
157
|
-
expose?: string[] | undefined;
|
|
158
|
-
serverPrefetch?: (() => void | Promise<any>) | undefined;
|
|
159
|
-
compilerOptions?: {
|
|
160
|
-
isCustomElement?: ((tag: string) => boolean) | undefined;
|
|
161
|
-
whitespace?: ("preserve" | "condense") | undefined;
|
|
162
|
-
comments?: boolean | undefined;
|
|
163
|
-
delimiters?: [string, string] | undefined;
|
|
164
|
-
} | undefined;
|
|
165
|
-
call?: ((this: unknown, ...args: unknown[]) => never) | undefined;
|
|
166
|
-
__isFragment?: never | undefined;
|
|
167
|
-
__isTeleport?: never | undefined;
|
|
168
|
-
__isSuspense?: never | undefined;
|
|
169
|
-
__defaults?: any;
|
|
170
|
-
compatConfig?: {
|
|
171
|
-
GLOBAL_MOUNT?: boolean | "suppress-warning" | undefined;
|
|
172
|
-
GLOBAL_MOUNT_CONTAINER?: boolean | "suppress-warning" | undefined;
|
|
173
|
-
GLOBAL_EXTEND?: boolean | "suppress-warning" | undefined;
|
|
174
|
-
GLOBAL_PROTOTYPE?: boolean | "suppress-warning" | undefined;
|
|
175
|
-
GLOBAL_SET?: boolean | "suppress-warning" | undefined;
|
|
176
|
-
GLOBAL_DELETE?: boolean | "suppress-warning" | undefined;
|
|
177
|
-
GLOBAL_OBSERVABLE?: boolean | "suppress-warning" | undefined;
|
|
178
|
-
GLOBAL_PRIVATE_UTIL?: boolean | "suppress-warning" | undefined;
|
|
179
|
-
CONFIG_SILENT?: boolean | "suppress-warning" | undefined;
|
|
180
|
-
CONFIG_DEVTOOLS?: boolean | "suppress-warning" | undefined;
|
|
181
|
-
CONFIG_KEY_CODES?: boolean | "suppress-warning" | undefined;
|
|
182
|
-
CONFIG_PRODUCTION_TIP?: boolean | "suppress-warning" | undefined;
|
|
183
|
-
CONFIG_IGNORED_ELEMENTS?: boolean | "suppress-warning" | undefined;
|
|
184
|
-
CONFIG_WHITESPACE?: boolean | "suppress-warning" | undefined;
|
|
185
|
-
CONFIG_OPTION_MERGE_STRATS?: boolean | "suppress-warning" | undefined;
|
|
186
|
-
INSTANCE_SET?: boolean | "suppress-warning" | undefined;
|
|
187
|
-
INSTANCE_DELETE?: boolean | "suppress-warning" | undefined;
|
|
188
|
-
INSTANCE_DESTROY?: boolean | "suppress-warning" | undefined;
|
|
189
|
-
INSTANCE_EVENT_EMITTER?: boolean | "suppress-warning" | undefined;
|
|
190
|
-
INSTANCE_EVENT_HOOKS?: boolean | "suppress-warning" | undefined;
|
|
191
|
-
INSTANCE_CHILDREN?: boolean | "suppress-warning" | undefined;
|
|
192
|
-
INSTANCE_LISTENERS?: boolean | "suppress-warning" | undefined;
|
|
193
|
-
INSTANCE_SCOPED_SLOTS?: boolean | "suppress-warning" | undefined;
|
|
194
|
-
INSTANCE_ATTRS_CLASS_STYLE?: boolean | "suppress-warning" | undefined;
|
|
195
|
-
OPTIONS_DATA_FN?: boolean | "suppress-warning" | undefined;
|
|
196
|
-
OPTIONS_DATA_MERGE?: boolean | "suppress-warning" | undefined;
|
|
197
|
-
OPTIONS_BEFORE_DESTROY?: boolean | "suppress-warning" | undefined;
|
|
198
|
-
OPTIONS_DESTROYED?: boolean | "suppress-warning" | undefined;
|
|
199
|
-
WATCH_ARRAY?: boolean | "suppress-warning" | undefined;
|
|
200
|
-
PROPS_DEFAULT_THIS?: boolean | "suppress-warning" | undefined;
|
|
201
|
-
V_ON_KEYCODE_MODIFIER?: boolean | "suppress-warning" | undefined;
|
|
202
|
-
CUSTOM_DIR?: boolean | "suppress-warning" | undefined;
|
|
203
|
-
ATTR_FALSE_VALUE?: boolean | "suppress-warning" | undefined;
|
|
204
|
-
ATTR_ENUMERATED_COERCION?: boolean | "suppress-warning" | undefined;
|
|
205
|
-
TRANSITION_CLASSES?: boolean | "suppress-warning" | undefined;
|
|
206
|
-
TRANSITION_GROUP_ROOT?: boolean | "suppress-warning" | undefined;
|
|
207
|
-
COMPONENT_ASYNC?: boolean | "suppress-warning" | undefined;
|
|
208
|
-
COMPONENT_FUNCTIONAL?: boolean | "suppress-warning" | undefined;
|
|
209
|
-
COMPONENT_V_MODEL?: boolean | "suppress-warning" | undefined;
|
|
210
|
-
RENDER_FUNCTION?: boolean | "suppress-warning" | undefined;
|
|
211
|
-
FILTERS?: boolean | "suppress-warning" | undefined;
|
|
212
|
-
PRIVATE_APIS?: boolean | "suppress-warning" | undefined;
|
|
213
|
-
MODE?: (2 | 3 | ((comp: import('vue').Component | null) => 2 | 3)) | undefined;
|
|
214
|
-
} | undefined;
|
|
215
|
-
data?: ((this: any, vm: any) => any) | undefined;
|
|
216
|
-
computed?: import('vue').ComputedOptions | undefined;
|
|
217
|
-
methods?: import('vue').MethodOptions | undefined;
|
|
218
|
-
watch?: {
|
|
219
|
-
[x: string]: (string | import('vue').WatchCallback<any, any> | ({
|
|
220
|
-
handler: import('vue').WatchCallback | string;
|
|
221
|
-
} & import('vue').WatchOptions<boolean>)) | (string | import('vue').WatchCallback<any, any> | ({
|
|
222
|
-
handler: import('vue').WatchCallback | string;
|
|
223
|
-
} & import('vue').WatchOptions<boolean>))[];
|
|
224
|
-
} | undefined;
|
|
225
|
-
provide?: import('vue').ComponentProvideOptions | undefined;
|
|
226
|
-
inject?: {} | string[] | undefined;
|
|
227
|
-
filters?: Record<string, Function> | undefined;
|
|
228
|
-
mixins?: any[] | undefined;
|
|
229
|
-
extends?: any;
|
|
230
|
-
beforeCreate?: (() => void) | undefined;
|
|
231
|
-
created?: (() => void) | undefined;
|
|
232
|
-
beforeMount?: (() => void) | undefined;
|
|
233
|
-
mounted?: (() => void) | undefined;
|
|
234
|
-
beforeUpdate?: (() => void) | undefined;
|
|
235
|
-
updated?: (() => void) | undefined;
|
|
236
|
-
activated?: (() => void) | undefined;
|
|
237
|
-
deactivated?: (() => void) | undefined;
|
|
238
|
-
beforeDestroy?: (() => void) | undefined;
|
|
239
|
-
beforeUnmount?: (() => void) | undefined;
|
|
240
|
-
destroyed?: (() => void) | undefined;
|
|
241
|
-
unmounted?: (() => void) | undefined;
|
|
242
|
-
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | undefined;
|
|
243
|
-
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | undefined;
|
|
244
|
-
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | undefined;
|
|
245
|
-
delimiters?: [string, string] | undefined;
|
|
246
|
-
__differentiator?: string | number | symbol | undefined;
|
|
247
|
-
__isBuiltIn?: boolean | undefined;
|
|
248
|
-
__file?: string | undefined;
|
|
249
|
-
__name?: string | undefined;
|
|
250
|
-
beforeRouteEnter?: (import('vue-router').TypesConfig extends Record<"beforeRouteEnter", infer T> ? T : import('vue-router').NavigationGuardWithThis<undefined>) | undefined;
|
|
251
|
-
beforeRouteUpdate?: (import('vue-router').TypesConfig extends Record<"beforeRouteUpdate", infer T> ? T : import('vue-router').NavigationGuard) | undefined;
|
|
252
|
-
beforeRouteLeave?: (import('vue-router').TypesConfig extends Record<"beforeRouteLeave", infer T> ? T : import('vue-router').NavigationGuard) | undefined;
|
|
253
|
-
} | undefined;
|
|
254
|
-
hideInTable?: boolean | undefined;
|
|
255
|
-
hideInSetting?: boolean | undefined;
|
|
256
|
-
hideInExport?: boolean | undefined;
|
|
257
|
-
hideInPrint?: boolean | undefined;
|
|
258
|
-
printSlot?: string | undefined;
|
|
259
|
-
printHeaderSlot?: string | undefined;
|
|
260
|
-
children?: any[] | undefined;
|
|
261
|
-
type?: string | undefined;
|
|
262
|
-
filterMethod?: import('element-plus/es/components/table/src/table-column/defaults').FilterMethods<any> | undefined;
|
|
263
|
-
width?: string | number | undefined;
|
|
264
|
-
label?: string | undefined;
|
|
265
|
-
prop?: string | undefined;
|
|
266
|
-
formatter?: ((row: any, column: import('element-plus').TableColumnCtx<any>, cellValue: any, index: number) => string | import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
267
|
-
[key: string]: any;
|
|
268
|
-
}>) | undefined;
|
|
269
|
-
index?: number | ((index: number) => number) | undefined;
|
|
270
|
-
className?: string | undefined;
|
|
271
|
-
fixed?: string | boolean | undefined;
|
|
272
|
-
align?: string | undefined;
|
|
273
|
-
showOverflowTooltip?: boolean | {
|
|
274
|
-
effect?: string | undefined;
|
|
275
|
-
placement?: import('element-plus/es/utils/index').EpPropMergeType<StringConstructor, import('element-plus').Placement, unknown> | undefined;
|
|
276
|
-
popperClass?: import('element-plus/es/utils/index').EpPropMergeType<(new (...args: any[]) => (string | {
|
|
277
|
-
[x: string]: boolean;
|
|
278
|
-
} | (string | {
|
|
279
|
-
[x: string]: boolean;
|
|
280
|
-
} | (string | {
|
|
281
|
-
[x: string]: boolean;
|
|
282
|
-
} | (string | {
|
|
283
|
-
[x: string]: boolean;
|
|
284
|
-
} | (string | {
|
|
285
|
-
[x: string]: boolean;
|
|
286
|
-
} | (string | {
|
|
287
|
-
[x: string]: boolean;
|
|
288
|
-
} | (string | {
|
|
289
|
-
[x: string]: boolean;
|
|
290
|
-
} | (string | {
|
|
291
|
-
[x: string]: boolean;
|
|
292
|
-
} | (string | {
|
|
293
|
-
[x: string]: boolean;
|
|
294
|
-
} | (string | {
|
|
295
|
-
[x: string]: boolean;
|
|
296
|
-
} | (string | {
|
|
297
|
-
[x: string]: boolean;
|
|
298
|
-
} | (string | {
|
|
299
|
-
[x: string]: boolean;
|
|
300
|
-
} | any)[])[])[])[])[])[])[])[])[])[])[]) & {}) | (() => string | {
|
|
301
|
-
[x: string]: boolean;
|
|
302
|
-
} | (string | {
|
|
303
|
-
[x: string]: boolean;
|
|
304
|
-
} | (string | {
|
|
305
|
-
[x: string]: boolean;
|
|
306
|
-
} | (string | {
|
|
307
|
-
[x: string]: boolean;
|
|
308
|
-
} | (string | {
|
|
309
|
-
[x: string]: boolean;
|
|
310
|
-
} | (string | {
|
|
311
|
-
[x: string]: boolean;
|
|
312
|
-
} | (string | {
|
|
313
|
-
[x: string]: boolean;
|
|
314
|
-
} | (string | {
|
|
315
|
-
[x: string]: boolean;
|
|
316
|
-
} | (string | {
|
|
317
|
-
[x: string]: boolean;
|
|
318
|
-
} | (string | {
|
|
319
|
-
[x: string]: boolean;
|
|
320
|
-
} | (string | {
|
|
321
|
-
[x: string]: boolean;
|
|
322
|
-
} | (string | {
|
|
323
|
-
[x: string]: boolean;
|
|
324
|
-
} | any)[])[])[])[])[])[])[])[])[])[])[]) | ((new (...args: any[]) => (string | {
|
|
325
|
-
[x: string]: boolean;
|
|
326
|
-
} | (string | {
|
|
327
|
-
[x: string]: boolean;
|
|
328
|
-
} | (string | {
|
|
329
|
-
[x: string]: boolean;
|
|
330
|
-
} | (string | {
|
|
331
|
-
[x: string]: boolean;
|
|
332
|
-
} | (string | {
|
|
333
|
-
[x: string]: boolean;
|
|
334
|
-
} | (string | {
|
|
335
|
-
[x: string]: boolean;
|
|
336
|
-
} | (string | {
|
|
337
|
-
[x: string]: boolean;
|
|
338
|
-
} | (string | {
|
|
339
|
-
[x: string]: boolean;
|
|
340
|
-
} | (string | {
|
|
341
|
-
[x: string]: boolean;
|
|
342
|
-
} | (string | {
|
|
343
|
-
[x: string]: boolean;
|
|
344
|
-
} | (string | {
|
|
345
|
-
[x: string]: boolean;
|
|
346
|
-
} | (string | {
|
|
347
|
-
[x: string]: boolean;
|
|
348
|
-
} | any)[])[])[])[])[])[])[])[])[])[])[]) & {}) | (() => string | {
|
|
349
|
-
[x: string]: boolean;
|
|
350
|
-
} | (string | {
|
|
351
|
-
[x: string]: boolean;
|
|
352
|
-
} | (string | {
|
|
353
|
-
[x: string]: boolean;
|
|
354
|
-
} | (string | {
|
|
355
|
-
[x: string]: boolean;
|
|
356
|
-
} | (string | {
|
|
357
|
-
[x: string]: boolean;
|
|
358
|
-
} | (string | {
|
|
359
|
-
[x: string]: boolean;
|
|
360
|
-
} | (string | {
|
|
361
|
-
[x: string]: boolean;
|
|
362
|
-
} | (string | {
|
|
363
|
-
[x: string]: boolean;
|
|
364
|
-
} | (string | {
|
|
365
|
-
[x: string]: boolean;
|
|
366
|
-
} | (string | {
|
|
367
|
-
[x: string]: boolean;
|
|
368
|
-
} | (string | {
|
|
369
|
-
[x: string]: boolean;
|
|
370
|
-
} | (string | {
|
|
371
|
-
[x: string]: boolean;
|
|
372
|
-
} | any)[])[])[])[])[])[])[])[])[])[])[]))[], unknown, unknown> | undefined;
|
|
373
|
-
offset?: number | undefined;
|
|
374
|
-
appendTo?: import('element-plus/es/utils/index').EpPropMergeType<(new (...args: any[]) => (string | HTMLElement) & {}) | (() => string | HTMLElement) | ((new (...args: any[]) => (string | HTMLElement) & {}) | (() => string | HTMLElement))[], unknown, unknown> | undefined;
|
|
375
|
-
popperOptions?: {
|
|
376
|
-
placement?: import('element-plus').Placement | undefined;
|
|
377
|
-
modifiers?: {
|
|
378
|
-
name?: any;
|
|
379
|
-
enabled?: boolean | undefined;
|
|
380
|
-
phase?: import('@popperjs/core').ModifierPhases | undefined;
|
|
381
|
-
requires?: Array<string> | undefined;
|
|
382
|
-
requiresIfExists?: Array<string> | undefined;
|
|
383
|
-
fn?: ((arg0: import('@popperjs/core').ModifierArguments<any>) => import('@popperjs/core').State | void) | undefined;
|
|
384
|
-
effect?: ((arg0: import('@popperjs/core').ModifierArguments<any>) => (() => void) | void) | undefined;
|
|
385
|
-
options?: Partial<any> | undefined;
|
|
386
|
-
data?: import('@popperjs/core').Obj | undefined;
|
|
387
|
-
}[] | undefined;
|
|
388
|
-
strategy?: import('@popperjs/core').PositioningStrategy | undefined;
|
|
389
|
-
onFirstUpdate?: ((arg0: Partial<import('@popperjs/core').State>) => void) | undefined;
|
|
390
|
-
} | undefined;
|
|
391
|
-
transition?: string | undefined;
|
|
392
|
-
enterable?: import('element-plus/es/utils/index').EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
393
|
-
showAfter?: number | undefined;
|
|
394
|
-
hideAfter?: number | undefined;
|
|
395
|
-
showArrow?: import('element-plus/es/utils/index').EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
396
|
-
} | undefined;
|
|
397
|
-
labelClassName?: string | undefined;
|
|
398
|
-
property?: string | undefined;
|
|
399
|
-
minWidth?: string | number | undefined;
|
|
400
|
-
renderHeader?: ((data: {
|
|
401
|
-
column: import('element-plus').TableColumnCtx<any>;
|
|
402
|
-
$index: number;
|
|
403
|
-
}) => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
404
|
-
[key: string]: any;
|
|
405
|
-
}>) | undefined;
|
|
406
|
-
sortable?: string | boolean | undefined;
|
|
407
|
-
sortMethod?: ((a: any, b: any) => number) | undefined;
|
|
408
|
-
sortBy?: string | string[] | ((row: any, index: number) => string) | undefined;
|
|
409
|
-
resizable?: boolean | undefined;
|
|
410
|
-
columnKey?: string | undefined;
|
|
411
|
-
headerAlign?: string | undefined;
|
|
412
|
-
selectable?: ((row: any, index: number) => boolean) | undefined;
|
|
413
|
-
reserveSelection?: boolean | undefined;
|
|
414
|
-
filteredValue?: string[] | undefined;
|
|
415
|
-
filters?: {
|
|
416
|
-
text: string;
|
|
417
|
-
value: string;
|
|
418
|
-
}[] | undefined;
|
|
419
|
-
filterMultiple?: boolean | undefined;
|
|
420
|
-
filterClassName?: string | undefined;
|
|
421
|
-
sortOrders?: ("ascending" | "descending" | null)[] | undefined;
|
|
422
|
-
}[]>;
|
|
423
|
-
tableOverflowTooltip: import('vue').ComputedRef<boolean | Partial<Pick<import('element-plus').ElTooltipProps, "effect" | "placement" | "popperClass" | "offset" | "appendTo" | "popperOptions" | "transition" | "enterable" | "showAfter" | "hideAfter" | "showArrow">> | undefined>;
|
|
424
|
-
tableProps: import('vue').ComputedRef<ElTableProps<DataItem>>;
|
|
425
|
-
handleRowClick: (row: DataItem, column: Column, event: MouseEvent) => void;
|
|
426
|
-
handleHeaderClick: (column: Column, e: MouseEvent) => void;
|
|
427
|
-
handleSortChange: (sorter: Sorter) => void;
|
|
428
|
-
handleFilterChange: (filter: Filter) => void;
|
|
429
|
-
handleCurrentChange: (row?: DataItem | null, old?: DataItem | null) => void;
|
|
430
|
-
handleSelect: (selection: DataItem[], row: DataItem) => void;
|
|
431
|
-
handleSelectAll: (selection: DataItem[]) => void;
|
|
432
124
|
clearSort: () => void;
|
|
433
125
|
clearSelection: () => void;
|
|
434
126
|
toggleRowSelection: (row: DataItem, selected?: boolean) => void;
|
|
@@ -439,6 +131,7 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
439
131
|
setSelectedRowKeys: (keys?: DataKey[]) => void;
|
|
440
132
|
toggleRowExpansionAll: (expanded?: boolean) => void;
|
|
441
133
|
updateSelectedAndChecked: () => void;
|
|
134
|
+
tableRef: Ref<ElTableInstance>;
|
|
442
135
|
getSelectionRows: () => DataItem[] | undefined;
|
|
443
136
|
toggleAllSelection: () => void;
|
|
444
137
|
toggleRowExpansion: (row: DataItem, expanded?: boolean) => void;
|
|
@@ -448,9 +141,6 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
448
141
|
scrollTo: (options: number | ScrollToOptions, yCoord?: number) => void;
|
|
449
142
|
setScrollTop: (top?: number) => void;
|
|
450
143
|
setScrollLeft: (left?: number) => void;
|
|
451
|
-
ownSlots: string[];
|
|
452
|
-
getBodyRowClass: typeof getBodyRowClass;
|
|
453
|
-
getHeadRowClass: typeof getHeadRowClass;
|
|
454
144
|
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
455
145
|
select: (_selection: DataItem[], _row: DataItem) => boolean;
|
|
456
146
|
selectAll: (_selection: DataItem[]) => boolean;
|
|
@@ -518,6 +208,10 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
518
208
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
519
209
|
__epPropKey: true;
|
|
520
210
|
};
|
|
211
|
+
data: {
|
|
212
|
+
type: import('vue').PropType<any[]>;
|
|
213
|
+
default: () => never[];
|
|
214
|
+
};
|
|
521
215
|
fit: {
|
|
522
216
|
type: BooleanConstructor;
|
|
523
217
|
default: boolean;
|
|
@@ -530,10 +224,6 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
530
224
|
default: string;
|
|
531
225
|
};
|
|
532
226
|
height: (NumberConstructor | StringConstructor)[];
|
|
533
|
-
data: {
|
|
534
|
-
type: import('vue').PropType<any[]>;
|
|
535
|
-
default: () => never[];
|
|
536
|
-
};
|
|
537
227
|
showHeader: {
|
|
538
228
|
type: BooleanConstructor;
|
|
539
229
|
default: boolean;
|
|
@@ -584,7 +274,7 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
584
274
|
};
|
|
585
275
|
load: import('vue').PropType<((row: any, treeNode: import('element-plus').TreeNode, resolve: (data: any[]) => void) => void) | undefined>;
|
|
586
276
|
tableLayout: {
|
|
587
|
-
type: import('vue').PropType<"
|
|
277
|
+
type: import('vue').PropType<"fixed" | "auto">;
|
|
588
278
|
default: string;
|
|
589
279
|
};
|
|
590
280
|
scrollbarAlwaysOn: BooleanConstructor;
|
|
@@ -612,10 +302,10 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
612
302
|
"onUpdate:currentRowKey"?: ((_currentRowKey?: DataKey | undefined) => any) | undefined;
|
|
613
303
|
"onUpdate:selectedRowKeys"?: ((_selectedRowKeys?: DataKey[] | undefined) => any) | undefined;
|
|
614
304
|
}, {
|
|
305
|
+
data: any[];
|
|
615
306
|
fit: boolean;
|
|
616
307
|
lazy: boolean;
|
|
617
308
|
className: string;
|
|
618
|
-
data: any[];
|
|
619
309
|
stripe: boolean;
|
|
620
310
|
border: boolean;
|
|
621
311
|
showHeader: boolean;
|
|
@@ -625,12 +315,12 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
625
315
|
selectOnIndeterminate: boolean;
|
|
626
316
|
indent: number;
|
|
627
317
|
treeProps: import('element-plus/es/components/table/src/table/defaults').TreeProps | undefined;
|
|
628
|
-
tableLayout: "
|
|
318
|
+
tableLayout: "fixed" | "auto";
|
|
629
319
|
scrollbarAlwaysOn: boolean;
|
|
630
320
|
flexible: boolean;
|
|
631
321
|
sticky: boolean;
|
|
632
|
-
slotNormalize: boolean;
|
|
633
322
|
headerEllipsis: boolean;
|
|
323
|
+
slotNormalize: boolean;
|
|
634
324
|
bottomLine: boolean;
|
|
635
325
|
emptyProps: import('./types').TableEmptyProps;
|
|
636
326
|
reserveCurrent: boolean;
|