vant 4.0.5 → 4.0.7

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 (989) hide show
  1. package/es/icon/index.css +1 -1
  2. package/es/image-preview/ImagePreview.d.ts +3 -0
  3. package/es/image-preview/ImagePreview.mjs +3 -2
  4. package/es/image-preview/index.d.ts +2 -0
  5. package/es/index.d.ts +1 -1
  6. package/es/index.mjs +1 -1
  7. package/es/locale/lang/ru-RU.mjs +1 -1
  8. package/es/swipe/Swipe.mjs +3 -0
  9. package/lib/action-bar/ActionBar.d.ts +27 -0
  10. package/lib/action-bar/ActionBar.js +64 -0
  11. package/lib/action-bar/index.css +1 -0
  12. package/lib/action-bar/index.d.ts +25 -0
  13. package/lib/action-bar/index.js +35 -0
  14. package/lib/action-bar/style/index.d.ts +1 -0
  15. package/lib/action-bar/style/index.js +2 -0
  16. package/lib/action-bar/types.d.ts +4 -0
  17. package/lib/action-bar/types.js +15 -0
  18. package/lib/action-bar-button/ActionBarButton.d.ts +43 -0
  19. package/lib/action-bar-button/ActionBarButton.js +93 -0
  20. package/lib/action-bar-button/index.css +1 -0
  21. package/lib/action-bar-button/index.d.ts +36 -0
  22. package/lib/action-bar-button/index.js +35 -0
  23. package/lib/action-bar-button/style/index.d.ts +1 -0
  24. package/lib/action-bar-button/style/index.js +7 -0
  25. package/lib/action-bar-button/types.d.ts +5 -0
  26. package/lib/action-bar-button/types.js +15 -0
  27. package/lib/action-bar-icon/ActionBarIcon.d.ts +48 -0
  28. package/lib/action-bar-icon/ActionBarIcon.js +88 -0
  29. package/lib/action-bar-icon/index.css +1 -0
  30. package/lib/action-bar-icon/index.d.ts +39 -0
  31. package/lib/action-bar-icon/index.js +35 -0
  32. package/lib/action-bar-icon/style/index.d.ts +1 -0
  33. package/lib/action-bar-icon/style/index.js +5 -0
  34. package/lib/action-bar-icon/types.d.ts +10 -0
  35. package/lib/action-bar-icon/types.js +15 -0
  36. package/lib/action-sheet/ActionSheet.d.ts +194 -0
  37. package/lib/action-sheet/ActionSheet.js +151 -0
  38. package/lib/action-sheet/index.css +1 -0
  39. package/lib/action-sheet/index.d.ts +136 -0
  40. package/lib/action-sheet/index.js +35 -0
  41. package/lib/action-sheet/style/index.d.ts +1 -0
  42. package/lib/action-sheet/style/index.js +7 -0
  43. package/lib/action-sheet/types.d.ts +23 -0
  44. package/lib/action-sheet/types.js +15 -0
  45. package/lib/address-edit/AddressEdit.d.ts +157 -0
  46. package/lib/address-edit/AddressEdit.js +314 -0
  47. package/lib/address-edit/AddressEditDetail.d.ts +32 -0
  48. package/lib/address-edit/AddressEditDetail.js +95 -0
  49. package/lib/address-edit/index.css +1 -0
  50. package/lib/address-edit/index.d.ts +118 -0
  51. package/lib/address-edit/index.js +35 -0
  52. package/lib/address-edit/style/index.d.ts +1 -0
  53. package/lib/address-edit/style/index.js +19 -0
  54. package/lib/address-edit/types.d.ts +28 -0
  55. package/lib/address-edit/types.js +15 -0
  56. package/lib/address-list/AddressList.d.ts +69 -0
  57. package/lib/address-list/AddressList.js +108 -0
  58. package/lib/address-list/AddressListItem.d.ts +34 -0
  59. package/lib/address-list/AddressListItem.js +115 -0
  60. package/lib/address-list/index.css +1 -0
  61. package/lib/address-list/index.d.ts +57 -0
  62. package/lib/address-list/index.js +35 -0
  63. package/lib/address-list/style/index.d.ts +1 -0
  64. package/lib/address-list/style/index.js +11 -0
  65. package/lib/address-list/types.d.ts +15 -0
  66. package/lib/address-list/types.js +15 -0
  67. package/lib/area/Area.d.ts +136 -0
  68. package/lib/area/Area.js +96 -0
  69. package/lib/area/index.d.ts +102 -0
  70. package/lib/area/index.js +35 -0
  71. package/lib/area/style/index.d.ts +1 -0
  72. package/lib/area/style/index.js +10 -0
  73. package/lib/area/types.d.ts +9 -0
  74. package/lib/area/types.js +15 -0
  75. package/lib/area/utils.d.ts +6 -0
  76. package/lib/area/utils.js +111 -0
  77. package/lib/back-top/BackTop.d.ts +46 -0
  78. package/lib/back-top/BackTop.js +120 -0
  79. package/lib/back-top/index.css +1 -0
  80. package/lib/back-top/index.d.ts +39 -0
  81. package/lib/back-top/index.js +35 -0
  82. package/lib/back-top/style/index.d.ts +1 -0
  83. package/lib/back-top/style/index.js +4 -0
  84. package/lib/back-top/types.d.ts +6 -0
  85. package/lib/back-top/types.js +15 -0
  86. package/lib/badge/Badge.d.ts +66 -0
  87. package/lib/badge/Badge.js +124 -0
  88. package/lib/badge/index.css +1 -0
  89. package/lib/badge/index.d.ts +51 -0
  90. package/lib/badge/index.js +35 -0
  91. package/lib/badge/style/index.d.ts +1 -0
  92. package/lib/badge/style/index.js +2 -0
  93. package/lib/badge/types.d.ts +12 -0
  94. package/lib/badge/types.js +15 -0
  95. package/lib/button/Button.d.ts +140 -0
  96. package/lib/button/Button.js +168 -0
  97. package/lib/button/index.css +1 -0
  98. package/lib/button/index.d.ts +104 -0
  99. package/lib/button/index.js +35 -0
  100. package/lib/button/style/index.d.ts +1 -0
  101. package/lib/button/style/index.js +5 -0
  102. package/lib/button/types.d.ts +41 -0
  103. package/lib/button/types.js +15 -0
  104. package/lib/calendar/Calendar.d.ts +292 -0
  105. package/lib/calendar/Calendar.js +439 -0
  106. package/lib/calendar/CalendarDay.d.ts +32 -0
  107. package/lib/calendar/CalendarDay.js +148 -0
  108. package/lib/calendar/CalendarHeader.d.ts +21 -0
  109. package/lib/calendar/CalendarHeader.js +81 -0
  110. package/lib/calendar/CalendarMonth.d.ts +86 -0
  111. package/lib/calendar/CalendarMonth.js +233 -0
  112. package/lib/calendar/index.css +1 -0
  113. package/lib/calendar/index.d.ts +210 -0
  114. package/lib/calendar/index.js +35 -0
  115. package/lib/calendar/style/index.d.ts +1 -0
  116. package/lib/calendar/style/index.js +16 -0
  117. package/lib/calendar/types.d.ts +56 -0
  118. package/lib/calendar/types.js +15 -0
  119. package/lib/calendar/utils.d.ts +12 -0
  120. package/lib/calendar/utils.js +75 -0
  121. package/lib/card/Card.d.ts +56 -0
  122. package/lib/card/Card.js +146 -0
  123. package/lib/card/index.css +1 -0
  124. package/lib/card/index.d.ts +46 -0
  125. package/lib/card/index.js +35 -0
  126. package/lib/card/style/index.d.ts +1 -0
  127. package/lib/card/style/index.js +6 -0
  128. package/lib/card/types.d.ts +18 -0
  129. package/lib/card/types.js +15 -0
  130. package/lib/cascader/Cascader.d.ts +96 -0
  131. package/lib/cascader/Cascader.js +247 -0
  132. package/lib/cascader/index.css +1 -0
  133. package/lib/cascader/index.d.ts +74 -0
  134. package/lib/cascader/index.js +35 -0
  135. package/lib/cascader/style/index.d.ts +1 -0
  136. package/lib/cascader/style/index.js +9 -0
  137. package/lib/cascader/types.d.ts +34 -0
  138. package/lib/cascader/types.js +15 -0
  139. package/lib/cell/Cell.d.ts +136 -0
  140. package/lib/cell/Cell.js +148 -0
  141. package/lib/cell/index.css +1 -0
  142. package/lib/cell/index.d.ts +80 -0
  143. package/lib/cell/index.js +35 -0
  144. package/lib/cell/style/index.d.ts +1 -0
  145. package/lib/cell/style/index.js +4 -0
  146. package/lib/cell/types.d.ts +21 -0
  147. package/lib/cell/types.js +15 -0
  148. package/lib/cell-group/CellGroup.d.ts +29 -0
  149. package/lib/cell-group/CellGroup.js +63 -0
  150. package/lib/cell-group/index.css +1 -0
  151. package/lib/cell-group/index.d.ts +27 -0
  152. package/lib/cell-group/index.js +35 -0
  153. package/lib/cell-group/style/index.d.ts +1 -0
  154. package/lib/cell-group/style/index.js +2 -0
  155. package/lib/cell-group/types.d.ts +10 -0
  156. package/lib/cell-group/types.js +15 -0
  157. package/lib/checkbox/Checkbox.d.ts +64 -0
  158. package/lib/checkbox/Checkbox.js +107 -0
  159. package/lib/checkbox/Checker.d.ts +85 -0
  160. package/lib/checkbox/Checker.js +126 -0
  161. package/lib/checkbox/index.css +1 -0
  162. package/lib/checkbox/index.d.ts +52 -0
  163. package/lib/checkbox/index.js +35 -0
  164. package/lib/checkbox/style/index.d.ts +1 -0
  165. package/lib/checkbox/style/index.js +5 -0
  166. package/lib/checkbox/types.d.ts +24 -0
  167. package/lib/checkbox/types.js +15 -0
  168. package/lib/checkbox-group/CheckboxGroup.d.ts +44 -0
  169. package/lib/checkbox-group/CheckboxGroup.js +91 -0
  170. package/lib/checkbox-group/index.css +1 -0
  171. package/lib/checkbox-group/index.d.ts +36 -0
  172. package/lib/checkbox-group/index.js +35 -0
  173. package/lib/checkbox-group/style/index.d.ts +1 -0
  174. package/lib/checkbox-group/style/index.js +2 -0
  175. package/lib/checkbox-group/types.d.ts +16 -0
  176. package/lib/checkbox-group/types.js +15 -0
  177. package/lib/circle/Circle.d.ts +118 -0
  178. package/lib/circle/Circle.js +172 -0
  179. package/lib/circle/index.css +1 -0
  180. package/lib/circle/index.d.ts +88 -0
  181. package/lib/circle/index.js +35 -0
  182. package/lib/circle/style/index.d.ts +1 -0
  183. package/lib/circle/style/index.js +2 -0
  184. package/lib/circle/types.d.ts +9 -0
  185. package/lib/circle/types.js +15 -0
  186. package/lib/col/Col.d.ts +38 -0
  187. package/lib/col/Col.js +83 -0
  188. package/lib/col/index.css +1 -0
  189. package/lib/col/index.d.ts +32 -0
  190. package/lib/col/index.js +35 -0
  191. package/lib/col/style/index.d.ts +1 -0
  192. package/lib/col/style/index.js +3 -0
  193. package/lib/collapse/Collapse.d.ts +55 -0
  194. package/lib/collapse/Collapse.js +128 -0
  195. package/lib/collapse/index.d.ts +36 -0
  196. package/lib/collapse/index.js +35 -0
  197. package/lib/collapse/style/index.d.ts +1 -0
  198. package/lib/collapse/style/index.js +1 -0
  199. package/lib/collapse-item/CollapseItem.d.ts +132 -0
  200. package/lib/collapse-item/CollapseItem.js +156 -0
  201. package/lib/collapse-item/index.css +1 -0
  202. package/lib/collapse-item/index.d.ts +98 -0
  203. package/lib/collapse-item/index.js +35 -0
  204. package/lib/collapse-item/style/index.d.ts +1 -0
  205. package/lib/collapse-item/style/index.js +5 -0
  206. package/lib/collapse-item/types.d.ts +15 -0
  207. package/lib/collapse-item/types.js +15 -0
  208. package/lib/composables/on-popup-reopen.d.ts +3 -0
  209. package/lib/composables/on-popup-reopen.js +35 -0
  210. package/lib/composables/use-expose.d.ts +1 -0
  211. package/lib/composables/use-expose.js +30 -0
  212. package/lib/composables/use-global-z-index.d.ts +4 -0
  213. package/lib/composables/use-global-z-index.js +28 -0
  214. package/lib/composables/use-height.d.ts +2 -0
  215. package/lib/composables/use-height.js +43 -0
  216. package/lib/composables/use-id.d.ts +1 -0
  217. package/lib/composables/use-id.js +32 -0
  218. package/lib/composables/use-lazy-render.d.ts +2 -0
  219. package/lib/composables/use-lazy-render.js +36 -0
  220. package/lib/composables/use-lock-scroll.d.ts +2 -0
  221. package/lib/composables/use-lock-scroll.js +77 -0
  222. package/lib/composables/use-placeholder.d.ts +3 -0
  223. package/lib/composables/use-placeholder.js +33 -0
  224. package/lib/composables/use-refs.d.ts +2 -0
  225. package/lib/composables/use-refs.js +39 -0
  226. package/lib/composables/use-route.d.ts +13 -0
  227. package/lib/composables/use-route.js +46 -0
  228. package/lib/composables/use-sync-prop-ref.d.ts +2 -0
  229. package/lib/composables/use-sync-prop-ref.js +37 -0
  230. package/lib/composables/use-tab-status.d.ts +3 -0
  231. package/lib/composables/use-tab-status.js +26 -0
  232. package/lib/composables/use-touch.d.ts +16 -0
  233. package/lib/composables/use-touch.js +80 -0
  234. package/lib/composables/use-visibility-change.d.ts +2 -0
  235. package/lib/composables/use-visibility-change.js +49 -0
  236. package/lib/config-provider/ConfigProvider.d.ts +57 -0
  237. package/lib/config-provider/ConfigProvider.js +89 -0
  238. package/lib/config-provider/index.d.ts +41 -0
  239. package/lib/config-provider/index.js +35 -0
  240. package/lib/config-provider/style/index.d.ts +1 -0
  241. package/lib/config-provider/style/index.js +1 -0
  242. package/lib/config-provider/types.d.ts +1 -0
  243. package/lib/config-provider/types.js +15 -0
  244. package/lib/contact-card/ContactCard.d.ts +47 -0
  245. package/lib/contact-card/ContactCard.js +66 -0
  246. package/lib/contact-card/index.css +1 -0
  247. package/lib/contact-card/index.d.ts +39 -0
  248. package/lib/contact-card/index.js +35 -0
  249. package/lib/contact-card/style/index.d.ts +1 -0
  250. package/lib/contact-card/style/index.js +5 -0
  251. package/lib/contact-card/types.d.ts +6 -0
  252. package/lib/contact-card/types.js +15 -0
  253. package/lib/contact-edit/ContactEdit.d.ts +64 -0
  254. package/lib/contact-edit/ContactEdit.js +132 -0
  255. package/lib/contact-edit/index.css +1 -0
  256. package/lib/contact-edit/index.d.ts +49 -0
  257. package/lib/contact-edit/index.js +35 -0
  258. package/lib/contact-edit/style/index.d.ts +1 -0
  259. package/lib/contact-edit/style/index.js +9 -0
  260. package/lib/contact-edit/types.d.ts +8 -0
  261. package/lib/contact-edit/types.js +15 -0
  262. package/lib/contact-list/ContactList.d.ts +32 -0
  263. package/lib/contact-list/ContactList.js +109 -0
  264. package/lib/contact-list/index.css +1 -0
  265. package/lib/contact-list/index.d.ts +25 -0
  266. package/lib/contact-list/index.js +35 -0
  267. package/lib/contact-list/style/index.d.ts +1 -0
  268. package/lib/contact-list/style/index.js +11 -0
  269. package/lib/contact-list/types.d.ts +6 -0
  270. package/lib/contact-list/types.js +15 -0
  271. package/lib/count-down/CountDown.d.ts +55 -0
  272. package/lib/count-down/CountDown.js +76 -0
  273. package/lib/count-down/index.css +1 -0
  274. package/lib/count-down/index.d.ts +46 -0
  275. package/lib/count-down/index.js +35 -0
  276. package/lib/count-down/style/index.d.ts +1 -0
  277. package/lib/count-down/style/index.js +2 -0
  278. package/lib/count-down/types.d.ts +16 -0
  279. package/lib/count-down/types.js +15 -0
  280. package/lib/count-down/utils.d.ts +2 -0
  281. package/lib/count-down/utils.js +58 -0
  282. package/lib/coupon/Coupon.d.ts +45 -0
  283. package/lib/coupon/Coupon.js +99 -0
  284. package/lib/coupon/index.css +1 -0
  285. package/lib/coupon/index.d.ts +35 -0
  286. package/lib/coupon/index.js +33 -0
  287. package/lib/coupon/style/index.d.ts +1 -0
  288. package/lib/coupon/style/index.js +6 -0
  289. package/lib/coupon/types.d.ts +19 -0
  290. package/lib/coupon/types.js +15 -0
  291. package/lib/coupon/utils.d.ts +3 -0
  292. package/lib/coupon/utils.js +33 -0
  293. package/lib/coupon-cell/CouponCell.d.ts +78 -0
  294. package/lib/coupon-cell/CouponCell.js +74 -0
  295. package/lib/coupon-cell/index.css +1 -0
  296. package/lib/coupon-cell/index.d.ts +60 -0
  297. package/lib/coupon-cell/index.js +35 -0
  298. package/lib/coupon-cell/style/index.d.ts +1 -0
  299. package/lib/coupon-cell/style/index.js +5 -0
  300. package/lib/coupon-cell/types.d.ts +3 -0
  301. package/lib/coupon-cell/types.js +15 -0
  302. package/lib/coupon-list/CouponList.d.ts +170 -0
  303. package/lib/coupon-list/CouponList.js +206 -0
  304. package/lib/coupon-list/index.css +1 -0
  305. package/lib/coupon-list/index.d.ts +125 -0
  306. package/lib/coupon-list/index.js +35 -0
  307. package/lib/coupon-list/style/index.d.ts +1 -0
  308. package/lib/coupon-list/style/index.js +17 -0
  309. package/lib/coupon-list/types.d.ts +9 -0
  310. package/lib/coupon-list/types.js +15 -0
  311. package/lib/date-picker/DatePicker.d.ts +171 -0
  312. package/lib/date-picker/DatePicker.js +137 -0
  313. package/lib/date-picker/index.d.ts +127 -0
  314. package/lib/date-picker/index.js +35 -0
  315. package/lib/date-picker/style/index.d.ts +1 -0
  316. package/lib/date-picker/style/index.js +10 -0
  317. package/lib/date-picker/utils.d.ts +45 -0
  318. package/lib/date-picker/utils.js +70 -0
  319. package/lib/dialog/Dialog.d.ts +187 -0
  320. package/lib/dialog/Dialog.js +237 -0
  321. package/lib/dialog/function-call.d.ts +6 -0
  322. package/lib/dialog/function-call.js +110 -0
  323. package/lib/dialog/index.css +1 -0
  324. package/lib/dialog/index.d.ts +138 -0
  325. package/lib/dialog/index.js +41 -0
  326. package/lib/dialog/style/index.d.ts +1 -0
  327. package/lib/dialog/style/index.js +10 -0
  328. package/lib/dialog/types.d.ts +53 -0
  329. package/lib/dialog/types.js +15 -0
  330. package/lib/divider/Divider.d.ts +40 -0
  331. package/lib/divider/Divider.js +51 -0
  332. package/lib/divider/index.css +1 -0
  333. package/lib/divider/index.d.ts +34 -0
  334. package/lib/divider/index.js +35 -0
  335. package/lib/divider/style/index.d.ts +1 -0
  336. package/lib/divider/style/index.js +2 -0
  337. package/lib/divider/types.d.ts +10 -0
  338. package/lib/divider/types.js +15 -0
  339. package/lib/dropdown-item/DropdownItem.d.ts +59 -0
  340. package/lib/dropdown-item/DropdownItem.js +202 -0
  341. package/lib/dropdown-item/index.css +1 -0
  342. package/lib/dropdown-item/index.d.ts +50 -0
  343. package/lib/dropdown-item/index.js +35 -0
  344. package/lib/dropdown-item/style/index.d.ts +1 -0
  345. package/lib/dropdown-item/style/index.js +8 -0
  346. package/lib/dropdown-item/types.d.ts +25 -0
  347. package/lib/dropdown-item/types.js +15 -0
  348. package/lib/dropdown-menu/DropdownMenu.d.ts +82 -0
  349. package/lib/dropdown-menu/DropdownMenu.js +156 -0
  350. package/lib/dropdown-menu/index.css +1 -0
  351. package/lib/dropdown-menu/index.d.ts +63 -0
  352. package/lib/dropdown-menu/index.js +35 -0
  353. package/lib/dropdown-menu/style/index.d.ts +1 -0
  354. package/lib/dropdown-menu/style/index.js +2 -0
  355. package/lib/dropdown-menu/types.d.ts +21 -0
  356. package/lib/dropdown-menu/types.js +15 -0
  357. package/lib/empty/Empty.d.ts +29 -0
  358. package/lib/empty/Empty.js +342 -0
  359. package/lib/empty/index.css +1 -0
  360. package/lib/empty/index.d.ts +26 -0
  361. package/lib/empty/index.js +35 -0
  362. package/lib/empty/style/index.d.ts +1 -0
  363. package/lib/empty/style/index.js +2 -0
  364. package/lib/empty/types.d.ts +10 -0
  365. package/lib/empty/types.js +15 -0
  366. package/lib/field/Field.d.ts +337 -0
  367. package/lib/field/Field.js +529 -0
  368. package/lib/field/index.css +1 -0
  369. package/lib/field/index.d.ts +213 -0
  370. package/lib/field/index.js +35 -0
  371. package/lib/field/style/index.d.ts +1 -0
  372. package/lib/field/style/index.js +5 -0
  373. package/lib/field/types.d.ts +65 -0
  374. package/lib/field/types.js +15 -0
  375. package/lib/field/utils.d.ts +15 -0
  376. package/lib/field/utils.js +120 -0
  377. package/lib/form/Form.d.ts +88 -0
  378. package/lib/form/Form.js +180 -0
  379. package/lib/form/index.d.ts +70 -0
  380. package/lib/form/index.js +35 -0
  381. package/lib/form/style/index.d.ts +1 -0
  382. package/lib/form/style/index.js +1 -0
  383. package/lib/form/types.d.ts +15 -0
  384. package/lib/form/types.js +15 -0
  385. package/lib/grid/Grid.d.ts +74 -0
  386. package/lib/grid/Grid.js +67 -0
  387. package/lib/grid/index.css +1 -0
  388. package/lib/grid/index.d.ts +54 -0
  389. package/lib/grid/index.js +35 -0
  390. package/lib/grid/style/index.d.ts +1 -0
  391. package/lib/grid/style/index.js +2 -0
  392. package/lib/grid-item/GridItem.d.ts +45 -0
  393. package/lib/grid-item/GridItem.js +165 -0
  394. package/lib/grid-item/index.css +1 -0
  395. package/lib/grid-item/index.d.ts +37 -0
  396. package/lib/grid-item/index.js +35 -0
  397. package/lib/grid-item/style/index.d.ts +1 -0
  398. package/lib/grid-item/style/index.js +5 -0
  399. package/lib/grid-item/types.d.ts +8 -0
  400. package/lib/grid-item/types.js +15 -0
  401. package/lib/icon/Icon.d.ts +45 -0
  402. package/lib/icon/Icon.js +79 -0
  403. package/lib/icon/index.css +1 -0
  404. package/lib/icon/index.d.ts +36 -0
  405. package/lib/icon/index.js +35 -0
  406. package/lib/icon/style/index.d.ts +1 -0
  407. package/lib/icon/style/index.js +3 -0
  408. package/lib/image/Image.d.ts +105 -0
  409. package/lib/image/Image.js +190 -0
  410. package/lib/image/index.css +1 -0
  411. package/lib/image/index.d.ts +79 -0
  412. package/lib/image/index.js +35 -0
  413. package/lib/image/style/index.d.ts +1 -0
  414. package/lib/image/style/index.js +4 -0
  415. package/lib/image/types.d.ts +9 -0
  416. package/lib/image/types.js +15 -0
  417. package/lib/image-preview/ImagePreview.d.ts +191 -0
  418. package/lib/image-preview/ImagePreview.js +193 -0
  419. package/lib/image-preview/ImagePreviewItem.d.ts +48 -0
  420. package/lib/image-preview/ImagePreviewItem.js +284 -0
  421. package/lib/image-preview/function-call.d.ts +3 -0
  422. package/lib/image-preview/function-call.js +89 -0
  423. package/lib/image-preview/index.css +1 -0
  424. package/lib/image-preview/index.d.ts +142 -0
  425. package/lib/image-preview/index.js +37 -0
  426. package/lib/image-preview/style/index.d.ts +1 -0
  427. package/lib/image-preview/style/index.js +10 -0
  428. package/lib/image-preview/types.d.ts +50 -0
  429. package/lib/image-preview/types.js +15 -0
  430. package/lib/index-anchor/IndexAnchor.d.ts +11 -0
  431. package/lib/index-anchor/IndexAnchor.js +107 -0
  432. package/lib/index-anchor/index.css +1 -0
  433. package/lib/index-anchor/index.d.ts +14 -0
  434. package/lib/index-anchor/index.js +35 -0
  435. package/lib/index-anchor/style/index.d.ts +1 -0
  436. package/lib/index-anchor/style/index.js +3 -0
  437. package/lib/index-anchor/types.d.ts +11 -0
  438. package/lib/index-anchor/types.js +15 -0
  439. package/lib/index-bar/IndexBar.d.ts +64 -0
  440. package/lib/index-bar/IndexBar.js +246 -0
  441. package/lib/index-bar/index.css +1 -0
  442. package/lib/index-bar/index.d.ts +50 -0
  443. package/lib/index-bar/index.js +35 -0
  444. package/lib/index-bar/style/index.d.ts +1 -0
  445. package/lib/index-bar/style/index.js +2 -0
  446. package/lib/index-bar/types.d.ts +16 -0
  447. package/lib/index-bar/types.js +15 -0
  448. package/lib/index.css +1 -0
  449. package/lib/index.d.ts +97 -0
  450. package/lib/index.js +309 -0
  451. package/lib/lazyload/index.d.ts +3 -0
  452. package/lib/lazyload/index.js +25 -0
  453. package/lib/lazyload/style/index.d.ts +1 -0
  454. package/lib/lazyload/style/index.js +1 -0
  455. package/lib/lazyload/vue-lazyload/index.d.ts +55 -0
  456. package/lib/lazyload/vue-lazyload/index.js +56 -0
  457. package/lib/lazyload/vue-lazyload/lazy-component.js +70 -0
  458. package/lib/lazyload/vue-lazyload/lazy-container.js +93 -0
  459. package/lib/lazyload/vue-lazyload/lazy-image.js +119 -0
  460. package/lib/lazyload/vue-lazyload/lazy.js +378 -0
  461. package/lib/lazyload/vue-lazyload/listener.js +192 -0
  462. package/lib/lazyload/vue-lazyload/util.d.ts +25 -0
  463. package/lib/lazyload/vue-lazyload/util.js +185 -0
  464. package/lib/list/List.d.ts +78 -0
  465. package/lib/list/List.js +160 -0
  466. package/lib/list/index.css +1 -0
  467. package/lib/list/index.d.ts +63 -0
  468. package/lib/list/index.js +35 -0
  469. package/lib/list/style/index.d.ts +1 -0
  470. package/lib/list/style/index.js +3 -0
  471. package/lib/list/types.d.ts +13 -0
  472. package/lib/list/types.js +15 -0
  473. package/lib/loading/Loading.d.ts +39 -0
  474. package/lib/loading/Loading.js +90 -0
  475. package/lib/loading/index.css +1 -0
  476. package/lib/loading/index.d.ts +33 -0
  477. package/lib/loading/index.js +35 -0
  478. package/lib/loading/style/index.d.ts +1 -0
  479. package/lib/loading/style/index.js +2 -0
  480. package/lib/loading/types.d.ts +7 -0
  481. package/lib/loading/types.js +15 -0
  482. package/lib/locale/index.d.ts +7 -0
  483. package/lib/locale/index.js +49 -0
  484. package/lib/locale/lang/bg-BG.d.ts +64 -0
  485. package/lib/locale/lang/bg-BG.js +93 -0
  486. package/lib/locale/lang/bn-BD.d.ts +62 -0
  487. package/lib/locale/lang/bn-BD.js +91 -0
  488. package/lib/locale/lang/da-DK.d.ts +64 -0
  489. package/lib/locale/lang/da-DK.js +85 -0
  490. package/lib/locale/lang/de-DE-formal.d.ts +62 -0
  491. package/lib/locale/lang/de-DE-formal.js +83 -0
  492. package/lib/locale/lang/de-DE.d.ts +62 -0
  493. package/lib/locale/lang/de-DE.js +83 -0
  494. package/lib/locale/lang/el-GR.d.ts +64 -0
  495. package/lib/locale/lang/el-GR.js +93 -0
  496. package/lib/locale/lang/en-US.d.ts +62 -0
  497. package/lib/locale/lang/en-US.js +83 -0
  498. package/lib/locale/lang/es-ES.d.ts +62 -0
  499. package/lib/locale/lang/es-ES.js +83 -0
  500. package/lib/locale/lang/fa-IR.d.ts +64 -0
  501. package/lib/locale/lang/fa-IR.js +93 -0
  502. package/lib/locale/lang/fr-FR.d.ts +62 -0
  503. package/lib/locale/lang/fr-FR.js +83 -0
  504. package/lib/locale/lang/he-IL.d.ts +64 -0
  505. package/lib/locale/lang/he-IL.js +85 -0
  506. package/lib/locale/lang/hi-IN.d.ts +62 -0
  507. package/lib/locale/lang/hi-IN.js +91 -0
  508. package/lib/locale/lang/id-ID.d.ts +62 -0
  509. package/lib/locale/lang/id-ID.js +83 -0
  510. package/lib/locale/lang/is-IS.d.ts +62 -0
  511. package/lib/locale/lang/is-IS.js +91 -0
  512. package/lib/locale/lang/it-IT.d.ts +62 -0
  513. package/lib/locale/lang/it-IT.js +91 -0
  514. package/lib/locale/lang/ja-JP.d.ts +62 -0
  515. package/lib/locale/lang/ja-JP.js +83 -0
  516. package/lib/locale/lang/ko-KR.d.ts +62 -0
  517. package/lib/locale/lang/ko-KR.js +91 -0
  518. package/lib/locale/lang/la-LA.d.ts +62 -0
  519. package/lib/locale/lang/la-LA.js +83 -0
  520. package/lib/locale/lang/mm-MN.d.ts +62 -0
  521. package/lib/locale/lang/mm-MN.js +83 -0
  522. package/lib/locale/lang/nb-NO.d.ts +62 -0
  523. package/lib/locale/lang/nb-NO.js +83 -0
  524. package/lib/locale/lang/nl-NL.d.ts +62 -0
  525. package/lib/locale/lang/nl-NL.js +83 -0
  526. package/lib/locale/lang/pt-BR.d.ts +62 -0
  527. package/lib/locale/lang/pt-BR.js +83 -0
  528. package/lib/locale/lang/ro-RO.d.ts +62 -0
  529. package/lib/locale/lang/ro-RO.js +83 -0
  530. package/lib/locale/lang/ru-RU.d.ts +62 -0
  531. package/lib/locale/lang/ru-RU.js +83 -0
  532. package/lib/locale/lang/sv-SE.d.ts +62 -0
  533. package/lib/locale/lang/sv-SE.js +83 -0
  534. package/lib/locale/lang/th-TH.d.ts +62 -0
  535. package/lib/locale/lang/th-TH.js +83 -0
  536. package/lib/locale/lang/tr-TR.d.ts +62 -0
  537. package/lib/locale/lang/tr-TR.js +83 -0
  538. package/lib/locale/lang/uk-UA.d.ts +62 -0
  539. package/lib/locale/lang/uk-UA.js +91 -0
  540. package/lib/locale/lang/vi-VN.d.ts +62 -0
  541. package/lib/locale/lang/vi-VN.js +91 -0
  542. package/lib/locale/lang/zh-CN.d.ts +62 -0
  543. package/lib/locale/lang/zh-CN.js +83 -0
  544. package/lib/locale/lang/zh-HK.d.ts +62 -0
  545. package/lib/locale/lang/zh-HK.js +83 -0
  546. package/lib/locale/lang/zh-TW.d.ts +62 -0
  547. package/lib/locale/lang/zh-TW.js +83 -0
  548. package/lib/locale/style/index.d.ts +1 -0
  549. package/lib/locale/style/index.js +1 -0
  550. package/lib/nav-bar/NavBar.d.ts +66 -0
  551. package/lib/nav-bar/NavBar.js +111 -0
  552. package/lib/nav-bar/index.css +1 -0
  553. package/lib/nav-bar/index.d.ts +54 -0
  554. package/lib/nav-bar/index.js +35 -0
  555. package/lib/nav-bar/style/index.d.ts +1 -0
  556. package/lib/nav-bar/style/index.js +4 -0
  557. package/lib/nav-bar/types.d.ts +10 -0
  558. package/lib/nav-bar/types.js +15 -0
  559. package/lib/notice-bar/NoticeBar.d.ts +71 -0
  560. package/lib/notice-bar/NoticeBar.js +185 -0
  561. package/lib/notice-bar/index.css +1 -0
  562. package/lib/notice-bar/index.d.ts +57 -0
  563. package/lib/notice-bar/index.js +35 -0
  564. package/lib/notice-bar/style/index.d.ts +1 -0
  565. package/lib/notice-bar/style/index.js +4 -0
  566. package/lib/notice-bar/types.d.ts +18 -0
  567. package/lib/notice-bar/types.js +15 -0
  568. package/lib/notify/Notify.d.ts +134 -0
  569. package/lib/notify/Notify.js +65 -0
  570. package/lib/notify/function-call.d.ts +6 -0
  571. package/lib/notify/function-call.js +93 -0
  572. package/lib/notify/index.css +1 -0
  573. package/lib/notify/index.d.ts +100 -0
  574. package/lib/notify/index.js +40 -0
  575. package/lib/notify/style/index.d.ts +1 -0
  576. package/lib/notify/style/index.js +6 -0
  577. package/lib/notify/types.d.ts +27 -0
  578. package/lib/notify/types.js +15 -0
  579. package/lib/number-keyboard/NumberKeyboard.d.ts +162 -0
  580. package/lib/number-keyboard/NumberKeyboard.js +256 -0
  581. package/lib/number-keyboard/NumberKeyboardKey.d.ts +24 -0
  582. package/lib/number-keyboard/NumberKeyboardKey.js +113 -0
  583. package/lib/number-keyboard/index.css +1 -0
  584. package/lib/number-keyboard/index.d.ts +121 -0
  585. package/lib/number-keyboard/index.js +35 -0
  586. package/lib/number-keyboard/style/index.d.ts +1 -0
  587. package/lib/number-keyboard/style/index.js +3 -0
  588. package/lib/number-keyboard/types.d.ts +17 -0
  589. package/lib/number-keyboard/types.js +15 -0
  590. package/lib/overlay/Overlay.d.ts +51 -0
  591. package/lib/overlay/Overlay.js +74 -0
  592. package/lib/overlay/index.css +1 -0
  593. package/lib/overlay/index.d.ts +42 -0
  594. package/lib/overlay/index.js +35 -0
  595. package/lib/overlay/style/index.d.ts +1 -0
  596. package/lib/overlay/style/index.js +2 -0
  597. package/lib/overlay/types.d.ts +4 -0
  598. package/lib/overlay/types.js +15 -0
  599. package/lib/pagination/Pagination.d.ts +101 -0
  600. package/lib/pagination/Pagination.js +164 -0
  601. package/lib/pagination/index.css +1 -0
  602. package/lib/pagination/index.d.ts +77 -0
  603. package/lib/pagination/index.js +35 -0
  604. package/lib/pagination/style/index.d.ts +1 -0
  605. package/lib/pagination/style/index.js +2 -0
  606. package/lib/pagination/types.d.ts +11 -0
  607. package/lib/pagination/types.js +15 -0
  608. package/lib/password-input/PasswordInput.d.ts +63 -0
  609. package/lib/password-input/PasswordInput.js +98 -0
  610. package/lib/password-input/index.css +1 -0
  611. package/lib/password-input/index.d.ts +51 -0
  612. package/lib/password-input/index.js +35 -0
  613. package/lib/password-input/style/index.d.ts +1 -0
  614. package/lib/password-input/style/index.js +2 -0
  615. package/lib/password-input/types.d.ts +17 -0
  616. package/lib/password-input/types.js +15 -0
  617. package/lib/picker/Picker.d.ts +163 -0
  618. package/lib/picker/Picker.js +224 -0
  619. package/lib/picker/PickerColumn.d.ts +60 -0
  620. package/lib/picker/PickerColumn.js +213 -0
  621. package/lib/picker/PickerToolbar.d.ts +21 -0
  622. package/lib/picker/PickerToolbar.js +78 -0
  623. package/lib/picker/index.css +1 -0
  624. package/lib/picker/index.d.ts +104 -0
  625. package/lib/picker/index.js +35 -0
  626. package/lib/picker/style/index.d.ts +1 -0
  627. package/lib/picker/style/index.js +10 -0
  628. package/lib/picker/types.d.ts +62 -0
  629. package/lib/picker/types.js +15 -0
  630. package/lib/picker/utils.d.ts +13 -0
  631. package/lib/picker/utils.js +99 -0
  632. package/lib/picker-group/PickerGroup.d.ts +39 -0
  633. package/lib/picker-group/PickerGroup.js +82 -0
  634. package/lib/picker-group/index.css +1 -0
  635. package/lib/picker-group/index.d.ts +34 -0
  636. package/lib/picker-group/index.js +35 -0
  637. package/lib/picker-group/style/index.d.ts +1 -0
  638. package/lib/picker-group/style/index.js +9 -0
  639. package/lib/picker-group/types.d.ts +3 -0
  640. package/lib/picker-group/types.js +15 -0
  641. package/lib/popover/Popover.d.ts +164 -0
  642. package/lib/popover/Popover.js +203 -0
  643. package/lib/popover/index.css +1 -0
  644. package/lib/popover/index.d.ts +121 -0
  645. package/lib/popover/index.js +35 -0
  646. package/lib/popover/style/index.d.ts +1 -0
  647. package/lib/popover/style/index.js +6 -0
  648. package/lib/popover/types.d.ts +26 -0
  649. package/lib/popover/types.js +15 -0
  650. package/lib/popup/Popup.d.ts +165 -0
  651. package/lib/popup/Popup.js +226 -0
  652. package/lib/popup/index.css +1 -0
  653. package/lib/popup/index.d.ts +124 -0
  654. package/lib/popup/index.js +35 -0
  655. package/lib/popup/shared.d.ts +30 -0
  656. package/lib/popup/shared.js +41 -0
  657. package/lib/popup/style/index.d.ts +1 -0
  658. package/lib/popup/style/index.js +5 -0
  659. package/lib/popup/types.d.ts +17 -0
  660. package/lib/popup/types.js +15 -0
  661. package/lib/progress/Progress.d.ts +61 -0
  662. package/lib/progress/Progress.js +96 -0
  663. package/lib/progress/index.css +1 -0
  664. package/lib/progress/index.d.ts +49 -0
  665. package/lib/progress/index.js +35 -0
  666. package/lib/progress/style/index.d.ts +1 -0
  667. package/lib/progress/style/index.js +2 -0
  668. package/lib/progress/types.d.ts +17 -0
  669. package/lib/progress/types.js +15 -0
  670. package/lib/pull-refresh/PullRefresh.d.ts +75 -0
  671. package/lib/pull-refresh/PullRefresh.js +213 -0
  672. package/lib/pull-refresh/index.css +1 -0
  673. package/lib/pull-refresh/index.d.ts +60 -0
  674. package/lib/pull-refresh/index.js +35 -0
  675. package/lib/pull-refresh/style/index.d.ts +1 -0
  676. package/lib/pull-refresh/style/index.js +3 -0
  677. package/lib/pull-refresh/types.d.ts +6 -0
  678. package/lib/pull-refresh/types.js +15 -0
  679. package/lib/radio/Radio.d.ts +50 -0
  680. package/lib/radio/Radio.js +68 -0
  681. package/lib/radio/index.css +1 -0
  682. package/lib/radio/index.d.ts +40 -0
  683. package/lib/radio/index.js +35 -0
  684. package/lib/radio/style/index.d.ts +1 -0
  685. package/lib/radio/style/index.js +6 -0
  686. package/lib/radio/types.d.ts +11 -0
  687. package/lib/radio/types.js +15 -0
  688. package/lib/radio-group/RadioGroup.d.ts +35 -0
  689. package/lib/radio-group/RadioGroup.js +64 -0
  690. package/lib/radio-group/index.css +1 -0
  691. package/lib/radio-group/index.d.ts +26 -0
  692. package/lib/radio-group/index.js +35 -0
  693. package/lib/radio-group/style/index.d.ts +1 -0
  694. package/lib/radio-group/style/index.js +2 -0
  695. package/lib/rate/Rate.d.ts +107 -0
  696. package/lib/rate/Rate.js +239 -0
  697. package/lib/rate/index.css +1 -0
  698. package/lib/rate/index.d.ts +82 -0
  699. package/lib/rate/index.js +35 -0
  700. package/lib/rate/style/index.d.ts +1 -0
  701. package/lib/rate/style/index.js +4 -0
  702. package/lib/rate/types.d.ts +7 -0
  703. package/lib/rate/types.js +15 -0
  704. package/lib/row/Row.d.ts +64 -0
  705. package/lib/row/Row.js +111 -0
  706. package/lib/row/index.css +1 -0
  707. package/lib/row/index.d.ts +43 -0
  708. package/lib/row/index.js +35 -0
  709. package/lib/row/style/index.d.ts +1 -0
  710. package/lib/row/style/index.js +2 -0
  711. package/lib/search/Search.d.ts +206 -0
  712. package/lib/search/Search.js +138 -0
  713. package/lib/search/index.css +1 -0
  714. package/lib/search/index.d.ts +152 -0
  715. package/lib/search/index.js +35 -0
  716. package/lib/search/style/index.d.ts +1 -0
  717. package/lib/search/style/index.js +6 -0
  718. package/lib/search/types.d.ts +21 -0
  719. package/lib/search/types.js +15 -0
  720. package/lib/share-sheet/ShareSheet.d.ts +162 -0
  721. package/lib/share-sheet/ShareSheet.js +142 -0
  722. package/lib/share-sheet/index.css +1 -0
  723. package/lib/share-sheet/index.d.ts +115 -0
  724. package/lib/share-sheet/index.js +35 -0
  725. package/lib/share-sheet/style/index.d.ts +1 -0
  726. package/lib/share-sheet/style/index.js +6 -0
  727. package/lib/share-sheet/types.d.ts +17 -0
  728. package/lib/share-sheet/types.js +15 -0
  729. package/lib/sidebar/Sidebar.d.ts +30 -0
  730. package/lib/sidebar/Sidebar.js +64 -0
  731. package/lib/sidebar/index.css +1 -0
  732. package/lib/sidebar/index.d.ts +25 -0
  733. package/lib/sidebar/index.js +35 -0
  734. package/lib/sidebar/style/index.d.ts +1 -0
  735. package/lib/sidebar/style/index.js +2 -0
  736. package/lib/sidebar/types.d.ts +3 -0
  737. package/lib/sidebar/types.js +15 -0
  738. package/lib/sidebar-item/SidebarItem.d.ts +42 -0
  739. package/lib/sidebar-item/SidebarItem.js +92 -0
  740. package/lib/sidebar-item/index.css +1 -0
  741. package/lib/sidebar-item/index.d.ts +36 -0
  742. package/lib/sidebar-item/index.js +35 -0
  743. package/lib/sidebar-item/style/index.d.ts +1 -0
  744. package/lib/sidebar-item/style/index.js +4 -0
  745. package/lib/sidebar-item/types.d.ts +15 -0
  746. package/lib/sidebar-item/types.js +15 -0
  747. package/lib/skeleton/Skeleton.d.ts +96 -0
  748. package/lib/skeleton/Skeleton.js +115 -0
  749. package/lib/skeleton/SkeletonAvatar.d.ts +26 -0
  750. package/lib/skeleton/SkeletonAvatar.js +41 -0
  751. package/lib/skeleton/SkeletonImage.d.ts +26 -0
  752. package/lib/skeleton/SkeletonImage.js +45 -0
  753. package/lib/skeleton/SkeletonParagraph.d.ts +27 -0
  754. package/lib/skeleton/SkeletonParagraph.js +50 -0
  755. package/lib/skeleton/SkeletonTitle.d.ts +16 -0
  756. package/lib/skeleton/SkeletonTitle.js +45 -0
  757. package/lib/skeleton/index.css +1 -0
  758. package/lib/skeleton/index.d.ts +140 -0
  759. package/lib/skeleton/index.js +55 -0
  760. package/lib/skeleton/style/index.d.ts +1 -0
  761. package/lib/skeleton/style/index.js +4 -0
  762. package/lib/skeleton/types.d.ts +13 -0
  763. package/lib/skeleton/types.js +15 -0
  764. package/lib/slider/Slider.d.ts +100 -0
  765. package/lib/slider/Slider.js +291 -0
  766. package/lib/slider/index.css +1 -0
  767. package/lib/slider/index.d.ts +77 -0
  768. package/lib/slider/index.js +35 -0
  769. package/lib/slider/style/index.d.ts +1 -0
  770. package/lib/slider/style/index.js +2 -0
  771. package/lib/slider/types.d.ts +11 -0
  772. package/lib/slider/types.js +15 -0
  773. package/lib/space/Space.d.ts +48 -0
  774. package/lib/space/Space.js +107 -0
  775. package/lib/space/index.css +1 -0
  776. package/lib/space/index.d.ts +38 -0
  777. package/lib/space/index.js +35 -0
  778. package/lib/space/style/index.d.ts +1 -0
  779. package/lib/space/style/index.js +2 -0
  780. package/lib/step/Step.d.ts +2 -0
  781. package/lib/step/Step.js +137 -0
  782. package/lib/step/index.css +1 -0
  783. package/lib/step/index.d.ts +8 -0
  784. package/lib/step/index.js +33 -0
  785. package/lib/step/style/index.d.ts +1 -0
  786. package/lib/step/style/index.js +5 -0
  787. package/lib/step/types.d.ts +13 -0
  788. package/lib/step/types.js +15 -0
  789. package/lib/stepper/Stepper.d.ts +194 -0
  790. package/lib/stepper/Stepper.js +267 -0
  791. package/lib/stepper/index.css +1 -0
  792. package/lib/stepper/index.d.ts +143 -0
  793. package/lib/stepper/index.js +35 -0
  794. package/lib/stepper/style/index.d.ts +1 -0
  795. package/lib/stepper/style/index.js +2 -0
  796. package/lib/stepper/types.d.ts +15 -0
  797. package/lib/stepper/types.js +15 -0
  798. package/lib/steps/Steps.d.ts +71 -0
  799. package/lib/steps/Steps.js +66 -0
  800. package/lib/steps/index.css +1 -0
  801. package/lib/steps/index.d.ts +52 -0
  802. package/lib/steps/index.js +35 -0
  803. package/lib/steps/style/index.d.ts +1 -0
  804. package/lib/steps/style/index.js +2 -0
  805. package/lib/steps/types.d.ts +3 -0
  806. package/lib/steps/types.js +15 -0
  807. package/lib/sticky/Sticky.d.ts +58 -0
  808. package/lib/sticky/Sticky.js +140 -0
  809. package/lib/sticky/index.css +1 -0
  810. package/lib/sticky/index.d.ts +47 -0
  811. package/lib/sticky/index.js +35 -0
  812. package/lib/sticky/style/index.d.ts +1 -0
  813. package/lib/sticky/style/index.js +2 -0
  814. package/lib/sticky/types.d.ts +3 -0
  815. package/lib/sticky/types.js +15 -0
  816. package/lib/style/animation.css +1 -0
  817. package/lib/style/base.css +1 -0
  818. package/lib/style/css-variables.css +1 -0
  819. package/lib/style/mixins/clearfix.css +0 -0
  820. package/lib/style/mixins/ellipsis.css +0 -0
  821. package/lib/style/mixins/hairline.css +0 -0
  822. package/lib/style/normalize.css +1 -0
  823. package/lib/submit-bar/SubmitBar.d.ts +101 -0
  824. package/lib/submit-bar/SubmitBar.js +135 -0
  825. package/lib/submit-bar/index.css +1 -0
  826. package/lib/submit-bar/index.d.ts +76 -0
  827. package/lib/submit-bar/index.js +35 -0
  828. package/lib/submit-bar/style/index.d.ts +1 -0
  829. package/lib/submit-bar/style/index.js +6 -0
  830. package/lib/submit-bar/types.d.ts +21 -0
  831. package/lib/submit-bar/types.js +15 -0
  832. package/lib/swipe/Swipe.d.ts +121 -0
  833. package/lib/swipe/Swipe.js +383 -0
  834. package/lib/swipe/index.css +1 -0
  835. package/lib/swipe/index.d.ts +91 -0
  836. package/lib/swipe/index.js +35 -0
  837. package/lib/swipe/style/index.d.ts +1 -0
  838. package/lib/swipe/style/index.js +2 -0
  839. package/lib/swipe/types.d.ts +39 -0
  840. package/lib/swipe/types.js +15 -0
  841. package/lib/swipe-cell/SwipeCell.d.ts +44 -0
  842. package/lib/swipe-cell/SwipeCell.js +182 -0
  843. package/lib/swipe-cell/index.css +1 -0
  844. package/lib/swipe-cell/index.d.ts +39 -0
  845. package/lib/swipe-cell/index.js +35 -0
  846. package/lib/swipe-cell/style/index.d.ts +1 -0
  847. package/lib/swipe-cell/style/index.js +2 -0
  848. package/lib/swipe-cell/types.d.ts +9 -0
  849. package/lib/swipe-cell/types.js +15 -0
  850. package/lib/swipe-item/SwipeItem.d.ts +2 -0
  851. package/lib/swipe-item/SwipeItem.js +101 -0
  852. package/lib/swipe-item/index.css +1 -0
  853. package/lib/swipe-item/index.d.ts +7 -0
  854. package/lib/swipe-item/index.js +33 -0
  855. package/lib/swipe-item/style/index.d.ts +1 -0
  856. package/lib/swipe-item/style/index.js +3 -0
  857. package/lib/switch/Switch.d.ts +58 -0
  858. package/lib/switch/Switch.js +105 -0
  859. package/lib/switch/index.css +1 -0
  860. package/lib/switch/index.d.ts +48 -0
  861. package/lib/switch/index.js +35 -0
  862. package/lib/switch/style/index.d.ts +1 -0
  863. package/lib/switch/style/index.js +3 -0
  864. package/lib/switch/types.d.ts +12 -0
  865. package/lib/switch/types.js +15 -0
  866. package/lib/tab/Tab.d.ts +58 -0
  867. package/lib/tab/Tab.js +143 -0
  868. package/lib/tab/index.css +1 -0
  869. package/lib/tab/index.d.ts +46 -0
  870. package/lib/tab/index.js +35 -0
  871. package/lib/tab/style/index.d.ts +1 -0
  872. package/lib/tab/style/index.js +7 -0
  873. package/lib/tabbar/Tabbar.d.ts +90 -0
  874. package/lib/tabbar/Tabbar.js +104 -0
  875. package/lib/tabbar/index.css +1 -0
  876. package/lib/tabbar/index.d.ts +66 -0
  877. package/lib/tabbar/index.js +35 -0
  878. package/lib/tabbar/style/index.d.ts +1 -0
  879. package/lib/tabbar/style/index.js +2 -0
  880. package/lib/tabbar/types.d.ts +5 -0
  881. package/lib/tabbar/types.js +15 -0
  882. package/lib/tabbar-item/TabbarItem.d.ts +44 -0
  883. package/lib/tabbar-item/TabbarItem.js +140 -0
  884. package/lib/tabbar-item/index.css +1 -0
  885. package/lib/tabbar-item/index.d.ts +37 -0
  886. package/lib/tabbar-item/index.js +35 -0
  887. package/lib/tabbar-item/style/index.d.ts +1 -0
  888. package/lib/tabbar-item/style/index.js +5 -0
  889. package/lib/tabbar-item/types.d.ts +9 -0
  890. package/lib/tabbar-item/types.js +15 -0
  891. package/lib/tabs/Tabs.d.ts +154 -0
  892. package/lib/tabs/Tabs.js +391 -0
  893. package/lib/tabs/TabsContent.d.ts +43 -0
  894. package/lib/tabs/TabsContent.js +87 -0
  895. package/lib/tabs/TabsTitle.d.ts +45 -0
  896. package/lib/tabs/TabsTitle.js +109 -0
  897. package/lib/tabs/index.css +1 -0
  898. package/lib/tabs/index.d.ts +115 -0
  899. package/lib/tabs/index.js +35 -0
  900. package/lib/tabs/style/index.d.ts +1 -0
  901. package/lib/tabs/style/index.js +5 -0
  902. package/lib/tabs/types.d.ts +37 -0
  903. package/lib/tabs/types.js +15 -0
  904. package/lib/tabs/utils.d.ts +3 -0
  905. package/lib/tabs/utils.js +56 -0
  906. package/lib/tag/Tag.d.ts +63 -0
  907. package/lib/tag/Tag.js +98 -0
  908. package/lib/tag/index.css +1 -0
  909. package/lib/tag/index.d.ts +51 -0
  910. package/lib/tag/index.js +35 -0
  911. package/lib/tag/style/index.d.ts +1 -0
  912. package/lib/tag/style/index.js +4 -0
  913. package/lib/tag/types.d.ts +20 -0
  914. package/lib/tag/types.js +15 -0
  915. package/lib/time-picker/TimePicker.d.ts +217 -0
  916. package/lib/time-picker/TimePicker.js +95 -0
  917. package/lib/time-picker/index.d.ts +159 -0
  918. package/lib/time-picker/index.js +35 -0
  919. package/lib/time-picker/style/index.d.ts +1 -0
  920. package/lib/time-picker/style/index.js +10 -0
  921. package/lib/toast/Toast.d.ts +115 -0
  922. package/lib/toast/Toast.js +146 -0
  923. package/lib/toast/function-call.d.ts +10 -0
  924. package/lib/toast/function-call.js +167 -0
  925. package/lib/toast/index.css +1 -0
  926. package/lib/toast/index.d.ts +87 -0
  927. package/lib/toast/index.js +44 -0
  928. package/lib/toast/lock-click.d.ts +1 -0
  929. package/lib/toast/lock-click.js +36 -0
  930. package/lib/toast/style/index.d.ts +1 -0
  931. package/lib/toast/style/index.js +7 -0
  932. package/lib/toast/types.d.ts +55 -0
  933. package/lib/toast/types.js +15 -0
  934. package/lib/tree-select/TreeSelect.d.ts +106 -0
  935. package/lib/tree-select/TreeSelect.js +122 -0
  936. package/lib/tree-select/index.css +1 -0
  937. package/lib/tree-select/index.d.ts +72 -0
  938. package/lib/tree-select/index.js +35 -0
  939. package/lib/tree-select/style/index.d.ts +1 -0
  940. package/lib/tree-select/style/index.js +6 -0
  941. package/lib/tree-select/types.d.ts +10 -0
  942. package/lib/tree-select/types.js +15 -0
  943. package/lib/uploader/Uploader.d.ts +213 -0
  944. package/lib/uploader/Uploader.js +274 -0
  945. package/lib/uploader/UploaderPreviewItem.d.ts +36 -0
  946. package/lib/uploader/UploaderPreviewItem.js +147 -0
  947. package/lib/uploader/index.css +1 -0
  948. package/lib/uploader/index.d.ts +155 -0
  949. package/lib/uploader/index.js +35 -0
  950. package/lib/uploader/style/index.d.ts +1 -0
  951. package/lib/uploader/style/index.js +11 -0
  952. package/lib/uploader/types.d.ts +58 -0
  953. package/lib/uploader/types.js +15 -0
  954. package/lib/uploader/utils.d.ts +11 -0
  955. package/lib/uploader/utils.js +88 -0
  956. package/lib/utils/basic.d.ts +18 -0
  957. package/lib/utils/basic.js +52 -0
  958. package/lib/utils/constant.d.ts +12 -0
  959. package/lib/utils/constant.js +41 -0
  960. package/lib/utils/create.d.ts +17 -0
  961. package/lib/utils/create.js +78 -0
  962. package/lib/utils/deep-assign.d.ts +3 -0
  963. package/lib/utils/deep-assign.js +41 -0
  964. package/lib/utils/deep-clone.d.ts +1 -0
  965. package/lib/utils/deep-clone.js +39 -0
  966. package/lib/utils/dom.d.ts +12 -0
  967. package/lib/utils/dom.js +86 -0
  968. package/lib/utils/format.d.ts +13 -0
  969. package/lib/utils/format.js +139 -0
  970. package/lib/utils/index.d.ts +9 -0
  971. package/lib/utils/index.js +25 -0
  972. package/lib/utils/interceptor.d.ts +6 -0
  973. package/lib/utils/interceptor.js +48 -0
  974. package/lib/utils/mount-component.d.ts +14 -0
  975. package/lib/utils/mount-component.js +58 -0
  976. package/lib/utils/props.d.ts +31 -0
  977. package/lib/utils/props.js +55 -0
  978. package/lib/utils/validate.d.ts +9 -0
  979. package/lib/utils/validate.js +41 -0
  980. package/lib/utils/with-install.d.ts +13 -0
  981. package/lib/utils/with-install.js +33 -0
  982. package/lib/vant.cjs.js +7 -3
  983. package/lib/vant.es.js +7 -3
  984. package/lib/vant.js +7 -3
  985. package/lib/vant.min.js +1 -1
  986. package/lib/vue-sfc-shim.d.ts +6 -0
  987. package/lib/vue-tsx-shim.d.ts +23 -0
  988. package/lib/web-types.json +1 -1
  989. package/package.json +2 -2
