vant 3.3.0 → 3.3.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vant",
3
- "version": "3.3.0",
3
+ "version": "3.3.1",
4
4
  "description": "Mobile UI Components built on Vue",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.js",
@@ -82,6 +82,94 @@
82
82
  "type": "boolean",
83
83
  "description": "是否在跳转时替换当前页面历史, 默认值: `false`"
84
84
  },
85
+ "van-address-edit/area-list": {
86
+ "type": "object",
87
+ "description": "地区列表, 默认值: -"
88
+ },
89
+ "van-address-edit/area-columns-placeholder": {
90
+ "type": "string[]",
91
+ "description": "地区选择列占位提示文字, 默认值: `[]`"
92
+ },
93
+ "van-address-edit/area-placeholder": {
94
+ "type": "string",
95
+ "description": "地区输入框占位提示文字, 默认值: `选择省 / 市 / 区`"
96
+ },
97
+ "van-address-edit/address-info": {
98
+ "type": "AddressEditInfo",
99
+ "description": "地址信息初始值, 默认值: `{}`"
100
+ },
101
+ "van-address-edit/search-result": {
102
+ "type": "AddressEditSearchItem[]",
103
+ "description": "详细地址搜索结果, 默认值: `[]`"
104
+ },
105
+ "van-address-edit/show-postal": {
106
+ "type": "boolean",
107
+ "description": "是否显示邮政编码, 默认值: `false`"
108
+ },
109
+ "van-address-edit/show-delete": {
110
+ "type": "boolean",
111
+ "description": "是否显示删除按钮, 默认值: `false`"
112
+ },
113
+ "van-address-edit/show-set-default": {
114
+ "type": "boolean",
115
+ "description": "是否显示默认地址栏, 默认值: `false`"
116
+ },
117
+ "van-address-edit/show-search-result": {
118
+ "type": "boolean",
119
+ "description": "是否显示搜索结果, 默认值: `false`"
120
+ },
121
+ "van-address-edit/show-area": {
122
+ "type": "boolean",
123
+ "description": "是否显示地区, 默认值: `true`"
124
+ },
125
+ "van-address-edit/show-detail": {
126
+ "type": "boolean",
127
+ "description": "是否显示详细地址, 默认值: `true`"
128
+ },
129
+ "van-address-edit/disable-area": {
130
+ "type": "boolean",
131
+ "description": "是否禁用地区选择, 默认值: `false`"
132
+ },
133
+ "van-address-edit/save-button-text": {
134
+ "type": "string",
135
+ "description": "保存按钮文字, 默认值: `保存`"
136
+ },
137
+ "van-address-edit/delete-button-text": {
138
+ "type": "string",
139
+ "description": "删除按钮文字, 默认值: `删除`"
140
+ },
141
+ "van-address-edit/detail-rows": {
142
+ "type": "number | string",
143
+ "description": "详细地址输入框行数, 默认值: `1`"
144
+ },
145
+ "van-address-edit/detail-maxlength": {
146
+ "type": "number | string",
147
+ "description": "详细地址最大长度, 默认值: `200`"
148
+ },
149
+ "van-address-edit/is-saving": {
150
+ "type": "boolean",
151
+ "description": "是否显示保存按钮加载动画, 默认值: `false`"
152
+ },
153
+ "van-address-edit/is-deleting": {
154
+ "type": "boolean",
155
+ "description": "是否显示删除按钮加载动画, 默认值: `false`"
156
+ },
157
+ "van-address-edit/tel-validator": {
158
+ "type": "string => boolean",
159
+ "description": "手机号格式校验函数, 默认值: -"
160
+ },
161
+ "van-address-edit/tel-maxlength": {
162
+ "type": "number | string",
163
+ "description": "手机号最大长度, 默认值: -"
164
+ },
165
+ "van-address-edit/postal-validator": {
166
+ "type": "string => boolean",
167
+ "description": "邮政编码格式校验函数, 默认值: -"
168
+ },
169
+ "van-address-edit/validator": {
170
+ "type": "(key, val) => string",
171
+ "description": "自定义校验函数, 默认值: -"
172
+ },
85
173
  "van-action-sheet/v-model:show": {
86
174
  "type": "boolean",
87
175
  "description": "是否显示动作面板, 默认值: `false`"
@@ -193,94 +281,6 @@
193
281
  "type": "string",
194
282
  "description": "默认地址标签文字, 默认值: -"
195
283
  },
