vant 4.0.0-rc.2 → 4.0.0-rc.3

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 (397) hide show
  1. package/changelog.generated.md +29 -29
  2. package/es/action-bar/index.d.ts +1 -0
  3. package/es/action-bar/types.d.ts +4 -0
  4. package/es/action-bar/types.mjs +0 -0
  5. package/es/action-bar-button/index.d.ts +1 -0
  6. package/es/action-bar-button/types.d.ts +5 -0
  7. package/es/action-bar-button/types.mjs +0 -0
  8. package/es/action-bar-icon/index.d.ts +1 -0
  9. package/es/action-bar-icon/types.d.ts +10 -0
  10. package/es/action-bar-icon/types.mjs +0 -0
  11. package/es/action-sheet/index.d.ts +1 -0
  12. package/es/action-sheet/types.d.ts +23 -0
  13. package/es/action-sheet/types.mjs +0 -0
  14. package/es/address-edit/index.d.ts +1 -1
  15. package/es/address-edit/types.d.ts +6 -0
  16. package/es/address-list/index.d.ts +1 -0
  17. package/es/address-list/types.d.ts +15 -0
  18. package/es/address-list/types.mjs +0 -0
  19. package/es/badge/index.d.ts +1 -0
  20. package/es/badge/types.d.ts +12 -0
  21. package/es/badge/types.mjs +0 -0
  22. package/es/button/index.d.ts +1 -1
  23. package/es/button/types.d.ts +36 -0
  24. package/es/calendar/index.d.ts +1 -1
  25. package/es/calendar/types.d.ts +28 -0
  26. package/es/card/index.d.ts +1 -0
  27. package/es/card/types.d.ts +18 -0
  28. package/es/card/types.mjs +0 -0
  29. package/es/cascader/index.d.ts +1 -1
  30. package/es/cascader/types.d.ts +15 -0
  31. package/es/cell/index.d.ts +1 -0
  32. package/es/cell/types.d.ts +21 -0
  33. package/es/cell/types.mjs +0 -0
  34. package/es/cell-group/index.d.ts +1 -0
  35. package/es/cell-group/types.d.ts +10 -0
  36. package/es/cell-group/types.mjs +0 -0
  37. package/es/checkbox/index.d.ts +1 -1
  38. package/es/checkbox/types.d.ts +11 -0
  39. package/es/circle/index.d.ts +1 -0
  40. package/es/circle/types.d.ts +9 -0
  41. package/es/circle/types.mjs +0 -0
  42. package/es/collapse-item/index.d.ts +1 -1
  43. package/es/collapse-item/types.d.ts +9 -0
  44. package/es/config-provider/index.d.ts +1 -0
  45. package/es/config-provider/types.d.ts +1 -0
  46. package/es/config-provider/types.mjs +0 -0
  47. package/es/contact-card/index.d.ts +1 -0
  48. package/es/contact-card/types.d.ts +6 -0
  49. package/es/contact-card/types.mjs +0 -0
  50. package/es/contact-edit/index.d.ts +1 -0
  51. package/es/contact-edit/types.d.ts +8 -0
  52. package/es/contact-edit/types.mjs +0 -0
  53. package/es/contact-list/index.d.ts +1 -0
  54. package/es/contact-list/types.d.ts +6 -0
  55. package/es/contact-list/types.mjs +0 -0
  56. package/es/count-down/index.d.ts +1 -1
  57. package/es/count-down/types.d.ts +5 -0
  58. package/es/coupon/index.d.ts +1 -0
  59. package/es/coupon/types.d.ts +19 -0
  60. package/es/coupon/types.mjs +0 -0
  61. package/es/coupon-cell/index.d.ts +1 -0
  62. package/es/coupon-cell/types.d.ts +3 -0
  63. package/es/coupon-cell/types.mjs +0 -0
  64. package/es/coupon-list/index.d.ts +1 -0
  65. package/es/coupon-list/types.d.ts +9 -0
  66. package/es/coupon-list/types.mjs +0 -0
  67. package/es/dialog/index.d.ts +1 -1
  68. package/es/dialog/types.d.ts +21 -0
  69. package/es/divider/index.d.ts +1 -0
  70. package/es/divider/types.d.ts +10 -0
  71. package/es/divider/types.mjs +0 -0
  72. package/es/dropdown-item/index.d.ts +1 -1
  73. package/es/dropdown-item/types.d.ts +3 -0
  74. package/es/dropdown-menu/index.d.ts +1 -1
  75. package/es/dropdown-menu/types.d.ts +13 -0
  76. package/es/empty/index.d.ts +1 -0
  77. package/es/empty/types.d.ts +10 -0
  78. package/es/empty/types.mjs +0 -0
  79. package/es/field/index.d.ts +1 -1
  80. package/es/field/types.d.ts +21 -0
  81. package/es/grid-item/index.d.ts +1 -0
  82. package/es/grid-item/types.d.ts +8 -0
  83. package/es/grid-item/types.mjs +0 -0
  84. package/es/image/index.d.ts +1 -0
  85. package/es/image/types.d.ts +9 -0
  86. package/es/image/types.mjs +0 -0
  87. package/es/image-preview/index.d.ts +2 -2
  88. package/es/image-preview/types.d.ts +11 -0
  89. package/es/index-anchor/index.d.ts +1 -0
  90. package/es/index-anchor/types.d.ts +11 -0
  91. package/es/index-anchor/types.mjs +0 -0
  92. package/es/index-bar/index.d.ts +1 -1
  93. package/es/index-bar/types.d.ts +6 -0
  94. package/es/index.d.ts +1 -1
  95. package/es/index.mjs +1 -1
  96. package/es/list/index.d.ts +1 -1
  97. package/es/list/types.d.ts +6 -0
  98. package/es/loading/index.d.ts +1 -0
  99. package/es/loading/types.d.ts +7 -0
  100. package/es/loading/types.mjs +0 -0
  101. package/es/nav-bar/index.d.ts +1 -0
  102. package/es/nav-bar/types.d.ts +10 -0
  103. package/es/nav-bar/types.mjs +0 -0
  104. package/es/notice-bar/index.d.ts +1 -1
  105. package/es/notice-bar/types.d.ts +11 -0
  106. package/es/notify/Notify.mjs +1 -0
  107. package/es/notify/index.d.ts +2 -2
  108. package/es/notify/types.d.ts +10 -0
  109. package/es/number-keyboard/index.d.ts +1 -0
  110. package/es/number-keyboard/types.d.ts +17 -0
  111. package/es/number-keyboard/types.mjs +0 -0
  112. package/es/overlay/index.d.ts +1 -0
  113. package/es/overlay/types.d.ts +4 -0
  114. package/es/overlay/types.mjs +0 -0
  115. package/es/pagination/index.d.ts +1 -0
  116. package/es/pagination/types.d.ts +11 -0
  117. package/es/pagination/types.mjs +0 -0
  118. package/es/password-input/index.d.ts +1 -0
  119. package/es/password-input/types.d.ts +17 -0
  120. package/es/password-input/types.mjs +0 -0
  121. package/es/picker/index.d.ts +1 -1
  122. package/es/picker/types.d.ts +17 -0
  123. package/es/picker-group/index.d.ts +1 -0
  124. package/es/picker-group/types.d.ts +3 -0
  125. package/es/picker-group/types.mjs +0 -0
  126. package/es/popover/index.d.ts +1 -1
  127. package/es/popover/types.d.ts +15 -0
  128. package/es/popup/index.d.ts +1 -1
  129. package/es/popup/types.d.ts +9 -0
  130. package/es/progress/index.d.ts +1 -1
  131. package/es/progress/types.d.ts +11 -0
  132. package/es/pull-refresh/index.d.ts +1 -0
  133. package/es/pull-refresh/types.d.ts +6 -0
  134. package/es/pull-refresh/types.mjs +0 -0
  135. package/es/radio/index.d.ts +1 -0
  136. package/es/radio/types.d.ts +11 -0
  137. package/es/radio/types.mjs +0 -0
  138. package/es/rate/index.d.ts +1 -0
  139. package/es/rate/types.d.ts +7 -0
  140. package/es/rate/types.mjs +0 -0
  141. package/es/search/index.d.ts +1 -1
  142. package/es/search/types.d.ts +13 -0
  143. package/es/share-sheet/index.d.ts +1 -0
  144. package/es/share-sheet/types.d.ts +17 -0
  145. package/es/share-sheet/types.mjs +0 -0
  146. package/es/sidebar/index.d.ts +1 -0
  147. package/es/sidebar/types.d.ts +3 -0
  148. package/es/sidebar/types.mjs +0 -0
  149. package/es/sidebar-item/index.d.ts +1 -0
  150. package/es/sidebar-item/types.d.ts +15 -0
  151. package/es/sidebar-item/types.mjs +0 -0
  152. package/es/skeleton/index.d.ts +1 -0
  153. package/es/skeleton/types.d.ts +9 -0
  154. package/es/skeleton/types.mjs +0 -0
  155. package/es/slider/index.d.ts +1 -0
  156. package/es/slider/types.d.ts +11 -0
  157. package/es/slider/types.mjs +0 -0
  158. package/es/step/index.d.ts +1 -0
  159. package/es/step/types.d.ts +13 -0
  160. package/es/step/types.mjs +0 -0
  161. package/es/stepper/index.d.ts +1 -0
  162. package/es/stepper/types.d.ts +15 -0
  163. package/es/stepper/types.mjs +0 -0
  164. package/es/steps/index.d.ts +1 -0
  165. package/es/steps/types.d.ts +3 -0
  166. package/es/steps/types.mjs +0 -0
  167. package/es/sticky/index.d.ts +1 -0
  168. package/es/sticky/types.d.ts +3 -0
  169. package/es/sticky/types.mjs +0 -0
  170. package/es/submit-bar/index.d.ts +1 -0
  171. package/es/submit-bar/types.d.ts +21 -0
  172. package/es/submit-bar/types.mjs +0 -0
  173. package/es/swipe/index.d.ts +1 -1
  174. package/es/swipe/types.d.ts +8 -0
  175. package/es/switch/index.d.ts +1 -0
  176. package/es/switch/types.d.ts +12 -0
  177. package/es/switch/types.mjs +0 -0
  178. package/es/tabbar/index.d.ts +1 -0
  179. package/es/tabbar/types.d.ts +5 -0
  180. package/es/tabbar/types.mjs +0 -0
  181. package/es/tabbar-item/index.d.ts +1 -0
  182. package/es/tabbar-item/types.d.ts +9 -0
  183. package/es/tabbar-item/types.mjs +0 -0
  184. package/es/tabs/index.d.ts +1 -1
  185. package/es/tabs/types.d.ts +14 -0
  186. package/es/tag/Tag.d.ts +1 -2
  187. package/es/tag/index.d.ts +9 -8
  188. package/es/tag/types.d.ts +20 -0
  189. package/es/tag/types.mjs +0 -0
  190. package/es/toast/index.d.ts +6 -1
  191. package/es/toast/types.d.ts +17 -0
  192. package/es/tree-select/index.d.ts +1 -0
  193. package/es/tree-select/types.d.ts +10 -0
  194. package/es/tree-select/types.mjs +0 -0
  195. package/es/uploader/index.d.ts +1 -1
  196. package/es/uploader/types.d.ts +27 -0
  197. package/lib/action-bar/index.d.ts +1 -0
  198. package/lib/action-bar/types.d.ts +4 -0
  199. package/lib/action-bar/types.js +15 -0
  200. package/lib/action-bar-button/index.d.ts +1 -0
  201. package/lib/action-bar-button/types.d.ts +5 -0
  202. package/lib/action-bar-button/types.js +15 -0
  203. package/lib/action-bar-icon/index.d.ts +1 -0
  204. package/lib/action-bar-icon/types.d.ts +10 -0
  205. package/lib/action-bar-icon/types.js +15 -0
  206. package/lib/action-sheet/index.d.ts +1 -0
  207. package/lib/action-sheet/types.d.ts +23 -0
  208. package/lib/action-sheet/types.js +15 -0
  209. package/lib/address-edit/index.d.ts +1 -1
  210. package/lib/address-edit/types.d.ts +6 -0
  211. package/lib/address-list/index.d.ts +1 -0
  212. package/lib/address-list/types.d.ts +15 -0
  213. package/lib/address-list/types.js +15 -0
  214. package/lib/badge/index.d.ts +1 -0
  215. package/lib/badge/types.d.ts +12 -0
  216. package/lib/badge/types.js +15 -0
  217. package/lib/button/index.d.ts +1 -1
  218. package/lib/button/types.d.ts +36 -0
  219. package/lib/calendar/index.d.ts +1 -1
  220. package/lib/calendar/types.d.ts +28 -0
  221. package/lib/card/index.d.ts +1 -0
  222. package/lib/card/types.d.ts +18 -0
  223. package/lib/card/types.js +15 -0
  224. package/lib/cascader/index.d.ts +1 -1
  225. package/lib/cascader/types.d.ts +15 -0
  226. package/lib/cell/index.d.ts +1 -0
  227. package/lib/cell/types.d.ts +21 -0
  228. package/lib/cell/types.js +15 -0
  229. package/lib/cell-group/index.d.ts +1 -0
  230. package/lib/cell-group/types.d.ts +10 -0
  231. package/lib/cell-group/types.js +15 -0
  232. package/lib/checkbox/index.d.ts +1 -1
  233. package/lib/checkbox/types.d.ts +11 -0
  234. package/lib/circle/index.d.ts +1 -0
  235. package/lib/circle/types.d.ts +9 -0
  236. package/lib/circle/types.js +15 -0
  237. package/lib/collapse-item/index.d.ts +1 -1
  238. package/lib/collapse-item/types.d.ts +9 -0
  239. package/lib/config-provider/index.d.ts +1 -0
  240. package/lib/config-provider/types.d.ts +1 -0
  241. package/lib/config-provider/types.js +15 -0
  242. package/lib/contact-card/index.d.ts +1 -0
  243. package/lib/contact-card/types.d.ts +6 -0
  244. package/lib/contact-card/types.js +15 -0
  245. package/lib/contact-edit/index.d.ts +1 -0
  246. package/lib/contact-edit/types.d.ts +8 -0
  247. package/lib/contact-edit/types.js +15 -0
  248. package/lib/contact-list/index.d.ts +1 -0
  249. package/lib/contact-list/types.d.ts +6 -0
  250. package/lib/contact-list/types.js +15 -0
  251. package/lib/count-down/index.d.ts +1 -1
  252. package/lib/count-down/types.d.ts +5 -0
  253. package/lib/coupon/index.d.ts +1 -0
  254. package/lib/coupon/types.d.ts +19 -0
  255. package/lib/coupon/types.js +15 -0
  256. package/lib/coupon-cell/index.d.ts +1 -0
  257. package/lib/coupon-cell/types.d.ts +3 -0
  258. package/lib/coupon-cell/types.js +15 -0
  259. package/lib/coupon-list/index.d.ts +1 -0
  260. package/lib/coupon-list/types.d.ts +9 -0
  261. package/lib/coupon-list/types.js +15 -0
  262. package/lib/dialog/index.d.ts +1 -1
  263. package/lib/dialog/types.d.ts +21 -0
  264. package/lib/divider/index.d.ts +1 -0
  265. package/lib/divider/types.d.ts +10 -0
  266. package/lib/divider/types.js +15 -0
  267. package/lib/dropdown-item/index.d.ts +1 -1
  268. package/lib/dropdown-item/types.d.ts +3 -0
  269. package/lib/dropdown-menu/index.d.ts +1 -1
  270. package/lib/dropdown-menu/types.d.ts +13 -0
  271. package/lib/empty/index.d.ts +1 -0
  272. package/lib/empty/types.d.ts +10 -0
  273. package/lib/empty/types.js +15 -0
  274. package/lib/field/index.d.ts +1 -1
  275. package/lib/field/types.d.ts +21 -0
  276. package/lib/grid-item/index.d.ts +1 -0
  277. package/lib/grid-item/types.d.ts +8 -0
  278. package/lib/grid-item/types.js +15 -0
  279. package/lib/image/index.d.ts +1 -0
  280. package/lib/image/types.d.ts +9 -0
  281. package/lib/image/types.js +15 -0
  282. package/lib/image-preview/index.d.ts +2 -2
  283. package/lib/image-preview/types.d.ts +11 -0
  284. package/lib/index-anchor/index.d.ts +1 -0
  285. package/lib/index-anchor/types.d.ts +11 -0
  286. package/lib/index-anchor/types.js +15 -0
  287. package/lib/index-bar/index.d.ts +1 -1
  288. package/lib/index-bar/types.d.ts +6 -0
  289. package/lib/index.d.ts +1 -1
  290. package/lib/index.js +1 -1
  291. package/lib/list/index.d.ts +1 -1
  292. package/lib/list/types.d.ts +6 -0
  293. package/lib/loading/index.d.ts +1 -0
  294. package/lib/loading/types.d.ts +7 -0
  295. package/lib/loading/types.js +15 -0
  296. package/lib/nav-bar/index.d.ts +1 -0
  297. package/lib/nav-bar/types.d.ts +10 -0
  298. package/lib/nav-bar/types.js +15 -0
  299. package/lib/notice-bar/index.d.ts +1 -1
  300. package/lib/notice-bar/types.d.ts +11 -0
  301. package/lib/notify/Notify.js +1 -0
  302. package/lib/notify/index.d.ts +2 -2
  303. package/lib/notify/types.d.ts +10 -0
  304. package/lib/number-keyboard/index.d.ts +1 -0
  305. package/lib/number-keyboard/types.d.ts +17 -0
  306. package/lib/number-keyboard/types.js +15 -0
  307. package/lib/overlay/index.d.ts +1 -0
  308. package/lib/overlay/types.d.ts +4 -0
  309. package/lib/overlay/types.js +15 -0
  310. package/lib/pagination/index.d.ts +1 -0
  311. package/lib/pagination/types.d.ts +11 -0
  312. package/lib/pagination/types.js +15 -0
  313. package/lib/password-input/index.d.ts +1 -0
  314. package/lib/password-input/types.d.ts +17 -0
  315. package/lib/password-input/types.js +15 -0
  316. package/lib/picker/index.d.ts +1 -1
  317. package/lib/picker/types.d.ts +17 -0
  318. package/lib/picker-group/index.d.ts +1 -0
  319. package/lib/picker-group/types.d.ts +3 -0
  320. package/lib/picker-group/types.js +15 -0
  321. package/lib/popover/index.d.ts +1 -1
  322. package/lib/popover/types.d.ts +15 -0
  323. package/lib/popup/index.d.ts +1 -1
  324. package/lib/popup/types.d.ts +9 -0
  325. package/lib/progress/index.d.ts +1 -1
  326. package/lib/progress/types.d.ts +11 -0
  327. package/lib/pull-refresh/index.d.ts +1 -0
  328. package/lib/pull-refresh/types.d.ts +6 -0
  329. package/lib/pull-refresh/types.js +15 -0
  330. package/lib/radio/index.d.ts +1 -0
  331. package/lib/radio/types.d.ts +11 -0
  332. package/lib/radio/types.js +15 -0
  333. package/lib/rate/index.d.ts +1 -0
  334. package/lib/rate/types.d.ts +7 -0
  335. package/lib/rate/types.js +15 -0
  336. package/lib/search/index.d.ts +1 -1
  337. package/lib/search/types.d.ts +13 -0
  338. package/lib/share-sheet/index.d.ts +1 -0
  339. package/lib/share-sheet/types.d.ts +17 -0
  340. package/lib/share-sheet/types.js +15 -0
  341. package/lib/sidebar/index.d.ts +1 -0
  342. package/lib/sidebar/types.d.ts +3 -0
  343. package/lib/sidebar/types.js +15 -0
  344. package/lib/sidebar-item/index.d.ts +1 -0
  345. package/lib/sidebar-item/types.d.ts +15 -0
  346. package/lib/sidebar-item/types.js +15 -0
  347. package/lib/skeleton/index.d.ts +1 -0
  348. package/lib/skeleton/types.d.ts +9 -0
  349. package/lib/skeleton/types.js +15 -0
  350. package/lib/slider/index.d.ts +1 -0
  351. package/lib/slider/types.d.ts +11 -0
  352. package/lib/slider/types.js +15 -0
  353. package/lib/step/index.d.ts +1 -0
  354. package/lib/step/types.d.ts +13 -0
  355. package/lib/step/types.js +15 -0
  356. package/lib/stepper/index.d.ts +1 -0
  357. package/lib/stepper/types.d.ts +15 -0
  358. package/lib/stepper/types.js +15 -0
  359. package/lib/steps/index.d.ts +1 -0
  360. package/lib/steps/types.d.ts +3 -0
  361. package/lib/steps/types.js +15 -0
  362. package/lib/sticky/index.d.ts +1 -0
  363. package/lib/sticky/types.d.ts +3 -0
  364. package/lib/sticky/types.js +15 -0
  365. package/lib/submit-bar/index.d.ts +1 -0
  366. package/lib/submit-bar/types.d.ts +21 -0
  367. package/lib/submit-bar/types.js +15 -0
  368. package/lib/swipe/index.d.ts +1 -1
  369. package/lib/swipe/types.d.ts +8 -0
  370. package/lib/switch/index.d.ts +1 -0
  371. package/lib/switch/types.d.ts +12 -0
  372. package/lib/switch/types.js +15 -0
  373. package/lib/tabbar/index.d.ts +1 -0
  374. package/lib/tabbar/types.d.ts +5 -0
  375. package/lib/tabbar/types.js +15 -0
  376. package/lib/tabbar-item/index.d.ts +1 -0
  377. package/lib/tabbar-item/types.d.ts +9 -0
  378. package/lib/tabbar-item/types.js +15 -0
  379. package/lib/tabs/index.d.ts +1 -1
  380. package/lib/tabs/types.d.ts +14 -0
  381. package/lib/tag/Tag.d.ts +1 -2
  382. package/lib/tag/index.d.ts +9 -8
  383. package/lib/tag/types.d.ts +20 -0
  384. package/lib/tag/types.js +15 -0
  385. package/lib/toast/index.d.ts +6 -1
  386. package/lib/toast/types.d.ts +17 -0
  387. package/lib/tree-select/index.d.ts +1 -0
  388. package/lib/tree-select/types.d.ts +10 -0
  389. package/lib/tree-select/types.js +15 -0
  390. package/lib/uploader/index.d.ts +1 -1
  391. package/lib/uploader/types.d.ts +27 -0
  392. package/lib/vant.cjs.js +2 -1
  393. package/lib/vant.es.js +2 -1
  394. package/lib/vant.js +2 -1
  395. package/lib/vant.min.js +1 -1
  396. package/lib/web-types.json +1573 -1533
  397. package/package.json +1 -1
