vant 3.4.4 → 3.4.5

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.
Files changed (360) hide show
  1. package/es/collapse-item/CollapseItem.d.ts +13 -0
  2. package/es/collapse-item/CollapseItem.js +3 -2
  3. package/es/collapse-item/index.d.ts +9 -0
  4. package/es/dialog/Dialog.d.ts +2 -1
  5. package/es/dialog/Dialog.js +19 -3
  6. package/es/dialog/function-call.d.ts +2 -1
  7. package/es/index-bar/IndexBar.d.ts +4 -4
  8. package/es/index-bar/index.d.ts +3 -3
  9. package/es/index.d.ts +1 -1
  10. package/es/index.js +1 -1
  11. package/es/locale/lang/bn-BD.d.ts +64 -0
  12. package/es/locale/lang/bn-BD.js +74 -0
  13. package/es/locale/lang/de-DE-formal.js +1 -1
  14. package/es/locale/lang/de-DE.js +1 -1
  15. package/es/locale/lang/en-US.js +1 -1
  16. package/es/locale/lang/es-ES.js +1 -1
  17. package/es/locale/lang/fr-FR.js +1 -1
  18. package/es/locale/lang/hi-IN.js +1 -1
  19. package/es/locale/lang/id-ID.d.ts +64 -0
  20. package/es/locale/lang/id-ID.js +66 -0
  21. package/es/locale/lang/it-IT.d.ts +64 -0
  22. package/es/locale/lang/it-IT.js +74 -0
  23. package/es/locale/lang/ja-JP.js +1 -1
  24. package/es/locale/lang/ko-KR.js +1 -1
  25. package/es/locale/lang/nb-NO.js +1 -1
  26. package/es/locale/lang/pt-BR.js +1 -1
  27. package/es/locale/lang/ro-RO.js +1 -1
  28. package/es/locale/lang/ru-RU.js +1 -1
  29. package/es/locale/lang/th-TH.js +1 -1
  30. package/es/locale/lang/uk-UA.d.ts +64 -0
  31. package/es/locale/lang/uk-UA.js +74 -0
  32. package/es/locale/lang/vi-VN.d.ts +64 -0
  33. package/es/locale/lang/vi-VN.js +74 -0
  34. package/es/locale/lang/zh-CN.js +1 -1
  35. package/es/locale/lang/zh-HK.js +1 -1
  36. package/es/locale/lang/zh-TW.js +1 -1
  37. package/es/popup/Popup.d.ts +2 -1
  38. package/es/popup/Popup.js +11 -3
  39. package/es/popup/index.d.ts +2 -1
  40. package/es/popup/types.d.ts +5 -2
  41. package/es/submit-bar/index.css +1 -1
  42. package/es/submit-bar/index.less +1 -0
  43. package/es/toast/Toast.d.ts +3 -0
  44. package/es/toast/Toast.js +2 -1
  45. package/es/uploader/types.d.ts +1 -3
  46. package/es/utils/interceptor.d.ts +1 -1
  47. package/lib/action-bar/ActionBar.js +14 -13
  48. package/lib/action-bar/index.js +14 -8
  49. package/lib/action-bar-button/ActionBarButton.js +18 -17
  50. package/lib/action-bar-button/index.js +14 -8
  51. package/lib/action-bar-icon/ActionBarIcon.js +18 -17
  52. package/lib/action-bar-icon/index.js +14 -8
  53. package/lib/action-sheet/ActionSheet.js +17 -16
  54. package/lib/action-sheet/index.js +14 -8
  55. package/lib/address-edit/AddressEdit.js +25 -19
  56. package/lib/address-edit/AddressEditDetail.js +15 -14
  57. package/lib/address-edit/index.js +14 -8
  58. package/lib/address-edit/types.js +18 -1
  59. package/lib/address-list/AddressList.js +18 -12
  60. package/lib/address-list/AddressListItem.js +17 -16
  61. package/lib/address-list/index.js +14 -8
  62. package/lib/area/Area.js +17 -16
  63. package/lib/area/index.js +14 -8
  64. package/lib/area/types.js +18 -1
  65. package/lib/badge/Badge.js +13 -12
  66. package/lib/badge/index.js +14 -8
  67. package/lib/button/Button.js +16 -15
  68. package/lib/button/index.js +14 -8
  69. package/lib/button/types.js +18 -1
  70. package/lib/calendar/Calendar.js +24 -18
  71. package/lib/calendar/CalendarDay.js +14 -13
  72. package/lib/calendar/CalendarHeader.js +14 -13
  73. package/lib/calendar/CalendarMonth.js +21 -15
  74. package/lib/calendar/index.js +14 -8
  75. package/lib/calendar/types.js +18 -1
  76. package/lib/calendar/utils.js +11 -10
  77. package/lib/card/Card.js +15 -14
  78. package/lib/card/index.js +14 -8
  79. package/lib/cascader/Cascader.js +16 -15
  80. package/lib/cascader/index.js +14 -8
  81. package/lib/cascader/types.js +18 -1
  82. package/lib/cell/Cell.js +15 -14
  83. package/lib/cell/index.js +14 -8
  84. package/lib/cell-group/CellGroup.js +13 -12
  85. package/lib/cell-group/index.js +14 -8
  86. package/lib/checkbox/Checkbox.js +19 -13
  87. package/lib/checkbox/Checker.js +14 -13
  88. package/lib/checkbox/index.js +14 -8
  89. package/lib/checkbox/types.js +18 -1
  90. package/lib/checkbox-group/CheckboxGroup.js +15 -14
  91. package/lib/checkbox-group/index.js +14 -8
  92. package/lib/checkbox-group/types.js +18 -1
  93. package/lib/circle/Circle.js +14 -13
  94. package/lib/circle/index.js +14 -8
  95. package/lib/col/Col.js +15 -14
  96. package/lib/col/index.js +14 -8
  97. package/lib/collapse/Collapse.js +14 -13
  98. package/lib/collapse/index.js +14 -8
  99. package/lib/collapse-item/CollapseItem.d.ts +13 -0
  100. package/lib/collapse-item/CollapseItem.js +22 -20
  101. package/lib/collapse-item/index.d.ts +9 -0
  102. package/lib/collapse-item/index.js +14 -8
  103. package/lib/collapse-item/types.js +18 -1
  104. package/lib/composables/on-popup-reopen.js +11 -10
  105. package/lib/composables/use-expose.js +12 -11
  106. package/lib/composables/use-height.js +12 -11
  107. package/lib/composables/use-id.js +11 -10
  108. package/lib/composables/use-lazy-render.js +11 -10
  109. package/lib/composables/use-lock-scroll.js +14 -13
  110. package/lib/composables/use-placeholder.js +12 -11
  111. package/lib/composables/use-refs.js +11 -10
  112. package/lib/composables/use-route.js +11 -10
  113. package/lib/composables/use-tab-status.js +11 -10
  114. package/lib/composables/use-touch.js +11 -10
  115. package/lib/composables/use-visibility-change.js +13 -12
  116. package/lib/config-provider/ConfigProvider.js +13 -12
  117. package/lib/config-provider/index.js +14 -8
  118. package/lib/contact-card/ContactCard.js +14 -13
  119. package/lib/contact-card/index.js +14 -8
  120. package/lib/contact-edit/ContactEdit.js +18 -17
  121. package/lib/contact-edit/index.js +14 -8
  122. package/lib/contact-list/ContactList.js +19 -18
  123. package/lib/contact-list/index.js +14 -8
  124. package/lib/count-down/CountDown.js +16 -15
  125. package/lib/count-down/index.js +14 -8
  126. package/lib/count-down/types.js +18 -1
  127. package/lib/count-down/utils.js +11 -10
  128. package/lib/coupon/Coupon.js +15 -14
  129. package/lib/coupon/index.js +14 -8
  130. package/lib/coupon/utils.js +11 -10
  131. package/lib/coupon-cell/CouponCell.js +14 -13
  132. package/lib/coupon-cell/index.js +14 -8
  133. package/lib/coupon-list/CouponList.js +20 -19
  134. package/lib/coupon-list/index.js +14 -8
  135. package/lib/datetime-picker/DatePicker.js +16 -15
  136. package/lib/datetime-picker/DatetimePicker.js +18 -12
  137. package/lib/datetime-picker/TimePicker.js +16 -15
  138. package/lib/datetime-picker/index.js +14 -8
  139. package/lib/datetime-picker/types.js +18 -1
  140. package/lib/datetime-picker/utils.js +12 -11
  141. package/lib/dialog/Dialog.d.ts +2 -1
  142. package/lib/dialog/Dialog.js +35 -18
  143. package/lib/dialog/function-call.d.ts +2 -1
  144. package/lib/dialog/function-call.js +16 -10
  145. package/lib/dialog/index.js +11 -10
  146. package/lib/dialog/types.js +18 -1
  147. package/lib/divider/Divider.js +13 -12
  148. package/lib/divider/index.js +14 -8
  149. package/lib/dropdown-item/DropdownItem.js +19 -18
  150. package/lib/dropdown-item/index.js +14 -8
  151. package/lib/dropdown-item/types.js +18 -1
  152. package/lib/dropdown-menu/DropdownMenu.js +15 -14
  153. package/lib/dropdown-menu/index.js +14 -8
  154. package/lib/dropdown-menu/types.js +18 -1
  155. package/lib/empty/Empty.js +14 -13
  156. package/lib/empty/Network.js +11 -10
  157. package/lib/empty/index.js +14 -8
  158. package/lib/field/Field.js +20 -19
  159. package/lib/field/index.js +14 -8
  160. package/lib/field/types.js +18 -1
  161. package/lib/field/utils.js +11 -10
  162. package/lib/form/Form.js +15 -14
  163. package/lib/form/index.js +14 -8
  164. package/lib/form/types.js +18 -1
  165. package/lib/grid/Grid.js +15 -14
  166. package/lib/grid/index.js +14 -8
  167. package/lib/grid-item/GridItem.js +18 -17
  168. package/lib/grid-item/index.js +14 -8
  169. package/lib/icon/Icon.js +15 -14
  170. package/lib/icon/index.js +14 -8
  171. package/lib/image/Image.js +14 -13
  172. package/lib/image/index.js +14 -8
  173. package/lib/image-preview/ImagePreview.js +21 -15
  174. package/lib/image-preview/ImagePreviewItem.js +17 -16
  175. package/lib/image-preview/function-call.js +16 -10
  176. package/lib/image-preview/index.js +11 -10
  177. package/lib/image-preview/types.js +18 -1
  178. package/lib/index-anchor/IndexAnchor.js +17 -16
  179. package/lib/index-anchor/index.js +14 -8
  180. package/lib/index-bar/IndexBar.d.ts +4 -4
  181. package/lib/index-bar/IndexBar.js +16 -15
  182. package/lib/index-bar/index.d.ts +3 -3
  183. package/lib/index-bar/index.js +14 -8
  184. package/lib/index-bar/types.js +18 -1
  185. package/lib/index.css +1 -1
  186. package/lib/index.d.ts +1 -1
  187. package/lib/index.js +182 -181
  188. package/lib/lazyload/index.js +11 -10
  189. package/lib/lazyload/vue-lazyload/index.js +16 -10
  190. package/lib/lazyload/vue-lazyload/lazy-component.js +12 -11
  191. package/lib/lazyload/vue-lazyload/lazy-container.js +11 -10
  192. package/lib/lazyload/vue-lazyload/lazy-image.js +13 -12
  193. package/lib/lazyload/vue-lazyload/lazy.js +17 -11
  194. package/lib/lazyload/vue-lazyload/listener.js +13 -12
  195. package/lib/lazyload/vue-lazyload/util.js +11 -10
  196. package/lib/list/List.js +17 -16
  197. package/lib/list/index.js +14 -8
  198. package/lib/list/types.js +18 -1
  199. package/lib/loading/Loading.js +13 -12
  200. package/lib/loading/index.js +14 -8
  201. package/lib/locale/index.js +15 -9
  202. package/lib/locale/lang/bn-BD.d.ts +64 -0
  203. package/lib/locale/lang/bn-BD.js +98 -0
  204. package/lib/locale/lang/de-DE-formal.js +20 -3
  205. package/lib/locale/lang/de-DE.js +20 -3
  206. package/lib/locale/lang/en-US.js +20 -3
  207. package/lib/locale/lang/es-ES.js +20 -3
  208. package/lib/locale/lang/fr-FR.js +20 -3
  209. package/lib/locale/lang/hi-IN.js +20 -3
  210. package/lib/locale/lang/id-ID.d.ts +64 -0
  211. package/lib/locale/lang/id-ID.js +90 -0
  212. package/lib/locale/lang/it-IT.d.ts +64 -0
  213. package/lib/locale/lang/it-IT.js +98 -0
  214. package/lib/locale/lang/ja-JP.js +20 -3
  215. package/lib/locale/lang/ko-KR.js +20 -3
  216. package/lib/locale/lang/nb-NO.js +20 -3
  217. package/lib/locale/lang/pt-BR.js +20 -3
  218. package/lib/locale/lang/ro-RO.js +20 -3
  219. package/lib/locale/lang/ru-RU.js +20 -3
  220. package/lib/locale/lang/th-TH.js +20 -3
  221. package/lib/locale/lang/tr-TR.js +19 -2
  222. package/lib/locale/lang/uk-UA.d.ts +64 -0
  223. package/lib/locale/lang/uk-UA.js +98 -0
  224. package/lib/locale/lang/vi-VN.d.ts +64 -0
  225. package/lib/locale/lang/vi-VN.js +98 -0
  226. package/lib/locale/lang/zh-CN.js +20 -3
  227. package/lib/locale/lang/zh-HK.js +20 -3
  228. package/lib/locale/lang/zh-TW.js +20 -3
  229. package/lib/nav-bar/NavBar.js +15 -14
  230. package/lib/nav-bar/index.js +14 -8
  231. package/lib/notice-bar/NoticeBar.js +17 -16
  232. package/lib/notice-bar/index.js +14 -8
  233. package/lib/notice-bar/types.js +18 -1
  234. package/lib/notify/Notify.js +15 -14
  235. package/lib/notify/function-call.js +16 -10
  236. package/lib/notify/index.js +11 -10
  237. package/lib/notify/types.js +18 -1
  238. package/lib/number-keyboard/NumberKeyboard.js +17 -11
  239. package/lib/number-keyboard/NumberKeyboardKey.js +15 -14
  240. package/lib/number-keyboard/index.js +14 -8
  241. package/lib/overlay/Overlay.js +14 -13
  242. package/lib/overlay/index.js +14 -8
  243. package/lib/pagination/Pagination.js +13 -12
  244. package/lib/pagination/index.js +14 -8
  245. package/lib/password-input/PasswordInput.js +13 -12
  246. package/lib/password-input/index.js +14 -8
  247. package/lib/picker/Picker.js +19 -13
  248. package/lib/picker/PickerColumn.js +17 -16
  249. package/lib/picker/index.js +14 -8
  250. package/lib/picker/types.js +18 -1
  251. package/lib/popover/Popover.js +17 -16
  252. package/lib/popover/index.js +14 -8
  253. package/lib/popover/types.js +18 -1
  254. package/lib/popup/Popup.d.ts +2 -1
  255. package/lib/popup/Popup.js +31 -22
  256. package/lib/popup/index.d.ts +2 -1
  257. package/lib/popup/index.js +14 -8
  258. package/lib/popup/shared.js +11 -10
  259. package/lib/popup/types.d.ts +5 -2
  260. package/lib/popup/types.js +18 -1
  261. package/lib/progress/Progress.js +13 -12
  262. package/lib/progress/index.js +14 -8
  263. package/lib/progress/types.js +18 -1
  264. package/lib/pull-refresh/PullRefresh.js +16 -15
  265. package/lib/pull-refresh/index.js +14 -8
  266. package/lib/radio/Radio.js +18 -12
  267. package/lib/radio/index.js +14 -8
  268. package/lib/radio-group/RadioGroup.js +14 -13
  269. package/lib/radio-group/index.js +14 -8
  270. package/lib/rate/Rate.js +17 -16
  271. package/lib/rate/index.js +14 -8
  272. package/lib/row/Row.js +14 -13
  273. package/lib/row/index.js +14 -8
  274. package/lib/search/Search.js +17 -16
  275. package/lib/search/index.js +14 -8
  276. package/lib/search/types.js +18 -1
  277. package/lib/share-sheet/ShareSheet.js +15 -14
  278. package/lib/share-sheet/index.js +14 -8
  279. package/lib/sidebar/Sidebar.js +14 -13
  280. package/lib/sidebar/index.js +14 -8
  281. package/lib/sidebar-item/SidebarItem.js +17 -16
  282. package/lib/sidebar-item/index.js +14 -8
  283. package/lib/skeleton/Skeleton.js +13 -12
  284. package/lib/skeleton/index.js +14 -8
  285. package/lib/slider/Slider.js +15 -14
  286. package/lib/slider/index.js +14 -8
  287. package/lib/step/Step.js +16 -15
  288. package/lib/step/index.js +14 -8
  289. package/lib/stepper/Stepper.js +14 -13
  290. package/lib/stepper/index.js +14 -8
  291. package/lib/steps/Steps.js +14 -13
  292. package/lib/steps/index.js +14 -8
  293. package/lib/sticky/Sticky.js +15 -14
  294. package/lib/sticky/index.js +14 -8
  295. package/lib/submit-bar/SubmitBar.js +15 -14
  296. package/lib/submit-bar/index.css +1 -1
  297. package/lib/submit-bar/index.js +14 -8
  298. package/lib/submit-bar/index.less +1 -0
  299. package/lib/swipe/Swipe.js +17 -16
  300. package/lib/swipe/index.js +14 -8
  301. package/lib/swipe/types.js +18 -1
  302. package/lib/swipe-cell/SwipeCell.js +16 -15
  303. package/lib/swipe-cell/index.js +14 -8
  304. package/lib/swipe-cell/types.js +18 -1
  305. package/lib/swipe-item/SwipeItem.js +16 -15
  306. package/lib/swipe-item/index.js +14 -8
  307. package/lib/switch/Switch.js +15 -14
  308. package/lib/switch/index.js +14 -8
  309. package/lib/tab/Tab.js +20 -19
  310. package/lib/tab/index.js +14 -8
  311. package/lib/tabbar/Tabbar.js +15 -14
  312. package/lib/tabbar/index.js +14 -8
  313. package/lib/tabbar-item/TabbarItem.js +18 -17
  314. package/lib/tabbar-item/index.js +14 -8
  315. package/lib/tabs/Tabs.js +25 -19
  316. package/lib/tabs/TabsContent.js +14 -13
  317. package/lib/tabs/TabsTitle.js +14 -13
  318. package/lib/tabs/index.js +14 -8
  319. package/lib/tabs/types.js +18 -1
  320. package/lib/tabs/utils.js +12 -11
  321. package/lib/tag/Tag.js +14 -13
  322. package/lib/tag/index.js +14 -8
  323. package/lib/toast/Toast.d.ts +3 -0
  324. package/lib/toast/Toast.js +19 -17
  325. package/lib/toast/function-call.js +17 -11
  326. package/lib/toast/index.js +11 -10
  327. package/lib/toast/lock-click.js +19 -2
  328. package/lib/toast/types.js +18 -1
  329. package/lib/tree-select/TreeSelect.js +16 -15
  330. package/lib/tree-select/index.js +14 -8
  331. package/lib/uploader/Uploader.js +21 -15
  332. package/lib/uploader/UploaderPreviewItem.js +17 -16
  333. package/lib/uploader/index.js +14 -8
  334. package/lib/uploader/types.d.ts +1 -3
  335. package/lib/uploader/types.js +18 -1
  336. package/lib/uploader/utils.js +11 -10
  337. package/lib/utils/basic.js +19 -2
  338. package/lib/utils/constant.js +19 -2
  339. package/lib/utils/create.js +16 -10
  340. package/lib/utils/deep-assign.js +11 -10
  341. package/lib/utils/deep-clone.js +11 -10
  342. package/lib/utils/dom.js +13 -12
  343. package/lib/utils/format.js +13 -12
  344. package/lib/utils/index.js +18 -17
  345. package/lib/utils/interceptor.d.ts +1 -1
  346. package/lib/utils/interceptor.js +12 -11
  347. package/lib/utils/mount-component.js +13 -12
  348. package/lib/utils/props.js +19 -2
  349. package/lib/utils/validate.js +11 -10
  350. package/lib/utils/with-install.js +11 -10
  351. package/lib/vant.cjs.js +34 -8
  352. package/lib/vant.cjs.min.js +1 -1
  353. package/lib/vant.es.js +35 -9
  354. package/lib/vant.es.min.js +35 -9
  355. package/lib/vant.js +37 -11
  356. package/lib/vant.min.js +1 -1
  357. package/package.json +1 -1
  358. package/vetur/attributes.json +183 -179
  359. package/vetur/tags.json +61 -60
  360. package/vetur/web-types.json +1070 -1060
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vant",
3
- "version": "3.4.4",
3
+ "version": "3.4.5",
4
4
  "description": "Mobile UI Components built on Vue",
