tanxin-ui 0.2.0

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 (1026) hide show
  1. package/LICENSE +45 -0
  2. package/README.md +11 -0
  3. package/dist/logo.png +0 -0
  4. package/dist/style.css +1 -0
  5. package/dist/tanxin-ui.es.js +23163 -0
  6. package/dist/tanxin-ui.umd.js +17 -0
  7. package/es/affix/index.d.ts +100 -0
  8. package/es/affix/index.js +4 -0
  9. package/es/affix/src/affix.d.ts +30 -0
  10. package/es/affix/src/affix.js +139 -0
  11. package/es/alert/index.d.ts +183 -0
  12. package/es/alert/index.js +4 -0
  13. package/es/alert/src/alert.d.ts +65 -0
  14. package/es/alert/src/alert.js +156 -0
  15. package/es/anchor/index.d.ts +114 -0
  16. package/es/anchor/index.js +6 -0
  17. package/es/anchor/src/anchor-link.d.ts +6 -0
  18. package/es/anchor/src/anchor-link.js +69 -0
  19. package/es/anchor/src/anchor.d.ts +10 -0
  20. package/es/anchor/src/anchor.js +163 -0
  21. package/es/anchor/src/context.d.ts +11 -0
  22. package/es/anchor/src/context.js +9 -0
  23. package/es/avatar/index.d.ts +193 -0
  24. package/es/avatar/index.js +4 -0
  25. package/es/avatar/src/avatar.d.ts +73 -0
  26. package/es/avatar/src/avatar.js +137 -0
  27. package/es/back-top/index.d.ts +133 -0
  28. package/es/back-top/index.js +4 -0
  29. package/es/back-top/src/back-top.d.ts +45 -0
  30. package/es/back-top/src/back-top.js +163 -0
  31. package/es/badge/index.d.ts +111 -0
  32. package/es/badge/index.js +4 -0
  33. package/es/badge/src/badge.d.ts +33 -0
  34. package/es/badge/src/badge.js +76 -0
  35. package/es/breadcrumb/index.d.ts +154 -0
  36. package/es/breadcrumb/index.js +6 -0
  37. package/es/breadcrumb/src/breadcrumb-item.d.ts +28 -0
  38. package/es/breadcrumb/src/breadcrumb-item.js +14 -0
  39. package/es/breadcrumb/src/breadcrumb.d.ts +23 -0
  40. package/es/breadcrumb/src/breadcrumb.js +81 -0
  41. package/es/button/index.d.ts +530 -0
  42. package/es/button/index.js +4 -0
  43. package/es/button/src/button.d.ts +292 -0
  44. package/es/button/src/button.js +214 -0
  45. package/es/calendar/index.d.ts +254 -0
  46. package/es/calendar/index.js +4 -0
  47. package/es/calendar/src/calendar.d.ts +101 -0
  48. package/es/calendar/src/calendar.js +329 -0
  49. package/es/card/index.d.ts +206 -0
  50. package/es/card/index.js +4 -0
  51. package/es/card/src/card.d.ts +78 -0
  52. package/es/card/src/card.js +76 -0
  53. package/es/carousel/index.d.ts +240 -0
  54. package/es/carousel/index.js +4 -0
  55. package/es/carousel/src/carousel.d.ts +103 -0
  56. package/es/carousel/src/carousel.js +354 -0
  57. package/es/cascader/index.d.ts +631 -0
  58. package/es/cascader/index.js +4 -0
  59. package/es/cascader/src/cascader.d.ts +282 -0
  60. package/es/cascader/src/cascader.js +328 -0
  61. package/es/cascader-panel/index.d.ts +444 -0
  62. package/es/cascader-panel/index.js +4 -0
  63. package/es/cascader-panel/src/cascader-panel.d.ts +188 -0
  64. package/es/cascader-panel/src/cascader-panel.js +514 -0
  65. package/es/cascader-panel/src/context.d.ts +101 -0
  66. package/es/cascader-panel/src/context.js +33 -0
  67. package/es/checkbox/index.d.ts +495 -0
  68. package/es/checkbox/index.js +6 -0
  69. package/es/checkbox/src/checkbox-group.d.ts +77 -0
  70. package/es/checkbox/src/checkbox-group.js +77 -0
  71. package/es/checkbox/src/checkbox.d.ts +118 -0
  72. package/es/checkbox/src/checkbox.js +202 -0
  73. package/es/checkbox/src/context.d.ts +15 -0
  74. package/es/checkbox/src/context.js +9 -0
  75. package/es/color-picker/index.d.ts +328 -0
  76. package/es/color-picker/index.js +4 -0
  77. package/es/color-picker/src/color-picker-content.d.ts +88 -0
  78. package/es/color-picker/src/color-picker-content.js +568 -0
  79. package/es/color-picker/src/color-picker.d.ts +133 -0
  80. package/es/color-picker/src/color-picker.js +262 -0
  81. package/es/color-picker/src/context.d.ts +17 -0
  82. package/es/color-picker/src/context.js +9 -0
  83. package/es/components.d.ts +59 -0
  84. package/es/components.js +59 -0
  85. package/es/config-provider/index.d.ts +80 -0
  86. package/es/config-provider/index.js +4 -0
  87. package/es/config-provider/src/config-provider.d.ts +25 -0
  88. package/es/config-provider/src/config-provider.js +21 -0
  89. package/es/config-provider/src/context.d.ts +10 -0
  90. package/es/config-provider/src/context.js +11 -0
  91. package/es/date-picker/index.d.ts +493 -0
  92. package/es/date-picker/index.js +4 -0
  93. package/es/date-picker/src/context.d.ts +45 -0
  94. package/es/date-picker/src/context.js +9 -0
  95. package/es/date-picker/src/date-picker-date.d.ts +168 -0
  96. package/es/date-picker/src/date-picker-date.js +571 -0
  97. package/es/date-picker/src/date-picker-time.d.ts +157 -0
  98. package/es/date-picker/src/date-picker-time.js +324 -0
  99. package/es/date-picker/src/date-picker-week.d.ts +167 -0
  100. package/es/date-picker/src/date-picker-week.js +546 -0
  101. package/es/date-picker/src/date-picker-year.d.ts +135 -0
  102. package/es/date-picker/src/date-picker-year.js +329 -0
  103. package/es/date-picker/src/date-picker.d.ts +218 -0
  104. package/es/date-picker/src/date-picker.js +962 -0
  105. package/es/divider/index.d.ts +50 -0
  106. package/es/divider/index.js +4 -0
  107. package/es/divider/src/divider.d.ts +4 -0
  108. package/es/divider/src/divider.js +62 -0
  109. package/es/drawer/index.d.ts +488 -0
  110. package/es/drawer/index.js +4 -0
  111. package/es/drawer/src/drawer.d.ts +302 -0
  112. package/es/drawer/src/drawer.js +346 -0
  113. package/es/dropdown/index.d.ts +571 -0
  114. package/es/dropdown/index.js +8 -0
  115. package/es/dropdown/src/context.d.ts +32 -0
  116. package/es/dropdown/src/context.js +9 -0
  117. package/es/dropdown/src/dropdown-group.d.ts +20 -0
  118. package/es/dropdown/src/dropdown-group.js +12 -0
  119. package/es/dropdown/src/dropdown-item.d.ts +63 -0
  120. package/es/dropdown/src/dropdown-item.js +29 -0
  121. package/es/dropdown/src/dropdown.d.ts +155 -0
  122. package/es/dropdown/src/dropdown.js +490 -0
  123. package/es/empty/index.d.ts +50 -0
  124. package/es/empty/index.js +4 -0
  125. package/es/empty/src/empty.d.ts +4 -0
  126. package/es/empty/src/empty.js +112 -0
  127. package/es/form/index.d.ts +534 -0
  128. package/es/form/index.js +6 -0
  129. package/es/form/src/context.d.ts +36 -0
  130. package/es/form/src/context.js +9 -0
  131. package/es/form/src/form-item.d.ts +86 -0
  132. package/es/form/src/form-item.js +304 -0
  133. package/es/form/src/form.d.ts +128 -0
  134. package/es/form/src/form.js +166 -0
  135. package/es/grid/index.d.ts +379 -0
  136. package/es/grid/index.js +6 -0
  137. package/es/grid/src/context.d.ts +17 -0
  138. package/es/grid/src/context.js +9 -0
  139. package/es/grid/src/grid-col.d.ts +57 -0
  140. package/es/grid/src/grid-col.js +100 -0
  141. package/es/grid/src/grid.d.ts +88 -0
  142. package/es/grid/src/grid.js +123 -0
  143. package/es/icon/index.d.ts +112 -0
  144. package/es/icon/index.js +4 -0
  145. package/es/icon/src/icon.d.ts +34 -0
  146. package/es/icon/src/icon.js +45 -0
  147. package/es/index.d.ts +7 -0
  148. package/es/index.js +73 -0
  149. package/es/input/index.d.ts +514 -0
  150. package/es/input/index.js +4 -0
  151. package/es/input/src/input.d.ts +214 -0
  152. package/es/input/src/input.js +344 -0
  153. package/es/input-number/index.d.ts +608 -0
  154. package/es/input-number/index.js +4 -0
  155. package/es/input-number/src/input-number.d.ts +266 -0
  156. package/es/input-number/src/input-number.js +429 -0
  157. package/es/layout/index.d.ts +632 -0
  158. package/es/layout/index.js +12 -0
  159. package/es/layout/src/content.d.ts +25 -0
  160. package/es/layout/src/content.js +36 -0
  161. package/es/layout/src/context.d.ts +8 -0
  162. package/es/layout/src/context.js +9 -0
  163. package/es/layout/src/footer.d.ts +25 -0
  164. package/es/layout/src/footer.js +36 -0
  165. package/es/layout/src/header.d.ts +25 -0
  166. package/es/layout/src/header.js +36 -0
  167. package/es/layout/src/layout.d.ts +25 -0
  168. package/es/layout/src/layout.js +45 -0
  169. package/es/layout/src/sider.d.ts +97 -0
  170. package/es/layout/src/sider.js +202 -0
  171. package/es/line-grid/index.d.ts +915 -0
  172. package/es/line-grid/index.js +8 -0
  173. package/es/line-grid/src/col.d.ts +100 -0
  174. package/es/line-grid/src/col.js +130 -0
  175. package/es/line-grid/src/context.d.ts +12 -0
  176. package/es/line-grid/src/context.js +13 -0
  177. package/es/line-grid/src/flex.d.ts +111 -0
  178. package/es/line-grid/src/flex.js +135 -0
  179. package/es/line-grid/src/row.d.ts +50 -0
  180. package/es/line-grid/src/row.js +95 -0
  181. package/es/link/index.d.ts +50 -0
  182. package/es/link/index.js +4 -0
  183. package/es/link/src/link.d.ts +4 -0
  184. package/es/link/src/link.js +68 -0
  185. package/es/list/index.d.ts +271 -0
  186. package/es/list/index.js +6 -0
  187. package/es/list/src/context.d.ts +11 -0
  188. package/es/list/src/context.js +9 -0
  189. package/es/list/src/list-item.d.ts +31 -0
  190. package/es/list/src/list-item.js +89 -0
  191. package/es/list/src/list.d.ts +58 -0
  192. package/es/list/src/list.js +86 -0
  193. package/es/loading/index.d.ts +224 -0
  194. package/es/loading/index.js +4 -0
  195. package/es/loading/src/loading.d.ts +86 -0
  196. package/es/loading/src/loading.js +264 -0
  197. package/es/loading-bar/index.d.ts +2 -0
  198. package/es/loading-bar/index.js +4 -0
  199. package/es/loading-bar/src/loading-bar-item.d.ts +80 -0
  200. package/es/loading-bar/src/loading-bar-item.js +124 -0
  201. package/es/loading-bar/src/loading-bar.d.ts +10 -0
  202. package/es/loading-bar/src/loading-bar.js +62 -0
  203. package/es/logo.png +0 -0
  204. package/es/menu/index.d.ts +552 -0
  205. package/es/menu/index.js +8 -0
  206. package/es/menu/src/context.d.ts +91 -0
  207. package/es/menu/src/context.js +25 -0
  208. package/es/menu/src/menu-group.d.ts +20 -0
  209. package/es/menu/src/menu-group.js +12 -0
  210. package/es/menu/src/menu-item.d.ts +63 -0
  211. package/es/menu/src/menu-item.js +17 -0
  212. package/es/menu/src/menu.d.ts +147 -0
  213. package/es/menu/src/menu.js +170 -0
  214. package/es/menu/src/use-horizontal.d.ts +3 -0
  215. package/es/menu/src/use-horizontal.js +161 -0
  216. package/es/menu/src/use-pop.d.ts +3 -0
  217. package/es/menu/src/use-pop.js +213 -0
  218. package/es/menu/src/use-vertical.d.ts +3 -0
  219. package/es/menu/src/use-vertical.js +195 -0
  220. package/es/message/index.d.ts +12 -0
  221. package/es/message/index.js +4 -0
  222. package/es/message/src/message-item.d.ts +130 -0
  223. package/es/message/src/message-item.js +171 -0
  224. package/es/message/src/message-list.d.ts +126 -0
  225. package/es/message/src/message-list.js +99 -0
  226. package/es/message/src/message.d.ts +26 -0
  227. package/es/message/src/message.js +63 -0
  228. package/es/message-box/index.d.ts +2 -0
  229. package/es/message-box/index.js +4 -0
  230. package/es/message-box/src/message-box-item.d.ts +310 -0
  231. package/es/message-box/src/message-box-item.js +298 -0
  232. package/es/message-box/src/message-box.d.ts +16 -0
  233. package/es/message-box/src/message-box.js +60 -0
  234. package/es/modal/index.d.ts +584 -0
  235. package/es/modal/index.js +4 -0
  236. package/es/modal/src/modal.d.ts +369 -0
  237. package/es/modal/src/modal.js +455 -0
  238. package/es/notification/index.d.ts +11 -0
  239. package/es/notification/index.js +4 -0
  240. package/es/notification/src/notification-item.d.ts +150 -0
  241. package/es/notification/src/notification-item.js +170 -0
  242. package/es/notification/src/notification-list.d.ts +103 -0
  243. package/es/notification/src/notification-list.js +93 -0
  244. package/es/notification/src/notification.d.ts +25 -0
  245. package/es/notification/src/notification.js +85 -0
  246. package/es/pagination/index.d.ts +444 -0
  247. package/es/pagination/index.js +4 -0
  248. package/es/pagination/src/pagination.d.ts +270 -0
  249. package/es/pagination/src/pagination.js +350 -0
  250. package/es/popconfirm/index.d.ts +278 -0
  251. package/es/popconfirm/index.js +4 -0
  252. package/es/popconfirm/src/popconfirm.d.ts +108 -0
  253. package/es/popconfirm/src/popconfirm.js +185 -0
  254. package/es/popover/index.d.ts +193 -0
  255. package/es/popover/index.js +4 -0
  256. package/es/popover/src/popover.d.ts +71 -0
  257. package/es/popover/src/popover.js +56 -0
  258. package/es/popper/index.d.ts +435 -0
  259. package/es/popper/index.js +4 -0
  260. package/es/popper/src/popper.d.ts +193 -0
  261. package/es/popper/src/popper.js +497 -0
  262. package/es/progress/index.d.ts +232 -0
  263. package/es/progress/index.js +4 -0
  264. package/es/progress/src/circle.d.ts +90 -0
  265. package/es/progress/src/circle.js +182 -0
  266. package/es/progress/src/line.d.ts +130 -0
  267. package/es/progress/src/line.js +166 -0
  268. package/es/progress/src/progress.d.ts +90 -0
  269. package/es/progress/src/progress.js +24 -0
  270. package/es/radio/index.d.ts +402 -0
  271. package/es/radio/index.js +6 -0
  272. package/es/radio/src/context.d.ts +15 -0
  273. package/es/radio/src/context.js +9 -0
  274. package/es/radio/src/radio-group.d.ts +75 -0
  275. package/es/radio/src/radio-group.js +78 -0
  276. package/es/radio/src/radio.d.ts +76 -0
  277. package/es/radio/src/radio.js +148 -0
  278. package/es/select/index.d.ts +786 -0
  279. package/es/select/index.js +8 -0
  280. package/es/select/src/context.d.ts +45 -0
  281. package/es/select/src/context.js +9 -0
  282. package/es/select/src/select-content.d.ts +130 -0
  283. package/es/select/src/select-content.js +553 -0
  284. package/es/select/src/select-group.d.ts +16 -0
  285. package/es/select/src/select-group.js +11 -0
  286. package/es/select/src/select-option.d.ts +81 -0
  287. package/es/select/src/select-option.js +15 -0
  288. package/es/select/src/select-trigger.d.ts +141 -0
  289. package/es/select/src/select-trigger.js +215 -0
  290. package/es/select/src/select.d.ts +242 -0
  291. package/es/select/src/select.js +449 -0
  292. package/es/skeleton/index.d.ts +175 -0
  293. package/es/skeleton/index.js +6 -0
  294. package/es/skeleton/src/skeleton-item.d.ts +18 -0
  295. package/es/skeleton/src/skeleton-item.js +81 -0
  296. package/es/skeleton/src/skeleton.d.ts +25 -0
  297. package/es/skeleton/src/skeleton.js +51 -0
  298. package/es/slider/index.d.ts +325 -0
  299. package/es/slider/index.js +4 -0
  300. package/es/slider/src/slider.d.ts +140 -0
  301. package/es/slider/src/slider.js +430 -0
  302. package/es/space/index.d.ts +219 -0
  303. package/es/space/index.js +4 -0
  304. package/es/space/src/space.d.ts +87 -0
  305. package/es/space/src/space.js +147 -0
  306. package/es/status/index.d.ts +76 -0
  307. package/es/status/index.js +4 -0
  308. package/es/status/src/status.d.ts +16 -0
  309. package/es/status/src/status.js +54 -0
  310. package/es/steps/index.d.ts +207 -0
  311. package/es/steps/index.js +6 -0
  312. package/es/steps/src/step.d.ts +39 -0
  313. package/es/steps/src/step.js +20 -0
  314. package/es/steps/src/steps.d.ts +39 -0
  315. package/es/steps/src/steps.js +176 -0
  316. package/es/switch/index.d.ts +250 -0
  317. package/es/switch/index.js +4 -0
  318. package/es/switch/src/switch.d.ts +98 -0
  319. package/es/switch/src/switch.js +222 -0
  320. package/es/table/index.d.ts +580 -0
  321. package/es/table/index.js +4 -0
  322. package/es/table/src/context.d.ts +36 -0
  323. package/es/table/src/context.js +9 -0
  324. package/es/table/src/table-body.d.ts +129 -0
  325. package/es/table/src/table-body.js +206 -0
  326. package/es/table/src/table-header.d.ts +111 -0
  327. package/es/table/src/table-header.js +219 -0
  328. package/es/table/src/table.d.ts +363 -0
  329. package/es/table/src/table.js +403 -0
  330. package/es/tabs/index.d.ts +240 -0
  331. package/es/tabs/index.js +6 -0
  332. package/es/tabs/src/context.d.ts +8 -0
  333. package/es/tabs/src/context.js +9 -0
  334. package/es/tabs/src/tab.d.ts +48 -0
  335. package/es/tabs/src/tab.js +40 -0
  336. package/es/tabs/src/tabs.d.ts +44 -0
  337. package/es/tabs/src/tabs.js +163 -0
  338. package/es/tag/index.d.ts +203 -0
  339. package/es/tag/index.js +4 -0
  340. package/es/tag/src/tag.d.ts +76 -0
  341. package/es/tag/src/tag.js +188 -0
  342. package/es/textarea/index.d.ts +318 -0
  343. package/es/textarea/index.js +4 -0
  344. package/es/textarea/src/textarea.d.ts +130 -0
  345. package/es/textarea/src/textarea.js +308 -0
  346. package/es/time-picker/index.d.ts +50 -0
  347. package/es/time-picker/index.js +4 -0
  348. package/es/time-picker/src/time-picker.d.ts +4 -0
  349. package/es/time-picker/src/time-picker.js +26 -0
  350. package/es/tooltip/index.d.ts +204 -0
  351. package/es/tooltip/index.js +4 -0
  352. package/es/tooltip/src/tooltip.d.ts +74 -0
  353. package/es/tooltip/src/tooltip.js +99 -0
  354. package/es/tree/index.d.ts +512 -0
  355. package/es/tree/index.js +4 -0
  356. package/es/tree/src/context.d.ts +109 -0
  357. package/es/tree/src/context.js +33 -0
  358. package/es/tree/src/tree.d.ts +220 -0
  359. package/es/tree/src/tree.js +422 -0
  360. package/es/tree-select/index.d.ts +726 -0
  361. package/es/tree-select/index.js +4 -0
  362. package/es/tree-select/src/tree-select.d.ts +327 -0
  363. package/es/tree-select/src/tree-select.js +315 -0
  364. package/es/upload/index.d.ts +559 -0
  365. package/es/upload/index.js +4 -0
  366. package/es/upload/src/request.d.ts +21 -0
  367. package/es/upload/src/request.js +69 -0
  368. package/es/upload/src/upload.d.ts +264 -0
  369. package/es/upload/src/upload.js +684 -0
  370. package/es/utils/ScrollbarWidth2.js +24 -0
  371. package/es/utils/colorPalette.d.ts +4 -0
  372. package/es/utils/colorPalette.js +161 -0
  373. package/es/utils/common.d.ts +80 -0
  374. package/es/utils/common.js +128 -0
  375. package/es/utils/compare.d.ts +3 -0
  376. package/es/utils/compare.js +55 -0
  377. package/es/utils/components/icons/AddOutline.d.ts +2 -0
  378. package/es/utils/components/icons/AddOutline.js +25 -0
  379. package/es/utils/components/icons/AlertCircle.d.ts +2 -0
  380. package/es/utils/components/icons/AlertCircle.js +14 -0
  381. package/es/utils/components/icons/AlertCircleOutline.d.ts +2 -0
  382. package/es/utils/components/icons/AlertCircleOutline.js +27 -0
  383. package/es/utils/components/icons/ArrowDropDownSharp.d.ts +2 -0
  384. package/es/utils/components/icons/ArrowDropDownSharp.js +14 -0
  385. package/es/utils/components/icons/ArrowDropUpSharp.d.ts +2 -0
  386. package/es/utils/components/icons/ArrowDropUpSharp.js +14 -0
  387. package/es/utils/components/icons/ArrowForward.d.ts +2 -0
  388. package/es/utils/components/icons/ArrowForward.js +25 -0
  389. package/es/utils/components/icons/ArrowForwardIosFilled.d.ts +2 -0
  390. package/es/utils/components/icons/ArrowForwardIosFilled.js +14 -0
  391. package/es/utils/components/icons/ArrowNext24Filled.d.ts +2 -0
  392. package/es/utils/components/icons/ArrowNext24Filled.js +16 -0
  393. package/es/utils/components/icons/ArrowPrevious24Filled.d.ts +2 -0
  394. package/es/utils/components/icons/ArrowPrevious24Filled.js +16 -0
  395. package/es/utils/components/icons/ArrowUp.d.ts +2 -0
  396. package/es/utils/components/icons/ArrowUp.js +25 -0
  397. package/es/utils/components/icons/ArrowUpCircle.d.ts +2 -0
  398. package/es/utils/components/icons/ArrowUpCircle.js +13 -0
  399. package/es/utils/components/icons/ArrowsMaximize.d.ts +2 -0
  400. package/es/utils/components/icons/ArrowsMaximize.js +33 -0
  401. package/es/utils/components/icons/ArrowsMinimize.d.ts +2 -0
  402. package/es/utils/components/icons/ArrowsMinimize.js +33 -0
  403. package/es/utils/components/icons/Bars.d.ts +2 -0
  404. package/es/utils/components/icons/Bars.js +13 -0
  405. package/es/utils/components/icons/CalendarClearOutline.d.ts +2 -0
  406. package/es/utils/components/icons/CalendarClearOutline.js +42 -0
  407. package/es/utils/components/icons/Checkmark.d.ts +2 -0
  408. package/es/utils/components/icons/Checkmark.js +18 -0
  409. package/es/utils/components/icons/CheckmarkCircle.d.ts +2 -0
  410. package/es/utils/components/icons/CheckmarkCircle.js +14 -0
  411. package/es/utils/components/icons/CheckmarkCircleOutline.d.ts +2 -0
  412. package/es/utils/components/icons/CheckmarkCircleOutline.js +24 -0
  413. package/es/utils/components/icons/CheckmarkOutline.d.ts +2 -0
  414. package/es/utils/components/icons/CheckmarkOutline.js +18 -0
  415. package/es/utils/components/icons/CheckmarkSharp.d.ts +2 -0
  416. package/es/utils/components/icons/CheckmarkSharp.js +18 -0
  417. package/es/utils/components/icons/ChevronDoubleLeft16Filled.d.ts +2 -0
  418. package/es/utils/components/icons/ChevronDoubleLeft16Filled.js +16 -0
  419. package/es/utils/components/icons/ChevronDoubleRight16Filled.d.ts +2 -0
  420. package/es/utils/components/icons/ChevronDoubleRight16Filled.js +16 -0
  421. package/es/utils/components/icons/ChevronDown.d.ts +2 -0
  422. package/es/utils/components/icons/ChevronDown.js +14 -0
  423. package/es/utils/components/icons/ChevronForward.d.ts +2 -0
  424. package/es/utils/components/icons/ChevronForward.js +18 -0
  425. package/es/utils/components/icons/ChevronLeft24Filled.d.ts +2 -0
  426. package/es/utils/components/icons/ChevronLeft24Filled.js +16 -0
  427. package/es/utils/components/icons/ChevronRight24Filled.d.ts +2 -0
  428. package/es/utils/components/icons/ChevronRight24Filled.js +16 -0
  429. package/es/utils/components/icons/ChevronUp.d.ts +2 -0
  430. package/es/utils/components/icons/ChevronUp.js +14 -0
  431. package/es/utils/components/icons/Close.d.ts +2 -0
  432. package/es/utils/components/icons/Close.js +14 -0
  433. package/es/utils/components/icons/CloseCircle.d.ts +2 -0
  434. package/es/utils/components/icons/CloseCircle.js +14 -0
  435. package/es/utils/components/icons/CloseCircleOutline.d.ts +2 -0
  436. package/es/utils/components/icons/CloseCircleOutline.js +31 -0
  437. package/es/utils/components/icons/CloseOutline.d.ts +2 -0
  438. package/es/utils/components/icons/CloseOutline.js +25 -0
  439. package/es/utils/components/icons/CloudUploadOutline.d.ts +2 -0
  440. package/es/utils/components/icons/CloudUploadOutline.js +32 -0
  441. package/es/utils/components/icons/EllipsisHorizontal.d.ts +2 -0
  442. package/es/utils/components/icons/EllipsisHorizontal.js +26 -0
  443. package/es/utils/components/icons/Empty.d.ts +2 -0
  444. package/es/utils/components/icons/Empty.js +17 -0
  445. package/es/utils/components/icons/EyeOffOutline.d.ts +2 -0
  446. package/es/utils/components/icons/EyeOffOutline.js +26 -0
  447. package/es/utils/components/icons/EyeOutline.d.ts +2 -0
  448. package/es/utils/components/icons/EyeOutline.js +26 -0
  449. package/es/utils/components/icons/HelpCircleSharp.d.ts +2 -0
  450. package/es/utils/components/icons/HelpCircleSharp.js +17 -0
  451. package/es/utils/components/icons/ImageOutline.d.ts +2 -0
  452. package/es/utils/components/icons/ImageSharp.d.ts +2 -0
  453. package/es/utils/components/icons/ImageSharp.js +14 -0
  454. package/es/utils/components/icons/InformationCircle.d.ts +2 -0
  455. package/es/utils/components/icons/InformationCircle.js +14 -0
  456. package/es/utils/components/icons/InformationCircleOutline.d.ts +2 -0
  457. package/es/utils/components/icons/InformationCircleOutline.js +34 -0
  458. package/es/utils/components/icons/IosArrowBack.d.ts +2 -0
  459. package/es/utils/components/icons/IosArrowBack.js +17 -0
  460. package/es/utils/components/icons/IosArrowDown.d.ts +2 -0
  461. package/es/utils/components/icons/IosArrowDown.js +17 -0
  462. package/es/utils/components/icons/IosArrowForward.d.ts +2 -0
  463. package/es/utils/components/icons/IosArrowForward.js +17 -0
  464. package/es/utils/components/icons/IosCheckmark.d.ts +2 -0
  465. package/es/utils/components/icons/IosCheckmark.js +16 -0
  466. package/es/utils/components/icons/KeyboardArrowLeftRound.d.ts +2 -0
  467. package/es/utils/components/icons/KeyboardArrowLeftRound.js +14 -0
  468. package/es/utils/components/icons/KeyboardArrowRightRound.d.ts +2 -0
  469. package/es/utils/components/icons/KeyboardArrowRightRound.js +14 -0
  470. package/es/utils/components/icons/KeyboardDoubleArrowLeftRound.d.ts +2 -0
  471. package/es/utils/components/icons/KeyboardDoubleArrowLeftRound.js +17 -0
  472. package/es/utils/components/icons/KeyboardDoubleArrowRightRound.d.ts +2 -0
  473. package/es/utils/components/icons/KeyboardDoubleArrowRightRound.js +17 -0
  474. package/es/utils/components/icons/LoadingOutlined.d.ts +2 -0
  475. package/es/utils/components/icons/LoadingOutlined.js +14 -0
  476. package/es/utils/components/icons/MenuFoldOutlined.d.ts +2 -0
  477. package/es/utils/components/icons/MenuFoldOutlined.js +14 -0
  478. package/es/utils/components/icons/Pause.d.ts +2 -0
  479. package/es/utils/components/icons/Pause.js +17 -0
  480. package/es/utils/components/icons/QuestionCircle24Regular.d.ts +2 -0
  481. package/es/utils/components/icons/QuestionCircle24Regular.js +16 -0
  482. package/es/utils/components/icons/Refresh.d.ts +2 -0
  483. package/es/utils/components/icons/Refresh.js +25 -0
  484. package/es/utils/components/icons/RemoveOutline.d.ts +2 -0
  485. package/es/utils/components/icons/RemoveOutline.js +18 -0
  486. package/es/utils/components/icons/TimeOutline.d.ts +2 -0
  487. package/es/utils/components/icons/TimeOutline.js +24 -0
  488. package/es/utils/components/icons/UploadFileFilled.d.ts +2 -0
  489. package/es/utils/components/icons/UploadFileFilled.js +14 -0
  490. package/es/utils/components/icons/index.d.ts +57 -0
  491. package/es/utils/components/resize-observer.d.ts +27 -0
  492. package/es/utils/components/resize-observer.js +64 -0
  493. package/es/utils/components/transition/dropdown-transition.d.ts +4 -0
  494. package/es/utils/components/transition/dropdown-transition.js +54 -0
  495. package/es/utils/components/transition/slide-up-transition.d.ts +4 -0
  496. package/es/utils/components/transition/slide-up-transition.js +57 -0
  497. package/es/utils/directives/click-outside.js +137 -0
  498. package/es/utils/dom.d.ts +1 -0
  499. package/es/utils/dom.js +9 -0
  500. package/es/utils/element.d.ts +17 -0
  501. package/es/utils/element.js +59 -0
  502. package/es/utils/error.d.ts +1 -0
  503. package/es/utils/getElementRect.d.ts +1 -0
  504. package/es/utils/hooks/useConfig.d.ts +9 -0
  505. package/es/utils/hooks/useConfig.js +17 -0
  506. package/es/utils/hooks/useGetSlot.d.ts +2 -0
  507. package/es/utils/hooks/useGetSlot.js +12 -0
  508. package/es/utils/hooks/useMediaQuery.d.ts +2 -0
  509. package/es/utils/hooks/useMediaQuery.js +12 -0
  510. package/es/utils/scrollbarWidth.js +65 -0
  511. package/es/utils/transition.d.ts +2 -0
  512. package/es/utils/transition.js +31 -0
  513. package/es/utils/type.d.ts +26 -0
  514. package/es/utils/type.js +50 -0
  515. package/es/utils/validator-messages/cn.d.ts +3 -0
  516. package/es/utils/validator-messages/cn.js +56 -0
  517. package/lib/affix/index.d.ts +100 -0
  518. package/lib/affix/index.js +6 -0
  519. package/lib/affix/src/affix.d.ts +30 -0
  520. package/lib/affix/src/affix.js +141 -0
  521. package/lib/alert/index.d.ts +183 -0
  522. package/lib/alert/index.js +6 -0
  523. package/lib/alert/src/alert.d.ts +65 -0
  524. package/lib/alert/src/alert.js +158 -0
  525. package/lib/anchor/index.d.ts +114 -0
  526. package/lib/anchor/index.js +9 -0
  527. package/lib/anchor/src/anchor-link.d.ts +6 -0
  528. package/lib/anchor/src/anchor-link.js +71 -0
  529. package/lib/anchor/src/anchor.d.ts +10 -0
  530. package/lib/anchor/src/anchor.js +165 -0
  531. package/lib/anchor/src/context.d.ts +11 -0
  532. package/lib/anchor/src/context.js +13 -0
  533. package/lib/avatar/index.d.ts +193 -0
  534. package/lib/avatar/index.js +6 -0
  535. package/lib/avatar/src/avatar.d.ts +73 -0
  536. package/lib/avatar/src/avatar.js +139 -0
  537. package/lib/back-top/index.d.ts +133 -0
  538. package/lib/back-top/index.js +6 -0
  539. package/lib/back-top/src/back-top.d.ts +45 -0
  540. package/lib/back-top/src/back-top.js +165 -0
  541. package/lib/badge/index.d.ts +111 -0
  542. package/lib/badge/index.js +6 -0
  543. package/lib/badge/src/badge.d.ts +33 -0
  544. package/lib/badge/src/badge.js +78 -0
  545. package/lib/breadcrumb/index.d.ts +154 -0
  546. package/lib/breadcrumb/index.js +9 -0
  547. package/lib/breadcrumb/src/breadcrumb-item.d.ts +28 -0
  548. package/lib/breadcrumb/src/breadcrumb-item.js +17 -0
  549. package/lib/breadcrumb/src/breadcrumb.d.ts +23 -0
  550. package/lib/breadcrumb/src/breadcrumb.js +83 -0
  551. package/lib/button/index.d.ts +530 -0
  552. package/lib/button/index.js +6 -0
  553. package/lib/button/src/button.d.ts +292 -0
  554. package/lib/button/src/button.js +217 -0
  555. package/lib/calendar/index.d.ts +254 -0
  556. package/lib/calendar/index.js +6 -0
  557. package/lib/calendar/src/calendar.d.ts +101 -0
  558. package/lib/calendar/src/calendar.js +337 -0
  559. package/lib/card/index.d.ts +206 -0
  560. package/lib/card/index.js +6 -0
  561. package/lib/card/src/card.d.ts +78 -0
  562. package/lib/card/src/card.js +78 -0
  563. package/lib/carousel/index.d.ts +240 -0
  564. package/lib/carousel/index.js +6 -0
  565. package/lib/carousel/src/carousel.d.ts +103 -0
  566. package/lib/carousel/src/carousel.js +362 -0
  567. package/lib/cascader/index.d.ts +631 -0
  568. package/lib/cascader/index.js +6 -0
  569. package/lib/cascader/src/cascader.d.ts +282 -0
  570. package/lib/cascader/src/cascader.js +330 -0
  571. package/lib/cascader-panel/index.d.ts +444 -0
  572. package/lib/cascader-panel/index.js +6 -0
  573. package/lib/cascader-panel/src/cascader-panel.d.ts +188 -0
  574. package/lib/cascader-panel/src/cascader-panel.js +520 -0
  575. package/lib/cascader-panel/src/context.d.ts +101 -0
  576. package/lib/cascader-panel/src/context.js +35 -0
  577. package/lib/checkbox/index.d.ts +495 -0
  578. package/lib/checkbox/index.js +9 -0
  579. package/lib/checkbox/src/checkbox-group.d.ts +77 -0
  580. package/lib/checkbox/src/checkbox-group.js +79 -0
  581. package/lib/checkbox/src/checkbox.d.ts +118 -0
  582. package/lib/checkbox/src/checkbox.js +208 -0
  583. package/lib/checkbox/src/context.d.ts +15 -0
  584. package/lib/checkbox/src/context.js +13 -0
  585. package/lib/color-picker/index.d.ts +328 -0
  586. package/lib/color-picker/index.js +6 -0
  587. package/lib/color-picker/src/color-picker-content.d.ts +88 -0
  588. package/lib/color-picker/src/color-picker-content.js +574 -0
  589. package/lib/color-picker/src/color-picker.d.ts +133 -0
  590. package/lib/color-picker/src/color-picker.js +264 -0
  591. package/lib/color-picker/src/context.d.ts +17 -0
  592. package/lib/color-picker/src/context.js +13 -0
  593. package/lib/components.d.ts +59 -0
  594. package/lib/components.js +142 -0
  595. package/lib/config-provider/index.d.ts +80 -0
  596. package/lib/config-provider/index.js +6 -0
  597. package/lib/config-provider/src/config-provider.d.ts +25 -0
  598. package/lib/config-provider/src/config-provider.js +24 -0
  599. package/lib/config-provider/src/context.d.ts +10 -0
  600. package/lib/config-provider/src/context.js +15 -0
  601. package/lib/date-picker/index.d.ts +493 -0
  602. package/lib/date-picker/index.js +6 -0
  603. package/lib/date-picker/src/context.d.ts +45 -0
  604. package/lib/date-picker/src/context.js +13 -0
  605. package/lib/date-picker/src/date-picker-date.d.ts +168 -0
  606. package/lib/date-picker/src/date-picker-date.js +580 -0
  607. package/lib/date-picker/src/date-picker-time.d.ts +157 -0
  608. package/lib/date-picker/src/date-picker-time.js +330 -0
  609. package/lib/date-picker/src/date-picker-week.d.ts +167 -0
  610. package/lib/date-picker/src/date-picker-week.js +555 -0
  611. package/lib/date-picker/src/date-picker-year.d.ts +135 -0
  612. package/lib/date-picker/src/date-picker-year.js +335 -0
  613. package/lib/date-picker/src/date-picker.d.ts +218 -0
  614. package/lib/date-picker/src/date-picker.js +972 -0
  615. package/lib/divider/index.d.ts +50 -0
  616. package/lib/divider/index.js +6 -0
  617. package/lib/divider/src/divider.d.ts +4 -0
  618. package/lib/divider/src/divider.js +64 -0
  619. package/lib/drawer/index.d.ts +488 -0
  620. package/lib/drawer/index.js +6 -0
  621. package/lib/drawer/src/drawer.d.ts +302 -0
  622. package/lib/drawer/src/drawer.js +349 -0
  623. package/lib/dropdown/index.d.ts +571 -0
  624. package/lib/dropdown/index.js +12 -0
  625. package/lib/dropdown/src/context.d.ts +32 -0
  626. package/lib/dropdown/src/context.js +13 -0
  627. package/lib/dropdown/src/dropdown-group.d.ts +20 -0
  628. package/lib/dropdown/src/dropdown-group.js +15 -0
  629. package/lib/dropdown/src/dropdown-item.d.ts +63 -0
  630. package/lib/dropdown/src/dropdown-item.js +32 -0
  631. package/lib/dropdown/src/dropdown.d.ts +155 -0
  632. package/lib/dropdown/src/dropdown.js +496 -0
  633. package/lib/empty/index.d.ts +50 -0
  634. package/lib/empty/index.js +6 -0
  635. package/lib/empty/src/empty.d.ts +4 -0
  636. package/lib/empty/src/empty.js +114 -0
  637. package/lib/form/index.d.ts +534 -0
  638. package/lib/form/index.js +9 -0
  639. package/lib/form/src/context.d.ts +36 -0
  640. package/lib/form/src/context.js +13 -0
  641. package/lib/form/src/form-item.d.ts +86 -0
  642. package/lib/form/src/form-item.js +311 -0
  643. package/lib/form/src/form.d.ts +128 -0
  644. package/lib/form/src/form.js +168 -0
  645. package/lib/grid/index.d.ts +379 -0
  646. package/lib/grid/index.js +9 -0
  647. package/lib/grid/src/context.d.ts +17 -0
  648. package/lib/grid/src/context.js +13 -0
  649. package/lib/grid/src/grid-col.d.ts +57 -0
  650. package/lib/grid/src/grid-col.js +102 -0
  651. package/lib/grid/src/grid.d.ts +88 -0
  652. package/lib/grid/src/grid.js +125 -0
  653. package/lib/icon/index.d.ts +112 -0
  654. package/lib/icon/index.js +6 -0
  655. package/lib/icon/src/icon.d.ts +34 -0
  656. package/lib/icon/src/icon.js +47 -0
  657. package/lib/index.d.ts +7 -0
  658. package/lib/index.js +157 -0
  659. package/lib/input/index.d.ts +514 -0
  660. package/lib/input/index.js +6 -0
  661. package/lib/input/src/input.d.ts +214 -0
  662. package/lib/input/src/input.js +346 -0
  663. package/lib/input-number/index.d.ts +608 -0
  664. package/lib/input-number/index.js +6 -0
  665. package/lib/input-number/src/input-number.d.ts +266 -0
  666. package/lib/input-number/src/input-number.js +431 -0
  667. package/lib/layout/index.d.ts +632 -0
  668. package/lib/layout/index.js +18 -0
  669. package/lib/layout/src/content.d.ts +25 -0
  670. package/lib/layout/src/content.js +38 -0
  671. package/lib/layout/src/context.d.ts +8 -0
  672. package/lib/layout/src/context.js +13 -0
  673. package/lib/layout/src/footer.d.ts +25 -0
  674. package/lib/layout/src/footer.js +38 -0
  675. package/lib/layout/src/header.d.ts +25 -0
  676. package/lib/layout/src/header.js +38 -0
  677. package/lib/layout/src/layout.d.ts +25 -0
  678. package/lib/layout/src/layout.js +47 -0
  679. package/lib/layout/src/sider.d.ts +97 -0
  680. package/lib/layout/src/sider.js +204 -0
  681. package/lib/line-grid/index.d.ts +915 -0
  682. package/lib/line-grid/index.js +12 -0
  683. package/lib/line-grid/src/col.d.ts +100 -0
  684. package/lib/line-grid/src/col.js +132 -0
  685. package/lib/line-grid/src/context.d.ts +12 -0
  686. package/lib/line-grid/src/context.js +19 -0
  687. package/lib/line-grid/src/flex.d.ts +111 -0
  688. package/lib/line-grid/src/flex.js +137 -0
  689. package/lib/line-grid/src/row.d.ts +50 -0
  690. package/lib/line-grid/src/row.js +97 -0
  691. package/lib/link/index.d.ts +50 -0
  692. package/lib/link/index.js +6 -0
  693. package/lib/link/src/link.d.ts +4 -0
  694. package/lib/link/src/link.js +70 -0
  695. package/lib/list/index.d.ts +271 -0
  696. package/lib/list/index.js +9 -0
  697. package/lib/list/src/context.d.ts +11 -0
  698. package/lib/list/src/context.js +13 -0
  699. package/lib/list/src/list-item.d.ts +31 -0
  700. package/lib/list/src/list-item.js +91 -0
  701. package/lib/list/src/list.d.ts +58 -0
  702. package/lib/list/src/list.js +88 -0
  703. package/lib/loading/index.d.ts +224 -0
  704. package/lib/loading/index.js +6 -0
  705. package/lib/loading/src/loading.d.ts +86 -0
  706. package/lib/loading/src/loading.js +266 -0
  707. package/lib/loading-bar/index.d.ts +2 -0
  708. package/lib/loading-bar/index.js +6 -0
  709. package/lib/loading-bar/src/loading-bar-item.d.ts +80 -0
  710. package/lib/loading-bar/src/loading-bar-item.js +127 -0
  711. package/lib/loading-bar/src/loading-bar.d.ts +10 -0
  712. package/lib/loading-bar/src/loading-bar.js +64 -0
  713. package/lib/menu/index.d.ts +552 -0
  714. package/lib/menu/index.js +12 -0
  715. package/lib/menu/src/context.d.ts +91 -0
  716. package/lib/menu/src/context.js +27 -0
  717. package/lib/menu/src/menu-group.d.ts +20 -0
  718. package/lib/menu/src/menu-group.js +15 -0
  719. package/lib/menu/src/menu-item.d.ts +63 -0
  720. package/lib/menu/src/menu-item.js +20 -0
  721. package/lib/menu/src/menu.d.ts +147 -0
  722. package/lib/menu/src/menu.js +172 -0
  723. package/lib/menu/src/use-horizontal.d.ts +3 -0
  724. package/lib/menu/src/use-horizontal.js +163 -0
  725. package/lib/menu/src/use-pop.d.ts +3 -0
  726. package/lib/menu/src/use-pop.js +215 -0
  727. package/lib/menu/src/use-vertical.d.ts +3 -0
  728. package/lib/menu/src/use-vertical.js +197 -0
  729. package/lib/message/index.d.ts +12 -0
  730. package/lib/message/index.js +6 -0
  731. package/lib/message/src/message-item.d.ts +130 -0
  732. package/lib/message/src/message-item.js +174 -0
  733. package/lib/message/src/message-list.d.ts +126 -0
  734. package/lib/message/src/message-list.js +102 -0
  735. package/lib/message/src/message.d.ts +26 -0
  736. package/lib/message/src/message.js +65 -0
  737. package/lib/message-box/index.d.ts +2 -0
  738. package/lib/message-box/index.js +6 -0
  739. package/lib/message-box/src/message-box-item.d.ts +310 -0
  740. package/lib/message-box/src/message-box-item.js +301 -0
  741. package/lib/message-box/src/message-box.d.ts +16 -0
  742. package/lib/message-box/src/message-box.js +62 -0
  743. package/lib/modal/index.d.ts +584 -0
  744. package/lib/modal/index.js +6 -0
  745. package/lib/modal/src/modal.d.ts +369 -0
  746. package/lib/modal/src/modal.js +458 -0
  747. package/lib/notification/index.d.ts +11 -0
  748. package/lib/notification/index.js +6 -0
  749. package/lib/notification/src/notification-item.d.ts +150 -0
  750. package/lib/notification/src/notification-item.js +173 -0
  751. package/lib/notification/src/notification-list.d.ts +103 -0
  752. package/lib/notification/src/notification-list.js +97 -0
  753. package/lib/notification/src/notification.d.ts +25 -0
  754. package/lib/notification/src/notification.js +87 -0
  755. package/lib/pagination/index.d.ts +444 -0
  756. package/lib/pagination/index.js +6 -0
  757. package/lib/pagination/src/pagination.d.ts +270 -0
  758. package/lib/pagination/src/pagination.js +352 -0
  759. package/lib/popconfirm/index.d.ts +278 -0
  760. package/lib/popconfirm/index.js +6 -0
  761. package/lib/popconfirm/src/popconfirm.d.ts +108 -0
  762. package/lib/popconfirm/src/popconfirm.js +187 -0
  763. package/lib/popover/index.d.ts +193 -0
  764. package/lib/popover/index.js +6 -0
  765. package/lib/popover/src/popover.d.ts +71 -0
  766. package/lib/popover/src/popover.js +58 -0
  767. package/lib/popper/index.d.ts +435 -0
  768. package/lib/popper/index.js +6 -0
  769. package/lib/popper/src/popper.d.ts +193 -0
  770. package/lib/popper/src/popper.js +500 -0
  771. package/lib/progress/index.d.ts +232 -0
  772. package/lib/progress/index.js +6 -0
  773. package/lib/progress/src/circle.d.ts +90 -0
  774. package/lib/progress/src/circle.js +184 -0
  775. package/lib/progress/src/line.d.ts +130 -0
  776. package/lib/progress/src/line.js +169 -0
  777. package/lib/progress/src/progress.d.ts +90 -0
  778. package/lib/progress/src/progress.js +26 -0
  779. package/lib/radio/index.d.ts +402 -0
  780. package/lib/radio/index.js +9 -0
  781. package/lib/radio/src/context.d.ts +15 -0
  782. package/lib/radio/src/context.js +13 -0
  783. package/lib/radio/src/radio-group.d.ts +75 -0
  784. package/lib/radio/src/radio-group.js +80 -0
  785. package/lib/radio/src/radio.d.ts +76 -0
  786. package/lib/radio/src/radio.js +150 -0
  787. package/lib/select/index.d.ts +786 -0
  788. package/lib/select/index.js +12 -0
  789. package/lib/select/src/context.d.ts +45 -0
  790. package/lib/select/src/context.js +13 -0
  791. package/lib/select/src/select-content.d.ts +130 -0
  792. package/lib/select/src/select-content.js +555 -0
  793. package/lib/select/src/select-group.d.ts +16 -0
  794. package/lib/select/src/select-group.js +13 -0
  795. package/lib/select/src/select-option.d.ts +81 -0
  796. package/lib/select/src/select-option.js +18 -0
  797. package/lib/select/src/select-trigger.d.ts +141 -0
  798. package/lib/select/src/select-trigger.js +217 -0
  799. package/lib/select/src/select.d.ts +242 -0
  800. package/lib/select/src/select.js +451 -0
  801. package/lib/skeleton/index.d.ts +175 -0
  802. package/lib/skeleton/index.js +9 -0
  803. package/lib/skeleton/src/skeleton-item.d.ts +18 -0
  804. package/lib/skeleton/src/skeleton-item.js +83 -0
  805. package/lib/skeleton/src/skeleton.d.ts +25 -0
  806. package/lib/skeleton/src/skeleton.js +53 -0
  807. package/lib/slider/index.d.ts +325 -0
  808. package/lib/slider/index.js +6 -0
  809. package/lib/slider/src/slider.d.ts +140 -0
  810. package/lib/slider/src/slider.js +432 -0
  811. package/lib/space/index.d.ts +219 -0
  812. package/lib/space/index.js +6 -0
  813. package/lib/space/src/space.d.ts +87 -0
  814. package/lib/space/src/space.js +149 -0
  815. package/lib/status/index.d.ts +76 -0
  816. package/lib/status/index.js +6 -0
  817. package/lib/status/src/status.d.ts +16 -0
  818. package/lib/status/src/status.js +56 -0
  819. package/lib/steps/index.d.ts +207 -0
  820. package/lib/steps/index.js +9 -0
  821. package/lib/steps/src/step.d.ts +39 -0
  822. package/lib/steps/src/step.js +23 -0
  823. package/lib/steps/src/steps.d.ts +39 -0
  824. package/lib/steps/src/steps.js +178 -0
  825. package/lib/switch/index.d.ts +250 -0
  826. package/lib/switch/index.js +6 -0
  827. package/lib/switch/src/switch.d.ts +98 -0
  828. package/lib/switch/src/switch.js +224 -0
  829. package/lib/table/index.d.ts +580 -0
  830. package/lib/table/index.js +6 -0
  831. package/lib/table/src/context.d.ts +36 -0
  832. package/lib/table/src/context.js +13 -0
  833. package/lib/table/src/table-body.d.ts +129 -0
  834. package/lib/table/src/table-body.js +212 -0
  835. package/lib/table/src/table-header.d.ts +111 -0
  836. package/lib/table/src/table-header.js +224 -0
  837. package/lib/table/src/table.d.ts +363 -0
  838. package/lib/table/src/table.js +410 -0
  839. package/lib/tabs/index.d.ts +240 -0
  840. package/lib/tabs/index.js +9 -0
  841. package/lib/tabs/src/context.d.ts +8 -0
  842. package/lib/tabs/src/context.js +13 -0
  843. package/lib/tabs/src/tab.d.ts +48 -0
  844. package/lib/tabs/src/tab.js +43 -0
  845. package/lib/tabs/src/tabs.d.ts +44 -0
  846. package/lib/tabs/src/tabs.js +165 -0
  847. package/lib/tag/index.d.ts +203 -0
  848. package/lib/tag/index.js +6 -0
  849. package/lib/tag/src/tag.d.ts +76 -0
  850. package/lib/tag/src/tag.js +194 -0
  851. package/lib/textarea/index.d.ts +318 -0
  852. package/lib/textarea/index.js +6 -0
  853. package/lib/textarea/src/textarea.d.ts +130 -0
  854. package/lib/textarea/src/textarea.js +310 -0
  855. package/lib/time-picker/index.d.ts +50 -0
  856. package/lib/time-picker/index.js +6 -0
  857. package/lib/time-picker/src/time-picker.d.ts +4 -0
  858. package/lib/time-picker/src/time-picker.js +28 -0
  859. package/lib/tooltip/index.d.ts +204 -0
  860. package/lib/tooltip/index.js +6 -0
  861. package/lib/tooltip/src/tooltip.d.ts +74 -0
  862. package/lib/tooltip/src/tooltip.js +101 -0
  863. package/lib/tree/index.d.ts +512 -0
  864. package/lib/tree/index.js +6 -0
  865. package/lib/tree/src/context.d.ts +109 -0
  866. package/lib/tree/src/context.js +35 -0
  867. package/lib/tree/src/tree.d.ts +220 -0
  868. package/lib/tree/src/tree.js +428 -0
  869. package/lib/tree-select/index.d.ts +726 -0
  870. package/lib/tree-select/index.js +6 -0
  871. package/lib/tree-select/src/tree-select.d.ts +327 -0
  872. package/lib/tree-select/src/tree-select.js +317 -0
  873. package/lib/upload/index.d.ts +559 -0
  874. package/lib/upload/index.js +6 -0
  875. package/lib/upload/src/request.d.ts +21 -0
  876. package/lib/upload/src/request.js +71 -0
  877. package/lib/upload/src/upload.d.ts +264 -0
  878. package/lib/upload/src/upload.js +690 -0
  879. package/lib/utils/ScrollbarWidth2.js +26 -0
  880. package/lib/utils/colorPalette.d.ts +4 -0
  881. package/lib/utils/colorPalette.js +166 -0
  882. package/lib/utils/common.d.ts +80 -0
  883. package/lib/utils/common.js +144 -0
  884. package/lib/utils/compare.d.ts +3 -0
  885. package/lib/utils/compare.js +59 -0
  886. package/lib/utils/components/icons/AddOutline.d.ts +2 -0
  887. package/lib/utils/components/icons/AddOutline.js +27 -0
  888. package/lib/utils/components/icons/AlertCircle.d.ts +2 -0
  889. package/lib/utils/components/icons/AlertCircle.js +16 -0
  890. package/lib/utils/components/icons/AlertCircleOutline.d.ts +2 -0
  891. package/lib/utils/components/icons/AlertCircleOutline.js +29 -0
  892. package/lib/utils/components/icons/ArrowDropDownSharp.d.ts +2 -0
  893. package/lib/utils/components/icons/ArrowDropDownSharp.js +16 -0
  894. package/lib/utils/components/icons/ArrowDropUpSharp.d.ts +2 -0
  895. package/lib/utils/components/icons/ArrowDropUpSharp.js +16 -0
  896. package/lib/utils/components/icons/ArrowForward.d.ts +2 -0
  897. package/lib/utils/components/icons/ArrowForward.js +27 -0
  898. package/lib/utils/components/icons/ArrowForwardIosFilled.d.ts +2 -0
  899. package/lib/utils/components/icons/ArrowForwardIosFilled.js +16 -0
  900. package/lib/utils/components/icons/ArrowNext24Filled.d.ts +2 -0
  901. package/lib/utils/components/icons/ArrowNext24Filled.js +18 -0
  902. package/lib/utils/components/icons/ArrowPrevious24Filled.d.ts +2 -0
  903. package/lib/utils/components/icons/ArrowPrevious24Filled.js +18 -0
  904. package/lib/utils/components/icons/ArrowUp.d.ts +2 -0
  905. package/lib/utils/components/icons/ArrowUp.js +27 -0
  906. package/lib/utils/components/icons/ArrowUpCircle.d.ts +2 -0
  907. package/lib/utils/components/icons/ArrowUpCircle.js +14 -0
  908. package/lib/utils/components/icons/ArrowsMaximize.d.ts +2 -0
  909. package/lib/utils/components/icons/ArrowsMaximize.js +35 -0
  910. package/lib/utils/components/icons/ArrowsMinimize.d.ts +2 -0
  911. package/lib/utils/components/icons/ArrowsMinimize.js +35 -0
  912. package/lib/utils/components/icons/Bars.d.ts +2 -0
  913. package/lib/utils/components/icons/Bars.js +14 -0
  914. package/lib/utils/components/icons/CalendarClearOutline.d.ts +2 -0
  915. package/lib/utils/components/icons/CalendarClearOutline.js +44 -0
  916. package/lib/utils/components/icons/Checkmark.d.ts +2 -0
  917. package/lib/utils/components/icons/Checkmark.js +20 -0
  918. package/lib/utils/components/icons/CheckmarkCircle.d.ts +2 -0
  919. package/lib/utils/components/icons/CheckmarkCircle.js +16 -0
  920. package/lib/utils/components/icons/CheckmarkCircleOutline.d.ts +2 -0
  921. package/lib/utils/components/icons/CheckmarkCircleOutline.js +26 -0
  922. package/lib/utils/components/icons/CheckmarkOutline.d.ts +2 -0
  923. package/lib/utils/components/icons/CheckmarkOutline.js +20 -0
  924. package/lib/utils/components/icons/CheckmarkSharp.d.ts +2 -0
  925. package/lib/utils/components/icons/CheckmarkSharp.js +20 -0
  926. package/lib/utils/components/icons/ChevronDoubleLeft16Filled.d.ts +2 -0
  927. package/lib/utils/components/icons/ChevronDoubleLeft16Filled.js +18 -0
  928. package/lib/utils/components/icons/ChevronDoubleRight16Filled.d.ts +2 -0
  929. package/lib/utils/components/icons/ChevronDoubleRight16Filled.js +18 -0
  930. package/lib/utils/components/icons/ChevronDown.d.ts +2 -0
  931. package/lib/utils/components/icons/ChevronDown.js +16 -0
  932. package/lib/utils/components/icons/ChevronForward.d.ts +2 -0
  933. package/lib/utils/components/icons/ChevronForward.js +20 -0
  934. package/lib/utils/components/icons/ChevronLeft24Filled.d.ts +2 -0
  935. package/lib/utils/components/icons/ChevronLeft24Filled.js +18 -0
  936. package/lib/utils/components/icons/ChevronRight24Filled.d.ts +2 -0
  937. package/lib/utils/components/icons/ChevronRight24Filled.js +18 -0
  938. package/lib/utils/components/icons/ChevronUp.d.ts +2 -0
  939. package/lib/utils/components/icons/ChevronUp.js +16 -0
  940. package/lib/utils/components/icons/Close.d.ts +2 -0
  941. package/lib/utils/components/icons/Close.js +16 -0
  942. package/lib/utils/components/icons/CloseCircle.d.ts +2 -0
  943. package/lib/utils/components/icons/CloseCircle.js +16 -0
  944. package/lib/utils/components/icons/CloseCircleOutline.d.ts +2 -0
  945. package/lib/utils/components/icons/CloseCircleOutline.js +33 -0
  946. package/lib/utils/components/icons/CloseOutline.d.ts +2 -0
  947. package/lib/utils/components/icons/CloseOutline.js +27 -0
  948. package/lib/utils/components/icons/CloudUploadOutline.d.ts +2 -0
  949. package/lib/utils/components/icons/CloudUploadOutline.js +34 -0
  950. package/lib/utils/components/icons/EllipsisHorizontal.d.ts +2 -0
  951. package/lib/utils/components/icons/EllipsisHorizontal.js +28 -0
  952. package/lib/utils/components/icons/Empty.d.ts +2 -0
  953. package/lib/utils/components/icons/Empty.js +19 -0
  954. package/lib/utils/components/icons/EyeOffOutline.d.ts +2 -0
  955. package/lib/utils/components/icons/EyeOffOutline.js +28 -0
  956. package/lib/utils/components/icons/EyeOutline.d.ts +2 -0
  957. package/lib/utils/components/icons/EyeOutline.js +28 -0
  958. package/lib/utils/components/icons/HelpCircleSharp.d.ts +2 -0
  959. package/lib/utils/components/icons/HelpCircleSharp.js +19 -0
  960. package/lib/utils/components/icons/ImageOutline.d.ts +2 -0
  961. package/lib/utils/components/icons/ImageSharp.d.ts +2 -0
  962. package/lib/utils/components/icons/ImageSharp.js +16 -0
  963. package/lib/utils/components/icons/InformationCircle.d.ts +2 -0
  964. package/lib/utils/components/icons/InformationCircle.js +16 -0
  965. package/lib/utils/components/icons/InformationCircleOutline.d.ts +2 -0
  966. package/lib/utils/components/icons/InformationCircleOutline.js +36 -0
  967. package/lib/utils/components/icons/IosArrowBack.d.ts +2 -0
  968. package/lib/utils/components/icons/IosArrowBack.js +19 -0
  969. package/lib/utils/components/icons/IosArrowDown.d.ts +2 -0
  970. package/lib/utils/components/icons/IosArrowDown.js +19 -0
  971. package/lib/utils/components/icons/IosArrowForward.d.ts +2 -0
  972. package/lib/utils/components/icons/IosArrowForward.js +19 -0
  973. package/lib/utils/components/icons/IosCheckmark.d.ts +2 -0
  974. package/lib/utils/components/icons/IosCheckmark.js +17 -0
  975. package/lib/utils/components/icons/KeyboardArrowLeftRound.d.ts +2 -0
  976. package/lib/utils/components/icons/KeyboardArrowLeftRound.js +16 -0
  977. package/lib/utils/components/icons/KeyboardArrowRightRound.d.ts +2 -0
  978. package/lib/utils/components/icons/KeyboardArrowRightRound.js +16 -0
  979. package/lib/utils/components/icons/KeyboardDoubleArrowLeftRound.d.ts +2 -0
  980. package/lib/utils/components/icons/KeyboardDoubleArrowLeftRound.js +19 -0
  981. package/lib/utils/components/icons/KeyboardDoubleArrowRightRound.d.ts +2 -0
  982. package/lib/utils/components/icons/KeyboardDoubleArrowRightRound.js +19 -0
  983. package/lib/utils/components/icons/LoadingOutlined.d.ts +2 -0
  984. package/lib/utils/components/icons/LoadingOutlined.js +16 -0
  985. package/lib/utils/components/icons/MenuFoldOutlined.d.ts +2 -0
  986. package/lib/utils/components/icons/MenuFoldOutlined.js +16 -0
  987. package/lib/utils/components/icons/Pause.d.ts +2 -0
  988. package/lib/utils/components/icons/Pause.js +19 -0
  989. package/lib/utils/components/icons/QuestionCircle24Regular.d.ts +2 -0
  990. package/lib/utils/components/icons/QuestionCircle24Regular.js +18 -0
  991. package/lib/utils/components/icons/Refresh.d.ts +2 -0
  992. package/lib/utils/components/icons/Refresh.js +27 -0
  993. package/lib/utils/components/icons/RemoveOutline.d.ts +2 -0
  994. package/lib/utils/components/icons/RemoveOutline.js +20 -0
  995. package/lib/utils/components/icons/TimeOutline.d.ts +2 -0
  996. package/lib/utils/components/icons/TimeOutline.js +26 -0
  997. package/lib/utils/components/icons/UploadFileFilled.d.ts +2 -0
  998. package/lib/utils/components/icons/UploadFileFilled.js +16 -0
  999. package/lib/utils/components/icons/index.d.ts +57 -0
  1000. package/lib/utils/components/resize-observer.d.ts +27 -0
  1001. package/lib/utils/components/resize-observer.js +70 -0
  1002. package/lib/utils/components/transition/dropdown-transition.d.ts +4 -0
  1003. package/lib/utils/components/transition/dropdown-transition.js +56 -0
  1004. package/lib/utils/components/transition/slide-up-transition.d.ts +4 -0
  1005. package/lib/utils/components/transition/slide-up-transition.js +59 -0
  1006. package/lib/utils/directives/click-outside.js +139 -0
  1007. package/lib/utils/dom.d.ts +1 -0
  1008. package/lib/utils/dom.js +11 -0
  1009. package/lib/utils/element.d.ts +17 -0
  1010. package/lib/utils/element.js +64 -0
  1011. package/lib/utils/error.d.ts +1 -0
  1012. package/lib/utils/getElementRect.d.ts +1 -0
  1013. package/lib/utils/hooks/useConfig.d.ts +9 -0
  1014. package/lib/utils/hooks/useConfig.js +19 -0
  1015. package/lib/utils/hooks/useGetSlot.d.ts +2 -0
  1016. package/lib/utils/hooks/useGetSlot.js +14 -0
  1017. package/lib/utils/hooks/useMediaQuery.d.ts +2 -0
  1018. package/lib/utils/hooks/useMediaQuery.js +14 -0
  1019. package/lib/utils/scrollbarWidth.js +69 -0
  1020. package/lib/utils/transition.d.ts +2 -0
  1021. package/lib/utils/transition.js +33 -0
  1022. package/lib/utils/type.d.ts +26 -0
  1023. package/lib/utils/type.js +62 -0
  1024. package/lib/utils/validator-messages/cn.d.ts +3 -0
  1025. package/lib/utils/validator-messages/cn.js +59 -0
  1026. package/package.json +138 -0