@@ -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);
@@ -19,6 +19,7 @@ export declare const CellGroup: import("../utils").WithInstall<import("vue").Def
19
19
  export default CellGroup;
20
20
  export { cellGroupProps } from './CellGroup';
21
21
  export type { CellGroupProps } from './CellGroup';
22
+ export type { CellGroupThemeVars } from './types';
22
23
  declare module 'vue' {
23
24
  interface GlobalComponents {
24
25
  VanCellGroup: typeof CellGroup;
@@ -0,0 +1,10 @@
1
+ export declare type CellGroupThemeVars = {
2
+ cellGroupBackground?: string;
3
+ cellGroupTitleColor?: string;
4
+ cellGroupTitlePadding?: string;
5
+ cellGroupTitleFontSize?: string;
6
+ cellGroupTitleLineHeight?: number | string;
7
+ cellGroupInsetPadding?: string;
8
+ cellGroupInsetRadius?: string;
9
+ cellGroupInsetTitlePadding?: string;
10
+ };
@@ -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);
@@ -44,7 +44,7 @@ export declare const Checkbox: import("../utils").WithInstall<import("vue").Defi
44
44
  export default Checkbox;
45
45
  export { checkboxProps } from './Checkbox';
46
46
  export type { CheckboxProps } from './Checkbox';
47
- export type { CheckboxShape, CheckboxInstance, CheckboxLabelPosition, } from './types';
47
+ export type { CheckboxShape, CheckboxInstance, CheckboxThemeVars, CheckboxLabelPosition, } from './types';
48
48
  declare module 'vue' {
49
49
  interface GlobalComponents {
50
50
  VanCheckbox: typeof Checkbox;
@@ -11,3 +11,14 @@ export declare type CheckboxExpose = {
11
11
  checked: ComputedRef<boolean>;
12
12
  };
13
13
  export declare type CheckboxInstance = ComponentPublicInstance<CheckboxProps, CheckboxExpose>;
14
+ export declare type CheckboxThemeVars = {
15
+ checkboxSize?: string;
16
+ checkboxBorderColor?: string;
17
+ checkboxDuration?: string;
18
+ checkboxLabelMargin?: string;
19
+ checkboxLabelColor?: string;
20
+ checkboxCheckedIconColor?: string;
21
+ checkboxDisabledIconColor?: string;
22
+ checkboxDisabledLabelColor?: string;
23
+ checkboxDisabledBackground?: string;
24
+ };
@@ -80,6 +80,7 @@ export declare const Circle: import("../utils").WithInstall<import("vue").Define
80
80
  export default Circle;
81
81
  export { circleProps } from './Circle';
82
82
  export type { CircleProps, CircleStartPosition } from './Circle';
83
+ export type { CircleThemeVars } from './types';
83
84
  declare module 'vue' {
84
85
  interface GlobalComponents {
85
86
  VanCircle: typeof Circle;
@@ -0,0 +1,9 @@
1
+ export declare type CircleThemeVars = {
2
+ circleSize?: string;
3
+ circleColor?: string;
4
+ circleLayerColor?: string;
5
+ circleTextColor?: string;
6
+ circleTextFontWeight?: string;
7
+ circleTextFontSize?: string;
8
+ circleTextLineHeight?: number | string;
9
+ };
@@ -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);
@@ -81,7 +81,7 @@ export declare const CollapseItem: import("../utils").WithInstall<import("vue").
81
81
  export default CollapseItem;
82
82
  export { collapseItemProps } from './CollapseItem';
83
83
  export type { CollapseItemProps } from './CollapseItem';
84
- export type { CollapseItemInstance } from './types';
84
+ export type { CollapseItemInstance, CollapseItemThemeVars } from './types';
85
85
  declare module 'vue' {
86
86
  interface GlobalComponents {
87
87
  VanCollapseItem: typeof CollapseItem;
@@ -4,3 +4,12 @@ export declare type CollapseItemExpose = {
4
4
  toggle: (newValue?: boolean) => void;
5
5
  };
6
6
  export declare type CollapseItemInstance = ComponentPublicInstance<CollapseItemProps, CollapseItemExpose>;
7
+ export declare type CollapseItemThemeVars = {
8
+ collapseItemDuration?: string;
9
+ collapseItemContentPadding?: string;
10
+ collapseItemContentFontSize?: string;
11
+ collapseItemContentLineHeight?: number | string;
12
+ collapseItemContentTextColor?: string;
13
+ collapseItemContentBackground?: string;
14
+ collapseItemTitleDisabledColor?: string;
15
+ };
@@ -33,6 +33,7 @@ export declare const ConfigProvider: import("../utils").WithInstall<import("vue"
33
33
  export default ConfigProvider;
34
34
  export { configProviderProps } from './ConfigProvider';
35
35
  export type { ConfigProviderProps, ConfigProviderTheme, } from './ConfigProvider';
36
+ export type { ConfigProviderThemeVars } from './types';
36
37
  declare module 'vue' {
37
38
  interface GlobalComponents {
38
39
  VanConfigProvider: typeof ConfigProvider;
@@ -0,0 +1 @@
1
+ export declare type ConfigProviderThemeVars = import('../action-bar').ActionBarThemeVars & import('../action-bar-button').ActionBarButtonThemeVars & import('../action-bar-icon').ActionBarIconThemeVars & import('../action-sheet').ActionSheetThemeVars & import('../address-edit').AddressEditThemeVars & import('../address-list').AddressListThemeVars & import('../badge').BadgeThemeVars & import('../button').ButtonThemeVars & import('../calendar').CalendarThemeVars & import('../card').CardThemeVars & import('../cascader').CascaderThemeVars & import('../cell').CellThemeVars & import('../cell-group').CellGroupThemeVars & import('../checkbox').CheckboxThemeVars & import('../circle').CircleThemeVars & import('../collapse-item').CollapseItemThemeVars & import('../contact-card').ContactCardThemeVars & import('../contact-edit').ContactEditThemeVars & import('../contact-list').ContactListThemeVars & import('../count-down').CountDownThemeVars & import('../coupon').CouponThemeVars & import('../coupon-cell').CouponCellThemeVars & import('../coupon-list').CouponListThemeVars & import('../dialog').DialogThemeVars & import('../divider').DividerThemeVars & import('../dropdown-item').DropdownItemThemeVars & import('../dropdown-menu').DropdownMenuThemeVars & import('../empty').EmptyThemeVars & import('../field').FieldThemeVars & import('../grid-item').GridItemThemeVars & import('../image').ImageThemeVars & import('../image-preview').ImagePreviewThemeVars & import('../index-anchor').IndexAnchorThemeVars & import('../index-bar').IndexBarThemeVars & import('../list').ListThemeVars & import('../loading').LoadingThemeVars & import('../nav-bar').NavBarThemeVars & import('../notice-bar').NoticeBarThemeVars & import('../notify').NotifyThemeVars & import('../number-keyboard').NumberKeyboardThemeVars & import('../overlay').OverlayThemeVars & import('../pagination').PaginationThemeVars & import('../password-input').PasswordInputThemeVars & import('../picker').PickerThemeVars & import('../picker-group').PickerGroupThemeVars & import('../popover').PopoverThemeVars & import('../popup').PopupThemeVars & import('../progress').ProgressThemeVars & import('../pull-refresh').PullRefreshThemeVars & import('../radio').RadioThemeVars & import('../rate').RateThemeVars & import('../search').SearchThemeVars & import('../share-sheet').ShareSheetThemeVars & import('../sidebar').SidebarThemeVars & import('../sidebar-item').SidebarItemThemeVars & import('../skeleton').SkeletonThemeVars & import('../slider').SliderThemeVars & import('../step').StepThemeVars & import('../stepper').StepperThemeVars & import('../steps').StepsThemeVars & import('../sticky').StickyThemeVars & import('../submit-bar').SubmitBarThemeVars & import('../swipe').SwipeThemeVars & import('../switch').SwitchThemeVars & import('../tabbar').TabbarThemeVars & import('../tabbar-item').TabbarItemThemeVars & import('../tabs').TabsThemeVars & import('../tag').TagThemeVars & import('../toast').ToastThemeVars & import('../tree-select').TreeSelectThemeVars & import('../uploader').UploaderThemeVars;
@@ -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);
@@ -31,6 +31,7 @@ export declare const ContactCard: import("../utils").WithInstall<import("vue").D
31
31
  export default ContactCard;
32
32
  export { contactCardProps } from './ContactCard';
33
33
  export type { ContactCardType, ContactCardProps } from './ContactCard';
34
+ export type { ContactCardThemeVars } from './types';
34
35
  declare module 'vue' {
35
36
  interface GlobalComponents {
36
37
  VanContactCard: typeof ContactCard;
@@ -0,0 +1,6 @@
1
+ export declare type ContactCardThemeVars = {
2
+ contactCardPadding?: string;
3
+ contactCardAddIconSize?: string;
4
+ contactCardAddIconColor?: string;
5
+ contactCardTitleLineHeight?: number | string;
6
+ };
@@ -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);
@@ -41,6 +41,7 @@ export declare const ContactEdit: import("../utils").WithInstall<import("vue").D
41
41
  export default ContactEdit;
42
42
  export { contactEditProps } from './ContactEdit';
43
43
  export type { ContactEditInfo, ContactEditProps } from './ContactEdit';
44
+ export type { ContactEditThemeVars } from './types';
44
45
  declare module 'vue' {
45
46
  interface GlobalComponents {
46
47
  VanContactEdit: typeof ContactEdit;
@@ -0,0 +1,8 @@
1
+ export declare type ContactEditThemeVars = {
2
+ contactEditPadding?: string;
3
+ contactEditFieldsRadius?: string;
4
+ contactEditButtonsPadding?: string;
5
+ contactEditButtonMarginBottom?: string;
6
+ contactEditButtonFontSize?: string;
7
+ contactEditFieldLabelWidth?: string;
8
+ };
@@ -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);
@@ -17,6 +17,7 @@ export declare const ContactList: import("../utils").WithInstall<import("vue").D
17
17
  export default ContactList;
18
18
  export { contactListProps } from './ContactList';
19
19
  export type { ContactListItem, ContactListProps } from './ContactList';
20
+ export type { ContactListThemeVars } from './types';
20
21
  declare module 'vue' {
21
22
  interface GlobalComponents {
22
23
  VanContactList: typeof ContactList;
@@ -0,0 +1,6 @@
1
+ export declare type ContactListThemeVars = {
2
+ contactListEditIconSize?: string;
3
+ contactListAddButtonZIndex?: number | string;
4
+ contactListRadioColor?: string;
5
+ contactListItemPadding?: string;
6
+ };
@@ -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);
@@ -38,7 +38,7 @@ export declare const CountDown: import("../utils").WithInstall<import("vue").Def
38
38
  export default CountDown;
39
39
  export { countDownProps } from './CountDown';
40
40
  export type { CountDownProps } from './CountDown';
41
- export type { CountDownInstance, CountDownCurrentTime } from './types';
41
+ export type { CountDownInstance, CountDownThemeVars, CountDownCurrentTime, } from './types';
42
42
  declare module 'vue' {
43
43
  interface GlobalComponents {
44
44
  VanCountDown: typeof CountDown;
@@ -8,4 +8,9 @@ declare type CountDownExpose = {
8
8
  };
9
9
  export declare type CountDownInstance = ComponentPublicInstance<CountDownProps, CountDownExpose>;
10
10
  export declare type CountDownCurrentTime = CurrentTime;
11
+ export declare type CountDownThemeVars = {
12
+ countDownTextColor?: string;
13
+ countDownFontSize?: string;
14
+ countDownLineHeight?: number | string;
15
+ };
11
16
  export {};
@@ -27,6 +27,7 @@ export declare const Coupon: import("../utils").WithInstall<import("vue").Define
27
27
  }>>;
28
28
  export default Coupon;
29
29
  export type { CouponInfo } from './Coupon';
30
+ export type { CouponThemeVars } from './types';
30
31
  declare module 'vue' {
31
32
  interface GlobalComponents {
32
33
  VanCoupon: typeof Coupon;
@@ -0,0 +1,19 @@
1
+ export declare type CouponThemeVars = {
2
+ couponMargin?: string;
3
+ couponContentHeight?: string;
4
+ couponContentPadding?: string;
5
+ couponContentTextColor?: string;
6
+ couponBackground?: string;
7
+ couponActiveBackground?: string;
8
+ couponRadius?: string;
9
+ couponShadow?: string;
10
+ couponHeadWidth?: string;
11
+ couponAmountColor?: string;
12
+ couponAmountFontSize?: string;
13
+ couponCurrencyFontSize?: string;
14
+ couponNameFontSize?: string;
15
+ couponDisabledTextColor?: string;
16
+ couponDescriptionPadding?: string;
17
+ couponDescriptionBorderColor?: string;
18
+ couponCheckboxColor?: string;
19
+ };
@@ -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);
@@ -52,6 +52,7 @@ export declare const CouponCell: import("../utils").WithInstall<import("vue").De
52
52
  export default CouponCell;
53
53
  export { couponCellProps } from './CouponCell';
54
54
  export type { CouponCellProps } from './CouponCell';
55
+ export type { CouponCellThemeVars } from './types';
55
56
  declare module 'vue' {
56
57
  interface GlobalComponents {
57
58
  VanCouponCell: typeof CouponCell;
@@ -0,0 +1,3 @@
1
+ export declare type CouponCellThemeVars = {
2
+ couponCellSelectedTextColor?: string;
3
+ };
@@ -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);
@@ -117,6 +117,7 @@ export declare const CouponList: import("../utils").WithInstall<import("vue").De
117
117
  export default CouponList;
118
118
  export { couponListProps } from './CouponList';
119
119
  export type { CouponListProps } from './CouponList';
120
+ export type { CouponListThemeVars } from './types';
120
121
  declare module 'vue' {
121
122
  interface GlobalComponents {
122
123
  VanCouponList: typeof CouponList;
@@ -0,0 +1,9 @@
1
+ export declare type CouponListThemeVars = {
2
+ couponListBackground?: string;
3
+ couponListFieldPadding?: string;
4
+ couponListExchangeButtonHeight?: string;
5
+ couponListCloseButtonHeight?: string;
6
+ couponListEmptyTipColor?: string;
7
+ couponListEmptyTipFontSize?: string;
8
+ couponListEmptyTipLineHeight?: number | string;
9
+ };
@@ -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);
@@ -130,7 +130,7 @@ export default Dialog;
130
130
  export { dialogProps } from './Dialog';
131
131
  export { showDialog, closeDialog, showConfirmDialog, setDialogDefaultOptions, resetDialogDefaultOptions, } from './function-call';
132
132
  export type { DialogProps } from './Dialog';
133
- export type { DialogTheme, DialogMessage, DialogOptions, DialogMessageAlign, } from './types';
133
+ export type { DialogTheme, DialogMessage, DialogOptions, DialogThemeVars, DialogMessageAlign, } from './types';
134
134
  declare module 'vue' {
135
135
  interface GlobalComponents {
136
136
  VanDialog: typeof Dialog;
@@ -30,3 +30,24 @@ export declare type DialogOptions = {
30
30
  confirmButtonDisabled?: boolean;
31
31
  closeOnClickOverlay?: boolean;
32
32
  };
33
+ export declare type DialogThemeVars = {
34
+ dialogWidth?: string;
35
+ dialogSmallScreenWidth?: string;
36
+ dialogFontSize?: string;
37
+ dialogTransition?: string;
38
+ dialogRadius?: string;
39
+ dialogBackground?: string;
40
+ dialogHeaderFontWeight?: string;
41
+ dialogHeaderLineHeight?: number | string;
42
+ dialogHeaderPaddingTop?: string;
43
+ dialogHeaderIsolatedPadding?: string;
44
+ dialogMessagePadding?: string;
45
+ dialogMessageFontSize?: string;
46
+ dialogMessageLineHeight?: number | string;
47
+ dialogMessageMaxHeight?: string;
48
+ dialogHasTitleMessageTextColor?: string;
49
+ dialogHasTitleMessagePaddingTop?: string;
50
+ dialogButtonHeight?: string;
51
+ dialogRoundButtonHeight?: string;
52
+ dialogConfirmButtonTextColor?: string;
53
+ };
@@ -26,6 +26,7 @@ export declare const Divider: import("../utils").WithInstall<import("vue").Defin
26
26
  export default Divider;
27
27
  export { dividerProps } from './Divider';
28
28
  export type { DividerProps, DividerContentPosition } from './Divider';
29
+ export type { DividerThemeVars } from './types';
29
30
  declare module 'vue' {
30
31
  interface GlobalComponents {
31
32
  VanDivider: typeof Divider;
@@ -0,0 +1,10 @@
1
+ export declare type DividerThemeVars = {
2
+ dividerMargin?: string;
3
+ dividerTextColor?: string;
4
+ dividerFontSize?: string;
5
+ dividerLineHeight?: number | string;
6
+ dividerBorderColor?: string;
7
+ dividerContentPadding?: string;
8
+ dividerContentLeftWidth?: string;
9
+ dividerContentRightWidth?: string;
10
+ };
@@ -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);
@@ -42,7 +42,7 @@ export declare const DropdownItem: import("../utils").WithInstall<import("vue").
42
42
  export default DropdownItem;
43
43
  export { dropdownItemProps } from './DropdownItem';
44
44
  export type { DropdownItemProps };
45
- export type { DropdownItemInstance, DropdownItemOption } from './types';
45
+ export type { DropdownItemOption, DropdownItemInstance, DropdownItemThemeVars, } from './types';
46
46
  declare module 'vue' {
47
47
  interface GlobalComponents {
48
48
  VanDropdownItem: typeof DropdownItem;
@@ -20,3 +20,6 @@ export declare type DropdownItemExpose = {
20
20
  renderTitle: () => string | VNode[];
21
21
  };
22
22
  export declare type DropdownItemInstance = ComponentPublicInstance<DropdownItemProps, DropdownItemExpose>;
23
+ export declare type DropdownItemThemeVars = {
24
+ dropdownItemZIndex?: number | string;
25
+ };
@@ -55,7 +55,7 @@ export declare const DropdownMenu: import("../utils").WithInstall<import("vue").
55
55
  export default DropdownMenu;
56
56
  export { dropdownMenuProps } from './DropdownMenu';
57
57
  export type { DropdownMenuProps };
58
- export type { DropdownMenuDirection } from './types';
58
+ export type { DropdownMenuDirection, DropdownMenuThemeVars } from './types';
59
59
  declare module 'vue' {
60
60
  interface GlobalComponents {
61
61
  VanDropdownMenu: typeof DropdownMenu;
@@ -6,3 +6,16 @@ export declare type DropdownMenuProvide = {
6
6
  props: DropdownMenuProps;
7
7
  offset: Ref<number>;
8
8
  };
9
+ export declare type DropdownMenuThemeVars = {
10
+ dropdownMenuHeight?: string;
11
+ dropdownMenuBackground?: string;
12
+ dropdownMenuShadow?: string;
13
+ dropdownMenuTitleFontSize?: string;
14
+ dropdownMenuTitleTextColor?: string;
15
+ dropdownMenuTitleActiveTextColor?: string;
16
+ dropdownMenuTitleDisabledTextColor?: string;
17
+ dropdownMenuTitlePadding?: string;
18
+ dropdownMenuTitleLineHeight?: number | string;
19
+ dropdownMenuOptionActiveColor?: string;
20
+ dropdownMenuContentMaxHeight?: string;
21
+ };
@@ -18,6 +18,7 @@ export declare const Empty: import("../utils").WithInstall<import("vue").DefineC
18
18
  export default Empty;
19
19
  export { emptyProps } from './Empty';
20
20
  export type { EmptyProps } from './Empty';
21
+ export type { EmptyThemeVars } from './types';
21
22
  declare module 'vue' {
22
23
  interface GlobalComponents {
23
24
  VanEmpty: typeof Empty;
@@ -0,0 +1,10 @@
1
+ export declare type EmptyThemeVars = {
2
+ emptyPadding?: string;
3
+ emptyImageSize?: string;
4
+ emptyDescriptionMarginTop?: string;
5
+ emptyDescriptionPadding?: string;
6
+ emptyDescriptionColor?: string;
7
+ emptyDescriptionFontSize?: string;
8
+ emptyDescriptionLineHeight?: number | string;
9
+ emptyBottomMarginTop?: string;
10
+ };
@@ -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);
@@ -196,7 +196,7 @@ export declare const Field: import("../utils").WithInstall<import("vue").DefineC
196
196
  export default Field;
197
197
  export { fieldProps } from './Field';
198
198
  export type { FieldProps };
199
- export type { FieldType, FieldRule, FieldInstance, FieldTextAlign, FieldRuleMessage, FieldClearTrigger, FieldFormatTrigger, FieldRuleValidator, FiledRuleFormatter, FieldValidateError, FieldAutosizeConfig, FieldValidateTrigger, FieldValidationStatus, } from './types';
199
+ export type { FieldType, FieldRule, FieldInstance, FieldTextAlign, FieldThemeVars, FieldRuleMessage, FieldClearTrigger, FieldFormatTrigger, FieldRuleValidator, FiledRuleFormatter, FieldValidateError, FieldAutosizeConfig, FieldValidateTrigger, FieldValidationStatus, } from './types';
200
200
  declare module 'vue' {
201
201
  interface GlobalComponents {
202
202
  VanField: typeof Field;
@@ -42,3 +42,24 @@ declare global {
42
42
  composing?: boolean;
43
43
  }
44
44
  }
45
+ export declare type FieldThemeVars = {
46
+ fieldLabelWidth?: string;
47
+ fieldLabelColor?: string;
48
+ fieldLabelMarginRight?: string;
49
+ fieldInputTextColor?: string;
50
+ fieldInputErrorTextColor?: string;
51
+ fieldInputDisabledTextColor?: string;
52
+ fieldPlaceholderTextColor?: string;
53
+ fieldIconSize?: string;
54
+ fieldClearIconSize?: string;
55
+ fieldClearIconColor?: string;
56
+ fieldRightIconColor?: string;
57
+ fieldErrorMessageColor?: string;
58
+ fieldErrorMessageFontSize?: string;
59
+ fieldTextAreaMinHeight?: string;
60
+ fieldWordLimitColor?: string;
61
+ fieldWordLimitFontSize?: string;
62
+ fieldWordLimitLineHeight?: number | string;
63
+ fieldDisabledTextColor?: string;
64
+ fieldRequiredMarkColor?: string;
65
+ };
@@ -29,6 +29,7 @@ export declare const GridItem: import("../utils").WithInstall<import("vue").Defi
29
29
  export default GridItem;
30
30
  export { gridItemProps } from './GridItem';
31
31
  export type { GridItemProps } from './GridItem';
32
+ export type { GridItemThemeVars } from './types';
32
33
  declare module 'vue' {
33
34
  interface GlobalComponents {
34
35
  VanGridItem: typeof GridItem;
@@ -0,0 +1,8 @@
1
+ export declare type GridItemThemeVars = {
2
+ gridItemContentPadding?: string;
3
+ gridItemContentBackground?: string;
4
+ gridItemContentActiveColor?: string;
5
+ gridItemIconSize?: string;
6
+ gridItemTextColor?: string;
7
+ gridItemTextFontSize?: string;
8
+ };