5
5
  "main": "lib/vant.cjs.js",
6
6
  "module": "es/index.js",
@@ -169,6 +169,94 @@
169
169
  "type": "(action: string) => boolean | Promise\\<boolean\\>",
170
170
  "description": "Callback function before close, Default: -"
171
171
  },
172
+ "van-address-edit/area-list": {
173
+ "type": "object",
174
+ "description": "Area List, Default: -"
175
+ },
176
+ "van-address-edit/area-columns-placeholder": {
177
+ "type": "string[]",
178
+ "description": "placeholder of area columns, Default: `[]`"
179
+ },
180
+ "van-address-edit/area-placeholder": {
181
+ "type": "string",
182
+ "description": "placeholder of area input field, Default: `Area`"
183
+ },
184
+ "van-address-edit/address-info": {
185
+ "type": "AddressEditInfo",
186
+ "description": "Address Info, Default: `{}`"
187
+ },
188
+ "van-address-edit/search-result": {
189
+ "type": "AddressEditSearchItem[]",
190
+ "description": "Address search result, Default: `[]`"
191
+ },
192
+ "van-address-edit/show-postal": {
193
+ "type": "boolean",
194
+ "description": "Whether to show postal field, Default: `false`"
195
+ },
196
+ "van-address-edit/show-delete": {
197
+ "type": "boolean",
198
+ "description": "Whether to show delete button, Default: `false`"
199
+ },
200
+ "van-address-edit/show-set-default": {
201
+ "type": "boolean",
202
+ "description": "Whether to show default address switch, Default: `false`"
203
+ },
204
+ "van-address-edit/show-search-result": {
205
+ "type": "boolean",
206
+ "description": "Whether to show address search result, Default: `false`"
207
+ },
208
+ "van-address-edit/show-area": {
209
+ "type": "boolean",
210
+ "description": "Whether to show area cell, Default: `true`"
211
+ },
212
+ "van-address-edit/show-detail": {
213
+ "type": "boolean",
214
+ "description": "Whether to show detail field, Default: `true`"
215
+ },
216
+ "van-address-edit/disable-area": {
217
+ "type": "boolean",
218
+ "description": "Whether to disable area select, Default: `false`"
219
+ },
220
+ "van-address-edit/save-button-text": {
221
+ "type": "string",
222
+ "description": "Save button text, Default: `Save`"
223
+ },
224
+ "van-address-edit/delete-button-text": {
225
+ "type": "string",
226
+ "description": "Delete button text, Default: `Delete`"
227
+ },
228
+ "van-address-edit/detail-rows": {
229
+ "type": "number | string",
230
+ "description": "Detail input rows, Default: `1`"
231
+ },
232
+ "van-address-edit/detail-maxlength": {
233
+ "type": "number | string",
234
+ "description": "Detail maxlength, Default: `200`"
235
+ },
236
+ "van-address-edit/is-saving": {
237
+ "type": "boolean",
238
+ "description": "Whether to show save button loading status, Default: `false`"
239
+ },
240
+ "van-address-edit/is-deleting": {
241
+ "type": "boolean",
242
+ "description": "Whether to show delete button loading status, Default: `false`"
243
+ },
244
+ "van-address-edit/tel-validator": {
245
+ "type": "(tel: string) => boolean",
246
+ "description": "The method to validate tel, Default: -"
247
+ },
248
+ "van-address-edit/tel-maxlength": {
249
+ "type": "number | string",
250
+ "description": "Tel maxlength, Default: -"
251
+ },
252
+ "van-address-edit/postal-validator": {
253
+ "type": "(tel: string) => boolean",
254
+ "description": "The method to validate postal, Default: -"
255
+ },
256
+ "van-address-edit/validator": {
257
+ "type": "(key, val) => string",
258
+ "description": "Custom validator, Default: -"
259
+ },
172
260
  "van-area/value": {
173
261
  "type": "string",
174
262
  "description": "the `code` of selected area, Default: -"
@@ -527,94 +615,6 @@
527
615
  "type": "boolean",
528
616
  "description": "Whether to enable thumb lazy load,should register [Lazyload](#/en-US/lazyload) component, Default: `false`"
529
617
  },