@@ -0,0 +1,379 @@
1
+ declare const TGrid: {
2
+ new (...args: any[]): {
3
+ $: import("vue").ComponentInternalInstance;
4
+ $data: {};
5
+ $props: Partial<{
6
+ prefixCls: string;
7
+ padding: import("../utils/type").StrOrNumber | [import("../utils/type").StrOrNumber, import("../utils/type").StrOrNumber];
8
+ square: boolean;
9
+ showBorder: boolean;
10
+ cols: string | number;
11
+ avatarShape: string;
12
+ avatarSize: string;
13
+ }> & Omit<Readonly<import("vue").ExtractPropTypes<{
14
+ justify: import("vue-types").VueTypeDef<string>;
15
+ align: import("vue-types").VueTypeDef<string>;
16
+ x: import("vue-types").VueTypeDef<string>;
17
+ y: import("vue-types").VueTypeDef<string>;
18
+ cols: import("vue-types").VueTypeDef<string | number> & {
19
+ default: string | number;
20
+ };
21
+ prefixCls: import("vue-types").VueTypeValidableDef<string> & {
22
+ default: string;
23
+ };
24
+ square: import("vue-types").VueTypeValidableDef<boolean> & {
25
+ default: boolean;
26
+ } & {
27
+ default: boolean;
28
+ };
29
+ showBorder: import("vue-types").VueTypeValidableDef<boolean> & {
30
+ default: boolean;
31
+ } & {
32
+ default: boolean;
33
+ };
34
+ marginTop: import("vue-types").VueTypeDef<string | number>;
35
+ marginBottom: import("vue-types").VueTypeDef<string | number>;
36
+ marginLeft: import("vue-types").VueTypeDef<string | number>;
37
+ marginRight: import("vue-types").VueTypeDef<string | number>;
38
+ padding: {
39
+ type: import("vue").PropType<import("../utils/type").StrOrNumber | [import("../utils/type").StrOrNumber, import("../utils/type").StrOrNumber]>;
40
+ default: number;
41
+ };
42
+ avatarShape: import("vue-types").VueTypeDef<string> & {
43
+ default: string;
44
+ };
45
+ avatarSize: import("vue-types").VueTypeDef<string> & {
46
+ default: string;
47
+ };
48
+ avatarBgWidth: import("vue-types").VueTypeDef<string | number>;
49
+ avatarWidth: import("vue-types").VueTypeDef<string | number>;
50
+ }>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "prefixCls" | "padding" | "square" | "showBorder" | "cols" | "avatarShape" | "avatarSize">;
51
+ $attrs: {
52
+ [x: string]: unknown;
53
+ };
54
+ $refs: {
55
+ [x: string]: unknown;
56
+ };
57
+ $slots: Readonly<{
58
+ [name: string]: import("vue").Slot;
59
+ }>;
60
+ $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
61
+ $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
62
+ $emit: (event: string, ...args: any[]) => void;
63
+ $el: any;
64
+ $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
65
+ justify: import("vue-types").VueTypeDef<string>;
66
+ align: import("vue-types").VueTypeDef<string>;
67
+ x: import("vue-types").VueTypeDef<string>;
68
+ y: import("vue-types").VueTypeDef<string>;
69
+ cols: import("vue-types").VueTypeDef<string | number> & {
70
+ default: string | number;
71
+ };
72
+ prefixCls: import("vue-types").VueTypeValidableDef<string> & {
73
+ default: string;
74
+ };
75
+ square: import("vue-types").VueTypeValidableDef<boolean> & {
76
+ default: boolean;
77
+ } & {
78
+ default: boolean;
79
+ };
80
+ showBorder: import("vue-types").VueTypeValidableDef<boolean> & {
81
+ default: boolean;
82
+ } & {
83
+ default: boolean;
84
+ };
85
+ marginTop: import("vue-types").VueTypeDef<string | number>;
86
+ marginBottom: import("vue-types").VueTypeDef<string | number>;
87
+ marginLeft: import("vue-types").VueTypeDef<string | number>;
88
+ marginRight: import("vue-types").VueTypeDef<string | number>;
89
+ padding: {
90
+ type: import("vue").PropType<import("../utils/type").StrOrNumber | [import("../utils/type").StrOrNumber, import("../utils/type").StrOrNumber]>;
91
+ default: number;
92
+ };
93
+ avatarShape: import("vue-types").VueTypeDef<string> & {
94
+ default: string;
95
+ };
96
+ avatarSize: import("vue-types").VueTypeDef<string> & {
97
+ default: string;
98
+ };
99
+ avatarBgWidth: import("vue-types").VueTypeDef<string | number>;
100
+ avatarWidth: import("vue-types").VueTypeDef<string | number>;
101
+ }>>, {
102
+ render: () => JSX.Element;
103
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
104
+ prefixCls: string;
105
+ padding: import("../utils/type").StrOrNumber | [import("../utils/type").StrOrNumber, import("../utils/type").StrOrNumber];
106
+ square: boolean;
107
+ showBorder: boolean;
108
+ cols: string | number;
109
+ avatarShape: string;
110
+ avatarSize: string;
111
+ }> & {
112
+ beforeCreate?: (() => void) | (() => void)[];
113
+ created?: (() => void) | (() => void)[];
114
+ beforeMount?: (() => void) | (() => void)[];
115
+ mounted?: (() => void) | (() => void)[];
116
+ beforeUpdate?: (() => void) | (() => void)[];
117
+ updated?: (() => void) | (() => void)[];
118
+ activated?: (() => void) | (() => void)[];
119
+ deactivated?: (() => void) | (() => void)[];
120
+ beforeDestroy?: (() => void) | (() => void)[];
121
+ beforeUnmount?: (() => void) | (() => void)[];
122
+ destroyed?: (() => void) | (() => void)[];
123
+ unmounted?: (() => void) | (() => void)[];
124
+ renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
125
+ renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
126
+ errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>, info: string) => boolean | void)[];
127
+ };
128
+ $forceUpdate: () => void;
129
+ $nextTick: typeof import("vue").nextTick;
130
+ $watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
131
+ } & Readonly<import("vue").ExtractPropTypes<{
132
+ justify: import("vue-types").VueTypeDef<string>;
133
+ align: import("vue-types").VueTypeDef<string>;
134
+ x: import("vue-types").VueTypeDef<string>;
135
+ y: import("vue-types").VueTypeDef<string>;
136
+ cols: import("vue-types").VueTypeDef<string | number> & {
137
+ default: string | number;
138
+ };
139
+ prefixCls: import("vue-types").VueTypeValidableDef<string> & {
140
+ default: string;
141
+ };
142
+ square: import("vue-types").VueTypeValidableDef<boolean> & {
143
+ default: boolean;
144
+ } & {
145
+ default: boolean;
146
+ };
147
+ showBorder: import("vue-types").VueTypeValidableDef<boolean> & {
148
+ default: boolean;
149
+ } & {
150
+ default: boolean;
151
+ };
152
+ marginTop: import("vue-types").VueTypeDef<string | number>;
153
+ marginBottom: import("vue-types").VueTypeDef<string | number>;
154
+ marginLeft: import("vue-types").VueTypeDef<string | number>;
155
+ marginRight: import("vue-types").VueTypeDef<string | number>;
156
+ padding: {
157
+ type: import("vue").PropType<import("../utils/type").StrOrNumber | [import("../utils/type").StrOrNumber, import("../utils/type").StrOrNumber]>;
158
+ default: number;
159
+ };
160
+ avatarShape: import("vue-types").VueTypeDef<string> & {
161
+ default: string;
162
+ };
163
+ avatarSize: import("vue-types").VueTypeDef<string> & {
164
+ default: string;
165
+ };
166
+ avatarBgWidth: import("vue-types").VueTypeDef<string | number>;
167
+ avatarWidth: import("vue-types").VueTypeDef<string | number>;
168
+ }>> & import("vue").ShallowUnwrapRef<{
169
+ render: () => JSX.Element;
170
+ }> & {} & import("vue").ComponentCustomProperties;
171
+ __isFragment?: never;
172
+ __isTeleport?: never;
173
+ __isSuspense?: never;
174
+ } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
175
+ justify: import("vue-types").VueTypeDef<string>;
176
+ align: import("vue-types").VueTypeDef<string>;
177
+ x: import("vue-types").VueTypeDef<string>;
178
+ y: import("vue-types").VueTypeDef<string>;
179
+ cols: import("vue-types").VueTypeDef<string | number> & {
180
+ default: string | number;
181
+ };
182
+ prefixCls: import("vue-types").VueTypeValidableDef<string> & {
183
+ default: string;
184
+ };
185
+ square: import("vue-types").VueTypeValidableDef<boolean> & {
186
+ default: boolean;
187
+ } & {
188
+ default: boolean;
189
+ };
190
+ showBorder: import("vue-types").VueTypeValidableDef<boolean> & {
191
+ default: boolean;
192
+ } & {
193
+ default: boolean;
194
+ };
195
+ marginTop: import("vue-types").VueTypeDef<string | number>;
196
+ marginBottom: import("vue-types").VueTypeDef<string | number>;
197
+ marginLeft: import("vue-types").VueTypeDef<string | number>;
198
+ marginRight: import("vue-types").VueTypeDef<string | number>;
199
+ padding: {
200
+ type: import("vue").PropType<import("../utils/type").StrOrNumber | [import("../utils/type").StrOrNumber, import("../utils/type").StrOrNumber]>;
201
+ default: number;
202
+ };
203
+ avatarShape: import("vue-types").VueTypeDef<string> & {
204
+ default: string;
205
+ };
206
+ avatarSize: import("vue-types").VueTypeDef<string> & {
207
+ default: string;
208
+ };
209
+ avatarBgWidth: import("vue-types").VueTypeDef<string | number>;
210
+ avatarWidth: import("vue-types").VueTypeDef<string | number>;
211
+ }>>, {
212
+ render: () => JSX.Element;
213
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
214
+ prefixCls: string;
215
+ padding: import("../utils/type").StrOrNumber | [import("../utils/type").StrOrNumber, import("../utils/type").StrOrNumber];
216
+ square: boolean;
217
+ showBorder: boolean;
218
+ cols: string | number;
219
+ avatarShape: string;
220
+ avatarSize: string;
221
+ }> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin;
222
+ export { TGrid };
223
+ declare const TGridCol: {
224
+ new (...args: any[]): {
225
+ $: import("vue").ComponentInternalInstance;
226
+ $data: {};
227
+ $props: Partial<{
228
+ title: string;
229
+ src: string;
230
+ avatarBgColor: string;
231
+ avatarColor: string;
232
+ avatarBgColorHover: string;
233
+ avatarColorHover: string;
234
+ }> & Omit<Readonly<import("vue").ExtractPropTypes<{
235
+ title: import("vue-types").VueTypeValidableDef<string> & {
236
+ default: string;
237
+ };
238
+ avatar: import("vue").PropType<import("../utils/type").VueNode | (() => import("../utils/type").VueNode)>;
239
+ avatarBgColor: import("vue-types").VueTypeValidableDef<string> & {
240
+ default: string;
241
+ };
242
+ avatarColor: import("vue-types").VueTypeValidableDef<string> & {
243
+ default: string;
244
+ };
245
+ avatarBgColorHover: import("vue-types").VueTypeValidableDef<string> & {
246
+ default: string;
247
+ };
248
+ avatarColorHover: import("vue-types").VueTypeValidableDef<string> & {
249
+ default: string;
250
+ };
251
+ src: import("vue-types").VueTypeValidableDef<string> & {
252
+ default: string;
253
+ };
254
+ to: {
255
+ type: import("vue").PropType<String | import("vue-router").RouteLocationRaw>;
256
+ };
257
+ }>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "title" | "src" | "avatarBgColor" | "avatarColor" | "avatarBgColorHover" | "avatarColorHover">;
258
+ $attrs: {
259
+ [x: string]: unknown;
260
+ };
261
+ $refs: {
262
+ [x: string]: unknown;
263
+ };
264
+ $slots: Readonly<{
265
+ [name: string]: import("vue").Slot;
266
+ }>;
267
+ $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
268
+ $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
269
+ $emit: (event: string, ...args: any[]) => void;
270
+ $el: any;
271
+ $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
272
+ title: import("vue-types").VueTypeValidableDef<string> & {
273
+ default: string;
274
+ };
275
+ avatar: import("vue").PropType<import("../utils/type").VueNode | (() => import("../utils/type").VueNode)>;
276
+ avatarBgColor: import("vue-types").VueTypeValidableDef<string> & {
277
+ default: string;
278
+ };
279
+ avatarColor: import("vue-types").VueTypeValidableDef<string> & {
280
+ default: string;
281
+ };
282
+ avatarBgColorHover: import("vue-types").VueTypeValidableDef<string> & {
283
+ default: string;
284
+ };
285
+ avatarColorHover: import("vue-types").VueTypeValidableDef<string> & {
286
+ default: string;
287
+ };
288
+ src: import("vue-types").VueTypeValidableDef<string> & {
289
+ default: string;
290
+ };
291
+ to: {
292
+ type: import("vue").PropType<String | import("vue-router").RouteLocationRaw>;
293
+ };
294
+ }>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
295
+ title: string;
296
+ src: string;
297
+ avatarBgColor: string;
298
+ avatarColor: string;
299
+ avatarBgColorHover: string;
300
+ avatarColorHover: string;
301
+ }> & {
302
+ beforeCreate?: (() => void) | (() => void)[];
303
+ created?: (() => void) | (() => void)[];
304
+ beforeMount?: (() => void) | (() => void)[];
305
+ mounted?: (() => void) | (() => void)[];
306
+ beforeUpdate?: (() => void) | (() => void)[];
307
+ updated?: (() => void) | (() => void)[];
308
+ activated?: (() => void) | (() => void)[];
309
+ deactivated?: (() => void) | (() => void)[];
310
+ beforeDestroy?: (() => void) | (() => void)[];
311
+ beforeUnmount?: (() => void) | (() => void)[];
312
+ destroyed?: (() => void) | (() => void)[];
313
+ unmounted?: (() => void) | (() => void)[];
314
+ renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
315
+ renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
316
+ errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>, info: string) => boolean | void)[];
317
+ };
318
+ $forceUpdate: () => void;
319
+ $nextTick: typeof import("vue").nextTick;
320
+ $watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
321
+ } & Readonly<import("vue").ExtractPropTypes<{
322
+ title: import("vue-types").VueTypeValidableDef<string> & {
323
+ default: string;
324
+ };
325
+ avatar: import("vue").PropType<import("../utils/type").VueNode | (() => import("../utils/type").VueNode)>;
326
+ avatarBgColor: import("vue-types").VueTypeValidableDef<string> & {
327
+ default: string;
328
+ };
329
+ avatarColor: import("vue-types").VueTypeValidableDef<string> & {
330
+ default: string;
331
+ };
332
+ avatarBgColorHover: import("vue-types").VueTypeValidableDef<string> & {
333
+ default: string;
334
+ };
335
+ avatarColorHover: import("vue-types").VueTypeValidableDef<string> & {
336
+ default: string;
337
+ };
338
+ src: import("vue-types").VueTypeValidableDef<string> & {
339
+ default: string;
340
+ };
341
+ to: {
342
+ type: import("vue").PropType<String | import("vue-router").RouteLocationRaw>;
343
+ };
344
+ }>> & import("vue").ShallowUnwrapRef<() => JSX.Element> & {} & import("vue").ComponentCustomProperties;
345
+ __isFragment?: never;
346
+ __isTeleport?: never;
347
+ __isSuspense?: never;
348
+ } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
349
+ title: import("vue-types").VueTypeValidableDef<string> & {
350
+ default: string;
351
+ };
352
+ avatar: import("vue").PropType<import("../utils/type").VueNode | (() => import("../utils/type").VueNode)>;
353
+ avatarBgColor: import("vue-types").VueTypeValidableDef<string> & {
354
+ default: string;
355
+ };
356
+ avatarColor: import("vue-types").VueTypeValidableDef<string> & {
357
+ default: string;
358
+ };
359
+ avatarBgColorHover: import("vue-types").VueTypeValidableDef<string> & {
360
+ default: string;
361
+ };
362
+ avatarColorHover: import("vue-types").VueTypeValidableDef<string> & {
363
+ default: string;
364
+ };
365
+ src: import("vue-types").VueTypeValidableDef<string> & {
366
+ default: string;
367
+ };
368
+ to: {
369
+ type: import("vue").PropType<String | import("vue-router").RouteLocationRaw>;
370
+ };
371
+ }>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
372
+ title: string;
373
+ src: string;
374
+ avatarBgColor: string;
375
+ avatarColor: string;
376
+ avatarBgColorHover: string;
377
+ avatarColorHover: string;
378
+ }> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin;
379
+ export { TGridCol };
@@ -0,0 +1,6 @@
1
+ import { withInstall } from "../utils/type.js";
2
+ import Grid from "./src/grid.js";
3
+ import GridCol from "./src/grid-col.js";
4
+ const TGrid = withInstall(Grid);
5
+ const TGridCol = withInstall(GridCol);
6
+ export { TGrid, TGridCol };
@@ -0,0 +1,17 @@
1
+ import type { InjectionKey, ComputedRef } from 'vue';
2
+ export interface GridContext {
3
+ cols: ComputedRef<number>;
4
+ avatarShape: ComputedRef<string>;
5
+ avatarSize: ComputedRef<string>;
6
+ avatarBgWidth: ComputedRef<string>;
7
+ avatarWidth: ComputedRef<string>;
8
+ justify: ComputedRef<string>;
9
+ align: ComputedRef<string>;
10
+ showBorder: ComputedRef<boolean>;
11
+ colHeight: ComputedRef<number>;
12
+ paddingArr: ComputedRef<number[]>;
13
+ }
14
+ export declare const GridContextKey: InjectionKey<GridContext>;
15
+ declare const provideGrid: (data: GridContext) => void;
16
+ declare const injectGrid: () => GridContext;
17
+ export { injectGrid, provideGrid };
@@ -0,0 +1,9 @@
1
+ import { inject, provide } from "vue";
2
+ const GridContextKey = Symbol("GridContextKey");
3
+ const provideGrid = (data) => {
4
+ provide(GridContextKey, data);
5
+ };
6
+ const injectGrid = () => {
7
+ return inject(GridContextKey);
8
+ };
9
+ export { GridContextKey, injectGrid, provideGrid };
@@ -0,0 +1,57 @@
1
+ import { PropType } from 'vue';
2
+ import { RouteLocationRaw } from 'vue-router';
3
+ declare const _default: import("vue").DefineComponent<{
4
+ title: import("vue-types").VueTypeValidableDef<string> & {
5
+ default: string;
6
+ };
7
+ avatar: PropType<import("../../utils/type").VueNode | (() => import("../../utils/type").VueNode)>;
8
+ avatarBgColor: import("vue-types").VueTypeValidableDef<string> & {
9
+ default: string;
10
+ };
11
+ avatarColor: import("vue-types").VueTypeValidableDef<string> & {
12
+ default: string;
13
+ };
14
+ avatarBgColorHover: import("vue-types").VueTypeValidableDef<string> & {
15
+ default: string;
16
+ };
17
+ avatarColorHover: import("vue-types").VueTypeValidableDef<string> & {
18
+ default: string;
19
+ };
20
+ src: import("vue-types").VueTypeValidableDef<string> & {
21
+ default: string;
22
+ };
23
+ to: {
24
+ type: PropType<String | RouteLocationRaw>;
25
+ };
26
+ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
27
+ title: import("vue-types").VueTypeValidableDef<string> & {
28
+ default: string;
29
+ };
30
+ avatar: PropType<import("../../utils/type").VueNode | (() => import("../../utils/type").VueNode)>;
31
+ avatarBgColor: import("vue-types").VueTypeValidableDef<string> & {
32
+ default: string;
33
+ };
34
+ avatarColor: import("vue-types").VueTypeValidableDef<string> & {
35
+ default: string;
36
+ };
37
+ avatarBgColorHover: import("vue-types").VueTypeValidableDef<string> & {
38
+ default: string;
39
+ };
40
+ avatarColorHover: import("vue-types").VueTypeValidableDef<string> & {
41
+ default: string;
42
+ };
43
+ src: import("vue-types").VueTypeValidableDef<string> & {
44
+ default: string;
45
+ };
46
+ to: {
47
+ type: PropType<String | RouteLocationRaw>;
48
+ };
49
+ }>>, {
50
+ title: string;
51
+ src: string;
52
+ avatarBgColor: string;
53
+ avatarColor: string;
54
+ avatarBgColorHover: string;
55
+ avatarColorHover: string;
56
+ }>;
57
+ export default _default;
@@ -0,0 +1,100 @@
1
+ import { defineComponent, computed, createVNode, resolveComponent, Fragment, mergeProps, isVNode } from "vue";
2
+ import { TCol } from "../../line-grid/index.js";
3
+ import { injectGrid } from "./context.js";
4
+ import { useConfig } from "../../utils/hooks/useConfig.js";
5
+ import { PropTypes, StrOrVNode } from "../../utils/type.js";
6
+ function _isSlot(s) {
7
+ return typeof s === "function" || Object.prototype.toString.call(s) === "[object Object]" && !isVNode(s);
8
+ }
9
+ const gridColProps = {
10
+ title: PropTypes.string,
11
+ avatar: StrOrVNode,
12
+ avatarBgColor: PropTypes.string,
13
+ avatarColor: PropTypes.string,
14
+ avatarBgColorHover: PropTypes.string,
15
+ avatarColorHover: PropTypes.string,
16
+ src: PropTypes.string,
17
+ to: {
18
+ type: [Object, String]
19
+ }
20
+ };
21
+ var GridCol = defineComponent({
22
+ name: "TGridCol",
23
+ props: gridColProps,
24
+ components: {
25
+ TCol
26
+ },
27
+ setup(props, {
28
+ slots
29
+ }) {
30
+ var _a, _b, _c;
31
+ const {
32
+ cols,
33
+ justify,
34
+ align,
35
+ showBorder,
36
+ colHeight,
37
+ paddingArr,
38
+ avatarShape,
39
+ avatarSize,
40
+ avatarBgWidth,
41
+ avatarWidth
42
+ } = injectGrid();
43
+ const {
44
+ prefixCls,
45
+ rootPrefix
46
+ } = useConfig("grid-col", props);
47
+ const styles = computed(() => {
48
+ var _a2, _b2, _c2, _d, _e, _f;
49
+ return {
50
+ width: `${1 / cols.value * 100}%`,
51
+ height: colHeight.value ? `${colHeight.value}px` : null,
52
+ paddingLeft: `${paddingArr.value[0]}px`,
53
+ paddingRight: `${paddingArr.value[0]}px`,
54
+ paddingTop: `${paddingArr.value[1]}px`,
55
+ paddingBottom: `${paddingArr.value[1]}px`,
56
+ [`--t-grid-title-color`]: (_a2 = props.avatarColor) != null ? _a2 : null,
57
+ [`--t-grid-title-color-hover`]: (_c2 = (_b2 = props.avatarColorHover) != null ? _b2 : props.avatarColor) != null ? _c2 : null,
58
+ [`--t-avatar-bg-color`]: (_d = props.avatarBgColor) != null ? _d : null,
59
+ [`--t-avatar-bg-color-hover`]: (_f = (_e = props.avatarBgColorHover) != null ? _e : props.avatarBgColor) != null ? _f : null
60
+ };
61
+ });
62
+ let colProps = {
63
+ justify: justify.value,
64
+ align: align.value,
65
+ direction: "column"
66
+ };
67
+ const icon = slots.avatar ? slots.avatar() : (_a = props.avatar) != null ? _a : null;
68
+ const avatarProps = {
69
+ shape: avatarShape.value,
70
+ width: avatarBgWidth.value,
71
+ iconWidth: avatarWidth.value,
72
+ size: avatarSize.value,
73
+ icon,
74
+ bgColor: props.avatarBgColor,
75
+ bgColorHover: props.avatarBgColorHover,
76
+ iconColor: props.avatarColor,
77
+ iconColorHover: props.avatarColorHover,
78
+ src: props.src
79
+ };
80
+ let avatarElement = icon ? createVNode(resolveComponent("t-avatar"), avatarProps, null) : null;
81
+ const itemElement = createVNode(Fragment, null, [avatarElement ? createVNode(Fragment, null, [avatarElement, createVNode("span", {
82
+ "class": `is-title`
83
+ }, [slots.title ? slots.title() : (_b = props.title) != null ? _b : ""])]) : null, (_c = slots.default) == null ? void 0 : _c.call(slots)]);
84
+ return () => {
85
+ return createVNode(resolveComponent("t-col"), mergeProps(colProps, {
86
+ "class": [`${prefixCls.value}`, {
87
+ [`is-bordered`]: showBorder.value
88
+ }],
89
+ "style": styles.value
90
+ }), {
91
+ default: () => [props.to ? createVNode(resolveComponent("t-link"), {
92
+ "to": props.to
93
+ }, _isSlot(itemElement) ? itemElement : {
94
+ default: () => [itemElement]
95
+ }) : itemElement]
96
+ });
97
+ };
98
+ }
99
+ });
100
+ export { GridCol as default };
@@ -0,0 +1,88 @@
1
+ import type { PropType } from 'vue';
2
+ import type { StrOrNumber } from '../../utils/type';
3
+ declare const _default: import("vue").DefineComponent<{
4
+ justify: import("vue-types").VueTypeDef<string>;
5
+ align: import("vue-types").VueTypeDef<string>;
6
+ x: import("vue-types").VueTypeDef<string>;
7
+ y: import("vue-types").VueTypeDef<string>;
8
+ cols: import("vue-types").VueTypeDef<string | number> & {
9
+ default: string | number;
10
+ };
11
+ prefixCls: import("vue-types").VueTypeValidableDef<string> & {
12
+ default: string;
13
+ };
14
+ square: import("vue-types").VueTypeValidableDef<boolean> & {
15
+ default: boolean;
16
+ } & {
17
+ default: boolean;
18
+ };
19
+ showBorder: import("vue-types").VueTypeValidableDef<boolean> & {
20
+ default: boolean;
21
+ } & {
22
+ default: boolean;
23
+ };
24
+ marginTop: import("vue-types").VueTypeDef<string | number>;
25
+ marginBottom: import("vue-types").VueTypeDef<string | number>;
26
+ marginLeft: import("vue-types").VueTypeDef<string | number>;
27
+ marginRight: import("vue-types").VueTypeDef<string | number>;
28
+ padding: {
29
+ type: PropType<StrOrNumber | [StrOrNumber, StrOrNumber]>;
30
+ default: number;
31
+ };
32
+ avatarShape: import("vue-types").VueTypeDef<string> & {
33
+ default: string;
34
+ };
35
+ avatarSize: import("vue-types").VueTypeDef<string> & {
36
+ default: string;
37
+ };
38
+ avatarBgWidth: import("vue-types").VueTypeDef<string | number>;
39
+ avatarWidth: import("vue-types").VueTypeDef<string | number>;
40
+ }, {
41
+ render: () => JSX.Element;
42
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
43
+ justify: import("vue-types").VueTypeDef<string>;
44
+ align: import("vue-types").VueTypeDef<string>;
45
+ x: import("vue-types").VueTypeDef<string>;
46
+ y: import("vue-types").VueTypeDef<string>;
47
+ cols: import("vue-types").VueTypeDef<string | number> & {
48
+ default: string | number;
49
+ };
50
+ prefixCls: import("vue-types").VueTypeValidableDef<string> & {
51
+ default: string;
52
+ };
53
+ square: import("vue-types").VueTypeValidableDef<boolean> & {
54
+ default: boolean;
55
+ } & {
56
+ default: boolean;
57
+ };
58
+ showBorder: import("vue-types").VueTypeValidableDef<boolean> & {
59
+ default: boolean;
60
+ } & {
61
+ default: boolean;
62
+ };
63
+ marginTop: import("vue-types").VueTypeDef<string | number>;
64
+ marginBottom: import("vue-types").VueTypeDef<string | number>;
65
+ marginLeft: import("vue-types").VueTypeDef<string | number>;
66
+ marginRight: import("vue-types").VueTypeDef<string | number>;
67
+ padding: {
68
+ type: PropType<StrOrNumber | [StrOrNumber, StrOrNumber]>;
69
+ default: number;
70
+ };
71
+ avatarShape: import("vue-types").VueTypeDef<string> & {
72
+ default: string;
73
+ };
74
+ avatarSize: import("vue-types").VueTypeDef<string> & {
75
+ default: string;
76
+ };
77
+ avatarBgWidth: import("vue-types").VueTypeDef<string | number>;
78
+ avatarWidth: import("vue-types").VueTypeDef<string | number>;
79
+ }>>, {
80
+ prefixCls: string;
81
+ padding: StrOrNumber | [StrOrNumber, StrOrNumber];
82
+ square: boolean;
83
+ showBorder: boolean;
84
+ cols: string | number;
85
+ avatarShape: string;
86
+ avatarSize: string;
87
+ }>;
88
+ export default _default;