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