530
- "van-address-edit/area-list": {
531
- "type": "object",
532
- "description": "Area List, Default: -"
533
- },
534
- "van-address-edit/area-columns-placeholder": {
535
- "type": "string[]",
536
- "description": "placeholder of area columns, Default: `[]`"
537
- },
538
- "van-address-edit/area-placeholder": {
539
- "type": "string",
540
- "description": "placeholder of area input field, Default: `Area`"
541
- },
542
- "van-address-edit/address-info": {
543
- "type": "AddressEditInfo",
544
- "description": "Address Info, Default: `{}`"
545
- },
546
- "van-address-edit/search-result": {
547
- "type": "AddressEditSearchItem[]",
548
- "description": "Address search result, Default: `[]`"
549
- },
550
- "van-address-edit/show-postal": {
551
- "type": "boolean",
552
- "description": "Whether to show postal field, Default: `false`"
553
- },
554
- "van-address-edit/show-delete": {
555
- "type": "boolean",
556
- "description": "Whether to show delete button, Default: `false`"
557
- },
558
- "van-address-edit/show-set-default": {
559
- "type": "boolean",
560
- "description": "Whether to show default address switch, Default: `false`"
561
- },
562
- "van-address-edit/show-search-result": {
563
- "type": "boolean",
564
- "description": "Whether to show address search result, Default: `false`"
565
- },
566
- "van-address-edit/show-area": {
567
- "type": "boolean",
568
- "description": "Whether to show area cell, Default: `true`"
569
- },
570
- "van-address-edit/show-detail": {
571
- "type": "boolean",
572
- "description": "Whether to show detail field, Default: `true`"
573
- },
574
- "van-address-edit/disable-area": {
575
- "type": "boolean",
576
- "description": "Whether to disable area select, Default: `false`"
577
- },
578
- "van-address-edit/save-button-text": {
579
- "type": "string",
580
- "description": "Save button text, Default: `Save`"
581
- },
582
- "van-address-edit/delete-button-text": {
583
- "type": "string",
584
- "description": "Delete button text, Default: `Delete`"
585
- },
586
- "van-address-edit/detail-rows": {
587
- "type": "number | string",
588
- "description": "Detail input rows, Default: `1`"
589
- },
590
- "van-address-edit/detail-maxlength": {
591
- "type": "number | string",
592
- "description": "Detail maxlength, Default: `200`"
593
- },
594
- "van-address-edit/is-saving": {
595
- "type": "boolean",
596
- "description": "Whether to show save button loading status, Default: `false`"
597
- },
598
- "van-address-edit/is-deleting": {
599
- "type": "boolean",
600
- "description": "Whether to show delete button loading status, Default: `false`"
601
- },
602
- "van-address-edit/tel-validator": {
603
- "type": "(tel: string) => boolean",
604
- "description": "The method to validate tel, Default: -"
605
- },
606
- "van-address-edit/tel-maxlength": {
607
- "type": "number | string",
608
- "description": "Tel maxlength, Default: -"
609
- },
610
- "van-address-edit/postal-validator": {
611
- "type": "(tel: string) => boolean",
612
- "description": "The method to validate postal, Default: -"
613
- },
614
- "van-address-edit/validator": {
615
- "type": "(key, val) => string",
616
- "description": "Custom validator, Default: -"
617
- },
618
618
  "van-cascader/title": {
619
619
  "type": "string",
620
620
  "description": "Title, Default: -"
@@ -895,6 +895,18 @@
895
895
  "type": "string",
896
896
  "description": "Custom element tag, Default: `div`"
897
897
  },
