linkmore-design 1.0.90 → 1.0.91

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 (791) hide show
  1. package/dist/Affix/style/variables.d.ts +1 -0
  2. package/dist/Alert/style/variables.d.ts +1 -0
  3. package/dist/Approval/style/variables.d.ts +1 -0
  4. package/dist/AutoComplete/style/variables.d.ts +1 -0
  5. package/dist/Avatar/style/variables.d.ts +1 -0
  6. package/dist/Badge/style/variables.d.ts +1 -0
  7. package/dist/Box/style/variables.d.ts +1 -0
  8. package/dist/Breadcrumb/style/variables.d.ts +1 -0
  9. package/dist/ButtonTags/style/variables.d.ts +1 -0
  10. package/dist/Calendar/style/variables.d.ts +1 -0
  11. package/dist/Card/style/variables.d.ts +1 -0
  12. package/dist/CardTable/style/variables.d.ts +1 -0
  13. package/dist/Carousel/style/variables.d.ts +1 -0
  14. package/dist/Cascader/style/variables.d.ts +1 -0
  15. package/dist/Checkbox/style/variables.d.ts +1 -0
  16. package/dist/Col/style/variables.d.ts +1 -0
  17. package/dist/Collapse/style/variables.d.ts +1 -0
  18. package/dist/Comment/style/variables.d.ts +1 -0
  19. package/dist/ConfigProvider/style/variables.d.ts +1 -0
  20. package/dist/CustomTableOption/style/variables.d.ts +1 -0
  21. package/dist/CustomerService/style/variables.d.ts +1 -0
  22. package/dist/DatePicker/style/variables.d.ts +1 -0
  23. package/dist/Descriptions/style/variables.d.ts +1 -0
  24. package/dist/Divider/style/variables.d.ts +1 -0
  25. package/dist/Drawer/style/variables.d.ts +1 -0
  26. package/dist/Dropdown/style/variables.d.ts +1 -0
  27. package/dist/EditTable/style/variables.d.ts +1 -0
  28. package/dist/Empty/style/variables.d.ts +1 -0
  29. package/dist/EnlargeImg/style/variables.d.ts +1 -0
  30. package/dist/Filter/style/variables.d.ts +1 -0
  31. package/dist/Form/style/variables.d.ts +1 -0
  32. package/dist/FullScreen/style/variables.d.ts +1 -0
  33. package/dist/Grid/style/variables.d.ts +1 -0
  34. package/dist/Icon/style/variables.d.ts +1 -0
  35. package/dist/IconFont/style/variables.d.ts +1 -0
  36. package/dist/IconSelect/style/variables.d.ts +1 -0
  37. package/dist/Image/style/variables.d.ts +1 -0
  38. package/dist/ImageViewer/style/variables.d.ts +1 -0
  39. package/dist/Input/style/variables.d.ts +1 -0
  40. package/dist/InputNumber/style/variables.d.ts +1 -0
  41. package/dist/Layout/style/variables.d.ts +1 -0
  42. package/dist/LeftTable/style/variables.d.ts +1 -0
  43. package/dist/List/style/variables.d.ts +1 -0
  44. package/dist/LmEditTable/style/variables.d.ts +1 -0
  45. package/dist/LmFilter/style/variables.d.ts +1 -0
  46. package/dist/LmSelect/style/variables.d.ts +1 -0
  47. package/dist/LmTable/style/variables.d.ts +1 -0
  48. package/dist/LmUpload/style/variables.d.ts +1 -0
  49. package/dist/LoadingPage/style/variables.d.ts +1 -0
  50. package/dist/Mentions/style/variables.d.ts +1 -0
  51. package/dist/Menu/style/variables.d.ts +1 -0
  52. package/dist/Modal/style/variables.d.ts +1 -0
  53. package/dist/PageHeader/style/variables.d.ts +1 -0
  54. package/dist/Pagination/style/variables.d.ts +1 -0
  55. package/dist/Popconfirm/style/variables.d.ts +1 -0
  56. package/dist/Popover/style/variables.d.ts +1 -0
  57. package/dist/Progress/style/variables.d.ts +1 -0
  58. package/dist/QuickMenu/style/variables.d.ts +1 -0
  59. package/dist/Radio/style/variables.d.ts +1 -0
  60. package/dist/Rate/style/variables.d.ts +1 -0
  61. package/dist/Result/style/variables.d.ts +1 -0
  62. package/dist/Row/style/variables.d.ts +1 -0
  63. package/dist/Segmented/style/variables.d.ts +1 -0
  64. package/dist/Select/style/variables.d.ts +1 -0
  65. package/dist/Skeleton/style/variables.d.ts +1 -0
  66. package/dist/Slider/style/variables.d.ts +1 -0
  67. package/dist/Space/style/variables.d.ts +1 -0
  68. package/dist/Spin/style/variables.d.ts +1 -0
  69. package/dist/Statistic/style/variables.d.ts +1 -0
  70. package/dist/Steps/style/variables.d.ts +1 -0
  71. package/dist/Switch/style/variables.d.ts +1 -0
  72. package/dist/Table/style/variables.d.ts +1 -0
  73. package/dist/Tabs/style/variables.d.ts +1 -0
  74. package/dist/Tag/style/variables.d.ts +1 -0
  75. package/dist/TestTable/style/variables.d.ts +1 -0
  76. package/dist/TimePicker/style/variables.d.ts +1 -0
  77. package/dist/Timeline/style/variables.d.ts +1 -0
  78. package/dist/Tooltip/style/variables.d.ts +1 -0
  79. package/dist/Transfer/style/variables.d.ts +1 -0
  80. package/dist/Tree/style/variables.d.ts +1 -0
  81. package/dist/TreeSelect/style/variables.d.ts +1 -0
  82. package/dist/Typography/style/variables.d.ts +1 -0
  83. package/dist/Upload/style/variables.d.ts +1 -0
  84. package/dist/UploadOss/style/variables.d.ts +1 -0
  85. package/dist/VirtualList/style/variables.d.ts +1 -0
  86. package/dist/base.css +511 -0
  87. package/dist/index.umd.js +1 -1
  88. package/dist/index.umd.min.js +1 -1
  89. package/dist/locale-provider/style/variables.d.ts +1 -0
  90. package/dist/message/style/variables.d.ts +1 -0
  91. package/dist/notification/style/variables.d.ts +1 -0
  92. package/dist/styles/index.d.ts +1 -0
  93. package/es/Affix/style/variables.css +0 -0
  94. package/es/Affix/style/variables.d.ts +1 -0
  95. package/es/Affix/style/variables.js +1 -0
  96. package/es/Alert/style/variables.css +26 -0
  97. package/es/Alert/style/variables.d.ts +1 -0
  98. package/es/Alert/style/variables.js +1 -0
  99. package/es/Approval/style/variables.css +199 -0
  100. package/es/Approval/style/variables.d.ts +1 -0
  101. package/es/Approval/style/variables.js +1 -0
  102. package/es/AutoComplete/style/variables.css +0 -0
  103. package/es/AutoComplete/style/variables.d.ts +1 -0
  104. package/es/AutoComplete/style/variables.js +1 -0
  105. package/es/Avatar/style/variables.css +0 -0
  106. package/es/Avatar/style/variables.d.ts +1 -0
  107. package/es/Avatar/style/variables.js +1 -0
  108. package/es/Badge/style/variables.css +0 -0
  109. package/es/Badge/style/variables.d.ts +1 -0
  110. package/es/Badge/style/variables.js +1 -0
  111. package/es/Box/style/variables.css +10 -0
  112. package/es/Breadcrumb/style/variables.css +0 -0
  113. package/es/Breadcrumb/style/variables.d.ts +1 -0
  114. package/es/Breadcrumb/style/variables.js +1 -0
  115. package/es/Button/style/variables.css +118 -0
  116. package/es/ButtonTags/style/variables.css +72 -0
  117. package/es/Calendar/style/variables.css +0 -0
  118. package/es/Calendar/style/variables.d.ts +1 -0
  119. package/es/Calendar/style/variables.js +1 -0
  120. package/es/Card/style/variables.css +0 -0
  121. package/es/Card/style/variables.d.ts +1 -0
  122. package/es/Card/style/variables.js +1 -0
  123. package/es/CardTable/style/variables.css +453 -0
  124. package/es/Carousel/style/variables.css +0 -0
  125. package/es/Carousel/style/variables.d.ts +1 -0
  126. package/es/Carousel/style/variables.js +1 -0
  127. package/es/Cascader/style/variables.css +15 -0
  128. package/es/Cascader/style/variables.d.ts +1 -0
  129. package/es/Cascader/style/variables.js +1 -0
  130. package/es/Checkbox/style/variables.css +128 -0
  131. package/es/Col/style/variables.css +0 -0
  132. package/es/Col/style/variables.d.ts +1 -0
  133. package/es/Col/style/variables.js +1 -0
  134. package/es/Collapse/style/variables.css +0 -0
  135. package/es/Collapse/style/variables.d.ts +1 -0
  136. package/es/Collapse/style/variables.js +1 -0
  137. package/es/Comment/style/variables.css +0 -0
  138. package/es/Comment/style/variables.d.ts +1 -0
  139. package/es/Comment/style/variables.js +1 -0
  140. package/es/ConfigProvider/style/variables.css +141 -0
  141. package/es/CustomTableOption/style/variables.css +99 -0
  142. package/es/CustomTableOption/style/variables.d.ts +1 -0
  143. package/es/CustomTableOption/style/variables.js +1 -0
  144. package/es/CustomerService/style/variables.css +253 -0
  145. package/es/DatePicker/style/variables.css +0 -0
  146. package/es/DatePicker/style/variables.d.ts +1 -0
  147. package/es/DatePicker/style/variables.js +1 -0
  148. package/es/Descriptions/style/index.css +139 -139
  149. package/es/Descriptions/style/variables.css +172 -0
  150. package/es/Descriptions/style/variables.d.ts +1 -0
  151. package/es/Descriptions/style/variables.js +1 -0
  152. package/es/Divider/style/variables.css +0 -0
  153. package/es/Divider/style/variables.d.ts +1 -0
  154. package/es/Divider/style/variables.js +1 -0
  155. package/es/Drawer/style/variables.css +8 -0
  156. package/es/Drawer/style/variables.d.ts +1 -0
  157. package/es/Drawer/style/variables.js +1 -0
  158. package/es/Dropdown/style/variables.css +86 -0
  159. package/es/Dropdown/style/variables.d.ts +1 -0
  160. package/es/Dropdown/style/variables.js +1 -0
  161. package/es/EditTable/style/variables.css +178 -0
  162. package/es/Empty/style/variables.css +44 -0
  163. package/es/Empty/style/variables.d.ts +1 -0
  164. package/es/Empty/style/variables.js +1 -0
  165. package/es/EnlargeImg/style/variables.css +4 -0
  166. package/es/Filter/style/variables.css +271 -0
  167. package/es/Form/style/variables.css +181 -0
  168. package/es/Form/style/variables.d.ts +1 -0
  169. package/es/Form/style/variables.js +1 -0
  170. package/es/FullScreen/style/variables.css +10 -0
  171. package/es/FullScreen/style/variables.d.ts +1 -0
  172. package/es/FullScreen/style/variables.js +1 -0
  173. package/es/Grid/style/variables.css +0 -0
  174. package/es/Grid/style/variables.d.ts +1 -0
  175. package/es/Grid/style/variables.js +1 -0
  176. package/es/Icon/style/variables.css +0 -0
  177. package/es/IconFont/style/variables.css +0 -0
  178. package/es/IconSelect/style/variables.css +25 -0
  179. package/es/Image/style/variables.css +0 -0
  180. package/es/Image/style/variables.d.ts +1 -0
  181. package/es/Image/style/variables.js +1 -0
  182. package/es/ImageViewer/style/variables.css +118 -0
  183. package/es/Input/style/variables.css +773 -0
  184. package/es/Input/style/variables.d.ts +1 -0
  185. package/es/Input/style/variables.js +1 -0
  186. package/es/InputNumber/style/variables.css +35 -0
  187. package/es/InputNumber/style/variables.d.ts +1 -0
  188. package/es/InputNumber/style/variables.js +1 -0
  189. package/es/Layout/style/variables.css +0 -0
  190. package/es/Layout/style/variables.d.ts +1 -0
  191. package/es/Layout/style/variables.js +1 -0
  192. package/es/LeftTable/style/variables.css +161 -0
  193. package/es/List/style/variables.css +0 -0
  194. package/es/List/style/variables.d.ts +1 -0
  195. package/es/List/style/variables.js +1 -0
  196. package/es/LmEditTable/style/variables.css +89 -0
  197. package/es/LmEditTable/style/variables.d.ts +1 -0
  198. package/es/LmEditTable/style/variables.js +1 -0
  199. package/es/LmFilter/style/variables.css +425 -0
  200. package/es/LmSelect/style/variables.css +247 -0
  201. package/es/LmSelect/style/variables.d.ts +1 -0
  202. package/es/LmSelect/style/variables.js +1 -0
  203. package/es/LmTable/style/variables.css +1046 -0
  204. package/es/LmUpload/style/variables.css +218 -0
  205. package/es/LoadingPage/style/variables.css +0 -0
  206. package/es/Mentions/style/variables.css +0 -0
  207. package/es/Mentions/style/variables.d.ts +1 -0
  208. package/es/Mentions/style/variables.js +1 -0
  209. package/es/Menu/style/variables.css +0 -0
  210. package/es/Menu/style/variables.d.ts +1 -0
  211. package/es/Menu/style/variables.js +1 -0
  212. package/es/Modal/style/variables.css +35 -0
  213. package/es/Modal/style/variables.d.ts +1 -0
  214. package/es/Modal/style/variables.js +1 -0
  215. package/es/PageHeader/style/variables.css +0 -0
  216. package/es/PageHeader/style/variables.d.ts +1 -0
  217. package/es/PageHeader/style/variables.js +1 -0
  218. package/es/Pagination/style/variables.css +49 -0
  219. package/es/Pagination/style/variables.d.ts +1 -0
  220. package/es/Pagination/style/variables.js +1 -0
  221. package/es/Popconfirm/style/variables.css +0 -0
  222. package/es/Popconfirm/style/variables.d.ts +1 -0
  223. package/es/Popconfirm/style/variables.js +1 -0
  224. package/es/Popover/style/variables.css +0 -0
  225. package/es/Popover/style/variables.d.ts +1 -0
  226. package/es/Popover/style/variables.js +1 -0
  227. package/es/Progress/style/variables.css +0 -0
  228. package/es/Progress/style/variables.d.ts +1 -0
  229. package/es/Progress/style/variables.js +1 -0
  230. package/es/QuickMenu/style/variables.css +56 -0
  231. package/es/QuickMenu/style/variables.d.ts +1 -0
  232. package/es/QuickMenu/style/variables.js +1 -0
  233. package/es/Radio/style/variables.css +141 -0
  234. package/es/Rate/style/variables.css +0 -0
  235. package/es/Rate/style/variables.d.ts +1 -0
  236. package/es/Rate/style/variables.js +1 -0
  237. package/es/Result/style/variables.css +0 -0
  238. package/es/Result/style/variables.d.ts +1 -0
  239. package/es/Result/style/variables.js +1 -0
  240. package/es/Row/style/variables.css +0 -0
  241. package/es/Row/style/variables.d.ts +1 -0
  242. package/es/Row/style/variables.js +1 -0
  243. package/es/Segmented/style/variables.css +0 -0
  244. package/es/Segmented/style/variables.d.ts +1 -0
  245. package/es/Segmented/style/variables.js +1 -0
  246. package/es/Select/style/variables.css +15 -0
  247. package/es/Select/style/variables.d.ts +1 -0
  248. package/es/Select/style/variables.js +1 -0
  249. package/es/Skeleton/style/variables.css +0 -0
  250. package/es/Skeleton/style/variables.d.ts +1 -0
  251. package/es/Skeleton/style/variables.js +1 -0
  252. package/es/Slider/style/variables.css +0 -0
  253. package/es/Slider/style/variables.d.ts +1 -0
  254. package/es/Slider/style/variables.js +1 -0
  255. package/es/Space/style/variables.css +0 -0
  256. package/es/Space/style/variables.d.ts +1 -0
  257. package/es/Space/style/variables.js +1 -0
  258. package/es/Spin/style/variables.css +0 -0
  259. package/es/Spin/style/variables.d.ts +1 -0
  260. package/es/Spin/style/variables.js +1 -0
  261. package/es/Statistic/style/variables.css +0 -0
  262. package/es/Statistic/style/variables.d.ts +1 -0
  263. package/es/Statistic/style/variables.js +1 -0
  264. package/es/Steps/style/variables.css +0 -0
  265. package/es/Steps/style/variables.d.ts +1 -0
  266. package/es/Steps/style/variables.js +1 -0
  267. package/es/Switch/style/variables.css +41 -0
  268. package/es/Switch/style/variables.d.ts +1 -0
  269. package/es/Switch/style/variables.js +1 -0
  270. package/es/Table/style/variables.css +0 -0
  271. package/es/Table/style/variables.d.ts +1 -0
  272. package/es/Table/style/variables.js +1 -0
  273. package/es/Tabs/style/index.css +1 -1
  274. package/es/Tabs/style/variables.css +46 -0
  275. package/es/Tabs/style/variables.d.ts +1 -0
  276. package/es/Tabs/style/variables.js +1 -0
  277. package/es/Tag/style/variables.css +64 -0
  278. package/es/Tag/style/variables.d.ts +1 -0
  279. package/es/Tag/style/variables.js +1 -0
  280. package/es/TestTable/style/variables.css +10 -0
  281. package/es/TimePicker/style/variables.css +0 -0
  282. package/es/TimePicker/style/variables.d.ts +1 -0
  283. package/es/TimePicker/style/variables.js +1 -0
  284. package/es/Timeline/style/variables.css +3 -0
  285. package/es/Timeline/style/variables.d.ts +1 -0
  286. package/es/Timeline/style/variables.js +1 -0
  287. package/es/Tooltip/style/variables.css +0 -0
  288. package/es/Tooltip/style/variables.d.ts +1 -0
  289. package/es/Tooltip/style/variables.js +1 -0
  290. package/es/Transfer/style/variables.css +0 -0
  291. package/es/Transfer/style/variables.d.ts +1 -0
  292. package/es/Transfer/style/variables.js +1 -0
  293. package/es/Tree/style/variables.css +12 -0
  294. package/es/Tree/style/variables.d.ts +1 -0
  295. package/es/Tree/style/variables.js +1 -0
  296. package/es/TreeSelect/style/variables.css +0 -0
  297. package/es/TreeSelect/style/variables.d.ts +1 -0
  298. package/es/TreeSelect/style/variables.js +1 -0
  299. package/es/Typography/style/variables.css +0 -0
  300. package/es/Typography/style/variables.d.ts +1 -0
  301. package/es/Typography/style/variables.js +1 -0
  302. package/es/Upload/style/variables.css +35 -0
  303. package/es/Upload/style/variables.d.ts +1 -0
  304. package/es/Upload/style/variables.js +1 -0
  305. package/es/UploadOss/style/variables.css +121 -0
  306. package/es/VirtualList/style/variables.css +0 -0
  307. package/es/locale-provider/style/variables.css +0 -0
  308. package/es/locale-provider/style/variables.d.ts +1 -0
  309. package/es/locale-provider/style/variables.js +1 -0
  310. package/es/message/style/variables.css +31 -0
  311. package/es/message/style/variables.d.ts +1 -0
  312. package/es/message/style/variables.js +1 -0
  313. package/es/notification/style/variables.css +41 -0
  314. package/es/notification/style/variables.d.ts +1 -0
  315. package/es/notification/style/variables.js +1 -0
  316. package/es/styles/index.d.ts +1 -0
  317. package/es/styles/index.js +1 -0
  318. package/es/styles/variables.css +6698 -0
  319. package/lib/Affix/style/variables.css +0 -0
  320. package/lib/Affix/style/variables.d.ts +1 -0
  321. package/lib/Affix/style/variables.js +3 -0
  322. package/lib/Alert/style/variables.css +26 -0
  323. package/lib/Alert/style/variables.d.ts +1 -0
  324. package/lib/Alert/style/variables.js +3 -0
  325. package/lib/Approval/style/variables.css +199 -0
  326. package/lib/Approval/style/variables.d.ts +1 -0
  327. package/lib/Approval/style/variables.js +3 -0
  328. package/lib/AutoComplete/style/variables.css +0 -0
  329. package/lib/AutoComplete/style/variables.d.ts +1 -0
  330. package/lib/AutoComplete/style/variables.js +3 -0
  331. package/lib/Avatar/style/variables.css +0 -0
  332. package/lib/Avatar/style/variables.d.ts +1 -0
  333. package/lib/Avatar/style/variables.js +3 -0
  334. package/lib/Badge/style/variables.css +0 -0
  335. package/lib/Badge/style/variables.d.ts +1 -0
  336. package/lib/Badge/style/variables.js +3 -0
  337. package/lib/Box/style/variables.css +10 -0
  338. package/lib/Breadcrumb/style/variables.css +0 -0
  339. package/lib/Breadcrumb/style/variables.d.ts +1 -0
  340. package/lib/Breadcrumb/style/variables.js +3 -0
  341. package/lib/Button/style/variables.css +118 -0
  342. package/lib/ButtonTags/style/variables.css +72 -0
  343. package/lib/Calendar/style/variables.css +0 -0
  344. package/lib/Calendar/style/variables.d.ts +1 -0
  345. package/lib/Calendar/style/variables.js +3 -0
  346. package/lib/Card/style/variables.css +0 -0
  347. package/lib/Card/style/variables.d.ts +1 -0
  348. package/lib/Card/style/variables.js +3 -0
  349. package/lib/CardTable/style/variables.css +453 -0
  350. package/lib/Carousel/style/variables.css +0 -0
  351. package/lib/Carousel/style/variables.d.ts +1 -0
  352. package/lib/Carousel/style/variables.js +3 -0
  353. package/lib/Cascader/style/variables.css +15 -0
  354. package/lib/Cascader/style/variables.d.ts +1 -0
  355. package/lib/Cascader/style/variables.js +3 -0
  356. package/lib/Checkbox/style/variables.css +128 -0
  357. package/lib/Col/style/variables.css +0 -0
  358. package/lib/Col/style/variables.d.ts +1 -0
  359. package/lib/Col/style/variables.js +3 -0
  360. package/lib/Collapse/style/variables.css +0 -0
  361. package/lib/Collapse/style/variables.d.ts +1 -0
  362. package/lib/Collapse/style/variables.js +3 -0
  363. package/lib/Comment/style/variables.css +0 -0
  364. package/lib/Comment/style/variables.d.ts +1 -0
  365. package/lib/Comment/style/variables.js +3 -0
  366. package/lib/ConfigProvider/style/variables.css +141 -0
  367. package/lib/CustomTableOption/style/variables.css +99 -0
  368. package/lib/CustomTableOption/style/variables.d.ts +1 -0
  369. package/lib/CustomTableOption/style/variables.js +3 -0
  370. package/lib/CustomerService/style/variables.css +253 -0
  371. package/lib/DatePicker/style/variables.css +0 -0
  372. package/lib/DatePicker/style/variables.d.ts +1 -0
  373. package/lib/DatePicker/style/variables.js +3 -0
  374. package/lib/Descriptions/style/index.css +139 -139
  375. package/lib/Descriptions/style/variables.css +172 -0
  376. package/lib/Descriptions/style/variables.d.ts +1 -0
  377. package/lib/Descriptions/style/variables.js +3 -0
  378. package/lib/Divider/style/variables.css +0 -0
  379. package/lib/Divider/style/variables.d.ts +1 -0
  380. package/lib/Divider/style/variables.js +3 -0
  381. package/lib/Drawer/style/variables.css +8 -0
  382. package/lib/Drawer/style/variables.d.ts +1 -0
  383. package/lib/Drawer/style/variables.js +3 -0
  384. package/lib/Dropdown/style/variables.css +86 -0
  385. package/lib/Dropdown/style/variables.d.ts +1 -0
  386. package/lib/Dropdown/style/variables.js +3 -0
  387. package/lib/EditTable/style/variables.css +178 -0
  388. package/lib/Empty/style/variables.css +44 -0
  389. package/lib/Empty/style/variables.d.ts +1 -0
  390. package/lib/Empty/style/variables.js +3 -0
  391. package/lib/EnlargeImg/style/variables.css +4 -0
  392. package/lib/Filter/style/variables.css +271 -0
  393. package/lib/Form/style/variables.css +181 -0
  394. package/lib/Form/style/variables.d.ts +1 -0
  395. package/lib/Form/style/variables.js +3 -0
  396. package/lib/FullScreen/style/variables.css +10 -0
  397. package/lib/FullScreen/style/variables.d.ts +1 -0
  398. package/lib/FullScreen/style/variables.js +3 -0
  399. package/lib/Grid/style/variables.css +0 -0
  400. package/lib/Grid/style/variables.d.ts +1 -0
  401. package/lib/Grid/style/variables.js +3 -0
  402. package/lib/Icon/style/variables.css +0 -0
  403. package/lib/IconFont/style/variables.css +0 -0
  404. package/lib/IconSelect/style/variables.css +25 -0
  405. package/lib/Image/style/variables.css +0 -0
  406. package/lib/Image/style/variables.d.ts +1 -0
  407. package/lib/Image/style/variables.js +3 -0
  408. package/lib/ImageViewer/style/variables.css +118 -0
  409. package/lib/Input/style/variables.css +773 -0
  410. package/lib/Input/style/variables.d.ts +1 -0
  411. package/lib/Input/style/variables.js +3 -0
  412. package/lib/InputNumber/style/variables.css +35 -0
  413. package/lib/InputNumber/style/variables.d.ts +1 -0
  414. package/lib/InputNumber/style/variables.js +3 -0
  415. package/lib/Layout/style/variables.css +0 -0
  416. package/lib/Layout/style/variables.d.ts +1 -0
  417. package/lib/Layout/style/variables.js +3 -0
  418. package/lib/LeftTable/style/variables.css +161 -0
  419. package/lib/List/style/variables.css +0 -0
  420. package/lib/List/style/variables.d.ts +1 -0
  421. package/lib/List/style/variables.js +3 -0
  422. package/lib/LmEditTable/style/variables.css +89 -0
  423. package/lib/LmEditTable/style/variables.d.ts +1 -0
  424. package/lib/LmEditTable/style/variables.js +3 -0
  425. package/lib/LmFilter/style/variables.css +425 -0
  426. package/lib/LmSelect/style/variables.css +247 -0
  427. package/lib/LmSelect/style/variables.d.ts +1 -0
  428. package/lib/LmSelect/style/variables.js +3 -0
  429. package/lib/LmTable/style/variables.css +1046 -0
  430. package/lib/LmUpload/style/variables.css +218 -0
  431. package/lib/LoadingPage/style/variables.css +0 -0
  432. package/lib/Mentions/style/variables.css +0 -0
  433. package/lib/Mentions/style/variables.d.ts +1 -0
  434. package/lib/Mentions/style/variables.js +3 -0
  435. package/lib/Menu/style/variables.css +0 -0
  436. package/lib/Menu/style/variables.d.ts +1 -0
  437. package/lib/Menu/style/variables.js +3 -0
  438. package/lib/Modal/style/variables.css +35 -0
  439. package/lib/Modal/style/variables.d.ts +1 -0
  440. package/lib/Modal/style/variables.js +3 -0
  441. package/lib/PageHeader/style/variables.css +0 -0
  442. package/lib/PageHeader/style/variables.d.ts +1 -0
  443. package/lib/PageHeader/style/variables.js +3 -0
  444. package/lib/Pagination/style/variables.css +49 -0
  445. package/lib/Pagination/style/variables.d.ts +1 -0
  446. package/lib/Pagination/style/variables.js +3 -0
  447. package/lib/Popconfirm/style/variables.css +0 -0
  448. package/lib/Popconfirm/style/variables.d.ts +1 -0
  449. package/lib/Popconfirm/style/variables.js +3 -0
  450. package/lib/Popover/style/variables.css +0 -0
  451. package/lib/Popover/style/variables.d.ts +1 -0
  452. package/lib/Popover/style/variables.js +3 -0
  453. package/lib/Progress/style/variables.css +0 -0
  454. package/lib/Progress/style/variables.d.ts +1 -0
  455. package/lib/Progress/style/variables.js +3 -0
  456. package/lib/QuickMenu/style/variables.css +56 -0
  457. package/lib/QuickMenu/style/variables.d.ts +1 -0
  458. package/lib/QuickMenu/style/variables.js +3 -0
  459. package/lib/Radio/style/variables.css +141 -0
  460. package/lib/Rate/style/variables.css +0 -0
  461. package/lib/Rate/style/variables.d.ts +1 -0
  462. package/lib/Rate/style/variables.js +3 -0
  463. package/lib/Result/style/variables.css +0 -0
  464. package/lib/Result/style/variables.d.ts +1 -0
  465. package/lib/Result/style/variables.js +3 -0
  466. package/lib/Row/style/variables.css +0 -0
  467. package/lib/Row/style/variables.d.ts +1 -0
  468. package/lib/Row/style/variables.js +3 -0
  469. package/lib/Segmented/style/variables.css +0 -0
  470. package/lib/Segmented/style/variables.d.ts +1 -0
  471. package/lib/Segmented/style/variables.js +3 -0
  472. package/lib/Select/style/variables.css +15 -0
  473. package/lib/Select/style/variables.d.ts +1 -0
  474. package/lib/Select/style/variables.js +3 -0
  475. package/lib/Skeleton/style/variables.css +0 -0
  476. package/lib/Skeleton/style/variables.d.ts +1 -0
  477. package/lib/Skeleton/style/variables.js +3 -0
  478. package/lib/Slider/style/variables.css +0 -0
  479. package/lib/Slider/style/variables.d.ts +1 -0
  480. package/lib/Slider/style/variables.js +3 -0
  481. package/lib/Space/style/variables.css +0 -0
  482. package/lib/Space/style/variables.d.ts +1 -0
  483. package/lib/Space/style/variables.js +3 -0
  484. package/lib/Spin/style/variables.css +0 -0
  485. package/lib/Spin/style/variables.d.ts +1 -0
  486. package/lib/Spin/style/variables.js +3 -0
  487. package/lib/Statistic/style/variables.css +0 -0
  488. package/lib/Statistic/style/variables.d.ts +1 -0
  489. package/lib/Statistic/style/variables.js +3 -0
  490. package/lib/Steps/style/variables.css +0 -0
  491. package/lib/Steps/style/variables.d.ts +1 -0
  492. package/lib/Steps/style/variables.js +3 -0
  493. package/lib/Switch/style/variables.css +41 -0
  494. package/lib/Switch/style/variables.d.ts +1 -0
  495. package/lib/Switch/style/variables.js +3 -0
  496. package/lib/Table/style/variables.css +0 -0
  497. package/lib/Table/style/variables.d.ts +1 -0
  498. package/lib/Table/style/variables.js +3 -0
  499. package/lib/Tabs/style/index.css +1 -1
  500. package/lib/Tabs/style/variables.css +46 -0
  501. package/lib/Tabs/style/variables.d.ts +1 -0
  502. package/lib/Tabs/style/variables.js +3 -0
  503. package/lib/Tag/style/variables.css +64 -0
  504. package/lib/Tag/style/variables.d.ts +1 -0
  505. package/lib/Tag/style/variables.js +3 -0
  506. package/lib/TestTable/style/variables.css +10 -0
  507. package/lib/TimePicker/style/variables.css +0 -0
  508. package/lib/TimePicker/style/variables.d.ts +1 -0
  509. package/lib/TimePicker/style/variables.js +3 -0
  510. package/lib/Timeline/style/variables.css +3 -0
  511. package/lib/Timeline/style/variables.d.ts +1 -0
  512. package/lib/Timeline/style/variables.js +3 -0
  513. package/lib/Tooltip/style/variables.css +0 -0
  514. package/lib/Tooltip/style/variables.d.ts +1 -0
  515. package/lib/Tooltip/style/variables.js +3 -0
  516. package/lib/Transfer/style/variables.css +0 -0
  517. package/lib/Transfer/style/variables.d.ts +1 -0
  518. package/lib/Transfer/style/variables.js +3 -0
  519. package/lib/Tree/style/variables.css +12 -0
  520. package/lib/Tree/style/variables.d.ts +1 -0
  521. package/lib/Tree/style/variables.js +3 -0
  522. package/lib/TreeSelect/style/variables.css +0 -0
  523. package/lib/TreeSelect/style/variables.d.ts +1 -0
  524. package/lib/TreeSelect/style/variables.js +3 -0
  525. package/lib/Typography/style/variables.css +0 -0
  526. package/lib/Typography/style/variables.d.ts +1 -0
  527. package/lib/Typography/style/variables.js +3 -0
  528. package/lib/Upload/style/variables.css +35 -0
  529. package/lib/Upload/style/variables.d.ts +1 -0
  530. package/lib/Upload/style/variables.js +3 -0
  531. package/lib/UploadOss/style/variables.css +121 -0
  532. package/lib/VirtualList/style/variables.css +0 -0
  533. package/lib/locale-provider/style/variables.css +0 -0
  534. package/lib/locale-provider/style/variables.d.ts +1 -0
  535. package/lib/locale-provider/style/variables.js +3 -0
  536. package/lib/message/style/variables.css +31 -0
  537. package/lib/message/style/variables.d.ts +1 -0
  538. package/lib/message/style/variables.js +3 -0
  539. package/lib/notification/style/variables.css +41 -0
  540. package/lib/notification/style/variables.d.ts +1 -0
  541. package/lib/notification/style/variables.js +3 -0
  542. package/lib/styles/index.d.ts +1 -0
  543. package/lib/styles/index.js +3 -0
  544. package/lib/styles/variables.css +6698 -0
  545. package/package.json +6 -2
  546. package/es/Box/style/index.js +0 -3
  547. package/es/ButtonTags/ButtonTags.js +0 -59
  548. package/es/ButtonTags/index.js +0 -13
  549. package/es/ButtonTags/style/index.js +0 -3
  550. package/es/CardTable/LmCardTable.js +0 -63
  551. package/es/CardTable/body/TableBody.js +0 -78
  552. package/es/CardTable/body/TableBodyCell.js +0 -67
  553. package/es/CardTable/body/TableBodyRow.js +0 -91
  554. package/es/CardTable/card/PictureTextColumn.js +0 -132
  555. package/es/CardTable/card/PictureTextRow.js +0 -153
  556. package/es/CardTable/card/PictureTextRowOperate.js +0 -146
  557. package/es/CardTable/context.js +0 -20
  558. package/es/CardTable/empty.js +0 -24
  559. package/es/CardTable/fns/index.js +0 -160
  560. package/es/CardTable/footer.js +0 -59
  561. package/es/CardTable/hooks/usePagination.js +0 -128
  562. package/es/CardTable/index.js +0 -17
  563. package/es/CardTable/pager/TablePagination.js +0 -62
  564. package/es/CardTable/pager/index.js +0 -48
  565. package/es/CardTable/style/index.js +0 -3
  566. package/es/CardTable/table/Table.js +0 -27
  567. package/es/CardTable/table/TableContainer.js +0 -97
  568. package/es/CardTable/table/TableRoot.js +0 -210
  569. package/es/CardTable/table/TableWrapper.js +0 -40
  570. package/es/CardTable/toolbar/ToolBarBottom.js +0 -28
  571. package/es/CardTable/utils.js +0 -31
  572. package/es/Checkbox/index.js +0 -47
  573. package/es/Checkbox/style/index.js +0 -3
  574. package/es/ConfigProvider/style/index.js +0 -3
  575. package/es/CustomerService/components/question.js +0 -120
  576. package/es/CustomerService/index.js +0 -291
  577. package/es/CustomerService/style/index.js +0 -3
  578. package/es/EditTable/EditTable.js +0 -704
  579. package/es/EditTable/index.js +0 -13
  580. package/es/EditTable/style/index.js +0 -3
  581. package/es/EnlargeImg/index.js +0 -109
  582. package/es/EnlargeImg/style/index.js +0 -3
  583. package/es/Filter/Popover.js +0 -199
  584. package/es/Filter/baseFilter/Popover.js +0 -213
  585. package/es/Filter/baseFilter/ToggleFilter.js +0 -111
  586. package/es/Filter/baseFilter/index.js +0 -100
  587. package/es/Filter/complex/ComplexFilter.js +0 -149
  588. package/es/Filter/complex/ComplexItem.js +0 -157
  589. package/es/Filter/components/Checkbox.js +0 -94
  590. package/es/Filter/components/Date.js +0 -87
  591. package/es/Filter/components/Input.js +0 -63
  592. package/es/Filter/components/Select.js +0 -89
  593. package/es/Filter/components/Tree.js +0 -64
  594. package/es/Filter/components/header.js +0 -60
  595. package/es/Filter/components/index.js +0 -47
  596. package/es/Filter/context.js +0 -15
  597. package/es/Filter/edit/editFilter.js +0 -273
  598. package/es/Filter/index.js +0 -174
  599. package/es/Filter/popContext.js +0 -15
  600. package/es/Filter/remember.js +0 -136
  601. package/es/Filter/style/index.js +0 -3
  602. package/es/Icon/index.js +0 -20
  603. package/es/Icon/style/index.js +0 -3
  604. package/es/IconFont/font/iconfont.js +0 -48
  605. package/es/IconFont/style/index.js +0 -3
  606. package/es/IconSelect/index.js +0 -115
  607. package/es/IconSelect/style/index.js +0 -3
  608. package/es/ImageViewer/style/index.js +0 -3
  609. package/es/LeftTable/index.js +0 -184
  610. package/es/LeftTable/style/index.js +0 -3
  611. package/es/LmFilter/Controls/CheckboxTags.js +0 -53
  612. package/es/LmFilter/Controls/index.js +0 -78
  613. package/es/LmFilter/LmFilter.js +0 -69
  614. package/es/LmFilter/baseFilter/fuzzySearch.js +0 -69
  615. package/es/LmFilter/baseFilter/index.js +0 -33
  616. package/es/LmFilter/clearFilter/index.js +0 -31
  617. package/es/LmFilter/complexFilter/drawer.js +0 -381
  618. package/es/LmFilter/complexFilter/index.js +0 -64
  619. package/es/LmFilter/complexFilter/valueDrawer.js +0 -235
  620. package/es/LmFilter/components/CascaderFilter.js +0 -160
  621. package/es/LmFilter/components/CheckboxFilter.js +0 -189
  622. package/es/LmFilter/components/CustomSelectFilter.js +0 -139
  623. package/es/LmFilter/components/DateFilter.js +0 -163
  624. package/es/LmFilter/components/DropdownFIlter.js +0 -264
  625. package/es/LmFilter/components/EmptyFilter.js +0 -27
  626. package/es/LmFilter/components/InputFilter.js +0 -51
  627. package/es/LmFilter/components/InputSearchClose.js +0 -74
  628. package/es/LmFilter/components/SelectFilter.js +0 -121
  629. package/es/LmFilter/components/index.js +0 -93
  630. package/es/LmFilter/customFilter/drawer.js +0 -409
  631. package/es/LmFilter/customFilter/index.js +0 -136
  632. package/es/LmFilter/customFilter/saveModal.js +0 -185
  633. package/es/LmFilter/customFilter/valueDrawer.js +0 -232
  634. package/es/LmFilter/filterFns/index.js +0 -644
  635. package/es/LmFilter/hooks/index.js +0 -18
  636. package/es/LmFilter/hooks/useDelayedFn.js +0 -29
  637. package/es/LmFilter/index.js +0 -16
  638. package/es/LmFilter/style/index.js +0 -3
  639. package/es/LmFilter/utils.js +0 -173
  640. package/es/LmFilter/wrapper/Filter.js +0 -41
  641. package/es/LmFilter/wrapper/FilterContainer.js +0 -25
  642. package/es/LmFilter/wrapper/FilterRoot.js +0 -208
  643. package/es/LmFilter/wrapper/FilterWrapper.js +0 -25
  644. package/es/LmTable/Table.js +0 -1385
  645. package/es/LmTable/VList.js +0 -594
  646. package/es/LmTable/autosize.js +0 -167
  647. package/es/LmTable/components/sortableBoxCol.js +0 -24
  648. package/es/LmTable/components/sortableItemCol.js +0 -54
  649. package/es/LmTable/context.js +0 -12
  650. package/es/LmTable/detectElementResize.js +0 -225
  651. package/es/LmTable/index.js +0 -14
  652. package/es/LmTable/resetConfig.js +0 -39
  653. package/es/LmTable/style/index.js +0 -3
  654. package/es/LmTable/util.js +0 -211
  655. package/es/LmUpload/style/index.js +0 -3
  656. package/es/LoadingPage/index.js +0 -33
  657. package/es/LoadingPage/style/index.js +0 -3
  658. package/es/Radio/index.js +0 -50
  659. package/es/Radio/style/index.js +0 -3
  660. package/es/TestTable/style/index.js +0 -3
  661. package/es/UploadOss/index.js +0 -18
  662. package/es/UploadOss/style/index.js +0 -3
  663. package/es/UploadOss/uploadBtn.js +0 -141
  664. package/es/UploadOss/uploadImg.js +0 -282
  665. package/es/VirtualList/index.js +0 -85
  666. package/es/VirtualList/style/index.js +0 -3
  667. package/es/services/newRequest.js +0 -201
  668. package/es/services/utils.js +0 -72
  669. package/lib/Box/style/index.js +0 -3
  670. package/lib/ButtonTags/ButtonTags.js +0 -59
  671. package/lib/ButtonTags/index.js +0 -13
  672. package/lib/ButtonTags/style/index.js +0 -3
  673. package/lib/CardTable/LmCardTable.js +0 -63
  674. package/lib/CardTable/body/TableBody.js +0 -78
  675. package/lib/CardTable/body/TableBodyCell.js +0 -67
  676. package/lib/CardTable/body/TableBodyRow.js +0 -91
  677. package/lib/CardTable/card/PictureTextColumn.js +0 -132
  678. package/lib/CardTable/card/PictureTextRow.js +0 -153
  679. package/lib/CardTable/card/PictureTextRowOperate.js +0 -146
  680. package/lib/CardTable/context.js +0 -20
  681. package/lib/CardTable/empty.js +0 -24
  682. package/lib/CardTable/fns/index.js +0 -160
  683. package/lib/CardTable/footer.js +0 -59
  684. package/lib/CardTable/hooks/usePagination.js +0 -128
  685. package/lib/CardTable/index.js +0 -17
  686. package/lib/CardTable/pager/TablePagination.js +0 -62
  687. package/lib/CardTable/pager/index.js +0 -48
  688. package/lib/CardTable/style/index.js +0 -3
  689. package/lib/CardTable/table/Table.js +0 -27
  690. package/lib/CardTable/table/TableContainer.js +0 -97
  691. package/lib/CardTable/table/TableRoot.js +0 -210
  692. package/lib/CardTable/table/TableWrapper.js +0 -40
  693. package/lib/CardTable/toolbar/ToolBarBottom.js +0 -28
  694. package/lib/CardTable/utils.js +0 -31
  695. package/lib/Checkbox/index.js +0 -47
  696. package/lib/Checkbox/style/index.js +0 -3
  697. package/lib/ConfigProvider/style/index.js +0 -3
  698. package/lib/CustomerService/components/question.js +0 -120
  699. package/lib/CustomerService/index.js +0 -291
  700. package/lib/CustomerService/style/index.js +0 -3
  701. package/lib/EditTable/EditTable.js +0 -704
  702. package/lib/EditTable/index.js +0 -13
  703. package/lib/EditTable/style/index.js +0 -3
  704. package/lib/EnlargeImg/index.js +0 -109
  705. package/lib/EnlargeImg/style/index.js +0 -3
  706. package/lib/Filter/Popover.js +0 -199
  707. package/lib/Filter/baseFilter/Popover.js +0 -213
  708. package/lib/Filter/baseFilter/ToggleFilter.js +0 -111
  709. package/lib/Filter/baseFilter/index.js +0 -100
  710. package/lib/Filter/complex/ComplexFilter.js +0 -149
  711. package/lib/Filter/complex/ComplexItem.js +0 -157
  712. package/lib/Filter/components/Checkbox.js +0 -94
  713. package/lib/Filter/components/Date.js +0 -87
  714. package/lib/Filter/components/Input.js +0 -63
  715. package/lib/Filter/components/Select.js +0 -89
  716. package/lib/Filter/components/Tree.js +0 -64
  717. package/lib/Filter/components/header.js +0 -60
  718. package/lib/Filter/components/index.js +0 -47
  719. package/lib/Filter/context.js +0 -15
  720. package/lib/Filter/edit/editFilter.js +0 -273
  721. package/lib/Filter/index.js +0 -174
  722. package/lib/Filter/popContext.js +0 -15
  723. package/lib/Filter/remember.js +0 -136
  724. package/lib/Filter/style/index.js +0 -3
  725. package/lib/Icon/index.js +0 -20
  726. package/lib/Icon/style/index.js +0 -3
  727. package/lib/IconFont/font/iconfont.js +0 -48
  728. package/lib/IconFont/style/index.js +0 -3
  729. package/lib/IconSelect/index.js +0 -115
  730. package/lib/IconSelect/style/index.js +0 -3
  731. package/lib/ImageViewer/style/index.js +0 -3
  732. package/lib/LeftTable/index.js +0 -184
  733. package/lib/LeftTable/style/index.js +0 -3
  734. package/lib/LmFilter/Controls/CheckboxTags.js +0 -53
  735. package/lib/LmFilter/Controls/index.js +0 -78
  736. package/lib/LmFilter/LmFilter.js +0 -69
  737. package/lib/LmFilter/baseFilter/fuzzySearch.js +0 -69
  738. package/lib/LmFilter/baseFilter/index.js +0 -33
  739. package/lib/LmFilter/clearFilter/index.js +0 -31
  740. package/lib/LmFilter/complexFilter/drawer.js +0 -381
  741. package/lib/LmFilter/complexFilter/index.js +0 -64
  742. package/lib/LmFilter/complexFilter/valueDrawer.js +0 -235
  743. package/lib/LmFilter/components/CascaderFilter.js +0 -160
  744. package/lib/LmFilter/components/CheckboxFilter.js +0 -189
  745. package/lib/LmFilter/components/CustomSelectFilter.js +0 -139
  746. package/lib/LmFilter/components/DateFilter.js +0 -163
  747. package/lib/LmFilter/components/DropdownFIlter.js +0 -264
  748. package/lib/LmFilter/components/EmptyFilter.js +0 -27
  749. package/lib/LmFilter/components/InputFilter.js +0 -51
  750. package/lib/LmFilter/components/InputSearchClose.js +0 -74
  751. package/lib/LmFilter/components/SelectFilter.js +0 -121
  752. package/lib/LmFilter/components/index.js +0 -93
  753. package/lib/LmFilter/customFilter/drawer.js +0 -409
  754. package/lib/LmFilter/customFilter/index.js +0 -136
  755. package/lib/LmFilter/customFilter/saveModal.js +0 -185
  756. package/lib/LmFilter/customFilter/valueDrawer.js +0 -232
  757. package/lib/LmFilter/filterFns/index.js +0 -644
  758. package/lib/LmFilter/hooks/index.js +0 -18
  759. package/lib/LmFilter/hooks/useDelayedFn.js +0 -29
  760. package/lib/LmFilter/index.js +0 -16
  761. package/lib/LmFilter/style/index.js +0 -3
  762. package/lib/LmFilter/utils.js +0 -173
  763. package/lib/LmFilter/wrapper/Filter.js +0 -41
  764. package/lib/LmFilter/wrapper/FilterContainer.js +0 -25
  765. package/lib/LmFilter/wrapper/FilterRoot.js +0 -208
  766. package/lib/LmFilter/wrapper/FilterWrapper.js +0 -25
  767. package/lib/LmTable/Table.js +0 -1385
  768. package/lib/LmTable/VList.js +0 -594
  769. package/lib/LmTable/autosize.js +0 -167
  770. package/lib/LmTable/components/sortableBoxCol.js +0 -24
  771. package/lib/LmTable/components/sortableItemCol.js +0 -54
  772. package/lib/LmTable/context.js +0 -12
  773. package/lib/LmTable/detectElementResize.js +0 -225
  774. package/lib/LmTable/index.js +0 -14
  775. package/lib/LmTable/resetConfig.js +0 -39
  776. package/lib/LmTable/style/index.js +0 -3
  777. package/lib/LmTable/util.js +0 -211
  778. package/lib/LmUpload/style/index.js +0 -3
  779. package/lib/LoadingPage/index.js +0 -33
  780. package/lib/LoadingPage/style/index.js +0 -3
  781. package/lib/Radio/index.js +0 -50
  782. package/lib/Radio/style/index.js +0 -3
  783. package/lib/TestTable/style/index.js +0 -3
  784. package/lib/UploadOss/index.js +0 -18
  785. package/lib/UploadOss/style/index.js +0 -3
  786. package/lib/UploadOss/uploadBtn.js +0 -141
  787. package/lib/UploadOss/uploadImg.js +0 -282
  788. package/lib/VirtualList/index.js +0 -85
  789. package/lib/VirtualList/style/index.js +0 -3
  790. package/lib/services/newRequest.js +0 -201
  791. package/lib/services/utils.js +0 -72
