vant 4.0.3 → 4.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (987) hide show
  1. package/README.md +0 -1
  2. package/es/badge/Badge.mjs +12 -3
  3. package/es/field/Field.mjs +38 -5
  4. package/es/form/Form.mjs +3 -1
  5. package/es/image/Image.mjs +10 -2
  6. package/es/index.d.ts +1 -1
  7. package/es/index.mjs +1 -1
  8. package/{lib/locale/lang/de-DE-formal.d.ts → es/locale/lang/mm-MN.d.ts} +1 -1
  9. package/es/locale/lang/mm-MN.mjs +64 -0
  10. package/{lib/locale/lang/bn-BD.d.ts → es/locale/lang/nl-NL.d.ts} +0 -0
  11. package/es/locale/lang/nl-NL.mjs +64 -0
  12. package/es/picker/index.css +1 -1
  13. package/lib/vant.cjs.js +111 -59
  14. package/lib/vant.es.js +111 -59
  15. package/lib/vant.js +110 -58
  16. package/lib/vant.min.js +1 -1
  17. package/lib/web-types.json +1 -1
  18. package/package.json +1 -1
  19. package/lib/action-bar/ActionBar.d.ts +0 -27
  20. package/lib/action-bar/ActionBar.js +0 -64
  21. package/lib/action-bar/index.css +0 -1
  22. package/lib/action-bar/index.d.ts +0 -25
  23. package/lib/action-bar/index.js +0 -35
  24. package/lib/action-bar/style/index.d.ts +0 -1
  25. package/lib/action-bar/style/index.js +0 -2
  26. package/lib/action-bar/types.d.ts +0 -4
  27. package/lib/action-bar/types.js +0 -15
  28. package/lib/action-bar-button/ActionBarButton.d.ts +0 -43
  29. package/lib/action-bar-button/ActionBarButton.js +0 -93
  30. package/lib/action-bar-button/index.css +0 -1
  31. package/lib/action-bar-button/index.d.ts +0 -36
  32. package/lib/action-bar-button/index.js +0 -35
  33. package/lib/action-bar-button/style/index.d.ts +0 -1
  34. package/lib/action-bar-button/style/index.js +0 -7
  35. package/lib/action-bar-button/types.d.ts +0 -5
  36. package/lib/action-bar-button/types.js +0 -15
  37. package/lib/action-bar-icon/ActionBarIcon.d.ts +0 -48
  38. package/lib/action-bar-icon/ActionBarIcon.js +0 -88
  39. package/lib/action-bar-icon/index.css +0 -1
  40. package/lib/action-bar-icon/index.d.ts +0 -39
  41. package/lib/action-bar-icon/index.js +0 -35
  42. package/lib/action-bar-icon/style/index.d.ts +0 -1
  43. package/lib/action-bar-icon/style/index.js +0 -5
  44. package/lib/action-bar-icon/types.d.ts +0 -10
  45. package/lib/action-bar-icon/types.js +0 -15
  46. package/lib/action-sheet/ActionSheet.d.ts +0 -194
  47. package/lib/action-sheet/ActionSheet.js +0 -151
  48. package/lib/action-sheet/index.css +0 -1
  49. package/lib/action-sheet/index.d.ts +0 -136
  50. package/lib/action-sheet/index.js +0 -35
  51. package/lib/action-sheet/style/index.d.ts +0 -1
  52. package/lib/action-sheet/style/index.js +0 -7
  53. package/lib/action-sheet/types.d.ts +0 -23
  54. package/lib/action-sheet/types.js +0 -15
  55. package/lib/address-edit/AddressEdit.d.ts +0 -157
  56. package/lib/address-edit/AddressEdit.js +0 -314
  57. package/lib/address-edit/AddressEditDetail.d.ts +0 -32
  58. package/lib/address-edit/AddressEditDetail.js +0 -95
  59. package/lib/address-edit/index.css +0 -1
  60. package/lib/address-edit/index.d.ts +0 -118
  61. package/lib/address-edit/index.js +0 -35
  62. package/lib/address-edit/style/index.d.ts +0 -1
  63. package/lib/address-edit/style/index.js +0 -19
  64. package/lib/address-edit/types.d.ts +0 -28
  65. package/lib/address-edit/types.js +0 -15
  66. package/lib/address-list/AddressList.d.ts +0 -69
  67. package/lib/address-list/AddressList.js +0 -108
  68. package/lib/address-list/AddressListItem.d.ts +0 -34
  69. package/lib/address-list/AddressListItem.js +0 -115
  70. package/lib/address-list/index.css +0 -1
  71. package/lib/address-list/index.d.ts +0 -57
  72. package/lib/address-list/index.js +0 -35
  73. package/lib/address-list/style/index.d.ts +0 -1
  74. package/lib/address-list/style/index.js +0 -11
  75. package/lib/address-list/types.d.ts +0 -15
  76. package/lib/address-list/types.js +0 -15
  77. package/lib/area/Area.d.ts +0 -136
  78. package/lib/area/Area.js +0 -96
  79. package/lib/area/index.d.ts +0 -102
  80. package/lib/area/index.js +0 -35
  81. package/lib/area/style/index.d.ts +0 -1
  82. package/lib/area/style/index.js +0 -10
  83. package/lib/area/types.d.ts +0 -9
  84. package/lib/area/types.js +0 -15
  85. package/lib/area/utils.d.ts +0 -6
  86. package/lib/area/utils.js +0 -111
  87. package/lib/back-top/BackTop.d.ts +0 -46
  88. package/lib/back-top/BackTop.js +0 -120
  89. package/lib/back-top/index.css +0 -1
  90. package/lib/back-top/index.d.ts +0 -39
  91. package/lib/back-top/index.js +0 -35
  92. package/lib/back-top/style/index.d.ts +0 -1
  93. package/lib/back-top/style/index.js +0 -4
  94. package/lib/back-top/types.d.ts +0 -6
  95. package/lib/back-top/types.js +0 -15
  96. package/lib/badge/Badge.d.ts +0 -66
  97. package/lib/badge/Badge.js +0 -115
  98. package/lib/badge/index.css +0 -1
  99. package/lib/badge/index.d.ts +0 -51
  100. package/lib/badge/index.js +0 -35
  101. package/lib/badge/style/index.d.ts +0 -1
  102. package/lib/badge/style/index.js +0 -2
  103. package/lib/badge/types.d.ts +0 -12
  104. package/lib/badge/types.js +0 -15
  105. package/lib/button/Button.d.ts +0 -140
  106. package/lib/button/Button.js +0 -168
  107. package/lib/button/index.css +0 -1
  108. package/lib/button/index.d.ts +0 -104
  109. package/lib/button/index.js +0 -35
  110. package/lib/button/style/index.d.ts +0 -1
  111. package/lib/button/style/index.js +0 -5
  112. package/lib/button/types.d.ts +0 -41
  113. package/lib/button/types.js +0 -15
  114. package/lib/calendar/Calendar.d.ts +0 -292
  115. package/lib/calendar/Calendar.js +0 -439
  116. package/lib/calendar/CalendarDay.d.ts +0 -32
  117. package/lib/calendar/CalendarDay.js +0 -148
  118. package/lib/calendar/CalendarHeader.d.ts +0 -21
  119. package/lib/calendar/CalendarHeader.js +0 -81
  120. package/lib/calendar/CalendarMonth.d.ts +0 -86
  121. package/lib/calendar/CalendarMonth.js +0 -233
  122. package/lib/calendar/index.css +0 -1
  123. package/lib/calendar/index.d.ts +0 -210
  124. package/lib/calendar/index.js +0 -35
  125. package/lib/calendar/style/index.d.ts +0 -1
  126. package/lib/calendar/style/index.js +0 -16
  127. package/lib/calendar/types.d.ts +0 -56
  128. package/lib/calendar/types.js +0 -15
  129. package/lib/calendar/utils.d.ts +0 -12
  130. package/lib/calendar/utils.js +0 -75
  131. package/lib/card/Card.d.ts +0 -56
  132. package/lib/card/Card.js +0 -146
  133. package/lib/card/index.css +0 -1
  134. package/lib/card/index.d.ts +0 -46
  135. package/lib/card/index.js +0 -35
  136. package/lib/card/style/index.d.ts +0 -1
  137. package/lib/card/style/index.js +0 -6
  138. package/lib/card/types.d.ts +0 -18
  139. package/lib/card/types.js +0 -15
  140. package/lib/cascader/Cascader.d.ts +0 -96
  141. package/lib/cascader/Cascader.js +0 -247
  142. package/lib/cascader/index.css +0 -1
  143. package/lib/cascader/index.d.ts +0 -74
  144. package/lib/cascader/index.js +0 -35
  145. package/lib/cascader/style/index.d.ts +0 -1
  146. package/lib/cascader/style/index.js +0 -9
  147. package/lib/cascader/types.d.ts +0 -34
  148. package/lib/cascader/types.js +0 -15
  149. package/lib/cell/Cell.d.ts +0 -136
  150. package/lib/cell/Cell.js +0 -148
  151. package/lib/cell/index.css +0 -1
  152. package/lib/cell/index.d.ts +0 -80
  153. package/lib/cell/index.js +0 -35
  154. package/lib/cell/style/index.d.ts +0 -1
  155. package/lib/cell/style/index.js +0 -4
  156. package/lib/cell/types.d.ts +0 -21
  157. package/lib/cell/types.js +0 -15
  158. package/lib/cell-group/CellGroup.d.ts +0 -29
  159. package/lib/cell-group/CellGroup.js +0 -63
  160. package/lib/cell-group/index.css +0 -1
  161. package/lib/cell-group/index.d.ts +0 -27
  162. package/lib/cell-group/index.js +0 -35
  163. package/lib/cell-group/style/index.d.ts +0 -1
  164. package/lib/cell-group/style/index.js +0 -2
  165. package/lib/cell-group/types.d.ts +0 -10
  166. package/lib/cell-group/types.js +0 -15
  167. package/lib/checkbox/Checkbox.d.ts +0 -64
  168. package/lib/checkbox/Checkbox.js +0 -107
  169. package/lib/checkbox/Checker.d.ts +0 -85
  170. package/lib/checkbox/Checker.js +0 -126
  171. package/lib/checkbox/index.css +0 -1
  172. package/lib/checkbox/index.d.ts +0 -52
  173. package/lib/checkbox/index.js +0 -35
  174. package/lib/checkbox/style/index.d.ts +0 -1
  175. package/lib/checkbox/style/index.js +0 -5
  176. package/lib/checkbox/types.d.ts +0 -24
  177. package/lib/checkbox/types.js +0 -15
  178. package/lib/checkbox-group/CheckboxGroup.d.ts +0 -44
  179. package/lib/checkbox-group/CheckboxGroup.js +0 -91
  180. package/lib/checkbox-group/index.css +0 -1
  181. package/lib/checkbox-group/index.d.ts +0 -36
  182. package/lib/checkbox-group/index.js +0 -35
  183. package/lib/checkbox-group/style/index.d.ts +0 -1
  184. package/lib/checkbox-group/style/index.js +0 -2
  185. package/lib/checkbox-group/types.d.ts +0 -16
  186. package/lib/checkbox-group/types.js +0 -15
  187. package/lib/circle/Circle.d.ts +0 -118
  188. package/lib/circle/Circle.js +0 -172
  189. package/lib/circle/index.css +0 -1
  190. package/lib/circle/index.d.ts +0 -88
  191. package/lib/circle/index.js +0 -35
  192. package/lib/circle/style/index.d.ts +0 -1
  193. package/lib/circle/style/index.js +0 -2
  194. package/lib/circle/types.d.ts +0 -9
  195. package/lib/circle/types.js +0 -15
  196. package/lib/col/Col.d.ts +0 -38
  197. package/lib/col/Col.js +0 -83
  198. package/lib/col/index.css +0 -1
  199. package/lib/col/index.d.ts +0 -32
  200. package/lib/col/index.js +0 -35
  201. package/lib/col/style/index.d.ts +0 -1
  202. package/lib/col/style/index.js +0 -3
  203. package/lib/collapse/Collapse.d.ts +0 -55
  204. package/lib/collapse/Collapse.js +0 -128
  205. package/lib/collapse/index.d.ts +0 -36
  206. package/lib/collapse/index.js +0 -35
  207. package/lib/collapse/style/index.d.ts +0 -1
  208. package/lib/collapse/style/index.js +0 -1
  209. package/lib/collapse-item/CollapseItem.d.ts +0 -132
  210. package/lib/collapse-item/CollapseItem.js +0 -156
  211. package/lib/collapse-item/index.css +0 -1
  212. package/lib/collapse-item/index.d.ts +0 -98
  213. package/lib/collapse-item/index.js +0 -35
  214. package/lib/collapse-item/style/index.d.ts +0 -1
  215. package/lib/collapse-item/style/index.js +0 -5
  216. package/lib/collapse-item/types.d.ts +0 -15
  217. package/lib/collapse-item/types.js +0 -15
  218. package/lib/composables/on-popup-reopen.d.ts +0 -3
  219. package/lib/composables/on-popup-reopen.js +0 -35
  220. package/lib/composables/use-expose.d.ts +0 -1
  221. package/lib/composables/use-expose.js +0 -30
  222. package/lib/composables/use-global-z-index.d.ts +0 -4
  223. package/lib/composables/use-global-z-index.js +0 -28
  224. package/lib/composables/use-height.d.ts +0 -2
  225. package/lib/composables/use-height.js +0 -43
  226. package/lib/composables/use-id.d.ts +0 -1
  227. package/lib/composables/use-id.js +0 -32
  228. package/lib/composables/use-lazy-render.d.ts +0 -2
  229. package/lib/composables/use-lazy-render.js +0 -36
  230. package/lib/composables/use-lock-scroll.d.ts +0 -2
  231. package/lib/composables/use-lock-scroll.js +0 -77
  232. package/lib/composables/use-placeholder.d.ts +0 -3
  233. package/lib/composables/use-placeholder.js +0 -33
  234. package/lib/composables/use-refs.d.ts +0 -2
  235. package/lib/composables/use-refs.js +0 -39
  236. package/lib/composables/use-route.d.ts +0 -13
  237. package/lib/composables/use-route.js +0 -46
  238. package/lib/composables/use-sync-prop-ref.d.ts +0 -2
  239. package/lib/composables/use-sync-prop-ref.js +0 -37
  240. package/lib/composables/use-tab-status.d.ts +0 -3
  241. package/lib/composables/use-tab-status.js +0 -26
  242. package/lib/composables/use-touch.d.ts +0 -16
  243. package/lib/composables/use-touch.js +0 -80
  244. package/lib/composables/use-visibility-change.d.ts +0 -2
  245. package/lib/composables/use-visibility-change.js +0 -49
  246. package/lib/config-provider/ConfigProvider.d.ts +0 -57
  247. package/lib/config-provider/ConfigProvider.js +0 -89
  248. package/lib/config-provider/index.d.ts +0 -41
  249. package/lib/config-provider/index.js +0 -35
  250. package/lib/config-provider/style/index.d.ts +0 -1
  251. package/lib/config-provider/style/index.js +0 -1
  252. package/lib/config-provider/types.d.ts +0 -1
  253. package/lib/config-provider/types.js +0 -15
  254. package/lib/contact-card/ContactCard.d.ts +0 -47
  255. package/lib/contact-card/ContactCard.js +0 -66
  256. package/lib/contact-card/index.css +0 -1
  257. package/lib/contact-card/index.d.ts +0 -39
  258. package/lib/contact-card/index.js +0 -35
  259. package/lib/contact-card/style/index.d.ts +0 -1
  260. package/lib/contact-card/style/index.js +0 -5
  261. package/lib/contact-card/types.d.ts +0 -6
  262. package/lib/contact-card/types.js +0 -15
  263. package/lib/contact-edit/ContactEdit.d.ts +0 -64
  264. package/lib/contact-edit/ContactEdit.js +0 -132
  265. package/lib/contact-edit/index.css +0 -1
  266. package/lib/contact-edit/index.d.ts +0 -49
  267. package/lib/contact-edit/index.js +0 -35
  268. package/lib/contact-edit/style/index.d.ts +0 -1
  269. package/lib/contact-edit/style/index.js +0 -9
  270. package/lib/contact-edit/types.d.ts +0 -8
  271. package/lib/contact-edit/types.js +0 -15
  272. package/lib/contact-list/ContactList.d.ts +0 -32
  273. package/lib/contact-list/ContactList.js +0 -109
  274. package/lib/contact-list/index.css +0 -1
  275. package/lib/contact-list/index.d.ts +0 -25
  276. package/lib/contact-list/index.js +0 -35
  277. package/lib/contact-list/style/index.d.ts +0 -1
  278. package/lib/contact-list/style/index.js +0 -11
  279. package/lib/contact-list/types.d.ts +0 -6
  280. package/lib/contact-list/types.js +0 -15
  281. package/lib/count-down/CountDown.d.ts +0 -55
  282. package/lib/count-down/CountDown.js +0 -76
  283. package/lib/count-down/index.css +0 -1
  284. package/lib/count-down/index.d.ts +0 -46
  285. package/lib/count-down/index.js +0 -35
  286. package/lib/count-down/style/index.d.ts +0 -1
  287. package/lib/count-down/style/index.js +0 -2
  288. package/lib/count-down/types.d.ts +0 -16
  289. package/lib/count-down/types.js +0 -15
  290. package/lib/count-down/utils.d.ts +0 -2
  291. package/lib/count-down/utils.js +0 -58
  292. package/lib/coupon/Coupon.d.ts +0 -45
  293. package/lib/coupon/Coupon.js +0 -99
  294. package/lib/coupon/index.css +0 -1
  295. package/lib/coupon/index.d.ts +0 -35
  296. package/lib/coupon/index.js +0 -33
  297. package/lib/coupon/style/index.d.ts +0 -1
  298. package/lib/coupon/style/index.js +0 -6
  299. package/lib/coupon/types.d.ts +0 -19
  300. package/lib/coupon/types.js +0 -15
  301. package/lib/coupon/utils.d.ts +0 -3
  302. package/lib/coupon/utils.js +0 -33
  303. package/lib/coupon-cell/CouponCell.d.ts +0 -78
  304. package/lib/coupon-cell/CouponCell.js +0 -74
  305. package/lib/coupon-cell/index.css +0 -1
  306. package/lib/coupon-cell/index.d.ts +0 -60
  307. package/lib/coupon-cell/index.js +0 -35
  308. package/lib/coupon-cell/style/index.d.ts +0 -1
  309. package/lib/coupon-cell/style/index.js +0 -5
  310. package/lib/coupon-cell/types.d.ts +0 -3
  311. package/lib/coupon-cell/types.js +0 -15
  312. package/lib/coupon-list/CouponList.d.ts +0 -170
  313. package/lib/coupon-list/CouponList.js +0 -206
  314. package/lib/coupon-list/index.css +0 -1
  315. package/lib/coupon-list/index.d.ts +0 -125
  316. package/lib/coupon-list/index.js +0 -35
  317. package/lib/coupon-list/style/index.d.ts +0 -1
  318. package/lib/coupon-list/style/index.js +0 -17
  319. package/lib/coupon-list/types.d.ts +0 -9
  320. package/lib/coupon-list/types.js +0 -15
  321. package/lib/date-picker/DatePicker.d.ts +0 -171
  322. package/lib/date-picker/DatePicker.js +0 -137
  323. package/lib/date-picker/index.d.ts +0 -127
  324. package/lib/date-picker/index.js +0 -35
  325. package/lib/date-picker/style/index.d.ts +0 -1
  326. package/lib/date-picker/style/index.js +0 -10
  327. package/lib/date-picker/utils.d.ts +0 -45
  328. package/lib/date-picker/utils.js +0 -70
  329. package/lib/dialog/Dialog.d.ts +0 -187
  330. package/lib/dialog/Dialog.js +0 -237
  331. package/lib/dialog/function-call.d.ts +0 -6
  332. package/lib/dialog/function-call.js +0 -110
  333. package/lib/dialog/index.css +0 -1
  334. package/lib/dialog/index.d.ts +0 -138
  335. package/lib/dialog/index.js +0 -41
  336. package/lib/dialog/style/index.d.ts +0 -1
  337. package/lib/dialog/style/index.js +0 -10
  338. package/lib/dialog/types.d.ts +0 -53
  339. package/lib/dialog/types.js +0 -15
  340. package/lib/divider/Divider.d.ts +0 -40
  341. package/lib/divider/Divider.js +0 -51
  342. package/lib/divider/index.css +0 -1
  343. package/lib/divider/index.d.ts +0 -34
  344. package/lib/divider/index.js +0 -35
  345. package/lib/divider/style/index.d.ts +0 -1
  346. package/lib/divider/style/index.js +0 -2
  347. package/lib/divider/types.d.ts +0 -10
  348. package/lib/divider/types.js +0 -15
  349. package/lib/dropdown-item/DropdownItem.d.ts +0 -59
  350. package/lib/dropdown-item/DropdownItem.js +0 -202
  351. package/lib/dropdown-item/index.css +0 -1
  352. package/lib/dropdown-item/index.d.ts +0 -50
  353. package/lib/dropdown-item/index.js +0 -35
  354. package/lib/dropdown-item/style/index.d.ts +0 -1
  355. package/lib/dropdown-item/style/index.js +0 -8
  356. package/lib/dropdown-item/types.d.ts +0 -25
  357. package/lib/dropdown-item/types.js +0 -15
  358. package/lib/dropdown-menu/DropdownMenu.d.ts +0 -82
  359. package/lib/dropdown-menu/DropdownMenu.js +0 -156
  360. package/lib/dropdown-menu/index.css +0 -1
  361. package/lib/dropdown-menu/index.d.ts +0 -63
  362. package/lib/dropdown-menu/index.js +0 -35
  363. package/lib/dropdown-menu/style/index.d.ts +0 -1
  364. package/lib/dropdown-menu/style/index.js +0 -2
  365. package/lib/dropdown-menu/types.d.ts +0 -21
  366. package/lib/dropdown-menu/types.js +0 -15
  367. package/lib/empty/Empty.d.ts +0 -29
  368. package/lib/empty/Empty.js +0 -342
  369. package/lib/empty/index.css +0 -1
  370. package/lib/empty/index.d.ts +0 -26
  371. package/lib/empty/index.js +0 -35
  372. package/lib/empty/style/index.d.ts +0 -1
  373. package/lib/empty/style/index.js +0 -2
  374. package/lib/empty/types.d.ts +0 -10
  375. package/lib/empty/types.js +0 -15
  376. package/lib/field/Field.d.ts +0 -337
  377. package/lib/field/Field.js +0 -496
  378. package/lib/field/index.css +0 -1
  379. package/lib/field/index.d.ts +0 -213
  380. package/lib/field/index.js +0 -35
  381. package/lib/field/style/index.d.ts +0 -1
  382. package/lib/field/style/index.js +0 -5
  383. package/lib/field/types.d.ts +0 -65
  384. package/lib/field/types.js +0 -15
  385. package/lib/field/utils.d.ts +0 -15
  386. package/lib/field/utils.js +0 -120
  387. package/lib/form/Form.d.ts +0 -88
  388. package/lib/form/Form.js +0 -178
  389. package/lib/form/index.d.ts +0 -70
  390. package/lib/form/index.js +0 -35
  391. package/lib/form/style/index.d.ts +0 -1
  392. package/lib/form/style/index.js +0 -1
  393. package/lib/form/types.d.ts +0 -15
  394. package/lib/form/types.js +0 -15
  395. package/lib/grid/Grid.d.ts +0 -74
  396. package/lib/grid/Grid.js +0 -67
  397. package/lib/grid/index.css +0 -1
  398. package/lib/grid/index.d.ts +0 -54
  399. package/lib/grid/index.js +0 -35
  400. package/lib/grid/style/index.d.ts +0 -1
  401. package/lib/grid/style/index.js +0 -2
  402. package/lib/grid-item/GridItem.d.ts +0 -45
  403. package/lib/grid-item/GridItem.js +0 -165
  404. package/lib/grid-item/index.css +0 -1
  405. package/lib/grid-item/index.d.ts +0 -37
  406. package/lib/grid-item/index.js +0 -35
  407. package/lib/grid-item/style/index.d.ts +0 -1
  408. package/lib/grid-item/style/index.js +0 -5
  409. package/lib/grid-item/types.d.ts +0 -8
  410. package/lib/grid-item/types.js +0 -15
  411. package/lib/icon/Icon.d.ts +0 -45
  412. package/lib/icon/Icon.js +0 -79
  413. package/lib/icon/index.css +0 -1
  414. package/lib/icon/index.d.ts +0 -36
  415. package/lib/icon/index.js +0 -35
  416. package/lib/icon/style/index.d.ts +0 -1
  417. package/lib/icon/style/index.js +0 -3
  418. package/lib/image/Image.d.ts +0 -105
  419. package/lib/image/Image.js +0 -182
  420. package/lib/image/index.css +0 -1
  421. package/lib/image/index.d.ts +0 -79
  422. package/lib/image/index.js +0 -35
  423. package/lib/image/style/index.d.ts +0 -1
  424. package/lib/image/style/index.js +0 -4
  425. package/lib/image/types.d.ts +0 -9
  426. package/lib/image/types.js +0 -15
  427. package/lib/image-preview/ImagePreview.d.ts +0 -188
  428. package/lib/image-preview/ImagePreview.js +0 -192
  429. package/lib/image-preview/ImagePreviewItem.d.ts +0 -48
  430. package/lib/image-preview/ImagePreviewItem.js +0 -284
  431. package/lib/image-preview/function-call.d.ts +0 -3
  432. package/lib/image-preview/function-call.js +0 -89
  433. package/lib/image-preview/index.css +0 -1
  434. package/lib/image-preview/index.d.ts +0 -140
  435. package/lib/image-preview/index.js +0 -37
  436. package/lib/image-preview/style/index.d.ts +0 -1
  437. package/lib/image-preview/style/index.js +0 -10
  438. package/lib/image-preview/types.d.ts +0 -50
  439. package/lib/image-preview/types.js +0 -15
  440. package/lib/index-anchor/IndexAnchor.d.ts +0 -11
  441. package/lib/index-anchor/IndexAnchor.js +0 -107
  442. package/lib/index-anchor/index.css +0 -1
  443. package/lib/index-anchor/index.d.ts +0 -14
  444. package/lib/index-anchor/index.js +0 -35
  445. package/lib/index-anchor/style/index.d.ts +0 -1
  446. package/lib/index-anchor/style/index.js +0 -3
  447. package/lib/index-anchor/types.d.ts +0 -11
  448. package/lib/index-anchor/types.js +0 -15
  449. package/lib/index-bar/IndexBar.d.ts +0 -64
  450. package/lib/index-bar/IndexBar.js +0 -246
  451. package/lib/index-bar/index.css +0 -1
  452. package/lib/index-bar/index.d.ts +0 -50
  453. package/lib/index-bar/index.js +0 -35
  454. package/lib/index-bar/style/index.d.ts +0 -1
  455. package/lib/index-bar/style/index.js +0 -2
  456. package/lib/index-bar/types.d.ts +0 -16
  457. package/lib/index-bar/types.js +0 -15
  458. package/lib/index.css +0 -1
  459. package/lib/index.d.ts +0 -97
  460. package/lib/index.js +0 -309
  461. package/lib/lazyload/index.d.ts +0 -3
  462. package/lib/lazyload/index.js +0 -25
  463. package/lib/lazyload/style/index.d.ts +0 -1
  464. package/lib/lazyload/style/index.js +0 -1
  465. package/lib/lazyload/vue-lazyload/index.d.ts +0 -55
  466. package/lib/lazyload/vue-lazyload/index.js +0 -56
  467. package/lib/lazyload/vue-lazyload/lazy-component.js +0 -70
  468. package/lib/lazyload/vue-lazyload/lazy-container.js +0 -93
  469. package/lib/lazyload/vue-lazyload/lazy-image.js +0 -119
  470. package/lib/lazyload/vue-lazyload/lazy.js +0 -378
  471. package/lib/lazyload/vue-lazyload/listener.js +0 -192
  472. package/lib/lazyload/vue-lazyload/util.d.ts +0 -25
  473. package/lib/lazyload/vue-lazyload/util.js +0 -185
  474. package/lib/list/List.d.ts +0 -78
  475. package/lib/list/List.js +0 -160
  476. package/lib/list/index.css +0 -1
  477. package/lib/list/index.d.ts +0 -63
  478. package/lib/list/index.js +0 -35
  479. package/lib/list/style/index.d.ts +0 -1
  480. package/lib/list/style/index.js +0 -3
  481. package/lib/list/types.d.ts +0 -13
  482. package/lib/list/types.js +0 -15
  483. package/lib/loading/Loading.d.ts +0 -39
  484. package/lib/loading/Loading.js +0 -90
  485. package/lib/loading/index.css +0 -1
  486. package/lib/loading/index.d.ts +0 -33
  487. package/lib/loading/index.js +0 -35
  488. package/lib/loading/style/index.d.ts +0 -1
  489. package/lib/loading/style/index.js +0 -2
  490. package/lib/loading/types.d.ts +0 -7
  491. package/lib/loading/types.js +0 -15
  492. package/lib/locale/index.d.ts +0 -7
  493. package/lib/locale/index.js +0 -49
  494. package/lib/locale/lang/bg-BG.d.ts +0 -64
  495. package/lib/locale/lang/bg-BG.js +0 -93
  496. package/lib/locale/lang/bn-BD.js +0 -91
  497. package/lib/locale/lang/da-DK.d.ts +0 -64
  498. package/lib/locale/lang/da-DK.js +0 -85
  499. package/lib/locale/lang/de-DE-formal.js +0 -83
  500. package/lib/locale/lang/de-DE.d.ts +0 -62
  501. package/lib/locale/lang/de-DE.js +0 -83
  502. package/lib/locale/lang/el-GR.d.ts +0 -64
  503. package/lib/locale/lang/el-GR.js +0 -93
  504. package/lib/locale/lang/en-US.d.ts +0 -62
  505. package/lib/locale/lang/en-US.js +0 -83
  506. package/lib/locale/lang/es-ES.d.ts +0 -62
  507. package/lib/locale/lang/es-ES.js +0 -83
  508. package/lib/locale/lang/fa-IR.d.ts +0 -64
  509. package/lib/locale/lang/fa-IR.js +0 -93
  510. package/lib/locale/lang/fr-FR.d.ts +0 -62
  511. package/lib/locale/lang/fr-FR.js +0 -83
  512. package/lib/locale/lang/he-IL.d.ts +0 -64
  513. package/lib/locale/lang/he-IL.js +0 -85
  514. package/lib/locale/lang/hi-IN.d.ts +0 -62
  515. package/lib/locale/lang/hi-IN.js +0 -91
  516. package/lib/locale/lang/id-ID.d.ts +0 -62
  517. package/lib/locale/lang/id-ID.js +0 -83
  518. package/lib/locale/lang/is-IS.d.ts +0 -62
  519. package/lib/locale/lang/is-IS.js +0 -91
  520. package/lib/locale/lang/it-IT.d.ts +0 -62
  521. package/lib/locale/lang/it-IT.js +0 -91
  522. package/lib/locale/lang/ja-JP.d.ts +0 -62
  523. package/lib/locale/lang/ja-JP.js +0 -83
  524. package/lib/locale/lang/ko-KR.d.ts +0 -62
  525. package/lib/locale/lang/ko-KR.js +0 -91
  526. package/lib/locale/lang/la-LA.d.ts +0 -62
  527. package/lib/locale/lang/la-LA.js +0 -83
  528. package/lib/locale/lang/nb-NO.d.ts +0 -62
  529. package/lib/locale/lang/nb-NO.js +0 -83
  530. package/lib/locale/lang/pt-BR.d.ts +0 -62
  531. package/lib/locale/lang/pt-BR.js +0 -83
  532. package/lib/locale/lang/ro-RO.d.ts +0 -62
  533. package/lib/locale/lang/ro-RO.js +0 -83
  534. package/lib/locale/lang/ru-RU.d.ts +0 -62
  535. package/lib/locale/lang/ru-RU.js +0 -83
  536. package/lib/locale/lang/sv-SE.d.ts +0 -62
  537. package/lib/locale/lang/sv-SE.js +0 -83
  538. package/lib/locale/lang/th-TH.d.ts +0 -62
  539. package/lib/locale/lang/th-TH.js +0 -83
  540. package/lib/locale/lang/tr-TR.d.ts +0 -62
  541. package/lib/locale/lang/tr-TR.js +0 -83
  542. package/lib/locale/lang/uk-UA.d.ts +0 -62
  543. package/lib/locale/lang/uk-UA.js +0 -91
  544. package/lib/locale/lang/vi-VN.d.ts +0 -62
  545. package/lib/locale/lang/vi-VN.js +0 -91
  546. package/lib/locale/lang/zh-CN.d.ts +0 -62
  547. package/lib/locale/lang/zh-CN.js +0 -83
  548. package/lib/locale/lang/zh-HK.d.ts +0 -62
  549. package/lib/locale/lang/zh-HK.js +0 -83
  550. package/lib/locale/lang/zh-TW.d.ts +0 -62
  551. package/lib/locale/lang/zh-TW.js +0 -83
  552. package/lib/locale/style/index.d.ts +0 -1
  553. package/lib/locale/style/index.js +0 -1
  554. package/lib/nav-bar/NavBar.d.ts +0 -66
  555. package/lib/nav-bar/NavBar.js +0 -111
  556. package/lib/nav-bar/index.css +0 -1
  557. package/lib/nav-bar/index.d.ts +0 -54
  558. package/lib/nav-bar/index.js +0 -35
  559. package/lib/nav-bar/style/index.d.ts +0 -1
  560. package/lib/nav-bar/style/index.js +0 -4
  561. package/lib/nav-bar/types.d.ts +0 -10
  562. package/lib/nav-bar/types.js +0 -15
  563. package/lib/notice-bar/NoticeBar.d.ts +0 -71
  564. package/lib/notice-bar/NoticeBar.js +0 -185
  565. package/lib/notice-bar/index.css +0 -1
  566. package/lib/notice-bar/index.d.ts +0 -57
  567. package/lib/notice-bar/index.js +0 -35
  568. package/lib/notice-bar/style/index.d.ts +0 -1
  569. package/lib/notice-bar/style/index.js +0 -4
  570. package/lib/notice-bar/types.d.ts +0 -18
  571. package/lib/notice-bar/types.js +0 -15
  572. package/lib/notify/Notify.d.ts +0 -134
  573. package/lib/notify/Notify.js +0 -65
  574. package/lib/notify/function-call.d.ts +0 -6
  575. package/lib/notify/function-call.js +0 -93
  576. package/lib/notify/index.css +0 -1
  577. package/lib/notify/index.d.ts +0 -100
  578. package/lib/notify/index.js +0 -40
  579. package/lib/notify/style/index.d.ts +0 -1
  580. package/lib/notify/style/index.js +0 -6
  581. package/lib/notify/types.d.ts +0 -27
  582. package/lib/notify/types.js +0 -15
  583. package/lib/number-keyboard/NumberKeyboard.d.ts +0 -162
  584. package/lib/number-keyboard/NumberKeyboard.js +0 -256
  585. package/lib/number-keyboard/NumberKeyboardKey.d.ts +0 -24
  586. package/lib/number-keyboard/NumberKeyboardKey.js +0 -113
  587. package/lib/number-keyboard/index.css +0 -1
  588. package/lib/number-keyboard/index.d.ts +0 -121
  589. package/lib/number-keyboard/index.js +0 -35
  590. package/lib/number-keyboard/style/index.d.ts +0 -1
  591. package/lib/number-keyboard/style/index.js +0 -3
  592. package/lib/number-keyboard/types.d.ts +0 -17
  593. package/lib/number-keyboard/types.js +0 -15
  594. package/lib/overlay/Overlay.d.ts +0 -51
  595. package/lib/overlay/Overlay.js +0 -74
  596. package/lib/overlay/index.css +0 -1
  597. package/lib/overlay/index.d.ts +0 -42
  598. package/lib/overlay/index.js +0 -35
  599. package/lib/overlay/style/index.d.ts +0 -1
  600. package/lib/overlay/style/index.js +0 -2
  601. package/lib/overlay/types.d.ts +0 -4
  602. package/lib/overlay/types.js +0 -15
  603. package/lib/pagination/Pagination.d.ts +0 -101
  604. package/lib/pagination/Pagination.js +0 -164
  605. package/lib/pagination/index.css +0 -1
  606. package/lib/pagination/index.d.ts +0 -77
  607. package/lib/pagination/index.js +0 -35
  608. package/lib/pagination/style/index.d.ts +0 -1
  609. package/lib/pagination/style/index.js +0 -2
  610. package/lib/pagination/types.d.ts +0 -11
  611. package/lib/pagination/types.js +0 -15
  612. package/lib/password-input/PasswordInput.d.ts +0 -63
  613. package/lib/password-input/PasswordInput.js +0 -98
  614. package/lib/password-input/index.css +0 -1
  615. package/lib/password-input/index.d.ts +0 -51
  616. package/lib/password-input/index.js +0 -35
  617. package/lib/password-input/style/index.d.ts +0 -1
  618. package/lib/password-input/style/index.js +0 -2
  619. package/lib/password-input/types.d.ts +0 -17
  620. package/lib/password-input/types.js +0 -15
  621. package/lib/picker/Picker.d.ts +0 -163
  622. package/lib/picker/Picker.js +0 -224
  623. package/lib/picker/PickerColumn.d.ts +0 -60
  624. package/lib/picker/PickerColumn.js +0 -213
  625. package/lib/picker/PickerToolbar.d.ts +0 -21
  626. package/lib/picker/PickerToolbar.js +0 -78
  627. package/lib/picker/index.css +0 -1
  628. package/lib/picker/index.d.ts +0 -104
  629. package/lib/picker/index.js +0 -35
  630. package/lib/picker/style/index.d.ts +0 -1
  631. package/lib/picker/style/index.js +0 -10
  632. package/lib/picker/types.d.ts +0 -62
  633. package/lib/picker/types.js +0 -15
  634. package/lib/picker/utils.d.ts +0 -13
  635. package/lib/picker/utils.js +0 -99
  636. package/lib/picker-group/PickerGroup.d.ts +0 -39
  637. package/lib/picker-group/PickerGroup.js +0 -82
  638. package/lib/picker-group/index.css +0 -1
  639. package/lib/picker-group/index.d.ts +0 -34
  640. package/lib/picker-group/index.js +0 -35
  641. package/lib/picker-group/style/index.d.ts +0 -1
  642. package/lib/picker-group/style/index.js +0 -9
  643. package/lib/picker-group/types.d.ts +0 -3
  644. package/lib/picker-group/types.js +0 -15
  645. package/lib/popover/Popover.d.ts +0 -164
  646. package/lib/popover/Popover.js +0 -203
  647. package/lib/popover/index.css +0 -1
  648. package/lib/popover/index.d.ts +0 -121
  649. package/lib/popover/index.js +0 -35
  650. package/lib/popover/style/index.d.ts +0 -1
  651. package/lib/popover/style/index.js +0 -6
  652. package/lib/popover/types.d.ts +0 -26
  653. package/lib/popover/types.js +0 -15
  654. package/lib/popup/Popup.d.ts +0 -165
  655. package/lib/popup/Popup.js +0 -226
  656. package/lib/popup/index.css +0 -1
  657. package/lib/popup/index.d.ts +0 -124
  658. package/lib/popup/index.js +0 -35
  659. package/lib/popup/shared.d.ts +0 -30
  660. package/lib/popup/shared.js +0 -41
  661. package/lib/popup/style/index.d.ts +0 -1
  662. package/lib/popup/style/index.js +0 -5
  663. package/lib/popup/types.d.ts +0 -17
  664. package/lib/popup/types.js +0 -15
  665. package/lib/progress/Progress.d.ts +0 -61
  666. package/lib/progress/Progress.js +0 -96
  667. package/lib/progress/index.css +0 -1
  668. package/lib/progress/index.d.ts +0 -49
  669. package/lib/progress/index.js +0 -35
  670. package/lib/progress/style/index.d.ts +0 -1
  671. package/lib/progress/style/index.js +0 -2
  672. package/lib/progress/types.d.ts +0 -17
  673. package/lib/progress/types.js +0 -15
  674. package/lib/pull-refresh/PullRefresh.d.ts +0 -75
  675. package/lib/pull-refresh/PullRefresh.js +0 -213
  676. package/lib/pull-refresh/index.css +0 -1
  677. package/lib/pull-refresh/index.d.ts +0 -60
  678. package/lib/pull-refresh/index.js +0 -35
  679. package/lib/pull-refresh/style/index.d.ts +0 -1
  680. package/lib/pull-refresh/style/index.js +0 -3
  681. package/lib/pull-refresh/types.d.ts +0 -6
  682. package/lib/pull-refresh/types.js +0 -15
  683. package/lib/radio/Radio.d.ts +0 -50
  684. package/lib/radio/Radio.js +0 -68
  685. package/lib/radio/index.css +0 -1
  686. package/lib/radio/index.d.ts +0 -40
  687. package/lib/radio/index.js +0 -35
  688. package/lib/radio/style/index.d.ts +0 -1
  689. package/lib/radio/style/index.js +0 -6
  690. package/lib/radio/types.d.ts +0 -11
  691. package/lib/radio/types.js +0 -15
  692. package/lib/radio-group/RadioGroup.d.ts +0 -35
  693. package/lib/radio-group/RadioGroup.js +0 -64
  694. package/lib/radio-group/index.css +0 -1
  695. package/lib/radio-group/index.d.ts +0 -26
  696. package/lib/radio-group/index.js +0 -35
  697. package/lib/radio-group/style/index.d.ts +0 -1
  698. package/lib/radio-group/style/index.js +0 -2
  699. package/lib/rate/Rate.d.ts +0 -107
  700. package/lib/rate/Rate.js +0 -239
  701. package/lib/rate/index.css +0 -1
  702. package/lib/rate/index.d.ts +0 -82
  703. package/lib/rate/index.js +0 -35
  704. package/lib/rate/style/index.d.ts +0 -1
  705. package/lib/rate/style/index.js +0 -4
  706. package/lib/rate/types.d.ts +0 -7
  707. package/lib/rate/types.js +0 -15
  708. package/lib/row/Row.d.ts +0 -64
  709. package/lib/row/Row.js +0 -111
  710. package/lib/row/index.css +0 -1
  711. package/lib/row/index.d.ts +0 -43
  712. package/lib/row/index.js +0 -35
  713. package/lib/row/style/index.d.ts +0 -1
  714. package/lib/row/style/index.js +0 -2
  715. package/lib/search/Search.d.ts +0 -206
  716. package/lib/search/Search.js +0 -138
  717. package/lib/search/index.css +0 -1
  718. package/lib/search/index.d.ts +0 -152
  719. package/lib/search/index.js +0 -35
  720. package/lib/search/style/index.d.ts +0 -1
  721. package/lib/search/style/index.js +0 -6
  722. package/lib/search/types.d.ts +0 -21
  723. package/lib/search/types.js +0 -15
  724. package/lib/share-sheet/ShareSheet.d.ts +0 -162
  725. package/lib/share-sheet/ShareSheet.js +0 -142
  726. package/lib/share-sheet/index.css +0 -1
  727. package/lib/share-sheet/index.d.ts +0 -115
  728. package/lib/share-sheet/index.js +0 -35
  729. package/lib/share-sheet/style/index.d.ts +0 -1
  730. package/lib/share-sheet/style/index.js +0 -6
  731. package/lib/share-sheet/types.d.ts +0 -17
  732. package/lib/share-sheet/types.js +0 -15
  733. package/lib/sidebar/Sidebar.d.ts +0 -30
  734. package/lib/sidebar/Sidebar.js +0 -64
  735. package/lib/sidebar/index.css +0 -1
  736. package/lib/sidebar/index.d.ts +0 -25
  737. package/lib/sidebar/index.js +0 -35
  738. package/lib/sidebar/style/index.d.ts +0 -1
  739. package/lib/sidebar/style/index.js +0 -2
  740. package/lib/sidebar/types.d.ts +0 -3
  741. package/lib/sidebar/types.js +0 -15
  742. package/lib/sidebar-item/SidebarItem.d.ts +0 -42
  743. package/lib/sidebar-item/SidebarItem.js +0 -92
  744. package/lib/sidebar-item/index.css +0 -1
  745. package/lib/sidebar-item/index.d.ts +0 -36
  746. package/lib/sidebar-item/index.js +0 -35
  747. package/lib/sidebar-item/style/index.d.ts +0 -1
  748. package/lib/sidebar-item/style/index.js +0 -4
  749. package/lib/sidebar-item/types.d.ts +0 -15
  750. package/lib/sidebar-item/types.js +0 -15
  751. package/lib/skeleton/Skeleton.d.ts +0 -96
  752. package/lib/skeleton/Skeleton.js +0 -115
  753. package/lib/skeleton/SkeletonAvatar.d.ts +0 -26
  754. package/lib/skeleton/SkeletonAvatar.js +0 -41
  755. package/lib/skeleton/SkeletonImage.d.ts +0 -26
  756. package/lib/skeleton/SkeletonImage.js +0 -45
  757. package/lib/skeleton/SkeletonParagraph.d.ts +0 -27
  758. package/lib/skeleton/SkeletonParagraph.js +0 -50
  759. package/lib/skeleton/SkeletonTitle.d.ts +0 -16
  760. package/lib/skeleton/SkeletonTitle.js +0 -45
  761. package/lib/skeleton/index.css +0 -1
  762. package/lib/skeleton/index.d.ts +0 -140
  763. package/lib/skeleton/index.js +0 -55
  764. package/lib/skeleton/style/index.d.ts +0 -1
  765. package/lib/skeleton/style/index.js +0 -4
  766. package/lib/skeleton/types.d.ts +0 -13
  767. package/lib/skeleton/types.js +0 -15
  768. package/lib/slider/Slider.d.ts +0 -100
  769. package/lib/slider/Slider.js +0 -291
  770. package/lib/slider/index.css +0 -1
  771. package/lib/slider/index.d.ts +0 -77
  772. package/lib/slider/index.js +0 -35
  773. package/lib/slider/style/index.d.ts +0 -1
  774. package/lib/slider/style/index.js +0 -2
  775. package/lib/slider/types.d.ts +0 -11
  776. package/lib/slider/types.js +0 -15
  777. package/lib/space/Space.d.ts +0 -48
  778. package/lib/space/Space.js +0 -107
  779. package/lib/space/index.css +0 -1
  780. package/lib/space/index.d.ts +0 -38
  781. package/lib/space/index.js +0 -35
  782. package/lib/space/style/index.d.ts +0 -1
  783. package/lib/space/style/index.js +0 -2
  784. package/lib/step/Step.d.ts +0 -2
  785. package/lib/step/Step.js +0 -137
  786. package/lib/step/index.css +0 -1
  787. package/lib/step/index.d.ts +0 -8
  788. package/lib/step/index.js +0 -33
  789. package/lib/step/style/index.d.ts +0 -1
  790. package/lib/step/style/index.js +0 -5
  791. package/lib/step/types.d.ts +0 -13
  792. package/lib/step/types.js +0 -15
  793. package/lib/stepper/Stepper.d.ts +0 -194
  794. package/lib/stepper/Stepper.js +0 -267
  795. package/lib/stepper/index.css +0 -1
  796. package/lib/stepper/index.d.ts +0 -143
  797. package/lib/stepper/index.js +0 -35
  798. package/lib/stepper/style/index.d.ts +0 -1
  799. package/lib/stepper/style/index.js +0 -2
  800. package/lib/stepper/types.d.ts +0 -15
  801. package/lib/stepper/types.js +0 -15
  802. package/lib/steps/Steps.d.ts +0 -71
  803. package/lib/steps/Steps.js +0 -66
  804. package/lib/steps/index.css +0 -1
  805. package/lib/steps/index.d.ts +0 -52
  806. package/lib/steps/index.js +0 -35
  807. package/lib/steps/style/index.d.ts +0 -1
  808. package/lib/steps/style/index.js +0 -2
  809. package/lib/steps/types.d.ts +0 -3
  810. package/lib/steps/types.js +0 -15
  811. package/lib/sticky/Sticky.d.ts +0 -58
  812. package/lib/sticky/Sticky.js +0 -140
  813. package/lib/sticky/index.css +0 -1
  814. package/lib/sticky/index.d.ts +0 -47
  815. package/lib/sticky/index.js +0 -35
  816. package/lib/sticky/style/index.d.ts +0 -1
  817. package/lib/sticky/style/index.js +0 -2
  818. package/lib/sticky/types.d.ts +0 -3
  819. package/lib/sticky/types.js +0 -15
  820. package/lib/style/animation.css +0 -1
  821. package/lib/style/base.css +0 -1
  822. package/lib/style/css-variables.css +0 -1
  823. package/lib/style/mixins/clearfix.css +0 -0
  824. package/lib/style/mixins/ellipsis.css +0 -0
  825. package/lib/style/mixins/hairline.css +0 -0
  826. package/lib/style/normalize.css +0 -1
  827. package/lib/submit-bar/SubmitBar.d.ts +0 -101
  828. package/lib/submit-bar/SubmitBar.js +0 -135
  829. package/lib/submit-bar/index.css +0 -1
  830. package/lib/submit-bar/index.d.ts +0 -76
  831. package/lib/submit-bar/index.js +0 -35
  832. package/lib/submit-bar/style/index.d.ts +0 -1
  833. package/lib/submit-bar/style/index.js +0 -6
  834. package/lib/submit-bar/types.d.ts +0 -21
  835. package/lib/submit-bar/types.js +0 -15
  836. package/lib/swipe/Swipe.d.ts +0 -121
  837. package/lib/swipe/Swipe.js +0 -380
  838. package/lib/swipe/index.css +0 -1
  839. package/lib/swipe/index.d.ts +0 -91
  840. package/lib/swipe/index.js +0 -35
  841. package/lib/swipe/style/index.d.ts +0 -1
  842. package/lib/swipe/style/index.js +0 -2
  843. package/lib/swipe/types.d.ts +0 -39
  844. package/lib/swipe/types.js +0 -15
  845. package/lib/swipe-cell/SwipeCell.d.ts +0 -44
  846. package/lib/swipe-cell/SwipeCell.js +0 -182
  847. package/lib/swipe-cell/index.css +0 -1
  848. package/lib/swipe-cell/index.d.ts +0 -39
  849. package/lib/swipe-cell/index.js +0 -35
  850. package/lib/swipe-cell/style/index.d.ts +0 -1
  851. package/lib/swipe-cell/style/index.js +0 -2
  852. package/lib/swipe-cell/types.d.ts +0 -9
  853. package/lib/swipe-cell/types.js +0 -15
  854. package/lib/swipe-item/SwipeItem.d.ts +0 -2
  855. package/lib/swipe-item/SwipeItem.js +0 -101
  856. package/lib/swipe-item/index.css +0 -1
  857. package/lib/swipe-item/index.d.ts +0 -7
  858. package/lib/swipe-item/index.js +0 -33
  859. package/lib/swipe-item/style/index.d.ts +0 -1
  860. package/lib/swipe-item/style/index.js +0 -3
  861. package/lib/switch/Switch.d.ts +0 -58
  862. package/lib/switch/Switch.js +0 -105
  863. package/lib/switch/index.css +0 -1
  864. package/lib/switch/index.d.ts +0 -48
  865. package/lib/switch/index.js +0 -35
  866. package/lib/switch/style/index.d.ts +0 -1
  867. package/lib/switch/style/index.js +0 -3
  868. package/lib/switch/types.d.ts +0 -12
  869. package/lib/switch/types.js +0 -15
  870. package/lib/tab/Tab.d.ts +0 -58
  871. package/lib/tab/Tab.js +0 -143
  872. package/lib/tab/index.css +0 -1
  873. package/lib/tab/index.d.ts +0 -46
  874. package/lib/tab/index.js +0 -35
  875. package/lib/tab/style/index.d.ts +0 -1
  876. package/lib/tab/style/index.js +0 -7
  877. package/lib/tabbar/Tabbar.d.ts +0 -90
  878. package/lib/tabbar/Tabbar.js +0 -104
  879. package/lib/tabbar/index.css +0 -1
  880. package/lib/tabbar/index.d.ts +0 -66
  881. package/lib/tabbar/index.js +0 -35
  882. package/lib/tabbar/style/index.d.ts +0 -1
  883. package/lib/tabbar/style/index.js +0 -2
  884. package/lib/tabbar/types.d.ts +0 -5
  885. package/lib/tabbar/types.js +0 -15
  886. package/lib/tabbar-item/TabbarItem.d.ts +0 -44
  887. package/lib/tabbar-item/TabbarItem.js +0 -140
  888. package/lib/tabbar-item/index.css +0 -1
  889. package/lib/tabbar-item/index.d.ts +0 -37
  890. package/lib/tabbar-item/index.js +0 -35
  891. package/lib/tabbar-item/style/index.d.ts +0 -1
  892. package/lib/tabbar-item/style/index.js +0 -5
  893. package/lib/tabbar-item/types.d.ts +0 -9
  894. package/lib/tabbar-item/types.js +0 -15
  895. package/lib/tabs/Tabs.d.ts +0 -154
  896. package/lib/tabs/Tabs.js +0 -391
  897. package/lib/tabs/TabsContent.d.ts +0 -43
  898. package/lib/tabs/TabsContent.js +0 -87
  899. package/lib/tabs/TabsTitle.d.ts +0 -45
  900. package/lib/tabs/TabsTitle.js +0 -109
  901. package/lib/tabs/index.css +0 -1
  902. package/lib/tabs/index.d.ts +0 -115
  903. package/lib/tabs/index.js +0 -35
  904. package/lib/tabs/style/index.d.ts +0 -1
  905. package/lib/tabs/style/index.js +0 -5
  906. package/lib/tabs/types.d.ts +0 -37
  907. package/lib/tabs/types.js +0 -15
  908. package/lib/tabs/utils.d.ts +0 -3
  909. package/lib/tabs/utils.js +0 -56
  910. package/lib/tag/Tag.d.ts +0 -63
  911. package/lib/tag/Tag.js +0 -98
  912. package/lib/tag/index.css +0 -1
  913. package/lib/tag/index.d.ts +0 -51
  914. package/lib/tag/index.js +0 -35
  915. package/lib/tag/style/index.d.ts +0 -1
  916. package/lib/tag/style/index.js +0 -4
  917. package/lib/tag/types.d.ts +0 -20
  918. package/lib/tag/types.js +0 -15
  919. package/lib/time-picker/TimePicker.d.ts +0 -217
  920. package/lib/time-picker/TimePicker.js +0 -95
  921. package/lib/time-picker/index.d.ts +0 -159
  922. package/lib/time-picker/index.js +0 -35
  923. package/lib/time-picker/style/index.d.ts +0 -1
  924. package/lib/time-picker/style/index.js +0 -10
  925. package/lib/toast/Toast.d.ts +0 -115
  926. package/lib/toast/Toast.js +0 -146
  927. package/lib/toast/function-call.d.ts +0 -10
  928. package/lib/toast/function-call.js +0 -167
  929. package/lib/toast/index.css +0 -1
  930. package/lib/toast/index.d.ts +0 -87
  931. package/lib/toast/index.js +0 -44
  932. package/lib/toast/lock-click.d.ts +0 -1
  933. package/lib/toast/lock-click.js +0 -36
  934. package/lib/toast/style/index.d.ts +0 -1
  935. package/lib/toast/style/index.js +0 -7
  936. package/lib/toast/types.d.ts +0 -55
  937. package/lib/toast/types.js +0 -15
  938. package/lib/tree-select/TreeSelect.d.ts +0 -106
  939. package/lib/tree-select/TreeSelect.js +0 -122
  940. package/lib/tree-select/index.css +0 -1
  941. package/lib/tree-select/index.d.ts +0 -72
  942. package/lib/tree-select/index.js +0 -35
  943. package/lib/tree-select/style/index.d.ts +0 -1
  944. package/lib/tree-select/style/index.js +0 -6
  945. package/lib/tree-select/types.d.ts +0 -10
  946. package/lib/tree-select/types.js +0 -15
  947. package/lib/uploader/Uploader.d.ts +0 -213
  948. package/lib/uploader/Uploader.js +0 -274
  949. package/lib/uploader/UploaderPreviewItem.d.ts +0 -36
  950. package/lib/uploader/UploaderPreviewItem.js +0 -147
  951. package/lib/uploader/index.css +0 -1
  952. package/lib/uploader/index.d.ts +0 -155
  953. package/lib/uploader/index.js +0 -35
  954. package/lib/uploader/style/index.d.ts +0 -1
  955. package/lib/uploader/style/index.js +0 -11
  956. package/lib/uploader/types.d.ts +0 -58
  957. package/lib/uploader/types.js +0 -15
  958. package/lib/uploader/utils.d.ts +0 -11
  959. package/lib/uploader/utils.js +0 -88
  960. package/lib/utils/basic.d.ts +0 -18
  961. package/lib/utils/basic.js +0 -52
  962. package/lib/utils/constant.d.ts +0 -12
  963. package/lib/utils/constant.js +0 -41
  964. package/lib/utils/create.d.ts +0 -17
  965. package/lib/utils/create.js +0 -78
  966. package/lib/utils/deep-assign.d.ts +0 -3
  967. package/lib/utils/deep-assign.js +0 -41
  968. package/lib/utils/deep-clone.d.ts +0 -1
  969. package/lib/utils/deep-clone.js +0 -39
  970. package/lib/utils/dom.d.ts +0 -12
  971. package/lib/utils/dom.js +0 -86
  972. package/lib/utils/format.d.ts +0 -13
  973. package/lib/utils/format.js +0 -139
  974. package/lib/utils/index.d.ts +0 -9
  975. package/lib/utils/index.js +0 -25
  976. package/lib/utils/interceptor.d.ts +0 -6
  977. package/lib/utils/interceptor.js +0 -48
  978. package/lib/utils/mount-component.d.ts +0 -14
  979. package/lib/utils/mount-component.js +0 -58
  980. package/lib/utils/props.d.ts +0 -31
  981. package/lib/utils/props.js +0 -55
  982. package/lib/utils/validate.d.ts +0 -9
  983. package/lib/utils/validate.js +0 -41
  984. package/lib/utils/with-install.d.ts +0 -13
  985. package/lib/utils/with-install.js +0 -33
  986. package/lib/vue-sfc-shim.d.ts +0 -6
  987. package/lib/vue-tsx-shim.d.ts +0 -23
