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,146 +0,0 @@
1
- "use strict";
2
-
3
- var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
4
-
5
- Object.defineProperty(exports, "__esModule", {
6
- value: true
7
- });
8
- exports.default = void 0;
9
-
10
- require("antd/es/message/style");
11
-
12
- var _message2 = _interopRequireDefault(require("antd/es/message"));
13
-
14
- require("antd/es/image/style");
15
-
16
- var _image = _interopRequireDefault(require("antd/es/image"));
17
-
18
- var _objectSpread2 = _interopRequireDefault(require("@babel/runtime/helpers/objectSpread2"));
19
-
20
- require("antd/es/typography/style");
21
-
22
- var _typography = _interopRequireDefault(require("antd/es/typography"));
23
-
24
- var _react = _interopRequireDefault(require("react"));
25
-
26
- var _classnames = _interopRequireDefault(require("classnames"));
27
-
28
- var _linkmoreDesign = require("linkmore-design");
29
-
30
- var Paragraph = _typography.default.Paragraph; // 左图右文
31
-
32
- var PictureTextRowOperate = function PictureTextRowOperate(_ref) {
33
- var index = _ref.index,
34
- cell = _ref.cell,
35
- table = _ref.table,
36
- checked = _ref.checked;
37
- var cellKey = table.cellKey,
38
- state = table.state,
39
- defaultConfig = table.defaultConfig,
40
- cellClick = table.cellClick,
41
- cellDoubleClick = table.cellDoubleClick,
42
- toggleCheckboxKey = table.toggleCheckboxKey,
43
- checkboxChange = table.checkboxChange;
44
- var trigger = state.checkboxConfig.trigger;
45
- var resetDefaultConfig = (0, _objectSpread2.default)({
46
- checkbox: true,
47
- imgurl: 'imgurl',
48
- title: function title() {
49
- return '物料名称';
50
- },
51
- code: 'code',
52
- desc: 'desc',
53
- operate: null,
54
- extend: null,
55
- columns: null,
56
- footer: null,
57
- // 底部区域
58
- extra: null
59
- }, defaultConfig); // 复选框改变事件, 将复选数据保存到缓存中
60
-
61
- var onSelctChange = function onSelctChange(val) {
62
- toggleCheckboxKey(cell[cellKey]);
63
- checkboxChange === null || checkboxChange === void 0 ? void 0 : checkboxChange(val, cell, index);
64
- }; // 单元格单击事件
65
-
66
-
67
- var onClick = function onClick() {
68
- cellClick === null || cellClick === void 0 ? void 0 : cellClick(cell, index);
69
-
70
- if (trigger === 'cell') {
71
- onSelctChange === null || onSelctChange === void 0 ? void 0 : onSelctChange(!checked);
72
- }
73
- }; // 单元格双击事件: 双击时避免单击事件触发自己实现
74
-
75
-
76
- var onDoubleClick = function onDoubleClick() {
77
- cellDoubleClick === null || cellDoubleClick === void 0 ? void 0 : cellDoubleClick(cell, index);
78
- };
79
-
80
- return /*#__PURE__*/_react.default.createElement("div", {
81
- className: "card_PTRO"
82
- }, /*#__PURE__*/_react.default.createElement("div", {
83
- className: (0, _classnames.default)('card_PTRO_container', checked && 'checked')
84
- }, /*#__PURE__*/_react.default.createElement("div", {
85
- className: "card_PTRO_body",
86
- onClick: onClick,
87
- onDoubleClick: onDoubleClick
88
- }, resetDefaultConfig.checkbox && /*#__PURE__*/_react.default.createElement("div", {
89
- className: "card_checkbox",
90
- onClick: function onClick(e) {
91
- return e.stopPropagation();
92
- }
93
- }, /*#__PURE__*/_react.default.createElement(_linkmoreDesign.Checkbox, {
94
- checked: checked,
95
- onChange: function onChange(e) {
96
- return onSelctChange(e.target.checked);
97
- }
98
- })), resetDefaultConfig.extra ? /*#__PURE__*/_react.default.createElement("div", {
99
- className: "card_extra",
100
- onClick: function onClick(e) {
101
- return e.stopPropagation();
102
- }
103
- }, /*#__PURE__*/_react.default.createElement(_linkmoreDesign.Dropdown, {
104
- placement: "bottomRight",
105
- trigger: "click",
106
- overlay: function overlay() {
107
- return resetDefaultConfig.extra(cell, table);
108
- }
109
- }, /*#__PURE__*/_react.default.createElement(_linkmoreDesign.IconFont, {
110
- type: "lmweb-gengduotianchong"
111
- }))) : null, /*#__PURE__*/_react.default.createElement("div", {
112
- className: "card_PTRO_left"
113
- }, typeof resetDefaultConfig.imgurl === 'function' ? resetDefaultConfig.imgurl(cell, table) : /*#__PURE__*/_react.default.createElement(_image.default, {
114
- src: cell[resetDefaultConfig.imgurl],
115
- fallback: ""
116
- })), /*#__PURE__*/_react.default.createElement("div", {
117
- className: "card_PTRO_right"
118
- }, resetDefaultConfig.title ? /*#__PURE__*/_react.default.createElement("div", {
119
- className: "card_title lm-font-middle-bold"
120
- }, typeof resetDefaultConfig.title === 'function' ? resetDefaultConfig.title(cell, table) : cell[resetDefaultConfig.title]) : null, resetDefaultConfig.code ? /*#__PURE__*/_react.default.createElement("div", {
121
- className: "card_copy_text"
122
- }, typeof resetDefaultConfig.code === 'function' ? resetDefaultConfig.code(cell, table) : /*#__PURE__*/_react.default.createElement(Paragraph, {
123
- copyable: {
124
- tooltips: false,
125
- onCopy: function onCopy() {
126
- return _message2.default.success('复制成功!', 1.5);
127
- }
128
- },
129
- ellipsis: true
130
- }, cell[resetDefaultConfig.code])) : null, resetDefaultConfig.columns ? /*#__PURE__*/_react.default.createElement("div", {
131
- className: "PTRO_column"
132
- }, resetDefaultConfig.columns.map(function (v, idx) {
133
- return /*#__PURE__*/_react.default.createElement("span", {
134
- key: (v === null || v === void 0 ? void 0 : v.dataIndex) || idx
135
- }, v.title, ": ", cell[v.dataIndex]);
136
- })) : null, resetDefaultConfig.extend ? /*#__PURE__*/_react.default.createElement("div", {
137
- className: "PTRO_extend"
138
- }, resetDefaultConfig.extend(cell, table)) : null, resetDefaultConfig.desc ? /*#__PURE__*/_react.default.createElement("div", {
139
- className: "PTRO_desc"
140
- }, typeof resetDefaultConfig.desc === 'function' ? resetDefaultConfig.desc(cell, table) : cell[resetDefaultConfig.desc]) : null)), /*#__PURE__*/_react.default.createElement("div", {
141
- className: "card_PTRO_footer"
142
- }, resetDefaultConfig.footer || resetDefaultConfig.operate ? (resetDefaultConfig.footer || resetDefaultConfig.operate)(cell, table) : null)));
143
- };
144
-
145
- var _default = PictureTextRowOperate;
146
- exports.default = _default;
@@ -1,20 +0,0 @@
1
- "use strict";
2
-
3
- var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard").default;
4
-
5
- Object.defineProperty(exports, "__esModule", {
6
- value: true
7
- });
8
- exports.useStore = exports.default = void 0;
9
-
10
- var _react = _interopRequireWildcard(require("react"));
11
-
12
- var CTX = /*#__PURE__*/(0, _react.createContext)();
13
-
14
- var useStore = function useStore() {
15
- return (0, _react.useContext)(CTX);
16
- };
17
-
18
- exports.useStore = useStore;
19
- var _default = CTX;
20
- exports.default = _default;
@@ -1,24 +0,0 @@
1
- "use strict";
2
-
3
- var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
4
-
5
- Object.defineProperty(exports, "__esModule", {
6
- value: true
7
- });
8
- exports.default = void 0;
9
-
10
- require("antd/es/empty/style");
11
-
12
- var _empty = _interopRequireDefault(require("antd/es/empty"));
13
-
14
- var _react = _interopRequireDefault(require("react"));
15
-
16
- // import IconFont from '@/components/IconFont';
17
- var EmptyCom = function EmptyCom() {
18
- return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement("div", null, /*#__PURE__*/_react.default.createElement(_empty.default, {
19
- image: _empty.default.PRESENTED_IMAGE_SIMPLE
20
- })));
21
- };
22
-
23
- var _default = EmptyCom;
24
- exports.default = _default;
@@ -1,160 +0,0 @@
1
- "use strict";
2
-
3
- var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
4
-
5
- Object.defineProperty(exports, "__esModule", {
6
- value: true
7
- });
8
- exports.default = void 0;
9
-
10
- var _toConsumableArray2 = _interopRequireDefault(require("@babel/runtime/helpers/toConsumableArray"));
11
-
12
- // 操作方法集合
13
- var CoreOptions = function CoreOptions(_ref) {
14
- var state = _ref.state,
15
- dispatch = _ref.dispatch,
16
- props = _ref.props;
17
- var checkboxConfig = state.checkboxConfig;
18
- var dataSource = props.dataSource,
19
- cellKey = props.cellKey,
20
- checkboxChange = props.checkboxChange,
21
- selectionConfig = props.selectionConfig;
22
- var checkKeys = checkboxConfig.checkKeys,
23
- checkValues = checkboxConfig.checkValues,
24
- checkMethod = checkboxConfig.checkMethod; // 设置选中的值: 第一个参数是数据的键,第二个参数是选中与否, 第三个参数控制是否重置
25
- // 未做key是否属于数据源校验,用于分页时保存之前的选中状态
26
-
27
- var setCheckboxKeys = function setCheckboxKeys(keys, checked, reset) {
28
- var flag = typeof checked === 'boolean' ? checked : true;
29
- var nKeys = keys;
30
- var nValues = [];
31
-
32
- if (reset) {
33
- nValues = (dataSource === null || dataSource === void 0 ? void 0 : dataSource.filter(function (v) {
34
- return nKeys.includes(v[cellKey]);
35
- })) || [];
36
- dispatch({
37
- type: 'changeCheckboxConfig',
38
- checkboxConfig: {
39
- checkKeys: nKeys,
40
- checkValues: nValues
41
- }
42
- });
43
- return;
44
- }
45
-
46
- if (flag) {
47
- nKeys = Array.from(new Set([].concat((0, _toConsumableArray2.default)(checkKeys), (0, _toConsumableArray2.default)(keys))));
48
- nValues = (dataSource === null || dataSource === void 0 ? void 0 : dataSource.filter(function (v) {
49
- return nKeys.includes(v[cellKey]);
50
- })) || [];
51
- } else {
52
- nKeys = checkKeys.filter(function (v) {
53
- return !keys.includes(v);
54
- });
55
- nValues = checkValues.filter(function (v) {
56
- return !keys.includes(v[cellKey]);
57
- });
58
- }
59
-
60
- dispatch({
61
- type: 'changeCheckboxConfig',
62
- checkboxConfig: {
63
- checkKeys: nKeys,
64
- checkValues: nValues
65
- }
66
- });
67
- dispatch({
68
- type: 'changeRadioConfig',
69
- radioConfig: {
70
- checkKey: '',
71
- checkValue: ''
72
- }
73
- });
74
- }; // 切换选中状态: 单个切换/批量切换
75
-
76
-
77
- var toggleCheckboxKey = function toggleCheckboxKey(k) {
78
- var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
79
- var _options$trigger = options.trigger,
80
- trigger = _options$trigger === void 0 ? 'default' : _options$trigger,
81
- cell = options.cell,
82
- cellIndex = options.cellIndex;
83
- var nKeys = [k];
84
- var isCheck = true;
85
- var reset = false; // 单个切换
86
-
87
- if (!Array.isArray(k)) {
88
- var isCanCheck = checkMethod; // 是否可选中
89
-
90
- isCheck = !(checkKeys === null || checkKeys === void 0 ? void 0 : checkKeys.some(function (v) {
91
- return v === k;
92
- }));
93
- var record = cell || ''; // 检测选中前置阻挡事件
94
-
95
- if (typeof checkMethod === 'function') {
96
- record = record || (dataSource === null || dataSource === void 0 ? void 0 : dataSource.find(function (v) {
97
- return v[cellKey] === k;
98
- }));
99
- isCanCheck = checkMethod(record, state, trigger);
100
- }
101
-
102
- if (!isCanCheck) return; // 触发复选框改变事件: 仅手动触发有效
103
-
104
- if (typeof checkboxChange === 'function') {
105
- record = record || (dataSource === null || dataSource === void 0 ? void 0 : dataSource.find(function (v) {
106
- return v[cellKey] === k;
107
- }));
108
- checkboxChange === null || checkboxChange === void 0 ? void 0 : checkboxChange({
109
- checked: isCheck,
110
- cell: record,
111
- cellIndex: cellIndex
112
- });
113
- }
114
- } // 多个切换 通过重置去除选中项保留切换项
115
-
116
-
117
- if (Array.isArray(k)) {
118
- var checkArr = checkKeys.filter(function (v) {
119
- return !k.includes(v);
120
- }); // 选中的值
121
-
122
- var notCheckArr = k.filter(function (v) {
123
- return !checkKeys.includes(v);
124
- }); // 未选中的值
125
-
126
- nKeys = [].concat((0, _toConsumableArray2.default)(notCheckArr), (0, _toConsumableArray2.default)(checkArr)); // 组合新值为选中状态
127
-
128
- reset = true;
129
- }
130
-
131
- setCheckboxKeys(nKeys, isCheck, reset);
132
- };
133
-
134
- var cellClick = function cellClick(cell, index) {
135
- var _props$cellClick;
136
-
137
- if (!checkKeys.length) {
138
- // 校验是否存在单选
139
- var isRadio = Array.isArray(selectionConfig.type) ? selectionConfig.type.includes('radio') : selectionConfig.type === 'radio';
140
- isRadio && dispatch({
141
- type: 'changeRadioConfig',
142
- radioConfig: {
143
- checkKey: cell[cellKey],
144
- checkValue: cell
145
- }
146
- });
147
- }
148
-
149
- (_props$cellClick = props.cellClick) === null || _props$cellClick === void 0 ? void 0 : _props$cellClick.call(props, cell, index);
150
- };
151
-
152
- return {
153
- setCheckboxKeys: setCheckboxKeys,
154
- toggleCheckboxKey: toggleCheckboxKey,
155
- cellClick: cellClick
156
- };
157
- };
158
-
159
- var _default = CoreOptions;
160
- exports.default = _default;
@@ -1,59 +0,0 @@
1
- "use strict";
2
-
3
- var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard").default;
4
-
5
- var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
6
-
7
- Object.defineProperty(exports, "__esModule", {
8
- value: true
9
- });
10
- exports.default = void 0;
11
-
12
- require("antd/es/pagination/style");
13
-
14
- var _pagination = _interopRequireDefault(require("antd/es/pagination"));
15
-
16
- var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
17
-
18
- var _react = _interopRequireWildcard(require("react"));
19
-
20
- var _context = _interopRequireDefault(require("./context"));
21
-
22
- var Footer = function Footer() {
23
- var _useContext = (0, _react.useContext)(_context.default),
24
- dispatch = _useContext.dispatch,
25
- data = _useContext.data,
26
- onChange = _useContext.onChange,
27
- defaultPage = _useContext.defaultPage;
28
-
29
- var onPageChange = function onPageChange(pageIndex, pageSize) {
30
- dispatch({
31
- type: 'changePage',
32
- page: {
33
- pageIndex: pageIndex,
34
- pageSize: pageSize
35
- }
36
- });
37
- onChange === null || onChange === void 0 ? void 0 : onChange(pageIndex, pageSize);
38
- };
39
-
40
- var config = (0, _react.useMemo)(function () {
41
- return {
42
- total: (defaultPage === null || defaultPage === void 0 ? void 0 : defaultPage.total) || data.length,
43
- current: (defaultPage === null || defaultPage === void 0 ? void 0 : defaultPage.pageIndex) || 1,
44
- pageSize: (defaultPage === null || defaultPage === void 0 ? void 0 : defaultPage.pageSize) || 20
45
- };
46
- }, [defaultPage]);
47
- return /*#__PURE__*/_react.default.createElement(_pagination.default, (0, _extends2.default)({
48
- showSizeChanger: true,
49
- showQuickJumper: true,
50
- showTotal: function showTotal(total) {
51
- return "\u5171 ".concat(total, " \u6761");
52
- },
53
- size: "small",
54
- onChange: onPageChange
55
- }, config));
56
- };
57
-
58
- var _default = Footer;
59
- exports.default = _default;
@@ -1,128 +0,0 @@
1
- "use strict";
2
-
3
- var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
4
-
5
- Object.defineProperty(exports, "__esModule", {
6
- value: true
7
- });
8
- exports.default = void 0;
9
-
10
- var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator"));
11
-
12
- var _toConsumableArray2 = _interopRequireDefault(require("@babel/runtime/helpers/toConsumableArray"));
13
-
14
- var _objectSpread2 = _interopRequireDefault(require("@babel/runtime/helpers/objectSpread2"));
15
-
16
- var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator"));
17
-
18
- var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
19
-
20
- var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
21
-
22
- var _react = require("react");
23
-
24
- var _excluded = ["defaultPageSize", "defaultCurrent", "refreshDeps"];
25
-
26
- var usePagination = function usePagination(service) {
27
- var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
28
- var _options$defaultPageS = options.defaultPageSize,
29
- defaultPageSize = _options$defaultPageS === void 0 ? 20 : _options$defaultPageS,
30
- _options$defaultCurre = options.defaultCurrent,
31
- defaultCurrent = _options$defaultCurre === void 0 ? 1 : _options$defaultCurre,
32
- _options$refreshDeps = options.refreshDeps,
33
- refreshDeps = _options$refreshDeps === void 0 ? [] : _options$refreshDeps,
34
- rest = (0, _objectWithoutProperties2.default)(options, _excluded);
35
-
36
- var _useState = (0, _react.useState)({
37
- loading: false,
38
- data: {
39
- pageIndex: defaultCurrent,
40
- pageSize: defaultPageSize
41
- }
42
- }),
43
- _useState2 = (0, _slicedToArray2.default)(_useState, 2),
44
- result = _useState2[0],
45
- setResult = _useState2[1];
46
-
47
- var getRequest = (0, _react.useCallback)( /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee() {
48
- var c,
49
- p,
50
- res,
51
- _args = arguments;
52
- return _regenerator.default.wrap(function _callee$(_context) {
53
- while (1) {
54
- switch (_context.prev = _context.next) {
55
- case 0:
56
- c = _args.length > 0 && _args[0] !== undefined ? _args[0] : defaultCurrent;
57
- p = _args.length > 1 && _args[1] !== undefined ? _args[1] : defaultPageSize;
58
- setResult(function (old) {
59
- return (0, _objectSpread2.default)((0, _objectSpread2.default)({}, old), {}, {
60
- loading: true
61
- });
62
- });
63
- _context.next = 5;
64
- return service((0, _objectSpread2.default)({
65
- current: c,
66
- pageSize: p
67
- }, rest));
68
-
69
- case 5:
70
- res = _context.sent;
71
- setResult(function (old) {
72
- return (0, _objectSpread2.default)((0, _objectSpread2.default)((0, _objectSpread2.default)({}, old), res), {}, {
73
- loading: false
74
- });
75
- });
76
-
77
- case 7:
78
- case "end":
79
- return _context.stop();
80
- }
81
- }
82
- }, _callee);
83
- })), [service].concat((0, _toConsumableArray2.default)(refreshDeps)));
84
-
85
- var _ref2 = (result === null || result === void 0 ? void 0 : result.data) || {},
86
- _ref2$pageIndex = _ref2.pageIndex,
87
- pageIndex = _ref2$pageIndex === void 0 ? 1 : _ref2$pageIndex,
88
- _ref2$pageSize = _ref2.pageSize,
89
- pageSize = _ref2$pageSize === void 0 ? defaultPageSize : _ref2$pageSize,
90
- _ref2$totalCount = _ref2.totalCount,
91
- totalCount = _ref2$totalCount === void 0 ? 0 : _ref2$totalCount; // 总页数
92
-
93
-
94
- var totalPage = (0, _react.useMemo)(function () {
95
- return Math.ceil(totalCount / pageSize);
96
- }, [pageSize, totalCount]); // 分页改变触发
97
-
98
- var onChange = function onChange(c, p) {
99
- return getRequest(c, p);
100
- }; // 手动重取数据, 不传入数据则触发刷新
101
-
102
-
103
- var refetch = function refetch(_ref3) {
104
- var _ref3$current = _ref3.current,
105
- c = _ref3$current === void 0 ? pageIndex : _ref3$current,
106
- _ref3$pageSize = _ref3.pageSize,
107
- p = _ref3$pageSize === void 0 ? pageSize : _ref3$pageSize;
108
- return getRequest(c, p);
109
- }; // 初始化获取数据
110
-
111
-
112
- (0, _react.useEffect)(function () {
113
- getRequest(defaultCurrent, defaultPageSize);
114
- }, [getRequest]);
115
- return (0, _objectSpread2.default)((0, _objectSpread2.default)({}, result), {}, {
116
- refetch: refetch,
117
- pagination: {
118
- current: pageIndex,
119
- pageSize: pageSize,
120
- total: totalCount,
121
- totalPage: totalPage,
122
- onChange: onChange
123
- }
124
- });
125
- };
126
-
127
- var _default = usePagination;
128
- exports.default = _default;
@@ -1,17 +0,0 @@
1
- "use strict";
2
-
3
- var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
4
-
5
- Object.defineProperty(exports, "__esModule", {
6
- value: true
7
- });
8
- exports.default = void 0;
9
-
10
- var _LmCardTable = _interopRequireDefault(require("./LmCardTable"));
11
-
12
- var _usePagination = _interopRequireDefault(require("./hooks/usePagination"));
13
-
14
- _LmCardTable.default.usePagination = _usePagination.default;
15
- var _default = _LmCardTable.default; // export * from LmCardTable;
16
-
17
- exports.default = _default;
@@ -1,62 +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.default = void 0;
11
-
12
- var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
13
-
14
- var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
15
-
16
- var _react = _interopRequireWildcard(require("react"));
17
-
18
- var _linkmoreDesign = require("linkmore-design");
19
-
20
- var _excluded = ["onChange"];
21
-
22
- var LmCardTablePagination = function LmCardTablePagination(_ref) {
23
- var table = _ref.table;
24
- var dispatch = table.dispatch,
25
- _table$dataSource = table.dataSource,
26
- dataSource = _table$dataSource === void 0 ? [] : _table$dataSource,
27
- _table$pagination = table.pagination,
28
- onChange = _table$pagination.onChange,
29
- paginationProps = (0, _objectWithoutProperties2.default)(_table$pagination, _excluded); // 分页改变事件
30
-
31
- var onPageChange = function onPageChange(pageIndex, pageSize) {
32
- dispatch({
33
- type: 'changePage',
34
- page: {
35
- pageIndex: pageIndex,
36
- pageSize: pageSize,
37
- total: (paginationProps === null || paginationProps === void 0 ? void 0 : paginationProps.total) || 0
38
- }
39
- });
40
- onChange === null || onChange === void 0 ? void 0 : onChange(pageIndex, pageSize);
41
- }; // 默认的配置
42
-
43
-
44
- var defaultProps = {
45
- size: 'small',
46
- showSizeChanger: true,
47
- showQuickJumper: true,
48
- showTotal: function showTotal(total) {
49
- return "\u5171 ".concat(total, " \u6761");
50
- },
51
- total: (paginationProps === null || paginationProps === void 0 ? void 0 : paginationProps.total) || (dataSource === null || dataSource === void 0 ? void 0 : dataSource.length) || 0,
52
- defaultPageSize: 20,
53
- pageSizeOptions: [20, 50, 100, 500],
54
- onChange: onPageChange
55
- };
56
- return /*#__PURE__*/_react.default.createElement("div", {
57
- className: "lm_card_table_pagination"
58
- }, /*#__PURE__*/_react.default.createElement(_linkmoreDesign.Pagination, (0, _extends2.default)({}, defaultProps, paginationProps)));
59
- };
60
-
61
- var _default = LmCardTablePagination;
62
- exports.default = _default;
@@ -1,48 +0,0 @@
1
- "use strict";
2
-
3
- var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
4
-
5
- Object.defineProperty(exports, "__esModule", {
6
- value: true
7
- });
8
- exports.default = void 0;
9
-
10
- var _react = _interopRequireDefault(require("react"));
11
-
12
- var _TablePagination = _interopRequireDefault(require("./TablePagination"));
13
-
14
- var CardTablePager = /*#__PURE__*/_react.default.memo(function (_ref) {
15
- var table = _ref.table;
16
- var pagination = table.pagination,
17
- pagerConfig = table.pagerConfig; // left || right:插槽
18
-
19
- var left = pagerConfig.left,
20
- right = pagerConfig.right; // 底部工具栏左侧插槽: 默认空 div 标签占位
21
-
22
- var LeftSlot = function LeftSlot() {
23
- if (!left) {
24
- return /*#__PURE__*/_react.default.createElement("div", null);
25
- }
26
-
27
- ;
28
- return typeof left === 'function' ? left(table) : left;
29
- }; // 底部工具栏右侧插槽
30
-
31
-
32
- var RighSlot = function RighSlot() {
33
- if (!right) {
34
- return pagination ? /*#__PURE__*/_react.default.createElement(_TablePagination.default, {
35
- table: table
36
- }) : null;
37
- }
38
-
39
- return typeof right === 'function' ? right(table, _TablePagination.default) : right;
40
- };
41
-
42
- return /*#__PURE__*/_react.default.createElement("div", {
43
- className: "lm_card_table_pager"
44
- }, /*#__PURE__*/_react.default.createElement(LeftSlot, null), /*#__PURE__*/_react.default.createElement(RighSlot, null));
45
- });
46
-
47
- var _default = CardTablePager;
48
- exports.default = _default;
@@ -1,3 +0,0 @@
1
- "use strict";
2
-
3
- require("./index.css");