@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,351 @@
|
|
|
1
|
+
import { App, ExtractPropTypes, PropType, DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, CreateComponentPublicInstanceWithMixins, GlobalComponents, GlobalDirectives, ComponentOptionsBase, VNodeProps, AllowedComponentProps, ComponentCustomProps } from 'vue';
|
|
2
|
+
import { KeyboardEventHandler } from '../_util/EventInterface';
|
|
3
|
+
import { InputStatus } from '../_util/statusUtils';
|
|
4
|
+
import { CustomSlotsType, VueNode } from '../_util/type';
|
|
5
|
+
import { VueTypeValidableDef, VueTypeDef } from 'vue-types';
|
|
6
|
+
import { filterOption } from '../vc-mentions/src/util';
|
|
7
|
+
import { OptionProps, BaseOptionsProps } from '../vc-mentions/src/Option';
|
|
8
|
+
import { Direction } from '../vc-mentions/src/mentionsProps';
|
|
9
|
+
interface MentionsConfig {
|
|
10
|
+
prefix?: string | string[];
|
|
11
|
+
split?: string;
|
|
12
|
+
}
|
|
13
|
+
export interface MentionsOptionProps {
|
|
14
|
+
value: string;
|
|
15
|
+
disabled?: boolean;
|
|
16
|
+
label?: string | number | ((o: MentionsOptionProps) => any);
|
|
17
|
+
[key: string]: any;
|
|
18
|
+
}
|
|
19
|
+
interface MentionsEntity {
|
|
20
|
+
prefix: string;
|
|
21
|
+
value: string;
|
|
22
|
+
}
|
|
23
|
+
export type MentionPlacement = 'top' | 'bottom';
|
|
24
|
+
export declare const mentionsProps: () => {
|
|
25
|
+
loading: {
|
|
26
|
+
type: BooleanConstructor;
|
|
27
|
+
default: undefined;
|
|
28
|
+
};
|
|
29
|
+
onFocus: {
|
|
30
|
+
type: PropType<(e: FocusEvent) => void>;
|
|
31
|
+
};
|
|
32
|
+
onBlur: {
|
|
33
|
+
type: PropType<(e: FocusEvent) => void>;
|
|
34
|
+
};
|
|
35
|
+
onSelect: {
|
|
36
|
+
type: PropType<(option: MentionsOptionProps, prefix: string) => void>;
|
|
37
|
+
};
|
|
38
|
+
onChange: {
|
|
39
|
+
type: PropType<(text: string) => void>;
|
|
40
|
+
};
|
|
41
|
+
onPressenter: {
|
|
42
|
+
type: PropType<KeyboardEventHandler>;
|
|
43
|
+
};
|
|
44
|
+
'onUpdate:value': {
|
|
45
|
+
type: PropType<(text: string) => void>;
|
|
46
|
+
};
|
|
47
|
+
notFoundContent: VueTypeValidableDef<any>;
|
|
48
|
+
defaultValue: StringConstructor;
|
|
49
|
+
id: StringConstructor;
|
|
50
|
+
status: PropType<InputStatus>;
|
|
51
|
+
autofocus: {
|
|
52
|
+
type: BooleanConstructor;
|
|
53
|
+
default: undefined;
|
|
54
|
+
};
|
|
55
|
+
prefix: VueTypeDef<string | string[]>;
|
|
56
|
+
prefixCls: StringConstructor;
|
|
57
|
+
value: StringConstructor;
|
|
58
|
+
disabled: {
|
|
59
|
+
type: BooleanConstructor;
|
|
60
|
+
default: undefined;
|
|
61
|
+
};
|
|
62
|
+
split: StringConstructor;
|
|
63
|
+
transitionName: StringConstructor;
|
|
64
|
+
placement: VueTypeDef<"bottom" | "top">;
|
|
65
|
+
character: VueTypeValidableDef<any>;
|
|
66
|
+
characterRender: FunctionConstructor;
|
|
67
|
+
filterOption: {
|
|
68
|
+
type: PropType< filterOption | false>;
|
|
69
|
+
};
|
|
70
|
+
validateSearch: FunctionConstructor;
|
|
71
|
+
getPopupContainer: {
|
|
72
|
+
type: PropType<() => HTMLElement>;
|
|
73
|
+
};
|
|
74
|
+
options: {
|
|
75
|
+
type: PropType< OptionProps[]>;
|
|
76
|
+
default: OptionProps[];
|
|
77
|
+
};
|
|
78
|
+
rows: (StringConstructor | NumberConstructor)[];
|
|
79
|
+
direction: {
|
|
80
|
+
type: PropType< Direction>;
|
|
81
|
+
};
|
|
82
|
+
};
|
|
83
|
+
export type MentionsProps = Partial<ExtractPropTypes<ReturnType<typeof mentionsProps>>>;
|
|
84
|
+
export declare const MentionsOption: DefineComponent<ExtractPropTypes<{
|
|
85
|
+
label: {
|
|
86
|
+
default: VueNode | ((o: BaseOptionsProps) => VueNode);
|
|
87
|
+
type: PropType< VueNode | ((o: BaseOptionsProps) => VueNode)>;
|
|
88
|
+
};
|
|
89
|
+
value: StringConstructor;
|
|
90
|
+
disabled: BooleanConstructor;
|
|
91
|
+
payload: {
|
|
92
|
+
type: PropType<Record<string, any>>;
|
|
93
|
+
default: Record<string, any>;
|
|
94
|
+
};
|
|
95
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<{
|
|
96
|
+
label: {
|
|
97
|
+
default: VueNode | ((o: BaseOptionsProps) => VueNode);
|
|
98
|
+
type: PropType< VueNode | ((o: BaseOptionsProps) => VueNode)>;
|
|
99
|
+
};
|
|
100
|
+
value: StringConstructor;
|
|
101
|
+
disabled: BooleanConstructor;
|
|
102
|
+
payload: {
|
|
103
|
+
type: PropType<Record<string, any>>;
|
|
104
|
+
default: Record<string, any>;
|
|
105
|
+
};
|
|
106
|
+
}>> & Readonly<{}>, {
|
|
107
|
+
label: VueNode | ((o: BaseOptionsProps) => VueNode);
|
|
108
|
+
disabled: boolean;
|
|
109
|
+
payload: Record<string, any>;
|
|
110
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
111
|
+
declare const _default: {
|
|
112
|
+
new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly<ExtractPropTypes<{
|
|
113
|
+
loading: {
|
|
114
|
+
type: BooleanConstructor;
|
|
115
|
+
default: undefined;
|
|
116
|
+
};
|
|
117
|
+
onFocus: {
|
|
118
|
+
type: PropType<(e: FocusEvent) => void>;
|
|
119
|
+
};
|
|
120
|
+
onBlur: {
|
|
121
|
+
type: PropType<(e: FocusEvent) => void>;
|
|
122
|
+
};
|
|
123
|
+
onSelect: {
|
|
124
|
+
type: PropType<(option: MentionsOptionProps, prefix: string) => void>;
|
|
125
|
+
};
|
|
126
|
+
onChange: {
|
|
127
|
+
type: PropType<(text: string) => void>;
|
|
128
|
+
};
|
|
129
|
+
onPressenter: {
|
|
130
|
+
type: PropType<KeyboardEventHandler>;
|
|
131
|
+
};
|
|
132
|
+
'onUpdate:value': {
|
|
133
|
+
type: PropType<(text: string) => void>;
|
|
134
|
+
};
|
|
135
|
+
notFoundContent: VueTypeValidableDef<any>;
|
|
136
|
+
defaultValue: StringConstructor;
|
|
137
|
+
id: StringConstructor;
|
|
138
|
+
status: PropType<InputStatus>;
|
|
139
|
+
autofocus: {
|
|
140
|
+
type: BooleanConstructor;
|
|
141
|
+
default: undefined;
|
|
142
|
+
};
|
|
143
|
+
prefix: VueTypeDef<string | string[]>;
|
|
144
|
+
prefixCls: StringConstructor;
|
|
145
|
+
value: StringConstructor;
|
|
146
|
+
disabled: {
|
|
147
|
+
type: BooleanConstructor;
|
|
148
|
+
default: undefined;
|
|
149
|
+
};
|
|
150
|
+
split: StringConstructor;
|
|
151
|
+
transitionName: StringConstructor;
|
|
152
|
+
placement: VueTypeDef<"bottom" | "top">;
|
|
153
|
+
character: VueTypeValidableDef<any>;
|
|
154
|
+
characterRender: FunctionConstructor;
|
|
155
|
+
filterOption: {
|
|
156
|
+
type: PropType< filterOption | false>;
|
|
157
|
+
};
|
|
158
|
+
validateSearch: FunctionConstructor;
|
|
159
|
+
getPopupContainer: {
|
|
160
|
+
type: PropType<() => HTMLElement>;
|
|
161
|
+
};
|
|
162
|
+
options: {
|
|
163
|
+
type: PropType< OptionProps[]>;
|
|
164
|
+
default: OptionProps[];
|
|
165
|
+
};
|
|
166
|
+
rows: (StringConstructor | NumberConstructor)[];
|
|
167
|
+
direction: {
|
|
168
|
+
type: PropType< Direction>;
|
|
169
|
+
};
|
|
170
|
+
}>> & Readonly<{}>, () => VueNode, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {
|
|
171
|
+
disabled: boolean;
|
|
172
|
+
autofocus: boolean;
|
|
173
|
+
loading: boolean;
|
|
174
|
+
options: OptionProps[];
|
|
175
|
+
}, true, {}, CustomSlotsType<{
|
|
176
|
+
notFoundContent?: any;
|
|
177
|
+
option?: any;
|
|
178
|
+
default?: any;
|
|
179
|
+
}>, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
|
|
180
|
+
P: {};
|
|
181
|
+
B: {};
|
|
182
|
+
D: {};
|
|
183
|
+
C: {};
|
|
184
|
+
M: {};
|
|
185
|
+
Defaults: {};
|
|
186
|
+
}, Readonly<ExtractPropTypes<{
|
|
187
|
+
loading: {
|
|
188
|
+
type: BooleanConstructor;
|
|
189
|
+
default: undefined;
|
|
190
|
+
};
|
|
191
|
+
onFocus: {
|
|
192
|
+
type: PropType<(e: FocusEvent) => void>;
|
|
193
|
+
};
|
|
194
|
+
onBlur: {
|
|
195
|
+
type: PropType<(e: FocusEvent) => void>;
|
|
196
|
+
};
|
|
197
|
+
onSelect: {
|
|
198
|
+
type: PropType<(option: MentionsOptionProps, prefix: string) => void>;
|
|
199
|
+
};
|
|
200
|
+
onChange: {
|
|
201
|
+
type: PropType<(text: string) => void>;
|
|
202
|
+
};
|
|
203
|
+
onPressenter: {
|
|
204
|
+
type: PropType<KeyboardEventHandler>;
|
|
205
|
+
};
|
|
206
|
+
'onUpdate:value': {
|
|
207
|
+
type: PropType<(text: string) => void>;
|
|
208
|
+
};
|
|
209
|
+
notFoundContent: VueTypeValidableDef<any>;
|
|
210
|
+
defaultValue: StringConstructor;
|
|
211
|
+
id: StringConstructor;
|
|
212
|
+
status: PropType<InputStatus>;
|
|
213
|
+
autofocus: {
|
|
214
|
+
type: BooleanConstructor;
|
|
215
|
+
default: undefined;
|
|
216
|
+
};
|
|
217
|
+
prefix: VueTypeDef<string | string[]>;
|
|
218
|
+
prefixCls: StringConstructor;
|
|
219
|
+
value: StringConstructor;
|
|
220
|
+
disabled: {
|
|
221
|
+
type: BooleanConstructor;
|
|
222
|
+
default: undefined;
|
|
223
|
+
};
|
|
224
|
+
split: StringConstructor;
|
|
225
|
+
transitionName: StringConstructor;
|
|
226
|
+
placement: VueTypeDef<"bottom" | "top">;
|
|
227
|
+
character: VueTypeValidableDef<any>;
|
|
228
|
+
characterRender: FunctionConstructor;
|
|
229
|
+
filterOption: {
|
|
230
|
+
type: PropType< filterOption | false>;
|
|
231
|
+
};
|
|
232
|
+
validateSearch: FunctionConstructor;
|
|
233
|
+
getPopupContainer: {
|
|
234
|
+
type: PropType<() => HTMLElement>;
|
|
235
|
+
};
|
|
236
|
+
options: {
|
|
237
|
+
type: PropType< OptionProps[]>;
|
|
238
|
+
default: OptionProps[];
|
|
239
|
+
};
|
|
240
|
+
rows: (StringConstructor | NumberConstructor)[];
|
|
241
|
+
direction: {
|
|
242
|
+
type: PropType< Direction>;
|
|
243
|
+
};
|
|
244
|
+
}>> & Readonly<{}>, () => VueNode, {}, {}, {}, {
|
|
245
|
+
disabled: boolean;
|
|
246
|
+
autofocus: boolean;
|
|
247
|
+
loading: boolean;
|
|
248
|
+
options: OptionProps[];
|
|
249
|
+
}>;
|
|
250
|
+
__isFragment?: never;
|
|
251
|
+
__isTeleport?: never;
|
|
252
|
+
__isSuspense?: never;
|
|
253
|
+
} & ComponentOptionsBase<Readonly<ExtractPropTypes<{
|
|
254
|
+
loading: {
|
|
255
|
+
type: BooleanConstructor;
|
|
256
|
+
default: undefined;
|
|
257
|
+
};
|
|
258
|
+
onFocus: {
|
|
259
|
+
type: PropType<(e: FocusEvent) => void>;
|
|
260
|
+
};
|
|
261
|
+
onBlur: {
|
|
262
|
+
type: PropType<(e: FocusEvent) => void>;
|
|
263
|
+
};
|
|
264
|
+
onSelect: {
|
|
265
|
+
type: PropType<(option: MentionsOptionProps, prefix: string) => void>;
|
|
266
|
+
};
|
|
267
|
+
onChange: {
|
|
268
|
+
type: PropType<(text: string) => void>;
|
|
269
|
+
};
|
|
270
|
+
onPressenter: {
|
|
271
|
+
type: PropType<KeyboardEventHandler>;
|
|
272
|
+
};
|
|
273
|
+
'onUpdate:value': {
|
|
274
|
+
type: PropType<(text: string) => void>;
|
|
275
|
+
};
|
|
276
|
+
notFoundContent: VueTypeValidableDef<any>;
|
|
277
|
+
defaultValue: StringConstructor;
|
|
278
|
+
id: StringConstructor;
|
|
279
|
+
status: PropType<InputStatus>;
|
|
280
|
+
autofocus: {
|
|
281
|
+
type: BooleanConstructor;
|
|
282
|
+
default: undefined;
|
|
283
|
+
};
|
|
284
|
+
prefix: VueTypeDef<string | string[]>;
|
|
285
|
+
prefixCls: StringConstructor;
|
|
286
|
+
value: StringConstructor;
|
|
287
|
+
disabled: {
|
|
288
|
+
type: BooleanConstructor;
|
|
289
|
+
default: undefined;
|
|
290
|
+
};
|
|
291
|
+
split: StringConstructor;
|
|
292
|
+
transitionName: StringConstructor;
|
|
293
|
+
placement: VueTypeDef<"bottom" | "top">;
|
|
294
|
+
character: VueTypeValidableDef<any>;
|
|
295
|
+
characterRender: FunctionConstructor;
|
|
296
|
+
filterOption: {
|
|
297
|
+
type: PropType< filterOption | false>;
|
|
298
|
+
};
|
|
299
|
+
validateSearch: FunctionConstructor;
|
|
300
|
+
getPopupContainer: {
|
|
301
|
+
type: PropType<() => HTMLElement>;
|
|
302
|
+
};
|
|
303
|
+
options: {
|
|
304
|
+
type: PropType< OptionProps[]>;
|
|
305
|
+
default: OptionProps[];
|
|
306
|
+
};
|
|
307
|
+
rows: (StringConstructor | NumberConstructor)[];
|
|
308
|
+
direction: {
|
|
309
|
+
type: PropType< Direction>;
|
|
310
|
+
};
|
|
311
|
+
}>> & Readonly<{}>, () => VueNode, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
|
|
312
|
+
disabled: boolean;
|
|
313
|
+
autofocus: boolean;
|
|
314
|
+
loading: boolean;
|
|
315
|
+
options: OptionProps[];
|
|
316
|
+
}, {}, string, CustomSlotsType<{
|
|
317
|
+
notFoundContent?: any;
|
|
318
|
+
option?: any;
|
|
319
|
+
default?: any;
|
|
320
|
+
}>, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & {
|
|
321
|
+
Option: DefineComponent<ExtractPropTypes<{
|
|
322
|
+
label: {
|
|
323
|
+
default: VueNode | ((o: BaseOptionsProps) => VueNode);
|
|
324
|
+
type: PropType< VueNode | ((o: BaseOptionsProps) => VueNode)>;
|
|
325
|
+
};
|
|
326
|
+
value: StringConstructor;
|
|
327
|
+
disabled: BooleanConstructor;
|
|
328
|
+
payload: {
|
|
329
|
+
type: PropType<Record<string, any>>;
|
|
330
|
+
default: Record<string, any>;
|
|
331
|
+
};
|
|
332
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<{
|
|
333
|
+
label: {
|
|
334
|
+
default: VueNode | ((o: BaseOptionsProps) => VueNode);
|
|
335
|
+
type: PropType< VueNode | ((o: BaseOptionsProps) => VueNode)>;
|
|
336
|
+
};
|
|
337
|
+
value: StringConstructor;
|
|
338
|
+
disabled: BooleanConstructor;
|
|
339
|
+
payload: {
|
|
340
|
+
type: PropType<Record<string, any>>;
|
|
341
|
+
default: Record<string, any>;
|
|
342
|
+
};
|
|
343
|
+
}>> & Readonly<{}>, {
|
|
344
|
+
label: VueNode | ((o: BaseOptionsProps) => VueNode);
|
|
345
|
+
disabled: boolean;
|
|
346
|
+
payload: Record<string, any>;
|
|
347
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
348
|
+
getMentions: (value?: string, config?: MentionsConfig) => MentionsEntity[];
|
|
349
|
+
install: (app: App) => App<any>;
|
|
350
|
+
};
|
|
351
|
+
export default _default;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { ExtractPropTypes, PropType, DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
+
import { CustomSlotsType } from '../../_util/type';
|
|
3
|
+
import { ItemType } from './interface';
|
|
4
|
+
import { VueTypeValidableDef } from 'vue-types';
|
|
5
|
+
export declare const menuItemGroupProps: () => {
|
|
6
|
+
title: VueTypeValidableDef<any>;
|
|
7
|
+
originItemValue: {
|
|
8
|
+
type: PropType<ItemType>;
|
|
9
|
+
default: ItemType;
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
export type MenuItemGroupProps = Partial<ExtractPropTypes<ReturnType<typeof menuItemGroupProps>>>;
|
|
13
|
+
declare const _default: DefineComponent<ExtractPropTypes<{
|
|
14
|
+
title: VueTypeValidableDef<any>;
|
|
15
|
+
originItemValue: {
|
|
16
|
+
type: PropType<ItemType>;
|
|
17
|
+
default: ItemType;
|
|
18
|
+
};
|
|
19
|
+
}>, () => any, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<{
|
|
20
|
+
title: VueTypeValidableDef<any>;
|
|
21
|
+
originItemValue: {
|
|
22
|
+
type: PropType<ItemType>;
|
|
23
|
+
default: ItemType;
|
|
24
|
+
};
|
|
25
|
+
}>> & Readonly<{}>, {
|
|
26
|
+
originItemValue: ItemType;
|
|
27
|
+
}, CustomSlotsType<{
|
|
28
|
+
title?: any;
|
|
29
|
+
default?: any;
|
|
30
|
+
}>, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
31
|
+
export default _default;
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import { ExtractPropTypes, PropType, DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
+
import { MouseEventHandler } from '../../_util/EventInterface';
|
|
3
|
+
import { CustomSlotsType } from '../../_util/type';
|
|
4
|
+
import { ItemType } from './interface';
|
|
5
|
+
import { VueTypeValidableDef } from 'vue-types';
|
|
6
|
+
export declare const menuItemProps: () => {
|
|
7
|
+
id: StringConstructor;
|
|
8
|
+
role: StringConstructor;
|
|
9
|
+
disabled: BooleanConstructor;
|
|
10
|
+
danger: BooleanConstructor;
|
|
11
|
+
title: {
|
|
12
|
+
type: (BooleanConstructor | StringConstructor)[];
|
|
13
|
+
default: undefined;
|
|
14
|
+
};
|
|
15
|
+
icon: VueTypeValidableDef<any>;
|
|
16
|
+
onMouseenter: PropType<MouseEventHandler>;
|
|
17
|
+
onMouseleave: PropType<MouseEventHandler>;
|
|
18
|
+
onClick: PropType<MouseEventHandler>;
|
|
19
|
+
onKeydown: PropType<MouseEventHandler>;
|
|
20
|
+
onFocus: PropType<MouseEventHandler>;
|
|
21
|
+
originItemValue: {
|
|
22
|
+
type: PropType<ItemType>;
|
|
23
|
+
default: ItemType;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
export type MenuItemProps = Partial<ExtractPropTypes<ReturnType<typeof menuItemProps>>>;
|
|
27
|
+
declare const _default: DefineComponent<ExtractPropTypes<{
|
|
28
|
+
id: StringConstructor;
|
|
29
|
+
role: StringConstructor;
|
|
30
|
+
disabled: BooleanConstructor;
|
|
31
|
+
danger: BooleanConstructor;
|
|
32
|
+
title: {
|
|
33
|
+
type: (BooleanConstructor | StringConstructor)[];
|
|
34
|
+
default: undefined;
|
|
35
|
+
};
|
|
36
|
+
icon: VueTypeValidableDef<any>;
|
|
37
|
+
onMouseenter: PropType<MouseEventHandler>;
|
|
38
|
+
onMouseleave: PropType<MouseEventHandler>;
|
|
39
|
+
onClick: PropType<MouseEventHandler>;
|
|
40
|
+
onKeydown: PropType<MouseEventHandler>;
|
|
41
|
+
onFocus: PropType<MouseEventHandler>;
|
|
42
|
+
originItemValue: {
|
|
43
|
+
type: PropType<ItemType>;
|
|
44
|
+
default: ItemType;
|
|
45
|
+
};
|
|
46
|
+
}>, () => import("vue/jsx-runtime").JSX.Element | null, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<{
|
|
47
|
+
id: StringConstructor;
|
|
48
|
+
role: StringConstructor;
|
|
49
|
+
disabled: BooleanConstructor;
|
|
50
|
+
danger: BooleanConstructor;
|
|
51
|
+
title: {
|
|
52
|
+
type: (BooleanConstructor | StringConstructor)[];
|
|
53
|
+
default: undefined;
|
|
54
|
+
};
|
|
55
|
+
icon: VueTypeValidableDef<any>;
|
|
56
|
+
onMouseenter: PropType<MouseEventHandler>;
|
|
57
|
+
onMouseleave: PropType<MouseEventHandler>;
|
|
58
|
+
onClick: PropType<MouseEventHandler>;
|
|
59
|
+
onKeydown: PropType<MouseEventHandler>;
|
|
60
|
+
onFocus: PropType<MouseEventHandler>;
|
|
61
|
+
originItemValue: {
|
|
62
|
+
type: PropType<ItemType>;
|
|
63
|
+
default: ItemType;
|
|
64
|
+
};
|
|
65
|
+
}>> & Readonly<{}>, {
|
|
66
|
+
title: string | boolean;
|
|
67
|
+
disabled: boolean;
|
|
68
|
+
danger: boolean;
|
|
69
|
+
originItemValue: ItemType;
|
|
70
|
+
}, CustomSlotsType<{
|
|
71
|
+
icon?: any;
|
|
72
|
+
title?: any;
|
|
73
|
+
default?: any;
|
|
74
|
+
}>, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
75
|
+
export default _default;
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import { ExtractPropTypes, PropType, DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
+
import { MouseEventHandler } from '../../_util/EventInterface';
|
|
3
|
+
import { CustomSlotsType, Key } from '../../_util/type';
|
|
4
|
+
import { ItemType, MenuTheme } from './interface';
|
|
5
|
+
import { VueTypeValidableDef } from 'vue-types';
|
|
6
|
+
export declare const subMenuProps: () => {
|
|
7
|
+
icon: VueTypeValidableDef<any>;
|
|
8
|
+
title: VueTypeValidableDef<any>;
|
|
9
|
+
disabled: BooleanConstructor;
|
|
10
|
+
level: NumberConstructor;
|
|
11
|
+
popupClassName: StringConstructor;
|
|
12
|
+
popupOffset: PropType<[number, number]>;
|
|
13
|
+
internalPopupClose: BooleanConstructor;
|
|
14
|
+
eventKey: StringConstructor;
|
|
15
|
+
expandIcon: PropType<(p?: {
|
|
16
|
+
isOpen: boolean;
|
|
17
|
+
[key: string]: any;
|
|
18
|
+
}) => any>;
|
|
19
|
+
theme: PropType<MenuTheme>;
|
|
20
|
+
mode: PropType<"vertical" | "horizontal" | "inline">;
|
|
21
|
+
onMouseenter: PropType<MouseEventHandler>;
|
|
22
|
+
onMouseleave: PropType<MouseEventHandler>;
|
|
23
|
+
onTitleClick: PropType<(e: MouseEvent, key: Key) => void>;
|
|
24
|
+
originItemValue: {
|
|
25
|
+
type: PropType<ItemType>;
|
|
26
|
+
default: ItemType;
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
export type SubMenuProps = Partial<ExtractPropTypes<ReturnType<typeof subMenuProps>>>;
|
|
30
|
+
declare const _default: DefineComponent<ExtractPropTypes<{
|
|
31
|
+
icon: VueTypeValidableDef<any>;
|
|
32
|
+
title: VueTypeValidableDef<any>;
|
|
33
|
+
disabled: BooleanConstructor;
|
|
34
|
+
level: NumberConstructor;
|
|
35
|
+
popupClassName: StringConstructor;
|
|
36
|
+
popupOffset: PropType<[number, number]>;
|
|
37
|
+
internalPopupClose: BooleanConstructor;
|
|
38
|
+
eventKey: StringConstructor;
|
|
39
|
+
expandIcon: PropType<(p?: {
|
|
40
|
+
isOpen: boolean;
|
|
41
|
+
[key: string]: any;
|
|
42
|
+
}) => any>;
|
|
43
|
+
theme: PropType<MenuTheme>;
|
|
44
|
+
mode: PropType<"vertical" | "horizontal" | "inline">;
|
|
45
|
+
onMouseenter: PropType<MouseEventHandler>;
|
|
46
|
+
onMouseleave: PropType<MouseEventHandler>;
|
|
47
|
+
onTitleClick: PropType<(e: MouseEvent, key: Key) => void>;
|
|
48
|
+
originItemValue: {
|
|
49
|
+
type: PropType<ItemType>;
|
|
50
|
+
default: ItemType;
|
|
51
|
+
};
|
|
52
|
+
}>, () => any, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<{
|
|
53
|
+
icon: VueTypeValidableDef<any>;
|
|
54
|
+
title: VueTypeValidableDef<any>;
|
|
55
|
+
disabled: BooleanConstructor;
|
|
56
|
+
level: NumberConstructor;
|
|
57
|
+
popupClassName: StringConstructor;
|
|
58
|
+
popupOffset: PropType<[number, number]>;
|
|
59
|
+
internalPopupClose: BooleanConstructor;
|
|
60
|
+
eventKey: StringConstructor;
|
|
61
|
+
expandIcon: PropType<(p?: {
|
|
62
|
+
isOpen: boolean;
|
|
63
|
+
[key: string]: any;
|
|
64
|
+
}) => any>;
|
|
65
|
+
theme: PropType<MenuTheme>;
|
|
66
|
+
mode: PropType<"vertical" | "horizontal" | "inline">;
|
|
67
|
+
onMouseenter: PropType<MouseEventHandler>;
|
|
68
|
+
onMouseleave: PropType<MouseEventHandler>;
|
|
69
|
+
onTitleClick: PropType<(e: MouseEvent, key: Key) => void>;
|
|
70
|
+
originItemValue: {
|
|
71
|
+
type: PropType<ItemType>;
|
|
72
|
+
default: ItemType;
|
|
73
|
+
};
|
|
74
|
+
}>> & Readonly<{}>, {
|
|
75
|
+
disabled: boolean;
|
|
76
|
+
originItemValue: ItemType;
|
|
77
|
+
internalPopupClose: boolean;
|
|
78
|
+
}, CustomSlotsType<{
|
|
79
|
+
icon?: any;
|
|
80
|
+
title?: any;
|
|
81
|
+
expandIcon?: {
|
|
82
|
+
isOpen: boolean;
|
|
83
|
+
[key: string]: any;
|
|
84
|
+
};
|
|
85
|
+
default?: any;
|
|
86
|
+
}>, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
87
|
+
export default _default;
|