196
- "van-address-edit/area-list": {
197
- "type": "object",
198
- "description": "地区列表, 默认值: -"
199
- },
200
- "van-address-edit/area-columns-placeholder": {
201
- "type": "string[]",
202
- "description": "地区选择列占位提示文字, 默认值: `[]`"
203
- },
204
- "van-address-edit/area-placeholder": {
205
- "type": "string",
206
- "description": "地区输入框占位提示文字, 默认值: `选择省 / 市 / 区`"
207
- },
208
- "van-address-edit/address-info": {
209
- "type": "AddressEditInfo",
210
- "description": "地址信息初始值, 默认值: `{}`"
211
- },
212
- "van-address-edit/search-result": {
213
- "type": "AddressEditSearchItem[]",
214
- "description": "详细地址搜索结果, 默认值: `[]`"
215
- },
216
- "van-address-edit/show-postal": {
217
- "type": "boolean",
218
- "description": "是否显示邮政编码, 默认值: `false`"
219
- },
220
- "van-address-edit/show-delete": {
221
- "type": "boolean",
222
- "description": "是否显示删除按钮, 默认值: `false`"
223
- },
224
- "van-address-edit/show-set-default": {
225
- "type": "boolean",
226
- "description": "是否显示默认地址栏, 默认值: `false`"
227
- },
228
- "van-address-edit/show-search-result": {
229
- "type": "boolean",
230
- "description": "是否显示搜索结果, 默认值: `false`"
231
- },
232
- "van-address-edit/show-area": {
233
- "type": "boolean",
234
- "description": "是否显示地区, 默认值: `true`"
235
- },
236
- "van-address-edit/show-detail": {
237
- "type": "boolean",
238
- "description": "是否显示详细地址, 默认值: `true`"
239
- },
240
- "van-address-edit/disable-area": {
241
- "type": "boolean",
242
- "description": "是否禁用地区选择, 默认值: `false`"
243
- },
244
- "van-address-edit/save-button-text": {
245
- "type": "string",
246
- "description": "保存按钮文字, 默认值: `保存`"
247
- },
248
- "van-address-edit/delete-button-text": {
249
- "type": "string",
250
- "description": "删除按钮文字, 默认值: `删除`"
251
- },
252
- "van-address-edit/detail-rows": {
253
- "type": "number | string",
254
- "description": "详细地址输入框行数, 默认值: `1`"
255
- },
256
- "van-address-edit/detail-maxlength": {
257
- "type": "number | string",
258
- "description": "详细地址最大长度, 默认值: `200`"
259
- },
260
- "van-address-edit/is-saving": {
261
- "type": "boolean",
262
- "description": "是否显示保存按钮加载动画, 默认值: `false`"
263
- },
264
- "van-address-edit/is-deleting": {
265
- "type": "boolean",
266
- "description": "是否显示删除按钮加载动画, 默认值: `false`"
267
- },
268
- "van-address-edit/tel-validator": {
269
- "type": "string => boolean",
270
- "description": "手机号格式校验函数, 默认值: -"
271
- },
272
- "van-address-edit/tel-maxlength": {
273
- "type": "number | string",
274
- "description": "手机号最大长度, 默认值: -"
275
- },
276
- "van-address-edit/postal-validator": {
277
- "type": "string => boolean",
278
- "description": "邮政编码格式校验函数, 默认值: -"
279
- },
280
- "van-address-edit/validator": {
281
- "type": "(key, val) => string",
282
- "description": "自定义校验函数, 默认值: -"
283
- },
284
284
  "van-area/value": {
285
285
  "type": "string",
286
286
  "description": "当前选中项对应的地区码, 默认值: -"
package/vetur/tags.json CHANGED
@@ -31,6 +31,32 @@
31
31
  "replace"
32
32
  ]
33
33
  },
34
+ "van-address-edit": {
35
+ "attributes": [
36
+ "area-list",
37
+ "area-columns-placeholder",
38
+ "area-placeholder",
39
+ "address-info",
40
+ "search-result",
41
+ "show-postal",
42
+ "show-delete",
43
+ "show-set-default",
44
+ "show-search-result",
45
+ "show-area",
46
+ "show-detail",
47
+ "disable-area",
48
+ "save-button-text",
49
+ "delete-button-text",
50
+ "detail-rows",
51
+ "detail-maxlength",
52
+ "is-saving",
53
+ "is-deleting",
54
+ "tel-validator",
55
+ "tel-maxlength",
56
+ "postal-validator",
57
+ "validator"
58
+ ]
59
+ },
34
60
  "van-action-sheet": {
35
61
  "attributes": [
36
62
  "v-model:show",
@@ -66,32 +92,6 @@
66
92
  "default-tag-text"
67
93
  ]
68
94
  },
69
- "van-address-edit": {
70
- "attributes": [
71
- "area-list",
72
- "area-columns-placeholder",
73
- "area-placeholder",
74
- "address-info",
75
- "search-result",
76
- "show-postal",
77
- "show-delete",
78
- "show-set-default",
79
- "show-search-result",
80
- "show-area",
81
- "show-detail",
82
- "disable-area",
83
- "save-button-text",
84
- "delete-button-text",
85
- "detail-rows",
86
- "detail-maxlength",
87
- "is-saving",
88
- "is-deleting",
89
- "tel-validator",
90
- "tel-maxlength",
91
- "postal-validator",
92
- "validator"
93
- ]
94
- },
95
95
  "van-area": {
96
96
  "attributes": [
97
97
  "value",