@@ -1,111 +0,0 @@
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
- default: () => stdin_default,
21
- navBarProps: () => navBarProps
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_use_placeholder = require("../composables/use-placeholder");
28
- var import_icon = require("../icon");
29
- const [name, bem] = (0, import_utils.createNamespace)("nav-bar");
30
- const navBarProps = {
31
- title: String,
32
- fixed: Boolean,
33
- zIndex: import_utils.numericProp,
34
- border: import_utils.truthProp,
35
- leftText: String,
36
- rightText: String,
37
- leftArrow: Boolean,
38
- placeholder: Boolean,
39
- safeAreaInsetTop: Boolean,
40
- clickable: import_utils.truthProp
41
- };
42
- var stdin_default = (0, import_vue2.defineComponent)({
43
- name,
44
- props: navBarProps,
45
- emits: ["clickLeft", "clickRight"],
46
- setup(props, {
47
- emit,
48
- slots
49
- }) {
50
- const navBarRef = (0, import_vue2.ref)();
51
- const renderPlaceholder = (0, import_use_placeholder.usePlaceholder)(navBarRef, bem);
52
- const onClickLeft = (event) => emit("clickLeft", event);
53
- const onClickRight = (event) => emit("clickRight", event);
54
- const renderLeft = () => {
55
- if (slots.left) {
56
- return slots.left();
57
- }
58
- return [props.leftArrow && (0, import_vue.createVNode)(import_icon.Icon, {
59
- "class": bem("arrow"),
60
- "name": "arrow-left"
61
- }, null), props.leftText && (0, import_vue.createVNode)("span", {
62
- "class": bem("text")
63
- }, [props.leftText])];
64
- };
65
- const renderRight = () => {
66
- if (slots.right) {
67
- return slots.right();
68
- }
69
- return (0, import_vue.createVNode)("span", {
70
- "class": bem("text")
71
- }, [props.rightText]);
72
- };
73
- const renderNavBar = () => {
74
- const {
75
- title,
76
- fixed,
77
- border,
78
- zIndex
79
- } = props;
80
- const style = (0, import_utils.getZIndexStyle)(zIndex);
81
- const hasLeft = props.leftArrow || props.leftText || slots.left;
82
- const hasRight = props.rightText || slots.right;
83
- return (0, import_vue.createVNode)("div", {
84
- "ref": navBarRef,
85
- "style": style,
86
- "class": [bem({
87
- fixed
88
- }), {
89
- [import_utils.BORDER_BOTTOM]: border,
90
- "van-safe-area-top": props.safeAreaInsetTop
91
- }]
92
- }, [(0, import_vue.createVNode)("div", {
93
- "class": bem("content")
94
- }, [hasLeft && (0, import_vue.createVNode)("div", {
95
- "class": [bem("left"), props.clickable ? import_utils.HAPTICS_FEEDBACK : ""],
96
- "onClick": onClickLeft
97
- }, [renderLeft()]), (0, import_vue.createVNode)("div", {
98
- "class": [bem("title"), "van-ellipsis"]
99
- }, [slots.title ? slots.title() : title]), hasRight && (0, import_vue.createVNode)("div", {
100
- "class": [bem("right"), props.clickable ? import_utils.HAPTICS_FEEDBACK : ""],
101
- "onClick": onClickRight
102
- }, [renderRight()])])]);
103
- };
104
- return () => {
105
- if (props.fixed && props.placeholder) {
106
- return renderPlaceholder(renderNavBar);
107
- }
108
- return renderNavBar();
109
- };
110
- }
111
- });
@@ -1 +0,0 @@
1
- :root{--van-nav-bar-height: 46px;--van-nav-bar-background: var(--van-background-2);--van-nav-bar-arrow-size: 16px;--van-nav-bar-icon-color: var(--van-primary-color);--van-nav-bar-text-color: var(--van-primary-color);--van-nav-bar-title-font-size: var(--van-font-size-lg);--van-nav-bar-title-text-color: var(--van-text-color);--van-nav-bar-z-index: 1}.van-nav-bar{position:relative;z-index:var(--van-nav-bar-z-index);line-height:var(--van-line-height-lg);text-align:center;background:var(--van-nav-bar-background);-webkit-user-select:none;user-select:none}.van-nav-bar--fixed{position:fixed;top:0;left:0;width:100%}.van-nav-bar--safe-area-inset-top{padding-top:constant(safe-area-inset-top);padding-top:env(safe-area-inset-top)}.van-nav-bar .van-icon{color:var(--van-nav-bar-icon-color)}.van-nav-bar__content{position:relative;display:flex;align-items:center;height:var(--van-nav-bar-height)}.van-nav-bar__arrow{margin-right:var(--van-padding-base);font-size:var(--van-nav-bar-arrow-size)}.van-nav-bar__title{max-width:60%;margin:0 auto;color:var(--van-nav-bar-title-text-color);font-weight:var(--van-font-bold);font-size:var(--van-nav-bar-title-font-size)}.van-nav-bar__left,.van-nav-bar__right{position:absolute;top:0;bottom:0;display:flex;align-items:center;padding:0 var(--van-padding-md);font-size:var(--van-font-size-md)}.van-nav-bar__left{left:0}.van-nav-bar__right{right:0}.van-nav-bar__text{color:var(--van-nav-bar-text-color)}
@@ -1,54 +0,0 @@
1
- export declare const NavBar: import("../utils").WithInstall<import("vue").DefineComponent<{
2
- title: StringConstructor;
3
- fixed: BooleanConstructor;
4
- zIndex: (NumberConstructor | StringConstructor)[];
5
- border: {
6
- type: BooleanConstructor;
7
- default: true;
8
- };
9
- leftText: StringConstructor;
10
- rightText: StringConstructor;
11
- leftArrow: BooleanConstructor;
12
- placeholder: BooleanConstructor;
13
- safeAreaInsetTop: BooleanConstructor;
14
- clickable: {
15
- type: BooleanConstructor;
16
- default: true;
17
- };
18
- }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("clickLeft" | "clickRight")[], "clickLeft" | "clickRight", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
19
- title: StringConstructor;
20
- fixed: BooleanConstructor;
21
- zIndex: (NumberConstructor | StringConstructor)[];
22
- border: {
23
- type: BooleanConstructor;
24
- default: true;
25
- };
26
- leftText: StringConstructor;
27
- rightText: StringConstructor;
28
- leftArrow: BooleanConstructor;
29
- placeholder: BooleanConstructor;
30
- safeAreaInsetTop: BooleanConstructor;
31
- clickable: {
32
- type: BooleanConstructor;
33
- default: true;
34
- };
35
- }>> & {
36
- onClickLeft?: ((...args: any[]) => any) | undefined;
37
- onClickRight?: ((...args: any[]) => any) | undefined;
38
- }, {
39
- fixed: boolean;
40
- border: boolean;
41
- clickable: boolean;
42
- placeholder: boolean;
43
- safeAreaInsetTop: boolean;
44
- leftArrow: boolean;
45
- }>>;
46
- export default NavBar;
47
- export { navBarProps } from './NavBar';
48
- export type { NavBarProps } from './NavBar';
49
- export type { NavBarThemeVars } from './types';
50
- declare module 'vue' {
51
- interface GlobalComponents {
52
- VanNavBar: typeof NavBar;
53
- }
54
- }
@@ -1,35 +0,0 @@
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
- NavBar: () => NavBar,
27
- default: () => stdin_default,
28
- navBarProps: () => import_NavBar2.navBarProps
29
- });
30
- module.exports = __toCommonJS(stdin_exports);
31
- var import_utils = require("../utils");
32
- var import_NavBar = __toESM(require("./NavBar"));
33
- var import_NavBar2 = require("./NavBar");
34
- const NavBar = (0, import_utils.withInstall)(import_NavBar.default);
35
- var stdin_default = NavBar;
@@ -1 +0,0 @@
1
- export {};
@@ -1,4 +0,0 @@
1
- require("../../style/base.css");
2
- require("../../badge/index.css");
3
- require("../../icon/index.css");
4
- require("../index.css");
@@ -1,10 +0,0 @@
1
- export type NavBarThemeVars = {
2
- navBarHeight?: string;
3
- navBarBackground?: string;
4
- navBarArrowSize?: string;
5
- navBarIconColor?: string;
6
- navBarTextColor?: string;
7
- navBarTitleFontSize?: string;
8
- navBarTitleTextColor?: string;
9
- navBarZIndex?: number | string;
10
- };
@@ -1,15 +0,0 @@
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);
@@ -1,71 +0,0 @@
1
- import { type PropType, type ExtractPropTypes } from 'vue';
2
- import { NoticeBarMode } from './types';
3
- export declare const noticeBarProps: {
4
- text: StringConstructor;
5
- mode: PropType<NoticeBarMode>;
6
- color: StringConstructor;
7
- delay: {
8
- type: (NumberConstructor | StringConstructor)[];
9
- default: number;
10
- };
11
- speed: {
12
- type: (NumberConstructor | StringConstructor)[];
13
- default: number;
14
- };
15
- leftIcon: StringConstructor;
16
- wrapable: BooleanConstructor;
17
- background: StringConstructor;
18
- scrollable: {
19
- type: PropType<boolean | null>;
20
- default: null;
21
- };
22
- };
23
- export type NoticeBarProps = ExtractPropTypes<typeof noticeBarProps>;
24
- declare const _default: import("vue").DefineComponent<{
25
- text: StringConstructor;
26
- mode: PropType<NoticeBarMode>;
27
- color: StringConstructor;
28
- delay: {
29
- type: (NumberConstructor | StringConstructor)[];
30
- default: number;
31
- };
32
- speed: {
33
- type: (NumberConstructor | StringConstructor)[];
34
- default: number;
35
- };
36
- leftIcon: StringConstructor;
37
- wrapable: BooleanConstructor;
38
- background: StringConstructor;
39
- scrollable: {
40
- type: PropType<boolean | null>;
41
- default: null;
42
- };
43
- }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("close" | "replay")[], "close" | "replay", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
44
- text: StringConstructor;
45
- mode: PropType<NoticeBarMode>;
46
- color: StringConstructor;
47
- delay: {
48
- type: (NumberConstructor | StringConstructor)[];
49
- default: number;
50
- };
51
- speed: {
52
- type: (NumberConstructor | StringConstructor)[];
53
- default: number;
54
- };
55
- leftIcon: StringConstructor;
56
- wrapable: BooleanConstructor;
57
- background: StringConstructor;
58
- scrollable: {
59
- type: PropType<boolean | null>;
60
- default: null;
61
- };
62
- }>> & {
63
- onClose?: ((...args: any[]) => any) | undefined;
64
- onReplay?: ((...args: any[]) => any) | undefined;
65
- }, {
66
- scrollable: boolean | null;
67
- speed: string | number;
68
- delay: string | number;
69
- wrapable: boolean;
70
- }>;
71
- export default _default;
@@ -1,185 +0,0 @@
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
- default: () => stdin_default,
21
- noticeBarProps: () => noticeBarProps
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_use = require("@vant/use");
28
- var import_use_expose = require("../composables/use-expose");
29
- var import_on_popup_reopen = require("../composables/on-popup-reopen");
30
- var import_icon = require("../icon");
31
- const [name, bem] = (0, import_utils.createNamespace)("notice-bar");
32
- const noticeBarProps = {
33
- text: String,
34
- mode: String,
35
- color: String,
36
- delay: (0, import_utils.makeNumericProp)(1),
37
- speed: (0, import_utils.makeNumericProp)(60),
38
- leftIcon: String,
39
- wrapable: Boolean,
40
- background: String,
41
- scrollable: {
42
- type: Boolean,
43
- default: null
44
- }
45
- };
46
- var stdin_default = (0, import_vue2.defineComponent)({
47
- name,
48
- props: noticeBarProps,
49
- emits: ["close", "replay"],
50
- setup(props, {
51
- emit,
52
- slots
53
- }) {
54
- let wrapWidth = 0;
55
- let contentWidth = 0;
56
- let startTimer;
57
- const wrapRef = (0, import_vue2.ref)();
58
- const contentRef = (0, import_vue2.ref)();
59
- const state = (0, import_vue2.reactive)({
60
- show: true,
61
- offset: 0,
62
- duration: 0
63
- });
64
- const renderLeftIcon = () => {
65
- if (slots["left-icon"]) {
66
- return slots["left-icon"]();
67
- }
68
- if (props.leftIcon) {
69
- return (0, import_vue.createVNode)(import_icon.Icon, {
70
- "class": bem("left-icon"),
71
- "name": props.leftIcon
72
- }, null);
73
- }
74
- };
75
- const getRightIconName = () => {
76
- if (props.mode === "closeable") {
77
- return "cross";
78
- }
79
- if (props.mode === "link") {
80
- return "arrow";
81
- }
82
- };
83
- const onClickRightIcon = (event) => {
84
- if (props.mode === "closeable") {
85
- state.show = false;
86
- emit("close", event);
87
- }
88
- };
89
- const renderRightIcon = () => {
90
- if (slots["right-icon"]) {
91
- return slots["right-icon"]();
92
- }
93
- const name2 = getRightIconName();
94
- if (name2) {
95
- return (0, import_vue.createVNode)(import_icon.Icon, {
96
- "name": name2,
97
- "class": bem("right-icon"),
98
- "onClick": onClickRightIcon
99
- }, null);
100
- }
101
- };
102
- const onTransitionEnd = () => {
103
- state.offset = wrapWidth;
104
- state.duration = 0;
105
- (0, import_use.raf)(() => {
106
- (0, import_use.doubleRaf)(() => {
107
- state.offset = -contentWidth;
108
- state.duration = (contentWidth + wrapWidth) / +props.speed;
109
- emit("replay");
110
- });
111
- });
112
- };
113
- const renderMarquee = () => {
114
- const ellipsis = props.scrollable === false && !props.wrapable;
115
- const style = {
116
- transform: state.offset ? `translateX(${state.offset}px)` : "",
117
- transitionDuration: `${state.duration}s`
118
- };
119
- return (0, import_vue.createVNode)("div", {
120
- "ref": wrapRef,
121
- "role": "marquee",
122
- "class": bem("wrap")
123
- }, [(0, import_vue.createVNode)("div", {
124
- "ref": contentRef,
125
- "style": style,
126
- "class": [bem("content"), {
127
- "van-ellipsis": ellipsis
128
- }],
129
- "onTransitionend": onTransitionEnd
130
- }, [slots.default ? slots.default() : props.text])]);
131
- };
132
- const reset = () => {
133
- const {
134
- delay,
135
- speed,
136
- scrollable
137
- } = props;
138
- const ms = (0, import_utils.isDef)(delay) ? +delay * 1e3 : 0;
139
- wrapWidth = 0;
140
- contentWidth = 0;
141
- state.offset = 0;
142
- state.duration = 0;
143
- clearTimeout(startTimer);
144
- startTimer = setTimeout(() => {
145
- if (!wrapRef.value || !contentRef.value || scrollable === false) {
146
- return;
147
- }
148
- const wrapRefWidth = (0, import_use.useRect)(wrapRef).width;
149
- const contentRefWidth = (0, import_use.useRect)(contentRef).width;
150
- if (scrollable || contentRefWidth > wrapRefWidth) {
151
- (0, import_use.doubleRaf)(() => {
152
- wrapWidth = wrapRefWidth;
153
- contentWidth = contentRefWidth;
154
- state.offset = -contentWidth;
155
- state.duration = contentWidth / +speed;
156
- });
157
- }
158
- }, ms);
159
- };
160
- (0, import_on_popup_reopen.onPopupReopen)(reset);
161
- (0, import_use.onMountedOrActivated)(reset);
162
- (0, import_use.useEventListener)("pageshow", reset);
163
- (0, import_use_expose.useExpose)({
164
- reset
165
- });
166
- (0, import_vue2.watch)(() => [props.text, props.scrollable], reset);
167
- return () => {
168
- const {
169
- color,
170
- wrapable,
171
- background
172
- } = props;
173
- return (0, import_vue.withDirectives)((0, import_vue.createVNode)("div", {
174
- "role": "alert",
175
- "class": bem({
176
- wrapable
177
- }),
178
- "style": {
179
- color,
180
- background
181
- }
182
- }, [renderLeftIcon(), renderMarquee(), renderRightIcon()]), [[import_vue.vShow, state.show]]);
183
- };
184
- }
185
- });
@@ -1 +0,0 @@
1
- :root{--van-notice-bar-height: 40px;--van-notice-bar-padding: 0 var(--van-padding-md);--van-notice-bar-wrapable-padding: var(--van-padding-xs) var(--van-padding-md);--van-notice-bar-text-color: var(--van-orange-dark);--van-notice-bar-font-size: var(--van-font-size-md);--van-notice-bar-line-height: 24px;--van-notice-bar-background: var(--van-orange-light);--van-notice-bar-icon-size: 16px;--van-notice-bar-icon-min-width: 24px}.van-notice-bar{position:relative;display:flex;align-items:center;height:var(--van-notice-bar-height);padding:var(--van-notice-bar-padding);color:var(--van-notice-bar-text-color);font-size:var(--van-notice-bar-font-size);line-height:var(--van-notice-bar-line-height);background:var(--van-notice-bar-background)}.van-notice-bar__left-icon,.van-notice-bar__right-icon{min-width:var(--van-notice-bar-icon-min-width);font-size:var(--van-notice-bar-icon-size)}.van-notice-bar__right-icon{text-align:right;cursor:pointer}.van-notice-bar__wrap{position:relative;display:flex;flex:1;align-items:center;height:100%;overflow:hidden}.van-notice-bar__content{position:absolute;white-space:nowrap;transition-timing-function:linear}.van-notice-bar__content.van-ellipsis{max-width:100%}.van-notice-bar--wrapable{height:auto;padding:var(--van-notice-bar-wrapable-padding)}.van-notice-bar--wrapable .van-notice-bar__wrap{height:auto}.van-notice-bar--wrapable .van-notice-bar__content{position:relative;white-space:normal;word-wrap:break-word}
@@ -1,57 +0,0 @@
1
- import { NoticeBarProps } from './NoticeBar';
2
- export declare const NoticeBar: import("../utils").WithInstall<import("vue").DefineComponent<{
3
- text: StringConstructor;
4
- mode: import("vue").PropType<import("./types").NoticeBarMode>;
5
- color: StringConstructor;
6
- delay: {
7
- type: (NumberConstructor | StringConstructor)[];
8
- default: number;
9
- };
10
- speed: {
11
- type: (NumberConstructor | StringConstructor)[];
12
- default: number;
13
- };
14
- leftIcon: StringConstructor;
15
- wrapable: BooleanConstructor;
16
- background: StringConstructor;
17
- scrollable: {
18
- type: import("vue").PropType<boolean | null>;
19
- default: null;
20
- };
21
- }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("close" | "replay")[], "close" | "replay", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
22
- text: StringConstructor;
23
- mode: import("vue").PropType<import("./types").NoticeBarMode>;
24
- color: StringConstructor;
25
- delay: {
26
- type: (NumberConstructor | StringConstructor)[];
27
- default: number;
28
- };
29
- speed: {
30
- type: (NumberConstructor | StringConstructor)[];
31
- default: number;
32
- };
33
- leftIcon: StringConstructor;
34
- wrapable: BooleanConstructor;
35
- background: StringConstructor;
36
- scrollable: {
37
- type: import("vue").PropType<boolean | null>;
38
- default: null;
39
- };
40
- }>> & {
41
- onClose?: ((...args: any[]) => any) | undefined;
42
- onReplay?: ((...args: any[]) => any) | undefined;
43
- }, {
44
- scrollable: boolean | null;
45
- speed: string | number;
46
- delay: string | number;
47
- wrapable: boolean;
48
- }>>;
49
- export default NoticeBar;
50
- export { noticeBarProps } from './NoticeBar';
51
- export type { NoticeBarProps };
52
- export type { NoticeBarMode, NoticeBarInstance, NoticeBarThemeVars, } from './types';
53
- declare module 'vue' {
54
- interface GlobalComponents {
55
- VanNoticeBar: typeof NoticeBar;
56
- }
57
- }
@@ -1,35 +0,0 @@
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
- NoticeBar: () => NoticeBar,
27
- default: () => stdin_default,
28
- noticeBarProps: () => import_NoticeBar2.noticeBarProps
29
- });
30
- module.exports = __toCommonJS(stdin_exports);
31
- var import_utils = require("../utils");
32
- var import_NoticeBar = __toESM(require("./NoticeBar"));
33
- var import_NoticeBar2 = require("./NoticeBar");
34
- const NoticeBar = (0, import_utils.withInstall)(import_NoticeBar.default);
35
- var stdin_default = NoticeBar;
@@ -1 +0,0 @@
1
- export {};
@@ -1,4 +0,0 @@
1
- require("../../style/base.css");
2
- require("../../badge/index.css");
3
- require("../../icon/index.css");
4
- require("../index.css");
@@ -1,18 +0,0 @@
1
- import type { ComponentPublicInstance } from 'vue';
2
- import type { NoticeBarProps } from './NoticeBar';
3
- export type NoticeBarMode = 'closeable' | 'link';
4
- export type NoticeBarExpose = {
5
- reset: () => void;
6
- };
7
- export type NoticeBarInstance = ComponentPublicInstance<NoticeBarProps, NoticeBarExpose>;
8
- export type NoticeBarThemeVars = {
9
- noticeBarHeight?: string;
10
- noticeBarPadding?: string;
11
- noticeBarWrapablePadding?: string;
12
- noticeBarTextColor?: string;
13
- noticeBarFontSize?: string;
14
- noticeBarLineHeight?: number | string;
15
- noticeBarBackground?: string;
16
- noticeBarIconSize?: string;
17
- noticeBarIconMinWidth?: string;
18
- };
@@ -1,15 +0,0 @@
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);