vant 3.4.3 → 3.4.6

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 (380) hide show
  1. package/changelog.generated.md +92 -0
  2. package/es/area/Area.js +3 -1
  3. package/es/calendar/Calendar.d.ts +4 -0
  4. package/es/calendar/Calendar.js +2 -0
  5. package/es/calendar/index.d.ts +3 -0
  6. package/es/collapse-item/CollapseItem.d.ts +13 -0
  7. package/es/collapse-item/CollapseItem.js +3 -2
  8. package/es/collapse-item/index.d.ts +9 -0
  9. package/es/dialog/Dialog.d.ts +2 -1
  10. package/es/dialog/Dialog.js +19 -3
  11. package/es/dialog/function-call.d.ts +2 -1
  12. package/es/field/utils.js +2 -1
  13. package/es/index-bar/IndexBar.d.ts +4 -4
  14. package/es/index-bar/IndexBar.js +3 -1
  15. package/es/index-bar/index.d.ts +3 -3
  16. package/es/index.d.ts +1 -1
  17. package/es/index.js +1 -1
  18. package/es/locale/lang/bn-BD.d.ts +64 -0
  19. package/es/locale/lang/bn-BD.js +74 -0
  20. package/es/locale/lang/de-DE-formal.js +1 -1
  21. package/es/locale/lang/de-DE.js +1 -1
  22. package/es/locale/lang/en-US.js +1 -1
  23. package/es/locale/lang/es-ES.js +1 -1
  24. package/es/locale/lang/fr-FR.js +1 -1
  25. package/es/locale/lang/hi-IN.js +1 -1
  26. package/es/locale/lang/id-ID.d.ts +64 -0
  27. package/es/locale/lang/id-ID.js +66 -0
  28. package/es/locale/lang/it-IT.d.ts +64 -0
  29. package/es/locale/lang/it-IT.js +74 -0
  30. package/es/locale/lang/ja-JP.js +1 -1
  31. package/es/locale/lang/ko-KR.js +1 -1
  32. package/es/locale/lang/nb-NO.js +1 -1
  33. package/es/locale/lang/pt-BR.js +1 -1
  34. package/es/locale/lang/ro-RO.js +1 -1
  35. package/es/locale/lang/ru-RU.js +1 -1
  36. package/es/locale/lang/th-TH.js +1 -1
  37. package/es/locale/lang/uk-UA.d.ts +64 -0
  38. package/es/locale/lang/uk-UA.js +74 -0
  39. package/es/locale/lang/vi-VN.d.ts +64 -0
  40. package/es/locale/lang/vi-VN.js +74 -0
  41. package/es/locale/lang/zh-CN.js +1 -1
  42. package/es/locale/lang/zh-HK.js +1 -1
  43. package/es/locale/lang/zh-TW.js +1 -1
  44. package/es/nav-bar/NavBar.d.ts +1 -1
  45. package/es/nav-bar/NavBar.js +3 -3
  46. package/es/nav-bar/index.d.ts +1 -1
  47. package/es/popup/Popup.d.ts +6 -1
  48. package/es/popup/Popup.js +14 -3
  49. package/es/popup/index.d.ts +5 -1
  50. package/es/popup/types.d.ts +5 -2
  51. package/es/skeleton/Skeleton.js +6 -4
  52. package/es/style/base.css +1 -1
  53. package/es/style/base.less +5 -0
  54. package/es/submit-bar/index.css +1 -1
  55. package/es/submit-bar/index.less +1 -0
  56. package/es/swipe-cell/SwipeCell.js +1 -1
  57. package/es/toast/Toast.d.ts +3 -0
  58. package/es/toast/Toast.js +3 -1
  59. package/es/uploader/types.d.ts +1 -3
  60. package/es/utils/interceptor.d.ts +1 -1
  61. package/lib/action-bar/ActionBar.js +14 -13
  62. package/lib/action-bar/index.js +14 -8
  63. package/lib/action-bar-button/ActionBarButton.js +18 -17
  64. package/lib/action-bar-button/index.js +14 -8
  65. package/lib/action-bar-icon/ActionBarIcon.js +18 -17
  66. package/lib/action-bar-icon/index.js +14 -8
  67. package/lib/action-sheet/ActionSheet.js +17 -16
  68. package/lib/action-sheet/index.js +14 -8
  69. package/lib/address-edit/AddressEdit.js +25 -19
  70. package/lib/address-edit/AddressEditDetail.js +15 -14
  71. package/lib/address-edit/index.js +14 -8
  72. package/lib/address-edit/types.js +18 -1
  73. package/lib/address-list/AddressList.js +18 -12
  74. package/lib/address-list/AddressListItem.js +17 -16
  75. package/lib/address-list/index.js +14 -8
  76. package/lib/area/Area.js +20 -17
  77. package/lib/area/index.js +14 -8
  78. package/lib/area/types.js +18 -1
  79. package/lib/badge/Badge.js +13 -12
  80. package/lib/badge/index.js +14 -8
  81. package/lib/button/Button.js +16 -15
  82. package/lib/button/index.js +14 -8
  83. package/lib/button/types.js +18 -1
  84. package/lib/calendar/Calendar.d.ts +4 -0
  85. package/lib/calendar/Calendar.js +26 -18
  86. package/lib/calendar/CalendarDay.js +14 -13
  87. package/lib/calendar/CalendarHeader.js +14 -13
  88. package/lib/calendar/CalendarMonth.js +21 -15
  89. package/lib/calendar/index.d.ts +3 -0
  90. package/lib/calendar/index.js +14 -8
  91. package/lib/calendar/types.js +18 -1
  92. package/lib/calendar/utils.js +11 -10
  93. package/lib/card/Card.js +15 -14
  94. package/lib/card/index.js +14 -8
  95. package/lib/cascader/Cascader.js +16 -15
  96. package/lib/cascader/index.js +14 -8
  97. package/lib/cascader/types.js +18 -1
  98. package/lib/cell/Cell.js +15 -14
  99. package/lib/cell/index.js +14 -8
  100. package/lib/cell-group/CellGroup.js +13 -12
  101. package/lib/cell-group/index.js +14 -8
  102. package/lib/checkbox/Checkbox.js +19 -13
  103. package/lib/checkbox/Checker.js +14 -13
  104. package/lib/checkbox/index.js +14 -8
  105. package/lib/checkbox/types.js +18 -1
  106. package/lib/checkbox-group/CheckboxGroup.js +15 -14
  107. package/lib/checkbox-group/index.js +14 -8
  108. package/lib/checkbox-group/types.js +18 -1
  109. package/lib/circle/Circle.js +14 -13
  110. package/lib/circle/index.js +14 -8
  111. package/lib/col/Col.js +15 -14
  112. package/lib/col/index.js +14 -8
  113. package/lib/collapse/Collapse.js +14 -13
  114. package/lib/collapse/index.js +14 -8
  115. package/lib/collapse-item/CollapseItem.d.ts +13 -0
  116. package/lib/collapse-item/CollapseItem.js +22 -20
  117. package/lib/collapse-item/index.d.ts +9 -0
  118. package/lib/collapse-item/index.js +14 -8
  119. package/lib/collapse-item/types.js +18 -1
  120. package/lib/composables/on-popup-reopen.js +11 -10
  121. package/lib/composables/use-expose.js +12 -11
  122. package/lib/composables/use-height.js +12 -11
  123. package/lib/composables/use-id.js +11 -10
  124. package/lib/composables/use-lazy-render.js +11 -10
  125. package/lib/composables/use-lock-scroll.js +14 -13
  126. package/lib/composables/use-placeholder.js +12 -11
  127. package/lib/composables/use-refs.js +11 -10
  128. package/lib/composables/use-route.js +11 -10
  129. package/lib/composables/use-tab-status.js +11 -10
  130. package/lib/composables/use-touch.js +11 -10
  131. package/lib/composables/use-visibility-change.js +13 -12
  132. package/lib/config-provider/ConfigProvider.js +13 -12
  133. package/lib/config-provider/index.js +14 -8
  134. package/lib/contact-card/ContactCard.js +14 -13
  135. package/lib/contact-card/index.js +14 -8
  136. package/lib/contact-edit/ContactEdit.js +18 -17
  137. package/lib/contact-edit/index.js +14 -8
  138. package/lib/contact-list/ContactList.js +19 -18
  139. package/lib/contact-list/index.js +14 -8
  140. package/lib/count-down/CountDown.js +16 -15
  141. package/lib/count-down/index.js +14 -8
  142. package/lib/count-down/types.js +18 -1
  143. package/lib/count-down/utils.js +11 -10
  144. package/lib/coupon/Coupon.js +15 -14
  145. package/lib/coupon/index.js +14 -8
  146. package/lib/coupon/utils.js +11 -10
  147. package/lib/coupon-cell/CouponCell.js +14 -13
  148. package/lib/coupon-cell/index.js +14 -8
  149. package/lib/coupon-list/CouponList.js +20 -19
  150. package/lib/coupon-list/index.js +14 -8
  151. package/lib/datetime-picker/DatePicker.js +16 -15
  152. package/lib/datetime-picker/DatetimePicker.js +18 -12
  153. package/lib/datetime-picker/TimePicker.js +16 -15
  154. package/lib/datetime-picker/index.js +14 -8
  155. package/lib/datetime-picker/types.js +18 -1
  156. package/lib/datetime-picker/utils.js +12 -11
  157. package/lib/dialog/Dialog.d.ts +2 -1
  158. package/lib/dialog/Dialog.js +35 -18
  159. package/lib/dialog/function-call.d.ts +2 -1
  160. package/lib/dialog/function-call.js +16 -10
  161. package/lib/dialog/index.js +11 -10
  162. package/lib/dialog/types.js +18 -1
  163. package/lib/divider/Divider.js +13 -12
  164. package/lib/divider/index.js +14 -8
  165. package/lib/dropdown-item/DropdownItem.js +19 -18
  166. package/lib/dropdown-item/index.js +14 -8
  167. package/lib/dropdown-item/types.js +18 -1
  168. package/lib/dropdown-menu/DropdownMenu.js +15 -14
  169. package/lib/dropdown-menu/index.js +14 -8
  170. package/lib/dropdown-menu/types.js +18 -1
  171. package/lib/empty/Empty.js +14 -13
  172. package/lib/empty/Network.js +11 -10
  173. package/lib/empty/index.js +14 -8
  174. package/lib/field/Field.js +20 -19
  175. package/lib/field/index.js +14 -8
  176. package/lib/field/types.js +18 -1
  177. package/lib/field/utils.js +13 -11
  178. package/lib/form/Form.js +15 -14
  179. package/lib/form/index.js +14 -8
  180. package/lib/form/types.js +18 -1
  181. package/lib/grid/Grid.js +15 -14
  182. package/lib/grid/index.js +14 -8
  183. package/lib/grid-item/GridItem.js +18 -17
  184. package/lib/grid-item/index.js +14 -8
  185. package/lib/icon/Icon.js +15 -14
  186. package/lib/icon/index.js +14 -8
  187. package/lib/image/Image.js +14 -13
  188. package/lib/image/index.js +14 -8
  189. package/lib/image-preview/ImagePreview.js +21 -15
  190. package/lib/image-preview/ImagePreviewItem.js +17 -16
  191. package/lib/image-preview/function-call.js +16 -10
  192. package/lib/image-preview/index.js +11 -10
  193. package/lib/image-preview/types.js +18 -1
  194. package/lib/index-anchor/IndexAnchor.js +17 -16
  195. package/lib/index-anchor/index.js +14 -8
  196. package/lib/index-bar/IndexBar.d.ts +4 -4
  197. package/lib/index-bar/IndexBar.js +19 -16
  198. package/lib/index-bar/index.d.ts +3 -3
  199. package/lib/index-bar/index.js +14 -8
  200. package/lib/index-bar/types.js +18 -1
  201. package/lib/index.css +1 -1
  202. package/lib/index.d.ts +1 -1
  203. package/lib/index.js +182 -181
  204. package/lib/lazyload/index.js +11 -10
  205. package/lib/lazyload/vue-lazyload/index.js +16 -10
  206. package/lib/lazyload/vue-lazyload/lazy-component.js +12 -11
  207. package/lib/lazyload/vue-lazyload/lazy-container.js +11 -10
  208. package/lib/lazyload/vue-lazyload/lazy-image.js +13 -12
  209. package/lib/lazyload/vue-lazyload/lazy.js +17 -11
  210. package/lib/lazyload/vue-lazyload/listener.js +13 -12
  211. package/lib/lazyload/vue-lazyload/util.js +11 -10
  212. package/lib/list/List.js +17 -16
  213. package/lib/list/index.js +14 -8
  214. package/lib/list/types.js +18 -1
  215. package/lib/loading/Loading.js +13 -12
  216. package/lib/loading/index.js +14 -8
  217. package/lib/locale/index.js +15 -9
  218. package/lib/locale/lang/bn-BD.d.ts +64 -0
  219. package/lib/locale/lang/bn-BD.js +98 -0
  220. package/lib/locale/lang/de-DE-formal.js +20 -3
  221. package/lib/locale/lang/de-DE.js +20 -3
  222. package/lib/locale/lang/en-US.js +20 -3
  223. package/lib/locale/lang/es-ES.js +20 -3
  224. package/lib/locale/lang/fr-FR.js +20 -3
  225. package/lib/locale/lang/hi-IN.js +20 -3
  226. package/lib/locale/lang/id-ID.d.ts +64 -0
  227. package/lib/locale/lang/id-ID.js +90 -0
  228. package/lib/locale/lang/it-IT.d.ts +64 -0
  229. package/lib/locale/lang/it-IT.js +98 -0
  230. package/lib/locale/lang/ja-JP.js +20 -3
  231. package/lib/locale/lang/ko-KR.js +20 -3
  232. package/lib/locale/lang/nb-NO.js +20 -3
  233. package/lib/locale/lang/pt-BR.js +20 -3
  234. package/lib/locale/lang/ro-RO.js +20 -3
  235. package/lib/locale/lang/ru-RU.js +20 -3
  236. package/lib/locale/lang/th-TH.js +20 -3
  237. package/lib/locale/lang/tr-TR.js +19 -2
  238. package/lib/locale/lang/uk-UA.d.ts +64 -0
  239. package/lib/locale/lang/uk-UA.js +98 -0
  240. package/lib/locale/lang/vi-VN.d.ts +64 -0
  241. package/lib/locale/lang/vi-VN.js +98 -0
  242. package/lib/locale/lang/zh-CN.js +20 -3
  243. package/lib/locale/lang/zh-HK.js +20 -3
  244. package/lib/locale/lang/zh-TW.js +20 -3
  245. package/lib/nav-bar/NavBar.d.ts +1 -1
  246. package/lib/nav-bar/NavBar.js +18 -17
  247. package/lib/nav-bar/index.d.ts +1 -1
  248. package/lib/nav-bar/index.js +14 -8
  249. package/lib/notice-bar/NoticeBar.js +17 -16
  250. package/lib/notice-bar/index.js +14 -8
  251. package/lib/notice-bar/types.js +18 -1
  252. package/lib/notify/Notify.js +15 -14
  253. package/lib/notify/function-call.js +16 -10
  254. package/lib/notify/index.js +11 -10
  255. package/lib/notify/types.js +18 -1
  256. package/lib/number-keyboard/NumberKeyboard.js +17 -11
  257. package/lib/number-keyboard/NumberKeyboardKey.js +15 -14
  258. package/lib/number-keyboard/index.js +14 -8
  259. package/lib/overlay/Overlay.js +14 -13
  260. package/lib/overlay/index.js +14 -8
  261. package/lib/pagination/Pagination.js +13 -12
  262. package/lib/pagination/index.js +14 -8
  263. package/lib/password-input/PasswordInput.js +13 -12
  264. package/lib/password-input/index.js +14 -8
  265. package/lib/picker/Picker.js +19 -13
  266. package/lib/picker/PickerColumn.js +17 -16
  267. package/lib/picker/index.js +14 -8
  268. package/lib/picker/types.js +18 -1
  269. package/lib/popover/Popover.js +17 -16
  270. package/lib/popover/index.js +14 -8
  271. package/lib/popover/types.js +18 -1
  272. package/lib/popup/Popup.d.ts +6 -1
  273. package/lib/popup/Popup.js +34 -22
  274. package/lib/popup/index.d.ts +5 -1
  275. package/lib/popup/index.js +14 -8
  276. package/lib/popup/shared.js +11 -10
  277. package/lib/popup/types.d.ts +5 -2
  278. package/lib/popup/types.js +18 -1
  279. package/lib/progress/Progress.js +13 -12
  280. package/lib/progress/index.js +14 -8
  281. package/lib/progress/types.js +18 -1
  282. package/lib/pull-refresh/PullRefresh.js +16 -15
  283. package/lib/pull-refresh/index.js +14 -8
  284. package/lib/radio/Radio.js +18 -12
  285. package/lib/radio/index.js +14 -8
  286. package/lib/radio-group/RadioGroup.js +14 -13
  287. package/lib/radio-group/index.js +14 -8
  288. package/lib/rate/Rate.js +17 -16
  289. package/lib/rate/index.js +14 -8
  290. package/lib/row/Row.js +14 -13
  291. package/lib/row/index.js +14 -8
  292. package/lib/search/Search.js +17 -16
  293. package/lib/search/index.js +14 -8
  294. package/lib/search/types.js +18 -1
  295. package/lib/share-sheet/ShareSheet.js +15 -14
  296. package/lib/share-sheet/index.js +14 -8
  297. package/lib/sidebar/Sidebar.js +14 -13
  298. package/lib/sidebar/index.js +14 -8
  299. package/lib/sidebar-item/SidebarItem.js +17 -16
  300. package/lib/sidebar-item/index.js +14 -8
  301. package/lib/skeleton/Skeleton.js +18 -15
  302. package/lib/skeleton/index.js +14 -8
  303. package/lib/slider/Slider.js +15 -14
  304. package/lib/slider/index.js +14 -8
  305. package/lib/step/Step.js +16 -15
  306. package/lib/step/index.js +14 -8
  307. package/lib/stepper/Stepper.js +14 -13
  308. package/lib/stepper/index.js +14 -8
  309. package/lib/steps/Steps.js +14 -13
  310. package/lib/steps/index.js +14 -8
  311. package/lib/sticky/Sticky.js +15 -14
  312. package/lib/sticky/index.js +14 -8
  313. package/lib/style/base.css +1 -1
  314. package/lib/style/base.less +5 -0
  315. package/lib/submit-bar/SubmitBar.js +15 -14
  316. package/lib/submit-bar/index.css +1 -1
  317. package/lib/submit-bar/index.js +14 -8
  318. package/lib/submit-bar/index.less +1 -0
  319. package/lib/swipe/Swipe.js +17 -16
  320. package/lib/swipe/index.js +14 -8
  321. package/lib/swipe/types.js +18 -1
  322. package/lib/swipe-cell/SwipeCell.js +17 -16
  323. package/lib/swipe-cell/index.js +14 -8
  324. package/lib/swipe-cell/types.js +18 -1
  325. package/lib/swipe-item/SwipeItem.js +16 -15
  326. package/lib/swipe-item/index.js +14 -8
  327. package/lib/switch/Switch.js +15 -14
  328. package/lib/switch/index.js +14 -8
  329. package/lib/tab/Tab.js +20 -19
  330. package/lib/tab/index.js +14 -8
  331. package/lib/tabbar/Tabbar.js +15 -14
  332. package/lib/tabbar/index.js +14 -8
  333. package/lib/tabbar-item/TabbarItem.js +18 -17
  334. package/lib/tabbar-item/index.js +14 -8
  335. package/lib/tabs/Tabs.js +25 -19
  336. package/lib/tabs/TabsContent.js +14 -13
  337. package/lib/tabs/TabsTitle.js +14 -13
  338. package/lib/tabs/index.js +14 -8
  339. package/lib/tabs/types.js +18 -1
  340. package/lib/tabs/utils.js +12 -11
  341. package/lib/tag/Tag.js +14 -13
  342. package/lib/tag/index.js +14 -8
  343. package/lib/toast/Toast.d.ts +3 -0
  344. package/lib/toast/Toast.js +20 -17
  345. package/lib/toast/function-call.js +17 -11
  346. package/lib/toast/index.js +11 -10
  347. package/lib/toast/lock-click.js +19 -2
  348. package/lib/toast/types.js +18 -1
  349. package/lib/tree-select/TreeSelect.js +16 -15
  350. package/lib/tree-select/index.js +14 -8
  351. package/lib/uploader/Uploader.js +21 -15
  352. package/lib/uploader/UploaderPreviewItem.js +17 -16
  353. package/lib/uploader/index.js +14 -8
  354. package/lib/uploader/types.d.ts +1 -3
  355. package/lib/uploader/types.js +18 -1
  356. package/lib/uploader/utils.js +11 -10
  357. package/lib/utils/basic.js +19 -2
  358. package/lib/utils/constant.js +19 -2
  359. package/lib/utils/create.js +16 -10
  360. package/lib/utils/deep-assign.js +11 -10
  361. package/lib/utils/deep-clone.js +11 -10
  362. package/lib/utils/dom.js +13 -12
  363. package/lib/utils/format.js +13 -12
  364. package/lib/utils/index.js +18 -17
  365. package/lib/utils/interceptor.d.ts +1 -1
  366. package/lib/utils/interceptor.js +12 -11
  367. package/lib/utils/mount-component.js +13 -12
  368. package/lib/utils/props.js +19 -2
  369. package/lib/utils/validate.js +11 -10
  370. package/lib/utils/with-install.js +11 -10
  371. package/lib/vant.cjs.js +57 -18
  372. package/lib/vant.cjs.min.js +1 -1
  373. package/lib/vant.es.js +58 -19
  374. package/lib/vant.es.min.js +58 -19
  375. package/lib/vant.js +60 -21
  376. package/lib/vant.min.js +1 -1
  377. package/package.json +4 -7
  378. package/vetur/attributes.json +180 -168
  379. package/vetur/tags.json +57 -54
  380. package/vetur/web-types.json +611 -581