898
+ "van-config-provider/theme-vars": {
899
+ "type": "object",
900
+ "description": "Theme variables, Default: -"
901
+ },
902
+ "van-config-provider/tag": {
903
+ "type": "string",
904
+ "description": "HTML Tag of root element, Default: `div`"
905
+ },
906
+ "van-config-provider/icon-prefix": {
907
+ "type": "string",
908
+ "description": "Icon className prefix, Default: `van-icon`"
909
+ },
898
910
  "van-collapse/v-model": {
899
911
  "type": "accordion mode: _number | string_<br>non-accordion mode:_(number \\",
900
912
  "description": "Names of current active panels, Default: string)[]_",
@@ -950,6 +962,10 @@
950
962
  "type": "boolean",
951
963
  "description": "Whether to show link icon, Default: `true`"
952
964
  },
965
+ "van-collapse-item/lazy-render": {
966
+ "type": "boolean",
967
+ "description": "Whether to lazy render util opened, Default: `true`"
968
+ },
953
969
  "van-collapse-item/title-class": {
954
970
  "type": "string",
955
971
  "description": "Title className, Default: -"
@@ -962,18 +978,6 @@
962
978
  "type": "string",
963
979
  "description": "Label className, Default: -"
964
980
  },
965
- "van-config-provider/theme-vars": {
966
- "type": "object",
967
- "description": "Theme variables, Default: -"
968
- },
969
- "van-config-provider/tag": {
970
- "type": "string",
971
- "description": "HTML Tag of root element, Default: `div`"
972
- },
973
- "van-config-provider/icon-prefix": {
974
- "type": "string",
975
- "description": "Icon className prefix, Default: `van-icon`"
976
- },
977
981
  "van-contact-card/type": {
978
982
  "type": "string",
979
983
  "description": "Can be set to `edit`, Default: `add`"
@@ -1540,58 +1544,6 @@
1540
1544
  "type": "string",
1541
1545
  "description": "[autocomplete](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete) attribute of native input element, Default: -"
1542
1546
  },