@@ -0,0 +1,56 @@
1
+ import type { ComponentPublicInstance, ComputedRef, Ref } from 'vue';
2
+ import type { Numeric } from '../utils';
3
+ import type { CalendarProps } from './Calendar';
4
+ import type { CalendarMonthProps } from './CalendarMonth';
5
+ export type CalendarType = 'single' | 'range' | 'multiple';
6
+ export type CalendarDayType = '' | 'start' | 'start-end' | 'middle' | 'end' | 'selected' | 'multiple-middle' | 'multiple-selected' | 'disabled' | 'placeholder';
7
+ export type CalendarDayItem = {
8
+ date?: Date;
9
+ text?: Numeric;
10
+ type?: CalendarDayType;
11
+ topInfo?: string;
12
+ className?: unknown;
13
+ bottomInfo?: string;
14
+ };
15
+ export type CalendarExpose = {
16
+ reset: (date?: Date | Date[]) => void;
17
+ scrollToDate: (targetDate: Date) => void;
18
+ getSelectedDate: () => Date | Date[] | null;
19
+ };
20
+ export type CalendarInstance = ComponentPublicInstance<CalendarProps, CalendarExpose>;
21
+ export type CalendarMonthInstance = ComponentPublicInstance<CalendarMonthProps, {
22
+ showed?: boolean;
23
+ getTitle: () => string;
24
+ getHeight: () => number;
25
+ setVisible: (value?: boolean | undefined) => void;
26
+ scrollToDate: (body: Element, targetDate: Date) => void;
27
+ disabledDays: Ref<ComputedRef<CalendarDayItem[]>>;
28
+ }>;
29
+ export type CalendarThemeVars = {
30
+ calendarBackground?: string;
31
+ calendarPopupHeight?: string;
32
+ calendarHeaderShadow?: string;
33
+ calendarHeaderTitleHeight?: string;
34
+ calendarHeaderTitleFontSize?: string;
35
+ calendarHeaderSubtitleFontSize?: string;
36
+ calendarWeekdaysHeight?: string;
37
+ calendarWeekdaysFontSize?: string;
38
+ calendarMonthTitleFontSize?: string;
39
+ calendarMonthMarkColor?: string;
40
+ calendarMonthMarkFontSize?: string;
41
+ calendarDayHeight?: string;
42
+ calendarDayFontSize?: string;
43
+ calendarDayMarginBottom?: string;
44
+ calendarRangeEdgeColor?: string;
45
+ calendarRangeEdgeBackground?: string;
46
+ calendarRangeMiddleColor?: string;
47
+ calendarRangeMiddleBackgroundOpacity?: number | string;
48
+ calendarSelectedDaySize?: string;
49
+ calendarSelectedDayColor?: string;
50
+ calendarInfoFontSize?: string;
51
+ calendarInfoLineHeight?: number | string;
52
+ calendarSelectedDayBackground?: string;
53
+ calendarDayDisabledColor?: string;
54
+ calendarConfirmButtonHeight?: string;
55
+ calendarConfirmButtonMargin?: string;
56
+ };
@@ -0,0 +1,15 @@
1
+ var __defProp = Object.defineProperty;
2
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
+ var __getOwnPropNames = Object.getOwnPropertyNames;
4
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
5
+ var __copyProps = (to, from, except, desc) => {
6
+ if (from && typeof from === "object" || typeof from === "function") {
7
+ for (let key of __getOwnPropNames(from))
8
+ if (!__hasOwnProp.call(to, key) && key !== except)
9
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
10
+ }
11
+ return to;
12
+ };
13
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
14
+ var stdin_exports = {};
15
+ module.exports = __toCommonJS(stdin_exports);
@@ -0,0 +1,12 @@
1
+ declare const name: string, bem: (el?: import("../utils").Mods | undefined, mods?: import("../utils").Mods | undefined) => import("../utils").Mods, t: (path: string, ...args: unknown[]) => any;
2
+ export { name, bem, t };
3
+ export declare const formatMonthTitle: (date: Date) => any;
4
+ export declare function compareMonth(date1: Date, date2: Date): 0 | 1 | -1;
5
+ export declare function compareDay(day1: Date, day2: Date): 0 | 1 | -1;
6
+ export declare const cloneDate: (date: Date) => Date;
7
+ export declare const cloneDates: (dates: Date | Date[]) => Date | Date[];
8
+ export declare function getDayByOffset(date: Date, offset: number): Date;
9
+ export declare const getPrevDay: (date: Date) => Date;
10
+ export declare const getNextDay: (date: Date) => Date;
11
+ export declare const getToday: () => Date;
12
+ export declare function calcDateNum(date: [Date, Date]): number;
@@ -0,0 +1,75 @@
1
+ var __defProp = Object.defineProperty;
2
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
+ var __getOwnPropNames = Object.getOwnPropertyNames;
4
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
5
+ var __export = (target, all) => {
6
+ for (var name2 in all)
7
+ __defProp(target, name2, { get: all[name2], enumerable: true });
8
+ };
9
+ var __copyProps = (to, from, except, desc) => {
10
+ if (from && typeof from === "object" || typeof from === "function") {
11
+ for (let key of __getOwnPropNames(from))
12
+ if (!__hasOwnProp.call(to, key) && key !== except)
13
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
14
+ }
15
+ return to;
16
+ };
17
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
18
+ var stdin_exports = {};
19
+ __export(stdin_exports, {
20
+ bem: () => bem,
21
+ calcDateNum: () => calcDateNum,
22
+ cloneDate: () => cloneDate,
23
+ cloneDates: () => cloneDates,
24
+ compareDay: () => compareDay,
25
+ compareMonth: () => compareMonth,
26
+ formatMonthTitle: () => formatMonthTitle,
27
+ getDayByOffset: () => getDayByOffset,
28
+ getNextDay: () => getNextDay,
29
+ getPrevDay: () => getPrevDay,
30
+ getToday: () => getToday,
31
+ name: () => name,
32
+ t: () => t
33
+ });
34
+ module.exports = __toCommonJS(stdin_exports);
35
+ var import_utils = require("../utils");
36
+ const [name, bem, t] = (0, import_utils.createNamespace)("calendar");
37
+ const formatMonthTitle = (date) => t("monthTitle", date.getFullYear(), date.getMonth() + 1);
38
+ function compareMonth(date1, date2) {
39
+ const year1 = date1.getFullYear();
40
+ const year2 = date2.getFullYear();
41
+ if (year1 === year2) {
42
+ const month1 = date1.getMonth();
43
+ const month2 = date2.getMonth();
44
+ return month1 === month2 ? 0 : month1 > month2 ? 1 : -1;
45
+ }
46
+ return year1 > year2 ? 1 : -1;
47
+ }
48
+ function compareDay(day1, day2) {
49
+ const compareMonthResult = compareMonth(day1, day2);
50
+ if (compareMonthResult === 0) {
51
+ const date1 = day1.getDate();
52
+ const date2 = day2.getDate();
53
+ return date1 === date2 ? 0 : date1 > date2 ? 1 : -1;
54
+ }
55
+ return compareMonthResult;
56
+ }
57
+ const cloneDate = (date) => new Date(date);
58
+ const cloneDates = (dates) => Array.isArray(dates) ? dates.map(cloneDate) : cloneDate(dates);
59
+ function getDayByOffset(date, offset) {
60
+ const cloned = cloneDate(date);
61
+ cloned.setDate(cloned.getDate() + offset);
62
+ return cloned;
63
+ }
64
+ const getPrevDay = (date) => getDayByOffset(date, -1);
65
+ const getNextDay = (date) => getDayByOffset(date, 1);
66
+ const getToday = () => {
67
+ const today = new Date();
68
+ today.setHours(0, 0, 0, 0);
69
+ return today;
70
+ };
71
+ function calcDateNum(date) {
72
+ const day1 = date[0].getTime();
73
+ const day2 = date[1].getTime();
74
+ return (day2 - day1) / (1e3 * 60 * 60 * 24) + 1;
75
+ }
@@ -0,0 +1,56 @@
1
+ import { type ExtractPropTypes } from 'vue';
2
+ export declare const cardProps: {
3
+ tag: StringConstructor;
4
+ num: (NumberConstructor | StringConstructor)[];
5
+ desc: StringConstructor;
6
+ thumb: StringConstructor;
7
+ title: StringConstructor;
8
+ price: (NumberConstructor | StringConstructor)[];
9
+ centered: BooleanConstructor;
10
+ lazyLoad: BooleanConstructor;
11
+ currency: {
12
+ type: import("vue").PropType<string>;
13
+ default: string;
14
+ };
15
+ thumbLink: StringConstructor;
16
+ originPrice: (NumberConstructor | StringConstructor)[];
17
+ };
18
+ export type CardProps = ExtractPropTypes<typeof cardProps>;
19
+ declare const _default: import("vue").DefineComponent<{
20
+ tag: StringConstructor;
21
+ num: (NumberConstructor | StringConstructor)[];
22
+ desc: StringConstructor;
23
+ thumb: StringConstructor;
24
+ title: StringConstructor;
25
+ price: (NumberConstructor | StringConstructor)[];
26
+ centered: BooleanConstructor;
27
+ lazyLoad: BooleanConstructor;
28
+ currency: {
29
+ type: import("vue").PropType<string>;
30
+ default: string;
31
+ };
32
+ thumbLink: StringConstructor;
33
+ originPrice: (NumberConstructor | StringConstructor)[];
34
+ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "clickThumb"[], "clickThumb", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
35
+ tag: StringConstructor;
36
+ num: (NumberConstructor | StringConstructor)[];
37
+ desc: StringConstructor;
38
+ thumb: StringConstructor;
39
+ title: StringConstructor;
40
+ price: (NumberConstructor | StringConstructor)[];
41
+ centered: BooleanConstructor;
42
+ lazyLoad: BooleanConstructor;
43
+ currency: {
44
+ type: import("vue").PropType<string>;
45
+ default: string;
46
+ };
47
+ thumbLink: StringConstructor;
48
+ originPrice: (NumberConstructor | StringConstructor)[];
49
+ }>> & {
50
+ onClickThumb?: ((...args: any[]) => any) | undefined;
51
+ }, {
52
+ lazyLoad: boolean;
53
+ centered: boolean;
54
+ currency: string;
55
+ }>;
56
+ export default _default;
@@ -0,0 +1,146 @@
1
+ var __defProp = Object.defineProperty;
2
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
+ var __getOwnPropNames = Object.getOwnPropertyNames;
4
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
5
+ var __export = (target, all) => {
6
+ for (var name2 in all)
7
+ __defProp(target, name2, { get: all[name2], enumerable: true });
8
+ };
9
+ var __copyProps = (to, from, except, desc) => {
10
+ if (from && typeof from === "object" || typeof from === "function") {
11
+ for (let key of __getOwnPropNames(from))
12
+ if (!__hasOwnProp.call(to, key) && key !== except)
13
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
14
+ }
15
+ return to;
16
+ };
17
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
18
+ var stdin_exports = {};
19
+ __export(stdin_exports, {
20
+ cardProps: () => cardProps,
21
+ default: () => stdin_default
22
+ });
23
+ module.exports = __toCommonJS(stdin_exports);
24
+ var import_vue = require("vue");
25
+ var import_vue2 = require("vue");
26
+ var import_utils = require("../utils");
27
+ var import_tag = require("../tag");
28
+ var import_image = require("../image");
29
+ const [name, bem] = (0, import_utils.createNamespace)("card");
30
+ const cardProps = {
31
+ tag: String,
32
+ num: import_utils.numericProp,
33
+ desc: String,
34
+ thumb: String,
35
+ title: String,
36
+ price: import_utils.numericProp,
37
+ centered: Boolean,
38
+ lazyLoad: Boolean,
39
+ currency: (0, import_utils.makeStringProp)("\xA5"),
40
+ thumbLink: String,
41
+ originPrice: import_utils.numericProp
42
+ };
43
+ var stdin_default = (0, import_vue2.defineComponent)({
44
+ name,
45
+ props: cardProps,
46
+ emits: ["clickThumb"],
47
+ setup(props, {
48
+ slots,
49
+ emit
50
+ }) {
51
+ const renderTitle = () => {
52
+ if (slots.title) {
53
+ return slots.title();
54
+ }
55
+ if (props.title) {
56
+ return (0, import_vue.createVNode)("div", {
57
+ "class": [bem("title"), "van-multi-ellipsis--l2"]
58
+ }, [props.title]);
59
+ }
60
+ };
61
+ const renderThumbTag = () => {
62
+ if (slots.tag || props.tag) {
63
+ return (0, import_vue.createVNode)("div", {
64
+ "class": bem("tag")
65
+ }, [slots.tag ? slots.tag() : (0, import_vue.createVNode)(import_tag.Tag, {
66
+ "mark": true,
67
+ "type": "primary"
68
+ }, {
69
+ default: () => [props.tag]
70
+ })]);
71
+ }
72
+ };
73
+ const renderThumbImage = () => {
74
+ if (slots.thumb) {
75
+ return slots.thumb();
76
+ }
77
+ return (0, import_vue.createVNode)(import_image.Image, {
78
+ "src": props.thumb,
79
+ "fit": "cover",
80
+ "width": "100%",
81
+ "height": "100%",
82
+ "lazyLoad": props.lazyLoad
83
+ }, null);
84
+ };
85
+ const renderThumb = () => {
86
+ if (slots.thumb || props.thumb) {
87
+ return (0, import_vue.createVNode)("a", {
88
+ "href": props.thumbLink,
89
+ "class": bem("thumb"),
90
+ "onClick": (event) => emit("clickThumb", event)
91
+ }, [renderThumbImage(), renderThumbTag()]);
92
+ }
93
+ };
94
+ const renderDesc = () => {
95
+ if (slots.desc) {
96
+ return slots.desc();
97
+ }
98
+ if (props.desc) {
99
+ return (0, import_vue.createVNode)("div", {
100
+ "class": [bem("desc"), "van-ellipsis"]
101
+ }, [props.desc]);
102
+ }
103
+ };
104
+ const renderPriceText = () => {
105
+ const priceArr = props.price.toString().split(".");
106
+ return (0, import_vue.createVNode)("div", null, [(0, import_vue.createVNode)("span", {
107
+ "class": bem("price-currency")
108
+ }, [props.currency]), (0, import_vue.createVNode)("span", {
109
+ "class": bem("price-integer")
110
+ }, [priceArr[0]]), (0, import_vue.createTextVNode)("."), (0, import_vue.createVNode)("span", {
111
+ "class": bem("price-decimal")
112
+ }, [priceArr[1]])]);
113
+ };
114
+ return () => {
115
+ var _a, _b, _c;
116
+ const showNum = slots.num || (0, import_utils.isDef)(props.num);
117
+ const showPrice = slots.price || (0, import_utils.isDef)(props.price);
118
+ const showOriginPrice = slots["origin-price"] || (0, import_utils.isDef)(props.originPrice);
119
+ const showBottom = showNum || showPrice || showOriginPrice || slots.bottom;
120
+ const Price = showPrice && (0, import_vue.createVNode)("div", {
121
+ "class": bem("price")
122
+ }, [slots.price ? slots.price() : renderPriceText()]);
123
+ const OriginPrice = showOriginPrice && (0, import_vue.createVNode)("div", {
124
+ "class": bem("origin-price")
125
+ }, [slots["origin-price"] ? slots["origin-price"]() : `${props.currency} ${props.originPrice}`]);
126
+ const Num = showNum && (0, import_vue.createVNode)("div", {
127
+ "class": bem("num")
128
+ }, [slots.num ? slots.num() : `x${props.num}`]);
129
+ const Footer = slots.footer && (0, import_vue.createVNode)("div", {
130
+ "class": bem("footer")
131
+ }, [slots.footer()]);
132
+ const Bottom = showBottom && (0, import_vue.createVNode)("div", {
133
+ "class": bem("bottom")
134
+ }, [(_a = slots["price-top"]) == null ? void 0 : _a.call(slots), Price, OriginPrice, Num, (_b = slots.bottom) == null ? void 0 : _b.call(slots)]);
135
+ return (0, import_vue.createVNode)("div", {
136
+ "class": bem()
137
+ }, [(0, import_vue.createVNode)("div", {
138
+ "class": bem("header")
139
+ }, [renderThumb(), (0, import_vue.createVNode)("div", {
140
+ "class": bem("content", {
141
+ centered: props.centered
142
+ })
143
+ }, [(0, import_vue.createVNode)("div", null, [renderTitle(), renderDesc(), (_c = slots.tags) == null ? void 0 : _c.call(slots)]), Bottom])]), Footer]);
144
+ };
145
+ }
146
+ });
@@ -0,0 +1 @@
1
+ :root{--van-card-padding: var(--van-padding-xs) var(--van-padding-md);--van-card-font-size: var(--van-font-size-sm);--van-card-text-color: var(--van-text-color);--van-card-background: var(--van-background);--van-card-thumb-size: 88px;--van-card-thumb-radius: var(--van-radius-lg);--van-card-title-line-height: 16px;--van-card-desc-color: var(--van-text-color-2);--van-card-desc-line-height: var(--van-line-height-md);--van-card-price-color: var(--van-text-color);--van-card-origin-price-color: var(--van-text-color-2);--van-card-num-color: var(--van-text-color-2);--van-card-origin-price-font-size: var(--van-font-size-xs);--van-card-price-font-size: var(--van-font-size-sm);--van-card-price-integer-font-size: var(--van-font-size-lg);--van-card-price-font: var(--van-price-font)}.van-card{position:relative;box-sizing:border-box;padding:var(--van-card-padding);color:var(--van-card-text-color);font-size:var(--van-card-font-size);background:var(--van-card-background)}.van-card:not(:first-child){margin-top:var(--van-padding-xs)}.van-card__header{display:flex}.van-card__thumb{position:relative;flex:none;width:var(--van-card-thumb-size);height:var(--van-card-thumb-size);margin-right:var(--van-padding-xs)}.van-card__thumb img{border-radius:var(--van-card-thumb-radius)}.van-card__content{position:relative;display:flex;flex:1;flex-direction:column;justify-content:space-between;min-width:0;min-height:var(--van-card-thumb-size)}.van-card__content--centered{justify-content:center}.van-card__title,.van-card__desc{word-wrap:break-word}.van-card__title{max-height:32px;font-weight:var(--van-font-bold);line-height:var(--van-card-title-line-height)}.van-card__desc{max-height:var(--van-card-desc-line-height);color:var(--van-card-desc-color);line-height:var(--van-card-desc-line-height)}.van-card__bottom{line-height:var(--van-line-height-md)}.van-card__price{display:inline-block;color:var(--van-card-price-color);font-weight:var(--van-font-bold);font-size:var(--van-card-price-font-size)}.van-card__price-integer{font-size:var(--van-card-price-integer-font-size);font-family:var(--van-card-price-font)}.van-card__price-decimal{font-family:var(--van-card-price-font)}.van-card__origin-price{display:inline-block;margin-left:5px;color:var(--van-card-origin-price-color);font-size:var(--van-card-origin-price-font-size);text-decoration:line-through}.van-card__num{float:right;color:var(--van-card-num-color)}.van-card__tag{position:absolute;top:2px;left:0}.van-card__footer{flex:none;text-align:right}.van-card__footer .van-button{margin-left:5px}
@@ -0,0 +1,46 @@
1
+ export declare const Card: import("../utils").WithInstall<import("vue").DefineComponent<{
2
+ tag: StringConstructor;
3
+ num: (NumberConstructor | StringConstructor)[];
4
+ desc: StringConstructor;
5
+ thumb: StringConstructor;
6
+ title: StringConstructor;
7
+ price: (NumberConstructor | StringConstructor)[];
8
+ centered: BooleanConstructor;
9
+ lazyLoad: BooleanConstructor;
10
+ currency: {
11
+ type: import("vue").PropType<string>;
12
+ default: string;
13
+ };
14
+ thumbLink: StringConstructor;
15
+ originPrice: (NumberConstructor | StringConstructor)[];
16
+ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "clickThumb"[], "clickThumb", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
17
+ tag: StringConstructor;
18
+ num: (NumberConstructor | StringConstructor)[];
19
+ desc: StringConstructor;
20
+ thumb: StringConstructor;
21
+ title: StringConstructor;
22
+ price: (NumberConstructor | StringConstructor)[];
23
+ centered: BooleanConstructor;
24
+ lazyLoad: BooleanConstructor;
25
+ currency: {
26
+ type: import("vue").PropType<string>;
27
+ default: string;
28
+ };
29
+ thumbLink: StringConstructor;
30
+ originPrice: (NumberConstructor | StringConstructor)[];
31
+ }>> & {
32
+ onClickThumb?: ((...args: any[]) => any) | undefined;
33
+ }, {
34
+ lazyLoad: boolean;
35
+ centered: boolean;
36
+ currency: string;
37
+ }>>;
38
+ export default Card;
39
+ export { cardProps } from './Card';
40
+ export type { CardProps } from './Card';
41
+ export type { CardThemeVars } from './types';
42
+ declare module 'vue' {
43
+ interface GlobalComponents {
44
+ VanCard: typeof Card;
45
+ }
46
+ }
@@ -0,0 +1,35 @@
1
+ var __create = Object.create;
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __getProtoOf = Object.getPrototypeOf;
6
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
7
+ var __export = (target, all) => {
8
+ for (var name in all)
9
+ __defProp(target, name, { get: all[name], enumerable: true });
10
+ };
11
+ var __copyProps = (to, from, except, desc) => {
12
+ if (from && typeof from === "object" || typeof from === "function") {
13
+ for (let key of __getOwnPropNames(from))
14
+ if (!__hasOwnProp.call(to, key) && key !== except)
15
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
16
+ }
17
+ return to;
18
+ };
19
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
20
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
21
+ mod
22
+ ));
23
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
24
+ var stdin_exports = {};
25
+ __export(stdin_exports, {
26
+ Card: () => Card,
27
+ cardProps: () => import_Card2.cardProps,
28
+ default: () => stdin_default
29
+ });
30
+ module.exports = __toCommonJS(stdin_exports);
31
+ var import_utils = require("../utils");
32
+ var import_Card = __toESM(require("./Card"));
33
+ var import_Card2 = require("./Card");
34
+ const Card = (0, import_utils.withInstall)(import_Card.default);
35
+ var stdin_default = Card;
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,6 @@
1
+ require("../../style/base.css");
2
+ require("../../badge/index.css");
3
+ require("../../icon/index.css");
4
+ require("../../image/index.css");
5
+ require("../../tag/index.css");
6
+ require("../index.css");
@@ -0,0 +1,18 @@
1
+ export type CardThemeVars = {
2
+ cardPadding?: string;
3
+ cardFontSize?: string;
4
+ cardTextColor?: string;
5
+ cardBackground?: string;
6
+ cardThumbSize?: string;
7
+ cardThumbRadius?: string;
8
+ cardTitleLineHeight?: number | string;
9
+ cardDescColor?: string;
10
+ cardDescLineHeight?: number | string;
11
+ cardPriceColor?: string;
12
+ cardOriginPriceColor?: string;
13
+ cardNumColor?: string;
14
+ cardOriginPriceFontSize?: string;
15
+ cardPriceFontSize?: string;
16
+ cardPriceIntegerFontSize?: string;
17
+ cardPriceFont?: string;
18
+ };
@@ -0,0 +1,15 @@
1
+ var __defProp = Object.defineProperty;
2
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
+ var __getOwnPropNames = Object.getOwnPropertyNames;
4
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
5
+ var __copyProps = (to, from, except, desc) => {
6
+ if (from && typeof from === "object" || typeof from === "function") {
7
+ for (let key of __getOwnPropNames(from))
8
+ if (!__hasOwnProp.call(to, key) && key !== except)
9
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
10
+ }
11
+ return to;
12
+ };
13
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
14
+ var stdin_exports = {};
15
+ module.exports = __toCommonJS(stdin_exports);
@@ -0,0 +1,96 @@
1
+ import { type PropType, type ExtractPropTypes } from 'vue';
2
+ import type { CascaderOption, CascaderFieldNames } from './types';
3
+ export declare const cascaderProps: {
4
+ title: StringConstructor;
5
+ options: {
6
+ type: PropType<CascaderOption[]>;
7
+ default: () => never[];
8
+ };
9
+ closeable: {
10
+ type: BooleanConstructor;
11
+ default: true;
12
+ };
13
+ swipeable: {
14
+ type: BooleanConstructor;
15
+ default: true;
16
+ };
17
+ closeIcon: {
18
+ type: PropType<string>;
19
+ default: string;
20
+ };
21
+ showHeader: {
22
+ type: BooleanConstructor;
23
+ default: true;
24
+ };
25
+ modelValue: (NumberConstructor | StringConstructor)[];
26
+ fieldNames: PropType<CascaderFieldNames>;
27
+ placeholder: StringConstructor;
28
+ activeColor: StringConstructor;
29
+ };
30
+ export type CascaderProps = ExtractPropTypes<typeof cascaderProps>;
31
+ declare const _default: import("vue").DefineComponent<{
32
+ title: StringConstructor;
33
+ options: {
34
+ type: PropType<CascaderOption[]>;
35
+ default: () => never[];
36
+ };
37
+ closeable: {
38
+ type: BooleanConstructor;
39
+ default: true;
40
+ };
41
+ swipeable: {
42
+ type: BooleanConstructor;
43
+ default: true;
44
+ };
45
+ closeIcon: {
46
+ type: PropType<string>;
47
+ default: string;
48
+ };
49
+ showHeader: {
50
+ type: BooleanConstructor;
51
+ default: true;
52
+ };
53
+ modelValue: (NumberConstructor | StringConstructor)[];
54
+ fieldNames: PropType<CascaderFieldNames>;
55
+ placeholder: StringConstructor;
56
+ activeColor: StringConstructor;
57
+ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "change" | "close" | "clickTab" | "finish")[], "update:modelValue" | "change" | "close" | "clickTab" | "finish", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
58
+ title: StringConstructor;
59
+ options: {
60
+ type: PropType<CascaderOption[]>;
61
+ default: () => never[];
62
+ };
63
+ closeable: {
64
+ type: BooleanConstructor;
65
+ default: true;
66
+ };
67
+ swipeable: {
68
+ type: BooleanConstructor;
69
+ default: true;
70
+ };
71
+ closeIcon: {
72
+ type: PropType<string>;
73
+ default: string;
74
+ };
75
+ showHeader: {
76
+ type: BooleanConstructor;
77
+ default: true;
78
+ };
79
+ modelValue: (NumberConstructor | StringConstructor)[];
80
+ fieldNames: PropType<CascaderFieldNames>;
81
+ placeholder: StringConstructor;
82
+ activeColor: StringConstructor;
83
+ }>> & {
84
+ onChange?: ((...args: any[]) => any) | undefined;
85
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
86
+ onClose?: ((...args: any[]) => any) | undefined;
87
+ onClickTab?: ((...args: any[]) => any) | undefined;
88
+ onFinish?: ((...args: any[]) => any) | undefined;
89
+ }, {
90
+ closeIcon: string;
91
+ closeable: boolean;
92
+ options: CascaderOption[];
93
+ swipeable: boolean;
94
+ showHeader: boolean;
95
+ }>;
96
+ export default _default;