linkmore-design 1.0.30 → 1.0.33

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 (495) hide show
  1. package/dist/index.umd.js +689 -24
  2. package/dist/index.umd.min.js +5 -5
  3. package/es/Button/index.d.ts +3 -0
  4. package/es/Button/index.js +43 -0
  5. package/es/Button/style/index.d.ts +1 -0
  6. package/es/Button/style/index.js +1 -0
  7. package/es/Button/style/style.css +110 -0
  8. package/es/ButtonTags/ButtonTags.js +59 -0
  9. package/es/ButtonTags/index.js +13 -0
  10. package/es/ButtonTags/style/index.js +3 -0
  11. package/es/ButtonTags/style/style.css +577 -0
  12. package/es/Card/index.d.ts +2 -0
  13. package/es/Card/index.js +17 -0
  14. package/es/Card/style/index.css +505 -0
  15. package/es/Card/style/index.d.ts +1 -0
  16. package/es/Card/style/index.js +1 -0
  17. package/es/Checkbox/index.js +47 -0
  18. package/es/Checkbox/style/index.js +3 -0
  19. package/es/Checkbox/style/style.css +128 -0
  20. package/es/CkFilter/baseFilter/NestedFilter.js +137 -0
  21. package/es/CkFilter/baseFilter/filterMenu.js +222 -0
  22. package/es/CkFilter/baseFilter/index.js +92 -0
  23. package/es/CkFilter/baseFilter/moreFilters.js +237 -0
  24. package/es/CkFilter/complexFilter/drawer.js +379 -0
  25. package/es/CkFilter/complexFilter/index.js +69 -0
  26. package/es/CkFilter/components/CascaderFilter.js +132 -0
  27. package/es/CkFilter/components/CheckboxTags.js +53 -0
  28. package/es/CkFilter/components/Controls.js +53 -0
  29. package/es/CkFilter/components/CustomModal.js +230 -0
  30. package/es/CkFilter/components/DragBox/DndContainer.js +49 -0
  31. package/es/CkFilter/components/DragBox/index.js +63 -0
  32. package/es/CkFilter/components/DragBox/sortableBox.js +24 -0
  33. package/es/CkFilter/components/DragBox/sortableItem.js +111 -0
  34. package/es/CkFilter/components/Nested.js +90 -0
  35. package/es/CkFilter/components/filterTypes.js +815 -0
  36. package/es/CkFilter/components/modal.js +297 -0
  37. package/es/CkFilter/components/modalBack.js +261 -0
  38. package/es/CkFilter/context.js +174 -0
  39. package/es/CkFilter/customFilter/drawer.js +395 -0
  40. package/es/CkFilter/customFilter/index.js +129 -0
  41. package/es/CkFilter/customFilter/radioGroup.js +64 -0
  42. package/es/CkFilter/filter.js +153 -0
  43. package/es/CkFilter/icon_placeholder.png +0 -0
  44. package/es/CkFilter/index.js +13 -0
  45. package/es/CkFilter/style/index.js +3 -0
  46. package/es/CkFilter/style/style.css +1084 -0
  47. package/es/CkFilter/utils.js +65 -0
  48. package/es/CustomTableOption/columnsSort.d.ts +4 -0
  49. package/es/CustomTableOption/columnsSort.js +317 -0
  50. package/es/CustomTableOption/filterSort.d.ts +4 -0
  51. package/es/CustomTableOption/filterSort.js +193 -0
  52. package/es/CustomTableOption/index.d.ts +12 -0
  53. package/es/CustomTableOption/index.js +122 -0
  54. package/es/CustomTableOption/style/index.css +548 -0
  55. package/es/CustomTableOption/style/index.d.ts +1 -0
  56. package/es/CustomTableOption/style/index.js +1 -0
  57. package/es/CustomerService/assets/question01.png +0 -0
  58. package/es/CustomerService/assets/send.png +0 -0
  59. package/es/CustomerService/assets/service.png +0 -0
  60. package/es/CustomerService/assets/shuoming01.png +0 -0
  61. package/es/CustomerService/assets/shuoming02.png +0 -0
  62. package/es/CustomerService/components/question.js +120 -0
  63. package/es/CustomerService/index.js +291 -0
  64. package/es/CustomerService/style/index.js +3 -0
  65. package/es/CustomerService/style/style.css +758 -0
  66. package/es/Drawer/index.d.ts +10 -0
  67. package/es/Drawer/index.js +42 -0
  68. package/es/Drawer/style/index.css +512 -0
  69. package/es/Drawer/style/index.d.ts +1 -0
  70. package/es/Drawer/style/index.js +1 -0
  71. package/es/Dropdown/index.d.ts +14 -0
  72. package/es/Dropdown/index.js +113 -0
  73. package/es/Dropdown/style/index.css +567 -0
  74. package/es/Dropdown/style/index.d.ts +1 -0
  75. package/es/Dropdown/style/index.js +1 -0
  76. package/es/EditTable/EditTable.js +588 -0
  77. package/es/EditTable/index.js +13 -0
  78. package/es/EditTable/style/index.js +3 -0
  79. package/es/EditTable/style/style.css +521 -0
  80. package/es/Empty/index.d.ts +7 -0
  81. package/es/Empty/index.js +3 -0
  82. package/es/Empty/style/index.css +505 -0
  83. package/es/Empty/style/index.d.ts +1 -0
  84. package/es/Empty/style/index.js +1 -0
  85. package/es/EnlargeImg/index.js +109 -0
  86. package/es/EnlargeImg/style/index.js +3 -0
  87. package/es/EnlargeImg/style/style.css +4 -0
  88. package/es/Filter/Popover.js +199 -0
  89. package/es/Filter/baseFilter/Popover.js +214 -0
  90. package/es/Filter/baseFilter/ToggleFilter.js +112 -0
  91. package/es/Filter/baseFilter/index.js +100 -0
  92. package/es/Filter/complex/ComplexFilter.js +149 -0
  93. package/es/Filter/complex/ComplexItem.js +157 -0
  94. package/es/Filter/components/Checkbox.js +94 -0
  95. package/es/Filter/components/Date.js +87 -0
  96. package/es/Filter/components/Input.js +63 -0
  97. package/es/Filter/components/Select.js +89 -0
  98. package/es/Filter/components/Tree.js +64 -0
  99. package/es/Filter/components/header.js +60 -0
  100. package/es/Filter/components/index.js +47 -0
  101. package/es/Filter/context.js +15 -0
  102. package/es/Filter/edit/editFilter.js +277 -0
  103. package/es/Filter/index.js +174 -0
  104. package/es/Filter/popContext.js +15 -0
  105. package/es/Filter/remember.js +137 -0
  106. package/es/Filter/style/index.js +3 -0
  107. package/es/Filter/style/style.css +776 -0
  108. package/es/Icon/index.js +20 -0
  109. package/es/Icon/style/index.js +1 -0
  110. package/es/Icon/style/style.css +0 -0
  111. package/es/IconFont/index.js +15 -0
  112. package/es/IconFont/style/index.js +1 -0
  113. package/es/IconFont/style/style.css +0 -0
  114. package/es/IconSelect/iconJson.json +2935 -0
  115. package/es/IconSelect/index.js +115 -0
  116. package/es/IconSelect/style/index.js +3 -0
  117. package/es/IconSelect/style/style.css +25 -0
  118. package/es/Image/index.d.ts +2 -0
  119. package/es/Image/index.js +3 -0
  120. package/es/Image/style/index.css +505 -0
  121. package/es/Image/style/index.d.ts +1 -0
  122. package/es/Image/style/index.js +1 -0
  123. package/es/Input/index.js +74 -0
  124. package/es/Input/style/index.js +3 -0
  125. package/es/Input/style/style.css +738 -0
  126. package/es/InputNumber/index.d.ts +11 -0
  127. package/es/InputNumber/index.js +43 -0
  128. package/es/InputNumber/style/index.css +540 -0
  129. package/es/InputNumber/style/index.d.ts +1 -0
  130. package/es/InputNumber/style/index.js +1 -0
  131. package/es/LeftTable/assets/imgTest.jpg +0 -0
  132. package/es/LeftTable/index.js +118 -0
  133. package/es/LeftTable/style/index.js +3 -0
  134. package/es/LeftTable/style/style.css +617 -0
  135. package/es/LmTable/ImgList/body.js +111 -0
  136. package/es/LmTable/ImgList/cardCell.js +192 -0
  137. package/es/LmTable/ImgList/context.js +12 -0
  138. package/es/LmTable/ImgList/empty.js +24 -0
  139. package/es/LmTable/ImgList/footer.js +59 -0
  140. package/es/LmTable/ImgList/imgCell.js +175 -0
  141. package/es/LmTable/ImgList/imgTable.js +110 -0
  142. package/es/LmTable/ImgList/index.js +13 -0
  143. package/es/LmTable/Table.js +425 -0
  144. package/es/LmTable/VList.js +594 -0
  145. package/es/LmTable/autosize.js +170 -0
  146. package/es/LmTable/context.js +12 -0
  147. package/es/LmTable/detectElementResize.js +225 -0
  148. package/es/LmTable/index.js +19 -0
  149. package/es/LmTable/resetConfig.js +39 -0
  150. package/es/LmTable/style/index.js +3 -0
  151. package/es/LmTable/style/style.css +1377 -0
  152. package/es/LoadingPage/index.js +33 -0
  153. package/es/LoadingPage/style/index.js +1 -0
  154. package/es/LoadingPage/style/style.css +0 -0
  155. package/es/Menu/index.d.ts +7 -0
  156. package/es/Menu/index.js +3 -0
  157. package/es/Menu/style/index.css +505 -0
  158. package/es/Menu/style/index.d.ts +1 -0
  159. package/es/Menu/style/index.js +1 -0
  160. package/es/Modal/index.d.ts +12 -0
  161. package/es/Modal/index.js +94 -0
  162. package/es/Modal/style/index.css +540 -0
  163. package/es/Modal/style/index.d.ts +1 -0
  164. package/es/Modal/style/index.js +1 -0
  165. package/es/Notification/index.d.ts +7 -0
  166. package/es/Notification/index.js +10 -0
  167. package/es/Notification/style/index.css +508 -0
  168. package/es/Notification/style/index.d.ts +1 -0
  169. package/es/Notification/style/index.js +1 -0
  170. package/es/OldModal/add.js +68 -0
  171. package/es/OldModal/confirm.js +88 -0
  172. package/es/OldModal/edit.js +44 -0
  173. package/es/OldModal/exportModal.js +300 -0
  174. package/es/OldModal/index.js +24 -0
  175. package/es/OldModal/style/index.js +3 -0
  176. package/es/OldModal/style/style.css +119 -0
  177. package/es/Pagination/index.d.ts +7 -0
  178. package/es/Pagination/index.js +37 -0
  179. package/es/Pagination/style/index.css +554 -0
  180. package/es/Pagination/style/index.d.ts +1 -0
  181. package/es/Pagination/style/index.js +1 -0
  182. package/es/PopTable/BseTable.js +113 -0
  183. package/es/PopTable/index.js +151 -0
  184. package/es/PopTable/style/index.js +3 -0
  185. package/es/PopTable/style/style.css +715 -0
  186. package/es/ProTable/ImgList/body.js +111 -0
  187. package/es/ProTable/ImgList/cardCell.js +192 -0
  188. package/es/ProTable/ImgList/context.js +12 -0
  189. package/es/ProTable/ImgList/empty.js +24 -0
  190. package/es/ProTable/ImgList/footer.js +59 -0
  191. package/es/ProTable/ImgList/imgCell.js +181 -0
  192. package/es/ProTable/ImgList/imgTable.js +110 -0
  193. package/es/ProTable/ImgList/index.js +13 -0
  194. package/es/ProTable/Table.js +335 -0
  195. package/es/ProTable/VList.js +594 -0
  196. package/es/ProTable/autosize.js +170 -0
  197. package/es/ProTable/context.js +12 -0
  198. package/es/ProTable/detectElementResize.js +225 -0
  199. package/es/ProTable/index.js +19 -0
  200. package/es/ProTable/resetConfig.js +39 -0
  201. package/es/ProTable/style/index.js +3 -0
  202. package/es/ProTable/style/style.css +1079 -0
  203. package/es/Radio/index.js +50 -0
  204. package/es/Radio/style/index.js +3 -0
  205. package/es/Radio/style/style.css +138 -0
  206. package/es/Select/index.d.ts +18 -0
  207. package/es/Select/index.js +39 -0
  208. package/es/Select/style/index.css +517 -0
  209. package/es/Select/style/index.d.ts +1 -0
  210. package/es/Select/style/index.js +1 -0
  211. package/es/Space/index.d.ts +4 -0
  212. package/es/Space/index.js +3 -0
  213. package/es/Space/style/index.css +505 -0
  214. package/es/Space/style/index.d.ts +1 -0
  215. package/es/Space/style/index.js +1 -0
  216. package/es/Switch/index.d.ts +2 -0
  217. package/es/Switch/index.js +3 -0
  218. package/es/Switch/style/index.css +505 -0
  219. package/es/Switch/style/index.d.ts +1 -0
  220. package/es/Switch/style/index.js +1 -0
  221. package/es/TabBar/index.d.ts +12 -0
  222. package/es/TabBar/index.js +33 -0
  223. package/es/TabBar/style/index.d.ts +1 -0
  224. package/es/TabBar/style/index.js +1 -0
  225. package/es/TabBar/style/style.css +86 -0
  226. package/es/Table/index.d.ts +2 -0
  227. package/es/Table/index.js +3 -0
  228. package/es/Table/style/index.css +505 -0
  229. package/es/Table/style/index.d.ts +1 -0
  230. package/es/Table/style/index.js +1 -0
  231. package/es/TableRender/index.js +15 -0
  232. package/es/TableRender/state.js +72 -0
  233. package/es/TableRender/style/index.js +3 -0
  234. package/es/TableRender/style/style.css +0 -0
  235. package/es/Tabs/index.d.ts +12 -0
  236. package/es/Tabs/index.js +33 -0
  237. package/es/Tabs/style/index.css +511 -0
  238. package/es/Tabs/style/index.d.ts +1 -0
  239. package/es/Tabs/style/index.js +1 -0
  240. package/es/Tag/index.d.ts +12 -0
  241. package/es/Tag/index.js +36 -0
  242. package/es/Tag/style/index.css +566 -0
  243. package/es/Tag/style/index.d.ts +1 -0
  244. package/es/Tag/style/index.js +1 -0
  245. package/es/Tree/index.d.ts +12 -0
  246. package/es/Tree/index.js +32 -0
  247. package/es/Tree/style/index.css +517 -0
  248. package/es/Tree/style/index.d.ts +1 -0
  249. package/es/Tree/style/index.js +1 -0
  250. package/es/UploadOss/index.js +18 -0
  251. package/es/UploadOss/style/index.js +3 -0
  252. package/es/UploadOss/style/style.css +121 -0
  253. package/es/UploadOss/uploadBtn.js +141 -0
  254. package/es/UploadOss/uploadImg.js +282 -0
  255. package/es/VirtualList/index.js +84 -0
  256. package/es/VirtualList/style/index.js +3 -0
  257. package/es/VirtualList/style/style.css +0 -0
  258. package/es/index.js +343 -0
  259. package/es/message/index.d.ts +7 -0
  260. package/es/message/index.js +12 -0
  261. package/es/message/style/index.css +509 -0
  262. package/es/message/style/index.d.ts +1 -0
  263. package/es/message/style/index.js +1 -0
  264. package/es/services/newRequest.js +201 -0
  265. package/es/services/utils.js +72 -0
  266. package/es/styles/globalClass.css +63 -0
  267. package/es/styles/icon.css +15 -0
  268. package/es/styles/main.css +505 -0
  269. package/es/styles/resetAntd.css +83 -0
  270. package/es/styles/them.css +0 -0
  271. package/lib/Button/index.d.ts +3 -0
  272. package/lib/Button/index.js +56 -0
  273. package/lib/Button/style/index.d.ts +1 -0
  274. package/lib/Button/style/index.js +3 -0
  275. package/lib/Button/style/style.css +110 -0
  276. package/lib/ButtonTags/style/index.js +3 -0
  277. package/lib/ButtonTags/style/style.css +577 -0
  278. package/lib/Card/index.d.ts +2 -0
  279. package/lib/Card/index.js +29 -0
  280. package/lib/Card/style/index.css +505 -0
  281. package/lib/Card/style/index.d.ts +1 -0
  282. package/lib/Card/style/index.js +3 -0
  283. package/lib/Checkbox/style/index.js +3 -0
  284. package/lib/Checkbox/style/style.css +128 -0
  285. package/lib/CkFilter/baseFilter/NestedFilter.js +137 -0
  286. package/lib/CkFilter/baseFilter/filterMenu.js +222 -0
  287. package/lib/CkFilter/baseFilter/index.js +92 -0
  288. package/lib/CkFilter/baseFilter/moreFilters.js +237 -0
  289. package/lib/CkFilter/complexFilter/drawer.js +379 -0
  290. package/lib/CkFilter/complexFilter/index.js +69 -0
  291. package/lib/CkFilter/components/CascaderFilter.js +132 -0
  292. package/lib/CkFilter/components/CheckboxTags.js +53 -0
  293. package/lib/CkFilter/components/Controls.js +53 -0
  294. package/lib/CkFilter/components/CustomModal.js +230 -0
  295. package/lib/CkFilter/components/DragBox/DndContainer.js +49 -0
  296. package/lib/CkFilter/components/DragBox/index.js +63 -0
  297. package/lib/CkFilter/components/DragBox/sortableBox.js +24 -0
  298. package/lib/CkFilter/components/DragBox/sortableItem.js +111 -0
  299. package/lib/CkFilter/components/Nested.js +90 -0
  300. package/lib/CkFilter/components/filterTypes.js +815 -0
  301. package/lib/CkFilter/components/modal.js +297 -0
  302. package/lib/CkFilter/components/modalBack.js +261 -0
  303. package/lib/CkFilter/customFilter/drawer.js +395 -0
  304. package/lib/CkFilter/customFilter/index.js +129 -0
  305. package/lib/CkFilter/customFilter/radioGroup.js +64 -0
  306. package/lib/CkFilter/style/index.js +3 -0
  307. package/lib/CkFilter/style/style.css +1084 -0
  308. package/lib/CustomTableOption/columnsSort.d.ts +4 -0
  309. package/lib/CustomTableOption/columnsSort.js +336 -0
  310. package/lib/CustomTableOption/filterSort.d.ts +4 -0
  311. package/lib/CustomTableOption/filterSort.js +213 -0
  312. package/lib/CustomTableOption/index.d.ts +12 -0
  313. package/lib/CustomTableOption/index.js +140 -0
  314. package/lib/CustomTableOption/style/index.css +548 -0
  315. package/lib/CustomTableOption/style/index.d.ts +1 -0
  316. package/lib/CustomTableOption/style/index.js +3 -0
  317. package/lib/CustomerService/assets/question01.png +0 -0
  318. package/lib/CustomerService/assets/send.png +0 -0
  319. package/lib/CustomerService/assets/service.png +0 -0
  320. package/lib/CustomerService/assets/shuoming01.png +0 -0
  321. package/lib/CustomerService/assets/shuoming02.png +0 -0
  322. package/lib/CustomerService/components/question.js +120 -0
  323. package/lib/CustomerService/style/index.js +3 -0
  324. package/lib/CustomerService/style/style.css +758 -0
  325. package/lib/Drawer/index.d.ts +10 -0
  326. package/lib/Drawer/index.js +55 -0
  327. package/lib/Drawer/style/index.css +512 -0
  328. package/lib/Drawer/style/index.d.ts +1 -0
  329. package/lib/Drawer/style/index.js +3 -0
  330. package/lib/Dropdown/index.d.ts +14 -0
  331. package/lib/Dropdown/index.js +129 -0
  332. package/lib/Dropdown/style/index.css +567 -0
  333. package/lib/Dropdown/style/index.d.ts +1 -0
  334. package/lib/Dropdown/style/index.js +3 -0
  335. package/lib/EditTable/style/index.js +3 -0
  336. package/lib/EditTable/style/style.css +521 -0
  337. package/lib/Empty/index.d.ts +7 -0
  338. package/lib/Empty/index.js +15 -0
  339. package/lib/Empty/style/index.css +505 -0
  340. package/lib/Empty/style/index.d.ts +1 -0
  341. package/lib/Empty/style/index.js +3 -0
  342. package/lib/EnlargeImg/style/index.js +3 -0
  343. package/lib/EnlargeImg/style/style.css +4 -0
  344. package/lib/Filter/baseFilter/Popover.js +214 -0
  345. package/lib/Filter/baseFilter/ToggleFilter.js +112 -0
  346. package/lib/Filter/baseFilter/index.js +100 -0
  347. package/lib/Filter/complex/ComplexFilter.js +149 -0
  348. package/lib/Filter/complex/ComplexItem.js +157 -0
  349. package/lib/Filter/components/Checkbox.js +94 -0
  350. package/lib/Filter/components/Date.js +87 -0
  351. package/lib/Filter/components/Input.js +63 -0
  352. package/lib/Filter/components/Select.js +89 -0
  353. package/lib/Filter/components/Tree.js +64 -0
  354. package/lib/Filter/components/header.js +60 -0
  355. package/lib/Filter/components/index.js +47 -0
  356. package/lib/Filter/edit/editFilter.js +277 -0
  357. package/lib/Filter/style/index.js +3 -0
  358. package/lib/Filter/style/style.css +776 -0
  359. package/lib/Icon/style/index.js +1 -0
  360. package/lib/Icon/style/style.css +0 -0
  361. package/lib/IconFont/style/index.js +1 -0
  362. package/lib/IconFont/style/style.css +0 -0
  363. package/lib/IconSelect/style/index.js +3 -0
  364. package/lib/IconSelect/style/style.css +25 -0
  365. package/lib/Image/index.d.ts +2 -0
  366. package/lib/Image/index.js +15 -0
  367. package/lib/Image/style/index.css +505 -0
  368. package/lib/Image/style/index.d.ts +1 -0
  369. package/lib/Image/style/index.js +3 -0
  370. package/lib/Input/style/index.js +3 -0
  371. package/lib/Input/style/style.css +738 -0
  372. package/lib/InputNumber/index.d.ts +11 -0
  373. package/lib/InputNumber/index.js +56 -0
  374. package/lib/InputNumber/style/index.css +540 -0
  375. package/lib/InputNumber/style/index.d.ts +1 -0
  376. package/lib/InputNumber/style/index.js +3 -0
  377. package/lib/LeftTable/assets/imgTest.jpg +0 -0
  378. package/lib/LeftTable/style/index.js +3 -0
  379. package/lib/LeftTable/style/style.css +617 -0
  380. package/lib/LmTable/ImgList/body.js +111 -0
  381. package/lib/LmTable/ImgList/cardCell.js +192 -0
  382. package/lib/LmTable/ImgList/context.js +12 -0
  383. package/lib/LmTable/ImgList/empty.js +24 -0
  384. package/lib/LmTable/ImgList/footer.js +59 -0
  385. package/lib/LmTable/ImgList/imgCell.js +175 -0
  386. package/lib/LmTable/ImgList/imgTable.js +110 -0
  387. package/lib/LmTable/ImgList/index.js +13 -0
  388. package/lib/LmTable/Table.js +55 -20
  389. package/lib/LmTable/style/index.js +3 -0
  390. package/lib/LmTable/style/style.css +1377 -0
  391. package/lib/LoadingPage/style/index.js +1 -0
  392. package/lib/LoadingPage/style/style.css +0 -0
  393. package/lib/Menu/index.d.ts +7 -0
  394. package/lib/Menu/index.js +15 -0
  395. package/lib/Menu/style/index.css +505 -0
  396. package/lib/Menu/style/index.d.ts +1 -0
  397. package/lib/Menu/style/index.js +3 -0
  398. package/lib/Modal/index.d.ts +12 -0
  399. package/lib/Modal/index.js +108 -0
  400. package/lib/Modal/style/index.css +540 -0
  401. package/lib/Modal/style/index.d.ts +1 -0
  402. package/lib/Modal/style/index.js +3 -0
  403. package/lib/Notification/index.d.ts +7 -0
  404. package/lib/Notification/index.js +23 -0
  405. package/lib/Notification/style/index.css +508 -0
  406. package/lib/Notification/style/index.d.ts +1 -0
  407. package/lib/Notification/style/index.js +3 -0
  408. package/lib/OldModal/style/index.js +3 -0
  409. package/lib/OldModal/style/style.css +119 -0
  410. package/lib/Pagination/index.d.ts +7 -0
  411. package/lib/Pagination/index.js +50 -0
  412. package/lib/Pagination/style/index.css +554 -0
  413. package/lib/Pagination/style/index.d.ts +1 -0
  414. package/lib/Pagination/style/index.js +3 -0
  415. package/lib/PopTable/style/index.js +3 -0
  416. package/lib/PopTable/style/style.css +715 -0
  417. package/lib/ProTable/ImgList/body.js +111 -0
  418. package/lib/ProTable/ImgList/cardCell.js +192 -0
  419. package/lib/ProTable/ImgList/context.js +12 -0
  420. package/lib/ProTable/ImgList/empty.js +24 -0
  421. package/lib/ProTable/ImgList/footer.js +59 -0
  422. package/lib/ProTable/ImgList/imgCell.js +181 -0
  423. package/lib/ProTable/ImgList/imgTable.js +110 -0
  424. package/lib/ProTable/ImgList/index.js +13 -0
  425. package/lib/ProTable/style/index.js +3 -0
  426. package/lib/ProTable/style/style.css +1079 -0
  427. package/lib/Radio/index.js +50 -0
  428. package/lib/Radio/style/index.js +3 -0
  429. package/lib/Radio/style/style.css +138 -0
  430. package/lib/Select/index.d.ts +18 -0
  431. package/lib/Select/index.js +54 -0
  432. package/lib/Select/style/index.css +517 -0
  433. package/lib/Select/style/index.d.ts +1 -0
  434. package/lib/Select/style/index.js +3 -0
  435. package/lib/Space/index.d.ts +4 -0
  436. package/lib/Space/index.js +15 -0
  437. package/lib/Space/style/index.css +505 -0
  438. package/lib/Space/style/index.d.ts +1 -0
  439. package/lib/Space/style/index.js +3 -0
  440. package/lib/Switch/index.d.ts +2 -0
  441. package/lib/Switch/index.js +15 -0
  442. package/lib/Switch/style/index.css +505 -0
  443. package/lib/Switch/style/index.d.ts +1 -0
  444. package/lib/Switch/style/index.js +3 -0
  445. package/lib/TabBar/index.d.ts +12 -0
  446. package/lib/TabBar/index.js +45 -0
  447. package/lib/TabBar/style/index.d.ts +1 -0
  448. package/lib/TabBar/style/index.js +3 -0
  449. package/lib/TabBar/style/style.css +86 -0
  450. package/lib/Table/index.d.ts +2 -0
  451. package/lib/Table/index.js +15 -0
  452. package/lib/Table/style/index.css +505 -0
  453. package/lib/Table/style/index.d.ts +1 -0
  454. package/lib/Table/style/index.js +3 -0
  455. package/lib/TableRender/index.js +15 -0
  456. package/lib/TableRender/state.js +72 -0
  457. package/lib/TableRender/style/index.js +3 -0
  458. package/lib/TableRender/style/style.css +0 -0
  459. package/lib/Tabs/index.d.ts +12 -0
  460. package/lib/Tabs/index.js +46 -0
  461. package/lib/Tabs/style/index.css +511 -0
  462. package/lib/Tabs/style/index.d.ts +1 -0
  463. package/lib/Tabs/style/index.js +3 -0
  464. package/lib/Tag/index.d.ts +12 -0
  465. package/lib/Tag/index.js +52 -0
  466. package/lib/Tag/style/index.css +566 -0
  467. package/lib/Tag/style/index.d.ts +1 -0
  468. package/lib/Tag/style/index.js +3 -0
  469. package/lib/Tree/index.d.ts +12 -0
  470. package/lib/Tree/index.js +47 -0
  471. package/lib/Tree/style/index.css +517 -0
  472. package/lib/Tree/style/index.d.ts +1 -0
  473. package/lib/Tree/style/index.js +3 -0
  474. package/lib/UploadOss/index.js +18 -0
  475. package/lib/UploadOss/style/index.js +3 -0
  476. package/lib/UploadOss/style/style.css +121 -0
  477. package/lib/UploadOss/uploadBtn.js +141 -0
  478. package/lib/UploadOss/uploadImg.js +282 -0
  479. package/lib/VirtualList/index.js +84 -0
  480. package/lib/VirtualList/style/index.js +3 -0
  481. package/lib/VirtualList/style/style.css +0 -0
  482. package/lib/index.js +33 -1
  483. package/lib/message/index.d.ts +7 -0
  484. package/lib/message/index.js +24 -0
  485. package/lib/message/style/index.css +509 -0
  486. package/lib/message/style/index.d.ts +1 -0
  487. package/lib/message/style/index.js +3 -0
  488. package/lib/services/newRequest.js +201 -0
  489. package/lib/services/utils.js +72 -0
  490. package/lib/styles/globalClass.css +63 -0
  491. package/lib/styles/icon.css +15 -0
  492. package/lib/styles/main.css +505 -0
  493. package/lib/styles/resetAntd.css +83 -0
  494. package/lib/styles/them.css +0 -0
  495. package/package.json +1 -1
