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