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