@@ -27,7 +27,7 @@ var _react = _interopRequireWildcard(require("react"));
27
27
 
28
28
  var _resetConfig = _interopRequireDefault(require("./resetConfig"));
29
29
 
30
- var _excluded = ["dataSource", "autoSize", "columns", "rowClick", "onDoubleClick", "checkConfig", "summary", "pagination", "hiddenPage", "loading", "virtual", "customCheck"];
30
+ var _excluded = ["dataSource", "autoSize", "columns", "rowClick", "onDoubleClick", "checkConfig", "summary", "pagination", "hiddenPage", "loading", "virtual", "customCheck", "rowSelection", "columnsState", "tableRowType"];
31
31
  var Summary = _proTable.default.Summary;
32
32
  exports.Summary = Summary;
33
33
  var ResetTable = /*#__PURE__*/(0, _react.forwardRef)(function (props, ref) {
@@ -44,8 +44,11 @@ var ResetTable = /*#__PURE__*/(0, _react.forwardRef)(function (props, ref) {
44
44
  _props$virtual = props.virtual,
45
45
  virtual = _props$virtual === void 0 ? false : _props$virtual,
46
46
  customCheck = props.customCheck,
47
+ rowSelection = props.rowSelection,
48
+ columnsState = props.columnsState,
49
+ _props$tableRowType = props.tableRowType,
50
+ tableRowType = _props$tableRowType === void 0 ? 'default' : _props$tableRowType,
47
51
  resetProps = (0, _objectWithoutProperties2.default)(props, _excluded);
48
- console.log(virtual, '--virtual', autoSize);
49
52
  var _resetProps$rowKey = resetProps.rowKey,
50
53
  rowKey = _resetProps$rowKey === void 0 ? 'id' : _resetProps$rowKey;
51
54
 
@@ -89,7 +92,9 @@ var ResetTable = /*#__PURE__*/(0, _react.forwardRef)(function (props, ref) {
89
92
  };
90
93
 
91
94
  var resetColumns = (0, _react.useCallback)(function () {
92
- return useColumns.map(function (col, index) {
95
+ return useColumns.filter(function (item) {
96
+ return item.show !== false;
97
+ }).map(function (col, index) {
93
98
  return (0, _objectSpread2.default)((0, _objectSpread2.default)({}, col), {}, {
94
99
  width: col.width,
95
100
  onHeaderCell: function onHeaderCell(column) {
@@ -112,20 +117,25 @@ var ResetTable = /*#__PURE__*/(0, _react.forwardRef)(function (props, ref) {
112
117
  trigger = _Object$assign.trigger,
113
118
  highlight = _Object$assign.highlight;
114
119
 
120
+ console.log(trigger, highlight, 'rowclick');
121
+
115
122
  if (highlight) {
116
123
  setActiveKey(record[rowKey]);
117
124
  }
118
125
 
119
126
  if (trigger === 'row') {
120
127
  var selectedRows = useSelectedRows.selectedRows;
121
- var selectedRowKeys = selectedRows.map(function (v) {
122
- return v[rowKey];
123
- });
124
- var Idx = selectedRowKeys.indexOf(record[rowKey]);
125
- Idx >= 0 ? selectedRows.splice(Idx, 1) : selectedRows.push(record);
126
- setSelectedRows({
127
- selectedRows: selectedRows
128
- });
128
+
129
+ if (tableRowType === 'select' || tableRowType === 'default' && selectedRows.length) {
130
+ var selectedRowKeys = selectedRows.map(function (v) {
131
+ return v[rowKey];
132
+ });
133
+ var Idx = selectedRowKeys.indexOf(record[rowKey]);
134
+ Idx >= 0 ? selectedRows.splice(Idx, 1) : selectedRows.push(record);
135
+ setSelectedRows({
136
+ selectedRows: selectedRows
137
+ });
138
+ }
129
139
  }
130
140
 
131
141
  rowClick === null || rowClick === void 0 ? void 0 : rowClick(record);
@@ -139,6 +149,7 @@ var ResetTable = /*#__PURE__*/(0, _react.forwardRef)(function (props, ref) {
139
149
 
140
150
 
141
151
  var config = (0, _react.useMemo)(function () {
152
+ console.log(resetProps, 'resetPropsresetProps');
142
153
  return (0, _objectSpread2.default)({
143
154
  defaultSize: 'small',
144
155
  tableLayout: 'fixed',
@@ -154,6 +165,7 @@ var ResetTable = /*#__PURE__*/(0, _react.forwardRef)(function (props, ref) {
154
165
  columnsState: {
155
166
  value: columnsStateMap,
156
167
  onChange: function onChange(k) {
168
+ console.log(k, 'kkk');
157
169
  setColumnsStateMap(k);
158
170
  }
159
171
  },
@@ -161,9 +173,9 @@ var ResetTable = /*#__PURE__*/(0, _react.forwardRef)(function (props, ref) {
161
173
  tableAlertRender: false,
162
174
  checkConfig: checkConfig,
163
175
  // components: vComponents,
164
- scroll: (0, _objectSpread2.default)({
176
+ scroll: resetProps.autoSizer || resetProps.scroll ? (0, _objectSpread2.default)({
165
177
  y: autoSize.height
166
- }, props.scroll),
178
+ }, resetProps.scroll) : null,
167
179
  pagination: !hiddenPage && (0, _objectSpread2.default)({
168
180
  showSizeChanger: true,
169
181
  showQuickJumper: true,
@@ -171,7 +183,7 @@ var ResetTable = /*#__PURE__*/(0, _react.forwardRef)(function (props, ref) {
171
183
  return "\u5171 ".concat(total, " \u6761");
172
184
  }
173
185
  }, pagination),
174
- rowSelection: {
186
+ rowSelection: rowSelection === false ? null : (0, _objectSpread2.default)({
175
187
  fixed: true,
176
188
  type: 'checkbox',
177
189
  columnWidth: 36,
@@ -184,7 +196,7 @@ var ResetTable = /*#__PURE__*/(0, _react.forwardRef)(function (props, ref) {
184
196
  });
185
197
  rowClick === null || rowClick === void 0 ? void 0 : rowClick(selectedRows);
186
198
  }
187
- },
199
+ }, rowSelection),
188
200
  onRow: function onRow(record) {
189
201
  return {
190
202
  onClick: function onClick(e) {
@@ -230,7 +242,7 @@ var ResetTable = /*#__PURE__*/(0, _react.forwardRef)(function (props, ref) {
230
242
  // }, [columns, autoSize.width])
231
243
 
232
244
  (0, _react.useEffect)(function () {
233
- var obj = {};
245
+ var obj = (0, _objectSpread2.default)({}, columnsState);
234
246
  columns === null || columns === void 0 ? void 0 : columns.forEach(function (item) {
235
247
  if (item.fixed) {
236
248
  obj[item.dataIndex || item.key] = {
@@ -240,6 +252,10 @@ var ResetTable = /*#__PURE__*/(0, _react.forwardRef)(function (props, ref) {
240
252
  });
241
253
  setColumnsStateMap(obj);
242
254
  }, []); // useEffect(() => {
255
+ // console.log(props.columnsStateValue, 'v vv')
256
+ // setColumnsStateMap(props.columnsStateValue)
257
+ // }, [props.columnsStateValue])
258
+ // useEffect(() => {
243
259
  // rowClick?.()
244
260
  // }, [useSelectedRows])
245
261
  // 将节点方法给外部使用
@@ -292,6 +308,27 @@ var ResetTable = /*#__PURE__*/(0, _react.forwardRef)(function (props, ref) {
292
308
  /** 1: 使用scroll.x y 来控制宽高 默认都是100% */
293
309
 
294
310
  var ResizeSize = /*#__PURE__*/(0, _react.forwardRef)(function (props, ref) {
311
+ var _props$autoSizer = props.autoSizer,
312
+ autoSizer = _props$autoSizer === void 0 ? false : _props$autoSizer;
313
+
314
+ if (!autoSizer) {
315
+ return /*#__PURE__*/_react.default.createElement("div", {
316
+ ref: tableWarpRef,
317
+ id: "lm_protable_warp",
318
+ style: {
319
+ width: '100%',
320
+ height: '100%'
321
+ }
322
+ }, /*#__PURE__*/_react.default.createElement(ResetTable, (0, _extends2.default)({
323
+ ref: defaultRef
324
+ }, props, {
325
+ autoSize: {
326
+ height: '100%',
327
+ width: '100%'
328
+ }
329
+ })));
330
+ }
331
+
295
332
  var _useState9 = (0, _react.useState)({
296
333
  width: '100%',
297
334
  height: '100%'
@@ -305,11 +342,10 @@ var ResizeSize = /*#__PURE__*/(0, _react.forwardRef)(function (props, ref) {
305
342
  var resizeRef = (0, _react.useRef)(null);
306
343
  var resetHeight = (0, _react.useMemo)(function () {
307
344
  var height = tableSize.height;
308
- console.log(3);
309
- var h = height - 48;
345
+ var h = height - 32;
310
346
 
311
347
  if (!props.hiddenPage || props.customCheck) {
312
- h -= 32;
348
+ h -= 48;
313
349
  }
314
350
 
315
351
  if (props.columns.some(function (v) {
@@ -364,7 +400,6 @@ var ResizeSize = /*#__PURE__*/(0, _react.forwardRef)(function (props, ref) {
364
400
  _tableWarpRef$current7 = _tableWarpRef$current5.height,
365
401
  height = _tableWarpRef$current7 === void 0 ? '100%' : _tableWarpRef$current7;
366
402
 
367
- console.log(width, height, '--tableWarpReftableWarpRef', tableWarpRef.current);
368
403
  var value = summary ? 48 : 0;
369
404
  resizeRef.current = window.addEventListener('resize', handResize);
370
405
  setTableSize({
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+
3
+ require("./style.css");