@aplus-frontend/ui 6.18.0 → 6.19.0
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-action/item-popconfirm/index.vue.d.ts +31 -2
- package/es/src/ap-button/ap-action-button.vue.mjs +11 -7
- package/es/src/ap-button/ap-button.vue.mjs +24 -20
- package/es/src/ap-button/ap-confirm-button.vue.mjs +14 -10
- package/es/src/ap-download/ap-download.vue.mjs +21 -18
- package/es/src/ap-field/number/index.vue.d.ts +29 -29
- package/es/src/ap-field/rate/index.vue.d.ts +4 -4
- package/es/src/ap-field/segmented/index.vue.mjs +17 -12
- package/es/src/ap-field/select/index.vue.d.ts +97 -97
- package/es/src/ap-field/select/index.vue.mjs +8 -8
- package/es/src/ap-field/slider/index.vue.d.ts +8 -8
- package/es/src/ap-field/text-area/index.vue.d.ts +54 -54
- package/es/src/ap-field/text-area/index.vue.mjs +9 -9
- package/es/src/ap-field/tree-select/index.vue.d.ts +93 -93
- package/es/src/ap-field/tree-select/index.vue.mjs +16 -16
- package/es/src/ap-form/ap-form.vue.d.ts +13 -13
- package/es/src/ap-form/drawer-form/index.vue.d.ts +15 -15
- package/es/src/ap-form/items/number/index.vue.d.ts +31 -31
- package/es/src/ap-form/items/select/index.vue.d.ts +99 -99
- package/es/src/ap-form/items/text/index.vue.d.ts +3 -3
- package/es/src/ap-form/items/text/password.vue.d.ts +3 -3
- package/es/src/ap-form/items/text-area/index.vue.d.ts +106 -106
- package/es/src/ap-form/items/tree-select/index.vue.d.ts +95 -95
- package/es/src/ap-form/modal-form/index.vue.d.ts +45 -16
- package/es/src/ap-form/search-form/components/popover-filter.vue.d.ts +29 -10
- package/es/src/ap-form/search-form/index.vue.d.ts +15 -15
- package/es/src/ap-table/constants.d.ts +326 -326
- package/es/src/ap-tag/ap-tag-group.vue.mjs +73 -78
- package/es/src/ap-tag/ap-tag.vue.d.ts +1 -0
- package/es/src/ap-tag/ap-tag.vue.mjs +45 -30
- package/es/src/ap-tag/interface.d.ts +6 -0
- package/es/src/ap-tag/utils.d.ts +1 -0
- package/es/src/ap-tag/utils.mjs +12 -0
- package/es/src/ap-upload/components/MultipleFile.vue.d.ts +2 -2
- package/es/src/business/ap-batch-action-group/index.d.ts +30 -8
- package/es/src/business/ap-view/components/main-button-content.vue.d.ts +8 -8
- package/es/src/business/ap-view/components/menu-list-content.vue.d.ts +8 -8
- package/es/src/business/batch-input-group/index.vue.d.ts +2 -2
- package/es/src/business/batch-input-group/popover-input/index.vue.d.ts +54 -54
- package/es/src/config-provider/config-provider-props.d.ts +4 -5
- package/es/src/config-provider/config-provider.d.ts +8 -9
- package/es/src/config-provider/hooks/use-global-config.d.ts +4 -5
- package/es/src/config-provider/index.d.ts +13 -14
- package/es/src/utils/config-provider-preset.d.ts +5 -6
- package/es/src/version.d.ts +1 -1
- package/es/src/version.mjs +1 -1
- package/es/src/work-order-modal/work-order-modal.vue.d.ts +8 -8
- package/lib/src/ap-action/item-popconfirm/index.vue.d.ts +31 -2
- package/lib/src/ap-button/ap-action-button.vue.js +1 -1
- package/lib/src/ap-button/ap-button.vue.js +1 -1
- package/lib/src/ap-button/ap-confirm-button.vue.js +1 -1
- package/lib/src/ap-download/ap-download.vue.js +1 -1
- package/lib/src/ap-field/number/index.vue.d.ts +29 -29
- package/lib/src/ap-field/rate/index.vue.d.ts +4 -4
- package/lib/src/ap-field/segmented/index.vue.js +1 -1
- package/lib/src/ap-field/select/index.vue.d.ts +97 -97
- package/lib/src/ap-field/select/index.vue.js +1 -1
- package/lib/src/ap-field/slider/index.vue.d.ts +8 -8
- package/lib/src/ap-field/text-area/index.vue.d.ts +54 -54
- package/lib/src/ap-field/text-area/index.vue.js +1 -1
- package/lib/src/ap-field/tree-select/index.vue.d.ts +93 -93
- package/lib/src/ap-field/tree-select/index.vue.js +1 -1
- package/lib/src/ap-form/ap-form.vue.d.ts +13 -13
- package/lib/src/ap-form/drawer-form/index.vue.d.ts +15 -15
- package/lib/src/ap-form/items/number/index.vue.d.ts +31 -31
- package/lib/src/ap-form/items/select/index.vue.d.ts +99 -99
- package/lib/src/ap-form/items/text/index.vue.d.ts +3 -3
- package/lib/src/ap-form/items/text/password.vue.d.ts +3 -3
- package/lib/src/ap-form/items/text-area/index.vue.d.ts +106 -106
- package/lib/src/ap-form/items/tree-select/index.vue.d.ts +95 -95
- package/lib/src/ap-form/modal-form/index.vue.d.ts +45 -16
- package/lib/src/ap-form/search-form/components/popover-filter.vue.d.ts +29 -10
- package/lib/src/ap-form/search-form/index.vue.d.ts +15 -15
- package/lib/src/ap-table/constants.d.ts +326 -326
- package/lib/src/ap-tag/ap-tag-group.vue.js +1 -1
- package/lib/src/ap-tag/ap-tag.vue.d.ts +1 -0
- package/lib/src/ap-tag/ap-tag.vue.js +1 -1
- package/lib/src/ap-tag/interface.d.ts +6 -0
- package/lib/src/ap-tag/utils.d.ts +1 -0
- package/lib/src/ap-tag/utils.js +1 -0
- package/lib/src/ap-upload/components/MultipleFile.vue.d.ts +2 -2
- package/lib/src/business/ap-batch-action-group/index.d.ts +30 -8
- package/lib/src/business/ap-view/components/main-button-content.vue.d.ts +8 -8
- package/lib/src/business/ap-view/components/menu-list-content.vue.d.ts +8 -8
- package/lib/src/business/batch-input-group/index.vue.d.ts +2 -2
- package/lib/src/business/batch-input-group/popover-input/index.vue.d.ts +54 -54
- package/lib/src/config-provider/config-provider-props.d.ts +4 -5
- package/lib/src/config-provider/config-provider.d.ts +8 -9
- package/lib/src/config-provider/hooks/use-global-config.d.ts +4 -5
- package/lib/src/config-provider/index.d.ts +13 -14
- package/lib/src/utils/config-provider-preset.d.ts +5 -6
- package/lib/src/version.d.ts +1 -1
- package/lib/src/version.js +1 -1
- package/lib/src/work-order-modal/work-order-modal.vue.d.ts +8 -8
- package/package.json +3 -3
- package/theme/antdv-override.css +2 -6
- package/theme/antdv-override.less +2 -6
- package/theme/ap-label/ap-label.css +1 -0
- package/theme/ap-label/ap-label.less +1 -0
- package/theme/ap-tag/ap-tag.css +3 -1
- package/theme/ap-tag/ap-tag.less +3 -1
- package/theme/index.css +6 -7
|
@@ -2,7 +2,7 @@ import { ApFormModalFormProps } from '../interface';
|
|
|
2
2
|
import { VNode, ComponentInternalInstance, ExtractPropTypes, PropType, HTMLAttributes, VNodeProps, AllowedComponentProps, ComponentCustomProps, CreateComponentPublicInstanceWithMixins, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ComponentProvideOptions, Slot, ComponentPublicInstance, ComponentOptionsBase, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties, DefineComponent, CSSProperties } from 'vue';
|
|
3
3
|
import { InternalNamePath, NamePath, ValidateOptions, FormLabelAlign, ValidateMessages, FieldData, ValidateErrorEntity } from '@aplus-frontend/antdv/es/form/interface';
|
|
4
4
|
import { Recordable } from '../../type';
|
|
5
|
-
import {
|
|
5
|
+
import { SizeType, ButtonSize } from '@aplus-frontend/antdv/es/config-provider';
|
|
6
6
|
import { ColSize } from '@aplus-frontend/antdv/es/grid';
|
|
7
7
|
import { RuleObject } from '@aplus-frontend/antdv/es/form';
|
|
8
8
|
import { RequiredMark } from '@aplus-frontend/antdv/es/form/Form';
|
|
@@ -11,7 +11,8 @@ import { VueTypeDef, VueTypeValidableDef } from '../../../node_modules/vue-types
|
|
|
11
11
|
import { VueNode } from '@aplus-frontend/antdv/es/_util/type';
|
|
12
12
|
import { ApFormProps, UpdateModelOptimizeFn, ApFormInternalInstance, WatchFunc, ApFormSubmitterConfig } from '..';
|
|
13
13
|
import { OnCleanup } from '@vue/reactivity';
|
|
14
|
-
import { LegacyButtonType, ButtonHTMLType } from '@aplus-frontend/antdv/es/button/buttonTypes';
|
|
14
|
+
import { LegacyButtonType, ButtonHTMLType, ButtonIconPosition, ButtonVariantType } from '@aplus-frontend/antdv/es/button/buttonTypes';
|
|
15
|
+
import { ButtonType, ButtonShape } from '@aplus-frontend/antdv/es/button';
|
|
15
16
|
import { MouseEventHandler } from '@aplus-frontend/antdv/es/_util/EventInterface';
|
|
16
17
|
type ApModalFormSlots = {
|
|
17
18
|
trigger: any;
|
|
@@ -27,7 +28,7 @@ declare function __VLS_template(): {
|
|
|
27
28
|
$: ComponentInternalInstance;
|
|
28
29
|
$data: {};
|
|
29
30
|
$props: {
|
|
30
|
-
readonly size?:
|
|
31
|
+
readonly size?: SizeType;
|
|
31
32
|
readonly onSubmit?: ((e: Event) => void) | undefined;
|
|
32
33
|
readonly layout?: string | undefined;
|
|
33
34
|
readonly disabled?: boolean | undefined;
|
|
@@ -322,8 +323,8 @@ declare function __VLS_template(): {
|
|
|
322
323
|
default: string | string[];
|
|
323
324
|
};
|
|
324
325
|
size: {
|
|
325
|
-
type: PropType<
|
|
326
|
-
default:
|
|
326
|
+
type: PropType<ButtonSize>;
|
|
327
|
+
default: ButtonSize;
|
|
327
328
|
};
|
|
328
329
|
disabled: {
|
|
329
330
|
type: BooleanConstructor;
|
|
@@ -350,7 +351,7 @@ declare function __VLS_template(): {
|
|
|
350
351
|
default: (name: string | number | string[] | number[], status: boolean, errors: string[]) => void;
|
|
351
352
|
};
|
|
352
353
|
}>> & Readonly<{}>, () => VueNode, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {
|
|
353
|
-
size:
|
|
354
|
+
size: ButtonSize;
|
|
354
355
|
onSubmit: (e: Event) => void;
|
|
355
356
|
disabled: boolean;
|
|
356
357
|
validateTrigger: string | string[];
|
|
@@ -642,8 +643,8 @@ declare function __VLS_template(): {
|
|
|
642
643
|
default: string | string[];
|
|
643
644
|
};
|
|
644
645
|
size: {
|
|
645
|
-
type: PropType<
|
|
646
|
-
default:
|
|
646
|
+
type: PropType<ButtonSize>;
|
|
647
|
+
default: ButtonSize;
|
|
647
648
|
};
|
|
648
649
|
disabled: {
|
|
649
650
|
type: BooleanConstructor;
|
|
@@ -670,7 +671,7 @@ declare function __VLS_template(): {
|
|
|
670
671
|
default: (name: string | number | string[] | number[], status: boolean, errors: string[]) => void;
|
|
671
672
|
};
|
|
672
673
|
}>> & Readonly<{}>, () => VueNode, {}, {}, {}, {
|
|
673
|
-
size:
|
|
674
|
+
size: ButtonSize;
|
|
674
675
|
onSubmit: (e: Event) => void;
|
|
675
676
|
disabled: boolean;
|
|
676
677
|
validateTrigger: string | string[];
|
|
@@ -957,6 +958,13 @@ declare const __VLS_component: DefineComponent<ApFormModalFormProps, {
|
|
|
957
958
|
onMousedown: {
|
|
958
959
|
type: PropType< MouseEventHandler | MouseEventHandler[]>;
|
|
959
960
|
};
|
|
961
|
+
autoInsertSpace: BooleanConstructor;
|
|
962
|
+
iconPosition: {
|
|
963
|
+
type: PropType<ButtonIconPosition>;
|
|
964
|
+
default: string;
|
|
965
|
+
};
|
|
966
|
+
color: PropType<"default" | "blue" | "cyan" | "gold" | "green" | "lime" | "magenta" | "orange" | "pink" | "purple" | "red" | "yellow" | "volcano" | "geekblue" | "primary" | "danger">;
|
|
967
|
+
variant: PropType<ButtonVariantType>;
|
|
960
968
|
}>>>;
|
|
961
969
|
default: Partial< ExtractPropTypes<{
|
|
962
970
|
prefixCls: StringConstructor;
|
|
@@ -1005,6 +1013,13 @@ declare const __VLS_component: DefineComponent<ApFormModalFormProps, {
|
|
|
1005
1013
|
onMousedown: {
|
|
1006
1014
|
type: PropType< MouseEventHandler | MouseEventHandler[]>;
|
|
1007
1015
|
};
|
|
1016
|
+
autoInsertSpace: BooleanConstructor;
|
|
1017
|
+
iconPosition: {
|
|
1018
|
+
type: PropType<ButtonIconPosition>;
|
|
1019
|
+
default: string;
|
|
1020
|
+
};
|
|
1021
|
+
color: PropType<"default" | "blue" | "cyan" | "gold" | "green" | "lime" | "magenta" | "orange" | "pink" | "purple" | "red" | "yellow" | "volcano" | "geekblue" | "primary" | "danger">;
|
|
1022
|
+
variant: PropType<ButtonVariantType>;
|
|
1008
1023
|
}>>;
|
|
1009
1024
|
};
|
|
1010
1025
|
cancelButtonProps: {
|
|
@@ -1055,6 +1070,13 @@ declare const __VLS_component: DefineComponent<ApFormModalFormProps, {
|
|
|
1055
1070
|
onMousedown: {
|
|
1056
1071
|
type: PropType< MouseEventHandler | MouseEventHandler[]>;
|
|
1057
1072
|
};
|
|
1073
|
+
autoInsertSpace: BooleanConstructor;
|
|
1074
|
+
iconPosition: {
|
|
1075
|
+
type: PropType<ButtonIconPosition>;
|
|
1076
|
+
default: string;
|
|
1077
|
+
};
|
|
1078
|
+
color: PropType<"default" | "blue" | "cyan" | "gold" | "green" | "lime" | "magenta" | "orange" | "pink" | "purple" | "red" | "yellow" | "volcano" | "geekblue" | "primary" | "danger">;
|
|
1079
|
+
variant: PropType<ButtonVariantType>;
|
|
1058
1080
|
}>>>;
|
|
1059
1081
|
default: Partial< ExtractPropTypes<{
|
|
1060
1082
|
prefixCls: StringConstructor;
|
|
@@ -1103,6 +1125,13 @@ declare const __VLS_component: DefineComponent<ApFormModalFormProps, {
|
|
|
1103
1125
|
onMousedown: {
|
|
1104
1126
|
type: PropType< MouseEventHandler | MouseEventHandler[]>;
|
|
1105
1127
|
};
|
|
1128
|
+
autoInsertSpace: BooleanConstructor;
|
|
1129
|
+
iconPosition: {
|
|
1130
|
+
type: PropType<ButtonIconPosition>;
|
|
1131
|
+
default: string;
|
|
1132
|
+
};
|
|
1133
|
+
color: PropType<"default" | "blue" | "cyan" | "gold" | "green" | "lime" | "magenta" | "orange" | "pink" | "purple" | "red" | "yellow" | "volcano" | "geekblue" | "primary" | "danger">;
|
|
1134
|
+
variant: PropType<ButtonVariantType>;
|
|
1106
1135
|
}>>;
|
|
1107
1136
|
};
|
|
1108
1137
|
destroyOnClose: {
|
|
@@ -1159,7 +1188,7 @@ declare const __VLS_component: DefineComponent<ApFormModalFormProps, {
|
|
|
1159
1188
|
$: ComponentInternalInstance;
|
|
1160
1189
|
$data: {};
|
|
1161
1190
|
$props: {
|
|
1162
|
-
readonly size?:
|
|
1191
|
+
readonly size?: SizeType;
|
|
1163
1192
|
readonly onSubmit?: ((e: Event) => void) | undefined;
|
|
1164
1193
|
readonly layout?: string | undefined;
|
|
1165
1194
|
readonly disabled?: boolean | undefined;
|
|
@@ -1454,8 +1483,8 @@ declare const __VLS_component: DefineComponent<ApFormModalFormProps, {
|
|
|
1454
1483
|
default: string | string[];
|
|
1455
1484
|
};
|
|
1456
1485
|
size: {
|
|
1457
|
-
type: PropType<
|
|
1458
|
-
default:
|
|
1486
|
+
type: PropType<ButtonSize>;
|
|
1487
|
+
default: ButtonSize;
|
|
1459
1488
|
};
|
|
1460
1489
|
disabled: {
|
|
1461
1490
|
type: BooleanConstructor;
|
|
@@ -1482,7 +1511,7 @@ declare const __VLS_component: DefineComponent<ApFormModalFormProps, {
|
|
|
1482
1511
|
default: (name: string | number | string[] | number[], status: boolean, errors: string[]) => void;
|
|
1483
1512
|
};
|
|
1484
1513
|
}>> & Readonly<{}>, () => VueNode, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {
|
|
1485
|
-
size:
|
|
1514
|
+
size: ButtonSize;
|
|
1486
1515
|
onSubmit: (e: Event) => void;
|
|
1487
1516
|
disabled: boolean;
|
|
1488
1517
|
validateTrigger: string | string[];
|
|
@@ -1774,8 +1803,8 @@ declare const __VLS_component: DefineComponent<ApFormModalFormProps, {
|
|
|
1774
1803
|
default: string | string[];
|
|
1775
1804
|
};
|
|
1776
1805
|
size: {
|
|
1777
|
-
type: PropType<
|
|
1778
|
-
default:
|
|
1806
|
+
type: PropType<ButtonSize>;
|
|
1807
|
+
default: ButtonSize;
|
|
1779
1808
|
};
|
|
1780
1809
|
disabled: {
|
|
1781
1810
|
type: BooleanConstructor;
|
|
@@ -1802,7 +1831,7 @@ declare const __VLS_component: DefineComponent<ApFormModalFormProps, {
|
|
|
1802
1831
|
default: (name: string | number | string[] | number[], status: boolean, errors: string[]) => void;
|
|
1803
1832
|
};
|
|
1804
1833
|
}>> & Readonly<{}>, () => VueNode, {}, {}, {}, {
|
|
1805
|
-
size:
|
|
1834
|
+
size: ButtonSize;
|
|
1806
1835
|
onSubmit: (e: Event) => void;
|
|
1807
1836
|
disabled: boolean;
|
|
1808
1837
|
validateTrigger: string | string[];
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { ApFormSearchFormPopoverFilterProps } from '../../interface';
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, CreateComponentPublicInstanceWithMixins, ExtractPropTypes, PropType, GlobalComponents, GlobalDirectives } from 'vue';
|
|
3
|
-
import { ButtonType, ButtonShape
|
|
4
|
-
import { ButtonHTMLType } from '@aplus-frontend/antdv/es/button/buttonTypes';
|
|
3
|
+
import { ButtonType, ButtonShape } from '@aplus-frontend/antdv/es/button';
|
|
4
|
+
import { ButtonHTMLType, ButtonIconPosition, ButtonVariantType } from '@aplus-frontend/antdv/es/button/buttonTypes';
|
|
5
|
+
import { SizeType } from '@aplus-frontend/antdv/es/config-provider';
|
|
5
6
|
import { VueTypeValidableDef } from '../../../../node_modules/vue-types';
|
|
6
7
|
import { MouseEventHandler } from '@aplus-frontend/antdv/es/_util/EventInterface';
|
|
7
8
|
import { VueNode, CustomSlotsType } from '@aplus-frontend/antdv/es/_util/type';
|
|
@@ -17,7 +18,7 @@ declare const _default: DefineComponent<ApFormSearchFormPopoverFilterProps, {},
|
|
|
17
18
|
type: PropType<ButtonShape>;
|
|
18
19
|
};
|
|
19
20
|
size: {
|
|
20
|
-
type: PropType<
|
|
21
|
+
type: PropType<SizeType>;
|
|
21
22
|
};
|
|
22
23
|
loading: {
|
|
23
24
|
type: PropType<boolean | {
|
|
@@ -53,15 +54,24 @@ declare const _default: DefineComponent<ApFormSearchFormPopoverFilterProps, {},
|
|
|
53
54
|
onMousedown: {
|
|
54
55
|
type: PropType< MouseEventHandler | MouseEventHandler[]>;
|
|
55
56
|
};
|
|
57
|
+
autoInsertSpace: BooleanConstructor;
|
|
58
|
+
iconPosition: {
|
|
59
|
+
type: PropType<ButtonIconPosition>;
|
|
60
|
+
default: string;
|
|
61
|
+
};
|
|
62
|
+
color: PropType<"default" | "blue" | "cyan" | "gold" | "green" | "lime" | "magenta" | "orange" | "pink" | "purple" | "red" | "yellow" | "volcano" | "geekblue" | "primary" | "danger">;
|
|
63
|
+
variant: PropType<ButtonVariantType>;
|
|
56
64
|
}>> & Readonly<{}>, () => VueNode, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {
|
|
57
65
|
block: boolean;
|
|
58
66
|
disabled: boolean;
|
|
59
|
-
|
|
60
|
-
ghost: boolean;
|
|
61
|
-
htmlType: ButtonHTMLType;
|
|
67
|
+
autoInsertSpace: boolean;
|
|
62
68
|
loading: boolean | {
|
|
63
69
|
delay?: number;
|
|
64
70
|
};
|
|
71
|
+
danger: boolean;
|
|
72
|
+
htmlType: ButtonHTMLType;
|
|
73
|
+
ghost: boolean;
|
|
74
|
+
iconPosition: ButtonIconPosition;
|
|
65
75
|
}, true, {}, CustomSlotsType<{
|
|
66
76
|
icon: any;
|
|
67
77
|
default: any;
|
|
@@ -83,7 +93,7 @@ declare const _default: DefineComponent<ApFormSearchFormPopoverFilterProps, {},
|
|
|
83
93
|
type: PropType<ButtonShape>;
|
|
84
94
|
};
|
|
85
95
|
size: {
|
|
86
|
-
type: PropType<
|
|
96
|
+
type: PropType<SizeType>;
|
|
87
97
|
};
|
|
88
98
|
loading: {
|
|
89
99
|
type: PropType<boolean | {
|
|
@@ -119,15 +129,24 @@ declare const _default: DefineComponent<ApFormSearchFormPopoverFilterProps, {},
|
|
|
119
129
|
onMousedown: {
|
|
120
130
|
type: PropType< MouseEventHandler | MouseEventHandler[]>;
|
|
121
131
|
};
|
|
132
|
+
autoInsertSpace: BooleanConstructor;
|
|
133
|
+
iconPosition: {
|
|
134
|
+
type: PropType<ButtonIconPosition>;
|
|
135
|
+
default: string;
|
|
136
|
+
};
|
|
137
|
+
color: PropType<"default" | "blue" | "cyan" | "gold" | "green" | "lime" | "magenta" | "orange" | "pink" | "purple" | "red" | "yellow" | "volcano" | "geekblue" | "primary" | "danger">;
|
|
138
|
+
variant: PropType<ButtonVariantType>;
|
|
122
139
|
}>> & Readonly<{}>, () => VueNode, {}, {}, {}, {
|
|
123
140
|
block: boolean;
|
|
124
141
|
disabled: boolean;
|
|
125
|
-
|
|
126
|
-
ghost: boolean;
|
|
127
|
-
htmlType: ButtonHTMLType;
|
|
142
|
+
autoInsertSpace: boolean;
|
|
128
143
|
loading: boolean | {
|
|
129
144
|
delay?: number;
|
|
130
145
|
};
|
|
146
|
+
danger: boolean;
|
|
147
|
+
htmlType: ButtonHTMLType;
|
|
148
|
+
ghost: boolean;
|
|
149
|
+
iconPosition: ButtonIconPosition;
|
|
131
150
|
}> | null;
|
|
132
151
|
}, any>;
|
|
133
152
|
export default _default;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ApFormExpose, ApFormSearchFormProps } from '../interface';
|
|
2
2
|
import { ComponentInternalInstance, ExtractPropTypes, PropType, HTMLAttributes, VNodeProps, AllowedComponentProps, ComponentCustomProps, CreateComponentPublicInstanceWithMixins, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ComponentProvideOptions, Slot, ComponentPublicInstance, ComponentOptionsBase, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties, DefineComponent } from 'vue';
|
|
3
|
-
import {
|
|
3
|
+
import { SizeType, ButtonSize } from '@aplus-frontend/antdv/es/config-provider';
|
|
4
4
|
import { ColSize } from '@aplus-frontend/antdv/es/grid';
|
|
5
5
|
import { FormLabelAlign, ValidateMessages, FieldData, ValidateErrorEntity, NamePath, ValidateOptions, InternalNamePath } from '@aplus-frontend/antdv/es/form/interface';
|
|
6
6
|
import { RuleObject } from '@aplus-frontend/antdv/es/form';
|
|
@@ -25,7 +25,7 @@ declare function __VLS_template(): {
|
|
|
25
25
|
$: ComponentInternalInstance;
|
|
26
26
|
$data: {};
|
|
27
27
|
$props: {
|
|
28
|
-
readonly size?:
|
|
28
|
+
readonly size?: SizeType;
|
|
29
29
|
readonly onSubmit?: ((e: Event) => void) | undefined;
|
|
30
30
|
readonly layout?: string | undefined;
|
|
31
31
|
readonly disabled?: boolean | undefined;
|
|
@@ -320,8 +320,8 @@ declare function __VLS_template(): {
|
|
|
320
320
|
default: string | string[];
|
|
321
321
|
};
|
|
322
322
|
size: {
|
|
323
|
-
type: PropType<
|
|
324
|
-
default:
|
|
323
|
+
type: PropType<ButtonSize>;
|
|
324
|
+
default: ButtonSize;
|
|
325
325
|
};
|
|
326
326
|
disabled: {
|
|
327
327
|
type: BooleanConstructor;
|
|
@@ -348,7 +348,7 @@ declare function __VLS_template(): {
|
|
|
348
348
|
default: (name: string | number | string[] | number[], status: boolean, errors: string[]) => void;
|
|
349
349
|
};
|
|
350
350
|
}>> & Readonly<{}>, () => VueNode, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {
|
|
351
|
-
size:
|
|
351
|
+
size: ButtonSize;
|
|
352
352
|
onSubmit: (e: Event) => void;
|
|
353
353
|
disabled: boolean;
|
|
354
354
|
validateTrigger: string | string[];
|
|
@@ -640,8 +640,8 @@ declare function __VLS_template(): {
|
|
|
640
640
|
default: string | string[];
|
|
641
641
|
};
|
|
642
642
|
size: {
|
|
643
|
-
type: PropType<
|
|
644
|
-
default:
|
|
643
|
+
type: PropType<ButtonSize>;
|
|
644
|
+
default: ButtonSize;
|
|
645
645
|
};
|
|
646
646
|
disabled: {
|
|
647
647
|
type: BooleanConstructor;
|
|
@@ -668,7 +668,7 @@ declare function __VLS_template(): {
|
|
|
668
668
|
default: (name: string | number | string[] | number[], status: boolean, errors: string[]) => void;
|
|
669
669
|
};
|
|
670
670
|
}>> & Readonly<{}>, () => VueNode, {}, {}, {}, {
|
|
671
|
-
size:
|
|
671
|
+
size: ButtonSize;
|
|
672
672
|
onSubmit: (e: Event) => void;
|
|
673
673
|
disabled: boolean;
|
|
674
674
|
validateTrigger: string | string[];
|
|
@@ -864,7 +864,7 @@ declare const __VLS_component: DefineComponent<ApFormSearchFormProps, {
|
|
|
864
864
|
$: ComponentInternalInstance;
|
|
865
865
|
$data: {};
|
|
866
866
|
$props: {
|
|
867
|
-
readonly size?:
|
|
867
|
+
readonly size?: SizeType;
|
|
868
868
|
readonly onSubmit?: ((e: Event) => void) | undefined;
|
|
869
869
|
readonly layout?: string | undefined;
|
|
870
870
|
readonly disabled?: boolean | undefined;
|
|
@@ -1159,8 +1159,8 @@ declare const __VLS_component: DefineComponent<ApFormSearchFormProps, {
|
|
|
1159
1159
|
default: string | string[];
|
|
1160
1160
|
};
|
|
1161
1161
|
size: {
|
|
1162
|
-
type: PropType<
|
|
1163
|
-
default:
|
|
1162
|
+
type: PropType<ButtonSize>;
|
|
1163
|
+
default: ButtonSize;
|
|
1164
1164
|
};
|
|
1165
1165
|
disabled: {
|
|
1166
1166
|
type: BooleanConstructor;
|
|
@@ -1187,7 +1187,7 @@ declare const __VLS_component: DefineComponent<ApFormSearchFormProps, {
|
|
|
1187
1187
|
default: (name: string | number | string[] | number[], status: boolean, errors: string[]) => void;
|
|
1188
1188
|
};
|
|
1189
1189
|
}>> & Readonly<{}>, () => VueNode, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {
|
|
1190
|
-
size:
|
|
1190
|
+
size: ButtonSize;
|
|
1191
1191
|
onSubmit: (e: Event) => void;
|
|
1192
1192
|
disabled: boolean;
|
|
1193
1193
|
validateTrigger: string | string[];
|
|
@@ -1479,8 +1479,8 @@ declare const __VLS_component: DefineComponent<ApFormSearchFormProps, {
|
|
|
1479
1479
|
default: string | string[];
|
|
1480
1480
|
};
|
|
1481
1481
|
size: {
|
|
1482
|
-
type: PropType<
|
|
1483
|
-
default:
|
|
1482
|
+
type: PropType<ButtonSize>;
|
|
1483
|
+
default: ButtonSize;
|
|
1484
1484
|
};
|
|
1485
1485
|
disabled: {
|
|
1486
1486
|
type: BooleanConstructor;
|
|
@@ -1507,7 +1507,7 @@ declare const __VLS_component: DefineComponent<ApFormSearchFormProps, {
|
|
|
1507
1507
|
default: (name: string | number | string[] | number[], status: boolean, errors: string[]) => void;
|
|
1508
1508
|
};
|
|
1509
1509
|
}>> & Readonly<{}>, () => VueNode, {}, {}, {}, {
|
|
1510
|
-
size:
|
|
1510
|
+
size: ButtonSize;
|
|
1511
1511
|
onSubmit: (e: Event) => void;
|
|
1512
1512
|
disabled: boolean;
|
|
1513
1513
|
validateTrigger: string | string[];
|