vxe-pc-ui 0.0.1 → 0.0.2

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 (498) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +48 -5
  3. package/es/anchor/index.js +8 -0
  4. package/es/anchor/src/anchor.js +202 -0
  5. package/es/anchor/style.css +40 -0
  6. package/es/anchor/style.min.css +1 -0
  7. package/es/anchor-link/index.js +8 -0
  8. package/es/anchor-link/src/anchor-link.js +94 -0
  9. package/es/anchor-link/src/util.js +19 -0
  10. package/es/anchor-link/style.css +0 -0
  11. package/es/anchor-link/style.min.css +0 -0
  12. package/es/breadcrumb/index.js +8 -0
  13. package/es/breadcrumb/src/breadcrumb.js +44 -0
  14. package/es/breadcrumb/style.css +19 -0
  15. package/es/breadcrumb/style.min.css +1 -0
  16. package/es/breadcrumb-item/index.js +8 -0
  17. package/es/breadcrumb-item/src/breadcrumb-item.js +54 -0
  18. package/es/breadcrumb-item/style.css +0 -0
  19. package/es/breadcrumb-item/style.min.css +0 -0
  20. package/es/button/index.js +8 -0
  21. package/es/button/src/button.js +487 -0
  22. package/es/button/style.css +513 -0
  23. package/es/button/style.min.css +1 -0
  24. package/es/button-group/index.js +8 -0
  25. package/es/button-group/src/button-group.js +66 -0
  26. package/es/button-group/style.css +0 -0
  27. package/es/button-group/style.min.css +0 -0
  28. package/es/col/index.js +8 -0
  29. package/es/col/src/col.js +80 -0
  30. package/es/col/style.css +95 -0
  31. package/es/col/style.min.css +1 -0
  32. package/es/components.js +57 -0
  33. package/es/design/index.js +8 -0
  34. package/es/design/src/design.js +41 -0
  35. package/es/design/style.css +0 -0
  36. package/es/design/style.min.css +0 -0
  37. package/es/hooks/size.js +10 -0
  38. package/es/icon/index.js +8 -0
  39. package/es/icon/src/icon.js +24 -0
  40. package/es/icon/style.css +766 -0
  41. package/es/icon/style.min.css +1 -0
  42. package/es/index.esm.js +3 -0
  43. package/es/layout-aside/index.js +8 -0
  44. package/es/layout-aside/src/layout-aside.js +68 -0
  45. package/es/layout-aside/style.css +12 -0
  46. package/es/layout-aside/style.min.css +1 -0
  47. package/es/layout-body/index.js +8 -0
  48. package/es/layout-body/src/layout-body.js +37 -0
  49. package/es/layout-body/style.css +3 -0
  50. package/es/layout-body/style.min.css +1 -0
  51. package/es/layout-container/index.js +8 -0
  52. package/es/layout-container/src/layout-container.js +41 -0
  53. package/es/layout-container/style.css +10 -0
  54. package/es/layout-container/style.min.css +1 -0
  55. package/es/layout-footer/index.js +8 -0
  56. package/es/layout-footer/src/layout-footer.js +41 -0
  57. package/es/layout-footer/style.css +10 -0
  58. package/es/layout-footer/style.min.css +1 -0
  59. package/es/layout-header/index.js +8 -0
  60. package/es/layout-header/src/layout-header.js +41 -0
  61. package/es/layout-header/style.css +10 -0
  62. package/es/layout-header/style.min.css +1 -0
  63. package/es/locale/lang/en-US.d.ts +2 -0
  64. package/es/locale/lang/en-US.js +463 -0
  65. package/es/locale/lang/es-ES.d.ts +2 -0
  66. package/es/locale/lang/es-ES.js +463 -0
  67. package/es/locale/lang/ja-JP.d.ts +2 -0
  68. package/es/locale/lang/ja-JP.js +463 -0
  69. package/es/locale/lang/pt-BR.d.ts +2 -0
  70. package/es/locale/lang/pt-BR.js +463 -0
  71. package/es/locale/lang/zh-CN.d.ts +2 -0
  72. package/es/locale/lang/zh-CN.js +463 -0
  73. package/es/locale/lang/zh-HK.d.ts +2 -0
  74. package/es/locale/lang/zh-HK.js +2 -0
  75. package/es/locale/lang/zh-MO.d.ts +2 -0
  76. package/es/locale/lang/zh-MO.js +2 -0
  77. package/es/locale/lang/zh-TC.d.ts +2 -0
  78. package/es/locale/lang/zh-TC.js +463 -0
  79. package/es/locale/lang/zh-TW.d.ts +2 -0
  80. package/es/locale/lang/zh-TW.js +2 -0
  81. package/es/row/index.js +8 -0
  82. package/es/row/src/row.js +69 -0
  83. package/es/row/style.css +10 -0
  84. package/es/row/style.min.css +1 -0
  85. package/es/style.css +1 -0
  86. package/es/style.min.css +1 -0
  87. package/es/ui/index.js +4 -0
  88. package/es/ui/src/core.js +41 -0
  89. package/es/ui/src/dom.js +90 -0
  90. package/es/ui/src/event.js +75 -0
  91. package/es/ui/src/globalStore.js +8 -0
  92. package/es/ui/src/iconStore.js +76 -0
  93. package/es/ui/src/log.js +13 -0
  94. package/es/ui/src/theme.js +10 -0
  95. package/es/ui/src/utils.js +17 -0
  96. package/es/ui/style.css +0 -0
  97. package/es/ui/style.min.css +0 -0
  98. package/es/vxe-anchor/index.js +3 -0
  99. package/es/vxe-anchor/style.css +40 -0
  100. package/es/vxe-anchor/style.min.css +1 -0
  101. package/es/vxe-anchor-link/index.js +3 -0
  102. package/es/vxe-anchor-link/style.css +0 -0
  103. package/es/vxe-anchor-link/style.min.css +0 -0
  104. package/es/vxe-breadcrumb/index.js +3 -0
  105. package/es/vxe-breadcrumb/style.css +19 -0
  106. package/es/vxe-breadcrumb/style.min.css +1 -0
  107. package/es/vxe-breadcrumb-item/index.js +3 -0
  108. package/es/vxe-breadcrumb-item/style.css +0 -0
  109. package/es/vxe-breadcrumb-item/style.min.css +0 -0
  110. package/es/vxe-button/index.js +3 -0
  111. package/es/vxe-button/style.css +513 -0
  112. package/es/vxe-button/style.min.css +1 -0
  113. package/es/vxe-button-group/index.js +3 -0
  114. package/es/vxe-button-group/style.css +0 -0
  115. package/es/vxe-button-group/style.min.css +0 -0
  116. package/es/vxe-col/index.js +3 -0
  117. package/es/vxe-col/style.css +95 -0
  118. package/es/vxe-col/style.min.css +1 -0
  119. package/es/vxe-design/index.js +3 -0
  120. package/es/vxe-design/style.css +0 -0
  121. package/es/vxe-design/style.min.css +0 -0
  122. package/es/vxe-icon/index.js +3 -0
  123. package/es/vxe-icon/style.css +766 -0
  124. package/es/vxe-icon/style.min.css +1 -0
  125. package/es/vxe-layout-aside/index.js +3 -0
  126. package/es/vxe-layout-aside/style.css +12 -0
  127. package/es/vxe-layout-aside/style.min.css +1 -0
  128. package/es/vxe-layout-body/index.js +3 -0
  129. package/es/vxe-layout-body/style.css +3 -0
  130. package/es/vxe-layout-body/style.min.css +1 -0
  131. package/es/vxe-layout-container/index.js +3 -0
  132. package/es/vxe-layout-container/style.css +10 -0
  133. package/es/vxe-layout-container/style.min.css +1 -0
  134. package/es/vxe-layout-footer/index.js +3 -0
  135. package/es/vxe-layout-footer/style.css +10 -0
  136. package/es/vxe-layout-footer/style.min.css +1 -0
  137. package/es/vxe-layout-header/index.js +3 -0
  138. package/es/vxe-layout-header/style.css +10 -0
  139. package/es/vxe-layout-header/style.min.css +1 -0
  140. package/es/vxe-row/index.js +3 -0
  141. package/es/vxe-row/style.css +10 -0
  142. package/es/vxe-row/style.min.css +1 -0
  143. package/es/vxe-ui/index.js +3 -0
  144. package/es/vxe-ui/style.css +0 -0
  145. package/es/vxe-ui/style.min.css +0 -0
  146. package/lib/anchor/index.js +15 -0
  147. package/lib/anchor/index.min.js +1 -0
  148. package/lib/anchor/src/anchor.js +220 -0
  149. package/lib/anchor/src/anchor.min.js +1 -0
  150. package/lib/anchor/style/index.js +1 -0
  151. package/lib/anchor/style/style.css +40 -0
  152. package/lib/anchor/style/style.min.css +1 -0
  153. package/lib/anchor-link/index.js +15 -0
  154. package/lib/anchor-link/index.min.js +1 -0
  155. package/lib/anchor-link/src/anchor-link.js +106 -0
  156. package/lib/anchor-link/src/anchor-link.min.js +1 -0
  157. package/lib/anchor-link/src/util.js +29 -0
  158. package/lib/anchor-link/src/util.min.js +1 -0
  159. package/lib/anchor-link/style/index.js +1 -0
  160. package/lib/anchor-link/style/style.css +0 -0
  161. package/lib/anchor-link/style/style.min.css +0 -0
  162. package/lib/breadcrumb/index.js +15 -0
  163. package/lib/breadcrumb/index.min.js +1 -0
  164. package/lib/breadcrumb/src/breadcrumb.js +53 -0
  165. package/lib/breadcrumb/src/breadcrumb.min.js +1 -0
  166. package/lib/breadcrumb/style/index.js +1 -0
  167. package/lib/breadcrumb/style/style.css +19 -0
  168. package/lib/breadcrumb/style/style.min.css +1 -0
  169. package/lib/breadcrumb-item/index.js +15 -0
  170. package/lib/breadcrumb-item/index.min.js +1 -0
  171. package/lib/breadcrumb-item/src/breadcrumb-item.js +58 -0
  172. package/lib/breadcrumb-item/src/breadcrumb-item.min.js +1 -0
  173. package/lib/breadcrumb-item/style/index.js +1 -0
  174. package/lib/breadcrumb-item/style/style.css +0 -0
  175. package/lib/breadcrumb-item/style/style.min.css +0 -0
  176. package/lib/button/index.js +15 -0
  177. package/lib/button/index.min.js +1 -0
  178. package/lib/button/src/button.js +540 -0
  179. package/lib/button/src/button.min.js +1 -0
  180. package/lib/button/style/index.js +1 -0
  181. package/lib/button/style/style.css +513 -0
  182. package/lib/button/style/style.min.css +1 -0
  183. package/lib/button-group/index.js +15 -0
  184. package/lib/button-group/index.min.js +1 -0
  185. package/lib/button-group/src/button-group.js +88 -0
  186. package/lib/button-group/src/button-group.min.js +1 -0
  187. package/lib/button-group/style/index.js +1 -0
  188. package/lib/button-group/style/style.css +0 -0
  189. package/lib/button-group/style/style.min.css +0 -0
  190. package/lib/col/index.js +15 -0
  191. package/lib/col/index.min.js +1 -0
  192. package/lib/col/src/col.js +96 -0
  193. package/lib/col/src/col.min.js +1 -0
  194. package/lib/col/style/index.js +1 -0
  195. package/lib/col/style/style.css +95 -0
  196. package/lib/col/style/style.min.css +1 -0
  197. package/lib/components.js +230 -0
  198. package/lib/components.min.js +1 -0
  199. package/lib/design/index.js +15 -0
  200. package/lib/design/index.min.js +1 -0
  201. package/lib/design/src/design.js +48 -0
  202. package/lib/design/src/design.min.js +1 -0
  203. package/lib/design/style/index.js +1 -0
  204. package/lib/design/style/style.css +0 -0
  205. package/lib/design/style/style.min.css +0 -0
  206. package/lib/hooks/size.js +16 -0
  207. package/lib/hooks/size.min.js +1 -0
  208. package/lib/icon/index.js +15 -0
  209. package/lib/icon/index.min.js +1 -0
  210. package/lib/icon/src/icon.js +36 -0
  211. package/lib/icon/src/icon.min.js +1 -0
  212. package/lib/icon/style/index.js +1 -0
  213. package/lib/icon/style/style.css +766 -0
  214. package/lib/icon/style/style.min.css +1 -0
  215. package/lib/index.common.js +22 -0
  216. package/lib/index.umd.js +4461 -0
  217. package/lib/index.umd.min.js +1 -0
  218. package/lib/layout-aside/index.js +15 -0
  219. package/lib/layout-aside/index.min.js +1 -0
  220. package/lib/layout-aside/src/layout-aside.js +80 -0
  221. package/lib/layout-aside/src/layout-aside.min.js +1 -0
  222. package/lib/layout-aside/style/index.js +1 -0
  223. package/lib/layout-aside/style/style.css +12 -0
  224. package/lib/layout-aside/style/style.min.css +1 -0
  225. package/lib/layout-body/index.js +15 -0
  226. package/lib/layout-body/index.min.js +1 -0
  227. package/lib/layout-body/src/layout-body.js +46 -0
  228. package/lib/layout-body/src/layout-body.min.js +1 -0
  229. package/lib/layout-body/style/index.js +1 -0
  230. package/lib/layout-body/style/style.css +3 -0
  231. package/lib/layout-body/style/style.min.css +1 -0
  232. package/lib/layout-container/index.js +15 -0
  233. package/lib/layout-container/index.min.js +1 -0
  234. package/lib/layout-container/src/layout-container.js +50 -0
  235. package/lib/layout-container/src/layout-container.min.js +1 -0
  236. package/lib/layout-container/style/index.js +1 -0
  237. package/lib/layout-container/style/style.css +10 -0
  238. package/lib/layout-container/style/style.min.css +1 -0
  239. package/lib/layout-footer/index.js +15 -0
  240. package/lib/layout-footer/index.min.js +1 -0
  241. package/lib/layout-footer/src/layout-footer.js +50 -0
  242. package/lib/layout-footer/src/layout-footer.min.js +1 -0
  243. package/lib/layout-footer/style/index.js +1 -0
  244. package/lib/layout-footer/style/style.css +10 -0
  245. package/lib/layout-footer/style/style.min.css +1 -0
  246. package/lib/layout-header/index.js +15 -0
  247. package/lib/layout-header/index.min.js +1 -0
  248. package/lib/layout-header/src/layout-header.js +50 -0
  249. package/lib/layout-header/src/layout-header.min.js +1 -0
  250. package/lib/layout-header/style/index.js +1 -0
  251. package/lib/layout-header/style/style.css +10 -0
  252. package/lib/layout-header/style/style.min.css +1 -0
  253. package/lib/locale/lang/en-US.d.ts +2 -0
  254. package/lib/locale/lang/en-US.js +469 -0
  255. package/lib/locale/lang/en-US.min.js +1 -0
  256. package/lib/locale/lang/en-US.umd.js +483 -0
  257. package/lib/locale/lang/es-ES.d.ts +2 -0
  258. package/lib/locale/lang/es-ES.js +469 -0
  259. package/lib/locale/lang/es-ES.min.js +1 -0
  260. package/lib/locale/lang/es-ES.umd.js +483 -0
  261. package/lib/locale/lang/ja-JP.d.ts +2 -0
  262. package/lib/locale/lang/ja-JP.js +469 -0
  263. package/lib/locale/lang/ja-JP.min.js +1 -0
  264. package/lib/locale/lang/ja-JP.umd.js +483 -0
  265. package/lib/locale/lang/pt-BR.d.ts +2 -0
  266. package/lib/locale/lang/pt-BR.js +469 -0
  267. package/lib/locale/lang/pt-BR.min.js +1 -0
  268. package/lib/locale/lang/pt-BR.umd.js +483 -0
  269. package/lib/locale/lang/zh-CN.d.ts +2 -0
  270. package/lib/locale/lang/zh-CN.js +469 -0
  271. package/lib/locale/lang/zh-CN.min.js +1 -0
  272. package/lib/locale/lang/zh-CN.umd.js +483 -0
  273. package/lib/locale/lang/zh-HK.d.ts +2 -0
  274. package/lib/locale/lang/zh-HK.js +9 -0
  275. package/lib/locale/lang/zh-HK.min.js +1 -0
  276. package/lib/locale/lang/zh-HK.umd.js +483 -0
  277. package/lib/locale/lang/zh-MO.d.ts +2 -0
  278. package/lib/locale/lang/zh-MO.js +9 -0
  279. package/lib/locale/lang/zh-MO.min.js +1 -0
  280. package/lib/locale/lang/zh-MO.umd.js +483 -0
  281. package/lib/locale/lang/zh-TC.d.ts +2 -0
  282. package/lib/locale/lang/zh-TC.js +469 -0
  283. package/lib/locale/lang/zh-TC.min.js +1 -0
  284. package/lib/locale/lang/zh-TC.umd.js +483 -0
  285. package/lib/locale/lang/zh-TW.d.ts +2 -0
  286. package/lib/locale/lang/zh-TW.js +9 -0
  287. package/lib/locale/lang/zh-TW.min.js +1 -0
  288. package/lib/locale/lang/zh-TW.umd.js +483 -0
  289. package/lib/row/index.js +15 -0
  290. package/lib/row/index.min.js +1 -0
  291. package/lib/row/src/row.js +82 -0
  292. package/lib/row/src/row.min.js +1 -0
  293. package/lib/row/style/index.js +1 -0
  294. package/lib/row/style/style.css +10 -0
  295. package/lib/row/style/style.min.css +1 -0
  296. package/lib/style.css +1 -0
  297. package/lib/style.min.css +1 -0
  298. package/lib/ui/index.js +25 -0
  299. package/lib/ui/index.min.js +1 -0
  300. package/lib/ui/src/core.js +53 -0
  301. package/lib/ui/src/core.min.js +1 -0
  302. package/lib/ui/src/dom.js +127 -0
  303. package/lib/ui/src/dom.min.js +1 -0
  304. package/lib/ui/src/event.js +100 -0
  305. package/lib/ui/src/event.min.js +1 -0
  306. package/lib/ui/src/globalStore.js +14 -0
  307. package/lib/ui/src/globalStore.min.js +1 -0
  308. package/lib/ui/src/iconStore.js +82 -0
  309. package/lib/ui/src/iconStore.min.js +1 -0
  310. package/lib/ui/src/log.js +22 -0
  311. package/lib/ui/src/log.min.js +1 -0
  312. package/lib/ui/src/theme.js +17 -0
  313. package/lib/ui/src/theme.min.js +1 -0
  314. package/lib/ui/src/utils.js +28 -0
  315. package/lib/ui/src/utils.min.js +1 -0
  316. package/lib/ui/style/index.js +1 -0
  317. package/lib/ui/style/style.css +0 -0
  318. package/lib/ui/style/style.min.css +0 -0
  319. package/lib/vxe-anchor/index.js +22 -0
  320. package/lib/vxe-anchor/index.min.js +1 -0
  321. package/lib/vxe-anchor/style/index.js +1 -0
  322. package/lib/vxe-anchor/style/style.css +40 -0
  323. package/lib/vxe-anchor/style/style.min.css +1 -0
  324. package/lib/vxe-anchor-link/index.js +22 -0
  325. package/lib/vxe-anchor-link/index.min.js +1 -0
  326. package/lib/vxe-anchor-link/style/index.js +1 -0
  327. package/lib/vxe-anchor-link/style/style.css +0 -0
  328. package/lib/vxe-anchor-link/style/style.min.css +0 -0
  329. package/lib/vxe-breadcrumb/index.js +22 -0
  330. package/lib/vxe-breadcrumb/index.min.js +1 -0
  331. package/lib/vxe-breadcrumb/style/index.js +1 -0
  332. package/lib/vxe-breadcrumb/style/style.css +19 -0
  333. package/lib/vxe-breadcrumb/style/style.min.css +1 -0
  334. package/lib/vxe-breadcrumb-item/index.js +22 -0
  335. package/lib/vxe-breadcrumb-item/index.min.js +1 -0
  336. package/lib/vxe-breadcrumb-item/style/index.js +1 -0
  337. package/lib/vxe-breadcrumb-item/style/style.css +0 -0
  338. package/lib/vxe-breadcrumb-item/style/style.min.css +0 -0
  339. package/lib/vxe-button/index.js +22 -0
  340. package/lib/vxe-button/index.min.js +1 -0
  341. package/lib/vxe-button/style/index.js +1 -0
  342. package/lib/vxe-button/style/style.css +513 -0
  343. package/lib/vxe-button/style/style.min.css +1 -0
  344. package/lib/vxe-button-group/index.js +22 -0
  345. package/lib/vxe-button-group/index.min.js +1 -0
  346. package/lib/vxe-button-group/style/index.js +1 -0
  347. package/lib/vxe-button-group/style/style.css +0 -0
  348. package/lib/vxe-button-group/style/style.min.css +0 -0
  349. package/lib/vxe-col/index.js +22 -0
  350. package/lib/vxe-col/index.min.js +1 -0
  351. package/lib/vxe-col/style/index.js +1 -0
  352. package/lib/vxe-col/style/style.css +95 -0
  353. package/lib/vxe-col/style/style.min.css +1 -0
  354. package/lib/vxe-design/index.js +22 -0
  355. package/lib/vxe-design/index.min.js +1 -0
  356. package/lib/vxe-design/style/index.js +1 -0
  357. package/lib/vxe-design/style/style.css +0 -0
  358. package/lib/vxe-design/style/style.min.css +0 -0
  359. package/lib/vxe-icon/index.js +22 -0
  360. package/lib/vxe-icon/index.min.js +1 -0
  361. package/lib/vxe-icon/style/index.js +1 -0
  362. package/lib/vxe-icon/style/style.css +766 -0
  363. package/lib/vxe-icon/style/style.min.css +1 -0
  364. package/lib/vxe-layout-aside/index.js +22 -0
  365. package/lib/vxe-layout-aside/index.min.js +1 -0
  366. package/lib/vxe-layout-aside/style/index.js +1 -0
  367. package/lib/vxe-layout-aside/style/style.css +12 -0
  368. package/lib/vxe-layout-aside/style/style.min.css +1 -0
  369. package/lib/vxe-layout-body/index.js +22 -0
  370. package/lib/vxe-layout-body/index.min.js +1 -0
  371. package/lib/vxe-layout-body/style/index.js +1 -0
  372. package/lib/vxe-layout-body/style/style.css +3 -0
  373. package/lib/vxe-layout-body/style/style.min.css +1 -0
  374. package/lib/vxe-layout-container/index.js +22 -0
  375. package/lib/vxe-layout-container/index.min.js +1 -0
  376. package/lib/vxe-layout-container/style/index.js +1 -0
  377. package/lib/vxe-layout-container/style/style.css +10 -0
  378. package/lib/vxe-layout-container/style/style.min.css +1 -0
  379. package/lib/vxe-layout-footer/index.js +22 -0
  380. package/lib/vxe-layout-footer/index.min.js +1 -0
  381. package/lib/vxe-layout-footer/style/index.js +1 -0
  382. package/lib/vxe-layout-footer/style/style.css +10 -0
  383. package/lib/vxe-layout-footer/style/style.min.css +1 -0
  384. package/lib/vxe-layout-header/index.js +22 -0
  385. package/lib/vxe-layout-header/index.min.js +1 -0
  386. package/lib/vxe-layout-header/style/index.js +1 -0
  387. package/lib/vxe-layout-header/style/style.css +10 -0
  388. package/lib/vxe-layout-header/style/style.min.css +1 -0
  389. package/lib/vxe-row/index.js +22 -0
  390. package/lib/vxe-row/index.min.js +1 -0
  391. package/lib/vxe-row/style/index.js +1 -0
  392. package/lib/vxe-row/style/style.css +10 -0
  393. package/lib/vxe-row/style/style.min.css +1 -0
  394. package/lib/vxe-ui/index.js +22 -0
  395. package/lib/vxe-ui/index.min.js +1 -0
  396. package/lib/vxe-ui/style/index.js +1 -0
  397. package/lib/vxe-ui/style/style.css +0 -0
  398. package/lib/vxe-ui/style/style.min.css +0 -0
  399. package/package.json +83 -55
  400. package/packages/anchor/index.ts +11 -0
  401. package/packages/anchor/src/anchor.ts +233 -0
  402. package/packages/anchor-link/index.ts +11 -0
  403. package/packages/anchor-link/src/anchor-link.ts +118 -0
  404. package/packages/anchor-link/src/util.ts +23 -0
  405. package/packages/breadcrumb/index.ts +11 -0
  406. package/packages/breadcrumb/src/breadcrumb.ts +60 -0
  407. package/packages/breadcrumb-item/index.ts +11 -0
  408. package/packages/breadcrumb-item/src/breadcrumb-item.ts +71 -0
  409. package/packages/button/index.ts +11 -0
  410. package/packages/button/src/button.ts +526 -0
  411. package/packages/button-group/index.ts +11 -0
  412. package/packages/button-group/src/button-group.ts +81 -0
  413. package/packages/col/index.ts +11 -0
  414. package/packages/col/src/col.ts +98 -0
  415. package/packages/components.ts +66 -0
  416. package/packages/design/index.ts +11 -0
  417. package/packages/design/src/design.ts +55 -0
  418. package/packages/hooks/size.ts +14 -0
  419. package/packages/icon/index.ts +11 -0
  420. package/packages/icon/src/icon.ts +27 -0
  421. package/packages/index.ts +4 -0
  422. package/packages/layout-aside/index.ts +11 -0
  423. package/packages/layout-aside/src/layout-aside.ts +85 -0
  424. package/packages/layout-body/index.ts +11 -0
  425. package/packages/layout-body/src/layout-body.ts +52 -0
  426. package/packages/layout-container/index.ts +11 -0
  427. package/packages/layout-container/src/layout-container.ts +56 -0
  428. package/packages/layout-footer/index.ts +11 -0
  429. package/packages/layout-footer/src/layout-footer.ts +56 -0
  430. package/packages/layout-header/index.ts +11 -0
  431. package/packages/layout-header/src/layout-header.ts +56 -0
  432. package/packages/locale/lang/en-US.ts +465 -0
  433. package/packages/locale/lang/es-ES.ts +465 -0
  434. package/packages/locale/lang/ja-JP.ts +465 -0
  435. package/packages/locale/lang/pt-BR.ts +465 -0
  436. package/packages/locale/lang/zh-CN.ts +465 -0
  437. package/packages/locale/lang/zh-HK.ts +3 -0
  438. package/packages/locale/lang/zh-MO.ts +3 -0
  439. package/packages/locale/lang/zh-TC.ts +465 -0
  440. package/packages/locale/lang/zh-TW.ts +3 -0
  441. package/packages/row/index.ts +11 -0
  442. package/packages/row/src/row.ts +86 -0
  443. package/packages/ui/index.ts +6 -0
  444. package/packages/ui/src/core.ts +51 -0
  445. package/packages/ui/src/dom.ts +103 -0
  446. package/packages/ui/src/event.ts +88 -0
  447. package/packages/ui/src/globalStore.ts +11 -0
  448. package/packages/ui/src/iconStore.ts +88 -0
  449. package/packages/ui/src/log.ts +16 -0
  450. package/packages/ui/src/theme.ts +13 -0
  451. package/packages/ui/src/utils.ts +22 -0
  452. package/styles/all.scss +17 -0
  453. package/styles/base.scss +16 -0
  454. package/styles/components/anchor-link.scss +0 -0
  455. package/styles/components/anchor.scss +42 -0
  456. package/styles/components/breadcrumb-item.scss +0 -0
  457. package/styles/components/breadcrumb.scss +20 -0
  458. package/styles/components/button-group.scss +0 -0
  459. package/styles/components/button.scss +357 -0
  460. package/styles/components/col.scss +32 -0
  461. package/styles/components/design.scss +1 -0
  462. package/styles/components/icon.scss +785 -0
  463. package/styles/components/layout-aside.scss +14 -0
  464. package/styles/components/layout-body.scss +5 -0
  465. package/styles/components/layout-container.scss +12 -0
  466. package/styles/components/layout-footer.scss +12 -0
  467. package/styles/components/layout-header.scss +12 -0
  468. package/styles/components/row.scss +10 -0
  469. package/styles/components/ui.scss +0 -0
  470. package/styles/helpers/mixin.scss +82 -0
  471. package/styles/icon/iconfont.ttf +0 -0
  472. package/styles/icon/iconfont.woff +0 -0
  473. package/styles/icon/iconfont.woff2 +0 -0
  474. package/styles/theme/base.scss +81 -0
  475. package/styles/theme/dark.scss +7 -0
  476. package/styles/theme/default.scss +5 -0
  477. package/types/all.d.ts +67 -0
  478. package/types/component/anchor-link.d.ts +74 -0
  479. package/types/component/anchor.d.ts +79 -0
  480. package/types/component/breadcrumb-item.d.ts +58 -0
  481. package/types/component/breadcrumb.d.ts +61 -0
  482. package/types/component/button-group.d.ts +86 -0
  483. package/types/component/button.d.ts +157 -0
  484. package/types/component/col.d.ts +58 -0
  485. package/types/component/design.d.ts +63 -0
  486. package/types/component/icon.d.ts +67 -0
  487. package/types/component/layout-aside.d.ts +57 -0
  488. package/types/component/layout-body.d.ts +58 -0
  489. package/types/component/layout-container.d.ts +58 -0
  490. package/types/component/layout-footer.d.ts +58 -0
  491. package/types/component/layout-header.d.ts +58 -0
  492. package/types/component/row.d.ts +65 -0
  493. package/types/index.d.ts +4 -0
  494. package/types/tool/common.d.ts +52 -0
  495. package/types/tool/index.d.ts +6 -0
  496. package/types/ui/global-config.d.ts +15 -0
  497. package/types/ui/global-icon.d.ts +15 -0
  498. package/types/ui/index.d.ts +42 -0