@@ -0,0 +1,92 @@
1
+ ### [v3.4.6](https://github.com/youzan/vant/compare/v3.4.5...v3.4.6)
2
+
3
+ `2022-03-13`
4
+
5
+ **Bug Fixes**
6
+
7
+ - 🐛 修复官网更新日志的版本链接及 issue 链接异常的问题 [#10329](https://github.com/youzan/vant/issues/10329)
8
+ - cli: issue link in generated changelog [#10337](https://github.com/youzan/vant/issues/10337)
9
+ - Skeleton: fix non-props attributes warning [#10384](https://github.com/youzan/vant/issues/10384)
10
+ - SwipeCell: cell should stopPropagation when lockClick is true [#10319](https://github.com/youzan/vant/issues/10319)
11
+ - Toast: failed to render message after changing type [#10311](https://github.com/youzan/vant/issues/10311)
12
+ - vant-cli: decamelize ReDoS [#10351](https://github.com/youzan/vant/issues/10351)
13
+
14
+ **Document**
15
+
16
+ - @vant/use: changelog 1.3.6 [f95239](https://github.com/youzan/vant/commit/f95239006cf23665593c8316258f4cec4237f29a)
17
+ - add mirror repo description [#10382](https://github.com/youzan/vant/issues/10382)
18
+ - add Vant 4 link [#10340](https://github.com/youzan/vant/issues/10340)
19
+ - Calendar: add formatter async usage [#10385](https://github.com/youzan/vant/issues/10385)
20
+ - changelog: 3.4.5 [0a50e7](https://github.com/youzan/vant/commit/0a50e721aa399b2540474d979e185795790b7a56)
21
+ - changelog: fix link mistake [#10328](https://github.com/youzan/vant/issues/10328)
22
+ - Field: add v-model type guide [#10383](https://github.com/youzan/vant/issues/10383)
23
+ - modify JSX.ELement to JSX.Element [#10344](https://github.com/youzan/vant/issues/10344)
24
+ - update react-vant address [#10305](https://github.com/youzan/vant/issues/10305)
25
+ - update vite-plugin-style-import version [#10303](https://github.com/youzan/vant/issues/10303)
26
+
27
+ - Update contribution.zh-CN.md (#10314) [#10314](https://github.com/youzan/vant/issues/10314)
28
+
29
+ **Feature**
30
+
31
+ - add van-safe-area-top class [#10356](https://github.com/youzan/vant/issues/10356)
32
+ - Calendar: add safe-area-inset-top prop [#10358](https://github.com/youzan/vant/issues/10358)
33
+ - Popup: add safe-area-inset-top prop [#10357](https://github.com/youzan/vant/issues/10357)
34
+
35
+ **release**
36
+
37
+ - @vant/cli 4.0.1 [202efb](https://github.com/youzan/vant/commit/202efbbf85ec94f7d804075d1ecbfb71c6824cb4)
38
+ - @vant/use 1.3.6 [1040af](https://github.com/youzan/vant/commit/1040afdda6e6f8bb98ea36cbc9212b65ecb8c49b)
39
+
40
+ **Types**
41
+
42
+ - fix missing VisibilityState after typescript 4.6.0 [#10370](https://github.com/youzan/vant/issues/10370)
43
+ ### [v3.4.5](https://github.com/youzan/vant/compare/v3.4.3...v3.4.5)
44
+
45
+ `2022-02-14`
46
+
47
+ **Bug Fixes**
48
+
49
+ - Dialog: skip keyboard events of child elements [#10285](https://github.com/youzan/vant/issues/10285)
50
+
51
+ **Document**
52
+
53
+ - @vant/cli: changelog 4.0.0 [71eb44](https://github.com/youzan/vant/commit/71eb44b42ef6936353fc4dddc761347b9c7ee0cf)
54
+ - changelog: 3.4.3 [f65c41](https://github.com/youzan/vant/commit/f65c4198dc22661b26cbfa50e7d8c94ff0271811)
55
+ - changelog: 3.4.4 [bb500f](https://github.com/youzan/vant/commit/bb500f32872e48b4328c3813fcbf624e5b341505)
56
+ - fix v2 site link [#10266](https://github.com/youzan/vant/issues/10266)
57
+ - update CDN link [d6cd92](https://github.com/youzan/vant/commit/d6cd92910ce022168d40b6c7c12055163747ec1a)
58
+ - update changelog link [f4cbcb](https://github.com/youzan/vant/commit/f4cbcb22a2b4fce4407435b1e9624db86472f484)
59
+ - update install guide [733a21](https://github.com/youzan/vant/commit/733a2149d65752d38cbfa453edcc888706421982)
60
+ - update npm shields link [#10268](https://github.com/youzan/vant/issues/10268)
61
+ - update site folder [98c86d](https://github.com/youzan/vant/commit/98c86dcc0ddaca096a756c4a021e31a080a4f374)
62
+ - update site subtitle [#10267](https://github.com/youzan/vant/issues/10267)
63
+
64
+ **Feature**
65
+
66
+ - CollapseItem: add lazy-render prop [#10270](https://github.com/youzan/vant/issues/10270)
67
+ - copy code to clipboard [#9692](https://github.com/youzan/vant/issues/9692) [#10255](https://github.com/youzan/vant/issues/10255) [#9692](https://github.com/youzan/vant/issues/9692)
68
+ - create-vant-cli-app: update to cli v4 [8700b8](https://github.com/youzan/vant/commit/8700b86e67503e98cd5563ecfa4cf5fd29864d0a)
69
+ - Dialog: support enter/esc keyboard event [#10261](https://github.com/youzan/vant/issues/10261)
70
+ - Locale: add Bangla (Bangladesh) [#10287](https://github.com/youzan/vant/issues/10287)
71
+ - Locale: add Indonesian translation [#10289](https://github.com/youzan/vant/issues/10289)
72
+ - Locale: add Italain translation [#10288](https://github.com/youzan/vant/issues/10288)
73
+ - Locale: add Ukrainian translation [#10291](https://github.com/youzan/vant/issues/10291)
74
+ - Locale: add Vietnamese translation [#10294](https://github.com/youzan/vant/issues/10294)
75
+
76
+ **release**
77
+
78
+ - @vant/cli 4.0.0 [5a1dea](https://github.com/youzan/vant/commit/5a1deaf68d072b26748b262af4902b3501dcd532)
79
+ - 3.4.4 [a5d111](https://github.com/youzan/vant/commit/a5d111d07386ea928aa295a98171a631d559306f)
80
+ - 3.4.5 [9fa784](https://github.com/youzan/vant/commit/9fa7840c617f55dd782a0f7c78b61d538aee6df7)
81
+ - create-vant-cli-app 2.0.0 [3d3597](https://github.com/youzan/vant/commit/3d3597c214999834df289f55d982b3d4c506b1b9)
82
+
83
+ **style**
84
+
85
+ - SubmitBar: using english colon [#10286](https://github.com/youzan/vant/issues/10286)
86
+
87
+ **Types**
88
+
89
+ - fix ts errors in demo files [#10275](https://github.com/youzan/vant/issues/10275)
90
+ - IndexBar: index-list prop can includes number [#10273](https://github.com/youzan/vant/issues/10273)
91
+ - Toast: fix missing teleport prop [#10272](https://github.com/youzan/vant/issues/10272)
92
+ - Uploader: fix UploaderBeforeRead type [#10274](https://github.com/youzan/vant/issues/10274)
package/es/area/Area.js CHANGED
@@ -212,7 +212,9 @@ var stdin_default = defineComponent({
212
212
  watch(() => props.areaList, setValues, {
213
213
  deep: true
214
214
  });
215
- watch(() => props.columnsNum, () => nextTick(setValues));
215
+ watch(() => props.columnsNum, () => {
216
+ nextTick(setValues);
217
+ });
216
218
  useExpose({
217
219
  reset,
218
220
  getArea,
@@ -66,6 +66,7 @@ declare const calendarProps: {
66
66
  type: BooleanConstructor;
67
67
  default: true;
68
68
  };
69
+ safeAreaInsetTop: BooleanConstructor;
69
70
  safeAreaInsetBottom: {
70
71
  type: BooleanConstructor;
71
72
  default: true;
@@ -152,6 +153,7 @@ declare const _default: import("vue").DefineComponent<{
152
153
  type: BooleanConstructor;
153
154
  default: true;
154
155
  };
156
+ safeAreaInsetTop: BooleanConstructor;
155
157
  safeAreaInsetBottom: {
156
158
  type: BooleanConstructor;
157
159
  default: true;
@@ -236,6 +238,7 @@ declare const _default: import("vue").DefineComponent<{
236
238
  type: BooleanConstructor;
237
239
  default: true;
238
240
  };
241
+ safeAreaInsetTop: BooleanConstructor;
239
242
  safeAreaInsetBottom: {
240
243
  type: BooleanConstructor;
241
244
  default: true;
@@ -273,6 +276,7 @@ declare const _default: import("vue").DefineComponent<{
273
276
  lazyRender: boolean;
274
277
  closeOnClickOverlay: boolean;
275
278
  closeOnPopstate: boolean;
279
+ safeAreaInsetTop: boolean;
276
280
  minDate: Date;
277
281
  maxDate: Date;
278
282
  poppable: boolean;
@@ -36,6 +36,7 @@ const calendarProps = {
36
36
  showRangePrompt: truthProp,
37
37
  confirmDisabledText: String,
38
38
  closeOnClickOverlay: truthProp,
39
+ safeAreaInsetTop: Boolean,
39
40
  safeAreaInsetBottom: truthProp,
40
41
  minDate: {
41
42
  type: Date,
@@ -384,6 +385,7 @@ var stdin_default = defineComponent({
384
385
  "closeable": props.showTitle || props.showSubtitle,
385
386
  "teleport": props.teleport,
386
387
  "closeOnPopstate": props.closeOnPopstate,
388
+ "safeAreaInsetTop": props.safeAreaInsetTop,
387
389
  "closeOnClickOverlay": props.closeOnClickOverlay,
388
390
  "onUpdate:show": updateShow
389
391
  }, {
@@ -63,6 +63,7 @@ export declare const Calendar: import("../utils").WithInstall<import("vue").Defi
63
63
  type: BooleanConstructor;
64
64
  default: true;
65
65
  };
66
+ safeAreaInsetTop: BooleanConstructor;
66
67
  safeAreaInsetBottom: {
67
68
  type: BooleanConstructor;
68
69
  default: true;
@@ -147,6 +148,7 @@ export declare const Calendar: import("../utils").WithInstall<import("vue").Defi
147
148
  type: BooleanConstructor;
148
149
  default: true;
149
150
  };
151
+ safeAreaInsetTop: BooleanConstructor;
150
152
  safeAreaInsetBottom: {
151
153
  type: BooleanConstructor;
152
154
  default: true;
@@ -184,6 +186,7 @@ export declare const Calendar: import("../utils").WithInstall<import("vue").Defi
184
186
  lazyRender: boolean;
185
187
  closeOnClickOverlay: boolean;
186
188
  closeOnPopstate: boolean;
189
+ safeAreaInsetTop: boolean;
187
190
  minDate: Date;
188
191
  maxDate: Date;
189
192
  poppable: boolean;
@@ -30,6 +30,10 @@ declare const collapseItemProps: {
30
30
  };
31
31
  disabled: BooleanConstructor;
32
32
  readonly: BooleanConstructor;
33
+ lazyRender: {
34
+ type: BooleanConstructor;
35
+ default: true;
36
+ };
33
37
  };
34
38
  export declare type CollapseItemProps = ExtractPropTypes<typeof collapseItemProps>;
35
39
  declare const _default: import("vue").DefineComponent<{
@@ -63,6 +67,10 @@ declare const _default: import("vue").DefineComponent<{
63
67
  };
64
68
  disabled: BooleanConstructor;
65
69
  readonly: BooleanConstructor;
70
+ lazyRender: {
71
+ type: BooleanConstructor;
72
+ default: true;
73
+ };
66
74
  }, (() => JSX.Element) | undefined, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
67
75
  icon: StringConstructor;
68
76
  size: import("vue").PropType<import("../cell").CellSize>;
@@ -94,6 +102,10 @@ declare const _default: import("vue").DefineComponent<{
94
102
  };
95
103
  disabled: BooleanConstructor;
96
104
  readonly: BooleanConstructor;
105
+ lazyRender: {
106
+ type: BooleanConstructor;
107
+ default: true;
108
+ };
97
109
  }>>, {
98
110
  center: boolean;
99
111
  disabled: boolean;
@@ -102,5 +114,6 @@ declare const _default: import("vue").DefineComponent<{
102
114
  required: boolean;
103
115
  clickable: boolean | null;
104
116
  readonly: boolean;
117
+ lazyRender: boolean;
105
118
  }>;
106
119
  export default _default;
@@ -13,7 +13,8 @@ const collapseItemProps = extend({}, cellSharedProps, {
13
13
  name: numericProp,
14
14
  isLink: truthProp,
15
15
  disabled: Boolean,
16
- readonly: Boolean
16
+ readonly: Boolean,
17
+ lazyRender: truthProp
17
18
  });
18
19
  var stdin_default = defineComponent({
19
20
  name,
@@ -39,7 +40,7 @@ var stdin_default = defineComponent({
39
40
  });
40
41
  const expanded = computed(() => parent.isExpanded(name2.value));
41
42
  const show = ref(expanded.value);
42
- const lazyRender = useLazyRender(show);
43
+ const lazyRender = useLazyRender(() => show.value || !props.lazyRender);
43
44
  const onTransitionEnd = () => {
44
45
  if (!expanded.value) {
45
46
  show.value = false;
@@ -29,6 +29,10 @@ export declare const CollapseItem: import("../utils").WithInstall<import("vue").
29
29
  };
30
30
  disabled: BooleanConstructor;
31
31
  readonly: BooleanConstructor;
32
+ lazyRender: {
33
+ type: BooleanConstructor;
34
+ default: true;
35
+ };
32
36
  }, (() => JSX.Element) | undefined, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
33
37
  icon: StringConstructor;
34
38
  size: import("vue").PropType<import("..").CellSize>;
@@ -60,6 +64,10 @@ export declare const CollapseItem: import("../utils").WithInstall<import("vue").
60
64
  };
61
65
  disabled: BooleanConstructor;
62
66
  readonly: BooleanConstructor;
67
+ lazyRender: {
68
+ type: BooleanConstructor;
69
+ default: true;
70
+ };
63
71
  }>>, {
64
72
  center: boolean;
65
73
  disabled: boolean;
@@ -68,6 +76,7 @@ export declare const CollapseItem: import("../utils").WithInstall<import("vue").
68
76
  required: boolean;
69
77
  clickable: boolean | null;
70
78
  readonly: boolean;
79
+ lazyRender: boolean;
71
80
  }>>;
72
81
  export default CollapseItem;
73
82
  export type { CollapseItemProps } from './CollapseItem';
@@ -106,7 +106,7 @@ declare const _default: import("vue").DefineComponent<{
106
106
  default: true;
107
107
  };
108
108
  closeOnClickOverlay: BooleanConstructor;
109
- }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:show" | "cancel" | "confirm")[], "update:show" | "cancel" | "confirm", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
109
+ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("keydown" | "update:show" | "cancel" | "confirm")[], "keydown" | "update:show" | "cancel" | "confirm", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
110
110
  show: BooleanConstructor;
111
111
  zIndex: (NumberConstructor | StringConstructor)[];
112
112
  overlay: {
@@ -159,6 +159,7 @@ declare const _default: import("vue").DefineComponent<{
159
159
  };
160
160
  closeOnClickOverlay: BooleanConstructor;
161
161
  }>> & {
162
+ onKeydown?: ((...args: any[]) => any) | undefined;
162
163
  "onUpdate:show"?: ((...args: any[]) => any) | undefined;
163
164
  onCancel?: ((...args: any[]) => any) | undefined;
164
165
  onConfirm?: ((...args: any[]) => any) | undefined;
@@ -1,6 +1,6 @@
1
1
  import { mergeProps as _mergeProps, createVNode as _createVNode } from "vue";
2
- import { reactive, defineComponent } from "vue";
3
- import { pick, extend, addUnit, truthProp, isFunction, BORDER_TOP, BORDER_LEFT, unknownProp, numericProp, makeStringProp, callInterceptor, createNamespace } from "../utils";
2
+ import { ref, reactive, withKeys, defineComponent } from "vue";
3
+ import { noop, pick, extend, addUnit, truthProp, isFunction, BORDER_TOP, BORDER_LEFT, unknownProp, numericProp, makeStringProp, callInterceptor, createNamespace } from "../utils";
4
4
  import { popupSharedProps, popupSharedPropKeys } from "../popup/shared";
5
5
  import { Popup } from "../popup";
6
6
  import { Button } from "../button";
@@ -30,11 +30,12 @@ const popupInheritKeys = [...popupSharedPropKeys, "transition", "closeOnPopstate
30
30
  var stdin_default = defineComponent({
31
31
  name,
32
32
  props: dialogProps,
33
- emits: ["confirm", "cancel", "update:show"],
33
+ emits: ["confirm", "cancel", "keydown", "update:show"],
34
34
  setup(props, {
35
35
  emit,
36
36
  slots
37
37
  }) {
38
+ const root = ref();
38
39
  const loading = reactive({
39
40
  confirm: false,
40
41
  cancel: false
@@ -68,6 +69,18 @@ var stdin_default = defineComponent({
68
69
  };
69
70
  const onCancel = getActionHandler("cancel");
70
71
  const onConfirm = getActionHandler("confirm");
72
+ const onKeydown = withKeys((event) => {
73
+ var _a, _b;
74
+ if (event.target !== ((_b = (_a = root.value) == null ? void 0 : _a.popupRef) == null ? void 0 : _b.value)) {
75
+ return;
76
+ }
77
+ const onEventType = {
78
+ Enter: props.showConfirmButton ? onConfirm : noop,
79
+ Escape: props.showCancelButton ? onCancel : noop
80
+ };
81
+ onEventType[event.key]();
82
+ emit("keydown", event);
83
+ }, ["enter", "esc"]);
71
84
  const renderTitle = () => {
72
85
  const title = slots.title ? slots.title() : props.title;
73
86
  if (title) {
@@ -177,12 +190,15 @@ var stdin_default = defineComponent({
177
190
  className
178
191
  } = props;
179
192
  return _createVNode(Popup, _mergeProps({
193
+ "ref": root,
180
194
  "role": "dialog",
181
195
  "class": [bem([theme]), className],
182
196
  "style": {
183
197
  width: addUnit(width)
184
198
  },
199
+ "tabindex": 0,
185
200
  "aria-labelledby": title || message,
201
+ "onKeydown": onKeydown,
186
202
  "onUpdate:show": updateShow
187
203
  }, pick(props, popupInheritKeys)), {
188
204
  default: () => [renderTitle(), renderContent(), renderFooter()]
@@ -109,7 +109,7 @@ declare namespace Dialog {
109
109
  default: true;
110
110
  };
111
111
  closeOnClickOverlay: BooleanConstructor;
112
- }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:show" | "cancel" | "confirm")[], "update:show" | "cancel" | "confirm", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
112
+ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("keydown" | "update:show" | "cancel" | "confirm")[], "keydown" | "update:show" | "cancel" | "confirm", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
113
113
  show: BooleanConstructor;
114
114
  zIndex: (NumberConstructor | StringConstructor)[];
115
115
  overlay: {
@@ -162,6 +162,7 @@ declare namespace Dialog {
162
162
  };
163
163
  closeOnClickOverlay: BooleanConstructor;
164
164
  }>> & {
165
+ onKeydown?: ((...args: any[]) => any) | undefined;
165
166
  "onUpdate:show"?: ((...args: any[]) => any) | undefined;
166
167
  onCancel?: ((...args: any[]) => any) | undefined;
167
168
  onConfirm?: ((...args: any[]) => any) | undefined;
package/es/field/utils.js CHANGED
@@ -27,7 +27,8 @@ function runRuleValidator(value, rule) {
27
27
  return new Promise((resolve) => {
28
28
  const returnVal = rule.validator(value, rule);
29
29
  if (isPromise(returnVal)) {
30
- return returnVal.then(resolve);
30
+ returnVal.then(resolve);
31
+ return;
31
32
  }
32
33
  resolve(returnVal);
33
34
  });
@@ -14,7 +14,7 @@ declare const indexBarProps: {
14
14
  default: number;
15
15
  };
16
16
  indexList: {
17
- type: PropType<string[]>;
17
+ type: PropType<(string | number)[]>;
18
18
  default: typeof genAlphabet;
19
19
  };
20
20
  };
@@ -33,7 +33,7 @@ declare const _default: import("vue").DefineComponent<{
33
33
  default: number;
34
34
  };
35
35
  indexList: {
36
- type: PropType<string[]>;
36
+ type: PropType<(string | number)[]>;
37
37
  default: typeof genAlphabet;
38
38
  };
39
39
  }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("select" | "change")[], "select" | "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
@@ -49,7 +49,7 @@ declare const _default: import("vue").DefineComponent<{
49
49
  default: number;
50
50
  };
51
51
  indexList: {
52
- type: PropType<string[]>;
52
+ type: PropType<(string | number)[]>;
53
53
  default: typeof genAlphabet;
54
54
  };
55
55
  }>> & {
@@ -58,6 +58,6 @@ declare const _default: import("vue").DefineComponent<{
58
58
  }, {
59
59
  sticky: boolean;
60
60
  stickyOffsetTop: number;
61
- indexList: string[];
61
+ indexList: (string | number)[];
62
62
  }>;
63
63
  export default _default;
@@ -105,7 +105,9 @@ var stdin_default = defineComponent({
105
105
  });
106
106
  }
107
107
  };
108
- const init = () => nextTick(onScroll);
108
+ const init = () => {
109
+ nextTick(onScroll);
110
+ };
109
111
  useEventListener("scroll", onScroll, {
110
112
  target: scrollParent
111
113
  });
@@ -12,7 +12,7 @@ export declare const IndexBar: import("../utils").WithInstall<import("vue").Defi
12
12
  default: number;
13
13
  };
14
14
  indexList: {
15
- type: import("vue").PropType<string[]>;
15
+ type: import("vue").PropType<(string | number)[]>;
16
16
  default: () => string[];
17
17
  };
18
18
  }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("select" | "change")[], "select" | "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
@@ -28,7 +28,7 @@ export declare const IndexBar: import("../utils").WithInstall<import("vue").Defi
28
28
  default: number;
29
29
  };
30
30
  indexList: {
31
- type: import("vue").PropType<string[]>;
31
+ type: import("vue").PropType<(string | number)[]>;
32
32
  default: () => string[];
33
33
  };
34
34
  }>> & {
@@ -37,7 +37,7 @@ export declare const IndexBar: import("../utils").WithInstall<import("vue").Defi
37
37
  }, {
38
38
  sticky: boolean;
39
39
  stickyOffsetTop: number;
40
- indexList: string[];
40
+ indexList: (string | number)[];
41
41
  }>>;
42
42
  export default IndexBar;
43
43
  export type { IndexBarProps };
package/es/index.d.ts CHANGED
@@ -90,4 +90,4 @@ declare namespace _default {
90
90
  }
91
91
  export default _default;
92
92
  export function install(app: any): void;
93
- export const version: "3.4.3";
93
+ export const version: "3.4.6";
package/es/index.js CHANGED
@@ -83,7 +83,7 @@ import { Tag } from "./tag";
83
83
  import { Toast } from "./toast";
84
84
  import { TreeSelect } from "./tree-select";
85
85
  import { Uploader } from "./uploader";
86
- const version = "3.4.3";
86
+ const version = "3.4.6";
87
87
  function install(app) {
88
88
  const components = [
89
89
  ActionBar,
@@ -0,0 +1,64 @@
1
+ declare const _default: {
2
+ name: string;
3
+ tel: string;
4
+ save: string;
5
+ confirm: string;
6
+ cancel: string;
7
+ delete: string;
8
+ loading: string;
9
+ noCoupon: string;
10
+ nameEmpty: string;
11
+ addContact: string;
12
+ telInvalid: string;
13
+ vanCalendar: {
14
+ end: string;
15
+ start: string;
16
+ title: string;
17
+ weekdays: string[];
18
+ monthTitle: (year: number, month: number) => string;
19
+ rangePrompt: (maxRange: number) => string;
20
+ };
21
+ vanCascader: {
22
+ select: string;
23
+ };
24
+ vanPagination: {
25
+ prev: string;
26
+ next: string;
27
+ };
28
+ vanPullRefresh: {
29
+ pulling: string;
30
+ loosing: string;
31
+ };
32
+ vanSubmitBar: {
33
+ label: string;
34
+ };
35
+ vanCoupon: {
36
+ unlimited: string;
37
+ discount: (discount: number) => string;
38
+ condition: (condition: number) => string;
39
+ };
40
+ vanCouponCell: {
41
+ title: string;
42
+ count: (count: number) => string;
43
+ };
44
+ vanCouponList: {
45
+ exchange: string;
46
+ close: string;
47
+ enable: string;
48
+ disabled: string;
49
+ placeholder: string;
50
+ };
51
+ vanAddressEdit: {
52
+ area: string;
53
+ postal: string;
54
+ areaEmpty: string;
55
+ addressEmpty: string;
56
+ postalEmpty: string;
57
+ addressDetail: string;
58
+ defaultAddress: string;
59
+ };
60
+ vanAddressList: {
61
+ add: string;
62
+ };
63
+ };
64
+ export default _default;
@@ -0,0 +1,74 @@
1
+ var stdin_default = {
2
+ name: "\u09A8\u09BE\u09AE",
3
+ tel: "\u09AB\u09CB\u09A8",
4
+ save: "\u09B8\u0982\u09B0\u0995\u09CD\u09B7\u09A3 \u0995\u09B0\u09C1\u09A8",
5
+ confirm: "\u09A8\u09BF\u09B6\u09CD\u099A\u09BF\u09A4 \u0995\u09B0\u09C1\u09A8",
6
+ cancel: "\u09AC\u09BE\u09A4\u09BF\u09B2",
7
+ delete: "\u09AE\u09C1\u099B\u09C1\u09A8",
8
+ loading: "\u09B2\u09CB\u09A1 \u09B9\u099A\u09CD\u099B\u09C7...",
9
+ noCoupon: "\u0995\u09CB\u09A8 \u0995\u09C1\u09AA\u09A8 \u09A8\u09C7\u0987",
10
+ nameEmpty: "\u0985\u09A8\u09C1\u0997\u09CD\u09B0\u09B9 \u0995\u09B0\u09C7 \u09A8\u09BE\u09AE\u099F\u09BF \u09AA\u09C2\u09B0\u09A3 \u0995\u09B0\u09C1\u09A8",
11
+ addContact: "\u09AF\u09CB\u0997\u09BE\u09AF\u09CB\u0997 \u09AF\u09CB\u0997 \u0995\u09B0\u09C1\u09A8",
12
+ telInvalid: "\u09AC\u09BF\u0995\u09C3\u09A4 \u09AB\u09CB\u09A8 \u09A8\u09AE\u09CD\u09AC\u09B0",
13
+ vanCalendar: {
14
+ end: "\u09B6\u09C7\u09B7",
15
+ start: "\u09B6\u09C1\u09B0\u09C1",
16
+ title: "\u0995\u09CD\u09AF\u09BE\u09B2\u09C7\u09A8\u09CD\u09A1\u09BE\u09B0",
17
+ weekdays: [
18
+ "\u09B0\u09AC\u09BF\u09AC\u09BE\u09B0",
19
+ "\u09B8\u09CB\u09AE\u09AC\u09BE\u09B0",
20
+ "\u09AE\u0999\u09CD\u0997\u09B2\u09AC\u09BE\u09B0",
21
+ "\u09AC\u09C1\u09A7\u09AC\u09BE\u09B0",
22
+ "\u09AC\u09C3\u09B9\u09B8\u09CD\u09AA\u09A4\u09BF\u09AC\u09BE\u09B0",
23
+ "\u09B6\u09C1\u0995\u09CD\u09B0\u09AC\u09BE\u09B0",
24
+ "\u09B6\u09A8\u09BF\u09AC\u09BE\u09B0"
25
+ ],
26
+ monthTitle: (year, month) => `${year}/${month}`,
27
+ rangePrompt: (maxRange) => `${maxRange} \u09A6\u09BF\u09A8\u09C7\u09B0 \u09AC\u09C7\u09B6\u09BF \u09A8\u09BF\u09B0\u09CD\u09AC\u09BE\u099A\u09A8 \u0995\u09B0\u09AC\u09C7\u09A8 \u09A8\u09BE`
28
+ },
29
+ vanCascader: {
30
+ select: "\u09A8\u09BF\u09B0\u09CD\u09AC\u09BE\u099A\u09A8"
31
+ },
32
+ vanPagination: {
33
+ prev: "\u09AA\u09C2\u09B0\u09CD\u09AC\u09AC\u09B0\u09CD\u09A4\u09C0",
34
+ next: "\u09AA\u09B0\u09AC\u09B0\u09CD\u09A4\u09C0"
35
+ },
36
+ vanPullRefresh: {
37
+ pulling: "\u09B0\u09BF\u09AB\u09CD\u09B0\u09C7\u09B6 \u0995\u09B0\u09A4\u09C7 \u099F\u09BE\u09A8\u09C1\u09A8...",
38
+ loosing: "\u09B0\u09BF\u09AB\u09CD\u09B0\u09C7\u09B6 \u0995\u09B0\u09A4\u09C7 \u0986\u09B2\u0997\u09BE..."
39
+ },
40
+ vanSubmitBar: {
41
+ label: "\u09AE\u09CB\u099F:"
42
+ },
43
+ vanCoupon: {
44
+ unlimited: "\u0986\u09A8\u09B2\u09BF\u09AE\u09BF\u099F\u09C7\u09A1",
45
+ discount: (discount) => `${discount * 10}% \u099B\u09BE\u09A1\u09BC`,
46
+ condition: (condition) => `\u0985\u09A8\u09CD\u09A4\u09A4 ${condition}`
47
+ },
48
+ vanCouponCell: {
49
+ title: "\u0995\u09C1\u09AA\u09A8",
50
+ count: (count) => `\u0986\u09AA\u09A8\u09BE\u09B0 ${count} \u0995\u09C1\u09AA\u09A8 \u0986\u099B\u09C7`
51
+ },
52
+ vanCouponList: {
53
+ exchange: "\u09AC\u09BF\u09A8\u09BF\u09AE\u09AF\u09BC",
54
+ close: "\u09AC\u09A8\u09CD\u09A7",
55
+ enable: "\u0989\u09AA\u09B2\u09AD\u09CD\u09AF",
56
+ disabled: "\u0985\u09A8\u09C1\u09AA\u09B2\u09AC\u09CD\u09A7",
57
+ placeholder: "\u0995\u09C1\u09AA\u09A8 \u0995\u09CB\u09A1"
58
+ },
59
+ vanAddressEdit: {
60
+ area: "\u098F\u09B0\u09BF\u09AF\u09BC\u09BE",
61
+ postal: "\u09A1\u09BE\u0995",
62
+ areaEmpty: "\u0985\u09A8\u09C1\u0997\u09CD\u09B0\u09B9 \u0995\u09B0\u09C7 \u098F\u0995\u099F\u09BF \u09B0\u09BF\u09B8\u09BF\u09AD\u09BF\u0982 \u098F\u09B2\u09BE\u0995\u09BE \u09A8\u09BF\u09B0\u09CD\u09AC\u09BE\u099A\u09A8 \u0995\u09B0\u09C1\u09A8",
63
+ addressEmpty: "\u09A0\u09BF\u0995\u09BE\u09A8\u09BE \u0996\u09BE\u09B2\u09BF \u09B9\u09A4\u09C7 \u09AA\u09BE\u09B0\u09C7 \u09A8\u09BE",
64
+ postalEmpty: "\u09AD\u09C1\u09B2 \u09AA\u09CB\u09B8\u09CD\u099F\u09BE\u09B2 \u0995\u09CB\u09A1",
65
+ addressDetail: "\u09A0\u09BF\u0995\u09BE\u09A8\u09BE",
66
+ defaultAddress: "\u09A1\u09BF\u09AB\u09B2\u09CD\u099F \u09A0\u09BF\u0995\u09BE\u09A8\u09BE \u09B9\u09BF\u09B8\u09BE\u09AC\u09C7 \u09B8\u09C7\u099F \u0995\u09B0\u09C1\u09A8"
67
+ },
68
+ vanAddressList: {
69
+ add: "\u09A8\u09A4\u09C1\u09A8 \u09A0\u09BF\u0995\u09BE\u09A8\u09BE \u09AF\u09CB\u0997 \u0995\u09B0\u09C1\u09A8"
70
+ }
71
+ };
72
+ export {
73
+ stdin_default as default
74
+ };
@@ -30,7 +30,7 @@ var stdin_default = {
30
30
  loosing: "Loslassen zum Aktualisieren..."
31
31
  },
32
32
  vanSubmitBar: {
33
- label: "Total\uFF1A"
33
+ label: "Total:"
34
34
  },
35
35
  vanCoupon: {
36
36
  unlimited: "Unbegrenzt",
@@ -30,7 +30,7 @@ var stdin_default = {
30
30
  loosing: "Loslassen zum Aktualisieren..."
31
31
  },
32
32
  vanSubmitBar: {
33
- label: "Total\uFF1A"
33
+ label: "Total:"
34
34
  },
35
35
  vanCoupon: {
36
36
  unlimited: "Unbegrenzt",
@@ -30,7 +30,7 @@ var stdin_default = {
30
30
  loosing: "Loose to refresh..."
31
31
  },
32
32
  vanSubmitBar: {
33
- label: "Total\uFF1A"
33
+ label: "Total:"
34
34
  },
35
35
  vanCoupon: {
36
36
  unlimited: "Unlimited",
@@ -30,7 +30,7 @@ var stdin_default = {
30
30
  loosing: "Suelta para recargar..."
31
31
  },
32
32
  vanSubmitBar: {
33
- label: "Total\uFF1A"
33
+ label: "Total:"
34
34
  },
35
35
  vanCoupon: {
36
36
  unlimited: "Ilimitado",
@@ -30,7 +30,7 @@ var stdin_default = {
30
30
  loosing: "Rel\xE2chez pour actualiser..."
31
31
  },
32
32
  vanSubmitBar: {
33
- label: "Total\uFF1A"
33
+ label: "Total:"
34
34
  },
35
35
  vanCoupon: {
36
36
  unlimited: "Illimit\xE9",