1543
- "van-form/label-width": {
1544
- "type": "number | string",
1545
- "description": "Field label width, Default: `6.2em`"
1546
- },
1547
- "van-form/label-align": {
1548
- "type": "string",
1549
- "description": "Field label align, can be set to `center` `right`, Default: `left`"
1550
- },
1551
- "van-form/input-align": {
1552
- "type": "string",
1553
- "description": "Field input align, can be set to `center` `right`, Default: `left`"
1554
- },
1555
- "van-form/error-message-align": {
1556
- "type": "string",
1557
- "description": "Error message align, can be set to `center` `right`, Default: `left`"
1558
- },
1559
- "van-form/validate-trigger": {
1560
- "type": "string",
1561
- "description": "When to validate the form,can be set to `onChange`、`onSubmit`, Default: `onBlur`"
1562
- },
1563
- "van-form/colon": {
1564
- "type": "boolean",
1565
- "description": "Whether to display colon after label, Default: `false`"
1566
- },
1567
- "van-form/disabled": {
1568
- "type": "boolean",
1569
- "description": "Whether to disable form, Default: `false`"
1570
- },
1571
- "van-form/readonly": {
1572
- "type": "boolean",
1573
- "description": "Whether to be readonly, Default: `false`"
1574
- },
1575
- "van-form/validate-first": {
1576
- "type": "boolean",
1577
- "description": "Whether to stop the validation when a rule fails, Default: `false`"
1578
- },
1579
- "van-form/scroll-to-error": {
1580
- "type": "boolean",
1581
- "description": "Whether to scroll to the error field when validation failed, Default: `false`"
1582
- },
1583
- "van-form/show-error": {
1584
- "type": "boolean",
1585
- "description": "Whether to highlight input when validation failed, Default: `false`"
1586
- },
1587
- "van-form/show-error-message": {
1588
- "type": "boolean",
1589
- "description": "Whether to show error message when validation failed, Default: `true`"
1590
- },
1591
- "van-form/submit-on-enter": {
1592
- "type": "boolean",
1593
- "description": "Whether to submit form on enter, Default: `true`"
1594
- },
1595
1547
  "van-grid/column-num": {
1596
1548
  "type": "number | string",
1597
1549
  "description": "Column Num, Default: `4`"
@@ -1842,6 +1794,58 @@
1842
1794
  "type": "string | Element",
1843
1795
  "description": "Specifies a target element where ImagePreview will be mounted, Default: -"
1844
1796
  },
