@xiaohaih/json-form-vant 0.0.1
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/CHANGELOG.md +9 -0
- package/README.md +807 -0
- package/TODO.md +36 -0
- package/components/area/index.ts +6 -0
- package/components/area/index.vue +120 -0
- package/components/area/types.ts +84 -0
- package/components/cascader/index.ts +6 -0
- package/components/cascader/index.vue +146 -0
- package/components/cascader/types.ts +75 -0
- package/components/checkbox/index.ts +6 -0
- package/components/checkbox/index.vue +59 -0
- package/components/checkbox/types.ts +54 -0
- package/components/checkbox-group/index.ts +6 -0
- package/components/checkbox-group/index.vue +67 -0
- package/components/checkbox-group/types.ts +63 -0
- package/components/component-definition/components.ts +29 -0
- package/components/component-definition/definition.ts +25 -0
- package/components/component-definition/index.ts +4 -0
- package/components/custom-render/index.ts +6 -0
- package/components/custom-render/index.vue +66 -0
- package/components/custom-render/types.ts +43 -0
- package/components/date-picker/index.ts +6 -0
- package/components/date-picker/index.vue +130 -0
- package/components/date-picker/types.ts +91 -0
- package/components/date-time-picker-group/index.ts +6 -0
- package/components/date-time-picker-group/index.vue +158 -0
- package/components/date-time-picker-group/types.ts +115 -0
- package/components/datetime-picker/index.ts +6 -0
- package/components/datetime-picker/index.vue +128 -0
- package/components/datetime-picker/types.ts +78 -0
- package/components/dynamic-group/index.ts +10 -0
- package/components/dynamic-group/index.vue +140 -0
- package/components/dynamic-group/types.ts +68 -0
- package/components/group/assist.ts +99 -0
- package/components/group/index.ts +7 -0
- package/components/group/index.vue +117 -0
- package/components/group/types.ts +57 -0
- package/components/group/virtual-group.vue +38 -0
- package/components/index.ts +10 -0
- package/components/input/index.ts +6 -0
- package/components/input/index.vue +83 -0
- package/components/input/types.ts +43 -0
- package/components/input-slot/index.ts +6 -0
- package/components/input-slot/index.vue +148 -0
- package/components/input-slot/types.ts +34 -0
- package/components/number-keyboard/index.ts +6 -0
- package/components/number-keyboard/index.vue +81 -0
- package/components/number-keyboard/types.ts +57 -0
- package/components/password-input/index.ts +6 -0
- package/components/password-input/index.vue +103 -0
- package/components/password-input/types.ts +64 -0
- package/components/picker/index.ts +6 -0
- package/components/picker/index.vue +136 -0
- package/components/picker/types.ts +94 -0
- package/components/radio/index.ts +6 -0
- package/components/radio/index.vue +68 -0
- package/components/radio/types.ts +58 -0
- package/components/radio-group/index.ts +6 -0
- package/components/radio-group/index.vue +74 -0
- package/components/radio-group/types.ts +65 -0
- package/components/rate/index.ts +6 -0
- package/components/rate/index.vue +63 -0
- package/components/rate/types.ts +47 -0
- package/components/share.ts +78 -0
- package/components/signature/index.ts +6 -0
- package/components/signature/index.vue +65 -0
- package/components/signature/instance.vue +161 -0
- package/components/signature/types.ts +79 -0
- package/components/slider/index.ts +6 -0
- package/components/slider/index.vue +63 -0
- package/components/slider/types.ts +53 -0
- package/components/stepper/index.ts +6 -0
- package/components/stepper/index.vue +62 -0
- package/components/stepper/types.ts +47 -0
- package/components/switch/index.ts +6 -0
- package/components/switch/index.vue +61 -0
- package/components/switch/types.ts +51 -0
- package/components/time-picker/index.ts +6 -0
- package/components/time-picker/index.vue +130 -0
- package/components/time-picker/types.ts +91 -0
- package/components/tree-select/index.ts +6 -0
- package/components/tree-select/index.vue +160 -0
- package/components/tree-select/types.ts +77 -0
- package/components/upload/index.ts +6 -0
- package/components/upload/index.vue +109 -0
- package/components/upload/types.ts +85 -0
- package/components/use.ts +45 -0
- package/components/utils.ts +52 -0
- package/components/wrapper/index.ts +6 -0
- package/components/wrapper/index.vue +117 -0
- package/components/wrapper/types.ts +94 -0
- package/dist/components/area/index.d.ts +5 -0
- package/dist/components/area/index.vue.d.ts +1843 -0
- package/dist/components/area/types.d.ts +1434 -0
- package/dist/components/cascader/index.d.ts +5 -0
- package/dist/components/cascader/index.vue.d.ts +2467 -0
- package/dist/components/cascader/types.d.ts +1419 -0
- package/dist/components/checkbox/index.d.ts +5 -0
- package/dist/components/checkbox/index.vue.d.ts +1550 -0
- package/dist/components/checkbox/types.d.ts +1313 -0
- package/dist/components/checkbox-group/index.d.ts +5 -0
- package/dist/components/checkbox-group/index.vue.d.ts +1643 -0
- package/dist/components/checkbox-group/types.d.ts +1372 -0
- package/dist/components/component-definition/components.d.ts +30 -0
- package/dist/components/component-definition/index.d.ts +4 -0
- package/dist/components/custom-render/index.d.ts +5 -0
- package/dist/components/custom-render/index.vue.d.ts +1473 -0
- package/dist/components/custom-render/types.d.ts +1175 -0
- package/dist/components/date-picker/index.d.ts +5 -0
- package/dist/components/date-picker/index.vue.d.ts +1888 -0
- package/dist/components/date-picker/types.d.ts +1458 -0
- package/dist/components/date-time-picker-group/index.d.ts +5 -0
- package/dist/components/date-time-picker-group/index.vue.d.ts +2181 -0
- package/dist/components/date-time-picker-group/types.d.ts +1549 -0
- package/dist/components/dynamic-group/index.d.ts +5 -0
- package/dist/components/dynamic-group/index.vue.d.ts +457 -0
- package/dist/components/dynamic-group/types.d.ts +403 -0
- package/dist/components/group/assist.d.ts +58 -0
- package/dist/components/group/index.d.ts +6 -0
- package/dist/components/group/index.vue.d.ts +139 -0
- package/dist/components/group/types.d.ts +189 -0
- package/dist/components/group/virtual-group.vue.d.ts +42 -0
- package/dist/components/index.d.ts +3 -0
- package/dist/components/input/index.d.ts +5 -0
- package/dist/components/input/index.vue.d.ts +2229 -0
- package/dist/components/input/types.d.ts +1258 -0
- package/dist/components/input-slot/index.d.ts +5 -0
- package/dist/components/input-slot/index.vue.d.ts +626 -0
- package/dist/components/input-slot/types.d.ts +311 -0
- package/dist/components/number-keyboard/index.d.ts +5 -0
- package/dist/components/number-keyboard/index.vue.d.ts +1643 -0
- package/dist/components/number-keyboard/types.d.ts +1324 -0
- package/dist/components/password-input/index.d.ts +5 -0
- package/dist/components/password-input/index.vue.d.ts +1715 -0
- package/dist/components/password-input/types.d.ts +1357 -0
- package/dist/components/picker/index.d.ts +5 -0
- package/dist/components/picker/index.vue.d.ts +1868 -0
- package/dist/components/picker/types.d.ts +1466 -0
- package/dist/components/radio/index.d.ts +5 -0
- package/dist/components/radio/index.vue.d.ts +1563 -0
- package/dist/components/radio/types.d.ts +1327 -0
- package/dist/components/radio-group/index.d.ts +5 -0
- package/dist/components/radio-group/index.vue.d.ts +1617 -0
- package/dist/components/radio-group/types.d.ts +1383 -0
- package/dist/components/rate/index.d.ts +5 -0
- package/dist/components/rate/index.vue.d.ts +1557 -0
- package/dist/components/rate/types.d.ts +1281 -0
- package/dist/components/share.d.ts +679 -0
- package/dist/components/signature/index.d.ts +5 -0
- package/dist/components/signature/index.vue.d.ts +3017 -0
- package/dist/components/signature/instance.vue.d.ts +1614 -0
- package/dist/components/signature/types.d.ts +1369 -0
- package/dist/components/slider/index.d.ts +5 -0
- package/dist/components/slider/index.vue.d.ts +1563 -0
- package/dist/components/slider/types.d.ts +1302 -0
- package/dist/components/stepper/index.d.ts +5 -0
- package/dist/components/stepper/index.vue.d.ts +1620 -0
- package/dist/components/stepper/types.d.ts +1281 -0
- package/dist/components/switch/index.d.ts +5 -0
- package/dist/components/switch/index.vue.d.ts +1529 -0
- package/dist/components/switch/types.d.ts +1296 -0
- package/dist/components/time-picker/index.d.ts +5 -0
- package/dist/components/time-picker/index.vue.d.ts +1936 -0
- package/dist/components/time-picker/types.d.ts +1458 -0
- package/dist/components/tree-select/index.d.ts +5 -0
- package/dist/components/tree-select/index.vue.d.ts +1802 -0
- package/dist/components/tree-select/types.d.ts +1411 -0
- package/dist/components/upload/index.d.ts +5 -0
- package/dist/components/upload/index.vue.d.ts +1697 -0
- package/dist/components/upload/types.d.ts +1376 -0
- package/dist/components/use.d.ts +53 -0
- package/dist/components/utils.d.ts +15 -0
- package/dist/components/wrapper/index.d.ts +5 -0
- package/dist/components/wrapper/index.vue.d.ts +1085 -0
- package/dist/components/wrapper/types.d.ts +541 -0
- package/dist/docs/.vitepress/config.d.ts +3 -0
- package/dist/docs/.vitepress/theme/index.d.ts +2 -0
- package/dist/index.cjs.js +5459 -0
- package/dist/index.cjs.js.map +1 -0
- package/dist/index.cjs.min.js +3568 -0
- package/dist/index.cjs.min.js.map +1 -0
- package/dist/index.esm.js +5264 -0
- package/dist/index.esm.js.map +1 -0
- package/dist/index.esm.min.js +3559 -0
- package/dist/index.esm.min.js.map +1 -0
- package/dist/index.umd.js +5465 -0
- package/dist/index.umd.js.map +1 -0
- package/dist/index.umd.min.js +3573 -0
- package/dist/index.umd.min.js.map +1 -0
- package/dist/src/assist.d.ts +32 -0
- package/dist/src/index.d.ts +5 -0
- package/dist/src/interface.d.ts +129 -0
- package/dist/src/utils.d.ts +9 -0
- package/dist/src/version.d.ts +2 -0
- package/docs/.vitepress/config.ts +99 -0
- package/docs/.vitepress/theme/index.ts +5 -0
- package/docs/README.md +20 -0
- package/docs/index.md +25 -0
- package/env.d.ts +8 -0
- package/package.json +71 -0
- package/scripts/generate-version.mjs +26 -0
- package/scripts/postinstall.cjs +13 -0
- package/scripts/utils.cjs +67 -0
- package/src/assist.ts +40 -0
- package/src/index.ts +5 -0
- package/src/interface.ts +293 -0
- package/src/utils.ts +22 -0
- package/src/version.ts +2 -0
- package/tsconfig.app.json +41 -0
- package/tsconfig.json +7 -0
- package/tsconfig.node.json +24 -0
- package/tsdown.config.ts +12 -0
- package/vite.config.ts +93 -0
|
@@ -0,0 +1,1434 @@
|
|
|
1
|
+
import { emits2obj } from '@xiaohaih/json-form-core';
|
|
2
|
+
import { Area as VanArea, Popup as VanPopup } from 'vant';
|
|
3
|
+
import { ExtractPublicPropTypes, PropType } from 'vue';
|
|
4
|
+
import { ComponentExposed, ComponentProps } from 'vue-component-type-helpers';
|
|
5
|
+
import { CommonSlots, CommonSlotsProps, ComponentType } from '../share';
|
|
6
|
+
/** 组件传参 - 私有 */
|
|
7
|
+
export declare function areaPropsGeneric<Query extends Record<string, any>, OptionQuery extends Record<string, any>>(): {
|
|
8
|
+
/** 重写 option 属性, 增加支持的类型 */
|
|
9
|
+
readonly options: {
|
|
10
|
+
readonly type: PropType<any>;
|
|
11
|
+
};
|
|
12
|
+
/** VanArea 组件的属性 */
|
|
13
|
+
readonly areaProps: {
|
|
14
|
+
readonly type: PropType<Partial<ComponentProps<typeof VanArea>>>;
|
|
15
|
+
};
|
|
16
|
+
/** VanArea 组件的事件 - 兼容 vue2 版本 */
|
|
17
|
+
readonly areaOn: {
|
|
18
|
+
readonly type: PropType<Partial<ReturnType<typeof emits2obj<NonNullable<typeof VanArea.emits>>>>>;
|
|
19
|
+
readonly default: () => {};
|
|
20
|
+
};
|
|
21
|
+
/** VanArea 组件的插槽 */
|
|
22
|
+
readonly areaSlots: {
|
|
23
|
+
readonly type: PropType<{
|
|
24
|
+
/** 自定义整个顶部栏的内容 */
|
|
25
|
+
toolbar?: ComponentType<CommonSlotsProps<any, any>>;
|
|
26
|
+
/** 自定义标题内容 */
|
|
27
|
+
title?: ComponentType<CommonSlotsProps<any, any>>;
|
|
28
|
+
/** 自定义确认按钮内容 */
|
|
29
|
+
confirm?: ComponentType<CommonSlotsProps<any, any>>;
|
|
30
|
+
/** 自定义取消按钮内容 */
|
|
31
|
+
cancel?: ComponentType<CommonSlotsProps<any, any>>;
|
|
32
|
+
/** 自定义选项上方内容 */
|
|
33
|
+
columnsTop?: ComponentType<CommonSlotsProps<any, any>>;
|
|
34
|
+
/** 自定义选项下方内容 */
|
|
35
|
+
columnsBottom?: ComponentType<CommonSlotsProps<any, any>>;
|
|
36
|
+
}>;
|
|
37
|
+
};
|
|
38
|
+
/** 是否展示右侧箭头并开启点击反馈 - Field 字段, 调整默认值 */
|
|
39
|
+
readonly isLink: {
|
|
40
|
+
readonly type: BooleanConstructor;
|
|
41
|
+
readonly default: true;
|
|
42
|
+
};
|
|
43
|
+
/** 点击事件, 当传递了此事件时, 会忽略内部打开弹窗操作 */
|
|
44
|
+
readonly onRowClick: {
|
|
45
|
+
readonly type: PropType<(option: {
|
|
46
|
+
open: () => void;
|
|
47
|
+
close: () => void;
|
|
48
|
+
}, ev: MouseEvent) => void>;
|
|
49
|
+
};
|
|
50
|
+
/** 显示文本的分隔符 @default / */
|
|
51
|
+
readonly separator: {
|
|
52
|
+
readonly type: StringConstructor;
|
|
53
|
+
readonly default: "/";
|
|
54
|
+
};
|
|
55
|
+
/** 是否显示全路径 */
|
|
56
|
+
readonly showAllLevels: {
|
|
57
|
+
readonly type: BooleanConstructor;
|
|
58
|
+
readonly default: true;
|
|
59
|
+
};
|
|
60
|
+
/** 对值进行格式化 - 显示在页面上的值 */
|
|
61
|
+
readonly format: {
|
|
62
|
+
readonly type: PropType<(option: {
|
|
63
|
+
source: Record<"province_list" | "city_list" | "county_list", Record<string, any>>;
|
|
64
|
+
value: string | undefined;
|
|
65
|
+
showAllLevels: boolean;
|
|
66
|
+
separator: string;
|
|
67
|
+
}) => any>;
|
|
68
|
+
};
|
|
69
|
+
/** 值触发方式 @default confirm */
|
|
70
|
+
readonly valueTrigger: {
|
|
71
|
+
readonly type: PropType<"change" | "confirm" | "cancel">;
|
|
72
|
+
readonly default: "confirm";
|
|
73
|
+
};
|
|
74
|
+
/** 弹窗组件的属性 */
|
|
75
|
+
readonly popupProps: {
|
|
76
|
+
readonly type: PropType<Partial<ComponentExposed<typeof VanPopup>>>;
|
|
77
|
+
};
|
|
78
|
+
/** 弹窗组件的事件 - 兼容 vue2 版本 */
|
|
79
|
+
readonly popupOn: {
|
|
80
|
+
readonly type: PropType<Partial<ReturnType<typeof emits2obj<NonNullable<typeof VanPopup.emits>>>>>;
|
|
81
|
+
readonly default: () => {};
|
|
82
|
+
};
|
|
83
|
+
readonly field: Omit<{
|
|
84
|
+
readonly type: PropType<string>;
|
|
85
|
+
readonly required: true;
|
|
86
|
+
}, "required">;
|
|
87
|
+
readonly fields: {
|
|
88
|
+
readonly type: PropType<string[]>;
|
|
89
|
+
};
|
|
90
|
+
readonly query: {
|
|
91
|
+
readonly type: PropType<Query>;
|
|
92
|
+
readonly required: true;
|
|
93
|
+
};
|
|
94
|
+
readonly parentQuery: {
|
|
95
|
+
readonly type: PropType<Record<string, any>>;
|
|
96
|
+
};
|
|
97
|
+
readonly depend: {
|
|
98
|
+
readonly type: PropType<boolean>;
|
|
99
|
+
readonly default: undefined;
|
|
100
|
+
};
|
|
101
|
+
readonly resetByDependValueChange: {
|
|
102
|
+
readonly type: PropType<boolean | ((query: Query) => boolean)>;
|
|
103
|
+
readonly default: true;
|
|
104
|
+
};
|
|
105
|
+
readonly dependFields: {
|
|
106
|
+
readonly type: PropType<string | string[]>;
|
|
107
|
+
};
|
|
108
|
+
readonly dependWatchOption: {
|
|
109
|
+
readonly type: PropType<import('vue').WatchOptions>;
|
|
110
|
+
};
|
|
111
|
+
readonly optionsDepend: {
|
|
112
|
+
readonly type: PropType<boolean>;
|
|
113
|
+
};
|
|
114
|
+
readonly optionsDependFields: {
|
|
115
|
+
readonly type: PropType<string | string[]>;
|
|
116
|
+
};
|
|
117
|
+
readonly validator: {
|
|
118
|
+
readonly type: PropType<(query: Query) => any | Promise<any>>;
|
|
119
|
+
};
|
|
120
|
+
readonly initialValue: {
|
|
121
|
+
readonly type: PropType<((option: {
|
|
122
|
+
query: Query_1;
|
|
123
|
+
}) => any) | any>;
|
|
124
|
+
readonly default: undefined;
|
|
125
|
+
};
|
|
126
|
+
readonly defaultValue: {
|
|
127
|
+
readonly type: PropType<((option: {
|
|
128
|
+
query: Query_1;
|
|
129
|
+
}) => any) | any>;
|
|
130
|
+
readonly default: undefined;
|
|
131
|
+
};
|
|
132
|
+
readonly defaultValueConflictCallback: {
|
|
133
|
+
readonly type: PropType<(value: any, checked: import('vue').Ref<any>) => void>;
|
|
134
|
+
readonly default: typeof import('@xiaohaih/json-form-core').noop;
|
|
135
|
+
};
|
|
136
|
+
readonly getOptions: {
|
|
137
|
+
readonly type: PropType<import('@xiaohaih/json-form-core').GetOptions<Query, OptionQuery>>;
|
|
138
|
+
};
|
|
139
|
+
readonly uniqueValue: {
|
|
140
|
+
readonly type: PropType<string | number>;
|
|
141
|
+
};
|
|
142
|
+
readonly hooks: {
|
|
143
|
+
readonly type: PropType<import('@xiaohaih/json-form-core').HookOption<Query, OptionQuery>>;
|
|
144
|
+
readonly default: undefined;
|
|
145
|
+
};
|
|
146
|
+
readonly disabled: {
|
|
147
|
+
readonly type: PropType<boolean>;
|
|
148
|
+
readonly default: undefined;
|
|
149
|
+
};
|
|
150
|
+
readonly readonly: {
|
|
151
|
+
readonly type: PropType<boolean>;
|
|
152
|
+
readonly default: undefined;
|
|
153
|
+
};
|
|
154
|
+
readonly hide: {
|
|
155
|
+
readonly type: PropType<boolean>;
|
|
156
|
+
readonly default: undefined;
|
|
157
|
+
};
|
|
158
|
+
readonly slots: {
|
|
159
|
+
readonly type: PropType<CommonSlots>;
|
|
160
|
+
};
|
|
161
|
+
readonly type: {
|
|
162
|
+
type: PropType<NonNullable<import('vant').FieldType | undefined>>;
|
|
163
|
+
validator: undefined;
|
|
164
|
+
};
|
|
165
|
+
readonly tag: {
|
|
166
|
+
type: PropType<NonNullable<keyof HTMLElementTagNameMap | undefined>>;
|
|
167
|
+
validator: undefined;
|
|
168
|
+
};
|
|
169
|
+
readonly center: {
|
|
170
|
+
type: PropType<NonNullable<boolean | undefined>>;
|
|
171
|
+
validator: undefined;
|
|
172
|
+
};
|
|
173
|
+
readonly autofocus: {
|
|
174
|
+
type: PropType<NonNullable<boolean | undefined>>;
|
|
175
|
+
validator: undefined;
|
|
176
|
+
};
|
|
177
|
+
readonly border: {
|
|
178
|
+
type: PropType<NonNullable<boolean | undefined>>;
|
|
179
|
+
validator: undefined;
|
|
180
|
+
};
|
|
181
|
+
readonly required: {
|
|
182
|
+
type: PropType<NonNullable<boolean | "auto" | undefined>>;
|
|
183
|
+
validator: undefined;
|
|
184
|
+
};
|
|
185
|
+
readonly clickable: {
|
|
186
|
+
type: PropType<NonNullable<boolean | null | undefined>>;
|
|
187
|
+
validator: undefined;
|
|
188
|
+
};
|
|
189
|
+
readonly clearable: {
|
|
190
|
+
type: PropType<NonNullable<boolean | undefined>>;
|
|
191
|
+
validator: undefined;
|
|
192
|
+
};
|
|
193
|
+
readonly clearIcon: {
|
|
194
|
+
type: PropType<string>;
|
|
195
|
+
validator: undefined;
|
|
196
|
+
};
|
|
197
|
+
readonly modelValue: {
|
|
198
|
+
type: PropType<NonNullable<string | number | undefined>>;
|
|
199
|
+
validator: undefined;
|
|
200
|
+
};
|
|
201
|
+
readonly clearTrigger: {
|
|
202
|
+
type: PropType<NonNullable<import('vant').FieldClearTrigger | undefined>>;
|
|
203
|
+
validator: undefined;
|
|
204
|
+
};
|
|
205
|
+
readonly formatTrigger: {
|
|
206
|
+
type: PropType<NonNullable<import('vant').FieldFormatTrigger | undefined>>;
|
|
207
|
+
validator: undefined;
|
|
208
|
+
};
|
|
209
|
+
readonly spellcheck: {
|
|
210
|
+
type: PropType<NonNullable<boolean | undefined>>;
|
|
211
|
+
validator: undefined;
|
|
212
|
+
};
|
|
213
|
+
readonly error: {
|
|
214
|
+
type: PropType<NonNullable<boolean | undefined>>;
|
|
215
|
+
validator: undefined;
|
|
216
|
+
};
|
|
217
|
+
readonly showWordLimit: {
|
|
218
|
+
type: PropType<NonNullable<boolean | undefined>>;
|
|
219
|
+
validator: undefined;
|
|
220
|
+
};
|
|
221
|
+
readonly colon: {
|
|
222
|
+
type: PropType<NonNullable<boolean | undefined>>;
|
|
223
|
+
validator: undefined;
|
|
224
|
+
};
|
|
225
|
+
readonly size: {
|
|
226
|
+
type: PropType<NonNullable<import('vant').CellSize | undefined>>;
|
|
227
|
+
validator: undefined;
|
|
228
|
+
};
|
|
229
|
+
readonly value: {
|
|
230
|
+
type: PropType<NonNullable<string | number | undefined>>;
|
|
231
|
+
validator: undefined;
|
|
232
|
+
};
|
|
233
|
+
readonly name: {
|
|
234
|
+
type: PropType<string>;
|
|
235
|
+
validator: undefined;
|
|
236
|
+
};
|
|
237
|
+
readonly class: {
|
|
238
|
+
type: PropType<{}>;
|
|
239
|
+
validator: undefined;
|
|
240
|
+
};
|
|
241
|
+
readonly icon: {
|
|
242
|
+
type: PropType<string>;
|
|
243
|
+
validator: undefined;
|
|
244
|
+
};
|
|
245
|
+
readonly title: {
|
|
246
|
+
type: PropType<NonNullable<string | number | undefined>>;
|
|
247
|
+
validator: undefined;
|
|
248
|
+
};
|
|
249
|
+
readonly label: {
|
|
250
|
+
type: PropType<NonNullable<string | number | undefined>>;
|
|
251
|
+
validator: undefined;
|
|
252
|
+
};
|
|
253
|
+
readonly iconPrefix: {
|
|
254
|
+
type: PropType<string>;
|
|
255
|
+
validator: undefined;
|
|
256
|
+
};
|
|
257
|
+
readonly valueClass: {
|
|
258
|
+
type: PropType<{}>;
|
|
259
|
+
validator: undefined;
|
|
260
|
+
};
|
|
261
|
+
readonly labelClass: {
|
|
262
|
+
type: PropType<{}>;
|
|
263
|
+
validator: undefined;
|
|
264
|
+
};
|
|
265
|
+
readonly titleClass: {
|
|
266
|
+
type: PropType<{}>;
|
|
267
|
+
validator: undefined;
|
|
268
|
+
};
|
|
269
|
+
readonly titleStyle: {
|
|
270
|
+
type: PropType<NonNullable<string | import('vue').CSSProperties | undefined>>;
|
|
271
|
+
validator: undefined;
|
|
272
|
+
};
|
|
273
|
+
readonly arrowDirection: {
|
|
274
|
+
type: PropType<NonNullable<import('vant').CellArrowDirection | undefined>>;
|
|
275
|
+
validator: undefined;
|
|
276
|
+
};
|
|
277
|
+
readonly id: {
|
|
278
|
+
type: PropType<string>;
|
|
279
|
+
validator: undefined;
|
|
280
|
+
};
|
|
281
|
+
readonly leftIcon: {
|
|
282
|
+
type: PropType<string>;
|
|
283
|
+
validator: undefined;
|
|
284
|
+
};
|
|
285
|
+
readonly rightIcon: {
|
|
286
|
+
type: PropType<string>;
|
|
287
|
+
validator: undefined;
|
|
288
|
+
};
|
|
289
|
+
readonly maxlength: {
|
|
290
|
+
type: PropType<NonNullable<string | number | undefined>>;
|
|
291
|
+
validator: undefined;
|
|
292
|
+
};
|
|
293
|
+
readonly max: {
|
|
294
|
+
type: PropType<number>;
|
|
295
|
+
validator: undefined;
|
|
296
|
+
};
|
|
297
|
+
readonly min: {
|
|
298
|
+
type: PropType<number>;
|
|
299
|
+
validator: undefined;
|
|
300
|
+
};
|
|
301
|
+
readonly formatter: {
|
|
302
|
+
type: PropType<(value: string) => string>;
|
|
303
|
+
validator: undefined;
|
|
304
|
+
};
|
|
305
|
+
readonly inputAlign: {
|
|
306
|
+
type: PropType<NonNullable<import('vant').FieldTextAlign | undefined>>;
|
|
307
|
+
validator: undefined;
|
|
308
|
+
};
|
|
309
|
+
readonly placeholder: {
|
|
310
|
+
type: PropType<string>;
|
|
311
|
+
validator: undefined;
|
|
312
|
+
};
|
|
313
|
+
readonly autocomplete: {
|
|
314
|
+
type: PropType<string>;
|
|
315
|
+
validator: undefined;
|
|
316
|
+
};
|
|
317
|
+
readonly autocapitalize: {
|
|
318
|
+
type: PropType<string>;
|
|
319
|
+
validator: undefined;
|
|
320
|
+
};
|
|
321
|
+
readonly autocorrect: {
|
|
322
|
+
type: PropType<string>;
|
|
323
|
+
validator: undefined;
|
|
324
|
+
};
|
|
325
|
+
readonly errorMessage: {
|
|
326
|
+
type: PropType<string>;
|
|
327
|
+
validator: undefined;
|
|
328
|
+
};
|
|
329
|
+
readonly enterkeyhint: {
|
|
330
|
+
type: PropType<NonNullable<import('vant').FieldEnterKeyHint | undefined>>;
|
|
331
|
+
validator: undefined;
|
|
332
|
+
};
|
|
333
|
+
readonly inputmode: {
|
|
334
|
+
type: PropType<NonNullable<"search" | "tel" | "url" | "text" | "email" | "none" | "numeric" | "decimal" | undefined>>;
|
|
335
|
+
validator: undefined;
|
|
336
|
+
};
|
|
337
|
+
readonly rows: {
|
|
338
|
+
type: PropType<NonNullable<string | number | undefined>>;
|
|
339
|
+
validator: undefined;
|
|
340
|
+
};
|
|
341
|
+
readonly rules: {
|
|
342
|
+
type: PropType<import('vant').FieldRule[]>;
|
|
343
|
+
validator: undefined;
|
|
344
|
+
};
|
|
345
|
+
readonly autosize: {
|
|
346
|
+
type: PropType<NonNullable<boolean | import('vant').FieldAutosizeConfig | undefined>>;
|
|
347
|
+
validator: undefined;
|
|
348
|
+
};
|
|
349
|
+
readonly labelWidth: {
|
|
350
|
+
type: PropType<NonNullable<string | number | undefined>>;
|
|
351
|
+
validator: undefined;
|
|
352
|
+
};
|
|
353
|
+
readonly labelAlign: {
|
|
354
|
+
type: PropType<NonNullable<import('vant').FieldTextAlign | undefined>>;
|
|
355
|
+
validator: undefined;
|
|
356
|
+
};
|
|
357
|
+
readonly errorMessageAlign: {
|
|
358
|
+
type: PropType<NonNullable<import('vant').FieldTextAlign | undefined>>;
|
|
359
|
+
validator: undefined;
|
|
360
|
+
};
|
|
361
|
+
readonly style: {
|
|
362
|
+
type: PropType<{}>;
|
|
363
|
+
validator: undefined;
|
|
364
|
+
};
|
|
365
|
+
readonly onBlur: {
|
|
366
|
+
type: PropType<(...args: any[]) => any>;
|
|
367
|
+
validator: undefined;
|
|
368
|
+
};
|
|
369
|
+
readonly onFocus: {
|
|
370
|
+
type: PropType<(...args: any[]) => any>;
|
|
371
|
+
validator: undefined;
|
|
372
|
+
};
|
|
373
|
+
readonly onKeypress: {
|
|
374
|
+
type: PropType<(...args: any[]) => any>;
|
|
375
|
+
validator: undefined;
|
|
376
|
+
};
|
|
377
|
+
readonly onClear: {
|
|
378
|
+
type: PropType<(...args: any[]) => any>;
|
|
379
|
+
validator: undefined;
|
|
380
|
+
};
|
|
381
|
+
readonly onClickInput: {
|
|
382
|
+
type: PropType<(...args: any[]) => any>;
|
|
383
|
+
validator: undefined;
|
|
384
|
+
};
|
|
385
|
+
readonly onEndValidate: {
|
|
386
|
+
type: PropType<(...args: any[]) => any>;
|
|
387
|
+
validator: undefined;
|
|
388
|
+
};
|
|
389
|
+
readonly onStartValidate: {
|
|
390
|
+
type: PropType<(...args: any[]) => any>;
|
|
391
|
+
validator: undefined;
|
|
392
|
+
};
|
|
393
|
+
readonly onClickLeftIcon: {
|
|
394
|
+
type: PropType<(...args: any[]) => any>;
|
|
395
|
+
validator: undefined;
|
|
396
|
+
};
|
|
397
|
+
readonly onClickRightIcon: {
|
|
398
|
+
type: PropType<(...args: any[]) => any>;
|
|
399
|
+
validator: undefined;
|
|
400
|
+
};
|
|
401
|
+
readonly "onUpdate:modelValue": {
|
|
402
|
+
type: PropType<(...args: any[]) => any>;
|
|
403
|
+
validator: undefined;
|
|
404
|
+
};
|
|
405
|
+
readonly key: {
|
|
406
|
+
type: PropType<NonNullable<PropertyKey | undefined>>;
|
|
407
|
+
validator: undefined;
|
|
408
|
+
};
|
|
409
|
+
readonly ref: {
|
|
410
|
+
type: PropType<NonNullable<import('vue').VNodeRef | undefined>>;
|
|
411
|
+
validator: undefined;
|
|
412
|
+
};
|
|
413
|
+
readonly ref_for: {
|
|
414
|
+
type: PropType<NonNullable<boolean | undefined>>;
|
|
415
|
+
validator: undefined;
|
|
416
|
+
};
|
|
417
|
+
readonly ref_key: {
|
|
418
|
+
type: PropType<string>;
|
|
419
|
+
validator: undefined;
|
|
420
|
+
};
|
|
421
|
+
readonly onVnodeBeforeMount: {
|
|
422
|
+
type: PropType<NonNullable<((vnode: import('vue').VNode) => void) | ((vnode: import('vue').VNode) => void)[] | undefined>>;
|
|
423
|
+
validator: undefined;
|
|
424
|
+
};
|
|
425
|
+
readonly onVnodeMounted: {
|
|
426
|
+
type: PropType<NonNullable<((vnode: import('vue').VNode) => void) | ((vnode: import('vue').VNode) => void)[] | undefined>>;
|
|
427
|
+
validator: undefined;
|
|
428
|
+
};
|
|
429
|
+
readonly onVnodeBeforeUpdate: {
|
|
430
|
+
type: PropType<NonNullable<((vnode: import('vue').VNode, oldVNode: import('vue').VNode) => void) | ((vnode: import('vue').VNode, oldVNode: import('vue').VNode) => void)[] | undefined>>;
|
|
431
|
+
validator: undefined;
|
|
432
|
+
};
|
|
433
|
+
readonly onVnodeUpdated: {
|
|
434
|
+
type: PropType<NonNullable<((vnode: import('vue').VNode, oldVNode: import('vue').VNode) => void) | ((vnode: import('vue').VNode, oldVNode: import('vue').VNode) => void)[] | undefined>>;
|
|
435
|
+
validator: undefined;
|
|
436
|
+
};
|
|
437
|
+
readonly onVnodeBeforeUnmount: {
|
|
438
|
+
type: PropType<NonNullable<((vnode: import('vue').VNode) => void) | ((vnode: import('vue').VNode) => void)[] | undefined>>;
|
|
439
|
+
validator: undefined;
|
|
440
|
+
};
|
|
441
|
+
readonly onVnodeUnmounted: {
|
|
442
|
+
type: PropType<NonNullable<((vnode: import('vue').VNode) => void) | ((vnode: import('vue').VNode) => void)[] | undefined>>;
|
|
443
|
+
validator: undefined;
|
|
444
|
+
};
|
|
445
|
+
readonly onClick: {
|
|
446
|
+
type: PropType<(...args: any[]) => void>;
|
|
447
|
+
validator: undefined;
|
|
448
|
+
};
|
|
449
|
+
};
|
|
450
|
+
/** 组件传参 - 私有 */
|
|
451
|
+
export declare const areaPropsPrivate: {
|
|
452
|
+
/** 重写 option 属性, 增加支持的类型 */
|
|
453
|
+
readonly options: {
|
|
454
|
+
readonly type: PropType<any>;
|
|
455
|
+
};
|
|
456
|
+
/** VanArea 组件的属性 */
|
|
457
|
+
readonly areaProps: {
|
|
458
|
+
readonly type: PropType<Partial<ComponentProps<typeof VanArea>>>;
|
|
459
|
+
};
|
|
460
|
+
/** VanArea 组件的事件 - 兼容 vue2 版本 */
|
|
461
|
+
readonly areaOn: {
|
|
462
|
+
readonly type: PropType<Partial<ReturnType<typeof emits2obj<NonNullable<typeof VanArea.emits>>>>>;
|
|
463
|
+
readonly default: () => {};
|
|
464
|
+
};
|
|
465
|
+
/** VanArea 组件的插槽 */
|
|
466
|
+
readonly areaSlots: {
|
|
467
|
+
readonly type: PropType<{
|
|
468
|
+
/** 自定义整个顶部栏的内容 */
|
|
469
|
+
toolbar?: ComponentType<CommonSlotsProps<any, any>>;
|
|
470
|
+
/** 自定义标题内容 */
|
|
471
|
+
title?: ComponentType<CommonSlotsProps<any, any>>;
|
|
472
|
+
/** 自定义确认按钮内容 */
|
|
473
|
+
confirm?: ComponentType<CommonSlotsProps<any, any>>;
|
|
474
|
+
/** 自定义取消按钮内容 */
|
|
475
|
+
cancel?: ComponentType<CommonSlotsProps<any, any>>;
|
|
476
|
+
/** 自定义选项上方内容 */
|
|
477
|
+
columnsTop?: ComponentType<CommonSlotsProps<any, any>>;
|
|
478
|
+
/** 自定义选项下方内容 */
|
|
479
|
+
columnsBottom?: ComponentType<CommonSlotsProps<any, any>>;
|
|
480
|
+
}>;
|
|
481
|
+
};
|
|
482
|
+
/** 是否展示右侧箭头并开启点击反馈 - Field 字段, 调整默认值 */
|
|
483
|
+
readonly isLink: {
|
|
484
|
+
readonly type: BooleanConstructor;
|
|
485
|
+
readonly default: true;
|
|
486
|
+
};
|
|
487
|
+
/** 点击事件, 当传递了此事件时, 会忽略内部打开弹窗操作 */
|
|
488
|
+
readonly onRowClick: {
|
|
489
|
+
readonly type: PropType<(option: {
|
|
490
|
+
open: () => void;
|
|
491
|
+
close: () => void;
|
|
492
|
+
}, ev: MouseEvent) => void>;
|
|
493
|
+
};
|
|
494
|
+
/** 显示文本的分隔符 @default / */
|
|
495
|
+
readonly separator: {
|
|
496
|
+
readonly type: StringConstructor;
|
|
497
|
+
readonly default: "/";
|
|
498
|
+
};
|
|
499
|
+
/** 是否显示全路径 */
|
|
500
|
+
readonly showAllLevels: {
|
|
501
|
+
readonly type: BooleanConstructor;
|
|
502
|
+
readonly default: true;
|
|
503
|
+
};
|
|
504
|
+
/** 对值进行格式化 - 显示在页面上的值 */
|
|
505
|
+
readonly format: {
|
|
506
|
+
readonly type: PropType<(option: {
|
|
507
|
+
source: Record<"province_list" | "city_list" | "county_list", Record<string, any>>;
|
|
508
|
+
value: string | undefined;
|
|
509
|
+
showAllLevels: boolean;
|
|
510
|
+
separator: string;
|
|
511
|
+
}) => any>;
|
|
512
|
+
};
|
|
513
|
+
/** 值触发方式 @default confirm */
|
|
514
|
+
readonly valueTrigger: {
|
|
515
|
+
readonly type: PropType<"change" | "confirm" | "cancel">;
|
|
516
|
+
readonly default: "confirm";
|
|
517
|
+
};
|
|
518
|
+
/** 弹窗组件的属性 */
|
|
519
|
+
readonly popupProps: {
|
|
520
|
+
readonly type: PropType<Partial<ComponentExposed<typeof VanPopup>>>;
|
|
521
|
+
};
|
|
522
|
+
/** 弹窗组件的事件 - 兼容 vue2 版本 */
|
|
523
|
+
readonly popupOn: {
|
|
524
|
+
readonly type: PropType<Partial<ReturnType<typeof emits2obj<NonNullable<typeof VanPopup.emits>>>>>;
|
|
525
|
+
readonly default: () => {};
|
|
526
|
+
};
|
|
527
|
+
readonly field: Omit<{
|
|
528
|
+
readonly type: PropType<string>;
|
|
529
|
+
readonly required: true;
|
|
530
|
+
}, "required">;
|
|
531
|
+
readonly fields: {
|
|
532
|
+
readonly type: PropType<string[]>;
|
|
533
|
+
};
|
|
534
|
+
readonly query: {
|
|
535
|
+
readonly type: PropType<Record<string, any>>;
|
|
536
|
+
readonly required: true;
|
|
537
|
+
};
|
|
538
|
+
readonly parentQuery: {
|
|
539
|
+
readonly type: PropType<Record<string, any>>;
|
|
540
|
+
};
|
|
541
|
+
readonly depend: {
|
|
542
|
+
readonly type: PropType<boolean>;
|
|
543
|
+
readonly default: undefined;
|
|
544
|
+
};
|
|
545
|
+
readonly resetByDependValueChange: {
|
|
546
|
+
readonly type: PropType<boolean | ((query: Record<string, any>) => boolean)>;
|
|
547
|
+
readonly default: true;
|
|
548
|
+
};
|
|
549
|
+
readonly dependFields: {
|
|
550
|
+
readonly type: PropType<string | string[]>;
|
|
551
|
+
};
|
|
552
|
+
readonly dependWatchOption: {
|
|
553
|
+
readonly type: PropType<import('vue').WatchOptions>;
|
|
554
|
+
};
|
|
555
|
+
readonly optionsDepend: {
|
|
556
|
+
readonly type: PropType<boolean>;
|
|
557
|
+
};
|
|
558
|
+
readonly optionsDependFields: {
|
|
559
|
+
readonly type: PropType<string | string[]>;
|
|
560
|
+
};
|
|
561
|
+
readonly validator: {
|
|
562
|
+
readonly type: PropType<(query: Record<string, any>) => any | Promise<any>>;
|
|
563
|
+
};
|
|
564
|
+
readonly initialValue: {
|
|
565
|
+
readonly type: PropType<((option: {
|
|
566
|
+
query: Query;
|
|
567
|
+
}) => any) | any>;
|
|
568
|
+
readonly default: undefined;
|
|
569
|
+
};
|
|
570
|
+
readonly defaultValue: {
|
|
571
|
+
readonly type: PropType<((option: {
|
|
572
|
+
query: Query;
|
|
573
|
+
}) => any) | any>;
|
|
574
|
+
readonly default: undefined;
|
|
575
|
+
};
|
|
576
|
+
readonly defaultValueConflictCallback: {
|
|
577
|
+
readonly type: PropType<(value: any, checked: import('vue').Ref<any>) => void>;
|
|
578
|
+
readonly default: typeof import('@xiaohaih/json-form-core').noop;
|
|
579
|
+
};
|
|
580
|
+
readonly getOptions: {
|
|
581
|
+
readonly type: PropType<import('@xiaohaih/json-form-core').GetOptions<Record<string, any>, Record<string, any>>>;
|
|
582
|
+
};
|
|
583
|
+
readonly uniqueValue: {
|
|
584
|
+
readonly type: PropType<string | number>;
|
|
585
|
+
};
|
|
586
|
+
readonly hooks: {
|
|
587
|
+
readonly type: PropType<import('@xiaohaih/json-form-core').HookOption<Record<string, any>, Record<string, any>>>;
|
|
588
|
+
readonly default: undefined;
|
|
589
|
+
};
|
|
590
|
+
readonly disabled: {
|
|
591
|
+
readonly type: PropType<boolean>;
|
|
592
|
+
readonly default: undefined;
|
|
593
|
+
};
|
|
594
|
+
readonly readonly: {
|
|
595
|
+
readonly type: PropType<boolean>;
|
|
596
|
+
readonly default: undefined;
|
|
597
|
+
};
|
|
598
|
+
readonly hide: {
|
|
599
|
+
readonly type: PropType<boolean>;
|
|
600
|
+
readonly default: undefined;
|
|
601
|
+
};
|
|
602
|
+
readonly slots: {
|
|
603
|
+
readonly type: PropType<CommonSlots>;
|
|
604
|
+
};
|
|
605
|
+
readonly type: {
|
|
606
|
+
type: PropType<NonNullable<import('vant').FieldType | undefined>>;
|
|
607
|
+
validator: undefined;
|
|
608
|
+
};
|
|
609
|
+
readonly tag: {
|
|
610
|
+
type: PropType<NonNullable<keyof HTMLElementTagNameMap | undefined>>;
|
|
611
|
+
validator: undefined;
|
|
612
|
+
};
|
|
613
|
+
readonly center: {
|
|
614
|
+
type: PropType<NonNullable<boolean | undefined>>;
|
|
615
|
+
validator: undefined;
|
|
616
|
+
};
|
|
617
|
+
readonly autofocus: {
|
|
618
|
+
type: PropType<NonNullable<boolean | undefined>>;
|
|
619
|
+
validator: undefined;
|
|
620
|
+
};
|
|
621
|
+
readonly border: {
|
|
622
|
+
type: PropType<NonNullable<boolean | undefined>>;
|
|
623
|
+
validator: undefined;
|
|
624
|
+
};
|
|
625
|
+
readonly required: {
|
|
626
|
+
type: PropType<NonNullable<boolean | "auto" | undefined>>;
|
|
627
|
+
validator: undefined;
|
|
628
|
+
};
|
|
629
|
+
readonly clickable: {
|
|
630
|
+
type: PropType<NonNullable<boolean | null | undefined>>;
|
|
631
|
+
validator: undefined;
|
|
632
|
+
};
|
|
633
|
+
readonly clearable: {
|
|
634
|
+
type: PropType<NonNullable<boolean | undefined>>;
|
|
635
|
+
validator: undefined;
|
|
636
|
+
};
|
|
637
|
+
readonly clearIcon: {
|
|
638
|
+
type: PropType<string>;
|
|
639
|
+
validator: undefined;
|
|
640
|
+
};
|
|
641
|
+
readonly modelValue: {
|
|
642
|
+
type: PropType<NonNullable<string | number | undefined>>;
|
|
643
|
+
validator: undefined;
|
|
644
|
+
};
|
|
645
|
+
readonly clearTrigger: {
|
|
646
|
+
type: PropType<NonNullable<import('vant').FieldClearTrigger | undefined>>;
|
|
647
|
+
validator: undefined;
|
|
648
|
+
};
|
|
649
|
+
readonly formatTrigger: {
|
|
650
|
+
type: PropType<NonNullable<import('vant').FieldFormatTrigger | undefined>>;
|
|
651
|
+
validator: undefined;
|
|
652
|
+
};
|
|
653
|
+
readonly spellcheck: {
|
|
654
|
+
type: PropType<NonNullable<boolean | undefined>>;
|
|
655
|
+
validator: undefined;
|
|
656
|
+
};
|
|
657
|
+
readonly error: {
|
|
658
|
+
type: PropType<NonNullable<boolean | undefined>>;
|
|
659
|
+
validator: undefined;
|
|
660
|
+
};
|
|
661
|
+
readonly showWordLimit: {
|
|
662
|
+
type: PropType<NonNullable<boolean | undefined>>;
|
|
663
|
+
validator: undefined;
|
|
664
|
+
};
|
|
665
|
+
readonly colon: {
|
|
666
|
+
type: PropType<NonNullable<boolean | undefined>>;
|
|
667
|
+
validator: undefined;
|
|
668
|
+
};
|
|
669
|
+
readonly size: {
|
|
670
|
+
type: PropType<NonNullable<import('vant').CellSize | undefined>>;
|
|
671
|
+
validator: undefined;
|
|
672
|
+
};
|
|
673
|
+
readonly value: {
|
|
674
|
+
type: PropType<NonNullable<string | number | undefined>>;
|
|
675
|
+
validator: undefined;
|
|
676
|
+
};
|
|
677
|
+
readonly name: {
|
|
678
|
+
type: PropType<string>;
|
|
679
|
+
validator: undefined;
|
|
680
|
+
};
|
|
681
|
+
readonly class: {
|
|
682
|
+
type: PropType<{}>;
|
|
683
|
+
validator: undefined;
|
|
684
|
+
};
|
|
685
|
+
readonly icon: {
|
|
686
|
+
type: PropType<string>;
|
|
687
|
+
validator: undefined;
|
|
688
|
+
};
|
|
689
|
+
readonly title: {
|
|
690
|
+
type: PropType<NonNullable<string | number | undefined>>;
|
|
691
|
+
validator: undefined;
|
|
692
|
+
};
|
|
693
|
+
readonly label: {
|
|
694
|
+
type: PropType<NonNullable<string | number | undefined>>;
|
|
695
|
+
validator: undefined;
|
|
696
|
+
};
|
|
697
|
+
readonly iconPrefix: {
|
|
698
|
+
type: PropType<string>;
|
|
699
|
+
validator: undefined;
|
|
700
|
+
};
|
|
701
|
+
readonly valueClass: {
|
|
702
|
+
type: PropType<{}>;
|
|
703
|
+
validator: undefined;
|
|
704
|
+
};
|
|
705
|
+
readonly labelClass: {
|
|
706
|
+
type: PropType<{}>;
|
|
707
|
+
validator: undefined;
|
|
708
|
+
};
|
|
709
|
+
readonly titleClass: {
|
|
710
|
+
type: PropType<{}>;
|
|
711
|
+
validator: undefined;
|
|
712
|
+
};
|
|
713
|
+
readonly titleStyle: {
|
|
714
|
+
type: PropType<NonNullable<string | import('vue').CSSProperties | undefined>>;
|
|
715
|
+
validator: undefined;
|
|
716
|
+
};
|
|
717
|
+
readonly arrowDirection: {
|
|
718
|
+
type: PropType<NonNullable<import('vant').CellArrowDirection | undefined>>;
|
|
719
|
+
validator: undefined;
|
|
720
|
+
};
|
|
721
|
+
readonly id: {
|
|
722
|
+
type: PropType<string>;
|
|
723
|
+
validator: undefined;
|
|
724
|
+
};
|
|
725
|
+
readonly leftIcon: {
|
|
726
|
+
type: PropType<string>;
|
|
727
|
+
validator: undefined;
|
|
728
|
+
};
|
|
729
|
+
readonly rightIcon: {
|
|
730
|
+
type: PropType<string>;
|
|
731
|
+
validator: undefined;
|
|
732
|
+
};
|
|
733
|
+
readonly maxlength: {
|
|
734
|
+
type: PropType<NonNullable<string | number | undefined>>;
|
|
735
|
+
validator: undefined;
|
|
736
|
+
};
|
|
737
|
+
readonly max: {
|
|
738
|
+
type: PropType<number>;
|
|
739
|
+
validator: undefined;
|
|
740
|
+
};
|
|
741
|
+
readonly min: {
|
|
742
|
+
type: PropType<number>;
|
|
743
|
+
validator: undefined;
|
|
744
|
+
};
|
|
745
|
+
readonly formatter: {
|
|
746
|
+
type: PropType<(value: string) => string>;
|
|
747
|
+
validator: undefined;
|
|
748
|
+
};
|
|
749
|
+
readonly inputAlign: {
|
|
750
|
+
type: PropType<NonNullable<import('vant').FieldTextAlign | undefined>>;
|
|
751
|
+
validator: undefined;
|
|
752
|
+
};
|
|
753
|
+
readonly placeholder: {
|
|
754
|
+
type: PropType<string>;
|
|
755
|
+
validator: undefined;
|
|
756
|
+
};
|
|
757
|
+
readonly autocomplete: {
|
|
758
|
+
type: PropType<string>;
|
|
759
|
+
validator: undefined;
|
|
760
|
+
};
|
|
761
|
+
readonly autocapitalize: {
|
|
762
|
+
type: PropType<string>;
|
|
763
|
+
validator: undefined;
|
|
764
|
+
};
|
|
765
|
+
readonly autocorrect: {
|
|
766
|
+
type: PropType<string>;
|
|
767
|
+
validator: undefined;
|
|
768
|
+
};
|
|
769
|
+
readonly errorMessage: {
|
|
770
|
+
type: PropType<string>;
|
|
771
|
+
validator: undefined;
|
|
772
|
+
};
|
|
773
|
+
readonly enterkeyhint: {
|
|
774
|
+
type: PropType<NonNullable<import('vant').FieldEnterKeyHint | undefined>>;
|
|
775
|
+
validator: undefined;
|
|
776
|
+
};
|
|
777
|
+
readonly inputmode: {
|
|
778
|
+
type: PropType<NonNullable<"search" | "tel" | "url" | "text" | "email" | "none" | "numeric" | "decimal" | undefined>>;
|
|
779
|
+
validator: undefined;
|
|
780
|
+
};
|
|
781
|
+
readonly rows: {
|
|
782
|
+
type: PropType<NonNullable<string | number | undefined>>;
|
|
783
|
+
validator: undefined;
|
|
784
|
+
};
|
|
785
|
+
readonly rules: {
|
|
786
|
+
type: PropType<import('vant').FieldRule[]>;
|
|
787
|
+
validator: undefined;
|
|
788
|
+
};
|
|
789
|
+
readonly autosize: {
|
|
790
|
+
type: PropType<NonNullable<boolean | import('vant').FieldAutosizeConfig | undefined>>;
|
|
791
|
+
validator: undefined;
|
|
792
|
+
};
|
|
793
|
+
readonly labelWidth: {
|
|
794
|
+
type: PropType<NonNullable<string | number | undefined>>;
|
|
795
|
+
validator: undefined;
|
|
796
|
+
};
|
|
797
|
+
readonly labelAlign: {
|
|
798
|
+
type: PropType<NonNullable<import('vant').FieldTextAlign | undefined>>;
|
|
799
|
+
validator: undefined;
|
|
800
|
+
};
|
|
801
|
+
readonly errorMessageAlign: {
|
|
802
|
+
type: PropType<NonNullable<import('vant').FieldTextAlign | undefined>>;
|
|
803
|
+
validator: undefined;
|
|
804
|
+
};
|
|
805
|
+
readonly style: {
|
|
806
|
+
type: PropType<{}>;
|
|
807
|
+
validator: undefined;
|
|
808
|
+
};
|
|
809
|
+
readonly onBlur: {
|
|
810
|
+
type: PropType<(...args: any[]) => any>;
|
|
811
|
+
validator: undefined;
|
|
812
|
+
};
|
|
813
|
+
readonly onFocus: {
|
|
814
|
+
type: PropType<(...args: any[]) => any>;
|
|
815
|
+
validator: undefined;
|
|
816
|
+
};
|
|
817
|
+
readonly onKeypress: {
|
|
818
|
+
type: PropType<(...args: any[]) => any>;
|
|
819
|
+
validator: undefined;
|
|
820
|
+
};
|
|
821
|
+
readonly onClear: {
|
|
822
|
+
type: PropType<(...args: any[]) => any>;
|
|
823
|
+
validator: undefined;
|
|
824
|
+
};
|
|
825
|
+
readonly onClickInput: {
|
|
826
|
+
type: PropType<(...args: any[]) => any>;
|
|
827
|
+
validator: undefined;
|
|
828
|
+
};
|
|
829
|
+
readonly onEndValidate: {
|
|
830
|
+
type: PropType<(...args: any[]) => any>;
|
|
831
|
+
validator: undefined;
|
|
832
|
+
};
|
|
833
|
+
readonly onStartValidate: {
|
|
834
|
+
type: PropType<(...args: any[]) => any>;
|
|
835
|
+
validator: undefined;
|
|
836
|
+
};
|
|
837
|
+
readonly onClickLeftIcon: {
|
|
838
|
+
type: PropType<(...args: any[]) => any>;
|
|
839
|
+
validator: undefined;
|
|
840
|
+
};
|
|
841
|
+
readonly onClickRightIcon: {
|
|
842
|
+
type: PropType<(...args: any[]) => any>;
|
|
843
|
+
validator: undefined;
|
|
844
|
+
};
|
|
845
|
+
readonly "onUpdate:modelValue": {
|
|
846
|
+
type: PropType<(...args: any[]) => any>;
|
|
847
|
+
validator: undefined;
|
|
848
|
+
};
|
|
849
|
+
readonly key: {
|
|
850
|
+
type: PropType<NonNullable<PropertyKey | undefined>>;
|
|
851
|
+
validator: undefined;
|
|
852
|
+
};
|
|
853
|
+
readonly ref: {
|
|
854
|
+
type: PropType<NonNullable<import('vue').VNodeRef | undefined>>;
|
|
855
|
+
validator: undefined;
|
|
856
|
+
};
|
|
857
|
+
readonly ref_for: {
|
|
858
|
+
type: PropType<NonNullable<boolean | undefined>>;
|
|
859
|
+
validator: undefined;
|
|
860
|
+
};
|
|
861
|
+
readonly ref_key: {
|
|
862
|
+
type: PropType<string>;
|
|
863
|
+
validator: undefined;
|
|
864
|
+
};
|
|
865
|
+
readonly onVnodeBeforeMount: {
|
|
866
|
+
type: PropType<NonNullable<((vnode: import('vue').VNode) => void) | ((vnode: import('vue').VNode) => void)[] | undefined>>;
|
|
867
|
+
validator: undefined;
|
|
868
|
+
};
|
|
869
|
+
readonly onVnodeMounted: {
|
|
870
|
+
type: PropType<NonNullable<((vnode: import('vue').VNode) => void) | ((vnode: import('vue').VNode) => void)[] | undefined>>;
|
|
871
|
+
validator: undefined;
|
|
872
|
+
};
|
|
873
|
+
readonly onVnodeBeforeUpdate: {
|
|
874
|
+
type: PropType<NonNullable<((vnode: import('vue').VNode, oldVNode: import('vue').VNode) => void) | ((vnode: import('vue').VNode, oldVNode: import('vue').VNode) => void)[] | undefined>>;
|
|
875
|
+
validator: undefined;
|
|
876
|
+
};
|
|
877
|
+
readonly onVnodeUpdated: {
|
|
878
|
+
type: PropType<NonNullable<((vnode: import('vue').VNode, oldVNode: import('vue').VNode) => void) | ((vnode: import('vue').VNode, oldVNode: import('vue').VNode) => void)[] | undefined>>;
|
|
879
|
+
validator: undefined;
|
|
880
|
+
};
|
|
881
|
+
readonly onVnodeBeforeUnmount: {
|
|
882
|
+
type: PropType<NonNullable<((vnode: import('vue').VNode) => void) | ((vnode: import('vue').VNode) => void)[] | undefined>>;
|
|
883
|
+
validator: undefined;
|
|
884
|
+
};
|
|
885
|
+
readonly onVnodeUnmounted: {
|
|
886
|
+
type: PropType<NonNullable<((vnode: import('vue').VNode) => void) | ((vnode: import('vue').VNode) => void)[] | undefined>>;
|
|
887
|
+
validator: undefined;
|
|
888
|
+
};
|
|
889
|
+
readonly onClick: {
|
|
890
|
+
type: PropType<(...args: any[]) => void>;
|
|
891
|
+
validator: undefined;
|
|
892
|
+
};
|
|
893
|
+
};
|
|
894
|
+
/** 组件传参 - 外部调用 */
|
|
895
|
+
export declare const areaProps: {
|
|
896
|
+
options: {
|
|
897
|
+
readonly type: PropType<any>;
|
|
898
|
+
};
|
|
899
|
+
areaProps: {
|
|
900
|
+
readonly type: PropType<Partial<ComponentProps<typeof VanArea>>>;
|
|
901
|
+
};
|
|
902
|
+
areaOn: {
|
|
903
|
+
readonly type: PropType<Partial<ReturnType<typeof emits2obj<NonNullable<typeof VanArea.emits>>>>>;
|
|
904
|
+
readonly default: () => {};
|
|
905
|
+
};
|
|
906
|
+
areaSlots: {
|
|
907
|
+
readonly type: PropType<{
|
|
908
|
+
/** 自定义整个顶部栏的内容 */
|
|
909
|
+
toolbar?: ComponentType<CommonSlotsProps<any, any>>;
|
|
910
|
+
/** 自定义标题内容 */
|
|
911
|
+
title?: ComponentType<CommonSlotsProps<any, any>>;
|
|
912
|
+
/** 自定义确认按钮内容 */
|
|
913
|
+
confirm?: ComponentType<CommonSlotsProps<any, any>>;
|
|
914
|
+
/** 自定义取消按钮内容 */
|
|
915
|
+
cancel?: ComponentType<CommonSlotsProps<any, any>>;
|
|
916
|
+
/** 自定义选项上方内容 */
|
|
917
|
+
columnsTop?: ComponentType<CommonSlotsProps<any, any>>;
|
|
918
|
+
/** 自定义选项下方内容 */
|
|
919
|
+
columnsBottom?: ComponentType<CommonSlotsProps<any, any>>;
|
|
920
|
+
}>;
|
|
921
|
+
};
|
|
922
|
+
isLink: {
|
|
923
|
+
readonly type: BooleanConstructor;
|
|
924
|
+
readonly default: true;
|
|
925
|
+
};
|
|
926
|
+
onRowClick: {
|
|
927
|
+
readonly type: PropType<(option: {
|
|
928
|
+
open: () => void;
|
|
929
|
+
close: () => void;
|
|
930
|
+
}, ev: MouseEvent) => void>;
|
|
931
|
+
};
|
|
932
|
+
separator: {
|
|
933
|
+
readonly type: StringConstructor;
|
|
934
|
+
readonly default: "/";
|
|
935
|
+
};
|
|
936
|
+
showAllLevels: {
|
|
937
|
+
readonly type: BooleanConstructor;
|
|
938
|
+
readonly default: true;
|
|
939
|
+
};
|
|
940
|
+
format: {
|
|
941
|
+
readonly type: PropType<(option: {
|
|
942
|
+
source: Record<"province_list" | "city_list" | "county_list", Record<string, any>>;
|
|
943
|
+
value: string | undefined;
|
|
944
|
+
showAllLevels: boolean;
|
|
945
|
+
separator: string;
|
|
946
|
+
}) => any>;
|
|
947
|
+
};
|
|
948
|
+
valueTrigger: {
|
|
949
|
+
readonly type: PropType<"change" | "confirm" | "cancel">;
|
|
950
|
+
readonly default: "confirm";
|
|
951
|
+
};
|
|
952
|
+
popupProps: {
|
|
953
|
+
readonly type: PropType<Partial<ComponentExposed<typeof VanPopup>>>;
|
|
954
|
+
};
|
|
955
|
+
popupOn: {
|
|
956
|
+
readonly type: PropType<Partial<ReturnType<typeof emits2obj<NonNullable<typeof VanPopup.emits>>>>>;
|
|
957
|
+
readonly default: () => {};
|
|
958
|
+
};
|
|
959
|
+
field: Omit<{
|
|
960
|
+
readonly type: PropType<string>;
|
|
961
|
+
readonly required: true;
|
|
962
|
+
}, "required">;
|
|
963
|
+
fields: {
|
|
964
|
+
readonly type: PropType<string[]>;
|
|
965
|
+
};
|
|
966
|
+
query: {
|
|
967
|
+
readonly type: PropType<Record<string, any>>;
|
|
968
|
+
readonly required: true;
|
|
969
|
+
};
|
|
970
|
+
parentQuery: {
|
|
971
|
+
readonly type: PropType<Record<string, any>>;
|
|
972
|
+
};
|
|
973
|
+
depend: {
|
|
974
|
+
readonly type: PropType<boolean>;
|
|
975
|
+
readonly default: undefined;
|
|
976
|
+
};
|
|
977
|
+
resetByDependValueChange: {
|
|
978
|
+
readonly type: PropType<boolean | ((query: Record<string, any>) => boolean)>;
|
|
979
|
+
readonly default: true;
|
|
980
|
+
};
|
|
981
|
+
dependFields: {
|
|
982
|
+
readonly type: PropType<string | string[]>;
|
|
983
|
+
};
|
|
984
|
+
dependWatchOption: {
|
|
985
|
+
readonly type: PropType<import('vue').WatchOptions>;
|
|
986
|
+
};
|
|
987
|
+
optionsDepend: {
|
|
988
|
+
readonly type: PropType<boolean>;
|
|
989
|
+
};
|
|
990
|
+
optionsDependFields: {
|
|
991
|
+
readonly type: PropType<string | string[]>;
|
|
992
|
+
};
|
|
993
|
+
validator: {
|
|
994
|
+
readonly type: PropType<(query: Record<string, any>) => any | Promise<any>>;
|
|
995
|
+
};
|
|
996
|
+
initialValue: {
|
|
997
|
+
readonly type: PropType<((option: {
|
|
998
|
+
query: Query;
|
|
999
|
+
}) => any) | any>;
|
|
1000
|
+
readonly default: undefined;
|
|
1001
|
+
};
|
|
1002
|
+
defaultValue: {
|
|
1003
|
+
readonly type: PropType<((option: {
|
|
1004
|
+
query: Query;
|
|
1005
|
+
}) => any) | any>;
|
|
1006
|
+
readonly default: undefined;
|
|
1007
|
+
};
|
|
1008
|
+
defaultValueConflictCallback: {
|
|
1009
|
+
readonly type: PropType<(value: any, checked: import('vue').Ref<any>) => void>;
|
|
1010
|
+
readonly default: typeof import('@xiaohaih/json-form-core').noop;
|
|
1011
|
+
};
|
|
1012
|
+
getOptions: {
|
|
1013
|
+
readonly type: PropType<import('@xiaohaih/json-form-core').GetOptions<Record<string, any>, Record<string, any>>>;
|
|
1014
|
+
};
|
|
1015
|
+
uniqueValue: {
|
|
1016
|
+
readonly type: PropType<string | number>;
|
|
1017
|
+
};
|
|
1018
|
+
hooks: {
|
|
1019
|
+
readonly type: PropType<import('@xiaohaih/json-form-core').HookOption<Record<string, any>, Record<string, any>>>;
|
|
1020
|
+
readonly default: undefined;
|
|
1021
|
+
};
|
|
1022
|
+
disabled: {
|
|
1023
|
+
readonly type: PropType<boolean>;
|
|
1024
|
+
readonly default: undefined;
|
|
1025
|
+
};
|
|
1026
|
+
readonly: {
|
|
1027
|
+
readonly type: PropType<boolean>;
|
|
1028
|
+
readonly default: undefined;
|
|
1029
|
+
};
|
|
1030
|
+
hide: {
|
|
1031
|
+
readonly type: PropType<boolean>;
|
|
1032
|
+
readonly default: undefined;
|
|
1033
|
+
};
|
|
1034
|
+
slots: {
|
|
1035
|
+
readonly type: PropType<CommonSlots>;
|
|
1036
|
+
};
|
|
1037
|
+
type: {
|
|
1038
|
+
type: PropType<NonNullable<import('vant').FieldType | undefined>>;
|
|
1039
|
+
validator: undefined;
|
|
1040
|
+
};
|
|
1041
|
+
tag: {
|
|
1042
|
+
type: PropType<NonNullable<keyof HTMLElementTagNameMap | undefined>>;
|
|
1043
|
+
validator: undefined;
|
|
1044
|
+
};
|
|
1045
|
+
center: {
|
|
1046
|
+
type: PropType<NonNullable<boolean | undefined>>;
|
|
1047
|
+
validator: undefined;
|
|
1048
|
+
};
|
|
1049
|
+
autofocus: {
|
|
1050
|
+
type: PropType<NonNullable<boolean | undefined>>;
|
|
1051
|
+
validator: undefined;
|
|
1052
|
+
};
|
|
1053
|
+
border: {
|
|
1054
|
+
type: PropType<NonNullable<boolean | undefined>>;
|
|
1055
|
+
validator: undefined;
|
|
1056
|
+
};
|
|
1057
|
+
required: {
|
|
1058
|
+
type: PropType<NonNullable<boolean | "auto" | undefined>>;
|
|
1059
|
+
validator: undefined;
|
|
1060
|
+
};
|
|
1061
|
+
clickable: {
|
|
1062
|
+
type: PropType<NonNullable<boolean | null | undefined>>;
|
|
1063
|
+
validator: undefined;
|
|
1064
|
+
};
|
|
1065
|
+
clearable: {
|
|
1066
|
+
type: PropType<NonNullable<boolean | undefined>>;
|
|
1067
|
+
validator: undefined;
|
|
1068
|
+
};
|
|
1069
|
+
clearIcon: {
|
|
1070
|
+
type: PropType<string>;
|
|
1071
|
+
validator: undefined;
|
|
1072
|
+
};
|
|
1073
|
+
modelValue: {
|
|
1074
|
+
type: PropType<NonNullable<string | number | undefined>>;
|
|
1075
|
+
validator: undefined;
|
|
1076
|
+
};
|
|
1077
|
+
clearTrigger: {
|
|
1078
|
+
type: PropType<NonNullable<import('vant').FieldClearTrigger | undefined>>;
|
|
1079
|
+
validator: undefined;
|
|
1080
|
+
};
|
|
1081
|
+
formatTrigger: {
|
|
1082
|
+
type: PropType<NonNullable<import('vant').FieldFormatTrigger | undefined>>;
|
|
1083
|
+
validator: undefined;
|
|
1084
|
+
};
|
|
1085
|
+
spellcheck: {
|
|
1086
|
+
type: PropType<NonNullable<boolean | undefined>>;
|
|
1087
|
+
validator: undefined;
|
|
1088
|
+
};
|
|
1089
|
+
error: {
|
|
1090
|
+
type: PropType<NonNullable<boolean | undefined>>;
|
|
1091
|
+
validator: undefined;
|
|
1092
|
+
};
|
|
1093
|
+
showWordLimit: {
|
|
1094
|
+
type: PropType<NonNullable<boolean | undefined>>;
|
|
1095
|
+
validator: undefined;
|
|
1096
|
+
};
|
|
1097
|
+
colon: {
|
|
1098
|
+
type: PropType<NonNullable<boolean | undefined>>;
|
|
1099
|
+
validator: undefined;
|
|
1100
|
+
};
|
|
1101
|
+
size: {
|
|
1102
|
+
type: PropType<NonNullable<import('vant').CellSize | undefined>>;
|
|
1103
|
+
validator: undefined;
|
|
1104
|
+
};
|
|
1105
|
+
value: {
|
|
1106
|
+
type: PropType<NonNullable<string | number | undefined>>;
|
|
1107
|
+
validator: undefined;
|
|
1108
|
+
};
|
|
1109
|
+
name: {
|
|
1110
|
+
type: PropType<string>;
|
|
1111
|
+
validator: undefined;
|
|
1112
|
+
};
|
|
1113
|
+
class: {
|
|
1114
|
+
type: PropType<{}>;
|
|
1115
|
+
validator: undefined;
|
|
1116
|
+
};
|
|
1117
|
+
icon: {
|
|
1118
|
+
type: PropType<string>;
|
|
1119
|
+
validator: undefined;
|
|
1120
|
+
};
|
|
1121
|
+
title: {
|
|
1122
|
+
type: PropType<NonNullable<string | number | undefined>>;
|
|
1123
|
+
validator: undefined;
|
|
1124
|
+
};
|
|
1125
|
+
label: {
|
|
1126
|
+
type: PropType<NonNullable<string | number | undefined>>;
|
|
1127
|
+
validator: undefined;
|
|
1128
|
+
};
|
|
1129
|
+
iconPrefix: {
|
|
1130
|
+
type: PropType<string>;
|
|
1131
|
+
validator: undefined;
|
|
1132
|
+
};
|
|
1133
|
+
valueClass: {
|
|
1134
|
+
type: PropType<{}>;
|
|
1135
|
+
validator: undefined;
|
|
1136
|
+
};
|
|
1137
|
+
labelClass: {
|
|
1138
|
+
type: PropType<{}>;
|
|
1139
|
+
validator: undefined;
|
|
1140
|
+
};
|
|
1141
|
+
titleClass: {
|
|
1142
|
+
type: PropType<{}>;
|
|
1143
|
+
validator: undefined;
|
|
1144
|
+
};
|
|
1145
|
+
titleStyle: {
|
|
1146
|
+
type: PropType<NonNullable<string | import('vue').CSSProperties | undefined>>;
|
|
1147
|
+
validator: undefined;
|
|
1148
|
+
};
|
|
1149
|
+
arrowDirection: {
|
|
1150
|
+
type: PropType<NonNullable<import('vant').CellArrowDirection | undefined>>;
|
|
1151
|
+
validator: undefined;
|
|
1152
|
+
};
|
|
1153
|
+
id: {
|
|
1154
|
+
type: PropType<string>;
|
|
1155
|
+
validator: undefined;
|
|
1156
|
+
};
|
|
1157
|
+
leftIcon: {
|
|
1158
|
+
type: PropType<string>;
|
|
1159
|
+
validator: undefined;
|
|
1160
|
+
};
|
|
1161
|
+
rightIcon: {
|
|
1162
|
+
type: PropType<string>;
|
|
1163
|
+
validator: undefined;
|
|
1164
|
+
};
|
|
1165
|
+
maxlength: {
|
|
1166
|
+
type: PropType<NonNullable<string | number | undefined>>;
|
|
1167
|
+
validator: undefined;
|
|
1168
|
+
};
|
|
1169
|
+
max: {
|
|
1170
|
+
type: PropType<number>;
|
|
1171
|
+
validator: undefined;
|
|
1172
|
+
};
|
|
1173
|
+
min: {
|
|
1174
|
+
type: PropType<number>;
|
|
1175
|
+
validator: undefined;
|
|
1176
|
+
};
|
|
1177
|
+
formatter: {
|
|
1178
|
+
type: PropType<(value: string) => string>;
|
|
1179
|
+
validator: undefined;
|
|
1180
|
+
};
|
|
1181
|
+
inputAlign: {
|
|
1182
|
+
type: PropType<NonNullable<import('vant').FieldTextAlign | undefined>>;
|
|
1183
|
+
validator: undefined;
|
|
1184
|
+
};
|
|
1185
|
+
placeholder: {
|
|
1186
|
+
type: PropType<string>;
|
|
1187
|
+
validator: undefined;
|
|
1188
|
+
};
|
|
1189
|
+
autocomplete: {
|
|
1190
|
+
type: PropType<string>;
|
|
1191
|
+
validator: undefined;
|
|
1192
|
+
};
|
|
1193
|
+
autocapitalize: {
|
|
1194
|
+
type: PropType<string>;
|
|
1195
|
+
validator: undefined;
|
|
1196
|
+
};
|
|
1197
|
+
autocorrect: {
|
|
1198
|
+
type: PropType<string>;
|
|
1199
|
+
validator: undefined;
|
|
1200
|
+
};
|
|
1201
|
+
errorMessage: {
|
|
1202
|
+
type: PropType<string>;
|
|
1203
|
+
validator: undefined;
|
|
1204
|
+
};
|
|
1205
|
+
enterkeyhint: {
|
|
1206
|
+
type: PropType<NonNullable<import('vant').FieldEnterKeyHint | undefined>>;
|
|
1207
|
+
validator: undefined;
|
|
1208
|
+
};
|
|
1209
|
+
inputmode: {
|
|
1210
|
+
type: PropType<NonNullable<"search" | "tel" | "url" | "text" | "email" | "none" | "numeric" | "decimal" | undefined>>;
|
|
1211
|
+
validator: undefined;
|
|
1212
|
+
};
|
|
1213
|
+
rows: {
|
|
1214
|
+
type: PropType<NonNullable<string | number | undefined>>;
|
|
1215
|
+
validator: undefined;
|
|
1216
|
+
};
|
|
1217
|
+
rules: {
|
|
1218
|
+
type: PropType<import('vant').FieldRule[]>;
|
|
1219
|
+
validator: undefined;
|
|
1220
|
+
};
|
|
1221
|
+
autosize: {
|
|
1222
|
+
type: PropType<NonNullable<boolean | import('vant').FieldAutosizeConfig | undefined>>;
|
|
1223
|
+
validator: undefined;
|
|
1224
|
+
};
|
|
1225
|
+
labelWidth: {
|
|
1226
|
+
type: PropType<NonNullable<string | number | undefined>>;
|
|
1227
|
+
validator: undefined;
|
|
1228
|
+
};
|
|
1229
|
+
labelAlign: {
|
|
1230
|
+
type: PropType<NonNullable<import('vant').FieldTextAlign | undefined>>;
|
|
1231
|
+
validator: undefined;
|
|
1232
|
+
};
|
|
1233
|
+
errorMessageAlign: {
|
|
1234
|
+
type: PropType<NonNullable<import('vant').FieldTextAlign | undefined>>;
|
|
1235
|
+
validator: undefined;
|
|
1236
|
+
};
|
|
1237
|
+
style: {
|
|
1238
|
+
type: PropType<{}>;
|
|
1239
|
+
validator: undefined;
|
|
1240
|
+
};
|
|
1241
|
+
onBlur: {
|
|
1242
|
+
type: PropType<(...args: any[]) => any>;
|
|
1243
|
+
validator: undefined;
|
|
1244
|
+
};
|
|
1245
|
+
onFocus: {
|
|
1246
|
+
type: PropType<(...args: any[]) => any>;
|
|
1247
|
+
validator: undefined;
|
|
1248
|
+
};
|
|
1249
|
+
onKeypress: {
|
|
1250
|
+
type: PropType<(...args: any[]) => any>;
|
|
1251
|
+
validator: undefined;
|
|
1252
|
+
};
|
|
1253
|
+
onClear: {
|
|
1254
|
+
type: PropType<(...args: any[]) => any>;
|
|
1255
|
+
validator: undefined;
|
|
1256
|
+
};
|
|
1257
|
+
onClickInput: {
|
|
1258
|
+
type: PropType<(...args: any[]) => any>;
|
|
1259
|
+
validator: undefined;
|
|
1260
|
+
};
|
|
1261
|
+
onEndValidate: {
|
|
1262
|
+
type: PropType<(...args: any[]) => any>;
|
|
1263
|
+
validator: undefined;
|
|
1264
|
+
};
|
|
1265
|
+
onStartValidate: {
|
|
1266
|
+
type: PropType<(...args: any[]) => any>;
|
|
1267
|
+
validator: undefined;
|
|
1268
|
+
};
|
|
1269
|
+
onClickLeftIcon: {
|
|
1270
|
+
type: PropType<(...args: any[]) => any>;
|
|
1271
|
+
validator: undefined;
|
|
1272
|
+
};
|
|
1273
|
+
onClickRightIcon: {
|
|
1274
|
+
type: PropType<(...args: any[]) => any>;
|
|
1275
|
+
validator: undefined;
|
|
1276
|
+
};
|
|
1277
|
+
"onUpdate:modelValue": {
|
|
1278
|
+
type: PropType<(...args: any[]) => any>;
|
|
1279
|
+
validator: undefined;
|
|
1280
|
+
};
|
|
1281
|
+
key: {
|
|
1282
|
+
type: PropType<NonNullable<PropertyKey | undefined>>;
|
|
1283
|
+
validator: undefined;
|
|
1284
|
+
};
|
|
1285
|
+
ref: {
|
|
1286
|
+
type: PropType<NonNullable<import('vue').VNodeRef | undefined>>;
|
|
1287
|
+
validator: undefined;
|
|
1288
|
+
};
|
|
1289
|
+
ref_for: {
|
|
1290
|
+
type: PropType<NonNullable<boolean | undefined>>;
|
|
1291
|
+
validator: undefined;
|
|
1292
|
+
};
|
|
1293
|
+
ref_key: {
|
|
1294
|
+
type: PropType<string>;
|
|
1295
|
+
validator: undefined;
|
|
1296
|
+
};
|
|
1297
|
+
onVnodeBeforeMount: {
|
|
1298
|
+
type: PropType<NonNullable<((vnode: import('vue').VNode) => void) | ((vnode: import('vue').VNode) => void)[] | undefined>>;
|
|
1299
|
+
validator: undefined;
|
|
1300
|
+
};
|
|
1301
|
+
onVnodeMounted: {
|
|
1302
|
+
type: PropType<NonNullable<((vnode: import('vue').VNode) => void) | ((vnode: import('vue').VNode) => void)[] | undefined>>;
|
|
1303
|
+
validator: undefined;
|
|
1304
|
+
};
|
|
1305
|
+
onVnodeBeforeUpdate: {
|
|
1306
|
+
type: PropType<NonNullable<((vnode: import('vue').VNode, oldVNode: import('vue').VNode) => void) | ((vnode: import('vue').VNode, oldVNode: import('vue').VNode) => void)[] | undefined>>;
|
|
1307
|
+
validator: undefined;
|
|
1308
|
+
};
|
|
1309
|
+
onVnodeUpdated: {
|
|
1310
|
+
type: PropType<NonNullable<((vnode: import('vue').VNode, oldVNode: import('vue').VNode) => void) | ((vnode: import('vue').VNode, oldVNode: import('vue').VNode) => void)[] | undefined>>;
|
|
1311
|
+
validator: undefined;
|
|
1312
|
+
};
|
|
1313
|
+
onVnodeBeforeUnmount: {
|
|
1314
|
+
type: PropType<NonNullable<((vnode: import('vue').VNode) => void) | ((vnode: import('vue').VNode) => void)[] | undefined>>;
|
|
1315
|
+
validator: undefined;
|
|
1316
|
+
};
|
|
1317
|
+
onVnodeUnmounted: {
|
|
1318
|
+
type: PropType<NonNullable<((vnode: import('vue').VNode) => void) | ((vnode: import('vue').VNode) => void)[] | undefined>>;
|
|
1319
|
+
validator: undefined;
|
|
1320
|
+
};
|
|
1321
|
+
onClick: {
|
|
1322
|
+
type: PropType<(...args: any[]) => void>;
|
|
1323
|
+
validator: undefined;
|
|
1324
|
+
};
|
|
1325
|
+
};
|
|
1326
|
+
export type AreaProps<Query extends Record<string, any>, OptionQuery extends Record<string, any>> = ExtractPublicPropTypes<ReturnType<typeof areaPropsGeneric<Query, OptionQuery>>>;
|
|
1327
|
+
/** 组件事件 - 私有 */
|
|
1328
|
+
export declare function areaEmitsGeneric<T>(): {};
|
|
1329
|
+
/** 组件事件 - 私有 */
|
|
1330
|
+
export declare const areaEmitsPrivate: {};
|
|
1331
|
+
/** 组件事件 - 外部调用 */
|
|
1332
|
+
export declare const areaEmits: {
|
|
1333
|
+
length?: number | undefined;
|
|
1334
|
+
toString?: (() => string) | undefined;
|
|
1335
|
+
toLocaleString?: {
|
|
1336
|
+
(): string;
|
|
1337
|
+
(locales: string | string[], options?: Intl.NumberFormatOptions & Intl.DateTimeFormatOptions): string;
|
|
1338
|
+
} | undefined;
|
|
1339
|
+
pop?: (() => "clear" | "focus" | "blur" | "keypress" | "clickInput" | "endValidate" | "startValidate" | "clickLeftIcon" | "clickRightIcon" | "update:modelValue" | undefined) | undefined;
|
|
1340
|
+
push?: ((...items: ("clear" | "focus" | "blur" | "keypress" | "clickInput" | "endValidate" | "startValidate" | "clickLeftIcon" | "clickRightIcon" | "update:modelValue")[]) => number) | undefined;
|
|
1341
|
+
concat?: {
|
|
1342
|
+
(...items: ConcatArray<"clear" | "focus" | "blur" | "keypress" | "clickInput" | "endValidate" | "startValidate" | "clickLeftIcon" | "clickRightIcon" | "update:modelValue">[]): ("clear" | "focus" | "blur" | "keypress" | "clickInput" | "endValidate" | "startValidate" | "clickLeftIcon" | "clickRightIcon" | "update:modelValue")[];
|
|
1343
|
+
(...items: ("clear" | "focus" | "blur" | "keypress" | "clickInput" | "endValidate" | "startValidate" | "clickLeftIcon" | "clickRightIcon" | "update:modelValue" | ConcatArray<"clear" | "focus" | "blur" | "keypress" | "clickInput" | "endValidate" | "startValidate" | "clickLeftIcon" | "clickRightIcon" | "update:modelValue">)[]): ("clear" | "focus" | "blur" | "keypress" | "clickInput" | "endValidate" | "startValidate" | "clickLeftIcon" | "clickRightIcon" | "update:modelValue")[];
|
|
1344
|
+
} | undefined;
|
|
1345
|
+
join?: ((separator?: string) => string) | undefined;
|
|
1346
|
+
reverse?: (() => ("clear" | "focus" | "blur" | "keypress" | "clickInput" | "endValidate" | "startValidate" | "clickLeftIcon" | "clickRightIcon" | "update:modelValue")[]) | undefined;
|
|
1347
|
+
shift?: (() => "clear" | "focus" | "blur" | "keypress" | "clickInput" | "endValidate" | "startValidate" | "clickLeftIcon" | "clickRightIcon" | "update:modelValue" | undefined) | undefined;
|
|
1348
|
+
slice?: ((start?: number, end?: number) => ("clear" | "focus" | "blur" | "keypress" | "clickInput" | "endValidate" | "startValidate" | "clickLeftIcon" | "clickRightIcon" | "update:modelValue")[]) | undefined;
|
|
1349
|
+
sort?: ((compareFn?: ((a: "clear" | "focus" | "blur" | "keypress" | "clickInput" | "endValidate" | "startValidate" | "clickLeftIcon" | "clickRightIcon" | "update:modelValue", b: "clear" | "focus" | "blur" | "keypress" | "clickInput" | "endValidate" | "startValidate" | "clickLeftIcon" | "clickRightIcon" | "update:modelValue") => number) | undefined) => ("clear" | "focus" | "blur" | "keypress" | "clickInput" | "endValidate" | "startValidate" | "clickLeftIcon" | "clickRightIcon" | "update:modelValue")[] & ThisType<void>) | undefined;
|
|
1350
|
+
splice?: {
|
|
1351
|
+
(start: number, deleteCount?: number): ("clear" | "focus" | "blur" | "keypress" | "clickInput" | "endValidate" | "startValidate" | "clickLeftIcon" | "clickRightIcon" | "update:modelValue")[];
|
|
1352
|
+
(start: number, deleteCount: number, ...items: ("clear" | "focus" | "blur" | "keypress" | "clickInput" | "endValidate" | "startValidate" | "clickLeftIcon" | "clickRightIcon" | "update:modelValue")[]): ("clear" | "focus" | "blur" | "keypress" | "clickInput" | "endValidate" | "startValidate" | "clickLeftIcon" | "clickRightIcon" | "update:modelValue")[];
|
|
1353
|
+
} | undefined;
|
|
1354
|
+
unshift?: ((...items: ("clear" | "focus" | "blur" | "keypress" | "clickInput" | "endValidate" | "startValidate" | "clickLeftIcon" | "clickRightIcon" | "update:modelValue")[]) => number) | undefined;
|
|
1355
|
+
indexOf?: ((searchElement: "clear" | "focus" | "blur" | "keypress" | "clickInput" | "endValidate" | "startValidate" | "clickLeftIcon" | "clickRightIcon" | "update:modelValue", fromIndex?: number) => number) | undefined;
|
|
1356
|
+
lastIndexOf?: ((searchElement: "clear" | "focus" | "blur" | "keypress" | "clickInput" | "endValidate" | "startValidate" | "clickLeftIcon" | "clickRightIcon" | "update:modelValue", fromIndex?: number) => number) | undefined;
|
|
1357
|
+
every?: {
|
|
1358
|
+
<S extends "clear" | "focus" | "blur" | "keypress" | "clickInput" | "endValidate" | "startValidate" | "clickLeftIcon" | "clickRightIcon" | "update:modelValue">(predicate: (value: "clear" | "focus" | "blur" | "keypress" | "clickInput" | "endValidate" | "startValidate" | "clickLeftIcon" | "clickRightIcon" | "update:modelValue", index: number, array: ("clear" | "focus" | "blur" | "keypress" | "clickInput" | "endValidate" | "startValidate" | "clickLeftIcon" | "clickRightIcon" | "update:modelValue")[]) => value is S, thisArg?: any): this is S[];
|
|
1359
|
+
(predicate: (value: "clear" | "focus" | "blur" | "keypress" | "clickInput" | "endValidate" | "startValidate" | "clickLeftIcon" | "clickRightIcon" | "update:modelValue", index: number, array: ("clear" | "focus" | "blur" | "keypress" | "clickInput" | "endValidate" | "startValidate" | "clickLeftIcon" | "clickRightIcon" | "update:modelValue")[]) => unknown, thisArg?: any): boolean;
|
|
1360
|
+
} | undefined;
|
|
1361
|
+
some?: ((predicate: (value: "clear" | "focus" | "blur" | "keypress" | "clickInput" | "endValidate" | "startValidate" | "clickLeftIcon" | "clickRightIcon" | "update:modelValue", index: number, array: ("clear" | "focus" | "blur" | "keypress" | "clickInput" | "endValidate" | "startValidate" | "clickLeftIcon" | "clickRightIcon" | "update:modelValue")[]) => unknown, thisArg?: any) => boolean) | undefined;
|
|
1362
|
+
forEach?: ((callbackfn: (value: "clear" | "focus" | "blur" | "keypress" | "clickInput" | "endValidate" | "startValidate" | "clickLeftIcon" | "clickRightIcon" | "update:modelValue", index: number, array: ("clear" | "focus" | "blur" | "keypress" | "clickInput" | "endValidate" | "startValidate" | "clickLeftIcon" | "clickRightIcon" | "update:modelValue")[]) => void, thisArg?: any) => void) | undefined;
|
|
1363
|
+
map?: (<U>(callbackfn: (value: "clear" | "focus" | "blur" | "keypress" | "clickInput" | "endValidate" | "startValidate" | "clickLeftIcon" | "clickRightIcon" | "update:modelValue", index: number, array: ("clear" | "focus" | "blur" | "keypress" | "clickInput" | "endValidate" | "startValidate" | "clickLeftIcon" | "clickRightIcon" | "update:modelValue")[]) => U, thisArg?: any) => U[]) | undefined;
|
|
1364
|
+
filter?: {
|
|
1365
|
+
<S extends "clear" | "focus" | "blur" | "keypress" | "clickInput" | "endValidate" | "startValidate" | "clickLeftIcon" | "clickRightIcon" | "update:modelValue">(predicate: (value: "clear" | "focus" | "blur" | "keypress" | "clickInput" | "endValidate" | "startValidate" | "clickLeftIcon" | "clickRightIcon" | "update:modelValue", index: number, array: ("clear" | "focus" | "blur" | "keypress" | "clickInput" | "endValidate" | "startValidate" | "clickLeftIcon" | "clickRightIcon" | "update:modelValue")[]) => value is S, thisArg?: any): S[];
|
|
1366
|
+
(predicate: (value: "clear" | "focus" | "blur" | "keypress" | "clickInput" | "endValidate" | "startValidate" | "clickLeftIcon" | "clickRightIcon" | "update:modelValue", index: number, array: ("clear" | "focus" | "blur" | "keypress" | "clickInput" | "endValidate" | "startValidate" | "clickLeftIcon" | "clickRightIcon" | "update:modelValue")[]) => unknown, thisArg?: any): ("clear" | "focus" | "blur" | "keypress" | "clickInput" | "endValidate" | "startValidate" | "clickLeftIcon" | "clickRightIcon" | "update:modelValue")[];
|
|
1367
|
+
} | undefined;
|
|
1368
|
+
reduce?: {
|
|
1369
|
+
(callbackfn: (previousValue: "clear" | "focus" | "blur" | "keypress" | "clickInput" | "endValidate" | "startValidate" | "clickLeftIcon" | "clickRightIcon" | "update:modelValue", currentValue: "clear" | "focus" | "blur" | "keypress" | "clickInput" | "endValidate" | "startValidate" | "clickLeftIcon" | "clickRightIcon" | "update:modelValue", currentIndex: number, array: ("clear" | "focus" | "blur" | "keypress" | "clickInput" | "endValidate" | "startValidate" | "clickLeftIcon" | "clickRightIcon" | "update:modelValue")[]) => "clear" | "focus" | "blur" | "keypress" | "clickInput" | "endValidate" | "startValidate" | "clickLeftIcon" | "clickRightIcon" | "update:modelValue"): "clear" | "focus" | "blur" | "keypress" | "clickInput" | "endValidate" | "startValidate" | "clickLeftIcon" | "clickRightIcon" | "update:modelValue";
|
|
1370
|
+
(callbackfn: (previousValue: "clear" | "focus" | "blur" | "keypress" | "clickInput" | "endValidate" | "startValidate" | "clickLeftIcon" | "clickRightIcon" | "update:modelValue", currentValue: "clear" | "focus" | "blur" | "keypress" | "clickInput" | "endValidate" | "startValidate" | "clickLeftIcon" | "clickRightIcon" | "update:modelValue", currentIndex: number, array: ("clear" | "focus" | "blur" | "keypress" | "clickInput" | "endValidate" | "startValidate" | "clickLeftIcon" | "clickRightIcon" | "update:modelValue")[]) => "clear" | "focus" | "blur" | "keypress" | "clickInput" | "endValidate" | "startValidate" | "clickLeftIcon" | "clickRightIcon" | "update:modelValue", initialValue: "clear" | "focus" | "blur" | "keypress" | "clickInput" | "endValidate" | "startValidate" | "clickLeftIcon" | "clickRightIcon" | "update:modelValue"): "clear" | "focus" | "blur" | "keypress" | "clickInput" | "endValidate" | "startValidate" | "clickLeftIcon" | "clickRightIcon" | "update:modelValue";
|
|
1371
|
+
<U>(callbackfn: (previousValue: U, currentValue: "clear" | "focus" | "blur" | "keypress" | "clickInput" | "endValidate" | "startValidate" | "clickLeftIcon" | "clickRightIcon" | "update:modelValue", currentIndex: number, array: ("clear" | "focus" | "blur" | "keypress" | "clickInput" | "endValidate" | "startValidate" | "clickLeftIcon" | "clickRightIcon" | "update:modelValue")[]) => U, initialValue: U): U;
|
|
1372
|
+
} | undefined;
|
|
1373
|
+
reduceRight?: {
|
|
1374
|
+
(callbackfn: (previousValue: "clear" | "focus" | "blur" | "keypress" | "clickInput" | "endValidate" | "startValidate" | "clickLeftIcon" | "clickRightIcon" | "update:modelValue", currentValue: "clear" | "focus" | "blur" | "keypress" | "clickInput" | "endValidate" | "startValidate" | "clickLeftIcon" | "clickRightIcon" | "update:modelValue", currentIndex: number, array: ("clear" | "focus" | "blur" | "keypress" | "clickInput" | "endValidate" | "startValidate" | "clickLeftIcon" | "clickRightIcon" | "update:modelValue")[]) => "clear" | "focus" | "blur" | "keypress" | "clickInput" | "endValidate" | "startValidate" | "clickLeftIcon" | "clickRightIcon" | "update:modelValue"): "clear" | "focus" | "blur" | "keypress" | "clickInput" | "endValidate" | "startValidate" | "clickLeftIcon" | "clickRightIcon" | "update:modelValue";
|
|
1375
|
+
(callbackfn: (previousValue: "clear" | "focus" | "blur" | "keypress" | "clickInput" | "endValidate" | "startValidate" | "clickLeftIcon" | "clickRightIcon" | "update:modelValue", currentValue: "clear" | "focus" | "blur" | "keypress" | "clickInput" | "endValidate" | "startValidate" | "clickLeftIcon" | "clickRightIcon" | "update:modelValue", currentIndex: number, array: ("clear" | "focus" | "blur" | "keypress" | "clickInput" | "endValidate" | "startValidate" | "clickLeftIcon" | "clickRightIcon" | "update:modelValue")[]) => "clear" | "focus" | "blur" | "keypress" | "clickInput" | "endValidate" | "startValidate" | "clickLeftIcon" | "clickRightIcon" | "update:modelValue", initialValue: "clear" | "focus" | "blur" | "keypress" | "clickInput" | "endValidate" | "startValidate" | "clickLeftIcon" | "clickRightIcon" | "update:modelValue"): "clear" | "focus" | "blur" | "keypress" | "clickInput" | "endValidate" | "startValidate" | "clickLeftIcon" | "clickRightIcon" | "update:modelValue";
|
|
1376
|
+
<U>(callbackfn: (previousValue: U, currentValue: "clear" | "focus" | "blur" | "keypress" | "clickInput" | "endValidate" | "startValidate" | "clickLeftIcon" | "clickRightIcon" | "update:modelValue", currentIndex: number, array: ("clear" | "focus" | "blur" | "keypress" | "clickInput" | "endValidate" | "startValidate" | "clickLeftIcon" | "clickRightIcon" | "update:modelValue")[]) => U, initialValue: U): U;
|
|
1377
|
+
} | undefined;
|
|
1378
|
+
find?: {
|
|
1379
|
+
<S extends "clear" | "focus" | "blur" | "keypress" | "clickInput" | "endValidate" | "startValidate" | "clickLeftIcon" | "clickRightIcon" | "update:modelValue">(predicate: (value: "clear" | "focus" | "blur" | "keypress" | "clickInput" | "endValidate" | "startValidate" | "clickLeftIcon" | "clickRightIcon" | "update:modelValue", index: number, obj: ("clear" | "focus" | "blur" | "keypress" | "clickInput" | "endValidate" | "startValidate" | "clickLeftIcon" | "clickRightIcon" | "update:modelValue")[]) => value is S, thisArg?: any): S | undefined;
|
|
1380
|
+
(predicate: (value: "clear" | "focus" | "blur" | "keypress" | "clickInput" | "endValidate" | "startValidate" | "clickLeftIcon" | "clickRightIcon" | "update:modelValue", index: number, obj: ("clear" | "focus" | "blur" | "keypress" | "clickInput" | "endValidate" | "startValidate" | "clickLeftIcon" | "clickRightIcon" | "update:modelValue")[]) => unknown, thisArg?: any): "clear" | "focus" | "blur" | "keypress" | "clickInput" | "endValidate" | "startValidate" | "clickLeftIcon" | "clickRightIcon" | "update:modelValue" | undefined;
|
|
1381
|
+
} | undefined;
|
|
1382
|
+
findIndex?: ((predicate: (value: "clear" | "focus" | "blur" | "keypress" | "clickInput" | "endValidate" | "startValidate" | "clickLeftIcon" | "clickRightIcon" | "update:modelValue", index: number, obj: ("clear" | "focus" | "blur" | "keypress" | "clickInput" | "endValidate" | "startValidate" | "clickLeftIcon" | "clickRightIcon" | "update:modelValue")[]) => unknown, thisArg?: any) => number) | undefined;
|
|
1383
|
+
fill?: ((value: "clear" | "focus" | "blur" | "keypress" | "clickInput" | "endValidate" | "startValidate" | "clickLeftIcon" | "clickRightIcon" | "update:modelValue", start?: number, end?: number) => ("clear" | "focus" | "blur" | "keypress" | "clickInput" | "endValidate" | "startValidate" | "clickLeftIcon" | "clickRightIcon" | "update:modelValue")[] & ThisType<void>) | undefined;
|
|
1384
|
+
copyWithin?: ((target: number, start: number, end?: number) => ("clear" | "focus" | "blur" | "keypress" | "clickInput" | "endValidate" | "startValidate" | "clickLeftIcon" | "clickRightIcon" | "update:modelValue")[] & ThisType<void>) | undefined;
|
|
1385
|
+
entries?: (() => ArrayIterator<[number, "clear" | "focus" | "blur" | "keypress" | "clickInput" | "endValidate" | "startValidate" | "clickLeftIcon" | "clickRightIcon" | "update:modelValue"]>) | undefined;
|
|
1386
|
+
keys?: (() => ArrayIterator<number>) | undefined;
|
|
1387
|
+
values?: (() => ArrayIterator<"clear" | "focus" | "blur" | "keypress" | "clickInput" | "endValidate" | "startValidate" | "clickLeftIcon" | "clickRightIcon" | "update:modelValue">) | undefined;
|
|
1388
|
+
includes?: ((searchElement: "clear" | "focus" | "blur" | "keypress" | "clickInput" | "endValidate" | "startValidate" | "clickLeftIcon" | "clickRightIcon" | "update:modelValue", fromIndex?: number) => boolean) | undefined;
|
|
1389
|
+
flatMap?: (<U, This = undefined>(callback: (this: This, value: "clear" | "focus" | "blur" | "keypress" | "clickInput" | "endValidate" | "startValidate" | "clickLeftIcon" | "clickRightIcon" | "update:modelValue", index: number, array: ("clear" | "focus" | "blur" | "keypress" | "clickInput" | "endValidate" | "startValidate" | "clickLeftIcon" | "clickRightIcon" | "update:modelValue")[]) => U | readonly U[], thisArg?: This | undefined) => U[]) | undefined;
|
|
1390
|
+
flat?: (<A, D extends number = 1>(this: A, depth?: D | undefined) => FlatArray<A, D>[]) | undefined;
|
|
1391
|
+
at?: ((index: number) => "clear" | "focus" | "blur" | "keypress" | "clickInput" | "endValidate" | "startValidate" | "clickLeftIcon" | "clickRightIcon" | "update:modelValue" | undefined) | undefined;
|
|
1392
|
+
[Symbol.iterator]?: (() => ArrayIterator<"clear" | "focus" | "blur" | "keypress" | "clickInput" | "endValidate" | "startValidate" | "clickLeftIcon" | "clickRightIcon" | "update:modelValue">) | undefined;
|
|
1393
|
+
[Symbol.unscopables]?: {
|
|
1394
|
+
[x: number]: boolean | undefined;
|
|
1395
|
+
length?: boolean | undefined;
|
|
1396
|
+
toString?: boolean | undefined;
|
|
1397
|
+
toLocaleString?: boolean | undefined;
|
|
1398
|
+
pop?: boolean | undefined;
|
|
1399
|
+
push?: boolean | undefined;
|
|
1400
|
+
concat?: boolean | undefined;
|
|
1401
|
+
join?: boolean | undefined;
|
|
1402
|
+
reverse?: boolean | undefined;
|
|
1403
|
+
shift?: boolean | undefined;
|
|
1404
|
+
slice?: boolean | undefined;
|
|
1405
|
+
sort?: boolean | undefined;
|
|
1406
|
+
splice?: boolean | undefined;
|
|
1407
|
+
unshift?: boolean | undefined;
|
|
1408
|
+
indexOf?: boolean | undefined;
|
|
1409
|
+
lastIndexOf?: boolean | undefined;
|
|
1410
|
+
every?: boolean | undefined;
|
|
1411
|
+
some?: boolean | undefined;
|
|
1412
|
+
forEach?: boolean | undefined;
|
|
1413
|
+
map?: boolean | undefined;
|
|
1414
|
+
filter?: boolean | undefined;
|
|
1415
|
+
reduce?: boolean | undefined;
|
|
1416
|
+
reduceRight?: boolean | undefined;
|
|
1417
|
+
find?: boolean | undefined;
|
|
1418
|
+
findIndex?: boolean | undefined;
|
|
1419
|
+
fill?: boolean | undefined;
|
|
1420
|
+
copyWithin?: boolean | undefined;
|
|
1421
|
+
entries?: boolean | undefined;
|
|
1422
|
+
keys?: boolean | undefined;
|
|
1423
|
+
values?: boolean | undefined;
|
|
1424
|
+
includes?: boolean | undefined;
|
|
1425
|
+
flatMap?: boolean | undefined;
|
|
1426
|
+
flat?: boolean | undefined;
|
|
1427
|
+
at?: boolean | undefined;
|
|
1428
|
+
[Symbol.iterator]?: boolean | undefined;
|
|
1429
|
+
readonly [Symbol.unscopables]?: boolean | undefined;
|
|
1430
|
+
} | undefined;
|
|
1431
|
+
};
|
|
1432
|
+
export type AreaEmits<T> = ReturnType<typeof areaEmitsGeneric<T>>;
|
|
1433
|
+
export interface AreaSlots extends CommonSlots<any> {
|
|
1434
|
+
}
|