@antsoo-lib/components 0.1.4 → 0.1.6
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/dist/index.mjs +6360 -6412
- package/dist/index.umd.js +83 -83
- package/dist/src/_util/ActionButton.d.ts +385 -0
- package/dist/src/_util/BaseInput.d.ts +80 -0
- package/dist/src/_util/BaseInputInner.d.ts +76 -0
- package/dist/src/_util/Portal.d.ts +22 -0
- package/dist/src/_util/PortalWrapper.d.ts +42 -0
- package/dist/src/alert/index.d.ts +158 -0
- package/dist/src/auto-complete/index.d.ts +773 -0
- package/dist/src/avatar/Avatar.d.ts +88 -0
- package/dist/src/badge/Badge.d.ts +128 -0
- package/dist/src/badge/Ribbon.d.ts +43 -0
- package/dist/src/badge/ScrollNumber.d.ts +28 -0
- package/dist/src/breadcrumb/Breadcrumb.d.ts +66 -0
- package/dist/src/breadcrumb/BreadcrumbItem.d.ts +1489 -0
- package/dist/src/button/button.d.ts +115 -0
- package/dist/src/button/buttonTypes.d.ts +59 -0
- package/dist/src/card/Card.d.ts +155 -0
- package/dist/src/carousel/index.d.ts +576 -0
- package/dist/src/cascader/index.d.ts +735 -0
- package/dist/src/checkbox/Checkbox.d.ts +117 -0
- package/dist/src/checkbox/interface.d.ts +168 -0
- package/dist/src/collapse/Collapse.d.ts +133 -0
- package/dist/src/collapse/CollapsePanel.d.ts +133 -0
- package/dist/src/collapse/PanelContent.d.ts +126 -0
- package/dist/src/collapse/commonProps.d.ts +125 -0
- package/dist/src/comment/index.d.ts +81 -0
- package/dist/src/date-picker/generatePicker/index.d.ts +7404 -0
- package/dist/src/descriptions/index.d.ts +173 -0
- package/dist/src/drawer/index.d.ts +501 -0
- package/dist/src/dropdown/dropdown-button.d.ts +556 -0
- package/dist/src/dropdown/dropdown.d.ts +503 -0
- package/dist/src/dropdown/props.d.ts +465 -0
- package/dist/src/float-button/BackTop.d.ts +67 -0
- package/dist/src/float-button/FloatButton.d.ts +57 -0
- package/dist/src/float-button/FloatButtonGroup.d.ts +92 -0
- package/dist/src/float-button/interface.d.ts +108 -0
- package/dist/src/form/Form.d.ts +796 -0
- package/dist/src/form/FormItem.d.ts +192 -0
- package/dist/src/image/index.d.ts +75 -0
- package/dist/src/input/Input.d.ts +198 -0
- package/dist/src/input/Password.d.ts +222 -0
- package/dist/src/input/ResizableTextArea.d.ts +222 -0
- package/dist/src/input/Search.d.ts +199 -0
- package/dist/src/input/TextArea.d.ts +223 -0
- package/dist/src/input/inputProps.d.ts +211 -0
- package/dist/src/input-number/index.d.ts +611 -0
- package/dist/src/layout/Sider.d.ts +115 -0
- package/dist/src/layout/index.d.ts +298 -0
- package/dist/src/list/Item.d.ts +48 -0
- package/dist/src/list/ItemMeta.d.ts +27 -0
- package/dist/src/list/index.d.ts +962 -0
- package/dist/src/mentions/index.d.ts +351 -0
- package/dist/src/menu/src/ItemGroup.d.ts +31 -0
- package/dist/src/menu/src/MenuItem.d.ts +75 -0
- package/dist/src/menu/src/SubMenu.d.ts +87 -0
- package/dist/src/modal/Modal.d.ts +1026 -0
- package/dist/src/page-header/index.d.ts +456 -0
- package/dist/src/pagination/Select.d.ts +723 -0
- package/dist/src/popconfirm/index.d.ts +1105 -0
- package/dist/src/radio/Group.d.ts +123 -0
- package/dist/src/radio/Radio.d.ts +155 -0
- package/dist/src/radio/RadioButton.d.ts +107 -0
- package/dist/src/rate/Star.d.ts +76 -0
- package/dist/src/rate/index.d.ts +160 -0
- package/dist/src/result/index.d.ts +70 -0
- package/dist/src/select/index.d.ts +567 -0
- package/dist/src/slider/SliderTooltip.d.ts +144 -0
- package/dist/src/spin/Spin.d.ts +44 -0
- package/dist/src/switch/index.d.ts +220 -0
- package/dist/src/table/Table.d.ts +1162 -0
- package/dist/src/table/index.d.ts +1494 -0
- package/dist/src/tabs/src/TabNavList/OperationNode.d.ts +150 -0
- package/dist/src/tabs/src/TabNavList/index.d.ts +171 -0
- package/dist/src/tabs/src/TabPanelList/TabPane.d.ts +105 -0
- package/dist/src/tabs/src/Tabs.d.ts +305 -0
- package/dist/src/tag/index.d.ts +102 -0
- package/dist/src/timeline/Timeline.d.ts +43 -0
- package/dist/src/timeline/TimelineItem.d.ts +50 -0
- package/dist/src/tooltip/Tooltip.d.ts +233 -0
- package/dist/src/tooltip/index.d.ts +251 -0
- package/dist/src/tour/index.d.ts +1024 -0
- package/dist/src/tour/interface.d.ts +208 -0
- package/dist/src/transfer/ListBody.d.ts +81 -0
- package/dist/src/transfer/ListItem.d.ts +70 -0
- package/dist/src/transfer/index.d.ts +712 -0
- package/dist/src/transfer/list.d.ts +166 -0
- package/dist/src/tree/DirectoryTree.d.ts +799 -0
- package/dist/src/tree/Tree.d.ts +895 -0
- package/dist/src/tree/index.d.ts +1636 -0
- package/dist/src/tree-select/index.d.ts +1078 -0
- package/dist/src/vc-cascader/Cascader.d.ts +973 -0
- package/dist/src/vc-checkbox/Checkbox.d.ts +78 -0
- package/dist/src/vc-dialog/Content.d.ts +182 -0
- package/dist/src/vc-dialog/Dialog.d.ts +170 -0
- package/dist/src/vc-dialog/DialogWrap.d.ts +167 -0
- package/dist/src/vc-dialog/IDialogPropTypes.d.ts +80 -0
- package/dist/src/vc-drawer/src/DrawerChild.d.ts +165 -0
- package/dist/src/vc-drawer/src/IDrawerPropTypes.d.ts +148 -0
- package/dist/src/vc-dropdown/Dropdown.d.ts +167 -0
- package/dist/src/vc-image/src/Image.d.ts +115 -0
- package/dist/src/vc-image/src/Preview.d.ts +293 -0
- package/dist/src/vc-input/BaseInput.d.ts +99 -0
- package/dist/src/vc-input/Input.d.ts +197 -0
- package/dist/src/vc-input/inputProps.d.ts +170 -0
- package/dist/src/vc-mentions/src/Mentions.d.ts +94 -0
- package/dist/src/vc-mentions/src/mentionsProps.d.ts +127 -0
- package/dist/src/vc-overflow/Item.d.ts +35 -0
- package/dist/src/vc-overflow/Overflow.d.ts +90 -0
- package/dist/src/vc-overflow/RawItem.d.ts +46 -0
- package/dist/src/vc-pagination/Options.d.ts +62 -0
- package/dist/src/vc-pagination/Pager.d.ts +76 -0
- package/dist/src/vc-pagination/Pagination.d.ts +246 -0
- package/dist/src/vc-select/BaseSelect.d.ts +579 -0
- package/dist/src/vc-select/Select.d.ts +510 -0
- package/dist/src/vc-select/Selector/Input.d.ts +187 -0
- package/dist/src/vc-slider/src/Range.d.ts +238 -0
- package/dist/src/vc-slider/src/Slider.d.ts +238 -0
- package/dist/src/vc-slider/src/common/createSlider.d.ts +237 -0
- package/dist/src/vc-steps/Step.d.ts +164 -0
- package/dist/src/vc-steps/Steps.d.ts +154 -0
- package/dist/src/vc-tooltip/src/Content.d.ts +18 -0
- package/dist/src/vc-tooltip/src/Tooltip.d.ts +195 -0
- package/dist/src/vc-tour/Tour.d.ts +654 -0
- package/dist/src/vc-tree/MotionTreeNode.d.ts +123 -0
- package/dist/src/vc-tree/Tree.d.ts +439 -0
- package/dist/src/vc-tree/TreeNode.d.ts +115 -0
- package/dist/src/vc-tree/props.d.ts +354 -0
- package/dist/src/vc-tree-select/TreeSelect.d.ts +708 -0
- package/dist/src/vc-trigger/Trigger.d.ts +358 -0
- package/dist/src/vc-trigger/interface.d.ts +208 -0
- package/dist/src/vc-virtual-list/List.d.ts +107 -0
- package/package.json +7 -7
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
import { ExtractPropTypes, PropType, DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
+
import { RadioChangeEvent, RadioGroupButtonStyle, RadioGroupOptionType } from './interface';
|
|
3
|
+
import { VueTypeValidableDef } from 'vue-types';
|
|
4
|
+
import { VueNode } from '../_util/type';
|
|
5
|
+
declare const RadioGroupSizeTypes: readonly ["large", "default", "small"];
|
|
6
|
+
export type RadioGroupSize = (typeof RadioGroupSizeTypes)[number];
|
|
7
|
+
export type RadioGroupOption = RadioGroupOptionType;
|
|
8
|
+
export interface RadioGroupChildOption {
|
|
9
|
+
label?: any;
|
|
10
|
+
value: any;
|
|
11
|
+
disabled?: boolean;
|
|
12
|
+
}
|
|
13
|
+
export declare const radioGroupProps: () => {
|
|
14
|
+
prefixCls: StringConstructor;
|
|
15
|
+
value: VueTypeValidableDef<any>;
|
|
16
|
+
size: {
|
|
17
|
+
type: PropType<"small" | "default" | "large">;
|
|
18
|
+
default: "small" | "default" | "large";
|
|
19
|
+
};
|
|
20
|
+
options: {
|
|
21
|
+
type: PropType<(string | number | RadioGroupChildOption)[]>;
|
|
22
|
+
default: (string | number | RadioGroupChildOption)[];
|
|
23
|
+
};
|
|
24
|
+
disabled: {
|
|
25
|
+
type: BooleanConstructor;
|
|
26
|
+
default: boolean;
|
|
27
|
+
};
|
|
28
|
+
name: StringConstructor;
|
|
29
|
+
buttonStyle: {
|
|
30
|
+
type: PropType<RadioGroupButtonStyle>;
|
|
31
|
+
default: RadioGroupButtonStyle;
|
|
32
|
+
};
|
|
33
|
+
id: StringConstructor;
|
|
34
|
+
optionType: {
|
|
35
|
+
type: PropType<RadioGroupOptionType>;
|
|
36
|
+
default: RadioGroupOptionType;
|
|
37
|
+
};
|
|
38
|
+
onChange: {
|
|
39
|
+
type: PropType<(e: RadioChangeEvent) => void>;
|
|
40
|
+
default: (e: RadioChangeEvent) => void;
|
|
41
|
+
};
|
|
42
|
+
'onUpdate:value': {
|
|
43
|
+
type: PropType<(val: any) => void>;
|
|
44
|
+
default: (val: any) => void;
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
export type RadioGroupProps = Partial<ExtractPropTypes<ReturnType<typeof radioGroupProps>>>;
|
|
48
|
+
declare const _default: DefineComponent<ExtractPropTypes<{
|
|
49
|
+
prefixCls: StringConstructor;
|
|
50
|
+
value: VueTypeValidableDef<any>;
|
|
51
|
+
size: {
|
|
52
|
+
type: PropType<"small" | "default" | "large">;
|
|
53
|
+
default: "small" | "default" | "large";
|
|
54
|
+
};
|
|
55
|
+
options: {
|
|
56
|
+
type: PropType<(string | number | RadioGroupChildOption)[]>;
|
|
57
|
+
default: (string | number | RadioGroupChildOption)[];
|
|
58
|
+
};
|
|
59
|
+
disabled: {
|
|
60
|
+
type: BooleanConstructor;
|
|
61
|
+
default: boolean;
|
|
62
|
+
};
|
|
63
|
+
name: StringConstructor;
|
|
64
|
+
buttonStyle: {
|
|
65
|
+
type: PropType<RadioGroupButtonStyle>;
|
|
66
|
+
default: RadioGroupButtonStyle;
|
|
67
|
+
};
|
|
68
|
+
id: StringConstructor;
|
|
69
|
+
optionType: {
|
|
70
|
+
type: PropType<RadioGroupOptionType>;
|
|
71
|
+
default: RadioGroupOptionType;
|
|
72
|
+
};
|
|
73
|
+
onChange: {
|
|
74
|
+
type: PropType<(e: RadioChangeEvent) => void>;
|
|
75
|
+
default: (e: RadioChangeEvent) => void;
|
|
76
|
+
};
|
|
77
|
+
'onUpdate:value': {
|
|
78
|
+
type: PropType<(val: any) => void>;
|
|
79
|
+
default: (val: any) => void;
|
|
80
|
+
};
|
|
81
|
+
}>, () => VueNode, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<{
|
|
82
|
+
prefixCls: StringConstructor;
|
|
83
|
+
value: VueTypeValidableDef<any>;
|
|
84
|
+
size: {
|
|
85
|
+
type: PropType<"small" | "default" | "large">;
|
|
86
|
+
default: "small" | "default" | "large";
|
|
87
|
+
};
|
|
88
|
+
options: {
|
|
89
|
+
type: PropType<(string | number | RadioGroupChildOption)[]>;
|
|
90
|
+
default: (string | number | RadioGroupChildOption)[];
|
|
91
|
+
};
|
|
92
|
+
disabled: {
|
|
93
|
+
type: BooleanConstructor;
|
|
94
|
+
default: boolean;
|
|
95
|
+
};
|
|
96
|
+
name: StringConstructor;
|
|
97
|
+
buttonStyle: {
|
|
98
|
+
type: PropType<RadioGroupButtonStyle>;
|
|
99
|
+
default: RadioGroupButtonStyle;
|
|
100
|
+
};
|
|
101
|
+
id: StringConstructor;
|
|
102
|
+
optionType: {
|
|
103
|
+
type: PropType<RadioGroupOptionType>;
|
|
104
|
+
default: RadioGroupOptionType;
|
|
105
|
+
};
|
|
106
|
+
onChange: {
|
|
107
|
+
type: PropType<(e: RadioChangeEvent) => void>;
|
|
108
|
+
default: (e: RadioChangeEvent) => void;
|
|
109
|
+
};
|
|
110
|
+
'onUpdate:value': {
|
|
111
|
+
type: PropType<(val: any) => void>;
|
|
112
|
+
default: (val: any) => void;
|
|
113
|
+
};
|
|
114
|
+
}>> & Readonly<{}>, {
|
|
115
|
+
size: "small" | "default" | "large";
|
|
116
|
+
disabled: boolean;
|
|
117
|
+
onChange: (e: RadioChangeEvent) => void;
|
|
118
|
+
'onUpdate:value': (val: any) => void;
|
|
119
|
+
options: (string | number | RadioGroupChildOption)[];
|
|
120
|
+
buttonStyle: RadioGroupButtonStyle;
|
|
121
|
+
optionType: RadioGroupOptionType;
|
|
122
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
123
|
+
export default _default;
|
|
@@ -0,0 +1,155 @@
|
|
|
1
|
+
import { ExtractPropTypes, PropType, DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
+
import { FocusEventHandler, MouseEventHandler } from '../_util/EventInterface';
|
|
3
|
+
import { RadioChangeEvent } from './interface';
|
|
4
|
+
import { VueTypeValidableDef } from 'vue-types';
|
|
5
|
+
import { VueNode } from '../_util/type';
|
|
6
|
+
export declare const radioProps: () => {
|
|
7
|
+
prefixCls: StringConstructor;
|
|
8
|
+
checked: {
|
|
9
|
+
type: BooleanConstructor;
|
|
10
|
+
default: boolean;
|
|
11
|
+
};
|
|
12
|
+
disabled: {
|
|
13
|
+
type: BooleanConstructor;
|
|
14
|
+
default: boolean;
|
|
15
|
+
};
|
|
16
|
+
isGroup: {
|
|
17
|
+
type: BooleanConstructor;
|
|
18
|
+
default: boolean;
|
|
19
|
+
};
|
|
20
|
+
value: VueTypeValidableDef<any>;
|
|
21
|
+
name: StringConstructor;
|
|
22
|
+
id: StringConstructor;
|
|
23
|
+
autofocus: {
|
|
24
|
+
type: BooleanConstructor;
|
|
25
|
+
default: boolean;
|
|
26
|
+
};
|
|
27
|
+
onChange: {
|
|
28
|
+
type: PropType<(event: RadioChangeEvent) => void>;
|
|
29
|
+
default: (event: RadioChangeEvent) => void;
|
|
30
|
+
};
|
|
31
|
+
onFocus: {
|
|
32
|
+
type: PropType<FocusEventHandler>;
|
|
33
|
+
default: FocusEventHandler;
|
|
34
|
+
};
|
|
35
|
+
onBlur: {
|
|
36
|
+
type: PropType<FocusEventHandler>;
|
|
37
|
+
default: FocusEventHandler;
|
|
38
|
+
};
|
|
39
|
+
onClick: {
|
|
40
|
+
type: PropType<MouseEventHandler>;
|
|
41
|
+
default: MouseEventHandler;
|
|
42
|
+
};
|
|
43
|
+
'onUpdate:checked': {
|
|
44
|
+
type: PropType<(checked: boolean) => void>;
|
|
45
|
+
default: (checked: boolean) => void;
|
|
46
|
+
};
|
|
47
|
+
'onUpdate:value': {
|
|
48
|
+
type: PropType<(checked: boolean) => void>;
|
|
49
|
+
default: (checked: boolean) => void;
|
|
50
|
+
};
|
|
51
|
+
};
|
|
52
|
+
export type RadioProps = Partial<ExtractPropTypes<ReturnType<typeof radioProps>>>;
|
|
53
|
+
declare const _default: DefineComponent<ExtractPropTypes<{
|
|
54
|
+
prefixCls: StringConstructor;
|
|
55
|
+
checked: {
|
|
56
|
+
type: BooleanConstructor;
|
|
57
|
+
default: boolean;
|
|
58
|
+
};
|
|
59
|
+
disabled: {
|
|
60
|
+
type: BooleanConstructor;
|
|
61
|
+
default: boolean;
|
|
62
|
+
};
|
|
63
|
+
isGroup: {
|
|
64
|
+
type: BooleanConstructor;
|
|
65
|
+
default: boolean;
|
|
66
|
+
};
|
|
67
|
+
value: VueTypeValidableDef<any>;
|
|
68
|
+
name: StringConstructor;
|
|
69
|
+
id: StringConstructor;
|
|
70
|
+
autofocus: {
|
|
71
|
+
type: BooleanConstructor;
|
|
72
|
+
default: boolean;
|
|
73
|
+
};
|
|
74
|
+
onChange: {
|
|
75
|
+
type: PropType<(event: RadioChangeEvent) => void>;
|
|
76
|
+
default: (event: RadioChangeEvent) => void;
|
|
77
|
+
};
|
|
78
|
+
onFocus: {
|
|
79
|
+
type: PropType<FocusEventHandler>;
|
|
80
|
+
default: FocusEventHandler;
|
|
81
|
+
};
|
|
82
|
+
onBlur: {
|
|
83
|
+
type: PropType<FocusEventHandler>;
|
|
84
|
+
default: FocusEventHandler;
|
|
85
|
+
};
|
|
86
|
+
onClick: {
|
|
87
|
+
type: PropType<MouseEventHandler>;
|
|
88
|
+
default: MouseEventHandler;
|
|
89
|
+
};
|
|
90
|
+
'onUpdate:checked': {
|
|
91
|
+
type: PropType<(checked: boolean) => void>;
|
|
92
|
+
default: (checked: boolean) => void;
|
|
93
|
+
};
|
|
94
|
+
'onUpdate:value': {
|
|
95
|
+
type: PropType<(checked: boolean) => void>;
|
|
96
|
+
default: (checked: boolean) => void;
|
|
97
|
+
};
|
|
98
|
+
}>, () => VueNode, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<{
|
|
99
|
+
prefixCls: StringConstructor;
|
|
100
|
+
checked: {
|
|
101
|
+
type: BooleanConstructor;
|
|
102
|
+
default: boolean;
|
|
103
|
+
};
|
|
104
|
+
disabled: {
|
|
105
|
+
type: BooleanConstructor;
|
|
106
|
+
default: boolean;
|
|
107
|
+
};
|
|
108
|
+
isGroup: {
|
|
109
|
+
type: BooleanConstructor;
|
|
110
|
+
default: boolean;
|
|
111
|
+
};
|
|
112
|
+
value: VueTypeValidableDef<any>;
|
|
113
|
+
name: StringConstructor;
|
|
114
|
+
id: StringConstructor;
|
|
115
|
+
autofocus: {
|
|
116
|
+
type: BooleanConstructor;
|
|
117
|
+
default: boolean;
|
|
118
|
+
};
|
|
119
|
+
onChange: {
|
|
120
|
+
type: PropType<(event: RadioChangeEvent) => void>;
|
|
121
|
+
default: (event: RadioChangeEvent) => void;
|
|
122
|
+
};
|
|
123
|
+
onFocus: {
|
|
124
|
+
type: PropType<FocusEventHandler>;
|
|
125
|
+
default: FocusEventHandler;
|
|
126
|
+
};
|
|
127
|
+
onBlur: {
|
|
128
|
+
type: PropType<FocusEventHandler>;
|
|
129
|
+
default: FocusEventHandler;
|
|
130
|
+
};
|
|
131
|
+
onClick: {
|
|
132
|
+
type: PropType<MouseEventHandler>;
|
|
133
|
+
default: MouseEventHandler;
|
|
134
|
+
};
|
|
135
|
+
'onUpdate:checked': {
|
|
136
|
+
type: PropType<(checked: boolean) => void>;
|
|
137
|
+
default: (checked: boolean) => void;
|
|
138
|
+
};
|
|
139
|
+
'onUpdate:value': {
|
|
140
|
+
type: PropType<(checked: boolean) => void>;
|
|
141
|
+
default: (checked: boolean) => void;
|
|
142
|
+
};
|
|
143
|
+
}>> & Readonly<{}>, {
|
|
144
|
+
disabled: boolean;
|
|
145
|
+
onFocus: FocusEventHandler;
|
|
146
|
+
onBlur: FocusEventHandler;
|
|
147
|
+
onChange: (event: RadioChangeEvent) => void;
|
|
148
|
+
onClick: MouseEventHandler;
|
|
149
|
+
autofocus: boolean;
|
|
150
|
+
checked: boolean;
|
|
151
|
+
'onUpdate:checked': (checked: boolean) => void;
|
|
152
|
+
'onUpdate:value': (checked: boolean) => void;
|
|
153
|
+
isGroup: boolean;
|
|
154
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
155
|
+
export default _default;
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
import { DefineComponent, ExtractPropTypes, PropType, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
+
import { VueTypeValidableDef } from 'vue-types';
|
|
3
|
+
import { RadioChangeEvent } from './interface';
|
|
4
|
+
import { FocusEventHandler, MouseEventHandler } from '../_util/EventInterface';
|
|
5
|
+
declare const _default: DefineComponent<ExtractPropTypes<{
|
|
6
|
+
prefixCls: StringConstructor;
|
|
7
|
+
checked: {
|
|
8
|
+
type: BooleanConstructor;
|
|
9
|
+
default: boolean;
|
|
10
|
+
};
|
|
11
|
+
disabled: {
|
|
12
|
+
type: BooleanConstructor;
|
|
13
|
+
default: boolean;
|
|
14
|
+
};
|
|
15
|
+
isGroup: {
|
|
16
|
+
type: BooleanConstructor;
|
|
17
|
+
default: boolean;
|
|
18
|
+
};
|
|
19
|
+
value: VueTypeValidableDef<any>;
|
|
20
|
+
name: StringConstructor;
|
|
21
|
+
id: StringConstructor;
|
|
22
|
+
autofocus: {
|
|
23
|
+
type: BooleanConstructor;
|
|
24
|
+
default: boolean;
|
|
25
|
+
};
|
|
26
|
+
onChange: {
|
|
27
|
+
type: PropType<(event: RadioChangeEvent) => void>;
|
|
28
|
+
default: (event: RadioChangeEvent) => void;
|
|
29
|
+
};
|
|
30
|
+
onFocus: {
|
|
31
|
+
type: PropType<FocusEventHandler>;
|
|
32
|
+
default: FocusEventHandler;
|
|
33
|
+
};
|
|
34
|
+
onBlur: {
|
|
35
|
+
type: PropType<FocusEventHandler>;
|
|
36
|
+
default: FocusEventHandler;
|
|
37
|
+
};
|
|
38
|
+
onClick: {
|
|
39
|
+
type: PropType<MouseEventHandler>;
|
|
40
|
+
default: MouseEventHandler;
|
|
41
|
+
};
|
|
42
|
+
'onUpdate:checked': {
|
|
43
|
+
type: PropType<(checked: boolean) => void>;
|
|
44
|
+
default: (checked: boolean) => void;
|
|
45
|
+
};
|
|
46
|
+
'onUpdate:value': {
|
|
47
|
+
type: PropType<(checked: boolean) => void>;
|
|
48
|
+
default: (checked: boolean) => void;
|
|
49
|
+
};
|
|
50
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
51
|
+
prefixCls: StringConstructor;
|
|
52
|
+
checked: {
|
|
53
|
+
type: BooleanConstructor;
|
|
54
|
+
default: boolean;
|
|
55
|
+
};
|
|
56
|
+
disabled: {
|
|
57
|
+
type: BooleanConstructor;
|
|
58
|
+
default: boolean;
|
|
59
|
+
};
|
|
60
|
+
isGroup: {
|
|
61
|
+
type: BooleanConstructor;
|
|
62
|
+
default: boolean;
|
|
63
|
+
};
|
|
64
|
+
value: VueTypeValidableDef<any>;
|
|
65
|
+
name: StringConstructor;
|
|
66
|
+
id: StringConstructor;
|
|
67
|
+
autofocus: {
|
|
68
|
+
type: BooleanConstructor;
|
|
69
|
+
default: boolean;
|
|
70
|
+
};
|
|
71
|
+
onChange: {
|
|
72
|
+
type: PropType<(event: RadioChangeEvent) => void>;
|
|
73
|
+
default: (event: RadioChangeEvent) => void;
|
|
74
|
+
};
|
|
75
|
+
onFocus: {
|
|
76
|
+
type: PropType<FocusEventHandler>;
|
|
77
|
+
default: FocusEventHandler;
|
|
78
|
+
};
|
|
79
|
+
onBlur: {
|
|
80
|
+
type: PropType<FocusEventHandler>;
|
|
81
|
+
default: FocusEventHandler;
|
|
82
|
+
};
|
|
83
|
+
onClick: {
|
|
84
|
+
type: PropType<MouseEventHandler>;
|
|
85
|
+
default: MouseEventHandler;
|
|
86
|
+
};
|
|
87
|
+
'onUpdate:checked': {
|
|
88
|
+
type: PropType<(checked: boolean) => void>;
|
|
89
|
+
default: (checked: boolean) => void;
|
|
90
|
+
};
|
|
91
|
+
'onUpdate:value': {
|
|
92
|
+
type: PropType<(checked: boolean) => void>;
|
|
93
|
+
default: (checked: boolean) => void;
|
|
94
|
+
};
|
|
95
|
+
}>> & Readonly<{}>, {
|
|
96
|
+
disabled: boolean;
|
|
97
|
+
onFocus: FocusEventHandler;
|
|
98
|
+
onBlur: FocusEventHandler;
|
|
99
|
+
onChange: (event: RadioChangeEvent) => void;
|
|
100
|
+
onClick: MouseEventHandler;
|
|
101
|
+
autofocus: boolean;
|
|
102
|
+
checked: boolean;
|
|
103
|
+
'onUpdate:checked': (checked: boolean) => void;
|
|
104
|
+
'onUpdate:value': (checked: boolean) => void;
|
|
105
|
+
isGroup: boolean;
|
|
106
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
107
|
+
export default _default;
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import { ExtractPropTypes, DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
+
import { VueTypeValidableDef } from 'vue-types';
|
|
3
|
+
export declare const starProps: {
|
|
4
|
+
value: NumberConstructor;
|
|
5
|
+
index: NumberConstructor;
|
|
6
|
+
prefixCls: StringConstructor;
|
|
7
|
+
allowHalf: {
|
|
8
|
+
type: BooleanConstructor;
|
|
9
|
+
default: undefined;
|
|
10
|
+
};
|
|
11
|
+
disabled: {
|
|
12
|
+
type: BooleanConstructor;
|
|
13
|
+
default: undefined;
|
|
14
|
+
};
|
|
15
|
+
character: VueTypeValidableDef<any>;
|
|
16
|
+
characterRender: FunctionConstructor;
|
|
17
|
+
focused: {
|
|
18
|
+
type: BooleanConstructor;
|
|
19
|
+
default: undefined;
|
|
20
|
+
};
|
|
21
|
+
count: NumberConstructor;
|
|
22
|
+
onClick: FunctionConstructor;
|
|
23
|
+
onHover: FunctionConstructor;
|
|
24
|
+
};
|
|
25
|
+
export type StarProps = Partial<ExtractPropTypes<typeof starProps>>;
|
|
26
|
+
declare const _default: DefineComponent<ExtractPropTypes<{
|
|
27
|
+
value: NumberConstructor;
|
|
28
|
+
index: NumberConstructor;
|
|
29
|
+
prefixCls: StringConstructor;
|
|
30
|
+
allowHalf: {
|
|
31
|
+
type: BooleanConstructor;
|
|
32
|
+
default: undefined;
|
|
33
|
+
};
|
|
34
|
+
disabled: {
|
|
35
|
+
type: BooleanConstructor;
|
|
36
|
+
default: undefined;
|
|
37
|
+
};
|
|
38
|
+
character: VueTypeValidableDef<any>;
|
|
39
|
+
characterRender: FunctionConstructor;
|
|
40
|
+
focused: {
|
|
41
|
+
type: BooleanConstructor;
|
|
42
|
+
default: undefined;
|
|
43
|
+
};
|
|
44
|
+
count: NumberConstructor;
|
|
45
|
+
onClick: FunctionConstructor;
|
|
46
|
+
onHover: FunctionConstructor;
|
|
47
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("click" | "hover")[], "click" | "hover", PublicProps, Readonly<ExtractPropTypes<{
|
|
48
|
+
value: NumberConstructor;
|
|
49
|
+
index: NumberConstructor;
|
|
50
|
+
prefixCls: StringConstructor;
|
|
51
|
+
allowHalf: {
|
|
52
|
+
type: BooleanConstructor;
|
|
53
|
+
default: undefined;
|
|
54
|
+
};
|
|
55
|
+
disabled: {
|
|
56
|
+
type: BooleanConstructor;
|
|
57
|
+
default: undefined;
|
|
58
|
+
};
|
|
59
|
+
character: VueTypeValidableDef<any>;
|
|
60
|
+
characterRender: FunctionConstructor;
|
|
61
|
+
focused: {
|
|
62
|
+
type: BooleanConstructor;
|
|
63
|
+
default: undefined;
|
|
64
|
+
};
|
|
65
|
+
count: NumberConstructor;
|
|
66
|
+
onClick: FunctionConstructor;
|
|
67
|
+
onHover: FunctionConstructor;
|
|
68
|
+
}>> & Readonly<{
|
|
69
|
+
onClick?: ((...args: any[]) => any) | undefined;
|
|
70
|
+
onHover?: ((...args: any[]) => any) | undefined;
|
|
71
|
+
}>, {
|
|
72
|
+
disabled: boolean;
|
|
73
|
+
focused: boolean;
|
|
74
|
+
allowHalf: boolean;
|
|
75
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
76
|
+
export default _default;
|
|
@@ -0,0 +1,160 @@
|
|
|
1
|
+
import { ExtractPropTypes, PropType, CreateComponentPublicInstanceWithMixins, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ComponentProvideOptions, ComponentOptionsBase, VNodeProps, AllowedComponentProps, ComponentCustomProps, Plugin } from 'vue';
|
|
2
|
+
import { FocusEventHandler, KeyboardEventHandler } from '../_util/EventInterface';
|
|
3
|
+
import { Direction } from '../config-provider';
|
|
4
|
+
import { VueTypeValidableDef, VueTypeDef } from 'vue-types';
|
|
5
|
+
import { VueNode } from '../_util/type';
|
|
6
|
+
export declare const rateProps: () => {
|
|
7
|
+
prefixCls: StringConstructor;
|
|
8
|
+
count: NumberConstructor;
|
|
9
|
+
value: NumberConstructor;
|
|
10
|
+
allowHalf: {
|
|
11
|
+
type: BooleanConstructor;
|
|
12
|
+
default: undefined;
|
|
13
|
+
};
|
|
14
|
+
allowClear: {
|
|
15
|
+
type: BooleanConstructor;
|
|
16
|
+
default: undefined;
|
|
17
|
+
};
|
|
18
|
+
tooltips: PropType<string[]>;
|
|
19
|
+
disabled: {
|
|
20
|
+
type: BooleanConstructor;
|
|
21
|
+
default: undefined;
|
|
22
|
+
};
|
|
23
|
+
character: VueTypeValidableDef<any>;
|
|
24
|
+
autofocus: {
|
|
25
|
+
type: BooleanConstructor;
|
|
26
|
+
default: undefined;
|
|
27
|
+
};
|
|
28
|
+
tabindex: VueTypeDef<string | number>;
|
|
29
|
+
direction: PropType<Direction>;
|
|
30
|
+
id: StringConstructor;
|
|
31
|
+
onChange: PropType<(value: number) => void>;
|
|
32
|
+
onHoverChange: PropType<(value: number) => void>;
|
|
33
|
+
'onUpdate:value': PropType<(value: number) => void>;
|
|
34
|
+
onFocus: PropType<FocusEventHandler>;
|
|
35
|
+
onBlur: PropType<FocusEventHandler>;
|
|
36
|
+
onKeydown: PropType<KeyboardEventHandler>;
|
|
37
|
+
};
|
|
38
|
+
export type RateProps = Partial<ExtractPropTypes<ReturnType<typeof rateProps>>>;
|
|
39
|
+
declare const _default: {
|
|
40
|
+
new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly<ExtractPropTypes<{
|
|
41
|
+
prefixCls: StringConstructor;
|
|
42
|
+
count: NumberConstructor;
|
|
43
|
+
value: NumberConstructor;
|
|
44
|
+
allowHalf: {
|
|
45
|
+
type: BooleanConstructor;
|
|
46
|
+
default: undefined;
|
|
47
|
+
};
|
|
48
|
+
allowClear: {
|
|
49
|
+
type: BooleanConstructor;
|
|
50
|
+
default: undefined;
|
|
51
|
+
};
|
|
52
|
+
tooltips: PropType<string[]>;
|
|
53
|
+
disabled: {
|
|
54
|
+
type: BooleanConstructor;
|
|
55
|
+
default: undefined;
|
|
56
|
+
};
|
|
57
|
+
character: VueTypeValidableDef<any>;
|
|
58
|
+
autofocus: {
|
|
59
|
+
type: BooleanConstructor;
|
|
60
|
+
default: undefined;
|
|
61
|
+
};
|
|
62
|
+
tabindex: VueTypeDef<string | number>;
|
|
63
|
+
direction: PropType<Direction>;
|
|
64
|
+
id: StringConstructor;
|
|
65
|
+
onChange: PropType<(value: number) => void>;
|
|
66
|
+
onHoverChange: PropType<(value: number) => void>;
|
|
67
|
+
'onUpdate:value': PropType<(value: number) => void>;
|
|
68
|
+
onFocus: PropType<FocusEventHandler>;
|
|
69
|
+
onBlur: PropType<FocusEventHandler>;
|
|
70
|
+
onKeydown: PropType<KeyboardEventHandler>;
|
|
71
|
+
}>> & Readonly<{}>, () => VueNode, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {
|
|
72
|
+
disabled: boolean;
|
|
73
|
+
autofocus: boolean;
|
|
74
|
+
allowClear: boolean;
|
|
75
|
+
allowHalf: boolean;
|
|
76
|
+
}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
|
|
77
|
+
P: {};
|
|
78
|
+
B: {};
|
|
79
|
+
D: {};
|
|
80
|
+
C: {};
|
|
81
|
+
M: {};
|
|
82
|
+
Defaults: {};
|
|
83
|
+
}, Readonly<ExtractPropTypes<{
|
|
84
|
+
prefixCls: StringConstructor;
|
|
85
|
+
count: NumberConstructor;
|
|
86
|
+
value: NumberConstructor;
|
|
87
|
+
allowHalf: {
|
|
88
|
+
type: BooleanConstructor;
|
|
89
|
+
default: undefined;
|
|
90
|
+
};
|
|
91
|
+
allowClear: {
|
|
92
|
+
type: BooleanConstructor;
|
|
93
|
+
default: undefined;
|
|
94
|
+
};
|
|
95
|
+
tooltips: PropType<string[]>;
|
|
96
|
+
disabled: {
|
|
97
|
+
type: BooleanConstructor;
|
|
98
|
+
default: undefined;
|
|
99
|
+
};
|
|
100
|
+
character: VueTypeValidableDef<any>;
|
|
101
|
+
autofocus: {
|
|
102
|
+
type: BooleanConstructor;
|
|
103
|
+
default: undefined;
|
|
104
|
+
};
|
|
105
|
+
tabindex: VueTypeDef<string | number>;
|
|
106
|
+
direction: PropType<Direction>;
|
|
107
|
+
id: StringConstructor;
|
|
108
|
+
onChange: PropType<(value: number) => void>;
|
|
109
|
+
onHoverChange: PropType<(value: number) => void>;
|
|
110
|
+
'onUpdate:value': PropType<(value: number) => void>;
|
|
111
|
+
onFocus: PropType<FocusEventHandler>;
|
|
112
|
+
onBlur: PropType<FocusEventHandler>;
|
|
113
|
+
onKeydown: PropType<KeyboardEventHandler>;
|
|
114
|
+
}>> & Readonly<{}>, () => VueNode, {}, {}, {}, {
|
|
115
|
+
disabled: boolean;
|
|
116
|
+
autofocus: boolean;
|
|
117
|
+
allowClear: boolean;
|
|
118
|
+
allowHalf: boolean;
|
|
119
|
+
}>;
|
|
120
|
+
__isFragment?: never;
|
|
121
|
+
__isTeleport?: never;
|
|
122
|
+
__isSuspense?: never;
|
|
123
|
+
} & ComponentOptionsBase<Readonly<ExtractPropTypes<{
|
|
124
|
+
prefixCls: StringConstructor;
|
|
125
|
+
count: NumberConstructor;
|
|
126
|
+
value: NumberConstructor;
|
|
127
|
+
allowHalf: {
|
|
128
|
+
type: BooleanConstructor;
|
|
129
|
+
default: undefined;
|
|
130
|
+
};
|
|
131
|
+
allowClear: {
|
|
132
|
+
type: BooleanConstructor;
|
|
133
|
+
default: undefined;
|
|
134
|
+
};
|
|
135
|
+
tooltips: PropType<string[]>;
|
|
136
|
+
disabled: {
|
|
137
|
+
type: BooleanConstructor;
|
|
138
|
+
default: undefined;
|
|
139
|
+
};
|
|
140
|
+
character: VueTypeValidableDef<any>;
|
|
141
|
+
autofocus: {
|
|
142
|
+
type: BooleanConstructor;
|
|
143
|
+
default: undefined;
|
|
144
|
+
};
|
|
145
|
+
tabindex: VueTypeDef<string | number>;
|
|
146
|
+
direction: PropType<Direction>;
|
|
147
|
+
id: StringConstructor;
|
|
148
|
+
onChange: PropType<(value: number) => void>;
|
|
149
|
+
onHoverChange: PropType<(value: number) => void>;
|
|
150
|
+
'onUpdate:value': PropType<(value: number) => void>;
|
|
151
|
+
onFocus: PropType<FocusEventHandler>;
|
|
152
|
+
onBlur: PropType<FocusEventHandler>;
|
|
153
|
+
onKeydown: PropType<KeyboardEventHandler>;
|
|
154
|
+
}>> & Readonly<{}>, () => VueNode, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
|
|
155
|
+
disabled: boolean;
|
|
156
|
+
autofocus: boolean;
|
|
157
|
+
allowClear: boolean;
|
|
158
|
+
allowHalf: boolean;
|
|
159
|
+
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & Plugin;
|
|
160
|
+
export default _default;
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import { ExtractPropTypes, Plugin, PropType, DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
+
import { CustomSlotsType, VueNode } from '../_util/type';
|
|
3
|
+
import { default as noFound } from './noFound';
|
|
4
|
+
import { default as serverError } from './serverError';
|
|
5
|
+
import { default as unauthorized } from './unauthorized';
|
|
6
|
+
import { CheckCircleFilledIconType } from '@ant-design/icons-vue/lib/icons/CheckCircleFilled';
|
|
7
|
+
import { CloseCircleFilledIconType } from '@ant-design/icons-vue/lib/icons/CloseCircleFilled';
|
|
8
|
+
import { ExclamationCircleFilledIconType } from '@ant-design/icons-vue/lib/icons/ExclamationCircleFilled';
|
|
9
|
+
import { WarningFilledIconType } from '@ant-design/icons-vue/lib/icons/WarningFilled';
|
|
10
|
+
import { VueTypeValidableDef } from 'vue-types';
|
|
11
|
+
export declare const IconMap: {
|
|
12
|
+
success: CheckCircleFilledIconType;
|
|
13
|
+
error: CloseCircleFilledIconType;
|
|
14
|
+
info: ExclamationCircleFilledIconType;
|
|
15
|
+
warning: WarningFilledIconType;
|
|
16
|
+
};
|
|
17
|
+
export declare const ExceptionMap: {
|
|
18
|
+
'404': () => import("vue/jsx-runtime").JSX.Element;
|
|
19
|
+
'500': () => import("vue/jsx-runtime").JSX.Element;
|
|
20
|
+
'403': () => import("vue/jsx-runtime").JSX.Element;
|
|
21
|
+
};
|
|
22
|
+
export type ExceptionStatusType = 403 | 404 | 500 | '403' | '404' | '500';
|
|
23
|
+
export type ResultStatusType = ExceptionStatusType | keyof typeof IconMap;
|
|
24
|
+
export declare const resultProps: () => {
|
|
25
|
+
prefixCls: StringConstructor;
|
|
26
|
+
icon: VueTypeValidableDef<any>;
|
|
27
|
+
status: {
|
|
28
|
+
type: PropType<ResultStatusType>;
|
|
29
|
+
default: string;
|
|
30
|
+
};
|
|
31
|
+
title: VueTypeValidableDef<any>;
|
|
32
|
+
subTitle: VueTypeValidableDef<any>;
|
|
33
|
+
extra: VueTypeValidableDef<any>;
|
|
34
|
+
};
|
|
35
|
+
export type ResultProps = Partial<ExtractPropTypes<ReturnType<typeof resultProps>>>;
|
|
36
|
+
declare const Result: DefineComponent<ExtractPropTypes<{
|
|
37
|
+
prefixCls: StringConstructor;
|
|
38
|
+
icon: VueTypeValidableDef<any>;
|
|
39
|
+
status: {
|
|
40
|
+
type: PropType<ResultStatusType>;
|
|
41
|
+
default: string;
|
|
42
|
+
};
|
|
43
|
+
title: VueTypeValidableDef<any>;
|
|
44
|
+
subTitle: VueTypeValidableDef<any>;
|
|
45
|
+
extra: VueTypeValidableDef<any>;
|
|
46
|
+
}>, () => VueNode, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<{
|
|
47
|
+
prefixCls: StringConstructor;
|
|
48
|
+
icon: VueTypeValidableDef<any>;
|
|
49
|
+
status: {
|
|
50
|
+
type: PropType<ResultStatusType>;
|
|
51
|
+
default: string;
|
|
52
|
+
};
|
|
53
|
+
title: VueTypeValidableDef<any>;
|
|
54
|
+
subTitle: VueTypeValidableDef<any>;
|
|
55
|
+
extra: VueTypeValidableDef<any>;
|
|
56
|
+
}>> & Readonly<{}>, {
|
|
57
|
+
status: ResultStatusType;
|
|
58
|
+
}, CustomSlotsType<{
|
|
59
|
+
title?: any;
|
|
60
|
+
subTitle?: any;
|
|
61
|
+
icon?: any;
|
|
62
|
+
extra?: any;
|
|
63
|
+
default?: any;
|
|
64
|
+
}>, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
65
|
+
declare const _default: typeof Result & Plugin & {
|
|
66
|
+
readonly PRESENTED_IMAGE_403: typeof unauthorized;
|
|
67
|
+
readonly PRESENTED_IMAGE_404: typeof noFound;
|
|
68
|
+
readonly PRESENTED_IMAGE_500: typeof serverError;
|
|
69
|
+
};
|
|
70
|
+
export default _default;
|