linkmore-design 1.0.29 → 1.0.30

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 (417) hide show
  1. package/dist/index.umd.js +63 -14
  2. package/dist/index.umd.min.js +7 -7
  3. package/lib/Input/index.js +3 -4
  4. package/lib/Radio/index.js +0 -50
  5. package/lib/index.js +25 -1
  6. package/package.json +1 -1
  7. package/es/Button/index.d.ts +0 -3
  8. package/es/Button/index.js +0 -43
  9. package/es/Button/style/index.d.ts +0 -1
  10. package/es/Button/style/index.js +0 -1
  11. package/es/Button/style/style.css +0 -110
  12. package/es/ButtonTags/ButtonTags.js +0 -59
  13. package/es/ButtonTags/index.js +0 -13
  14. package/es/ButtonTags/style/index.js +0 -3
  15. package/es/ButtonTags/style/style.css +0 -574
  16. package/es/Card/index.d.ts +0 -2
  17. package/es/Card/index.js +0 -17
  18. package/es/Card/style/index.css +0 -502
  19. package/es/Card/style/index.d.ts +0 -1
  20. package/es/Card/style/index.js +0 -1
  21. package/es/Checkbox/index.js +0 -47
  22. package/es/Checkbox/style/index.js +0 -3
  23. package/es/Checkbox/style/style.css +0 -128
  24. package/es/CkFilter/baseFilter/NestedFilter.js +0 -137
  25. package/es/CkFilter/baseFilter/filterMenu.js +0 -222
  26. package/es/CkFilter/baseFilter/index.js +0 -92
  27. package/es/CkFilter/baseFilter/moreFilters.js +0 -237
  28. package/es/CkFilter/complexFilter/drawer.js +0 -379
  29. package/es/CkFilter/complexFilter/index.js +0 -69
  30. package/es/CkFilter/components/CascaderFilter.js +0 -132
  31. package/es/CkFilter/components/CheckboxTags.js +0 -53
  32. package/es/CkFilter/components/Controls.js +0 -53
  33. package/es/CkFilter/components/CustomModal.js +0 -230
  34. package/es/CkFilter/components/DragBox/DndContainer.js +0 -49
  35. package/es/CkFilter/components/DragBox/index.js +0 -63
  36. package/es/CkFilter/components/DragBox/sortableBox.js +0 -24
  37. package/es/CkFilter/components/DragBox/sortableItem.js +0 -111
  38. package/es/CkFilter/components/Nested.js +0 -90
  39. package/es/CkFilter/components/filterTypes.js +0 -815
  40. package/es/CkFilter/components/modal.js +0 -297
  41. package/es/CkFilter/components/modalBack.js +0 -261
  42. package/es/CkFilter/context.js +0 -174
  43. package/es/CkFilter/customFilter/drawer.js +0 -395
  44. package/es/CkFilter/customFilter/index.js +0 -129
  45. package/es/CkFilter/customFilter/radioGroup.js +0 -64
  46. package/es/CkFilter/filter.js +0 -153
  47. package/es/CkFilter/icon_placeholder.png +0 -0
  48. package/es/CkFilter/index.js +0 -13
  49. package/es/CkFilter/style/index.js +0 -3
  50. package/es/CkFilter/style/style.css +0 -1079
  51. package/es/CkFilter/utils.js +0 -65
  52. package/es/CustomerService/assets/question01.png +0 -0
  53. package/es/CustomerService/assets/send.png +0 -0
  54. package/es/CustomerService/assets/service.png +0 -0
  55. package/es/CustomerService/assets/shuoming01.png +0 -0
  56. package/es/CustomerService/assets/shuoming02.png +0 -0
  57. package/es/CustomerService/components/question.js +0 -120
  58. package/es/CustomerService/index.js +0 -291
  59. package/es/CustomerService/style/index.js +0 -3
  60. package/es/CustomerService/style/style.css +0 -755
  61. package/es/Drawer/index.d.ts +0 -10
  62. package/es/Drawer/index.js +0 -42
  63. package/es/Drawer/style/index.css +0 -509
  64. package/es/Drawer/style/index.d.ts +0 -1
  65. package/es/Drawer/style/index.js +0 -1
  66. package/es/Dropdown/index.d.ts +0 -14
  67. package/es/Dropdown/index.js +0 -113
  68. package/es/Dropdown/style/index.css +0 -564
  69. package/es/Dropdown/style/index.d.ts +0 -1
  70. package/es/Dropdown/style/index.js +0 -1
  71. package/es/EditTable/EditTable.js +0 -588
  72. package/es/EditTable/index.js +0 -13
  73. package/es/EditTable/style/index.js +0 -3
  74. package/es/EditTable/style/style.css +0 -518
  75. package/es/Empty/index.d.ts +0 -7
  76. package/es/Empty/index.js +0 -3
  77. package/es/Empty/style/index.css +0 -502
  78. package/es/Empty/style/index.d.ts +0 -1
  79. package/es/Empty/style/index.js +0 -1
  80. package/es/EnlargeImg/index.js +0 -109
  81. package/es/EnlargeImg/style/index.js +0 -3
  82. package/es/EnlargeImg/style/style.css +0 -4
  83. package/es/Filter/Popover.js +0 -199
  84. package/es/Filter/baseFilter/Popover.js +0 -214
  85. package/es/Filter/baseFilter/ToggleFilter.js +0 -112
  86. package/es/Filter/baseFilter/index.js +0 -100
  87. package/es/Filter/complex/ComplexFilter.js +0 -149
  88. package/es/Filter/complex/ComplexItem.js +0 -157
  89. package/es/Filter/components/Checkbox.js +0 -94
  90. package/es/Filter/components/Date.js +0 -87
  91. package/es/Filter/components/Input.js +0 -63
  92. package/es/Filter/components/Select.js +0 -89
  93. package/es/Filter/components/Tree.js +0 -64
  94. package/es/Filter/components/header.js +0 -60
  95. package/es/Filter/components/index.js +0 -47
  96. package/es/Filter/context.js +0 -15
  97. package/es/Filter/edit/editFilter.js +0 -277
  98. package/es/Filter/index.js +0 -174
  99. package/es/Filter/popContext.js +0 -15
  100. package/es/Filter/remember.js +0 -137
  101. package/es/Filter/style/index.js +0 -3
  102. package/es/Filter/style/style.css +0 -773
  103. package/es/Icon/index.js +0 -20
  104. package/es/Icon/style/index.js +0 -1
  105. package/es/Icon/style/style.css +0 -0
  106. package/es/IconFont/index.js +0 -15
  107. package/es/IconFont/style/index.js +0 -1
  108. package/es/IconFont/style/style.css +0 -0
  109. package/es/IconSelect/iconJson.json +0 -2935
  110. package/es/IconSelect/index.js +0 -115
  111. package/es/IconSelect/style/index.js +0 -3
  112. package/es/IconSelect/style/style.css +0 -25
  113. package/es/Input/index.js +0 -75
  114. package/es/Input/style/index.js +0 -3
  115. package/es/Input/style/style.css +0 -724
  116. package/es/InputNumber/index.d.ts +0 -11
  117. package/es/InputNumber/index.js +0 -43
  118. package/es/InputNumber/style/index.css +0 -537
  119. package/es/InputNumber/style/index.d.ts +0 -1
  120. package/es/InputNumber/style/index.js +0 -1
  121. package/es/LeftTable/assets/imgTest.jpg +0 -0
  122. package/es/LeftTable/index.js +0 -118
  123. package/es/LeftTable/style/index.js +0 -3
  124. package/es/LeftTable/style/style.css +0 -614
  125. package/es/LmTable/ImgList/body.js +0 -111
  126. package/es/LmTable/ImgList/cardCell.js +0 -192
  127. package/es/LmTable/ImgList/context.js +0 -12
  128. package/es/LmTable/ImgList/empty.js +0 -24
  129. package/es/LmTable/ImgList/footer.js +0 -59
  130. package/es/LmTable/ImgList/imgCell.js +0 -175
  131. package/es/LmTable/ImgList/imgTable.js +0 -110
  132. package/es/LmTable/ImgList/index.js +0 -13
  133. package/es/LmTable/Table.js +0 -390
  134. package/es/LmTable/VList.js +0 -594
  135. package/es/LmTable/autosize.js +0 -170
  136. package/es/LmTable/context.js +0 -12
  137. package/es/LmTable/detectElementResize.js +0 -225
  138. package/es/LmTable/index.js +0 -19
  139. package/es/LmTable/resetConfig.js +0 -39
  140. package/es/LmTable/style/index.js +0 -3
  141. package/es/LmTable/style/style.css +0 -1076
  142. package/es/LoadingPage/index.js +0 -33
  143. package/es/LoadingPage/style/index.js +0 -1
  144. package/es/LoadingPage/style/style.css +0 -0
  145. package/es/Menu/index.d.ts +0 -7
  146. package/es/Menu/index.js +0 -3
  147. package/es/Menu/style/index.css +0 -502
  148. package/es/Menu/style/index.d.ts +0 -1
  149. package/es/Menu/style/index.js +0 -1
  150. package/es/Modal/index.d.ts +0 -12
  151. package/es/Modal/index.js +0 -94
  152. package/es/Modal/style/index.css +0 -537
  153. package/es/Modal/style/index.d.ts +0 -1
  154. package/es/Modal/style/index.js +0 -1
  155. package/es/Notification/index.d.ts +0 -7
  156. package/es/Notification/index.js +0 -10
  157. package/es/Notification/style/index.css +0 -505
  158. package/es/Notification/style/index.d.ts +0 -1
  159. package/es/Notification/style/index.js +0 -1
  160. package/es/OldModal/add.js +0 -68
  161. package/es/OldModal/confirm.js +0 -88
  162. package/es/OldModal/edit.js +0 -44
  163. package/es/OldModal/exportModal.js +0 -300
  164. package/es/OldModal/index.js +0 -24
  165. package/es/OldModal/style/index.js +0 -3
  166. package/es/OldModal/style/style.css +0 -119
  167. package/es/Pagination/index.d.ts +0 -7
  168. package/es/Pagination/index.js +0 -37
  169. package/es/Pagination/style/index.css +0 -551
  170. package/es/Pagination/style/index.d.ts +0 -1
  171. package/es/Pagination/style/index.js +0 -1
  172. package/es/PopTable/BseTable.js +0 -113
  173. package/es/PopTable/index.js +0 -151
  174. package/es/PopTable/style/index.js +0 -3
  175. package/es/PopTable/style/style.css +0 -712
  176. package/es/ProTable/ImgList/body.js +0 -111
  177. package/es/ProTable/ImgList/cardCell.js +0 -192
  178. package/es/ProTable/ImgList/context.js +0 -12
  179. package/es/ProTable/ImgList/empty.js +0 -24
  180. package/es/ProTable/ImgList/footer.js +0 -59
  181. package/es/ProTable/ImgList/imgCell.js +0 -181
  182. package/es/ProTable/ImgList/imgTable.js +0 -110
  183. package/es/ProTable/ImgList/index.js +0 -13
  184. package/es/ProTable/Table.js +0 -335
  185. package/es/ProTable/VList.js +0 -594
  186. package/es/ProTable/autosize.js +0 -170
  187. package/es/ProTable/context.js +0 -12
  188. package/es/ProTable/detectElementResize.js +0 -225
  189. package/es/ProTable/index.js +0 -19
  190. package/es/ProTable/resetConfig.js +0 -39
  191. package/es/ProTable/style/index.js +0 -3
  192. package/es/ProTable/style/style.css +0 -1076
  193. package/es/Radio/index.js +0 -50
  194. package/es/Radio/style/index.js +0 -3
  195. package/es/Radio/style/style.css +0 -137
  196. package/es/Select/index.d.ts +0 -18
  197. package/es/Select/index.js +0 -40
  198. package/es/Select/style/index.css +0 -514
  199. package/es/Select/style/index.d.ts +0 -1
  200. package/es/Select/style/index.js +0 -1
  201. package/es/Space/index.d.ts +0 -4
  202. package/es/Space/index.js +0 -3
  203. package/es/Space/style/index.css +0 -502
  204. package/es/Space/style/index.d.ts +0 -1
  205. package/es/Space/style/index.js +0 -1
  206. package/es/TabBar/index.d.ts +0 -12
  207. package/es/TabBar/index.js +0 -33
  208. package/es/TabBar/style/index.d.ts +0 -1
  209. package/es/TabBar/style/index.js +0 -1
  210. package/es/TabBar/style/style.css +0 -86
  211. package/es/TableRender/index.js +0 -15
  212. package/es/TableRender/state.js +0 -72
  213. package/es/TableRender/style/index.js +0 -3
  214. package/es/TableRender/style/style.css +0 -0
  215. package/es/Tree/index.d.ts +0 -7
  216. package/es/Tree/index.js +0 -3
  217. package/es/Tree/style/index.css +0 -502
  218. package/es/Tree/style/index.d.ts +0 -1
  219. package/es/Tree/style/index.js +0 -1
  220. package/es/UploadOss/index.js +0 -18
  221. package/es/UploadOss/style/index.js +0 -3
  222. package/es/UploadOss/style/style.css +0 -121
  223. package/es/UploadOss/uploadBtn.js +0 -141
  224. package/es/UploadOss/uploadImg.js +0 -282
  225. package/es/VirtualList/index.js +0 -84
  226. package/es/VirtualList/style/index.js +0 -3
  227. package/es/VirtualList/style/style.css +0 -0
  228. package/es/index.js +0 -287
  229. package/es/services/newRequest.js +0 -201
  230. package/es/services/utils.js +0 -72
  231. package/es/styles/globalClass.css +0 -63
  232. package/es/styles/icon.css +0 -15
  233. package/es/styles/main.css +0 -502
  234. package/es/styles/resetAntd.css +0 -83
  235. package/es/styles/them.css +0 -0
  236. package/lib/Button/index.d.ts +0 -3
  237. package/lib/Button/index.js +0 -56
  238. package/lib/Button/style/index.d.ts +0 -1
  239. package/lib/Button/style/index.js +0 -3
  240. package/lib/Button/style/style.css +0 -110
  241. package/lib/ButtonTags/style/index.js +0 -3
  242. package/lib/ButtonTags/style/style.css +0 -574
  243. package/lib/Card/index.d.ts +0 -2
  244. package/lib/Card/index.js +0 -29
  245. package/lib/Card/style/index.css +0 -502
  246. package/lib/Card/style/index.d.ts +0 -1
  247. package/lib/Card/style/index.js +0 -3
  248. package/lib/Checkbox/style/index.js +0 -3
  249. package/lib/Checkbox/style/style.css +0 -128
  250. package/lib/CkFilter/baseFilter/NestedFilter.js +0 -137
  251. package/lib/CkFilter/baseFilter/filterMenu.js +0 -222
  252. package/lib/CkFilter/baseFilter/index.js +0 -92
  253. package/lib/CkFilter/baseFilter/moreFilters.js +0 -237
  254. package/lib/CkFilter/complexFilter/drawer.js +0 -379
  255. package/lib/CkFilter/complexFilter/index.js +0 -69
  256. package/lib/CkFilter/components/CascaderFilter.js +0 -132
  257. package/lib/CkFilter/components/CheckboxTags.js +0 -53
  258. package/lib/CkFilter/components/Controls.js +0 -53
  259. package/lib/CkFilter/components/CustomModal.js +0 -230
  260. package/lib/CkFilter/components/DragBox/DndContainer.js +0 -49
  261. package/lib/CkFilter/components/DragBox/index.js +0 -63
  262. package/lib/CkFilter/components/DragBox/sortableBox.js +0 -24
  263. package/lib/CkFilter/components/DragBox/sortableItem.js +0 -111
  264. package/lib/CkFilter/components/Nested.js +0 -90
  265. package/lib/CkFilter/components/filterTypes.js +0 -815
  266. package/lib/CkFilter/components/modal.js +0 -297
  267. package/lib/CkFilter/components/modalBack.js +0 -261
  268. package/lib/CkFilter/customFilter/drawer.js +0 -395
  269. package/lib/CkFilter/customFilter/index.js +0 -129
  270. package/lib/CkFilter/customFilter/radioGroup.js +0 -64
  271. package/lib/CkFilter/style/index.js +0 -3
  272. package/lib/CkFilter/style/style.css +0 -1079
  273. package/lib/CustomerService/assets/question01.png +0 -0
  274. package/lib/CustomerService/assets/send.png +0 -0
  275. package/lib/CustomerService/assets/service.png +0 -0
  276. package/lib/CustomerService/assets/shuoming01.png +0 -0
  277. package/lib/CustomerService/assets/shuoming02.png +0 -0
  278. package/lib/CustomerService/components/question.js +0 -120
  279. package/lib/CustomerService/style/index.js +0 -3
  280. package/lib/CustomerService/style/style.css +0 -755
  281. package/lib/Drawer/index.d.ts +0 -10
  282. package/lib/Drawer/index.js +0 -55
  283. package/lib/Drawer/style/index.css +0 -509
  284. package/lib/Drawer/style/index.d.ts +0 -1
  285. package/lib/Drawer/style/index.js +0 -3
  286. package/lib/Dropdown/index.d.ts +0 -14
  287. package/lib/Dropdown/index.js +0 -129
  288. package/lib/Dropdown/style/index.css +0 -564
  289. package/lib/Dropdown/style/index.d.ts +0 -1
  290. package/lib/Dropdown/style/index.js +0 -3
  291. package/lib/EditTable/style/index.js +0 -3
  292. package/lib/EditTable/style/style.css +0 -518
  293. package/lib/Empty/index.d.ts +0 -7
  294. package/lib/Empty/index.js +0 -15
  295. package/lib/Empty/style/index.css +0 -502
  296. package/lib/Empty/style/index.d.ts +0 -1
  297. package/lib/Empty/style/index.js +0 -3
  298. package/lib/EnlargeImg/style/index.js +0 -3
  299. package/lib/EnlargeImg/style/style.css +0 -4
  300. package/lib/Filter/baseFilter/Popover.js +0 -214
  301. package/lib/Filter/baseFilter/ToggleFilter.js +0 -112
  302. package/lib/Filter/baseFilter/index.js +0 -100
  303. package/lib/Filter/complex/ComplexFilter.js +0 -149
  304. package/lib/Filter/complex/ComplexItem.js +0 -157
  305. package/lib/Filter/components/Checkbox.js +0 -94
  306. package/lib/Filter/components/Date.js +0 -87
  307. package/lib/Filter/components/Input.js +0 -63
  308. package/lib/Filter/components/Select.js +0 -89
  309. package/lib/Filter/components/Tree.js +0 -64
  310. package/lib/Filter/components/header.js +0 -60
  311. package/lib/Filter/components/index.js +0 -47
  312. package/lib/Filter/edit/editFilter.js +0 -277
  313. package/lib/Filter/style/index.js +0 -3
  314. package/lib/Filter/style/style.css +0 -773
  315. package/lib/Icon/style/index.js +0 -1
  316. package/lib/Icon/style/style.css +0 -0
  317. package/lib/IconFont/style/index.js +0 -1
  318. package/lib/IconFont/style/style.css +0 -0
  319. package/lib/IconSelect/style/index.js +0 -3
  320. package/lib/IconSelect/style/style.css +0 -25
  321. package/lib/Input/style/index.js +0 -3
  322. package/lib/Input/style/style.css +0 -724
  323. package/lib/InputNumber/index.d.ts +0 -11
  324. package/lib/InputNumber/index.js +0 -56
  325. package/lib/InputNumber/style/index.css +0 -537
  326. package/lib/InputNumber/style/index.d.ts +0 -1
  327. package/lib/InputNumber/style/index.js +0 -3
  328. package/lib/LeftTable/assets/imgTest.jpg +0 -0
  329. package/lib/LeftTable/style/index.js +0 -3
  330. package/lib/LeftTable/style/style.css +0 -614
  331. package/lib/LmTable/ImgList/body.js +0 -111
  332. package/lib/LmTable/ImgList/cardCell.js +0 -192
  333. package/lib/LmTable/ImgList/context.js +0 -12
  334. package/lib/LmTable/ImgList/empty.js +0 -24
  335. package/lib/LmTable/ImgList/footer.js +0 -59
  336. package/lib/LmTable/ImgList/imgCell.js +0 -175
  337. package/lib/LmTable/ImgList/imgTable.js +0 -110
  338. package/lib/LmTable/ImgList/index.js +0 -13
  339. package/lib/LmTable/style/index.js +0 -3
  340. package/lib/LmTable/style/style.css +0 -1076
  341. package/lib/LoadingPage/style/index.js +0 -1
  342. package/lib/LoadingPage/style/style.css +0 -0
  343. package/lib/Menu/index.d.ts +0 -7
  344. package/lib/Menu/index.js +0 -15
  345. package/lib/Menu/style/index.css +0 -502
  346. package/lib/Menu/style/index.d.ts +0 -1
  347. package/lib/Menu/style/index.js +0 -3
  348. package/lib/Modal/index.d.ts +0 -12
  349. package/lib/Modal/index.js +0 -108
  350. package/lib/Modal/style/index.css +0 -537
  351. package/lib/Modal/style/index.d.ts +0 -1
  352. package/lib/Modal/style/index.js +0 -3
  353. package/lib/Notification/index.d.ts +0 -7
  354. package/lib/Notification/index.js +0 -23
  355. package/lib/Notification/style/index.css +0 -505
  356. package/lib/Notification/style/index.d.ts +0 -1
  357. package/lib/Notification/style/index.js +0 -3
  358. package/lib/OldModal/style/index.js +0 -3
  359. package/lib/OldModal/style/style.css +0 -119
  360. package/lib/Pagination/index.d.ts +0 -7
  361. package/lib/Pagination/index.js +0 -50
  362. package/lib/Pagination/style/index.css +0 -551
  363. package/lib/Pagination/style/index.d.ts +0 -1
  364. package/lib/Pagination/style/index.js +0 -3
  365. package/lib/PopTable/style/index.js +0 -3
  366. package/lib/PopTable/style/style.css +0 -712
  367. package/lib/ProTable/ImgList/body.js +0 -111
  368. package/lib/ProTable/ImgList/cardCell.js +0 -192
  369. package/lib/ProTable/ImgList/context.js +0 -12
  370. package/lib/ProTable/ImgList/empty.js +0 -24
  371. package/lib/ProTable/ImgList/footer.js +0 -59
  372. package/lib/ProTable/ImgList/imgCell.js +0 -181
  373. package/lib/ProTable/ImgList/imgTable.js +0 -110
  374. package/lib/ProTable/ImgList/index.js +0 -13
  375. package/lib/ProTable/style/index.js +0 -3
  376. package/lib/ProTable/style/style.css +0 -1076
  377. package/lib/Radio/style/index.js +0 -3
  378. package/lib/Radio/style/style.css +0 -137
  379. package/lib/Select/index.d.ts +0 -18
  380. package/lib/Select/index.js +0 -53
  381. package/lib/Select/style/index.css +0 -514
  382. package/lib/Select/style/index.d.ts +0 -1
  383. package/lib/Select/style/index.js +0 -3
  384. package/lib/Space/index.d.ts +0 -4
  385. package/lib/Space/index.js +0 -15
  386. package/lib/Space/style/index.css +0 -502
  387. package/lib/Space/style/index.d.ts +0 -1
  388. package/lib/Space/style/index.js +0 -3
  389. package/lib/TabBar/index.d.ts +0 -12
  390. package/lib/TabBar/index.js +0 -45
  391. package/lib/TabBar/style/index.d.ts +0 -1
  392. package/lib/TabBar/style/index.js +0 -3
  393. package/lib/TabBar/style/style.css +0 -86
  394. package/lib/TableRender/index.js +0 -15
  395. package/lib/TableRender/state.js +0 -72
  396. package/lib/TableRender/style/index.js +0 -3
  397. package/lib/TableRender/style/style.css +0 -0
  398. package/lib/Tree/index.d.ts +0 -7
  399. package/lib/Tree/index.js +0 -15
  400. package/lib/Tree/style/index.css +0 -502
  401. package/lib/Tree/style/index.d.ts +0 -1
  402. package/lib/Tree/style/index.js +0 -3
  403. package/lib/UploadOss/index.js +0 -18
  404. package/lib/UploadOss/style/index.js +0 -3
  405. package/lib/UploadOss/style/style.css +0 -121
  406. package/lib/UploadOss/uploadBtn.js +0 -141
  407. package/lib/UploadOss/uploadImg.js +0 -282
  408. package/lib/VirtualList/index.js +0 -84
  409. package/lib/VirtualList/style/index.js +0 -3
  410. package/lib/VirtualList/style/style.css +0 -0
  411. package/lib/services/newRequest.js +0 -201
  412. package/lib/services/utils.js +0 -72
  413. package/lib/styles/globalClass.css +0 -63
  414. package/lib/styles/icon.css +0 -15
  415. package/lib/styles/main.css +0 -502
  416. package/lib/styles/resetAntd.css +0 -83
  417. package/lib/styles/them.css +0 -0