1797
+ "van-form/label-width": {
1798
+ "type": "number | string",
1799
+ "description": "Field label width, Default: `6.2em`"
1800
+ },
1801
+ "van-form/label-align": {
1802
+ "type": "string",
1803
+ "description": "Field label align, can be set to `center` `right`, Default: `left`"
1804
+ },
1805
+ "van-form/input-align": {
1806
+ "type": "string",
1807
+ "description": "Field input align, can be set to `center` `right`, Default: `left`"
1808
+ },
1809
+ "van-form/error-message-align": {
1810
+ "type": "string",
1811
+ "description": "Error message align, can be set to `center` `right`, Default: `left`"
1812
+ },
1813
+ "van-form/validate-trigger": {
1814
+ "type": "string",
1815
+ "description": "When to validate the form,can be set to `onChange`、`onSubmit`, Default: `onBlur`"
1816
+ },
1817
+ "van-form/colon": {
1818
+ "type": "boolean",
1819
+ "description": "Whether to display colon after label, Default: `false`"
1820
+ },
1821
+ "van-form/disabled": {
1822
+ "type": "boolean",
1823
+ "description": "Whether to disable form, Default: `false`"
1824
+ },
1825
+ "van-form/readonly": {
1826
+ "type": "boolean",
1827
+ "description": "Whether to be readonly, Default: `false`"
1828
+ },
1829
+ "van-form/validate-first": {
1830
+ "type": "boolean",
1831
+ "description": "Whether to stop the validation when a rule fails, Default: `false`"
1832
+ },
1833
+ "van-form/scroll-to-error": {
1834
+ "type": "boolean",
1835
+ "description": "Whether to scroll to the error field when validation failed, Default: `false`"
1836
+ },
1837
+ "van-form/show-error": {
1838
+ "type": "boolean",
1839
+ "description": "Whether to highlight input when validation failed, Default: `false`"
1840
+ },
1841
+ "van-form/show-error-message": {
1842
+ "type": "boolean",
1843
+ "description": "Whether to show error message when validation failed, Default: `true`"
1844
+ },
1845
+ "van-form/submit-on-enter": {
1846
+ "type": "boolean",
1847
+ "description": "Whether to submit form on enter, Default: `true`"
1848
+ },
1845
1849
  "van-index-bar/index-list": {
1846
1850
  "type": "string[] | number[]",
1847
1851
  "description": "Index List, Default: `A-Z`"
@@ -3393,33 +3397,6 @@
3393
3397
  "type": "boolean",
3394
3398
  "description": "Whether to be closeable, Default: `false`"
3395
3399
  },
