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