@@ -1,300 +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
- require("antd/es/radio/style");
13
-
14
- var _radio = _interopRequireDefault(require("antd/es/radio"));
15
-
16
- var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/extends"));
17
-
18
- require("antd/es/space/style");
19
-
20
- var _space = _interopRequireDefault(require("antd/es/space"));
21
-
22
- require("antd/es/button/style");
23
-
24
- var _button = _interopRequireDefault(require("antd/es/button"));
25
-
26
- var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/defineProperty"));
27
-
28
- var _objectSpread3 = _interopRequireDefault(require("@babel/runtime/helpers/esm/objectSpread2"));
29
-
30
- var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/slicedToArray"));
31
-
32
- var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/objectWithoutProperties"));
33
-
34
- var _toConsumableArray2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/toConsumableArray"));
35
-
36
- require("antd/es/message/style");
37
-
38
- var _message2 = _interopRequireDefault(require("antd/es/message"));
39
-
40
- var _react = _interopRequireWildcard(require("react"));
41
-
42
- var _IconFont = _interopRequireDefault(require("../IconFont"));
43
-
44
- var _edit = _interopRequireDefault(require("./edit"));
45
-
46
- var _excluded = ["visible", "onClose", "onSure", "down", "desc", "downEvent", "isType", "renderFileType"];
47
- var downLink = [{
48
- id: '1',
49
- label: '成衣',
50
- value: 'link',
51
- icon: 'export'
52
- }, {
53
- id: '2',
54
- label: '面料',
55
- value: 'link',
56
- icon: 'export'
57
- }, {
58
- id: '3',
59
- label: '辅料',
60
- value: 'link',
61
- icon: 'export'
62
- }];
63
- var desc1 = [{
64
- id: '1',
65
- value: '红色为必填字段'
66
- }, {
67
- id: '2',
68
- value: '导入仅允许新增供应商信息'
69
- }];
70
- /*
71
- 文件上传区域
72
- multiple:是否多选
73
- accept:文件选择时的默认类型筛选:"image/jpeg"、text/csv、application/msword、application/vnd.ms-excel => accept=".xlsx, .xls"
74
- type: 限制上传文件的类型
75
- size:文件大小(M)
76
- */
77
-
78
- var ImportBox = function ImportBox(_ref) {
79
- var value = _ref.value,
80
- multiple = _ref.multiple,
81
- _ref$fileLength = _ref.fileLength,
82
- fileLength = _ref$fileLength === void 0 ? 99 : _ref$fileLength,
83
- onChange = _ref.onChange,
84
- accept = _ref.accept,
85
- _ref$type = _ref.type,
86
- type = _ref$type === void 0 ? ['xls', 'xlsx'] : _ref$type,
87
- _ref$size = _ref.size,
88
- size = _ref$size === void 0 ? 100 : _ref$size;
89
- var fileRef = (0, _react.useRef)(null); // 文件保存
90
- // 解决同文件的多次上传问题
91
-
92
- var clearFileValue = function clearFileValue() {
93
- fileRef.current.value = null;
94
- };
95
-
96
- var fileUpload = function fileUpload(e) {
97
- var file = e.target.files;
98
-
99
- if (fileLength > 0 && file.length + value.length > fileLength) {
100
- return _message2.default.warning("\u6587\u4EF6\u4E0A\u4F20\u5931\u8D25\uFF01\u6700\u591A\u53EA\u80FD\u4E0A\u4F20".concat(fileLength, "\u4E2A\u6587\u4EF6"), 1.5);
101
- } // 循环文件检查是否存在不符合要求的文件
102
-
103
-
104
- for (var i = 0, len = file.length; i < len; i += 1) {
105
- var item = file[i];
106
-
107
- if (!type.includes(item.name.replace(/.*\./, '').toLowerCase())) {
108
- var content = type.join('、');
109
- return _message2.default.warning("\u6587\u4EF6\u4E0A\u4F20\u5931\u8D25\uFF01\u4EC5\u652F\u6301".concat(content, "\u7684\u6587\u4EF6\u7C7B\u578B\uFF01"), 1.5);
110
- }
111
-
112
- if (item.size / 1024 / 1024 > size) {
113
- return _message2.default.warning("\u6587\u4EF6\u4E0A\u4F20\u5931\u8D25\uFF01\u9644\u4EF6\u5927\u5C0F\u4E0D\u80FD\u8D85\u8FC7".concat(size, "M\uFF01"), 1.5);
114
- }
115
- }
116
-
117
- var nValue = [].concat((0, _toConsumableArray2.default)(value), (0, _toConsumableArray2.default)(file));
118
- onChange === null || onChange === void 0 ? void 0 : onChange(nValue, 'files');
119
- return false;
120
- };
121
-
122
- return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement("div", {
123
- className: "import_box"
124
- }, /*#__PURE__*/_react.default.createElement(_IconFont.default, {
125
- type: "lmweb-inbox",
126
- className: "import_icon"
127
- }), /*#__PURE__*/_react.default.createElement("input", {
128
- ref: fileRef,
129
- type: "file",
130
- multiple: multiple,
131
- accept: accept,
132
- className: "import_input",
133
- onClick: clearFileValue,
134
- onChange: fileUpload
135
- }), /*#__PURE__*/_react.default.createElement("div", {
136
- className: "import_text"
137
- }, "\u70B9\u51FB\u6216\u5C06\u6587\u4EF6\u62D6\u62FD\u5230\u8FD9\u91CC\u4E0A\u4F20")));
138
- };
139
-
140
- var Index = function Index(_ref2) {
141
- var visible = _ref2.visible,
142
- onClose = _ref2.onClose,
143
- onSure = _ref2.onSure,
144
- _ref2$down = _ref2.down,
145
- down = _ref2$down === void 0 ? downLink : _ref2$down,
146
- _ref2$desc = _ref2.desc,
147
- desc = _ref2$desc === void 0 ? desc1 : _ref2$desc,
148
- downEvent = _ref2.downEvent,
149
- isType = _ref2.isType,
150
- renderFileType = _ref2.renderFileType,
151
- resetProps = (0, _objectWithoutProperties2.default)(_ref2, _excluded);
152
-
153
- var _useState = (0, _react.useState)({
154
- files: []
155
- }),
156
- _useState2 = (0, _slicedToArray2.default)(_useState, 2),
157
- fileValue = _useState2[0],
158
- setFileValue = _useState2[1]; // 数据改变事件
159
-
160
-
161
- var handleChange = function handleChange(e, field) {
162
- setFileValue((0, _objectSpread3.default)((0, _objectSpread3.default)({}, fileValue), {}, (0, _defineProperty2.default)({}, field, e)));
163
- }; // 确定事件
164
-
165
-
166
- var handleClick = function handleClick() {
167
- var files = fileValue.files;
168
-
169
- if (!files.length) {
170
- return _message2.default.warning('请先选择文件!', 1.5);
171
- }
172
-
173
- onSure(fileValue);
174
- onClose === null || onClose === void 0 ? void 0 : onClose();
175
- setFileValue((0, _objectSpread3.default)((0, _objectSpread3.default)({}, fileValue), {}, {
176
- files: []
177
- }));
178
- return false;
179
- }; // 删除事件
180
-
181
-
182
- var handleDelete = function handleDelete(name) {
183
- var nValue = fileValue.files.filter(function (v) {
184
- return v.name !== name;
185
- });
186
- setFileValue((0, _objectSpread3.default)((0, _objectSpread3.default)({}, fileValue), {}, {
187
- files: nValue
188
- }));
189
- }; // 关闭弹框
190
-
191
-
192
- var handleClose = function handleClose() {
193
- onClose === null || onClose === void 0 ? void 0 : onClose();
194
- setFileValue({
195
- type: 1,
196
- files: []
197
- });
198
- };
199
-
200
- var config = {
201
- title: '导入',
202
- visible: visible,
203
- onCancel: onClose,
204
- bodyStyle: {
205
- padding: 24
206
- },
207
- footer: [/*#__PURE__*/_react.default.createElement(_button.default, {
208
- key: "cancel",
209
- onClick: handleClose,
210
- size: "middle"
211
- }, "\u53D6\u6D88"), /*#__PURE__*/_react.default.createElement(_button.default, {
212
- type: "primary",
213
- key: "back",
214
- onClick: handleClick,
215
- size: "middle"
216
- }, "\u786E\u5B9A")]
217
- };
218
- return /*#__PURE__*/_react.default.createElement(_edit.default, config, /*#__PURE__*/_react.default.createElement("div", {
219
- className: "lm_file_body"
220
- }, /*#__PURE__*/_react.default.createElement("div", {
221
- className: "file_down file_item"
222
- }, /*#__PURE__*/_react.default.createElement("div", {
223
- className: "file_title"
224
- }, "\u4E0B\u8F7D\u6A21\u677F"), /*#__PURE__*/_react.default.createElement("div", {
225
- className: "file_content"
226
- }, /*#__PURE__*/_react.default.createElement(_space.default, {
227
- size: [16, 8],
228
- wrap: true
229
- }, down === null || down === void 0 ? void 0 : down.map(function (v) {
230
- return /*#__PURE__*/_react.default.createElement("div", {
231
- key: v.value,
232
- className: "file_down_link",
233
- onClick: function onClick() {
234
- return downEvent(v);
235
- }
236
- }, /*#__PURE__*/_react.default.createElement(_IconFont.default, {
237
- type: "lmweb-file-excel"
238
- }), /*#__PURE__*/_react.default.createElement("div", null, v.label));
239
- })))), /*#__PURE__*/_react.default.createElement("div", {
240
- className: "file_upload file_item"
241
- }, /*#__PURE__*/_react.default.createElement("div", {
242
- className: "file_title"
243
- }, "\u4E0A\u4F20\u6587\u4EF6"), /*#__PURE__*/_react.default.createElement("div", {
244
- className: "file_content"
245
- }, /*#__PURE__*/_react.default.createElement(ImportBox, (0, _extends2.default)({
246
- value: fileValue.files,
247
- onChange: handleChange
248
- }, resetProps)), /*#__PURE__*/_react.default.createElement("div", {
249
- className: "file_view"
250
- }, fileValue.files.map(function (v, idx) {
251
- return (
252
- /*#__PURE__*/
253
- // eslint-disable-next-line react/no-array-index-key
254
- _react.default.createElement("div", {
255
- key: idx,
256
- className: "file_view_item"
257
- }, /*#__PURE__*/_react.default.createElement("div", {
258
- className: "file_view_item_label"
259
- }, /*#__PURE__*/_react.default.createElement(_IconFont.default, {
260
- type: "lmweb-file-excel"
261
- }), /*#__PURE__*/_react.default.createElement("span", null, v.name)), /*#__PURE__*/_react.default.createElement(_IconFont.default, {
262
- type: "lmweb-close1",
263
- className: "file_view_item_close",
264
- onClick: function onClick() {
265
- return handleDelete(v.name);
266
- }
267
- }))
268
- );
269
- })))), renderFileType && /*#__PURE__*/_react.default.createElement("div", {
270
- className: "file_type file_item"
271
- }, /*#__PURE__*/_react.default.createElement("div", {
272
- className: "file_title"
273
- }, "\u9009\u62E9\u7C7B\u578B"), /*#__PURE__*/_react.default.createElement("div", {
274
- className: "file_content"
275
- }, typeof renderFileType === 'function' ? renderFileType(function (e, field) {
276
- return handleChange(e, field);
277
- }) : /*#__PURE__*/_react.default.createElement(_radio.default.Group, {
278
- defaultValue: 0,
279
- onChange: function onChange(e) {
280
- return handleChange(e.target.value, 'type');
281
- }
282
- }, /*#__PURE__*/_react.default.createElement(_radio.default, {
283
- value: 0
284
- }, "\u5FEB\u901F\u5BFC\u5165"), /*#__PURE__*/_react.default.createElement(_radio.default, {
285
- value: 1
286
- }, "\u6309\u9700\u66F4\u65B0")))), /*#__PURE__*/_react.default.createElement("div", {
287
- className: "file_desc file_item"
288
- }, /*#__PURE__*/_react.default.createElement("div", {
289
- className: "file_title"
290
- }, "\u89C4\u5219\u8BF4\u660E"), /*#__PURE__*/_react.default.createElement("div", {
291
- className: "file_content"
292
- }, desc === null || desc === void 0 ? void 0 : desc.map(function (v) {
293
- return /*#__PURE__*/_react.default.createElement("div", {
294
- key: v.id
295
- }, "".concat(v.id, "\u3001").concat(v.value));
296
- })))));
297
- };
298
-
299
- var _default = Index;
300
- 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
- var _add = _interopRequireDefault(require("./add"));
11
-
12
- var _confirm = _interopRequireDefault(require("./confirm"));
13
-
14
- var _edit = _interopRequireDefault(require("./edit"));
15
-
16
- var _exportModal = _interopRequireDefault(require("./exportModal"));
17
-
18
- var Modal = {};
19
- Modal.AddMoal = _add.default;
20
- Modal.EditModal = _edit.default;
21
- Modal.ExportModal = _exportModal.default;
22
- Modal.Confirm = _confirm.default;
23
- var _default = Modal;
24
- exports.default = _default;
@@ -1,3 +0,0 @@
1
- "use strict";
2
-
3
- require("./style.css");
@@ -1,119 +0,0 @@
1
- .lm_addModal .ant-modal-header {
2
- padding: 0 24px;
3
- height: 46px;
4
- display: flex;
5
- align-items: center;
6
- }
7
- .lm_addModal .ant-modal-close-x {
8
- width: 46px;
9
- height: 46px;
10
- line-height: 44px;
11
- }
12
- .lm_addModal .ant-modal-body {
13
- padding: 24px 24px 21px;
14
- }
15
- .lm_addModal .ant-modal-body .ant-tabs-nav {
16
- margin: 0 10px;
17
- }
18
- .lm_addModal .ant-modal-body .ant-tabs-content-holder {
19
- max-height: 800px;
20
- overflow-y: auto;
21
- padding: 16px 10px;
22
- }
23
- .lm_editModal .ant-modal-header {
24
- padding: 0 24px;
25
- height: 46px;
26
- display: flex;
27
- align-items: center;
28
- }
29
- .lm_editModal .ant-modal-close-x {
30
- width: 46px;
31
- height: 46px;
32
- line-height: 44px;
33
- }
34
- .lm_editModal .ant-modal-body {
35
- padding: 12px;
36
- max-height: 600px;
37
- overflow-y: auto;
38
- }
39
- .lm_editModal .ant-modal-body .ant-form-item {
40
- margin-bottom: 16px;
41
- }
42
- .lm_editModal .ant-modal-footer {
43
- padding: 11px 24px;
44
- }
45
- .lm_editModal .ant-modal-footer .ant-btn + .ant-btn:not(.ant-dropdown-trigger) {
46
- margin-left: 10px;
47
- }
48
- .lm_file_body .file_title {
49
- color: rgba(0, 0, 0, 0.85);
50
- margin: 16px 0 4px;
51
- }
52
- .lm_file_body .file_item:first-child .file_title {
53
- margin-top: 0;
54
- }
55
- .lm_file_body .file_down .file_down_link {
56
- display: inline-flex;
57
- align-items: center;
58
- line-height: 1;
59
- gap: 4px;
60
- color: #1890fc;
61
- cursor: pointer;
62
- }
63
- .lm_file_body .file_upload .file_view {
64
- line-height: 1;
65
- margin-top: 8px;
66
- }
67
- .lm_file_body .file_upload .file_view .file_view_item {
68
- display: flex;
69
- align-items: center;
70
- justify-content: space-between;
71
- }
72
- .lm_file_body .file_upload .file_view .file_view_item .file_view_item_label {
73
- display: inline-flex;
74
- align-items: center;
75
- gap: 4px;
76
- }
77
- .lm_file_body .file_upload .file_view .file_view_item .file_view_item_close {
78
- transition: 0.3s;
79
- }
80
- .lm_file_body .file_upload .file_view .file_view_item .file_view_item_close:hover {
81
- color: #1890fc;
82
- }
83
- .lm_file_body .file_desc .file_content {
84
- color: rgba(0, 0, 0, 0.65);
85
- }
86
- .lm_file_body .import_box {
87
- position: relative;
88
- display: flex;
89
- flex-flow: column;
90
- align-items: center;
91
- justify-content: center;
92
- height: 120px;
93
- border-radius: 2px;
94
- border: 1px dashed rgba(0, 0, 0, 0.08);
95
- background: #fafafa;
96
- transition: 0.3s;
97
- cursor: pointer;
98
- }
99
- .lm_file_body .import_box:hover {
100
- border-color: #1890fc;
101
- }
102
- .lm_file_body .import_box .import_icon {
103
- font-size: 46px;
104
- color: #1890fc;
105
- }
106
- .lm_file_body .import_box .import_text {
107
- color: #000;
108
- margin-top: 8px;
109
- }
110
- .lm_file_body .import_box .import_input {
111
- position: absolute;
112
- left: 0;
113
- right: 0;
114
- top: 0;
115
- bottom: 0;
116
- max-width: 100%;
117
- opacity: 0;
118
- cursor: pointer;
119
- }
@@ -1,7 +0,0 @@
1
- import React from 'react';
2
- export interface IPaginationProps {
3
- className?: string;
4
- style?: React.CSSProperties;
5
- }
6
- declare const LMPagination: React.FC<IPaginationProps>;
7
- export default LMPagination;
@@ -1,37 +0,0 @@
1
- import "antd/es/pagination/style";
2
- import _Pagination from "antd/es/pagination";
3
-
4
- var __rest = this && this.__rest || function (s, e) {
5
- var t = {};
6
-
7
- for (var p in s) {
8
- if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
9
- }
10
-
11
- if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
12
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
13
- }
14
- return t;
15
- };
16
-
17
- import React from 'react';
18
- import classNames from 'classnames';
19
- var prefixCls = 'lm_pagination';
20
-
21
- var LMPagination = function LMPagination(props) {
22
- var children = props.children,
23
- className = props.className,
24
- others = __rest(props, ["children", "className"]);
25
-
26
- return /*#__PURE__*/React.createElement(_Pagination, Object.assign({
27
- className: classNames(className, prefixCls),
28
- size: "small"
29
- }, others, {
30
- locale: {
31
- items_per_page: '/条',
32
- jump_to: '前往'
33
- }
34
- }));
35
- };
36
-
37
- export default LMPagination;