@@ -0,0 +1,14 @@
1
+ @import '../helpers/mixin.scss';
2
+
3
+ .vxe-layout-aside {
4
+ flex-shrink: 0;
5
+ transition: width .3s;
6
+ overflow-y: auto;
7
+ overflow-x: hidden;
8
+ &.is--default-width {
9
+ width: var(--vxe-ui-layout-aside-default-width);
10
+ }
11
+ &.is--collapse {
12
+ width: var(--vxe-ui-layout-aside-collapse-width);
13
+ }
14
+ }
@@ -0,0 +1,5 @@
1
+ @import '../helpers/mixin.scss';
2
+
3
+ .vxe-layout-body {
4
+ flex-grow: 1;
5
+ }
@@ -0,0 +1,12 @@
1
+ @import '../helpers/mixin.scss';
2
+
3
+ .vxe-layout-container {
4
+ display: flex;
5
+ flex-direction: row;
6
+ flex-grow: 1;
7
+ height: 100%;
8
+ overflow: auto;
9
+ &.is--vertical {
10
+ flex-direction: column;
11
+ }
12
+ }
@@ -0,0 +1,12 @@
1
+ @import '../helpers/mixin.scss';
2
+
3
+ .vxe-layout-footer {
4
+ flex-shrink: 0;
5
+ background-color: var(--vxe-ui-layout-background-color);
6
+ &.is--fixed {
7
+ position: sticky;
8
+ bottom: 0;
9
+ left: 0;
10
+ z-index: 9;
11
+ }
12
+ }
@@ -0,0 +1,12 @@
1
+ @import '../helpers/mixin.scss';
2
+
3
+ .vxe-layout-header {
4
+ flex-shrink: 0;
5
+ background-color: var(--vxe-ui-layout-background-color);
6
+ &.is--fixed {
7
+ position: sticky;
8
+ top: 0;
9
+ left: 0;
10
+ z-index: 9;
11
+ }
12
+ }
@@ -0,0 +1,10 @@
1
+ .vxe-row {
2
+ display: flex;
3
+ flex-direction: row;
4
+ &.is--vertical {
5
+ flex-direction: column;
6
+ }
7
+ &.is--wrap {
8
+ flex-wrap: wrap;
9
+ }
10
+ }
File without changes
@@ -0,0 +1,82 @@
1
+ @mixin createAnimationTransition ($property, $duration: .1s, $func: ease-in-out) {
2
+ transition: $property $duration $func;
3
+ }
4
+
5
+ @mixin createCheckboxIcon {
6
+ .vxe-checkbox--icon {
7
+ font-size: 1.34em;
8
+ }
9
+ .vxe-checkbox--icon {
10
+ color: var(--vxe-input-border-color);
11
+ vertical-align: middle;
12
+ font-weight: 700;
13
+ user-select: none;
14
+ }
15
+ &.is--checked,
16
+ &.is--indeterminate {
17
+ color: var(--vxe-primary-color);
18
+ .vxe-checkbox--icon {
19
+ color: var(--vxe-primary-color);
20
+ }
21
+ }
22
+ &:not(.is--disabled) {
23
+ cursor: pointer;
24
+ &:hover {
25
+ .vxe-checkbox--icon {
26
+ color: var(--vxe-primary-color);
27
+ }
28
+ }
29
+ }
30
+ &.is--hidden {
31
+ cursor: default;
32
+ }
33
+ &.is--disabled {
34
+ color: var(--vxe-font-disabled-color);
35
+ cursor: not-allowed;
36
+ .vxe-checkbox--icon {
37
+ color: var(--vxe-input-disabled-color);
38
+ }
39
+ }
40
+ .vxe-checkbox--label {
41
+ padding-left: 0.5em;
42
+ vertical-align: middle;
43
+ }
44
+ }
45
+
46
+ @mixin createRadioIcon {
47
+ cursor: pointer;
48
+ .vxe-radio--icon {
49
+ font-size: 1.4em;
50
+ }
51
+ .vxe-radio--icon {
52
+ color: var(--vxe-input-border-color);
53
+ vertical-align: middle;
54
+ font-weight: 700;
55
+ user-select: none;
56
+ }
57
+ &.is--checked {
58
+ color: var(--vxe-primary-color);
59
+ .vxe-radio--icon {
60
+ color: var(--vxe-primary-color);
61
+ }
62
+ }
63
+ &:not(.is--disabled) {
64
+ cursor: pointer;
65
+ &:hover {
66
+ .vxe-radio--icon {
67
+ color: var(--vxe-primary-color);
68
+ }
69
+ }
70
+ }
71
+ &.is--disabled {
72
+ color: var(--vxe-font-disabled-color);
73
+ cursor: not-allowed;
74
+ .vxe-radio--icon {
75
+ color: var(--vxe-input-disabled-color);
76
+ }
77
+ }
78
+ .vxe-radio--label {
79
+ padding-left: 0.5em;
80
+ vertical-align: middle;
81
+ }
82
+ }
Binary file
Binary file
Binary file
@@ -0,0 +1,81 @@
1
+ $vxe-ui-font-color: #606266;
2
+ $vxe-ui-font-primary-color: #409eff;
3
+
4
+ $vxe-ui-status-success-color: #67c23a;
5
+ $vxe-ui-status-info-color: #909399;
6
+ $vxe-ui-status-warning-color: #e6a23c;
7
+ $vxe-ui-status-danger-color: #f56c6c;
8
+
9
+ :root {
10
+ /*font*/
11
+ --vxe-ui-font-family: -apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Hiragino Sans GB,Microsoft YaHei,Helvetica Neue,Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol;
12
+
13
+ /*font size*/
14
+ --vxe-ui-font-size: 14px;
15
+ --vxe-ui-font-size-medium: 14px;
16
+ --vxe-ui-font-size-small: 13px;
17
+ --vxe-ui-font-size-mini: 12px;
18
+
19
+ /*font color*/
20
+ --vxe-ui-font-color: #{$vxe-ui-font-color}; // 全局默认字体颜色
21
+ --vxe-ui-font-primary-color: #{$vxe-ui-font-primary-color}; // 主要字体颜色
22
+ --vxe-ui-font-secondary-color: #909399; // 次要字体颜色
23
+ --vxe-ui-font-placeholder-color: #a8abb2; // 占位符字体颜色
24
+
25
+ /*base border*/
26
+ --vxe-ui-border-radius: 4px;
27
+
28
+ /*base status*/
29
+ --vxe-ui-status-success-color: #{$vxe-ui-status-success-color};
30
+ --vxe-ui-status-info-color: #{$vxe-ui-status-info-color};
31
+ --vxe-ui-status-warning-color: #{$vxe-ui-status-warning-color};
32
+ --vxe-ui-status-danger-color: #{$vxe-ui-status-danger-color};
33
+
34
+ --vxe-ui-status-font-lighten-color: #{lighten($vxe-ui-font-color, 10%)};
35
+ --vxe-ui-status-primary-lighten-color: #{lighten($vxe-ui-font-primary-color, 10%)};
36
+ --vxe-ui-status-success-lighten-color: #{lighten($vxe-ui-status-success-color, 10%)};
37
+ --vxe-ui-status-info-lighten-color: #{lighten($vxe-ui-status-info-color, 10%)};
38
+ --vxe-ui-status-warning-lighten-color: #{lighten($vxe-ui-status-warning-color, 10%)};
39
+ --vxe-ui-status-danger-lighten-color: #{lighten($vxe-ui-status-danger-color, 10%)};
40
+
41
+ --vxe-ui-status-font-darken-color: #{darken($vxe-ui-font-color, 10%)};
42
+ --vxe-ui-status-primary-darken-color: #{darken($vxe-ui-font-primary-color, 10%)};
43
+ --vxe-ui-status-success-darken-color: #{darken($vxe-ui-status-success-color, 10%)};
44
+ --vxe-ui-status-info-darken-color: #{darken($vxe-ui-status-info-color, 10%)};
45
+ --vxe-ui-status-warning-darken-color: #{darken($vxe-ui-status-warning-color, 10%)};
46
+ --vxe-ui-status-danger-darken-color: #{darken($vxe-ui-status-danger-color, 10%)};
47
+
48
+ --vxe-ui-status-font-disabled-color: #BFBFBF;
49
+ --vxe-ui-status-primary-disabled-color: #{lighten($vxe-ui-font-primary-color, 20%)};
50
+ --vxe-ui-status-success-disabled-color: #{lighten($vxe-ui-status-success-color, 20%)};
51
+ --vxe-ui-status-info-disabled-color: #{lighten($vxe-ui-status-info-color, 20%)};
52
+ --vxe-ui-status-warning-disabled-color: #{lighten($vxe-ui-status-warning-color, 20%)};
53
+ --vxe-ui-status-danger-disabled-color: #{lighten($vxe-ui-status-danger-color, 20%)};
54
+
55
+ /*layout*/
56
+ --vxe-ui-layout-aside-default-width: 300px;
57
+ --vxe-ui-layout-aside-collapse-width: 60px;
58
+
59
+ // icon
60
+
61
+ // button
62
+ --vxe-ui-button-max-width: 500px;
63
+ --vxe-ui-button-default-background-color: #fff;
64
+ --vxe-ui-button-dropdown-panel-background-color: #fff;
65
+ --vxe-ui-button-height-default: 34px;
66
+ --vxe-ui-button-height-medium: 32px;
67
+ --vxe-ui-button-height-small: 30px;
68
+ --vxe-ui-button-height-mini: 28px;
69
+ --vxe-ui-button-round-border-radius-default: 17px;
70
+ --vxe-ui-button-round-border-radius-medium: 16px;
71
+ --vxe-ui-button-round-border-radius-small: 15px;
72
+ --vxe-ui-button-round-border-radius-mini: 14px;
73
+
74
+ // anchor
75
+ --vxe-ui-anchor-link-color: var(--vxe-ui-font-secondary-color);
76
+ --vxe-ui-anchor-link-active-color: var(--vxe-ui-font-primary-color);
77
+
78
+ // breadcrumb
79
+ --vxe-ui-breadcrumb-color: var(--vxe-ui-font-secondary-color);
80
+ --vxe-ui-breadcrumb-current-item-color: var(--vxe-ui-font-color);
81
+ }
@@ -0,0 +1,7 @@
1
+ @import './base.scss';
2
+
3
+ [data-vxe-ui-theme="dark"] {
4
+ color-scheme: dark;
5
+
6
+ --vxe-ui-layout-background-color: #121212;
7
+ }
@@ -0,0 +1,5 @@
1
+ @import './base.scss';
2
+
3
+ [data-vxe-ui-theme="default"] {
4
+ --vxe-ui-layout-background-color: #ffffff;
5
+ }
package/types/all.d.ts ADDED
@@ -0,0 +1,67 @@
1
+ import { App } from 'vue'
2
+ import { VxeUIExport, VxeGlobalConfig } from './ui'
3
+ import VxeIcon from './component/icon'
4
+ import VxeLayoutContainer from './component/layout-container'
5
+ import VxeLayoutHeader from './component/layout-header'
6
+ import VxeLayoutAside from './component/layout-aside'
7
+ import VxeLayoutBody from './component/layout-body'
8
+ import VxeLayoutFooter from './component/layout-footer'
9
+ import VxeRow from './component/row'
10
+ import VxeCol from './component/col'
11
+ import VxeBreadcrumb from './component/breadcrumb'
12
+ import VxeBreadcrumbItem from './component/breadcrumb-item'
13
+ import VxeButton from './component/button'
14
+ import VxeButtonGroup from './component/button-group'
15
+ import VxeAnchor from './component/anchor'
16
+ import VxeAnchorLink from './component/anchor-link'
17
+ import VxeDesign from './component/design'
18
+
19
+ export function install (app: App, options?: VxeGlobalConfig): void
20
+
21
+ declare module '@vue/runtime-core' {
22
+ export interface GlobalComponents {
23
+ VxeIcon: typeof VxeIcon
24
+ VxeLayoutContainer: typeof VxeLayoutContainer
25
+ VxeLayoutHeader: typeof VxeLayoutHeader
26
+ VxeLayoutAside: typeof VxeLayoutAside
27
+ VxeLayoutBody: typeof VxeLayoutBody
28
+ VxeLayoutFooter: typeof VxeLayoutFooter
29
+ VxeRow: typeof VxeRow
30
+ VxeCol: typeof VxeCol
31
+ VxeBreadcrumb: typeof VxeBreadcrumb
32
+ VxeBreadcrumbItem: typeof VxeBreadcrumbItem
33
+ VxeButton: typeof VxeButton
34
+ VxeButtonGroup: typeof VxeButtonGroup
35
+ VxeAnchor: typeof VxeAnchor
36
+ VxeAnchorLink: typeof VxeAnchorLink
37
+ VxeButton: typeof Button
38
+ VxeButtonGroup: typeof ButtonGroup
39
+ VxeDesign: typeof VxeDesign
40
+ }
41
+ }
42
+
43
+ declare global {
44
+ interface Window {
45
+ VxeUI: VxeUIExport;
46
+ }
47
+ }
48
+
49
+ export * from './tool'
50
+ export * from './ui'
51
+
52
+ // Components
53
+ export * from './component/icon'
54
+ export * from './component/layout-container'
55
+ export * from './component/layout-header'
56
+ export * from './component/layout-aside'
57
+ export * from './component/layout-body'
58
+ export * from './component/layout-footer'
59
+ export * from './component/row'
60
+ export * from './component/col'
61
+ export * from './component/breadcrumb'
62
+ export * from './component/breadcrumb-item'
63
+ export * from './component/button'
64
+ export * from './component/button-group'
65
+ export * from './component/anchor'
66
+ export * from './component/anchor-link'
67
+ export * from './component/design'
@@ -0,0 +1,74 @@
1
+ import { RenderFunction, SetupContext, Ref } from 'vue'
2
+ import { defineVxeComponent, VxeComponentBase, VxeComponentEvent } from '../tool'
3
+
4
+ /* eslint-disable no-use-before-define,@typescript-eslint/ban-types */
5
+
6
+ declare const VxeAnchorLink: defineVxeComponent<VxeAnchorLinkProps, VxeAnchorLinkEventProps>
7
+
8
+ export interface VxeAnchorLinkConstructor extends VxeComponentBase, VxeAnchorLinkMethods {
9
+ props: VxeAnchorLinkProps
10
+ context: SetupContext<VxeAnchorLinkEmits>
11
+ reactData: AnchorLinkReactData
12
+ linkConfig: VxeAnchorLinkDefines.LinkConfig
13
+ getRefMaps(): AnchorLinkPrivateRef
14
+ getComputeMaps(): AnchorLinkPrivateComputed
15
+ renderVN: RenderFunction
16
+ }
17
+
18
+ export interface AnchorLinkPrivateRef {
19
+ refElem: Ref<HTMLDivElement | undefined>
20
+ }
21
+ export interface VxeAnchorLinkPrivateRef extends AnchorLinkPrivateRef { }
22
+
23
+ export namespace VxeAnchorLinkPropTypes {
24
+ export type Content = string | number
25
+ export type Title = string | number
26
+ export type Href = string
27
+ }
28
+
29
+ export type VxeAnchorLinkProps = {
30
+ content?: VxeAnchorLinkPropTypes.Content
31
+ title?: VxeAnchorLinkPropTypes.Title
32
+ href?: VxeAnchorLinkPropTypes.Href
33
+
34
+ children?: VxeAnchorLinkProps[]
35
+ }
36
+
37
+ export interface AnchorLinkPrivateComputed {
38
+ }
39
+ export interface VxeAnchorLinkPrivateComputed extends AnchorLinkPrivateComputed { }
40
+
41
+ export interface AnchorLinkReactData {
42
+ }
43
+
44
+ export interface AnchorLinkMethods {
45
+ }
46
+ export interface VxeAnchorLinkMethods extends AnchorLinkMethods { }
47
+
48
+ export interface AnchorLinkPrivateMethods { }
49
+ export interface VxeAnchorLinkPrivateMethods extends AnchorLinkPrivateMethods { }
50
+
51
+ export type VxeAnchorLinkEmits = []
52
+
53
+ export namespace VxeAnchorLinkDefines {
54
+ export interface LinkConfig {
55
+ id: string
56
+ href: VxeAnchorPropTypes.ModelValue | undefined
57
+ children: StaticLinkObj[]
58
+ }
59
+
60
+ export interface AnchorLinkEventParams extends VxeComponentEvent {
61
+ $anchorLink: VxeAnchorLinkConstructor
62
+ }
63
+ }
64
+
65
+ export type VxeAnchorLinkEventProps = {}
66
+
67
+ export interface VxeAnchorLinkListeners { }
68
+
69
+ export namespace VxeAnchorLinkEvents { }
70
+
71
+ export interface VxeAnchorLinkSlots {
72
+ }
73
+
74
+ export default VxeAnchorLink
@@ -0,0 +1,79 @@
1
+ import { RenderFunction, SetupContext, Ref } from 'vue'
2
+ import { defineVxeComponent, VxeComponentBase, VxeComponentEvent, ValueOf } from '../tool'
3
+ import { VxeAnchorLinkProps, VxeAnchorLinkPropTypes, VxeAnchorLinkDefines } from './anchor-link'
4
+
5
+ /* eslint-disable no-use-before-define,@typescript-eslint/ban-types */
6
+
7
+ declare const VxeAnchor: defineVxeComponent<VxeAnchorProps, VxeAnchorEventProps>
8
+
9
+ export interface VxeAnchorConstructor extends VxeComponentBase, VxeAnchorMethods {
10
+ props: VxeAnchorProps
11
+ context: SetupContext<VxeAnchorEmits>
12
+ reactData: AnchorReactData
13
+ getRefMaps(): AnchorPrivateRef
14
+ getComputeMaps(): AnchorPrivateComputed
15
+ renderVN: RenderFunction
16
+ }
17
+
18
+ export interface AnchorPrivateRef {
19
+ refElem: Ref<HTMLDivElement | undefined>
20
+ }
21
+ export interface VxeAnchorPrivateRef extends AnchorPrivateRef { }
22
+
23
+ export namespace VxeAnchorPropTypes {
24
+ export type ModelValue = string | null
25
+ export type Options = VxeAnchorLinkProps[]
26
+ export type Container = string | HTMLElement | ((params: {
27
+ $anchor: VxeAnchorConstructor
28
+ }) => HTMLElement)
29
+ export type ShowMarker = boolean
30
+ }
31
+
32
+ export type VxeAnchorProps = {
33
+ modelValue?: VxeAnchorPropTypes.ModelValue
34
+ options?: VxeAnchorPropTypes.Options
35
+ container?: VxeAnchorPropTypes.Container
36
+ showMarker?: VxeAnchorPropTypes.ShowMarker
37
+ }
38
+
39
+ export interface AnchorPrivateComputed {
40
+ }
41
+ export interface VxeAnchorPrivateComputed extends AnchorPrivateComputed { }
42
+
43
+ export interface AnchorReactData {
44
+ activeHref: VxeAnchorPropTypes.ModelValue | undefined
45
+ staticLinks: VxeAnchorLinkDefines.LinkConfig[]
46
+ }
47
+
48
+ export interface AnchorMethods {
49
+ dispatchEvent(type: ValueOf<VxeAnchorEmits>, params: any, evnt: Event): void
50
+ }
51
+ export interface VxeAnchorMethods extends AnchorMethods { }
52
+
53
+ export interface AnchorPrivateMethods {
54
+ handleClickLink(evnt: KeyboardEvent, href?: VxeAnchorLinkPropTypes.Href)
55
+ }
56
+ export interface VxeAnchorPrivateMethods extends AnchorPrivateMethods { }
57
+
58
+ export type VxeAnchorEmits = [
59
+ 'update:modelValue',
60
+ 'change',
61
+ 'click'
62
+ ]
63
+
64
+ export namespace VxeAnchorDefines {
65
+ export interface AnchorEventParams extends VxeComponentEvent {
66
+ $anchor: VxeAnchorConstructor
67
+ }
68
+ }
69
+
70
+ export type VxeAnchorEventProps = {}
71
+
72
+ export interface VxeAnchorListeners { }
73
+
74
+ export namespace VxeAnchorEvents { }
75
+
76
+ export interface VxeAnchorSlots {
77
+ }
78
+
79
+ export default VxeAnchor
@@ -0,0 +1,58 @@
1
+ import { RenderFunction, SetupContext, Ref } from 'vue'
2
+ import { defineVxeComponent, VxeComponentBase, VxeComponentEvent } from '../tool'
3
+
4
+ /* eslint-disable no-use-before-define,@typescript-eslint/ban-types */
5
+
6
+ declare const VxeBreadcrumbItem: defineVxeComponent<VxeBreadcrumbItemProps, VxeBreadcrumbItemEventProps>
7
+
8
+ export interface VxeBreadcrumbItemConstructor extends VxeComponentBase, VxeBreadcrumbItemMethods {
9
+ props: VxeBreadcrumbItemProps
10
+ context: SetupContext<VxeBreadcrumbItemEmits>
11
+ reactData: BreadcrumbItemReactData
12
+ getRefMaps(): BreadcrumbItemPrivateRef
13
+ getComputeMaps(): BreadcrumbItemPrivateComputed
14
+ renderVN: RenderFunction
15
+ }
16
+
17
+ export interface BreadcrumbItemPrivateRef {
18
+ refElem: Ref<HTMLDivElement | undefined>
19
+ }
20
+ export interface VxeBreadcrumbItemPrivateRef extends BreadcrumbItemPrivateRef { }
21
+
22
+ export namespace VxeBreadcrumbItemPropTypes {
23
+ }
24
+
25
+ export type VxeBreadcrumbItemProps = {}
26
+
27
+ export interface BreadcrumbItemPrivateComputed {
28
+ }
29
+ export interface VxeBreadcrumbItemPrivateComputed extends BreadcrumbItemPrivateComputed { }
30
+
31
+ export interface BreadcrumbItemReactData {
32
+ }
33
+
34
+ export interface BreadcrumbItemMethods {
35
+ }
36
+ export interface VxeBreadcrumbItemMethods extends BreadcrumbItemMethods { }
37
+
38
+ export interface BreadcrumbItemPrivateMethods { }
39
+ export interface VxeBreadcrumbItemPrivateMethods extends BreadcrumbItemPrivateMethods { }
40
+
41
+ export type VxeBreadcrumbItemEmits = []
42
+
43
+ export namespace VxeBreadcrumbItemDefines {
44
+ export interface BreadcrumbItemEventParams extends VxeComponentEvent {
45
+ $breadcrumbItem: VxeBreadcrumbItemConstructor
46
+ }
47
+ }
48
+
49
+ export type VxeBreadcrumbItemEventProps = {}
50
+
51
+ export interface VxeBreadcrumbItemListeners { }
52
+
53
+ export namespace VxeBreadcrumbItemEvents { }
54
+
55
+ export interface VxeBreadcrumbItemSlots {
56
+ }
57
+
58
+ export default VxeBreadcrumbItem
@@ -0,0 +1,61 @@
1
+ import { RenderFunction, SetupContext, Ref } from 'vue'
2
+ import { defineVxeComponent, VxeComponentBase, VxeComponentEvent } from '../tool'
3
+
4
+ /* eslint-disable no-use-before-define,@typescript-eslint/ban-types */
5
+
6
+ declare const VxeBreadcrumb: defineVxeComponent<VxeBreadcrumbProps, VxeBreadcrumbEventProps>
7
+
8
+ export interface VxeBreadcrumbConstructor extends VxeComponentBase, VxeBreadcrumbMethods {
9
+ props: VxeBreadcrumbProps
10
+ context: SetupContext<VxeBreadcrumbEmits>
11
+ reactData: BreadcrumbReactData
12
+ getRefMaps(): BreadcrumbPrivateRef
13
+ getComputeMaps(): BreadcrumbPrivateComputed
14
+ renderVN: RenderFunction
15
+ }
16
+
17
+ export interface BreadcrumbPrivateRef {
18
+ refElem: Ref<HTMLDivElement | undefined>
19
+ }
20
+ export interface VxeBreadcrumbPrivateRef extends BreadcrumbPrivateRef { }
21
+
22
+ export namespace VxeBreadcrumbPropTypes {
23
+ export type Separator = string
24
+ }
25
+
26
+ export type VxeBreadcrumbProps = {
27
+ separator?: VxeBreadcrumbPropTypes.Separator
28
+ }
29
+
30
+ export interface BreadcrumbPrivateComputed {
31
+ }
32
+ export interface VxeBreadcrumbPrivateComputed extends BreadcrumbPrivateComputed { }
33
+
34
+ export interface BreadcrumbReactData {
35
+ }
36
+
37
+ export interface BreadcrumbMethods {
38
+ }
39
+ export interface VxeBreadcrumbMethods extends BreadcrumbMethods { }
40
+
41
+ export interface BreadcrumbPrivateMethods { }
42
+ export interface VxeBreadcrumbPrivateMethods extends BreadcrumbPrivateMethods { }
43
+
44
+ export type VxeBreadcrumbEmits = []
45
+
46
+ export namespace VxeBreadcrumbDefines {
47
+ export interface BreadcrumbEventParams extends VxeComponentEvent {
48
+ $breadcrumb: VxeBreadcrumbConstructor
49
+ }
50
+ }
51
+
52
+ export type VxeBreadcrumbEventProps = {}
53
+
54
+ export interface VxeBreadcrumbListeners { }
55
+
56
+ export namespace VxeBreadcrumbEvents { }
57
+
58
+ export interface VxeBreadcrumbSlots {
59
+ }
60
+
61
+ export default VxeBreadcrumb
@@ -0,0 +1,86 @@
1
+ import { RenderFunction, SetupContext, Ref } from 'vue'
2
+ import { defineVxeComponent, VxeComponentBase, VxeComponentSize, VxeComponentEvent } from '../tool'
3
+ import { VxeButtonProps, VxeButtonPropTypes } from './button'
4
+
5
+ /* eslint-disable no-use-before-define,@typescript-eslint/ban-types */
6
+
7
+ declare const VxeButtonGroup: defineVxeComponent<VxeButtonGroupProps, VxeButtonGroupEventProps>
8
+
9
+ export interface VxeButtonGroupConstructor extends VxeComponentBase, VxeButtonGroupMethods {
10
+ props: VxeButtonGroupProps
11
+ context: SetupContext<VxeButtonGroupEmits>
12
+ reactData: ButtonGroupReactData
13
+ getRefMaps(): ButtonGroupPrivateRef
14
+ getComputeMaps(): ButtonGroupPrivateComputed
15
+ renderVN: RenderFunction
16
+ }
17
+
18
+ export interface ButtonGroupPrivateRef {
19
+ refElem: Ref<HTMLDivElement | undefined>
20
+ }
21
+ export interface VxeButtonGroupPrivateRef extends ButtonGroupPrivateRef { }
22
+
23
+ export namespace VxeButtonGroupPropTypes {
24
+ export type Size = VxeComponentSize
25
+ export type Options = VxeButtonProps[]
26
+ export type Round = boolean
27
+ export type Circle = boolean
28
+ export type Disabled = boolean
29
+ export type Mode = VxeButtonPropTypes.Mode
30
+ export type Status = VxeButtonPropTypes.Status
31
+ export type ClassName = string | ((params: { $buttonGroup: VxeButtonGroupConstructor }) => string)
32
+ }
33
+
34
+ export type VxeButtonGroupProps = {
35
+ size?: VxeButtonGroupPropTypes.Size
36
+ options?: VxeButtonGroupPropTypes.Options
37
+ mode?: VxeButtonGroupPropTypes.Mode
38
+ status?: VxeButtonGroupPropTypes.Status
39
+ round?: VxeButtonGroupPropTypes.Round
40
+ circle?: VxeButtonGroupPropTypes.Circle
41
+ /**
42
+ * 是否禁用
43
+ */
44
+ disabled?: VxeButtonGroupPropTypes.Disabled
45
+ className?: VxeButtonGroupPropTypes.ClassName
46
+ }
47
+
48
+ export interface ButtonGroupPrivateComputed {
49
+ }
50
+ export interface VxeButtonGroupPrivateComputed extends ButtonGroupPrivateComputed { }
51
+
52
+ export interface ButtonGroupReactData {
53
+ }
54
+
55
+ export interface ButtonGroupMethods {
56
+ dispatchEvent(type: ValueOf<VxeButtonGroupEmits>, params: any, evnt: Event): void
57
+ }
58
+ export interface VxeButtonGroupMethods extends ButtonGroupMethods { }
59
+
60
+ export interface ButtonGroupPrivateMethods {
61
+ handleClick(params: {
62
+ name: VxeButtonPropTypes.Name
63
+ }, evnt: Event): void
64
+ }
65
+ export interface VxeButtonGroupPrivateMethods extends ButtonGroupPrivateMethods { }
66
+
67
+ export type VxeButtonGroupEmits = [
68
+ 'click'
69
+ ]
70
+
71
+ export namespace VxeButtonGroupDefines {
72
+ export interface ButtonGroupEventParams extends VxeComponentEvent {
73
+ $buttonGroup: VxeButtonGroupConstructor
74
+ }
75
+ }
76
+
77
+ export type VxeButtonGroupEventProps = {}
78
+
79
+ export interface VxeButtonGroupListeners { }
80
+
81
+ export namespace VxeButtonGroupEvents { }
82
+
83
+ export interface VxeButtonGroupSlots {
84
+ }
85
+
86
+ export default VxeButtonGroup