ra-element 0.1.53 → 0.1.56
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-upload.md +1 -1
- package/lib/components/ra-button/index.vue.d.ts +301 -1
- package/lib/components/ra-checkbox-group/index.vue.d.ts +219 -1
- package/lib/components/ra-date-picker/index.vue.d.ts +562 -1
- package/lib/components/ra-dialog/index.vue.d.ts +516 -1
- package/lib/components/ra-dialog-select/index.vue.d.ts +1 -1
- package/lib/components/ra-input/index.vue.d.ts +543 -12
- package/lib/components/ra-pagination/index.vue.d.ts +244 -1
- package/lib/components/ra-radio-group/index.vue.d.ts +235 -1
- package/lib/components/ra-table/component/pagination-group.vue.d.ts +1 -1
- package/lib/components/ra-table/component/table-column-item.vue.d.ts +29 -0
- package/lib/components/ra-table/component/top-module.vue.d.ts +85 -0
- package/lib/components/ra-tree-select/index.vue.d.ts +99 -1
- package/lib/ra-element.css +1 -1
- package/lib/ra-element.es.js +1880 -9933
- package/lib/ra-element.es.js.map +1 -1
- package/lib/ra-element.umd.js +1 -18
- package/lib/ra-element.umd.js.map +1 -1
- package/package.json +1 -1
|
@@ -266,7 +266,250 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
266
266
|
default: number;
|
|
267
267
|
};
|
|
268
268
|
}>, {
|
|
269
|
-
component:
|
|
269
|
+
component: Readonly<import('vue').ShallowRef<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>>;
|
|
270
513
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
271
514
|
"update:currentPage": (...args: any[]) => void;
|
|
272
515
|
"update:pageSize": (...args: any[]) => void;
|
|
@@ -259,7 +259,241 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
259
259
|
default: boolean;
|
|
260
260
|
};
|
|
261
261
|
}>, {
|
|
262
|
-
component:
|
|
262
|
+
component: Readonly<import('vue').ShallowRef<({
|
|
263
|
+
$: import('vue').ComponentInternalInstance;
|
|
264
|
+
$data: {};
|
|
265
|
+
$props: Partial<{
|
|
266
|
+
readonly disabled: boolean;
|
|
267
|
+
readonly fill: string;
|
|
268
|
+
readonly id: string;
|
|
269
|
+
readonly props: import('element-plus').radioOptionProp;
|
|
270
|
+
readonly name: string;
|
|
271
|
+
readonly modelValue: string | number | boolean;
|
|
272
|
+
readonly validateEvent: boolean;
|
|
273
|
+
readonly textColor: string;
|
|
274
|
+
}> & Omit<{
|
|
275
|
+
readonly fill: string;
|
|
276
|
+
readonly disabled: boolean;
|
|
277
|
+
readonly props: import('element-plus').radioOptionProp;
|
|
278
|
+
readonly validateEvent: boolean;
|
|
279
|
+
readonly textColor: string;
|
|
280
|
+
readonly name?: string | undefined;
|
|
281
|
+
readonly size?: ("" | "default" | "small" | "large") | undefined;
|
|
282
|
+
readonly options?: import('element-plus').radioOption[] | undefined;
|
|
283
|
+
readonly modelValue?: (string | number | boolean) | undefined;
|
|
284
|
+
readonly id?: string | undefined;
|
|
285
|
+
readonly ariaLabel?: string | undefined;
|
|
286
|
+
"onUpdate:modelValue"?: ((val: string | number | boolean | undefined) => any) | undefined | undefined;
|
|
287
|
+
onChange?: ((val: string | number | boolean | undefined) => any) | undefined | undefined;
|
|
288
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "name" | "fill" | "disabled" | "props" | "modelValue" | "id" | "validateEvent" | "textColor">;
|
|
289
|
+
$attrs: {
|
|
290
|
+
[x: string]: unknown;
|
|
291
|
+
};
|
|
292
|
+
$refs: {
|
|
293
|
+
[x: string]: unknown;
|
|
294
|
+
};
|
|
295
|
+
$slots: Readonly<{
|
|
296
|
+
[name: string]: import('vue').Slot<any> | undefined;
|
|
297
|
+
}>;
|
|
298
|
+
$root: import('vue').ComponentPublicInstance | null;
|
|
299
|
+
$parent: import('vue').ComponentPublicInstance | null;
|
|
300
|
+
$host: Element | null;
|
|
301
|
+
$emit: ((event: "change", val: string | number | boolean | undefined) => void) & ((event: "update:modelValue", val: string | number | boolean | undefined) => void);
|
|
302
|
+
$el: any;
|
|
303
|
+
$options: import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
|
|
304
|
+
readonly ariaLabel: StringConstructor;
|
|
305
|
+
readonly id: {
|
|
306
|
+
readonly type: PropType<string>;
|
|
307
|
+
readonly required: false;
|
|
308
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
309
|
+
__epPropKey: true;
|
|
310
|
+
} & {
|
|
311
|
+
readonly default: undefined;
|
|
312
|
+
};
|
|
313
|
+
readonly size: {
|
|
314
|
+
readonly type: PropType<"" | "default" | "small" | "large">;
|
|
315
|
+
readonly required: false;
|
|
316
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
317
|
+
__epPropKey: true;
|
|
318
|
+
};
|
|
319
|
+
readonly disabled: BooleanConstructor;
|
|
320
|
+
readonly modelValue: {
|
|
321
|
+
readonly type: PropType<string | number | boolean>;
|
|
322
|
+
readonly required: false;
|
|
323
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
324
|
+
__epPropKey: true;
|
|
325
|
+
} & {
|
|
326
|
+
readonly default: undefined;
|
|
327
|
+
};
|
|
328
|
+
readonly fill: {
|
|
329
|
+
readonly type: PropType<string>;
|
|
330
|
+
readonly required: false;
|
|
331
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
332
|
+
__epPropKey: true;
|
|
333
|
+
} & {
|
|
334
|
+
readonly default: "";
|
|
335
|
+
};
|
|
336
|
+
readonly textColor: {
|
|
337
|
+
readonly type: PropType<string>;
|
|
338
|
+
readonly required: false;
|
|
339
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
340
|
+
__epPropKey: true;
|
|
341
|
+
} & {
|
|
342
|
+
readonly default: "";
|
|
343
|
+
};
|
|
344
|
+
readonly name: {
|
|
345
|
+
readonly type: PropType<string>;
|
|
346
|
+
readonly required: false;
|
|
347
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
348
|
+
__epPropKey: true;
|
|
349
|
+
} & {
|
|
350
|
+
readonly default: undefined;
|
|
351
|
+
};
|
|
352
|
+
readonly validateEvent: {
|
|
353
|
+
readonly type: PropType<boolean>;
|
|
354
|
+
readonly required: false;
|
|
355
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
356
|
+
__epPropKey: true;
|
|
357
|
+
} & {
|
|
358
|
+
readonly default: true;
|
|
359
|
+
};
|
|
360
|
+
readonly options: {
|
|
361
|
+
readonly type: PropType<import('element-plus').radioOption[]>;
|
|
362
|
+
readonly required: false;
|
|
363
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
364
|
+
__epPropKey: true;
|
|
365
|
+
};
|
|
366
|
+
readonly props: {
|
|
367
|
+
readonly type: PropType<import('element-plus').radioOptionProp>;
|
|
368
|
+
readonly required: false;
|
|
369
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
370
|
+
__epPropKey: true;
|
|
371
|
+
} & {
|
|
372
|
+
readonly default: () => Required<import('element-plus').radioOptionProp>;
|
|
373
|
+
};
|
|
374
|
+
}>> & {
|
|
375
|
+
"onUpdate:modelValue"?: ((val: string | number | boolean | undefined) => any) | undefined;
|
|
376
|
+
onChange?: ((val: string | number | boolean | undefined) => any) | undefined;
|
|
377
|
+
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
378
|
+
"update:modelValue": (val: string | number | boolean | undefined) => void;
|
|
379
|
+
change: (val: string | number | boolean | undefined) => void;
|
|
380
|
+
}, string, {
|
|
381
|
+
readonly disabled: boolean;
|
|
382
|
+
readonly fill: string;
|
|
383
|
+
readonly id: string;
|
|
384
|
+
readonly props: import('element-plus').radioOptionProp;
|
|
385
|
+
readonly name: string;
|
|
386
|
+
readonly modelValue: string | number | boolean;
|
|
387
|
+
readonly validateEvent: boolean;
|
|
388
|
+
readonly textColor: string;
|
|
389
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
390
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
391
|
+
created?: (() => void) | (() => void)[];
|
|
392
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
393
|
+
mounted?: (() => void) | (() => void)[];
|
|
394
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
395
|
+
updated?: (() => void) | (() => void)[];
|
|
396
|
+
activated?: (() => void) | (() => void)[];
|
|
397
|
+
deactivated?: (() => void) | (() => void)[];
|
|
398
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
399
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
400
|
+
destroyed?: (() => void) | (() => void)[];
|
|
401
|
+
unmounted?: (() => void) | (() => void)[];
|
|
402
|
+
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
403
|
+
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
404
|
+
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
405
|
+
};
|
|
406
|
+
$forceUpdate: () => void;
|
|
407
|
+
$nextTick: typeof import('vue').nextTick;
|
|
408
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
409
|
+
} & Readonly<{
|
|
410
|
+
readonly disabled: boolean;
|
|
411
|
+
readonly fill: string;
|
|
412
|
+
readonly id: string;
|
|
413
|
+
readonly props: import('element-plus').radioOptionProp;
|
|
414
|
+
readonly name: string;
|
|
415
|
+
readonly modelValue: string | number | boolean;
|
|
416
|
+
readonly validateEvent: boolean;
|
|
417
|
+
readonly textColor: string;
|
|
418
|
+
}> & Omit<Readonly<import('vue').ExtractPropTypes<{
|
|
419
|
+
readonly ariaLabel: StringConstructor;
|
|
420
|
+
readonly id: {
|
|
421
|
+
readonly type: PropType<string>;
|
|
422
|
+
readonly required: false;
|
|
423
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
424
|
+
__epPropKey: true;
|
|
425
|
+
} & {
|
|
426
|
+
readonly default: undefined;
|
|
427
|
+
};
|
|
428
|
+
readonly size: {
|
|
429
|
+
readonly type: PropType<"" | "default" | "small" | "large">;
|
|
430
|
+
readonly required: false;
|
|
431
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
432
|
+
__epPropKey: true;
|
|
433
|
+
};
|
|
434
|
+
readonly disabled: BooleanConstructor;
|
|
435
|
+
readonly modelValue: {
|
|
436
|
+
readonly type: PropType<string | number | boolean>;
|
|
437
|
+
readonly required: false;
|
|
438
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
439
|
+
__epPropKey: true;
|
|
440
|
+
} & {
|
|
441
|
+
readonly default: undefined;
|
|
442
|
+
};
|
|
443
|
+
readonly fill: {
|
|
444
|
+
readonly type: PropType<string>;
|
|
445
|
+
readonly required: false;
|
|
446
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
447
|
+
__epPropKey: true;
|
|
448
|
+
} & {
|
|
449
|
+
readonly default: "";
|
|
450
|
+
};
|
|
451
|
+
readonly textColor: {
|
|
452
|
+
readonly type: PropType<string>;
|
|
453
|
+
readonly required: false;
|
|
454
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
455
|
+
__epPropKey: true;
|
|
456
|
+
} & {
|
|
457
|
+
readonly default: "";
|
|
458
|
+
};
|
|
459
|
+
readonly name: {
|
|
460
|
+
readonly type: PropType<string>;
|
|
461
|
+
readonly required: false;
|
|
462
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
463
|
+
__epPropKey: true;
|
|
464
|
+
} & {
|
|
465
|
+
readonly default: undefined;
|
|
466
|
+
};
|
|
467
|
+
readonly validateEvent: {
|
|
468
|
+
readonly type: PropType<boolean>;
|
|
469
|
+
readonly required: false;
|
|
470
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
471
|
+
__epPropKey: true;
|
|
472
|
+
} & {
|
|
473
|
+
readonly default: true;
|
|
474
|
+
};
|
|
475
|
+
readonly options: {
|
|
476
|
+
readonly type: PropType<import('element-plus').radioOption[]>;
|
|
477
|
+
readonly required: false;
|
|
478
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
479
|
+
__epPropKey: true;
|
|
480
|
+
};
|
|
481
|
+
readonly props: {
|
|
482
|
+
readonly type: PropType<import('element-plus').radioOptionProp>;
|
|
483
|
+
readonly required: false;
|
|
484
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
485
|
+
__epPropKey: true;
|
|
486
|
+
} & {
|
|
487
|
+
readonly default: () => Required<import('element-plus').radioOptionProp>;
|
|
488
|
+
};
|
|
489
|
+
}>> & {
|
|
490
|
+
"onUpdate:modelValue"?: ((val: string | number | boolean | undefined) => any) | undefined;
|
|
491
|
+
onChange?: ((val: string | number | boolean | undefined) => any) | undefined;
|
|
492
|
+
}, "name" | "fill" | "disabled" | "props" | "modelValue" | "id" | "validateEvent" | "textColor"> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
493
|
+
$slots: {
|
|
494
|
+
default?(_: {}): any;
|
|
495
|
+
};
|
|
496
|
+
}) | null>>;
|
|
263
497
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
264
498
|
options: {
|
|
265
499
|
type: PropType<SelectOptions[]>;
|
|
@@ -72,8 +72,8 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
72
72
|
onSizeChange?: ((...args: any[]) => any) | undefined;
|
|
73
73
|
}>, {
|
|
74
74
|
pageSize: number;
|
|
75
|
-
pageReqType: string;
|
|
76
75
|
pageTotal: number;
|
|
76
|
+
pageReqType: string;
|
|
77
77
|
pageNum: number;
|
|
78
78
|
paginationButtonNumber: number;
|
|
79
79
|
paginationLayout: string;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { tableColumnItemType } from '../type.ts';
|
|
3
|
+
declare function __VLS_template(): {
|
|
4
|
+
attrs: Partial<{}>;
|
|
5
|
+
slots: any;
|
|
6
|
+
refs: {};
|
|
7
|
+
rootEl: any;
|
|
8
|
+
};
|
|
9
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
10
|
+
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
11
|
+
options: {
|
|
12
|
+
type: PropType<tableColumnItemType[]>;
|
|
13
|
+
default: () => never[];
|
|
14
|
+
};
|
|
15
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
16
|
+
options: {
|
|
17
|
+
type: PropType<tableColumnItemType[]>;
|
|
18
|
+
default: () => never[];
|
|
19
|
+
};
|
|
20
|
+
}>> & Readonly<{}>, {
|
|
21
|
+
options: tableColumnItemType[];
|
|
22
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
23
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
24
|
+
export default _default;
|
|
25
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
26
|
+
new (): {
|
|
27
|
+
$slots: S;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { TreeSelectOptions } from '../../ra-tree-select/type';
|
|
3
|
+
declare function __VLS_template(): {
|
|
4
|
+
attrs: Partial<{}>;
|
|
5
|
+
slots: {
|
|
6
|
+
topModuleLeft?(_: {}): any;
|
|
7
|
+
rightModuleLeft?(_: {}): any;
|
|
8
|
+
rightModuleCenter?(_: {}): any;
|
|
9
|
+
rightModuleRight?(_: {}): any;
|
|
10
|
+
};
|
|
11
|
+
refs: {};
|
|
12
|
+
rootEl: HTMLDivElement;
|
|
13
|
+
};
|
|
14
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
15
|
+
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
16
|
+
enableFilterColumn: {
|
|
17
|
+
type: BooleanConstructor;
|
|
18
|
+
default: boolean;
|
|
19
|
+
};
|
|
20
|
+
exportButtonText: {
|
|
21
|
+
type: StringConstructor;
|
|
22
|
+
default: string;
|
|
23
|
+
};
|
|
24
|
+
exportNumberLimit: {
|
|
25
|
+
type: NumberConstructor;
|
|
26
|
+
default: number;
|
|
27
|
+
};
|
|
28
|
+
pageTotal: {
|
|
29
|
+
type: NumberConstructor;
|
|
30
|
+
default: number;
|
|
31
|
+
};
|
|
32
|
+
selectOptions: {
|
|
33
|
+
type: PropType<TreeSelectOptions[]>;
|
|
34
|
+
default: () => never[];
|
|
35
|
+
};
|
|
36
|
+
modelValue: {
|
|
37
|
+
type: PropType<string[]>;
|
|
38
|
+
default: () => never[];
|
|
39
|
+
};
|
|
40
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
41
|
+
"update:modelValue": (value: any[]) => any;
|
|
42
|
+
exportTable: () => any;
|
|
43
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
44
|
+
enableFilterColumn: {
|
|
45
|
+
type: BooleanConstructor;
|
|
46
|
+
default: boolean;
|
|
47
|
+
};
|
|
48
|
+
exportButtonText: {
|
|
49
|
+
type: StringConstructor;
|
|
50
|
+
default: string;
|
|
51
|
+
};
|
|
52
|
+
exportNumberLimit: {
|
|
53
|
+
type: NumberConstructor;
|
|
54
|
+
default: number;
|
|
55
|
+
};
|
|
56
|
+
pageTotal: {
|
|
57
|
+
type: NumberConstructor;
|
|
58
|
+
default: number;
|
|
59
|
+
};
|
|
60
|
+
selectOptions: {
|
|
61
|
+
type: PropType<TreeSelectOptions[]>;
|
|
62
|
+
default: () => never[];
|
|
63
|
+
};
|
|
64
|
+
modelValue: {
|
|
65
|
+
type: PropType<string[]>;
|
|
66
|
+
default: () => never[];
|
|
67
|
+
};
|
|
68
|
+
}>> & Readonly<{
|
|
69
|
+
"onUpdate:modelValue"?: ((value: any[]) => any) | undefined;
|
|
70
|
+
onExportTable?: (() => any) | undefined;
|
|
71
|
+
}>, {
|
|
72
|
+
modelValue: string[];
|
|
73
|
+
enableFilterColumn: boolean;
|
|
74
|
+
exportButtonText: string;
|
|
75
|
+
exportNumberLimit: number;
|
|
76
|
+
pageTotal: number;
|
|
77
|
+
selectOptions: TreeSelectOptions[];
|
|
78
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
79
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
80
|
+
export default _default;
|
|
81
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
82
|
+
new (): {
|
|
83
|
+
$slots: S;
|
|
84
|
+
};
|
|
85
|
+
};
|