3396
- "van-tree-select/items": {
3397
- "type": "TreeSelectItem[]",
3398
- "description": "Required datasets for the component, Default: `[]`"
3399
- },
3400
- "van-tree-select/height": {
3401
- "type": "number | string",
3402
- "description": "Height, Default: `300`"
3403
- },
3404
- "van-tree-select/main-active-index": {
3405
- "type": "number | string",
3406
- "description": "The index of selected parent node, Default: `0`"
3407
- },
3408
- "van-tree-select/active-id": {
3409
- "type": "number | string \\",
3410
- "description": "Id of selected item, Default: <br>(number \\",
3411
- "options": [
3412
- "string)[]_"
3413
- ]
3414
- },
3415
- "van-tree-select/max": {
3416
- "type": "number | string",
3417
- "description": "Maximum number of selected items, Default: `Infinity`"
3418
- },
3419
- "van-tree-select/selected-icon": {
3420
- "type": "string",
3421
- "description": "Selected icon, Default: `success`"
3422
- },
3423
3400
  "van-uploader/v-model": {
3424
3401
  "type": "FileListItem[]",
3425
3402
  "description": "List of uploaded files, Default: -"
@@ -3514,5 +3491,32 @@
3514
3491
  "van-uploader/upload-icon": {
3515
3492
  "type": "string",
3516
3493
  "description": "Upload icon, Default: `photograph`"
3494
+ },
3495
+ "van-tree-select/items": {
3496
+ "type": "TreeSelectItem[]",
3497
+ "description": "Required datasets for the component, Default: `[]`"
3498
+ },
3499
+ "van-tree-select/height": {
3500
+ "type": "number | string",
3501
+ "description": "Height, Default: `300`"
3502
+ },
3503
+ "van-tree-select/main-active-index": {
3504
+ "type": "number | string",
3505
+ "description": "The index of selected parent node, Default: `0`"
3506
+ },
3507
+ "van-tree-select/active-id": {
3508
+ "type": "number | string \\",
3509
+ "description": "Id of selected item, Default: <br>(number \\",
3510
+ "options": [
3511
+ "string)[]_"
3512
+ ]
3513
+ },
3514
+ "van-tree-select/max": {
3515
+ "type": "number | string",
3516
+ "description": "Maximum number of selected items, Default: `Infinity`"
3517
+ },
3518
+ "van-tree-select/selected-icon": {
3519
+ "type": "string",
3520
+ "description": "Selected icon, Default: `success`"
3517
3521
  }
3518
3522
  }
