@aplus-frontend/ui 0.4.1 → 0.4.2
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/es/src/ap-field/number/index.vue.d.ts +322 -1
- package/es/src/ap-field/radio/index.vue.d.ts +98 -2
- package/es/src/ap-field/rate/index.vue.d.ts +82 -1
- package/es/src/ap-field/segmented/index.vue.d.ts +1 -7
- package/es/src/ap-field/select/index.vue.d.ts +423 -1
- package/es/src/ap-field/select/index.vue.mjs +4 -3
- package/es/src/ap-field/slider/index.vue.d.ts +257 -1
- package/es/src/ap-field/text/index.vue.d.ts +1 -13
- package/es/src/ap-field/text-area/index.vue.d.ts +267 -2
- package/es/src/ap-form/ap-form.vue.d.ts +636 -1
- package/es/src/ap-form/drawer-form/index.vue.d.ts +1454 -4
- package/es/src/ap-form/item/index.vue.d.ts +777 -1
- package/es/src/ap-form/items/number/index.vue.d.ts +783 -2
- package/es/src/ap-form/items/radio/index.vue.d.ts +221 -3
- package/es/src/ap-form/items/text/index.vue.d.ts +128 -15
- package/es/src/ap-form/items/text/password.vue.d.ts +148 -1
- package/es/src/ap-form/items/text-area/index.vue.d.ts +566 -3
- package/es/src/ap-form/modal-form/index.vue.d.ts +1454 -5
- package/es/src/ap-form/modal-form/index.vue.mjs +64 -66
- package/es/src/ap-form/search-form/index.vue.d.ts +1454 -3
- package/es/src/ap-info-layout/ap-info-layout-admin/ApInfoLayoutAdmin.vue.d.ts +4 -1
- package/es/src/ap-list/index.vue.d.ts +1 -1
- package/es/src/ap-scroll-bar/ap-scroll-bar.vue.d.ts +3 -1
- package/es/src/ap-scroll-bar/index.d.ts +3 -1
- package/es/src/ap-table/ap-table.vue.d.ts +1 -1
- package/es/src/ap-table/ap-table.vue2.mjs +98 -97
- package/es/src/ap-table/constants.d.ts +2260 -26
- package/es/src/ap-table/context.d.ts +1 -0
- package/es/src/ap-table/context.mjs +11 -10
- package/es/src/ap-table/utils.d.ts +1168 -8
- package/es/src/ap-tag/ap-tag-group.vue.d.ts +3 -1
- package/es/src/ap-upload/apUpload.vue.d.ts +3 -1
- package/es/src/ap-upload/components/MultipleFile.vue.d.ts +453 -2
- package/es/src/ap-upload/components/Picture.vue.d.ts +3 -1
- package/es/src/ap-upload/components/SingleFile.vue.d.ts +3 -1
- package/es/src/business/ap-expand-alert/ApExpandAlert.vue.d.ts +1 -1
- package/es/src/business/ap-export-group/ApExportGroup.vue2.mjs +66 -61
- package/es/src/business/ap-group-search/ap-group-search.vue.d.ts +3 -1
- package/es/src/business/ap-group-search/ap-group-search.vue2.mjs +5 -4
- package/es/src/business/ap-group-search/extension-select/index.vue.d.ts +3 -1
- package/es/src/business/ap-group-search/extension-select/index.vue2.mjs +8 -7
- package/es/src/business/ap-group-search/index.d.ts +444 -4
- package/es/src/business/ap-group-search/popover-select/index.vue.d.ts +421 -3
- package/es/src/business/ap-group-search/popover-select/index.vue2.mjs +1 -0
- package/es/src/business/ap-select-layout/select-layout.vue.d.ts +1 -1
- package/es/src/business/ap-table-modal/index.d.ts +22 -2
- package/es/src/business/ap-table-modal/interface.d.ts +2 -2
- package/es/src/business/ap-table-modal/table-modal.vue.d.ts +22 -2
- package/es/src/business/batch-input-group/index.vue.d.ts +134 -3
- package/es/src/business/batch-input-group/popover-input/index.vue.d.ts +267 -2
- package/es/src/business/hooks/usePageListApTable.mjs +20 -18
- package/es/src/editable-table/form-item.vue.d.ts +1 -1
- package/es/src/editable-table/index.vue.d.ts +1 -1
- package/es/src/work-order-modal/work-order-modal.vue.d.ts +827 -2
- package/lib/src/ap-field/number/index.vue.d.ts +322 -1
- package/lib/src/ap-field/radio/index.vue.d.ts +98 -2
- package/lib/src/ap-field/rate/index.vue.d.ts +82 -1
- package/lib/src/ap-field/segmented/index.vue.d.ts +1 -7
- package/lib/src/ap-field/select/index.vue.d.ts +423 -1
- package/lib/src/ap-field/select/index.vue.js +1 -1
- package/lib/src/ap-field/slider/index.vue.d.ts +257 -1
- package/lib/src/ap-field/text/index.vue.d.ts +1 -13
- package/lib/src/ap-field/text-area/index.vue.d.ts +267 -2
- package/lib/src/ap-form/ap-form.vue.d.ts +636 -1
- package/lib/src/ap-form/drawer-form/index.vue.d.ts +1454 -4
- package/lib/src/ap-form/item/index.vue.d.ts +777 -1
- package/lib/src/ap-form/items/number/index.vue.d.ts +783 -2
- package/lib/src/ap-form/items/radio/index.vue.d.ts +221 -3
- package/lib/src/ap-form/items/text/index.vue.d.ts +128 -15
- package/lib/src/ap-form/items/text/password.vue.d.ts +148 -1
- package/lib/src/ap-form/items/text-area/index.vue.d.ts +566 -3
- package/lib/src/ap-form/modal-form/index.vue.d.ts +1454 -5
- package/lib/src/ap-form/modal-form/index.vue.js +1 -1
- package/lib/src/ap-form/search-form/index.vue.d.ts +1454 -3
- package/lib/src/ap-info-layout/ap-info-layout-admin/ApInfoLayoutAdmin.vue.d.ts +4 -1
- package/lib/src/ap-list/index.vue.d.ts +1 -1
- package/lib/src/ap-scroll-bar/ap-scroll-bar.vue.d.ts +3 -1
- package/lib/src/ap-scroll-bar/index.d.ts +3 -1
- package/lib/src/ap-table/ap-table.vue.d.ts +1 -1
- package/lib/src/ap-table/ap-table.vue2.js +1 -1
- package/lib/src/ap-table/constants.d.ts +2260 -26
- package/lib/src/ap-table/context.d.ts +1 -0
- package/lib/src/ap-table/context.js +1 -1
- package/lib/src/ap-table/utils.d.ts +1168 -8
- package/lib/src/ap-tag/ap-tag-group.vue.d.ts +3 -1
- package/lib/src/ap-upload/apUpload.vue.d.ts +3 -1
- package/lib/src/ap-upload/components/MultipleFile.vue.d.ts +453 -2
- package/lib/src/ap-upload/components/Picture.vue.d.ts +3 -1
- package/lib/src/ap-upload/components/SingleFile.vue.d.ts +3 -1
- package/lib/src/business/ap-expand-alert/ApExpandAlert.vue.d.ts +1 -1
- package/lib/src/business/ap-export-group/ApExportGroup.vue2.js +1 -1
- package/lib/src/business/ap-group-search/ap-group-search.vue.d.ts +3 -1
- package/lib/src/business/ap-group-search/ap-group-search.vue2.js +1 -1
- package/lib/src/business/ap-group-search/extension-select/index.vue.d.ts +3 -1
- package/lib/src/business/ap-group-search/extension-select/index.vue2.js +1 -1
- package/lib/src/business/ap-group-search/index.d.ts +444 -4
- package/lib/src/business/ap-group-search/popover-select/index.vue.d.ts +421 -3
- package/lib/src/business/ap-group-search/popover-select/index.vue2.js +1 -1
- package/lib/src/business/ap-select-layout/select-layout.vue.d.ts +1 -1
- package/lib/src/business/ap-table-modal/index.d.ts +22 -2
- package/lib/src/business/ap-table-modal/interface.d.ts +2 -2
- package/lib/src/business/ap-table-modal/table-modal.vue.d.ts +22 -2
- package/lib/src/business/batch-input-group/index.vue.d.ts +134 -3
- package/lib/src/business/batch-input-group/popover-input/index.vue.d.ts +267 -2
- package/lib/src/business/hooks/usePageListApTable.js +1 -1
- package/lib/src/editable-table/form-item.vue.d.ts +1 -1
- package/lib/src/editable-table/index.vue.d.ts +1 -1
- package/lib/src/work-order-modal/work-order-modal.vue.d.ts +827 -2
- package/package.json +5 -5
- package/theme/ap-form/index.css +3 -4
- package/theme/ap-form/modal-form.css +3 -4
- package/theme/ap-form/modal-form.less +3 -4
- package/theme/ap-table/ap-table.css +3 -4
- package/theme/ap-table-modal/index.css +3 -4
- package/theme/editable-table/index.css +3 -4
- package/theme/index.css +3 -4
|
@@ -360,7 +360,328 @@ declare const __VLS_component: DefineComponent<ApFieldNumberProps, {
|
|
|
360
360
|
controls: boolean;
|
|
361
361
|
emptyText: string;
|
|
362
362
|
thousands: boolean;
|
|
363
|
-
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
363
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
364
|
+
inputRef: CreateComponentPublicInstanceWithMixins<Readonly< ExtractPropTypes<{
|
|
365
|
+
size: {
|
|
366
|
+
type: PropType<ButtonSize>;
|
|
367
|
+
default: ButtonSize;
|
|
368
|
+
};
|
|
369
|
+
bordered: {
|
|
370
|
+
type: BooleanConstructor;
|
|
371
|
+
default: boolean;
|
|
372
|
+
};
|
|
373
|
+
placeholder: StringConstructor;
|
|
374
|
+
name: StringConstructor;
|
|
375
|
+
id: StringConstructor;
|
|
376
|
+
type: StringConstructor;
|
|
377
|
+
addonBefore: VueTypeValidableDef<any>;
|
|
378
|
+
addonAfter: VueTypeValidableDef<any>;
|
|
379
|
+
prefix: VueTypeValidableDef<any>;
|
|
380
|
+
suffix: VueTypeValidableDef<any>;
|
|
381
|
+
'onUpdate:value': {
|
|
382
|
+
type: PropType<(value: ValueType) => void>;
|
|
383
|
+
default: (value: ValueType) => void;
|
|
384
|
+
};
|
|
385
|
+
valueModifiers: ObjectConstructor;
|
|
386
|
+
status: {
|
|
387
|
+
type: PropType<"" | "error" | "warning">;
|
|
388
|
+
default: "" | "error" | "warning";
|
|
389
|
+
};
|
|
390
|
+
stringMode: {
|
|
391
|
+
type: BooleanConstructor;
|
|
392
|
+
default: boolean;
|
|
393
|
+
};
|
|
394
|
+
defaultValue: {
|
|
395
|
+
type: PropType<ValueType>;
|
|
396
|
+
default: ValueType;
|
|
397
|
+
};
|
|
398
|
+
value: {
|
|
399
|
+
type: PropType<ValueType>;
|
|
400
|
+
default: ValueType;
|
|
401
|
+
};
|
|
402
|
+
prefixCls: {
|
|
403
|
+
type: PropType<string>;
|
|
404
|
+
default: string;
|
|
405
|
+
};
|
|
406
|
+
min: {
|
|
407
|
+
type: PropType<ValueType>;
|
|
408
|
+
default: ValueType;
|
|
409
|
+
};
|
|
410
|
+
max: {
|
|
411
|
+
type: PropType<ValueType>;
|
|
412
|
+
default: ValueType;
|
|
413
|
+
};
|
|
414
|
+
step: {
|
|
415
|
+
type: PropType<ValueType>;
|
|
416
|
+
default: ValueType;
|
|
417
|
+
};
|
|
418
|
+
tabindex: NumberConstructor;
|
|
419
|
+
controls: {
|
|
420
|
+
type: BooleanConstructor;
|
|
421
|
+
default: boolean;
|
|
422
|
+
};
|
|
423
|
+
readonly: {
|
|
424
|
+
type: BooleanConstructor;
|
|
425
|
+
default: boolean;
|
|
426
|
+
};
|
|
427
|
+
disabled: {
|
|
428
|
+
type: BooleanConstructor;
|
|
429
|
+
default: boolean;
|
|
430
|
+
};
|
|
431
|
+
autofocus: {
|
|
432
|
+
type: BooleanConstructor;
|
|
433
|
+
default: boolean;
|
|
434
|
+
};
|
|
435
|
+
keyboard: {
|
|
436
|
+
type: BooleanConstructor;
|
|
437
|
+
default: boolean;
|
|
438
|
+
};
|
|
439
|
+
parser: {
|
|
440
|
+
type: PropType<(displayValue: string) => ValueType>;
|
|
441
|
+
default: (displayValue: string) => ValueType;
|
|
442
|
+
};
|
|
443
|
+
formatter: {
|
|
444
|
+
type: PropType<(value: ValueType, info: {
|
|
445
|
+
userTyping: boolean;
|
|
446
|
+
input: string;
|
|
447
|
+
}) => string>;
|
|
448
|
+
default: (value: ValueType, info: {
|
|
449
|
+
userTyping: boolean;
|
|
450
|
+
input: string;
|
|
451
|
+
}) => string;
|
|
452
|
+
};
|
|
453
|
+
precision: NumberConstructor;
|
|
454
|
+
decimalSeparator: StringConstructor;
|
|
455
|
+
onInput: {
|
|
456
|
+
type: PropType<(text: string) => void>;
|
|
457
|
+
default: (text: string) => void;
|
|
458
|
+
};
|
|
459
|
+
onChange: {
|
|
460
|
+
type: PropType<(value: ValueType) => void>;
|
|
461
|
+
default: (value: ValueType) => void;
|
|
462
|
+
};
|
|
463
|
+
onPressEnter: {
|
|
464
|
+
type: PropType<KeyboardEventHandler>;
|
|
465
|
+
default: KeyboardEventHandler;
|
|
466
|
+
};
|
|
467
|
+
onStep: {
|
|
468
|
+
type: PropType<(value: ValueType, info: {
|
|
469
|
+
offset: ValueType;
|
|
470
|
+
type: "up" | "down";
|
|
471
|
+
}) => void>;
|
|
472
|
+
default: (value: ValueType, info: {
|
|
473
|
+
offset: ValueType;
|
|
474
|
+
type: "up" | "down";
|
|
475
|
+
}) => void;
|
|
476
|
+
};
|
|
477
|
+
onBlur: {
|
|
478
|
+
type: PropType<(e: FocusEvent) => void>;
|
|
479
|
+
default: (e: FocusEvent) => void;
|
|
480
|
+
};
|
|
481
|
+
onFocus: {
|
|
482
|
+
type: PropType<(e: FocusEvent) => void>;
|
|
483
|
+
default: (e: FocusEvent) => void;
|
|
484
|
+
};
|
|
485
|
+
}>> & Readonly<{}>, () => VueNode, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {
|
|
486
|
+
size: ButtonSize;
|
|
487
|
+
value: ValueType;
|
|
488
|
+
onFocus: (e: FocusEvent) => void;
|
|
489
|
+
onBlur: (e: FocusEvent) => void;
|
|
490
|
+
onChange: (value: ValueType) => void;
|
|
491
|
+
onInput: (text: string) => void;
|
|
492
|
+
disabled: boolean;
|
|
493
|
+
max: ValueType;
|
|
494
|
+
min: ValueType;
|
|
495
|
+
prefixCls: string;
|
|
496
|
+
autofocus: boolean;
|
|
497
|
+
readonly: boolean;
|
|
498
|
+
status: "" | "error" | "warning";
|
|
499
|
+
defaultValue: ValueType;
|
|
500
|
+
'onUpdate:value': (value: ValueType) => void;
|
|
501
|
+
step: ValueType;
|
|
502
|
+
bordered: boolean;
|
|
503
|
+
onPressEnter: KeyboardEventHandler;
|
|
504
|
+
formatter: (value: ValueType, info: {
|
|
505
|
+
userTyping: boolean;
|
|
506
|
+
input: string;
|
|
507
|
+
}) => string;
|
|
508
|
+
keyboard: boolean;
|
|
509
|
+
onStep: (value: ValueType, info: {
|
|
510
|
+
offset: ValueType;
|
|
511
|
+
type: "up" | "down";
|
|
512
|
+
}) => void;
|
|
513
|
+
stringMode: boolean;
|
|
514
|
+
controls: boolean;
|
|
515
|
+
parser: (displayValue: string) => ValueType;
|
|
516
|
+
}, true, {}, CustomSlotsType<{
|
|
517
|
+
addonBefore?: any;
|
|
518
|
+
addonAfter?: any;
|
|
519
|
+
prefix?: any;
|
|
520
|
+
suffix?: any;
|
|
521
|
+
default?: any;
|
|
522
|
+
upIcon?: any;
|
|
523
|
+
downIcon?: any;
|
|
524
|
+
}>, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
|
|
525
|
+
P: {};
|
|
526
|
+
B: {};
|
|
527
|
+
D: {};
|
|
528
|
+
C: {};
|
|
529
|
+
M: {};
|
|
530
|
+
Defaults: {};
|
|
531
|
+
}, Readonly< ExtractPropTypes<{
|
|
532
|
+
size: {
|
|
533
|
+
type: PropType<ButtonSize>;
|
|
534
|
+
default: ButtonSize;
|
|
535
|
+
};
|
|
536
|
+
bordered: {
|
|
537
|
+
type: BooleanConstructor;
|
|
538
|
+
default: boolean;
|
|
539
|
+
};
|
|
540
|
+
placeholder: StringConstructor;
|
|
541
|
+
name: StringConstructor;
|
|
542
|
+
id: StringConstructor;
|
|
543
|
+
type: StringConstructor;
|
|
544
|
+
addonBefore: VueTypeValidableDef<any>;
|
|
545
|
+
addonAfter: VueTypeValidableDef<any>;
|
|
546
|
+
prefix: VueTypeValidableDef<any>;
|
|
547
|
+
suffix: VueTypeValidableDef<any>;
|
|
548
|
+
'onUpdate:value': {
|
|
549
|
+
type: PropType<(value: ValueType) => void>;
|
|
550
|
+
default: (value: ValueType) => void;
|
|
551
|
+
};
|
|
552
|
+
valueModifiers: ObjectConstructor;
|
|
553
|
+
status: {
|
|
554
|
+
type: PropType<"" | "error" | "warning">;
|
|
555
|
+
default: "" | "error" | "warning";
|
|
556
|
+
};
|
|
557
|
+
stringMode: {
|
|
558
|
+
type: BooleanConstructor;
|
|
559
|
+
default: boolean;
|
|
560
|
+
};
|
|
561
|
+
defaultValue: {
|
|
562
|
+
type: PropType<ValueType>;
|
|
563
|
+
default: ValueType;
|
|
564
|
+
};
|
|
565
|
+
value: {
|
|
566
|
+
type: PropType<ValueType>;
|
|
567
|
+
default: ValueType;
|
|
568
|
+
};
|
|
569
|
+
prefixCls: {
|
|
570
|
+
type: PropType<string>;
|
|
571
|
+
default: string;
|
|
572
|
+
};
|
|
573
|
+
min: {
|
|
574
|
+
type: PropType<ValueType>;
|
|
575
|
+
default: ValueType;
|
|
576
|
+
};
|
|
577
|
+
max: {
|
|
578
|
+
type: PropType<ValueType>;
|
|
579
|
+
default: ValueType;
|
|
580
|
+
};
|
|
581
|
+
step: {
|
|
582
|
+
type: PropType<ValueType>;
|
|
583
|
+
default: ValueType;
|
|
584
|
+
};
|
|
585
|
+
tabindex: NumberConstructor;
|
|
586
|
+
controls: {
|
|
587
|
+
type: BooleanConstructor;
|
|
588
|
+
default: boolean;
|
|
589
|
+
};
|
|
590
|
+
readonly: {
|
|
591
|
+
type: BooleanConstructor;
|
|
592
|
+
default: boolean;
|
|
593
|
+
};
|
|
594
|
+
disabled: {
|
|
595
|
+
type: BooleanConstructor;
|
|
596
|
+
default: boolean;
|
|
597
|
+
};
|
|
598
|
+
autofocus: {
|
|
599
|
+
type: BooleanConstructor;
|
|
600
|
+
default: boolean;
|
|
601
|
+
};
|
|
602
|
+
keyboard: {
|
|
603
|
+
type: BooleanConstructor;
|
|
604
|
+
default: boolean;
|
|
605
|
+
};
|
|
606
|
+
parser: {
|
|
607
|
+
type: PropType<(displayValue: string) => ValueType>;
|
|
608
|
+
default: (displayValue: string) => ValueType;
|
|
609
|
+
};
|
|
610
|
+
formatter: {
|
|
611
|
+
type: PropType<(value: ValueType, info: {
|
|
612
|
+
userTyping: boolean;
|
|
613
|
+
input: string;
|
|
614
|
+
}) => string>;
|
|
615
|
+
default: (value: ValueType, info: {
|
|
616
|
+
userTyping: boolean;
|
|
617
|
+
input: string;
|
|
618
|
+
}) => string;
|
|
619
|
+
};
|
|
620
|
+
precision: NumberConstructor;
|
|
621
|
+
decimalSeparator: StringConstructor;
|
|
622
|
+
onInput: {
|
|
623
|
+
type: PropType<(text: string) => void>;
|
|
624
|
+
default: (text: string) => void;
|
|
625
|
+
};
|
|
626
|
+
onChange: {
|
|
627
|
+
type: PropType<(value: ValueType) => void>;
|
|
628
|
+
default: (value: ValueType) => void;
|
|
629
|
+
};
|
|
630
|
+
onPressEnter: {
|
|
631
|
+
type: PropType<KeyboardEventHandler>;
|
|
632
|
+
default: KeyboardEventHandler;
|
|
633
|
+
};
|
|
634
|
+
onStep: {
|
|
635
|
+
type: PropType<(value: ValueType, info: {
|
|
636
|
+
offset: ValueType;
|
|
637
|
+
type: "up" | "down";
|
|
638
|
+
}) => void>;
|
|
639
|
+
default: (value: ValueType, info: {
|
|
640
|
+
offset: ValueType;
|
|
641
|
+
type: "up" | "down";
|
|
642
|
+
}) => void;
|
|
643
|
+
};
|
|
644
|
+
onBlur: {
|
|
645
|
+
type: PropType<(e: FocusEvent) => void>;
|
|
646
|
+
default: (e: FocusEvent) => void;
|
|
647
|
+
};
|
|
648
|
+
onFocus: {
|
|
649
|
+
type: PropType<(e: FocusEvent) => void>;
|
|
650
|
+
default: (e: FocusEvent) => void;
|
|
651
|
+
};
|
|
652
|
+
}>> & Readonly<{}>, () => VueNode, {}, {}, {}, {
|
|
653
|
+
size: ButtonSize;
|
|
654
|
+
value: ValueType;
|
|
655
|
+
onFocus: (e: FocusEvent) => void;
|
|
656
|
+
onBlur: (e: FocusEvent) => void;
|
|
657
|
+
onChange: (value: ValueType) => void;
|
|
658
|
+
onInput: (text: string) => void;
|
|
659
|
+
disabled: boolean;
|
|
660
|
+
max: ValueType;
|
|
661
|
+
min: ValueType;
|
|
662
|
+
prefixCls: string;
|
|
663
|
+
autofocus: boolean;
|
|
664
|
+
readonly: boolean;
|
|
665
|
+
status: "" | "error" | "warning";
|
|
666
|
+
defaultValue: ValueType;
|
|
667
|
+
'onUpdate:value': (value: ValueType) => void;
|
|
668
|
+
step: ValueType;
|
|
669
|
+
bordered: boolean;
|
|
670
|
+
onPressEnter: KeyboardEventHandler;
|
|
671
|
+
formatter: (value: ValueType, info: {
|
|
672
|
+
userTyping: boolean;
|
|
673
|
+
input: string;
|
|
674
|
+
}) => string;
|
|
675
|
+
keyboard: boolean;
|
|
676
|
+
onStep: (value: ValueType, info: {
|
|
677
|
+
offset: ValueType;
|
|
678
|
+
type: "up" | "down";
|
|
679
|
+
}) => void;
|
|
680
|
+
stringMode: boolean;
|
|
681
|
+
controls: boolean;
|
|
682
|
+
parser: (displayValue: string) => ValueType;
|
|
683
|
+
}> | null;
|
|
684
|
+
}, any>;
|
|
364
685
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
365
686
|
export default _default;
|
|
366
687
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
import { ApFieldRadioProps } from '../interface';
|
|
2
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, CreateComponentPublicInstanceWithMixins, ExtractPropTypes, PropType, GlobalComponents, GlobalDirectives } from 'vue';
|
|
3
3
|
import { FieldMode } from '..';
|
|
4
|
+
import { VueTypeValidableDef } from '../../../node_modules/vue-types';
|
|
5
|
+
import { RadioGroupChildOption } from '@aplus-frontend/antdv/es/radio/Group';
|
|
6
|
+
import { RadioGroupButtonStyle, RadioGroupOptionType } from '@aplus-frontend/antdv/es/radio/interface';
|
|
7
|
+
import { RadioChangeEvent } from '@aplus-frontend/antdv';
|
|
8
|
+
import { VueNode } from '@aplus-frontend/antdv/es/_util/type';
|
|
4
9
|
declare function focus(): void;
|
|
5
10
|
declare function blur(): void;
|
|
6
11
|
declare const _default: DefineComponent<ApFieldRadioProps, {
|
|
@@ -15,5 +20,96 @@ declare const _default: DefineComponent<ApFieldRadioProps, {
|
|
|
15
20
|
vertical: boolean;
|
|
16
21
|
disabled: boolean;
|
|
17
22
|
emptyText: string;
|
|
18
|
-
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
23
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
24
|
+
radioGroupRef: CreateComponentPublicInstanceWithMixins<Readonly< ExtractPropTypes<{
|
|
25
|
+
prefixCls: StringConstructor;
|
|
26
|
+
value: VueTypeValidableDef<any>;
|
|
27
|
+
size: {
|
|
28
|
+
type: PropType<"default" | "small" | "large">;
|
|
29
|
+
default: "default" | "small" | "large";
|
|
30
|
+
};
|
|
31
|
+
options: {
|
|
32
|
+
type: PropType<(string | number | RadioGroupChildOption)[]>;
|
|
33
|
+
default: (string | number | RadioGroupChildOption)[];
|
|
34
|
+
};
|
|
35
|
+
disabled: {
|
|
36
|
+
type: BooleanConstructor;
|
|
37
|
+
default: boolean;
|
|
38
|
+
};
|
|
39
|
+
name: StringConstructor;
|
|
40
|
+
buttonStyle: {
|
|
41
|
+
type: PropType<RadioGroupButtonStyle>;
|
|
42
|
+
default: RadioGroupButtonStyle;
|
|
43
|
+
};
|
|
44
|
+
id: StringConstructor;
|
|
45
|
+
optionType: {
|
|
46
|
+
type: PropType<RadioGroupOptionType>;
|
|
47
|
+
default: RadioGroupOptionType;
|
|
48
|
+
};
|
|
49
|
+
onChange: {
|
|
50
|
+
type: PropType<(e: RadioChangeEvent) => void>;
|
|
51
|
+
default: (e: RadioChangeEvent) => void;
|
|
52
|
+
};
|
|
53
|
+
'onUpdate:value': {
|
|
54
|
+
type: PropType<(val: any) => void>;
|
|
55
|
+
default: (val: any) => void;
|
|
56
|
+
};
|
|
57
|
+
}>> & Readonly<{}>, () => VueNode, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {
|
|
58
|
+
size: "default" | "small" | "large";
|
|
59
|
+
onChange: (e: RadioChangeEvent) => void;
|
|
60
|
+
disabled: boolean;
|
|
61
|
+
'onUpdate:value': (val: any) => void;
|
|
62
|
+
options: (string | number | RadioGroupChildOption)[];
|
|
63
|
+
buttonStyle: RadioGroupButtonStyle;
|
|
64
|
+
optionType: RadioGroupOptionType;
|
|
65
|
+
}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
|
|
66
|
+
P: {};
|
|
67
|
+
B: {};
|
|
68
|
+
D: {};
|
|
69
|
+
C: {};
|
|
70
|
+
M: {};
|
|
71
|
+
Defaults: {};
|
|
72
|
+
}, Readonly< ExtractPropTypes<{
|
|
73
|
+
prefixCls: StringConstructor;
|
|
74
|
+
value: VueTypeValidableDef<any>;
|
|
75
|
+
size: {
|
|
76
|
+
type: PropType<"default" | "small" | "large">;
|
|
77
|
+
default: "default" | "small" | "large";
|
|
78
|
+
};
|
|
79
|
+
options: {
|
|
80
|
+
type: PropType<(string | number | RadioGroupChildOption)[]>;
|
|
81
|
+
default: (string | number | RadioGroupChildOption)[];
|
|
82
|
+
};
|
|
83
|
+
disabled: {
|
|
84
|
+
type: BooleanConstructor;
|
|
85
|
+
default: boolean;
|
|
86
|
+
};
|
|
87
|
+
name: StringConstructor;
|
|
88
|
+
buttonStyle: {
|
|
89
|
+
type: PropType<RadioGroupButtonStyle>;
|
|
90
|
+
default: RadioGroupButtonStyle;
|
|
91
|
+
};
|
|
92
|
+
id: StringConstructor;
|
|
93
|
+
optionType: {
|
|
94
|
+
type: PropType<RadioGroupOptionType>;
|
|
95
|
+
default: RadioGroupOptionType;
|
|
96
|
+
};
|
|
97
|
+
onChange: {
|
|
98
|
+
type: PropType<(e: RadioChangeEvent) => void>;
|
|
99
|
+
default: (e: RadioChangeEvent) => void;
|
|
100
|
+
};
|
|
101
|
+
'onUpdate:value': {
|
|
102
|
+
type: PropType<(val: any) => void>;
|
|
103
|
+
default: (val: any) => void;
|
|
104
|
+
};
|
|
105
|
+
}>> & Readonly<{}>, () => VueNode, {}, {}, {}, {
|
|
106
|
+
size: "default" | "small" | "large";
|
|
107
|
+
onChange: (e: RadioChangeEvent) => void;
|
|
108
|
+
disabled: boolean;
|
|
109
|
+
'onUpdate:value': (val: any) => void;
|
|
110
|
+
options: (string | number | RadioGroupChildOption)[];
|
|
111
|
+
buttonStyle: RadioGroupButtonStyle;
|
|
112
|
+
optionType: RadioGroupOptionType;
|
|
113
|
+
}> | null;
|
|
114
|
+
}, any>;
|
|
19
115
|
export default _default;
|
|
@@ -114,7 +114,88 @@ declare const __VLS_component: DefineComponent<ApFieldRateProps, {
|
|
|
114
114
|
allowClear: boolean;
|
|
115
115
|
allowHalf: boolean;
|
|
116
116
|
character: any;
|
|
117
|
-
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
117
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
118
|
+
rateRef: CreateComponentPublicInstanceWithMixins<Readonly< ExtractPropTypes<{
|
|
119
|
+
prefixCls: StringConstructor;
|
|
120
|
+
count: NumberConstructor;
|
|
121
|
+
value: NumberConstructor;
|
|
122
|
+
allowHalf: {
|
|
123
|
+
type: BooleanConstructor;
|
|
124
|
+
default: any;
|
|
125
|
+
};
|
|
126
|
+
allowClear: {
|
|
127
|
+
type: BooleanConstructor;
|
|
128
|
+
default: any;
|
|
129
|
+
};
|
|
130
|
+
tooltips: PropType<string[]>;
|
|
131
|
+
disabled: {
|
|
132
|
+
type: BooleanConstructor;
|
|
133
|
+
default: any;
|
|
134
|
+
};
|
|
135
|
+
character: VueTypeValidableDef<any>;
|
|
136
|
+
autofocus: {
|
|
137
|
+
type: BooleanConstructor;
|
|
138
|
+
default: any;
|
|
139
|
+
};
|
|
140
|
+
tabindex: VueTypeDef<string | number>;
|
|
141
|
+
direction: PropType<Direction>;
|
|
142
|
+
id: StringConstructor;
|
|
143
|
+
onChange: PropType<(value: number) => void>;
|
|
144
|
+
onHoverChange: PropType<(value: number) => void>;
|
|
145
|
+
'onUpdate:value': PropType<(value: number) => void>;
|
|
146
|
+
onFocus: PropType<FocusEventHandler>;
|
|
147
|
+
onBlur: PropType<FocusEventHandler>;
|
|
148
|
+
onKeydown: PropType<KeyboardEventHandler>;
|
|
149
|
+
}>> & Readonly<{}>, () => VueNode, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {
|
|
150
|
+
disabled: boolean;
|
|
151
|
+
autofocus: boolean;
|
|
152
|
+
allowClear: boolean;
|
|
153
|
+
allowHalf: boolean;
|
|
154
|
+
}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
|
|
155
|
+
P: {};
|
|
156
|
+
B: {};
|
|
157
|
+
D: {};
|
|
158
|
+
C: {};
|
|
159
|
+
M: {};
|
|
160
|
+
Defaults: {};
|
|
161
|
+
}, Readonly< ExtractPropTypes<{
|
|
162
|
+
prefixCls: StringConstructor;
|
|
163
|
+
count: NumberConstructor;
|
|
164
|
+
value: NumberConstructor;
|
|
165
|
+
allowHalf: {
|
|
166
|
+
type: BooleanConstructor;
|
|
167
|
+
default: any;
|
|
168
|
+
};
|
|
169
|
+
allowClear: {
|
|
170
|
+
type: BooleanConstructor;
|
|
171
|
+
default: any;
|
|
172
|
+
};
|
|
173
|
+
tooltips: PropType<string[]>;
|
|
174
|
+
disabled: {
|
|
175
|
+
type: BooleanConstructor;
|
|
176
|
+
default: any;
|
|
177
|
+
};
|
|
178
|
+
character: VueTypeValidableDef<any>;
|
|
179
|
+
autofocus: {
|
|
180
|
+
type: BooleanConstructor;
|
|
181
|
+
default: any;
|
|
182
|
+
};
|
|
183
|
+
tabindex: VueTypeDef<string | number>;
|
|
184
|
+
direction: PropType<Direction>;
|
|
185
|
+
id: StringConstructor;
|
|
186
|
+
onChange: PropType<(value: number) => void>;
|
|
187
|
+
onHoverChange: PropType<(value: number) => void>;
|
|
188
|
+
'onUpdate:value': PropType<(value: number) => void>;
|
|
189
|
+
onFocus: PropType<FocusEventHandler>;
|
|
190
|
+
onBlur: PropType<FocusEventHandler>;
|
|
191
|
+
onKeydown: PropType<KeyboardEventHandler>;
|
|
192
|
+
}>> & Readonly<{}>, () => VueNode, {}, {}, {}, {
|
|
193
|
+
disabled: boolean;
|
|
194
|
+
autofocus: boolean;
|
|
195
|
+
allowClear: boolean;
|
|
196
|
+
allowHalf: boolean;
|
|
197
|
+
}> | null;
|
|
198
|
+
}, any>;
|
|
118
199
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
119
200
|
export default _default;
|
|
120
201
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -4,13 +4,7 @@ import { FieldMode } from '..';
|
|
|
4
4
|
declare function __VLS_template(): {
|
|
5
5
|
attrs: Partial<{}>;
|
|
6
6
|
slots: {
|
|
7
|
-
label?(_:
|
|
8
|
-
value: string | number;
|
|
9
|
-
disabled?: boolean;
|
|
10
|
-
payload?: any;
|
|
11
|
-
title?: string;
|
|
12
|
-
className?: string;
|
|
13
|
-
}): any;
|
|
7
|
+
label?(_: any): any;
|
|
14
8
|
};
|
|
15
9
|
refs: {};
|
|
16
10
|
rootEl: any;
|