twcpt 0.0.12 → 0.0.14
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 +216 -217
- package/dist/components/j-tw-pagination/index.d.ts +189 -0
- package/dist/components/j-tw-pagination/types.d.ts +40 -0
- package/dist/components/j-tw-status-img/types.d.ts +2 -0
- package/dist/components/j-tw-table/index.d.ts +326 -237
- package/dist/components/j-tw-toggle/index.d.ts +278 -0
- package/dist/components/j-tw-toggle/types.d.ts +41 -0
- package/dist/components/j-tw-tooltip/index.d.ts +3 -0
- package/dist/components/j-tw-tooltip/types.d.ts +126 -0
- package/dist/global.d.ts +30 -0
- package/dist/index.css +1 -1
- package/dist/index.d.ts +7 -1
- package/dist/resolver.cjs +1 -1
- package/dist/resolver.mjs +13 -19
- package/dist/twcpt-styles.css +1 -1
- package/dist/twcpt.cjs.js +3 -3
- package/dist/twcpt.es.js +1880 -1534
- package/dist/utils/resolver.d.ts +1 -1
- package/package.json +1 -6
- package/dist/charts.cjs.js +0 -1
- package/dist/charts.d.ts +0 -0
- package/dist/charts.es.js +0 -1
|
@@ -129,14 +129,14 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
129
129
|
default: boolean;
|
|
130
130
|
};
|
|
131
131
|
}>> & Readonly<{
|
|
132
|
+
onSizeChange?: ((_size: number) => any) | undefined;
|
|
133
|
+
onCurrentChange?: ((_page: number) => any) | undefined;
|
|
132
134
|
onSelectionChange?: ((_selection: any[]) => any) | undefined;
|
|
133
135
|
onSortChange?: ((_data: {
|
|
134
136
|
column: any;
|
|
135
137
|
prop: string;
|
|
136
138
|
order: string;
|
|
137
139
|
}) => any) | undefined;
|
|
138
|
-
onSizeChange?: ((_size: number) => any) | undefined;
|
|
139
|
-
onCurrentChange?: ((_page: number) => any) | undefined;
|
|
140
140
|
"onUpdate:pagination"?: ((_pagination: JTWTablePagination) => any) | undefined;
|
|
141
141
|
}>, {
|
|
142
142
|
loading: boolean;
|
|
@@ -152,98 +152,8 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
152
152
|
bordered: boolean;
|
|
153
153
|
stripe: boolean;
|
|
154
154
|
}, {}, {
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
onChange?: ((val: CheckboxValueType) => any) | undefined;
|
|
158
|
-
"onUpdate:modelValue"?: ((val: CheckboxValueType) => any) | undefined;
|
|
159
|
-
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
160
|
-
change: (val: CheckboxValueType) => void;
|
|
161
|
-
"update:modelValue": (val: CheckboxValueType) => void;
|
|
162
|
-
}, PublicProps, {
|
|
163
|
-
value: string | boolean | number | object;
|
|
164
|
-
label: string | boolean | number | object;
|
|
165
|
-
disabled: boolean;
|
|
166
|
-
validateEvent: boolean;
|
|
167
|
-
modelValue: number | string | boolean;
|
|
168
|
-
id: string;
|
|
169
|
-
name: string;
|
|
170
|
-
trueValue: string | number;
|
|
171
|
-
falseValue: string | number;
|
|
172
|
-
trueLabel: string | number;
|
|
173
|
-
falseLabel: string | number;
|
|
174
|
-
}, false, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
|
|
175
|
-
P: {};
|
|
176
|
-
B: {};
|
|
177
|
-
D: {};
|
|
178
|
-
C: {};
|
|
179
|
-
M: {};
|
|
180
|
-
Defaults: {};
|
|
181
|
-
}, Readonly< CheckboxProps> & Readonly<{
|
|
182
|
-
onChange?: ((val: CheckboxValueType) => any) | undefined;
|
|
183
|
-
"onUpdate:modelValue"?: ((val: CheckboxValueType) => any) | undefined;
|
|
184
|
-
}>, {}, {}, {}, {}, {
|
|
185
|
-
value: string | boolean | number | object;
|
|
186
|
-
label: string | boolean | number | object;
|
|
187
|
-
disabled: boolean;
|
|
188
|
-
validateEvent: boolean;
|
|
189
|
-
modelValue: number | string | boolean;
|
|
190
|
-
id: string;
|
|
191
|
-
name: string;
|
|
192
|
-
trueValue: string | number;
|
|
193
|
-
falseValue: string | number;
|
|
194
|
-
trueLabel: string | number;
|
|
195
|
-
falseLabel: string | number;
|
|
196
|
-
}>;
|
|
197
|
-
__isFragment?: never;
|
|
198
|
-
__isTeleport?: never;
|
|
199
|
-
__isSuspense?: never;
|
|
200
|
-
} & ComponentOptionsBase<Readonly< CheckboxProps> & Readonly<{
|
|
201
|
-
onChange?: ((val: CheckboxValueType) => any) | undefined;
|
|
202
|
-
"onUpdate:modelValue"?: ((val: CheckboxValueType) => any) | undefined;
|
|
203
|
-
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
204
|
-
change: (val: CheckboxValueType) => void;
|
|
205
|
-
"update:modelValue": (val: CheckboxValueType) => void;
|
|
206
|
-
}, string, {
|
|
207
|
-
value: string | boolean | number | object;
|
|
208
|
-
label: string | boolean | number | object;
|
|
209
|
-
disabled: boolean;
|
|
210
|
-
validateEvent: boolean;
|
|
211
|
-
modelValue: number | string | boolean;
|
|
212
|
-
id: string;
|
|
213
|
-
name: string;
|
|
214
|
-
trueValue: string | number;
|
|
215
|
-
falseValue: string | number;
|
|
216
|
-
trueLabel: string | number;
|
|
217
|
-
falseLabel: string | number;
|
|
218
|
-
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
219
|
-
$slots: {
|
|
220
|
-
default?: (props: {}) => any;
|
|
221
|
-
};
|
|
222
|
-
}) & ObjectPlugin & {
|
|
223
|
-
setPropsDefaults: (defaults: Partial<{
|
|
224
|
-
readonly modelValue?: number | string | boolean | undefined;
|
|
225
|
-
readonly label?: string | boolean | number | object | undefined;
|
|
226
|
-
readonly value?: string | boolean | number | object | undefined;
|
|
227
|
-
readonly indeterminate?: boolean | undefined;
|
|
228
|
-
readonly disabled?: boolean | undefined;
|
|
229
|
-
readonly checked?: boolean | undefined;
|
|
230
|
-
readonly name?: string | undefined;
|
|
231
|
-
readonly trueValue?: string | number | undefined;
|
|
232
|
-
readonly falseValue?: string | number | undefined;
|
|
233
|
-
readonly trueLabel?: string | number | undefined;
|
|
234
|
-
readonly falseLabel?: string | number | undefined;
|
|
235
|
-
readonly id?: string | undefined;
|
|
236
|
-
readonly border?: boolean | undefined;
|
|
237
|
-
readonly size?: ComponentSize | undefined;
|
|
238
|
-
readonly tabindex?: string | number | undefined;
|
|
239
|
-
readonly validateEvent?: boolean | undefined;
|
|
240
|
-
readonly ariaLabel?: string | undefined;
|
|
241
|
-
readonly ariaControls?: string | undefined;
|
|
242
|
-
readonly onChange?: ((val: CheckboxValueType) => any) | undefined | undefined;
|
|
243
|
-
readonly "onUpdate:modelValue"?: ((val: CheckboxValueType) => any) | undefined | undefined;
|
|
244
|
-
} & VNodeProps & AllowedComponentProps & ComponentCustomProps>) => void;
|
|
245
|
-
} & {
|
|
246
|
-
CheckboxButton: {
|
|
155
|
+
JTWCheckbox: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {
|
|
156
|
+
ElCheckbox: {
|
|
247
157
|
new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly< CheckboxProps> & Readonly<{
|
|
248
158
|
onChange?: ((val: CheckboxValueType) => any) | undefined;
|
|
249
159
|
"onUpdate:modelValue"?: ((val: CheckboxValueType) => any) | undefined;
|
|
@@ -310,15 +220,148 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
310
220
|
$slots: {
|
|
311
221
|
default?: (props: {}) => any;
|
|
312
222
|
};
|
|
313
|
-
})
|
|
314
|
-
|
|
315
|
-
|
|
223
|
+
}) & ObjectPlugin & {
|
|
224
|
+
setPropsDefaults: (defaults: Partial<{
|
|
225
|
+
readonly modelValue?: number | string | boolean | undefined;
|
|
226
|
+
readonly label?: string | boolean | number | object | undefined;
|
|
227
|
+
readonly value?: string | boolean | number | object | undefined;
|
|
228
|
+
readonly indeterminate?: boolean | undefined;
|
|
229
|
+
readonly disabled?: boolean | undefined;
|
|
230
|
+
readonly checked?: boolean | undefined;
|
|
231
|
+
readonly name?: string | undefined;
|
|
232
|
+
readonly trueValue?: string | number | undefined;
|
|
233
|
+
readonly falseValue?: string | number | undefined;
|
|
234
|
+
readonly trueLabel?: string | number | undefined;
|
|
235
|
+
readonly falseLabel?: string | number | undefined;
|
|
236
|
+
readonly id?: string | undefined;
|
|
237
|
+
readonly border?: boolean | undefined;
|
|
238
|
+
readonly size?: ComponentSize | undefined;
|
|
239
|
+
readonly tabindex?: string | number | undefined;
|
|
240
|
+
readonly validateEvent?: boolean | undefined;
|
|
241
|
+
readonly ariaLabel?: string | undefined;
|
|
242
|
+
readonly ariaControls?: string | undefined;
|
|
243
|
+
readonly onChange?: ((val: CheckboxValueType) => any) | undefined | undefined;
|
|
244
|
+
readonly "onUpdate:modelValue"?: ((val: CheckboxValueType) => any) | undefined | undefined;
|
|
245
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps>) => void;
|
|
246
|
+
} & {
|
|
247
|
+
CheckboxButton: {
|
|
248
|
+
new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly< CheckboxProps> & Readonly<{
|
|
249
|
+
onChange?: ((val: CheckboxValueType) => any) | undefined;
|
|
250
|
+
"onUpdate:modelValue"?: ((val: CheckboxValueType) => any) | undefined;
|
|
251
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
252
|
+
change: (val: CheckboxValueType) => void;
|
|
253
|
+
"update:modelValue": (val: CheckboxValueType) => void;
|
|
254
|
+
}, PublicProps, {
|
|
255
|
+
value: string | boolean | number | object;
|
|
256
|
+
label: string | boolean | number | object;
|
|
257
|
+
disabled: boolean;
|
|
258
|
+
validateEvent: boolean;
|
|
259
|
+
modelValue: number | string | boolean;
|
|
260
|
+
id: string;
|
|
261
|
+
name: string;
|
|
262
|
+
trueValue: string | number;
|
|
263
|
+
falseValue: string | number;
|
|
264
|
+
trueLabel: string | number;
|
|
265
|
+
falseLabel: string | number;
|
|
266
|
+
}, false, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
|
|
267
|
+
P: {};
|
|
268
|
+
B: {};
|
|
269
|
+
D: {};
|
|
270
|
+
C: {};
|
|
271
|
+
M: {};
|
|
272
|
+
Defaults: {};
|
|
273
|
+
}, Readonly< CheckboxProps> & Readonly<{
|
|
274
|
+
onChange?: ((val: CheckboxValueType) => any) | undefined;
|
|
275
|
+
"onUpdate:modelValue"?: ((val: CheckboxValueType) => any) | undefined;
|
|
276
|
+
}>, {}, {}, {}, {}, {
|
|
277
|
+
value: string | boolean | number | object;
|
|
278
|
+
label: string | boolean | number | object;
|
|
279
|
+
disabled: boolean;
|
|
280
|
+
validateEvent: boolean;
|
|
281
|
+
modelValue: number | string | boolean;
|
|
282
|
+
id: string;
|
|
283
|
+
name: string;
|
|
284
|
+
trueValue: string | number;
|
|
285
|
+
falseValue: string | number;
|
|
286
|
+
trueLabel: string | number;
|
|
287
|
+
falseLabel: string | number;
|
|
288
|
+
}>;
|
|
289
|
+
__isFragment?: never;
|
|
290
|
+
__isTeleport?: never;
|
|
291
|
+
__isSuspense?: never;
|
|
292
|
+
} & ComponentOptionsBase<Readonly< CheckboxProps> & Readonly<{
|
|
293
|
+
onChange?: ((val: CheckboxValueType) => any) | undefined;
|
|
294
|
+
"onUpdate:modelValue"?: ((val: CheckboxValueType) => any) | undefined;
|
|
295
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
296
|
+
change: (val: CheckboxValueType) => void;
|
|
297
|
+
"update:modelValue": (val: CheckboxValueType) => void;
|
|
298
|
+
}, string, {
|
|
299
|
+
value: string | boolean | number | object;
|
|
300
|
+
label: string | boolean | number | object;
|
|
301
|
+
disabled: boolean;
|
|
302
|
+
validateEvent: boolean;
|
|
303
|
+
modelValue: number | string | boolean;
|
|
304
|
+
id: string;
|
|
305
|
+
name: string;
|
|
306
|
+
trueValue: string | number;
|
|
307
|
+
falseValue: string | number;
|
|
308
|
+
trueLabel: string | number;
|
|
309
|
+
falseLabel: string | number;
|
|
310
|
+
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
311
|
+
$slots: {
|
|
312
|
+
default?: (props: {}) => any;
|
|
313
|
+
};
|
|
314
|
+
});
|
|
315
|
+
CheckboxGroup: {
|
|
316
|
+
new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly< CheckboxGroupProps> & Readonly<{
|
|
317
|
+
onChange?: ((val: CheckboxValueType[]) => any) | undefined;
|
|
318
|
+
"onUpdate:modelValue"?: ((val: CheckboxGroupValueType) => any) | undefined;
|
|
319
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
320
|
+
change: (val: CheckboxValueType[]) => void;
|
|
321
|
+
"update:modelValue": (val: CheckboxGroupValueType) => void;
|
|
322
|
+
}, PublicProps, {
|
|
323
|
+
type: "checkbox" | "button";
|
|
324
|
+
props: {
|
|
325
|
+
value?: string;
|
|
326
|
+
label?: string;
|
|
327
|
+
disabled?: string;
|
|
328
|
+
};
|
|
329
|
+
disabled: boolean;
|
|
330
|
+
validateEvent: boolean;
|
|
331
|
+
modelValue: CheckboxGroupValueType;
|
|
332
|
+
tag: string;
|
|
333
|
+
}, false, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
|
|
334
|
+
P: {};
|
|
335
|
+
B: {};
|
|
336
|
+
D: {};
|
|
337
|
+
C: {};
|
|
338
|
+
M: {};
|
|
339
|
+
Defaults: {};
|
|
340
|
+
}, Readonly< CheckboxGroupProps> & Readonly<{
|
|
341
|
+
onChange?: ((val: CheckboxValueType[]) => any) | undefined;
|
|
342
|
+
"onUpdate:modelValue"?: ((val: CheckboxGroupValueType) => any) | undefined;
|
|
343
|
+
}>, {}, {}, {}, {}, {
|
|
344
|
+
type: "checkbox" | "button";
|
|
345
|
+
props: {
|
|
346
|
+
value?: string;
|
|
347
|
+
label?: string;
|
|
348
|
+
disabled?: string;
|
|
349
|
+
};
|
|
350
|
+
disabled: boolean;
|
|
351
|
+
validateEvent: boolean;
|
|
352
|
+
modelValue: CheckboxGroupValueType;
|
|
353
|
+
tag: string;
|
|
354
|
+
}>;
|
|
355
|
+
__isFragment?: never;
|
|
356
|
+
__isTeleport?: never;
|
|
357
|
+
__isSuspense?: never;
|
|
358
|
+
} & ComponentOptionsBase<Readonly< CheckboxGroupProps> & Readonly<{
|
|
316
359
|
onChange?: ((val: CheckboxValueType[]) => any) | undefined;
|
|
317
360
|
"onUpdate:modelValue"?: ((val: CheckboxGroupValueType) => any) | undefined;
|
|
318
361
|
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
319
362
|
change: (val: CheckboxValueType[]) => void;
|
|
320
363
|
"update:modelValue": (val: CheckboxGroupValueType) => void;
|
|
321
|
-
},
|
|
364
|
+
}, string, {
|
|
322
365
|
type: "checkbox" | "button";
|
|
323
366
|
props: {
|
|
324
367
|
value?: string;
|
|
@@ -329,152 +372,198 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
329
372
|
validateEvent: boolean;
|
|
330
373
|
modelValue: CheckboxGroupValueType;
|
|
331
374
|
tag: string;
|
|
332
|
-
},
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
D: {};
|
|
336
|
-
C: {};
|
|
337
|
-
M: {};
|
|
338
|
-
Defaults: {};
|
|
339
|
-
}, Readonly< CheckboxGroupProps> & Readonly<{
|
|
340
|
-
onChange?: ((val: CheckboxValueType[]) => any) | undefined;
|
|
341
|
-
"onUpdate:modelValue"?: ((val: CheckboxGroupValueType) => any) | undefined;
|
|
342
|
-
}>, {}, {}, {}, {}, {
|
|
343
|
-
type: "checkbox" | "button";
|
|
344
|
-
props: {
|
|
345
|
-
value?: string;
|
|
346
|
-
label?: string;
|
|
347
|
-
disabled?: string;
|
|
375
|
+
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
376
|
+
$slots: {
|
|
377
|
+
default?: (props: {}) => any;
|
|
348
378
|
};
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
}
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
default?: (props: {}) => any;
|
|
377
|
-
};
|
|
378
|
-
});
|
|
379
|
-
};
|
|
380
|
-
ElPagination: SFCWithInstall<DefineComponent<ExtractPropTypes<{
|
|
381
|
-
readonly pageSize: NumberConstructor;
|
|
382
|
-
readonly defaultPageSize: NumberConstructor;
|
|
383
|
-
readonly total: NumberConstructor;
|
|
384
|
-
readonly pageCount: NumberConstructor;
|
|
385
|
-
readonly pagerCount: EpPropFinalized<NumberConstructor, unknown, unknown, 7, boolean>;
|
|
386
|
-
readonly currentPage: NumberConstructor;
|
|
387
|
-
readonly defaultCurrentPage: NumberConstructor;
|
|
388
|
-
readonly layout: EpPropFinalized<StringConstructor, unknown, unknown, string, boolean>;
|
|
389
|
-
readonly pageSizes: EpPropFinalized<(new (...args: any[]) => number[]) | (() => number[]) | (((new (...args: any[]) => number[]) | (() => number[])) | null)[], unknown, unknown, () => [10, 20, 30, 40, 50, 100], boolean>;
|
|
390
|
-
readonly popperClass: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
391
|
-
readonly popperStyle: {
|
|
392
|
-
readonly type: PropType< EpPropMergeType<(new (...args: any[]) => string | CSSProperties) | (() => string | CSSProperties) | (((new (...args: any[]) => string | CSSProperties) | (() => string | CSSProperties)) | null)[], unknown, unknown>>;
|
|
393
|
-
readonly required: false;
|
|
394
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
395
|
-
__epPropKey: true;
|
|
379
|
+
});
|
|
380
|
+
};
|
|
381
|
+
}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
382
|
+
JTWPagination: DefineComponent<ExtractPropTypes<{
|
|
383
|
+
page: {
|
|
384
|
+
type: NumberConstructor;
|
|
385
|
+
required: true;
|
|
386
|
+
};
|
|
387
|
+
pageSize: {
|
|
388
|
+
type: NumberConstructor;
|
|
389
|
+
required: true;
|
|
390
|
+
};
|
|
391
|
+
total: {
|
|
392
|
+
type: NumberConstructor;
|
|
393
|
+
required: true;
|
|
394
|
+
};
|
|
395
|
+
pageSizes: {
|
|
396
|
+
type: PropType<number[]>;
|
|
397
|
+
default: () => number[];
|
|
398
|
+
};
|
|
399
|
+
layout: {
|
|
400
|
+
type: StringConstructor;
|
|
401
|
+
default: string;
|
|
402
|
+
};
|
|
403
|
+
pagerCount: {
|
|
404
|
+
type: NumberConstructor;
|
|
405
|
+
default: number;
|
|
396
406
|
};
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
readonly nextIcon: EpPropFinalized<(new (...args: any[]) => (string | Component) & {}) | (() => string | Component) | (((new (...args: any[]) => (string | Component) & {}) | (() => string | Component)) | null)[], unknown, unknown, () => DefineComponent<{}, void, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>, boolean>;
|
|
401
|
-
readonly teleported: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
402
|
-
readonly small: BooleanConstructor;
|
|
403
|
-
readonly size: {
|
|
404
|
-
readonly type: PropType< EpPropMergeType<StringConstructor, "" | "default" | "large" | "small", never>>;
|
|
405
|
-
readonly required: false;
|
|
406
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
407
|
-
__epPropKey: true;
|
|
407
|
+
background: {
|
|
408
|
+
type: BooleanConstructor;
|
|
409
|
+
default: boolean;
|
|
408
410
|
};
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
}>,
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
'
|
|
421
|
-
'prev-click': (val: number) => boolean;
|
|
422
|
-
'next-click': (val: number) => boolean;
|
|
411
|
+
disabled: {
|
|
412
|
+
type: BooleanConstructor;
|
|
413
|
+
default: boolean;
|
|
414
|
+
};
|
|
415
|
+
}>, {
|
|
416
|
+
handleSizeChange: (size: number) => void;
|
|
417
|
+
handleCurrentChange: (page: number) => void;
|
|
418
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
419
|
+
sizeChange: (_size: number) => true;
|
|
420
|
+
currentChange: (_page: number) => true;
|
|
421
|
+
'update:page': (_page: number) => true;
|
|
422
|
+
'update:pageSize': (_pageSize: number) => true;
|
|
423
423
|
}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
424
|
+
page: {
|
|
425
|
+
type: NumberConstructor;
|
|
426
|
+
required: true;
|
|
427
|
+
};
|
|
428
|
+
pageSize: {
|
|
429
|
+
type: NumberConstructor;
|
|
430
|
+
required: true;
|
|
431
|
+
};
|
|
432
|
+
total: {
|
|
433
|
+
type: NumberConstructor;
|
|
434
|
+
required: true;
|
|
435
|
+
};
|
|
436
|
+
pageSizes: {
|
|
437
|
+
type: PropType<number[]>;
|
|
438
|
+
default: () => number[];
|
|
439
|
+
};
|
|
440
|
+
layout: {
|
|
441
|
+
type: StringConstructor;
|
|
442
|
+
default: string;
|
|
443
|
+
};
|
|
444
|
+
pagerCount: {
|
|
445
|
+
type: NumberConstructor;
|
|
446
|
+
default: number;
|
|
439
447
|
};
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
readonly type: PropType< EpPropMergeType<StringConstructor, "" | "default" | "large" | "small", never>>;
|
|
448
|
-
readonly required: false;
|
|
449
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
450
|
-
__epPropKey: true;
|
|
448
|
+
background: {
|
|
449
|
+
type: BooleanConstructor;
|
|
450
|
+
default: boolean;
|
|
451
|
+
};
|
|
452
|
+
disabled: {
|
|
453
|
+
type: BooleanConstructor;
|
|
454
|
+
default: boolean;
|
|
451
455
|
};
|
|
452
|
-
readonly background: BooleanConstructor;
|
|
453
|
-
readonly disabled: BooleanConstructor;
|
|
454
|
-
readonly hideOnSinglePage: BooleanConstructor;
|
|
455
|
-
readonly appendSizeTo: StringConstructor;
|
|
456
456
|
}>> & Readonly<{
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
"onUpdate:page
|
|
460
|
-
"
|
|
461
|
-
"onCurrent-change"?: ((val: number) => any) | undefined;
|
|
462
|
-
"onPrev-click"?: ((val: number) => any) | undefined;
|
|
463
|
-
"onNext-click"?: ((val: number) => any) | undefined;
|
|
457
|
+
onSizeChange?: ((_size: number) => any) | undefined;
|
|
458
|
+
onCurrentChange?: ((_page: number) => any) | undefined;
|
|
459
|
+
"onUpdate:page"?: ((_page: number) => any) | undefined;
|
|
460
|
+
"onUpdate:pageSize"?: ((_pageSize: number) => any) | undefined;
|
|
464
461
|
}>, {
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
462
|
+
disabled: boolean;
|
|
463
|
+
pagerCount: number;
|
|
464
|
+
layout: string;
|
|
465
|
+
pageSizes: number[];
|
|
466
|
+
background: boolean;
|
|
467
|
+
}, {}, {
|
|
468
|
+
ElPagination: SFCWithInstall<DefineComponent<ExtractPropTypes<{
|
|
469
|
+
readonly pageSize: NumberConstructor;
|
|
470
|
+
readonly defaultPageSize: NumberConstructor;
|
|
471
|
+
readonly total: NumberConstructor;
|
|
472
|
+
readonly pageCount: NumberConstructor;
|
|
473
|
+
readonly pagerCount: EpPropFinalized<NumberConstructor, unknown, unknown, 7, boolean>;
|
|
474
|
+
readonly currentPage: NumberConstructor;
|
|
475
|
+
readonly defaultCurrentPage: NumberConstructor;
|
|
476
|
+
readonly layout: EpPropFinalized<StringConstructor, unknown, unknown, string, boolean>;
|
|
477
|
+
readonly pageSizes: EpPropFinalized<(new (...args: any[]) => number[]) | (() => number[]) | (((new (...args: any[]) => number[]) | (() => number[])) | null)[], unknown, unknown, () => [10, 20, 30, 40, 50, 100], boolean>;
|
|
478
|
+
readonly popperClass: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
479
|
+
readonly popperStyle: {
|
|
480
|
+
readonly type: PropType< EpPropMergeType<(new (...args: any[]) => string | CSSProperties) | (() => string | CSSProperties) | (((new (...args: any[]) => string | CSSProperties) | (() => string | CSSProperties)) | null)[], unknown, unknown>>;
|
|
481
|
+
readonly required: false;
|
|
482
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
483
|
+
__epPropKey: true;
|
|
484
|
+
};
|
|
485
|
+
readonly prevText: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
486
|
+
readonly prevIcon: EpPropFinalized<(new (...args: any[]) => (string | Component) & {}) | (() => string | Component) | (((new (...args: any[]) => (string | Component) & {}) | (() => string | Component)) | null)[], unknown, unknown, () => DefineComponent<{}, void, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>, boolean>;
|
|
487
|
+
readonly nextText: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
488
|
+
readonly nextIcon: EpPropFinalized<(new (...args: any[]) => (string | Component) & {}) | (() => string | Component) | (((new (...args: any[]) => (string | Component) & {}) | (() => string | Component)) | null)[], unknown, unknown, () => DefineComponent<{}, void, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>, boolean>;
|
|
489
|
+
readonly teleported: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
490
|
+
readonly small: BooleanConstructor;
|
|
491
|
+
readonly size: {
|
|
492
|
+
readonly type: PropType< EpPropMergeType<StringConstructor, "" | "default" | "large" | "small", never>>;
|
|
493
|
+
readonly required: false;
|
|
494
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
495
|
+
__epPropKey: true;
|
|
496
|
+
};
|
|
497
|
+
readonly background: BooleanConstructor;
|
|
498
|
+
readonly disabled: BooleanConstructor;
|
|
499
|
+
readonly hideOnSinglePage: BooleanConstructor;
|
|
500
|
+
readonly appendSizeTo: StringConstructor;
|
|
501
|
+
}>, () => VNode<RendererNode, RendererElement, {
|
|
502
|
+
[key: string]: any;
|
|
503
|
+
}> | null, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
504
|
+
'update:current-page': (val: number) => boolean;
|
|
505
|
+
'update:page-size': (val: number) => boolean;
|
|
506
|
+
'size-change': (val: number) => boolean;
|
|
507
|
+
change: (currentPage: number, pageSize: number) => boolean;
|
|
508
|
+
'current-change': (val: number) => boolean;
|
|
509
|
+
'prev-click': (val: number) => boolean;
|
|
510
|
+
'next-click': (val: number) => boolean;
|
|
511
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
512
|
+
readonly pageSize: NumberConstructor;
|
|
513
|
+
readonly defaultPageSize: NumberConstructor;
|
|
514
|
+
readonly total: NumberConstructor;
|
|
515
|
+
readonly pageCount: NumberConstructor;
|
|
516
|
+
readonly pagerCount: EpPropFinalized<NumberConstructor, unknown, unknown, 7, boolean>;
|
|
517
|
+
readonly currentPage: NumberConstructor;
|
|
518
|
+
readonly defaultCurrentPage: NumberConstructor;
|
|
519
|
+
readonly layout: EpPropFinalized<StringConstructor, unknown, unknown, string, boolean>;
|
|
520
|
+
readonly pageSizes: EpPropFinalized<(new (...args: any[]) => number[]) | (() => number[]) | (((new (...args: any[]) => number[]) | (() => number[])) | null)[], unknown, unknown, () => [10, 20, 30, 40, 50, 100], boolean>;
|
|
521
|
+
readonly popperClass: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
522
|
+
readonly popperStyle: {
|
|
523
|
+
readonly type: PropType< EpPropMergeType<(new (...args: any[]) => string | CSSProperties) | (() => string | CSSProperties) | (((new (...args: any[]) => string | CSSProperties) | (() => string | CSSProperties)) | null)[], unknown, unknown>>;
|
|
524
|
+
readonly required: false;
|
|
525
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
526
|
+
__epPropKey: true;
|
|
527
|
+
};
|
|
528
|
+
readonly prevText: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
529
|
+
readonly prevIcon: EpPropFinalized<(new (...args: any[]) => (string | Component) & {}) | (() => string | Component) | (((new (...args: any[]) => (string | Component) & {}) | (() => string | Component)) | null)[], unknown, unknown, () => DefineComponent<{}, void, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>, boolean>;
|
|
530
|
+
readonly nextText: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
531
|
+
readonly nextIcon: EpPropFinalized<(new (...args: any[]) => (string | Component) & {}) | (() => string | Component) | (((new (...args: any[]) => (string | Component) & {}) | (() => string | Component)) | null)[], unknown, unknown, () => DefineComponent<{}, void, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>, boolean>;
|
|
532
|
+
readonly teleported: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
533
|
+
readonly small: BooleanConstructor;
|
|
534
|
+
readonly size: {
|
|
535
|
+
readonly type: PropType< EpPropMergeType<StringConstructor, "" | "default" | "large" | "small", never>>;
|
|
536
|
+
readonly required: false;
|
|
537
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
538
|
+
__epPropKey: true;
|
|
539
|
+
};
|
|
540
|
+
readonly background: BooleanConstructor;
|
|
541
|
+
readonly disabled: BooleanConstructor;
|
|
542
|
+
readonly hideOnSinglePage: BooleanConstructor;
|
|
543
|
+
readonly appendSizeTo: StringConstructor;
|
|
544
|
+
}>> & Readonly<{
|
|
545
|
+
onChange?: ((currentPage: number, pageSize: number) => any) | undefined;
|
|
546
|
+
"onUpdate:current-page"?: ((val: number) => any) | undefined;
|
|
547
|
+
"onUpdate:page-size"?: ((val: number) => any) | undefined;
|
|
548
|
+
"onSize-change"?: ((val: number) => any) | undefined;
|
|
549
|
+
"onCurrent-change"?: ((val: number) => any) | undefined;
|
|
550
|
+
"onPrev-click"?: ((val: number) => any) | undefined;
|
|
551
|
+
"onNext-click"?: ((val: number) => any) | undefined;
|
|
552
|
+
}>, {
|
|
553
|
+
readonly disabled: boolean;
|
|
554
|
+
readonly popperClass: string;
|
|
555
|
+
readonly teleported: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
556
|
+
readonly background: boolean;
|
|
557
|
+
readonly layout: string;
|
|
558
|
+
readonly small: boolean;
|
|
559
|
+
readonly pagerCount: number;
|
|
560
|
+
readonly pageSizes: number[];
|
|
561
|
+
readonly prevText: string;
|
|
562
|
+
readonly prevIcon: EpPropMergeType<(new (...args: any[]) => (string | Component) & {}) | (() => string | Component) | (((new (...args: any[]) => (string | Component) & {}) | (() => string | Component)) | null)[], unknown, unknown>;
|
|
563
|
+
readonly nextText: string;
|
|
564
|
+
readonly nextIcon: EpPropMergeType<(new (...args: any[]) => (string | Component) & {}) | (() => string | Component) | (((new (...args: any[]) => (string | Component) & {}) | (() => string | Component)) | null)[], unknown, unknown>;
|
|
565
|
+
readonly hideOnSinglePage: boolean;
|
|
566
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>>;
|
|
567
|
+
}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
479
568
|
}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
480
569
|
export default _default;
|