package/vetur/tags.json CHANGED
@@ -56,6 +56,32 @@
56
56
  "before-close"
57
57
  ]
58
58
  },
59
+ "van-address-edit": {
60
+ "attributes": [
61
+ "area-list",
62
+ "area-columns-placeholder",
63
+ "area-placeholder",
64
+ "address-info",
65
+ "search-result",
66
+ "show-postal",
67
+ "show-delete",
68
+ "show-set-default",
69
+ "show-search-result",
70
+ "show-area",
71
+ "show-detail",
72
+ "disable-area",
73
+ "save-button-text",
74
+ "delete-button-text",
75
+ "detail-rows",
76
+ "detail-maxlength",
77
+ "is-saving",
78
+ "is-deleting",
79
+ "tel-validator",
80
+ "tel-maxlength",
81
+ "postal-validator",
82
+ "validator"
83
+ ]
84
+ },
59
85
  "van-area": {
60
86
  "attributes": [
61
87
  "value",
@@ -170,32 +196,6 @@
170
196
  "lazy-load"
171
197
  ]
172
198
  },
173
- "van-address-edit": {
174
- "attributes": [
175
- "area-list",
176
- "area-columns-placeholder",
177
- "area-placeholder",
178
- "address-info",
179
- "search-result",
180
- "show-postal",
181
- "show-delete",
182
- "show-set-default",
183
- "show-search-result",
184
- "show-area",
185
- "show-detail",
186
- "disable-area",
187
- "save-button-text",
188
- "delete-button-text",
189
- "detail-rows",
190
- "detail-maxlength",
191
- "is-saving",
192
- "is-deleting",
193
- "tel-validator",
194
- "tel-maxlength",
195
- "postal-validator",
196
- "validator"
197
- ]
198
- },
199
199
  "van-cascader": {
200
200
  "attributes": [
201
201
  "title",
@@ -295,6 +295,13 @@
295
295
  "tag"
296
296
  ]
297
297
  },
298
+ "van-config-provider": {
299
+ "attributes": [
300
+ "theme-vars",
301
+ "tag",
302
+ "icon-prefix"
303
+ ]
304
+ },
298
305
  "van-collapse": {
299
306
  "attributes": [
300
307
  "v-model",
@@ -314,18 +321,12 @@
314
321
  "disabled",
315
322
  "readonly",
316
323
  "is-link",
324
+ "lazy-render",
317
325
  "title-class",
318
326
  "value-class",
319
327
  "label-class"
320
328
  ]
321
329
  },
322
- "van-config-provider": {
323
- "attributes": [
324
- "theme-vars",
325
- "tag",
326
- "icon-prefix"
327
- ]
328
- },
329
330
  "van-contact-card": {
330
331
  "attributes": [
331
332
  "type",
@@ -526,23 +527,6 @@
526
527
  "autocomplete"
527
528
  ]
528
529
  },
529
- "van-form": {
530
- "attributes": [
531
- "label-width",
532
- "label-align",
533
- "input-align",
534
- "error-message-align",
535
- "validate-trigger",
536
- "colon",
537
- "disabled",
538
- "readonly",
539
- "validate-first",
540
- "scroll-to-error",
541
- "show-error",
542
- "show-error-message",
543
- "submit-on-enter"
544
- ]
545
- },
546
530
  "van-grid": {
547
531
  "attributes": [
548
532
  "column-num",
@@ -624,6 +608,23 @@
624
608
  "teleport"
625
609
  ]
626
610
  },
611
+ "van-form": {
612
+ "attributes": [
613
+ "label-width",
614
+ "label-align",
615
+ "input-align",
616
+ "error-message-align",
617
+ "validate-trigger",
618
+ "colon",
619
+ "disabled",
620
+ "readonly",
621
+ "validate-first",
622
+ "scroll-to-error",
623
+ "show-error",
624
+ "show-error-message",
625
+ "submit-on-enter"
626
+ ]
627
+ },
627
628
  "van-index-bar": {
628
629
  "attributes": [
629
630
  "index-list",
@@ -1155,16 +1156,6 @@
1155
1156
  "closeable"
1156
1157
  ]
1157
1158
  },
1158
- "van-tree-select": {
1159
- "attributes": [
1160
- "items",
1161
- "height",
1162
- "main-active-index",
1163
- "active-id",
1164
- "max",
1165
- "selected-icon"
1166
- ]
1167
- },
1168
1159
  "van-uploader": {
1169
1160
  "attributes": [
1170
1161
  "v-model",
@@ -1191,5 +1182,15 @@
1191
1182
  "image-fit",
1192
1183
  "upload-icon"
1193
1184
  ]
1185
+ },
1186
+ "van-tree-select": {
1187
+ "attributes": [
1188
+ "items",
1189
+ "height",
1190
+ "main-active-index",
1191
+ "active-id",
1192
+ "max",
1193
+ "selected-icon"
1194
+ ]
1194
1195
  }
1195
1196
  }