ra-element 0.0.57 → 0.0.62
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/docs/ra-tool-tip.md +3 -0
- package/lib/ExampleItem-DwhALQGq.js +18 -0
- package/lib/components/index.d.ts +21 -0
- package/lib/components/ra-auto-scroll/index.vue.d.ts +94 -0
- package/lib/{ra-button → components/ra-button}/index.vue.d.ts +28 -28
- package/lib/components/ra-checkbox-group/index.vue.d.ts +356 -0
- package/lib/{ra-date-picker → components/ra-date-picker}/index.vue.d.ts +4 -4
- package/lib/{ra-dialog → components/ra-dialog}/index.vue.d.ts +10 -10
- package/lib/components/ra-dialog-select/index.vue.d.ts +64 -0
- package/lib/components/ra-help-tip/index.vue.d.ts +56 -0
- package/lib/components/ra-input/index.vue.d.ts +1063 -0
- package/lib/components/ra-pagination/index.vue.d.ts +545 -0
- package/lib/components/ra-radio-group/index.vue.d.ts +452 -0
- package/lib/components/ra-select/index.vue.d.ts +1687 -0
- package/lib/components/ra-svg/index.vue.d.ts +12 -0
- package/lib/components/ra-table/component/pagination-group.vue.d.ts +96 -0
- package/lib/components/ra-tool-tip/index.vue.d.ts +30 -0
- package/lib/components/ra-tree-select/index.vue.d.ts +41 -0
- package/lib/components/ra-upload/index.vue.d.ts +151 -0
- package/lib/index-CkAUSFIX.js +4 -0
- package/lib/index-DE9tcA5I.js +4 -0
- package/lib/index-DN2aloZb.js +4 -0
- package/lib/index-DPST30-1.js +4 -0
- package/lib/index-DUdhhr_j.js +4 -0
- package/lib/index-hKxQUnh9.js +4 -0
- package/lib/index.d.ts +6 -7
- package/lib/ra-element.css +1 -1
- package/lib/ra-element.es.js +17399 -15758
- package/lib/ra-element.umd.js +19 -19
- package/package.json +7 -6
- /package/lib/{ra-form → components/ra-form}/type.d.ts +0 -0
- /package/lib/{ra-table → components/ra-table}/type.d.ts +0 -0
|
@@ -0,0 +1,545 @@
|
|
|
1
|
+
declare function __VLS_template(): {
|
|
2
|
+
attrs: Partial<{}>;
|
|
3
|
+
slots: {
|
|
4
|
+
default?(_: {}): any;
|
|
5
|
+
};
|
|
6
|
+
refs: {
|
|
7
|
+
componentRef: unknown;
|
|
8
|
+
};
|
|
9
|
+
rootEl: any;
|
|
10
|
+
};
|
|
11
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
12
|
+
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
13
|
+
baseStyle: {
|
|
14
|
+
type: StringConstructor;
|
|
15
|
+
default: string;
|
|
16
|
+
};
|
|
17
|
+
currentPage: {
|
|
18
|
+
type: NumberConstructor;
|
|
19
|
+
default: number;
|
|
20
|
+
};
|
|
21
|
+
pageSize: {
|
|
22
|
+
type: NumberConstructor;
|
|
23
|
+
default: number;
|
|
24
|
+
};
|
|
25
|
+
}>, {
|
|
26
|
+
component: import('vue').Ref<import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
|
27
|
+
readonly pageSize: NumberConstructor;
|
|
28
|
+
readonly defaultPageSize: NumberConstructor;
|
|
29
|
+
readonly total: NumberConstructor;
|
|
30
|
+
readonly pageCount: NumberConstructor;
|
|
31
|
+
readonly pagerCount: {
|
|
32
|
+
readonly type: import('vue').PropType<number>;
|
|
33
|
+
readonly required: false;
|
|
34
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
35
|
+
__epPropKey: true;
|
|
36
|
+
} & {
|
|
37
|
+
readonly default: 7;
|
|
38
|
+
};
|
|
39
|
+
readonly currentPage: NumberConstructor;
|
|
40
|
+
readonly defaultCurrentPage: NumberConstructor;
|
|
41
|
+
readonly layout: {
|
|
42
|
+
readonly type: import('vue').PropType<string>;
|
|
43
|
+
readonly required: false;
|
|
44
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
45
|
+
__epPropKey: true;
|
|
46
|
+
} & {
|
|
47
|
+
readonly default: string;
|
|
48
|
+
};
|
|
49
|
+
readonly pageSizes: {
|
|
50
|
+
readonly type: import('vue').PropType<number[]>;
|
|
51
|
+
readonly required: false;
|
|
52
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
53
|
+
__epPropKey: true;
|
|
54
|
+
} & {
|
|
55
|
+
readonly default: () => [10, 20, 30, 40, 50, 100];
|
|
56
|
+
};
|
|
57
|
+
readonly popperClass: {
|
|
58
|
+
readonly type: import('vue').PropType<string>;
|
|
59
|
+
readonly required: false;
|
|
60
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
61
|
+
__epPropKey: true;
|
|
62
|
+
} & {
|
|
63
|
+
readonly default: "";
|
|
64
|
+
};
|
|
65
|
+
readonly prevText: {
|
|
66
|
+
readonly type: import('vue').PropType<string>;
|
|
67
|
+
readonly required: false;
|
|
68
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
69
|
+
__epPropKey: true;
|
|
70
|
+
} & {
|
|
71
|
+
readonly default: "";
|
|
72
|
+
};
|
|
73
|
+
readonly prevIcon: {
|
|
74
|
+
readonly type: import('vue').PropType<string | import('vue').Component>;
|
|
75
|
+
readonly required: false;
|
|
76
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
77
|
+
__epPropKey: true;
|
|
78
|
+
} & {
|
|
79
|
+
readonly default: () => any;
|
|
80
|
+
};
|
|
81
|
+
readonly nextText: {
|
|
82
|
+
readonly type: import('vue').PropType<string>;
|
|
83
|
+
readonly required: false;
|
|
84
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
85
|
+
__epPropKey: true;
|
|
86
|
+
} & {
|
|
87
|
+
readonly default: "";
|
|
88
|
+
};
|
|
89
|
+
readonly nextIcon: {
|
|
90
|
+
readonly type: import('vue').PropType<string | import('vue').Component>;
|
|
91
|
+
readonly required: false;
|
|
92
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
93
|
+
__epPropKey: true;
|
|
94
|
+
} & {
|
|
95
|
+
readonly default: () => any;
|
|
96
|
+
};
|
|
97
|
+
readonly teleported: {
|
|
98
|
+
readonly type: import('vue').PropType<boolean>;
|
|
99
|
+
readonly required: false;
|
|
100
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
101
|
+
__epPropKey: true;
|
|
102
|
+
} & {
|
|
103
|
+
readonly default: true;
|
|
104
|
+
};
|
|
105
|
+
readonly small: BooleanConstructor;
|
|
106
|
+
readonly size: {
|
|
107
|
+
readonly type: import('vue').PropType<"" | "default" | "small" | "large">;
|
|
108
|
+
readonly required: false;
|
|
109
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
110
|
+
__epPropKey: true;
|
|
111
|
+
};
|
|
112
|
+
readonly background: BooleanConstructor;
|
|
113
|
+
readonly disabled: BooleanConstructor;
|
|
114
|
+
readonly hideOnSinglePage: BooleanConstructor;
|
|
115
|
+
readonly appendSizeTo: StringConstructor;
|
|
116
|
+
}>> & {
|
|
117
|
+
onChange?: ((currentPage: number, pageSize: number) => any) | undefined;
|
|
118
|
+
"onUpdate:current-page"?: ((val: number) => any) | undefined;
|
|
119
|
+
"onUpdate:page-size"?: ((val: number) => any) | undefined;
|
|
120
|
+
"onSize-change"?: ((val: number) => any) | undefined;
|
|
121
|
+
"onCurrent-change"?: ((val: number) => any) | undefined;
|
|
122
|
+
"onPrev-click"?: ((val: number) => any) | undefined;
|
|
123
|
+
"onNext-click"?: ((val: number) => any) | undefined;
|
|
124
|
+
}, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
125
|
+
[key: string]: any;
|
|
126
|
+
}> | null, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
127
|
+
"update:current-page": (val: number) => boolean;
|
|
128
|
+
"update:page-size": (val: number) => boolean;
|
|
129
|
+
"size-change": (val: number) => boolean;
|
|
130
|
+
change: (currentPage: number, pageSize: number) => boolean;
|
|
131
|
+
"current-change": (val: number) => boolean;
|
|
132
|
+
"prev-click": (val: number) => boolean;
|
|
133
|
+
"next-click": (val: number) => boolean;
|
|
134
|
+
}, import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, {
|
|
135
|
+
readonly small: boolean;
|
|
136
|
+
readonly disabled: boolean;
|
|
137
|
+
readonly background: boolean;
|
|
138
|
+
readonly layout: string;
|
|
139
|
+
readonly popperClass: string;
|
|
140
|
+
readonly teleported: boolean;
|
|
141
|
+
readonly prevText: string;
|
|
142
|
+
readonly prevIcon: string | import('vue').Component;
|
|
143
|
+
readonly nextText: string;
|
|
144
|
+
readonly nextIcon: string | import('vue').Component;
|
|
145
|
+
readonly pageSizes: number[];
|
|
146
|
+
readonly pagerCount: number;
|
|
147
|
+
readonly hideOnSinglePage: boolean;
|
|
148
|
+
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
149
|
+
P: {};
|
|
150
|
+
B: {};
|
|
151
|
+
D: {};
|
|
152
|
+
C: {};
|
|
153
|
+
M: {};
|
|
154
|
+
Defaults: {};
|
|
155
|
+
}, Readonly<import('vue').ExtractPropTypes<{
|
|
156
|
+
readonly pageSize: NumberConstructor;
|
|
157
|
+
readonly defaultPageSize: NumberConstructor;
|
|
158
|
+
readonly total: NumberConstructor;
|
|
159
|
+
readonly pageCount: NumberConstructor;
|
|
160
|
+
readonly pagerCount: {
|
|
161
|
+
readonly type: import('vue').PropType<number>;
|
|
162
|
+
readonly required: false;
|
|
163
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
164
|
+
__epPropKey: true;
|
|
165
|
+
} & {
|
|
166
|
+
readonly default: 7;
|
|
167
|
+
};
|
|
168
|
+
readonly currentPage: NumberConstructor;
|
|
169
|
+
readonly defaultCurrentPage: NumberConstructor;
|
|
170
|
+
readonly layout: {
|
|
171
|
+
readonly type: import('vue').PropType<string>;
|
|
172
|
+
readonly required: false;
|
|
173
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
174
|
+
__epPropKey: true;
|
|
175
|
+
} & {
|
|
176
|
+
readonly default: string;
|
|
177
|
+
};
|
|
178
|
+
readonly pageSizes: {
|
|
179
|
+
readonly type: import('vue').PropType<number[]>;
|
|
180
|
+
readonly required: false;
|
|
181
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
182
|
+
__epPropKey: true;
|
|
183
|
+
} & {
|
|
184
|
+
readonly default: () => [10, 20, 30, 40, 50, 100];
|
|
185
|
+
};
|
|
186
|
+
readonly popperClass: {
|
|
187
|
+
readonly type: import('vue').PropType<string>;
|
|
188
|
+
readonly required: false;
|
|
189
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
190
|
+
__epPropKey: true;
|
|
191
|
+
} & {
|
|
192
|
+
readonly default: "";
|
|
193
|
+
};
|
|
194
|
+
readonly prevText: {
|
|
195
|
+
readonly type: import('vue').PropType<string>;
|
|
196
|
+
readonly required: false;
|
|
197
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
198
|
+
__epPropKey: true;
|
|
199
|
+
} & {
|
|
200
|
+
readonly default: "";
|
|
201
|
+
};
|
|
202
|
+
readonly prevIcon: {
|
|
203
|
+
readonly type: import('vue').PropType<string | import('vue').Component>;
|
|
204
|
+
readonly required: false;
|
|
205
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
206
|
+
__epPropKey: true;
|
|
207
|
+
} & {
|
|
208
|
+
readonly default: () => any;
|
|
209
|
+
};
|
|
210
|
+
readonly nextText: {
|
|
211
|
+
readonly type: import('vue').PropType<string>;
|
|
212
|
+
readonly required: false;
|
|
213
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
214
|
+
__epPropKey: true;
|
|
215
|
+
} & {
|
|
216
|
+
readonly default: "";
|
|
217
|
+
};
|
|
218
|
+
readonly nextIcon: {
|
|
219
|
+
readonly type: import('vue').PropType<string | import('vue').Component>;
|
|
220
|
+
readonly required: false;
|
|
221
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
222
|
+
__epPropKey: true;
|
|
223
|
+
} & {
|
|
224
|
+
readonly default: () => any;
|
|
225
|
+
};
|
|
226
|
+
readonly teleported: {
|
|
227
|
+
readonly type: import('vue').PropType<boolean>;
|
|
228
|
+
readonly required: false;
|
|
229
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
230
|
+
__epPropKey: true;
|
|
231
|
+
} & {
|
|
232
|
+
readonly default: true;
|
|
233
|
+
};
|
|
234
|
+
readonly small: BooleanConstructor;
|
|
235
|
+
readonly size: {
|
|
236
|
+
readonly type: import('vue').PropType<"" | "default" | "small" | "large">;
|
|
237
|
+
readonly required: false;
|
|
238
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
239
|
+
__epPropKey: true;
|
|
240
|
+
};
|
|
241
|
+
readonly background: BooleanConstructor;
|
|
242
|
+
readonly disabled: BooleanConstructor;
|
|
243
|
+
readonly hideOnSinglePage: BooleanConstructor;
|
|
244
|
+
readonly appendSizeTo: StringConstructor;
|
|
245
|
+
}>> & {
|
|
246
|
+
onChange?: ((currentPage: number, pageSize: number) => any) | undefined;
|
|
247
|
+
"onUpdate:current-page"?: ((val: number) => any) | undefined;
|
|
248
|
+
"onUpdate:page-size"?: ((val: number) => any) | undefined;
|
|
249
|
+
"onSize-change"?: ((val: number) => any) | undefined;
|
|
250
|
+
"onCurrent-change"?: ((val: number) => any) | undefined;
|
|
251
|
+
"onPrev-click"?: ((val: number) => any) | undefined;
|
|
252
|
+
"onNext-click"?: ((val: number) => any) | undefined;
|
|
253
|
+
}, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
254
|
+
[key: string]: any;
|
|
255
|
+
}> | null, {}, {}, {}, {
|
|
256
|
+
readonly small: boolean;
|
|
257
|
+
readonly disabled: boolean;
|
|
258
|
+
readonly background: boolean;
|
|
259
|
+
readonly layout: string;
|
|
260
|
+
readonly popperClass: string;
|
|
261
|
+
readonly teleported: boolean;
|
|
262
|
+
readonly prevText: string;
|
|
263
|
+
readonly prevIcon: string | import('vue').Component;
|
|
264
|
+
readonly nextText: string;
|
|
265
|
+
readonly nextIcon: string | import('vue').Component;
|
|
266
|
+
readonly pageSizes: number[];
|
|
267
|
+
readonly pagerCount: number;
|
|
268
|
+
readonly hideOnSinglePage: boolean;
|
|
269
|
+
}> | null, import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
|
270
|
+
readonly pageSize: NumberConstructor;
|
|
271
|
+
readonly defaultPageSize: NumberConstructor;
|
|
272
|
+
readonly total: NumberConstructor;
|
|
273
|
+
readonly pageCount: NumberConstructor;
|
|
274
|
+
readonly pagerCount: {
|
|
275
|
+
readonly type: import('vue').PropType<number>;
|
|
276
|
+
readonly required: false;
|
|
277
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
278
|
+
__epPropKey: true;
|
|
279
|
+
} & {
|
|
280
|
+
readonly default: 7;
|
|
281
|
+
};
|
|
282
|
+
readonly currentPage: NumberConstructor;
|
|
283
|
+
readonly defaultCurrentPage: NumberConstructor;
|
|
284
|
+
readonly layout: {
|
|
285
|
+
readonly type: import('vue').PropType<string>;
|
|
286
|
+
readonly required: false;
|
|
287
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
288
|
+
__epPropKey: true;
|
|
289
|
+
} & {
|
|
290
|
+
readonly default: string;
|
|
291
|
+
};
|
|
292
|
+
readonly pageSizes: {
|
|
293
|
+
readonly type: import('vue').PropType<number[]>;
|
|
294
|
+
readonly required: false;
|
|
295
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
296
|
+
__epPropKey: true;
|
|
297
|
+
} & {
|
|
298
|
+
readonly default: () => [10, 20, 30, 40, 50, 100];
|
|
299
|
+
};
|
|
300
|
+
readonly popperClass: {
|
|
301
|
+
readonly type: import('vue').PropType<string>;
|
|
302
|
+
readonly required: false;
|
|
303
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
304
|
+
__epPropKey: true;
|
|
305
|
+
} & {
|
|
306
|
+
readonly default: "";
|
|
307
|
+
};
|
|
308
|
+
readonly prevText: {
|
|
309
|
+
readonly type: import('vue').PropType<string>;
|
|
310
|
+
readonly required: false;
|
|
311
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
312
|
+
__epPropKey: true;
|
|
313
|
+
} & {
|
|
314
|
+
readonly default: "";
|
|
315
|
+
};
|
|
316
|
+
readonly prevIcon: {
|
|
317
|
+
readonly type: import('vue').PropType<string | import('vue').Component>;
|
|
318
|
+
readonly required: false;
|
|
319
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
320
|
+
__epPropKey: true;
|
|
321
|
+
} & {
|
|
322
|
+
readonly default: () => any;
|
|
323
|
+
};
|
|
324
|
+
readonly nextText: {
|
|
325
|
+
readonly type: import('vue').PropType<string>;
|
|
326
|
+
readonly required: false;
|
|
327
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
328
|
+
__epPropKey: true;
|
|
329
|
+
} & {
|
|
330
|
+
readonly default: "";
|
|
331
|
+
};
|
|
332
|
+
readonly nextIcon: {
|
|
333
|
+
readonly type: import('vue').PropType<string | import('vue').Component>;
|
|
334
|
+
readonly required: false;
|
|
335
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
336
|
+
__epPropKey: true;
|
|
337
|
+
} & {
|
|
338
|
+
readonly default: () => any;
|
|
339
|
+
};
|
|
340
|
+
readonly teleported: {
|
|
341
|
+
readonly type: import('vue').PropType<boolean>;
|
|
342
|
+
readonly required: false;
|
|
343
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
344
|
+
__epPropKey: true;
|
|
345
|
+
} & {
|
|
346
|
+
readonly default: true;
|
|
347
|
+
};
|
|
348
|
+
readonly small: BooleanConstructor;
|
|
349
|
+
readonly size: {
|
|
350
|
+
readonly type: import('vue').PropType<"" | "default" | "small" | "large">;
|
|
351
|
+
readonly required: false;
|
|
352
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
353
|
+
__epPropKey: true;
|
|
354
|
+
};
|
|
355
|
+
readonly background: BooleanConstructor;
|
|
356
|
+
readonly disabled: BooleanConstructor;
|
|
357
|
+
readonly hideOnSinglePage: BooleanConstructor;
|
|
358
|
+
readonly appendSizeTo: StringConstructor;
|
|
359
|
+
}>> & {
|
|
360
|
+
onChange?: ((currentPage: number, pageSize: number) => any) | undefined;
|
|
361
|
+
"onUpdate:current-page"?: ((val: number) => any) | undefined;
|
|
362
|
+
"onUpdate:page-size"?: ((val: number) => any) | undefined;
|
|
363
|
+
"onSize-change"?: ((val: number) => any) | undefined;
|
|
364
|
+
"onCurrent-change"?: ((val: number) => any) | undefined;
|
|
365
|
+
"onPrev-click"?: ((val: number) => any) | undefined;
|
|
366
|
+
"onNext-click"?: ((val: number) => any) | undefined;
|
|
367
|
+
}, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
368
|
+
[key: string]: any;
|
|
369
|
+
}> | null, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
370
|
+
"update:current-page": (val: number) => boolean;
|
|
371
|
+
"update:page-size": (val: number) => boolean;
|
|
372
|
+
"size-change": (val: number) => boolean;
|
|
373
|
+
change: (currentPage: number, pageSize: number) => boolean;
|
|
374
|
+
"current-change": (val: number) => boolean;
|
|
375
|
+
"prev-click": (val: number) => boolean;
|
|
376
|
+
"next-click": (val: number) => boolean;
|
|
377
|
+
}, import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, {
|
|
378
|
+
readonly small: boolean;
|
|
379
|
+
readonly disabled: boolean;
|
|
380
|
+
readonly background: boolean;
|
|
381
|
+
readonly layout: string;
|
|
382
|
+
readonly popperClass: string;
|
|
383
|
+
readonly teleported: boolean;
|
|
384
|
+
readonly prevText: string;
|
|
385
|
+
readonly prevIcon: string | import('vue').Component;
|
|
386
|
+
readonly nextText: string;
|
|
387
|
+
readonly nextIcon: string | import('vue').Component;
|
|
388
|
+
readonly pageSizes: number[];
|
|
389
|
+
readonly pagerCount: number;
|
|
390
|
+
readonly hideOnSinglePage: boolean;
|
|
391
|
+
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
392
|
+
P: {};
|
|
393
|
+
B: {};
|
|
394
|
+
D: {};
|
|
395
|
+
C: {};
|
|
396
|
+
M: {};
|
|
397
|
+
Defaults: {};
|
|
398
|
+
}, Readonly<import('vue').ExtractPropTypes<{
|
|
399
|
+
readonly pageSize: NumberConstructor;
|
|
400
|
+
readonly defaultPageSize: NumberConstructor;
|
|
401
|
+
readonly total: NumberConstructor;
|
|
402
|
+
readonly pageCount: NumberConstructor;
|
|
403
|
+
readonly pagerCount: {
|
|
404
|
+
readonly type: import('vue').PropType<number>;
|
|
405
|
+
readonly required: false;
|
|
406
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
407
|
+
__epPropKey: true;
|
|
408
|
+
} & {
|
|
409
|
+
readonly default: 7;
|
|
410
|
+
};
|
|
411
|
+
readonly currentPage: NumberConstructor;
|
|
412
|
+
readonly defaultCurrentPage: NumberConstructor;
|
|
413
|
+
readonly layout: {
|
|
414
|
+
readonly type: import('vue').PropType<string>;
|
|
415
|
+
readonly required: false;
|
|
416
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
417
|
+
__epPropKey: true;
|
|
418
|
+
} & {
|
|
419
|
+
readonly default: string;
|
|
420
|
+
};
|
|
421
|
+
readonly pageSizes: {
|
|
422
|
+
readonly type: import('vue').PropType<number[]>;
|
|
423
|
+
readonly required: false;
|
|
424
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
425
|
+
__epPropKey: true;
|
|
426
|
+
} & {
|
|
427
|
+
readonly default: () => [10, 20, 30, 40, 50, 100];
|
|
428
|
+
};
|
|
429
|
+
readonly popperClass: {
|
|
430
|
+
readonly type: import('vue').PropType<string>;
|
|
431
|
+
readonly required: false;
|
|
432
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
433
|
+
__epPropKey: true;
|
|
434
|
+
} & {
|
|
435
|
+
readonly default: "";
|
|
436
|
+
};
|
|
437
|
+
readonly prevText: {
|
|
438
|
+
readonly type: import('vue').PropType<string>;
|
|
439
|
+
readonly required: false;
|
|
440
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
441
|
+
__epPropKey: true;
|
|
442
|
+
} & {
|
|
443
|
+
readonly default: "";
|
|
444
|
+
};
|
|
445
|
+
readonly prevIcon: {
|
|
446
|
+
readonly type: import('vue').PropType<string | import('vue').Component>;
|
|
447
|
+
readonly required: false;
|
|
448
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
449
|
+
__epPropKey: true;
|
|
450
|
+
} & {
|
|
451
|
+
readonly default: () => any;
|
|
452
|
+
};
|
|
453
|
+
readonly nextText: {
|
|
454
|
+
readonly type: import('vue').PropType<string>;
|
|
455
|
+
readonly required: false;
|
|
456
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
457
|
+
__epPropKey: true;
|
|
458
|
+
} & {
|
|
459
|
+
readonly default: "";
|
|
460
|
+
};
|
|
461
|
+
readonly nextIcon: {
|
|
462
|
+
readonly type: import('vue').PropType<string | import('vue').Component>;
|
|
463
|
+
readonly required: false;
|
|
464
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
465
|
+
__epPropKey: true;
|
|
466
|
+
} & {
|
|
467
|
+
readonly default: () => any;
|
|
468
|
+
};
|
|
469
|
+
readonly teleported: {
|
|
470
|
+
readonly type: import('vue').PropType<boolean>;
|
|
471
|
+
readonly required: false;
|
|
472
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
473
|
+
__epPropKey: true;
|
|
474
|
+
} & {
|
|
475
|
+
readonly default: true;
|
|
476
|
+
};
|
|
477
|
+
readonly small: BooleanConstructor;
|
|
478
|
+
readonly size: {
|
|
479
|
+
readonly type: import('vue').PropType<"" | "default" | "small" | "large">;
|
|
480
|
+
readonly required: false;
|
|
481
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
482
|
+
__epPropKey: true;
|
|
483
|
+
};
|
|
484
|
+
readonly background: BooleanConstructor;
|
|
485
|
+
readonly disabled: BooleanConstructor;
|
|
486
|
+
readonly hideOnSinglePage: BooleanConstructor;
|
|
487
|
+
readonly appendSizeTo: StringConstructor;
|
|
488
|
+
}>> & {
|
|
489
|
+
onChange?: ((currentPage: number, pageSize: number) => any) | undefined;
|
|
490
|
+
"onUpdate:current-page"?: ((val: number) => any) | undefined;
|
|
491
|
+
"onUpdate:page-size"?: ((val: number) => any) | undefined;
|
|
492
|
+
"onSize-change"?: ((val: number) => any) | undefined;
|
|
493
|
+
"onCurrent-change"?: ((val: number) => any) | undefined;
|
|
494
|
+
"onPrev-click"?: ((val: number) => any) | undefined;
|
|
495
|
+
"onNext-click"?: ((val: number) => any) | undefined;
|
|
496
|
+
}, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
497
|
+
[key: string]: any;
|
|
498
|
+
}> | null, {}, {}, {}, {
|
|
499
|
+
readonly small: boolean;
|
|
500
|
+
readonly disabled: boolean;
|
|
501
|
+
readonly background: boolean;
|
|
502
|
+
readonly layout: string;
|
|
503
|
+
readonly popperClass: string;
|
|
504
|
+
readonly teleported: boolean;
|
|
505
|
+
readonly prevText: string;
|
|
506
|
+
readonly prevIcon: string | import('vue').Component;
|
|
507
|
+
readonly nextText: string;
|
|
508
|
+
readonly nextIcon: string | import('vue').Component;
|
|
509
|
+
readonly pageSizes: number[];
|
|
510
|
+
readonly pagerCount: number;
|
|
511
|
+
readonly hideOnSinglePage: boolean;
|
|
512
|
+
}> | null>;
|
|
513
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
514
|
+
"update:currentPage": (...args: any[]) => void;
|
|
515
|
+
"update:pageSize": (...args: any[]) => void;
|
|
516
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
517
|
+
baseStyle: {
|
|
518
|
+
type: StringConstructor;
|
|
519
|
+
default: string;
|
|
520
|
+
};
|
|
521
|
+
currentPage: {
|
|
522
|
+
type: NumberConstructor;
|
|
523
|
+
default: number;
|
|
524
|
+
};
|
|
525
|
+
pageSize: {
|
|
526
|
+
type: NumberConstructor;
|
|
527
|
+
default: number;
|
|
528
|
+
};
|
|
529
|
+
}>> & Readonly<{
|
|
530
|
+
"onUpdate:currentPage"?: ((...args: any[]) => any) | undefined;
|
|
531
|
+
"onUpdate:pageSize"?: ((...args: any[]) => any) | undefined;
|
|
532
|
+
}>, {
|
|
533
|
+
pageSize: number;
|
|
534
|
+
currentPage: number;
|
|
535
|
+
baseStyle: string;
|
|
536
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
537
|
+
componentRef: unknown;
|
|
538
|
+
}, any>;
|
|
539
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
540
|
+
export default _default;
|
|
541
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
542
|
+
new (): {
|
|
543
|
+
$slots: S;
|
|
544
|
+
};
|
|
545
|
+
};
|