@@ -1,594 +0,0 @@
1
- "use strict";
2
-
3
- var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
4
-
5
- var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard").default;
6
-
7
- Object.defineProperty(exports, "__esModule", {
8
- value: true
9
- });
10
- exports.scrollTo = exports.VList = void 0;
11
-
12
- var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/objectWithoutProperties"));
13
-
14
- var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/extends"));
15
-
16
- var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/slicedToArray"));
17
-
18
- var _objectSpread2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/objectSpread2"));
19
-
20
- var _react = _interopRequireWildcard(require("react"));
21
-
22
- var _lodash = require("lodash");
23
-
24
- var _reactResizable = require("react-resizable");
25
-
26
- var _context = _interopRequireDefault(require("./context"));
27
-
28
- var _excluded = ["width", "onResize", "children"],
29
- _excluded2 = ["children"],
30
- _excluded3 = ["children", "style"],
31
- _excluded4 = ["children"],
32
- _excluded5 = ["style", "children"],
33
- _excluded6 = ["width"];
34
- // ===============reducer ============== //
35
- var initialState = {
36
- // 行高度
37
- rowHeight: 0,
38
- // 当前的scrollTop
39
- curScrollTop: 0,
40
- // 总行数
41
- totalLen: 0
42
- };
43
-
44
- function reducer(state, action) {
45
- var curScrollTop = action.curScrollTop,
46
- curScrollLeft = action.curScrollLeft,
47
- rowHeight = action.rowHeight,
48
- totalLen = action.totalLen,
49
- ifScrollTopClear = action.ifScrollTopClear,
50
- isScrolling = action.isScrolling;
51
- var stateScrollTop = state.curScrollTop;
52
-
53
- switch (action.type) {
54
- // 滚动条是否滚动中
55
- case 'changeScrolling':
56
- return (0, _objectSpread2.default)((0, _objectSpread2.default)({}, state), {}, {
57
- isScrolling: isScrolling
58
- });
59
-
60
- case 'changeTrs':
61
- return (0, _objectSpread2.default)((0, _objectSpread2.default)({}, state), {}, {
62
- curScrollTop: curScrollTop
63
- });
64
- // 滚动横向滚动条 即 改变渲染的列表operate
65
-
66
- case 'changeOperate':
67
- return (0, _objectSpread2.default)((0, _objectSpread2.default)({}, state), {}, {
68
- curScrollLeft: curScrollLeft
69
- });
70
- // 初始化每行的高度, 表格总高度, 渲染的条数
71
-
72
- case 'initHeight':
73
- return (0, _objectSpread2.default)((0, _objectSpread2.default)({}, state), {}, {
74
- rowHeight: rowHeight
75
- });
76
- // 更改totalLen
77
-
78
- case 'changeTotalLen':
79
- if (totalLen === 0) {
80
- stateScrollTop = 0;
81
- }
82
-
83
- return (0, _objectSpread2.default)((0, _objectSpread2.default)({}, state), {}, {
84
- totalLen: totalLen,
85
- curScrollTop: stateScrollTop
86
- });
87
-
88
- case 'reset':
89
- return (0, _objectSpread2.default)((0, _objectSpread2.default)({}, state), {}, {
90
- curScrollTop: ifScrollTopClear ? 0 : state.curScrollTop
91
- });
92
-
93
- default:
94
- throw new Error();
95
- }
96
- } // ============== 全局常量 ================== //
97
-
98
-
99
- var DEFAULT_VID = 'vtable';
100
- var vidMap = new Map(); // =============== context ============== //
101
-
102
- var ScrollContext = /*#__PURE__*/(0, _react.createContext)({
103
- dispatch: undefined,
104
- renderLen: 1,
105
- start: 0,
106
- offsetStart: 0,
107
- // =============
108
- rowHeight: initialState.rowHeight,
109
- totalLen: 0,
110
- vid: DEFAULT_VID
111
- });
112
- var HeaderContext = /*#__PURE__*/(0, _react.createContext)(); // ============= 组件 =================== //
113
-
114
- var HeaderWrapper = function HeaderWrapper(props) {
115
- var _useState = (0, _react.useState)(),
116
- _useState2 = (0, _slicedToArray2.default)(_useState, 2),
117
- useKeys = _useState2[0],
118
- setKeys = _useState2[1];
119
-
120
- var _useContext = (0, _react.useContext)(_context.default),
121
- width = _useContext.width;
122
-
123
- var changeKeys = function changeKeys() {
124
- setKeys(Date.now());
125
- };
126
-
127
- (0, _react.useEffect)(function () {
128
- changeKeys();
129
- }, [width]); // console.log('每列的偏移', props.children[0].props.stickyOffsets);
130
-
131
- return /*#__PURE__*/_react.default.createElement(HeaderContext.Provider, {
132
- value: {
133
- changeKeys: changeKeys
134
- }
135
- }, /*#__PURE__*/_react.default.createElement("thead", (0, _extends2.default)({
136
- key: useKeys
137
- }, props)));
138
- };
139
-
140
- var HeaderCell = function HeaderCell(props) {
141
- var width = props.width,
142
- onResize = props.onResize,
143
- children = props.children,
144
- restProps = (0, _objectWithoutProperties2.default)(props, _excluded);
145
-
146
- var _useState3 = (0, _react.useState)(width || 0),
147
- _useState4 = (0, _slicedToArray2.default)(_useState3, 2),
148
- useWidth = _useState4[0],
149
- setWidth = _useState4[1];
150
-
151
- var _useContext2 = (0, _react.useContext)(HeaderContext),
152
- changeKeys = _useContext2.changeKeys;
153
-
154
- var handleResize = function handleResize(e, _ref) {
155
- var size = _ref.size;
156
- var nValue = size.width;
157
- setWidth(nValue);
158
- };
159
-
160
- var handleResizeStop = function handleResizeStop(e, _ref2) {
161
- var size = _ref2.size;
162
- var nValue = size.width; // const sc = width - nValue > 0 ? width - nValue : 1;
163
-
164
- onResize === null || onResize === void 0 ? void 0 : onResize(width, nValue); // 触发重新渲染列头单元格,重新计算拖拽位置
165
-
166
- changeKeys === null || changeKeys === void 0 ? void 0 : changeKeys();
167
- };
168
-
169
- if (!width) {
170
- return /*#__PURE__*/_react.default.createElement("th", restProps, /*#__PURE__*/_react.default.createElement("div", {
171
- className: "text-overflow"
172
- }, children));
173
- }
174
-
175
- return /*#__PURE__*/_react.default.createElement("th", restProps, /*#__PURE__*/_react.default.createElement("div", {
176
- className: "text-overflow"
177
- }, children), /*#__PURE__*/_react.default.createElement(_reactResizable.ResizableBox, {
178
- className: "yf_resizable_bar",
179
- width: useWidth,
180
- height: 0,
181
- handle: /*#__PURE__*/_react.default.createElement("div", {
182
- className: "react-resizable-handle",
183
- onClick: function onClick(e) {
184
- e.stopPropagation();
185
- }
186
- }),
187
- onResize: handleResize,
188
- onResizeStop: handleResizeStop,
189
- minConstraints: [40, 0] // draggableOpts={{ enableUserSelectHack: false }}
190
-
191
- }));
192
- };
193
-
194
- var VCell = function VCell(props) {
195
- var children = props.children,
196
- restProps = (0, _objectWithoutProperties2.default)(props, _excluded2);
197
- return /*#__PURE__*/_react.default.createElement("td", restProps, children);
198
- };
199
-
200
- var VRow = function VRow(props, ref) {
201
- var _useContext3 = (0, _react.useContext)(ScrollContext),
202
- dispatch = _useContext3.dispatch,
203
- rowHeight = _useContext3.rowHeight,
204
- totalLen = _useContext3.totalLen,
205
- vid = _useContext3.vid;
206
-
207
- var children = props.children,
208
- style = props.style,
209
- restProps = (0, _objectWithoutProperties2.default)(props, _excluded3);
210
- var trRef = (0, _react.useRef)(null);
211
- (0, _react.useEffect)(function () {
212
- var initHeight = function initHeight(tempRef) {
213
- var _tempRef$current;
214
-
215
- if ((tempRef === null || tempRef === void 0 ? void 0 : (_tempRef$current = tempRef.current) === null || _tempRef$current === void 0 ? void 0 : _tempRef$current.offsetHeight) && !rowHeight && totalLen) {
216
- var _tempRef$current$offs, _tempRef$current2;
217
-
218
- var tempRowHeight = (_tempRef$current$offs = tempRef === null || tempRef === void 0 ? void 0 : (_tempRef$current2 = tempRef.current) === null || _tempRef$current2 === void 0 ? void 0 : _tempRef$current2.offsetHeight) !== null && _tempRef$current$offs !== void 0 ? _tempRef$current$offs : 0;
219
- vidMap.set(vid, (0, _objectSpread2.default)((0, _objectSpread2.default)({}, vidMap.get(vid)), {}, {
220
- rowItemHeight: tempRowHeight
221
- }));
222
- dispatch({
223
- type: 'initHeight',
224
- rowHeight: tempRowHeight
225
- });
226
- }
227
- };
228
-
229
- initHeight(Object.prototype.hasOwnProperty.call(ref, 'current') ? ref : trRef);
230
- }, [trRef, dispatch, rowHeight, totalLen, ref, vid]);
231
- return /*#__PURE__*/_react.default.createElement("tr", (0, _extends2.default)({}, restProps, {
232
- ref: Object.prototype.hasOwnProperty.call(ref, 'current') ? ref : trRef,
233
- style: (0, _objectSpread2.default)((0, _objectSpread2.default)({}, style), {}, {
234
- height: rowHeight || 'auto',
235
- boxSizing: 'border-box'
236
- })
237
- }), children);
238
- };
239
-
240
- var VWrapper = function VWrapper(props) {
241
- var children = props.children,
242
- restProps = (0, _objectWithoutProperties2.default)(props, _excluded4);
243
-
244
- var _useContext4 = (0, _react.useContext)(ScrollContext),
245
- renderLen = _useContext4.renderLen,
246
- start = _useContext4.start,
247
- dispatch = _useContext4.dispatch,
248
- vid = _useContext4.vid,
249
- totalLen = _useContext4.totalLen;
250
-
251
- var contents = (0, _react.useMemo)(function () {
252
- return children[1];
253
- }, [children]);
254
- var contentsLen = (0, _react.useMemo)(function () {
255
- var _contents$length;
256
-
257
- return (_contents$length = contents === null || contents === void 0 ? void 0 : contents.length) !== null && _contents$length !== void 0 ? _contents$length : 0;
258
- }, [contents]);
259
- (0, _react.useEffect)(function () {
260
- if (totalLen !== contentsLen) {
261
- dispatch({
262
- type: 'changeTotalLen',
263
- totalLen: contentsLen !== null && contentsLen !== void 0 ? contentsLen : 0
264
- });
265
- }
266
- }, [contentsLen, dispatch, vid, totalLen]);
267
- var tempNode = null;
268
-
269
- if (Array.isArray(contents) && contents.length) {
270
- tempNode = [children[0], contents.slice(start, start + (renderLen !== null && renderLen !== void 0 ? renderLen : 1)) // contents.slice(start, start + (renderLen ?? 1)).map((item) => {
271
- // if (Array.isArray(item)) {
272
- // // 兼容antd v4.3.5 --- rc-table 7.8.1及以下
273
- // return item[0];
274
- // }
275
- // // 处理antd ^v4.4.0 --- rc-table ^7.8.2
276
- // return item;
277
- // }),
278
- ];
279
- } else {
280
- tempNode = children;
281
- }
282
-
283
- return /*#__PURE__*/_react.default.createElement("tbody", restProps, tempNode);
284
- };
285
-
286
- var VTable = function VTable(props, otherParams) {
287
- var _children$1$props$dat, _children$, _children$$props, _children$$props$data;
288
-
289
- var style = props.style,
290
- children = props.children,
291
- rest = (0, _objectWithoutProperties2.default)(props, _excluded5);
292
- var width = style.width,
293
- restStyle = (0, _objectWithoutProperties2.default)(style, _excluded6);
294
-
295
- var _ref3 = otherParams !== null && otherParams !== void 0 ? otherParams : {},
296
- vid = _ref3.vid,
297
- scrollY = _ref3.scrollY,
298
- reachEnd = _ref3.reachEnd,
299
- onScroll = _ref3.onScroll,
300
- resetScrollTopWhenDataChange = _ref3.resetScrollTopWhenDataChange;
301
-
302
- var _useReducer = (0, _react.useReducer)(reducer, initialState),
303
- _useReducer2 = (0, _slicedToArray2.default)(_useReducer, 2),
304
- state = _useReducer2[0],
305
- dispatch = _useReducer2[1];
306
-
307
- var wrapTableRef = (0, _react.useRef)(null);
308
- var tableRef = (0, _react.useRef)(null);
309
- var ifChangeRef = (0, _react.useRef)(false); // 数据的总条数
310
-
311
- var _useState5 = (0, _react.useState)((_children$1$props$dat = (_children$ = children[1]) === null || _children$ === void 0 ? void 0 : (_children$$props = _children$.props) === null || _children$$props === void 0 ? void 0 : (_children$$props$data = _children$$props.data) === null || _children$$props$data === void 0 ? void 0 : _children$$props$data.length) !== null && _children$1$props$dat !== void 0 ? _children$1$props$dat : 0),
312
- _useState6 = (0, _slicedToArray2.default)(_useState5, 2),
313
- totalLen = _useState6[0],
314
- setTotalLen = _useState6[1];
315
-
316
- (0, _react.useEffect)(function () {
317
- setTotalLen(state.totalLen);
318
- }, [state.totalLen]);
319
- (0, _react.useEffect)(function () {
320
- return function () {
321
- vidMap.delete(vid);
322
- };
323
- }, [vid]); // 数据变更
324
-
325
- (0, _react.useEffect)(function () {
326
- var _children$2, _children$2$props, _children$2$props$dat;
327
-
328
- ifChangeRef.current = true;
329
-
330
- if ((0, _lodash.isNumber)((_children$2 = children[1]) === null || _children$2 === void 0 ? void 0 : (_children$2$props = _children$2.props) === null || _children$2$props === void 0 ? void 0 : (_children$2$props$dat = _children$2$props.data) === null || _children$2$props$dat === void 0 ? void 0 : _children$2$props$dat.length)) {
331
- var _children$1$props$dat2, _children$3, _children$3$props, _children$3$props$dat;
332
-
333
- dispatch({
334
- type: 'changeTotalLen',
335
- totalLen: (_children$1$props$dat2 = (_children$3 = children[1]) === null || _children$3 === void 0 ? void 0 : (_children$3$props = _children$3.props) === null || _children$3$props === void 0 ? void 0 : (_children$3$props$dat = _children$3$props.data) === null || _children$3$props$dat === void 0 ? void 0 : _children$3$props$dat.length) !== null && _children$1$props$dat2 !== void 0 ? _children$1$props$dat2 : 0
336
- });
337
- }
338
- }, [children[1].props.data]); // table总高度
339
-
340
- var tableHeight = (0, _react.useMemo)(function () {
341
- var temp = 'auto';
342
-
343
- if (state.rowHeight && totalLen) {
344
- temp = state.rowHeight * totalLen;
345
- }
346
-
347
- return temp;
348
- }, [state.rowHeight, totalLen]); // table的scrollY值
349
-
350
- var _useState7 = (0, _react.useState)(0),
351
- _useState8 = (0, _slicedToArray2.default)(_useState7, 2),
352
- tableScrollY = _useState8[0],
353
- setTableScrollY = _useState8[1]; // tableScrollY 随scrollY / tableHeight 进行变更
354
-
355
-
356
- (0, _react.useEffect)(function () {
357
- var temp = 0;
358
-
359
- if (typeof scrollY === 'string') {
360
- var _wrapTableRef$current, _wrapTableRef$current2, _wrapTableRef$current3;
361
-
362
- temp = (_wrapTableRef$current = (_wrapTableRef$current2 = wrapTableRef.current) === null || _wrapTableRef$current2 === void 0 ? void 0 : (_wrapTableRef$current3 = _wrapTableRef$current2.parentNode) === null || _wrapTableRef$current3 === void 0 ? void 0 : _wrapTableRef$current3.offsetHeight) !== null && _wrapTableRef$current !== void 0 ? _wrapTableRef$current : 0;
363
- } else {
364
- temp = scrollY;
365
- } // if (isNumber(tableHeight) && tableHeight < temp) {
366
- // temp = tableHeight;
367
- // }
368
- // 处理tableScrollY <= 0的情况
369
-
370
-
371
- if (temp <= 0) {
372
- temp = 0;
373
- }
374
-
375
- setTableScrollY(temp);
376
- }, [scrollY, tableHeight]); // 渲染的条数
377
-
378
- var renderLen = (0, _react.useMemo)(function () {
379
- var temp = 1;
380
-
381
- if (state.rowHeight && totalLen && tableScrollY) {
382
- if (tableScrollY <= 0) {
383
- temp = 0;
384
- } else {
385
- var tempRenderLen = (tableScrollY / state.rowHeight || 0) + 1 + 20; // temp = tempRenderLen > totalLen ? totalLen : tempRenderLen;
386
-
387
- temp = tempRenderLen;
388
- }
389
- }
390
-
391
- return temp;
392
- }, [state.rowHeight, totalLen, tableScrollY]); // 渲染中的第一条
393
-
394
- var start = state.rowHeight ? state.curScrollTop / state.rowHeight || 0 : 0; // 偏移量
395
-
396
- var offsetStart = state.rowHeight ? state.curScrollTop % state.rowHeight : 0; // 用来优化向上滚动出现的空白
397
-
398
- if (state.curScrollTop && state.rowHeight && state.curScrollTop > state.rowHeight) {
399
- start -= 1;
400
- offsetStart += state.rowHeight;
401
- } else {
402
- start = 0;
403
- } // 数据变更 操作scrollTop
404
-
405
-
406
- (0, _react.useEffect)(function () {
407
- var _wrapTableRef$current4;
408
-
409
- var scrollNode = (_wrapTableRef$current4 = wrapTableRef.current) === null || _wrapTableRef$current4 === void 0 ? void 0 : _wrapTableRef$current4.parentNode;
410
-
411
- if (ifChangeRef === null || ifChangeRef === void 0 ? void 0 : ifChangeRef.current) {
412
- ifChangeRef.current = false;
413
-
414
- if (resetScrollTopWhenDataChange) {
415
- // 重置scrollTop
416
- if (scrollNode) {
417
- scrollNode.scrollTop = 0;
418
- }
419
-
420
- dispatch({
421
- type: 'reset',
422
- ifScrollTopClear: true
423
- });
424
- } else {
425
- // 不重置scrollTop 不清空curScrollTop
426
- dispatch({
427
- type: 'reset',
428
- ifScrollTopClear: false
429
- });
430
- }
431
- }
432
-
433
- if (vidMap.has(vid)) {
434
- vidMap.set(vid, {
435
- scrollNode: scrollNode
436
- });
437
- }
438
- }, [totalLen, resetScrollTopWhenDataChange, vid, children]);
439
- (0, _react.useEffect)(function () {
440
- var _wrapTableRef$current5;
441
-
442
- var timer = null;
443
- var timeout = 100;
444
- var throttleScroll = (0, _lodash.throttle)(function (e) {
445
- var _e$target$scrollLeft, _e$target, _e$target$scrollTop, _e$target2, _e$target$scrollHeigh, _e$target3, _e$target$clientHeigh, _e$target4;
446
-
447
- var scrollLeft = (_e$target$scrollLeft = e === null || e === void 0 ? void 0 : (_e$target = e.target) === null || _e$target === void 0 ? void 0 : _e$target.scrollLeft) !== null && _e$target$scrollLeft !== void 0 ? _e$target$scrollLeft : 0;
448
- var scrollTop = (_e$target$scrollTop = e === null || e === void 0 ? void 0 : (_e$target2 = e.target) === null || _e$target2 === void 0 ? void 0 : _e$target2.scrollTop) !== null && _e$target$scrollTop !== void 0 ? _e$target$scrollTop : 0;
449
- var scrollHeight = (_e$target$scrollHeigh = e === null || e === void 0 ? void 0 : (_e$target3 = e.target) === null || _e$target3 === void 0 ? void 0 : _e$target3.scrollHeight) !== null && _e$target$scrollHeigh !== void 0 ? _e$target$scrollHeigh : 0;
450
- var clientHeight = (_e$target$clientHeigh = e === null || e === void 0 ? void 0 : (_e$target4 = e.target) === null || _e$target4 === void 0 ? void 0 : _e$target4.clientHeight) !== null && _e$target$clientHeigh !== void 0 ? _e$target$clientHeigh : 0; // 到底了 没有滚动条就不会触发reachEnd. 建议设置scrolly高度少点或者数据量多点.
451
-
452
- if (scrollTop === scrollHeight) {// reachEnd && reachEnd()
453
- } else if (scrollTop + clientHeight >= scrollHeight) {
454
- // 有滚动条的情况
455
- reachEnd && reachEnd();
456
- }
457
-
458
- onScroll && onScroll(scrollTop, scrollLeft);
459
-
460
- if (!timer) {
461
- dispatch({
462
- type: 'changeScrolling',
463
- isScrolling: true
464
- });
465
- } else {
466
- clearTimeout(timer);
467
- timer = null;
468
- }
469
-
470
- timer = setTimeout(function () {
471
- dispatch({
472
- type: 'changeScrolling',
473
- isScrolling: false
474
- });
475
- timer = null;
476
- }, timeout);
477
- dispatch({
478
- type: 'changeScrolling',
479
- isScrolling: true
480
- });
481
- dispatch({
482
- type: 'changeTrs',
483
- curScrollTop: scrollTop
484
- });
485
- dispatch({
486
- type: 'changeOperate',
487
- curScrollLeft: scrollLeft
488
- });
489
- }, 60);
490
- var ref = wrapTableRef === null || wrapTableRef === void 0 ? void 0 : (_wrapTableRef$current5 = wrapTableRef.current) === null || _wrapTableRef$current5 === void 0 ? void 0 : _wrapTableRef$current5.parentNode;
491
-
492
- if (ref) {
493
- ref.addEventListener('scroll', throttleScroll);
494
- }
495
-
496
- return function () {
497
- ref.removeEventListener('scroll', throttleScroll);
498
- };
499
- }, [onScroll, reachEnd]);
500
- return /*#__PURE__*/_react.default.createElement("div", {
501
- className: "virtuallist",
502
- ref: wrapTableRef,
503
- style: {
504
- width: '100%',
505
- position: 'relative',
506
- height: tableHeight,
507
- boxSizing: 'border-box',
508
- paddingTop: state.curScrollTop
509
- }
510
- }, /*#__PURE__*/_react.default.createElement(ScrollContext.Provider, {
511
- value: {
512
- dispatch: dispatch,
513
- rowHeight: state.rowHeight,
514
- start: start,
515
- offsetStart: offsetStart,
516
- scrollLeft: state.curScrollLeft,
517
- renderLen: renderLen,
518
- totalLen: totalLen,
519
- vid: vid
520
- }
521
- }, /*#__PURE__*/_react.default.createElement("table", (0, _extends2.default)({}, rest, {
522
- ref: tableRef,
523
- style: (0, _objectSpread2.default)((0, _objectSpread2.default)({}, restStyle), {}, {
524
- width: width,
525
- position: 'relative',
526
- transform: "translateY(-".concat(offsetStart, "px)"),
527
- pointerEvents: state.isScrolling ? 'none' : 'initial'
528
- })
529
- }), children)));
530
- }; // ================导出===================
531
-
532
-
533
- var VList = function VList(props) {
534
- var _props$vid = props.vid,
535
- vid = _props$vid === void 0 ? DEFAULT_VID : _props$vid,
536
- height = props.height,
537
- onReachEnd = props.onReachEnd,
538
- onScroll = props.onScroll,
539
- _props$resetTopWhenDa = props.resetTopWhenDataChange,
540
- resetTopWhenDataChange = _props$resetTopWhenDa === void 0 ? true : _props$resetTopWhenDa;
541
- var resetScrollTopWhenDataChange = onReachEnd ? false : resetTopWhenDataChange;
542
-
543
- if (!vidMap.has(vid)) {
544
- vidMap.set(vid, {});
545
- }
546
-
547
- return {
548
- table: function table(p) {
549
- return VTable(p, {
550
- vid: vid,
551
- scrollY: height,
552
- reachEnd: onReachEnd,
553
- onScroll: onScroll,
554
- resetScrollTopWhenDataChange: resetScrollTopWhenDataChange
555
- });
556
- },
557
- body: {
558
- wrapper: VWrapper,
559
- row: VRow,
560
- cell: function cell(cellProps) {
561
- return /*#__PURE__*/_react.default.createElement(VCell, cellProps);
562
- }
563
- },
564
- header: {
565
- wrapper: HeaderWrapper,
566
- cell: HeaderCell
567
- }
568
- };
569
- };
570
-
571
- exports.VList = VList;
572
-
573
- var scrollTo = function scrollTo(option) {
574
- var row = option.row,
575
- y = option.y,
576
- _option$vid = option.vid,
577
- vid = _option$vid === void 0 ? DEFAULT_VID : _option$vid;
578
-
579
- var _vidMap$get = vidMap.get(vid),
580
- scrollNode = _vidMap$get.scrollNode,
581
- rowItemHeight = _vidMap$get.rowItemHeight;
582
-
583
- if (row) {
584
- if (row - 1 > 0) {
585
- scrollNode.scrollTop = (row - 1) * (rowItemHeight !== null && rowItemHeight !== void 0 ? rowItemHeight : 0);
586
- } else {
587
- scrollNode.scrollTop = 0;
588
- }
589
- } else {
590
- scrollNode.scrollTop = y !== null && y !== void 0 ? y : 0;
591
- }
592
- };
593
-
594
- exports.scrollTo = scrollTo;