linkmore-design 1.0.30 → 1.0.31

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 (444) hide show
  1. package/dist/index.umd.min.js +1 -1
  2. package/es/Button/index.d.ts +3 -0
  3. package/es/Button/index.js +43 -0
  4. package/es/Button/style/index.d.ts +1 -0
  5. package/es/Button/style/index.js +1 -0
  6. package/es/Button/style/style.css +110 -0
  7. package/es/ButtonTags/ButtonTags.js +59 -0
  8. package/es/ButtonTags/index.js +13 -0
  9. package/es/ButtonTags/style/index.js +3 -0
  10. package/es/ButtonTags/style/style.css +577 -0
  11. package/es/Card/index.d.ts +2 -0
  12. package/es/Card/index.js +17 -0
  13. package/es/Card/style/index.css +505 -0
  14. package/es/Card/style/index.d.ts +1 -0
  15. package/es/Card/style/index.js +1 -0
  16. package/es/Checkbox/index.js +47 -0
  17. package/es/Checkbox/style/index.js +3 -0
  18. package/es/Checkbox/style/style.css +128 -0
  19. package/es/CkFilter/baseFilter/NestedFilter.js +137 -0
  20. package/es/CkFilter/baseFilter/filterMenu.js +222 -0
  21. package/es/CkFilter/baseFilter/index.js +92 -0
  22. package/es/CkFilter/baseFilter/moreFilters.js +237 -0
  23. package/es/CkFilter/complexFilter/drawer.js +379 -0
  24. package/es/CkFilter/complexFilter/index.js +69 -0
  25. package/es/CkFilter/components/CascaderFilter.js +132 -0
  26. package/es/CkFilter/components/CheckboxTags.js +53 -0
  27. package/es/CkFilter/components/Controls.js +53 -0
  28. package/es/CkFilter/components/CustomModal.js +230 -0
  29. package/es/CkFilter/components/DragBox/DndContainer.js +49 -0
  30. package/es/CkFilter/components/DragBox/index.js +63 -0
  31. package/es/CkFilter/components/DragBox/sortableBox.js +24 -0
  32. package/es/CkFilter/components/DragBox/sortableItem.js +111 -0
  33. package/es/CkFilter/components/Nested.js +90 -0
  34. package/es/CkFilter/components/filterTypes.js +815 -0
  35. package/es/CkFilter/components/modal.js +297 -0
  36. package/es/CkFilter/components/modalBack.js +261 -0
  37. package/es/CkFilter/context.js +174 -0
  38. package/es/CkFilter/customFilter/drawer.js +395 -0
  39. package/es/CkFilter/customFilter/index.js +129 -0
  40. package/es/CkFilter/customFilter/radioGroup.js +64 -0
  41. package/es/CkFilter/filter.js +153 -0
  42. package/es/CkFilter/icon_placeholder.png +0 -0
  43. package/es/CkFilter/index.js +13 -0
  44. package/es/CkFilter/style/index.js +3 -0
  45. package/es/CkFilter/style/style.css +1084 -0
  46. package/es/CkFilter/utils.js +65 -0
  47. package/es/CustomerService/assets/question01.png +0 -0
  48. package/es/CustomerService/assets/send.png +0 -0
  49. package/es/CustomerService/assets/service.png +0 -0
  50. package/es/CustomerService/assets/shuoming01.png +0 -0
  51. package/es/CustomerService/assets/shuoming02.png +0 -0
  52. package/es/CustomerService/components/question.js +120 -0
  53. package/es/CustomerService/index.js +291 -0
  54. package/es/CustomerService/style/index.js +3 -0
  55. package/es/CustomerService/style/style.css +758 -0
  56. package/es/Drawer/index.d.ts +10 -0
  57. package/es/Drawer/index.js +42 -0
  58. package/es/Drawer/style/index.css +512 -0
  59. package/es/Drawer/style/index.d.ts +1 -0
  60. package/es/Drawer/style/index.js +1 -0
  61. package/es/Dropdown/index.d.ts +14 -0
  62. package/es/Dropdown/index.js +113 -0
  63. package/es/Dropdown/style/index.css +567 -0
  64. package/es/Dropdown/style/index.d.ts +1 -0
  65. package/es/Dropdown/style/index.js +1 -0
  66. package/es/EditTable/EditTable.js +588 -0
  67. package/es/EditTable/index.js +13 -0
  68. package/es/EditTable/style/index.js +3 -0
  69. package/es/EditTable/style/style.css +521 -0
  70. package/es/Empty/index.d.ts +7 -0
  71. package/es/Empty/index.js +3 -0
  72. package/es/Empty/style/index.css +505 -0
  73. package/es/Empty/style/index.d.ts +1 -0
  74. package/es/Empty/style/index.js +1 -0
  75. package/es/EnlargeImg/index.js +109 -0
  76. package/es/EnlargeImg/style/index.js +3 -0
  77. package/es/EnlargeImg/style/style.css +4 -0
  78. package/es/Filter/Popover.js +199 -0
  79. package/es/Filter/baseFilter/Popover.js +214 -0
  80. package/es/Filter/baseFilter/ToggleFilter.js +112 -0
  81. package/es/Filter/baseFilter/index.js +100 -0
  82. package/es/Filter/complex/ComplexFilter.js +149 -0
  83. package/es/Filter/complex/ComplexItem.js +157 -0
  84. package/es/Filter/components/Checkbox.js +94 -0
  85. package/es/Filter/components/Date.js +87 -0
  86. package/es/Filter/components/Input.js +63 -0
  87. package/es/Filter/components/Select.js +89 -0
  88. package/es/Filter/components/Tree.js +64 -0
  89. package/es/Filter/components/header.js +60 -0
  90. package/es/Filter/components/index.js +47 -0
  91. package/es/Filter/context.js +15 -0
  92. package/es/Filter/edit/editFilter.js +277 -0
  93. package/es/Filter/index.js +174 -0
  94. package/es/Filter/popContext.js +15 -0
  95. package/es/Filter/remember.js +137 -0
  96. package/es/Filter/style/index.js +3 -0
  97. package/es/Filter/style/style.css +776 -0
  98. package/es/Icon/index.js +20 -0
  99. package/es/Icon/style/index.js +1 -0
  100. package/es/Icon/style/style.css +0 -0
  101. package/es/IconFont/index.js +15 -0
  102. package/es/IconFont/style/index.js +1 -0
  103. package/es/IconFont/style/style.css +0 -0
  104. package/es/IconSelect/iconJson.json +2935 -0
  105. package/es/IconSelect/index.js +115 -0
  106. package/es/IconSelect/style/index.js +3 -0
  107. package/es/IconSelect/style/style.css +25 -0
  108. package/es/Input/index.js +74 -0
  109. package/es/Input/style/index.js +3 -0
  110. package/es/Input/style/style.css +738 -0
  111. package/es/InputNumber/index.d.ts +11 -0
  112. package/es/InputNumber/index.js +43 -0
  113. package/es/InputNumber/style/index.css +540 -0
  114. package/es/InputNumber/style/index.d.ts +1 -0
  115. package/es/InputNumber/style/index.js +1 -0
  116. package/es/LeftTable/assets/imgTest.jpg +0 -0
  117. package/es/LeftTable/index.js +118 -0
  118. package/es/LeftTable/style/index.js +3 -0
  119. package/es/LeftTable/style/style.css +617 -0
  120. package/es/LmTable/ImgList/body.js +111 -0
  121. package/es/LmTable/ImgList/cardCell.js +192 -0
  122. package/es/LmTable/ImgList/context.js +12 -0
  123. package/es/LmTable/ImgList/empty.js +24 -0
  124. package/es/LmTable/ImgList/footer.js +59 -0
  125. package/es/LmTable/ImgList/imgCell.js +175 -0
  126. package/es/LmTable/ImgList/imgTable.js +110 -0
  127. package/es/LmTable/ImgList/index.js +13 -0
  128. package/es/LmTable/Table.js +390 -0
  129. package/es/LmTable/VList.js +594 -0
  130. package/es/LmTable/autosize.js +170 -0
  131. package/es/LmTable/context.js +12 -0
  132. package/es/LmTable/detectElementResize.js +225 -0
  133. package/es/LmTable/index.js +19 -0
  134. package/es/LmTable/resetConfig.js +39 -0
  135. package/es/LmTable/style/index.js +3 -0
  136. package/es/LmTable/style/style.css +1079 -0
  137. package/es/LoadingPage/index.js +33 -0
  138. package/es/LoadingPage/style/index.js +1 -0
  139. package/es/LoadingPage/style/style.css +0 -0
  140. package/es/Menu/index.d.ts +7 -0
  141. package/es/Menu/index.js +3 -0
  142. package/es/Menu/style/index.css +505 -0
  143. package/es/Menu/style/index.d.ts +1 -0
  144. package/es/Menu/style/index.js +1 -0
  145. package/es/Modal/index.d.ts +12 -0
  146. package/es/Modal/index.js +94 -0
  147. package/es/Modal/style/index.css +540 -0
  148. package/es/Modal/style/index.d.ts +1 -0
  149. package/es/Modal/style/index.js +1 -0
  150. package/es/Notification/index.d.ts +7 -0
  151. package/es/Notification/index.js +10 -0
  152. package/es/Notification/style/index.css +508 -0
  153. package/es/Notification/style/index.d.ts +1 -0
  154. package/es/Notification/style/index.js +1 -0
  155. package/es/OldModal/add.js +68 -0
  156. package/es/OldModal/confirm.js +88 -0
  157. package/es/OldModal/edit.js +44 -0
  158. package/es/OldModal/exportModal.js +300 -0
  159. package/es/OldModal/index.js +24 -0
  160. package/es/OldModal/style/index.js +3 -0
  161. package/es/OldModal/style/style.css +119 -0
  162. package/es/Pagination/index.d.ts +7 -0
  163. package/es/Pagination/index.js +37 -0
  164. package/es/Pagination/style/index.css +554 -0
  165. package/es/Pagination/style/index.d.ts +1 -0
  166. package/es/Pagination/style/index.js +1 -0
  167. package/es/PopTable/BseTable.js +113 -0
  168. package/es/PopTable/index.js +151 -0
  169. package/es/PopTable/style/index.js +3 -0
  170. package/es/PopTable/style/style.css +715 -0
  171. package/es/ProTable/ImgList/body.js +111 -0
  172. package/es/ProTable/ImgList/cardCell.js +192 -0
  173. package/es/ProTable/ImgList/context.js +12 -0
  174. package/es/ProTable/ImgList/empty.js +24 -0
  175. package/es/ProTable/ImgList/footer.js +59 -0
  176. package/es/ProTable/ImgList/imgCell.js +181 -0
  177. package/es/ProTable/ImgList/imgTable.js +110 -0
  178. package/es/ProTable/ImgList/index.js +13 -0
  179. package/es/ProTable/Table.js +335 -0
  180. package/es/ProTable/VList.js +594 -0
  181. package/es/ProTable/autosize.js +170 -0
  182. package/es/ProTable/context.js +12 -0
  183. package/es/ProTable/detectElementResize.js +225 -0
  184. package/es/ProTable/index.js +19 -0
  185. package/es/ProTable/resetConfig.js +39 -0
  186. package/es/ProTable/style/index.js +3 -0
  187. package/es/ProTable/style/style.css +1079 -0
  188. package/es/Radio/index.js +50 -0
  189. package/es/Radio/style/index.js +3 -0
  190. package/es/Radio/style/style.css +137 -0
  191. package/es/Select/index.d.ts +18 -0
  192. package/es/Select/index.js +39 -0
  193. package/es/Select/style/index.css +517 -0
  194. package/es/Select/style/index.d.ts +1 -0
  195. package/es/Select/style/index.js +1 -0
  196. package/es/Space/index.d.ts +4 -0
  197. package/es/Space/index.js +3 -0
  198. package/es/Space/style/index.css +505 -0
  199. package/es/Space/style/index.d.ts +1 -0
  200. package/es/Space/style/index.js +1 -0
  201. package/es/TabBar/index.d.ts +12 -0
  202. package/es/TabBar/index.js +33 -0
  203. package/es/TabBar/style/index.d.ts +1 -0
  204. package/es/TabBar/style/index.js +1 -0
  205. package/es/TabBar/style/style.css +86 -0
  206. package/es/TableRender/index.js +15 -0
  207. package/es/TableRender/state.js +72 -0
  208. package/es/TableRender/style/index.js +3 -0
  209. package/es/TableRender/style/style.css +0 -0
  210. package/es/Tabs/index.d.ts +11 -0
  211. package/es/Tabs/index.js +31 -0
  212. package/es/Tabs/style/index.css +508 -0
  213. package/es/Tabs/style/index.d.ts +1 -0
  214. package/es/Tabs/style/index.js +1 -0
  215. package/es/Tag/index.d.ts +12 -0
  216. package/es/Tag/index.js +36 -0
  217. package/es/Tag/style/index.css +562 -0
  218. package/es/Tag/style/index.d.ts +1 -0
  219. package/es/Tag/style/index.js +1 -0
  220. package/es/Tree/index.d.ts +12 -0
  221. package/es/Tree/index.js +32 -0
  222. package/es/Tree/style/index.css +517 -0
  223. package/es/Tree/style/index.d.ts +1 -0
  224. package/es/Tree/style/index.js +1 -0
  225. package/es/UploadOss/index.js +18 -0
  226. package/es/UploadOss/style/index.js +3 -0
  227. package/es/UploadOss/style/style.css +121 -0
  228. package/es/UploadOss/uploadBtn.js +141 -0
  229. package/es/UploadOss/uploadImg.js +282 -0
  230. package/es/VirtualList/index.js +84 -0
  231. package/es/VirtualList/style/index.js +3 -0
  232. package/es/VirtualList/style/style.css +0 -0
  233. package/es/index.js +311 -0
  234. package/es/message/index.d.ts +7 -0
  235. package/es/message/index.js +12 -0
  236. package/es/message/style/index.css +509 -0
  237. package/es/message/style/index.d.ts +1 -0
  238. package/es/message/style/index.js +1 -0
  239. package/es/services/newRequest.js +201 -0
  240. package/es/services/utils.js +72 -0
  241. package/es/styles/globalClass.css +63 -0
  242. package/es/styles/icon.css +15 -0
  243. package/es/styles/main.css +505 -0
  244. package/es/styles/resetAntd.css +83 -0
  245. package/es/styles/them.css +0 -0
  246. package/lib/Button/index.d.ts +3 -0
  247. package/lib/Button/index.js +56 -0
  248. package/lib/Button/style/index.d.ts +1 -0
  249. package/lib/Button/style/index.js +3 -0
  250. package/lib/Button/style/style.css +110 -0
  251. package/lib/ButtonTags/style/index.js +3 -0
  252. package/lib/ButtonTags/style/style.css +577 -0
  253. package/lib/Card/index.d.ts +2 -0
  254. package/lib/Card/index.js +29 -0
  255. package/lib/Card/style/index.css +505 -0
  256. package/lib/Card/style/index.d.ts +1 -0
  257. package/lib/Card/style/index.js +3 -0
  258. package/lib/Checkbox/style/index.js +3 -0
  259. package/lib/Checkbox/style/style.css +128 -0
  260. package/lib/CkFilter/baseFilter/NestedFilter.js +137 -0
  261. package/lib/CkFilter/baseFilter/filterMenu.js +222 -0
  262. package/lib/CkFilter/baseFilter/index.js +92 -0
  263. package/lib/CkFilter/baseFilter/moreFilters.js +237 -0
  264. package/lib/CkFilter/complexFilter/drawer.js +379 -0
  265. package/lib/CkFilter/complexFilter/index.js +69 -0
  266. package/lib/CkFilter/components/CascaderFilter.js +132 -0
  267. package/lib/CkFilter/components/CheckboxTags.js +53 -0
  268. package/lib/CkFilter/components/Controls.js +53 -0
  269. package/lib/CkFilter/components/CustomModal.js +230 -0
  270. package/lib/CkFilter/components/DragBox/DndContainer.js +49 -0
  271. package/lib/CkFilter/components/DragBox/index.js +63 -0
  272. package/lib/CkFilter/components/DragBox/sortableBox.js +24 -0
  273. package/lib/CkFilter/components/DragBox/sortableItem.js +111 -0
  274. package/lib/CkFilter/components/Nested.js +90 -0
  275. package/lib/CkFilter/components/filterTypes.js +815 -0
  276. package/lib/CkFilter/components/modal.js +297 -0
  277. package/lib/CkFilter/components/modalBack.js +261 -0
  278. package/lib/CkFilter/customFilter/drawer.js +395 -0
  279. package/lib/CkFilter/customFilter/index.js +129 -0
  280. package/lib/CkFilter/customFilter/radioGroup.js +64 -0
  281. package/lib/CkFilter/style/index.js +3 -0
  282. package/lib/CkFilter/style/style.css +1084 -0
  283. package/lib/CustomerService/assets/question01.png +0 -0
  284. package/lib/CustomerService/assets/send.png +0 -0
  285. package/lib/CustomerService/assets/service.png +0 -0
  286. package/lib/CustomerService/assets/shuoming01.png +0 -0
  287. package/lib/CustomerService/assets/shuoming02.png +0 -0
  288. package/lib/CustomerService/components/question.js +120 -0
  289. package/lib/CustomerService/style/index.js +3 -0
  290. package/lib/CustomerService/style/style.css +758 -0
  291. package/lib/Drawer/index.d.ts +10 -0
  292. package/lib/Drawer/index.js +55 -0
  293. package/lib/Drawer/style/index.css +512 -0
  294. package/lib/Drawer/style/index.d.ts +1 -0
  295. package/lib/Drawer/style/index.js +3 -0
  296. package/lib/Dropdown/index.d.ts +14 -0
  297. package/lib/Dropdown/index.js +129 -0
  298. package/lib/Dropdown/style/index.css +567 -0
  299. package/lib/Dropdown/style/index.d.ts +1 -0
  300. package/lib/Dropdown/style/index.js +3 -0
  301. package/lib/EditTable/style/index.js +3 -0
  302. package/lib/EditTable/style/style.css +521 -0
  303. package/lib/Empty/index.d.ts +7 -0
  304. package/lib/Empty/index.js +15 -0
  305. package/lib/Empty/style/index.css +505 -0
  306. package/lib/Empty/style/index.d.ts +1 -0
  307. package/lib/Empty/style/index.js +3 -0
  308. package/lib/EnlargeImg/style/index.js +3 -0
  309. package/lib/EnlargeImg/style/style.css +4 -0
  310. package/lib/Filter/baseFilter/Popover.js +214 -0
  311. package/lib/Filter/baseFilter/ToggleFilter.js +112 -0
  312. package/lib/Filter/baseFilter/index.js +100 -0
  313. package/lib/Filter/complex/ComplexFilter.js +149 -0
  314. package/lib/Filter/complex/ComplexItem.js +157 -0
  315. package/lib/Filter/components/Checkbox.js +94 -0
  316. package/lib/Filter/components/Date.js +87 -0
  317. package/lib/Filter/components/Input.js +63 -0
  318. package/lib/Filter/components/Select.js +89 -0
  319. package/lib/Filter/components/Tree.js +64 -0
  320. package/lib/Filter/components/header.js +60 -0
  321. package/lib/Filter/components/index.js +47 -0
  322. package/lib/Filter/edit/editFilter.js +277 -0
  323. package/lib/Filter/style/index.js +3 -0
  324. package/lib/Filter/style/style.css +776 -0
  325. package/lib/Icon/style/index.js +1 -0
  326. package/lib/Icon/style/style.css +0 -0
  327. package/lib/IconFont/style/index.js +1 -0
  328. package/lib/IconFont/style/style.css +0 -0
  329. package/lib/IconSelect/style/index.js +3 -0
  330. package/lib/IconSelect/style/style.css +25 -0
  331. package/lib/Input/style/index.js +3 -0
  332. package/lib/Input/style/style.css +738 -0
  333. package/lib/InputNumber/index.d.ts +11 -0
  334. package/lib/InputNumber/index.js +56 -0
  335. package/lib/InputNumber/style/index.css +540 -0
  336. package/lib/InputNumber/style/index.d.ts +1 -0
  337. package/lib/InputNumber/style/index.js +3 -0
  338. package/lib/LeftTable/assets/imgTest.jpg +0 -0
  339. package/lib/LeftTable/style/index.js +3 -0
  340. package/lib/LeftTable/style/style.css +617 -0
  341. package/lib/LmTable/ImgList/body.js +111 -0
  342. package/lib/LmTable/ImgList/cardCell.js +192 -0
  343. package/lib/LmTable/ImgList/context.js +12 -0
  344. package/lib/LmTable/ImgList/empty.js +24 -0
  345. package/lib/LmTable/ImgList/footer.js +59 -0
  346. package/lib/LmTable/ImgList/imgCell.js +175 -0
  347. package/lib/LmTable/ImgList/imgTable.js +110 -0
  348. package/lib/LmTable/ImgList/index.js +13 -0
  349. package/lib/LmTable/style/index.js +3 -0
  350. package/lib/LmTable/style/style.css +1079 -0
  351. package/lib/LoadingPage/style/index.js +1 -0
  352. package/lib/LoadingPage/style/style.css +0 -0
  353. package/lib/Menu/index.d.ts +7 -0
  354. package/lib/Menu/index.js +15 -0
  355. package/lib/Menu/style/index.css +505 -0
  356. package/lib/Menu/style/index.d.ts +1 -0
  357. package/lib/Menu/style/index.js +3 -0
  358. package/lib/Modal/index.d.ts +12 -0
  359. package/lib/Modal/index.js +108 -0
  360. package/lib/Modal/style/index.css +540 -0
  361. package/lib/Modal/style/index.d.ts +1 -0
  362. package/lib/Modal/style/index.js +3 -0
  363. package/lib/Notification/index.d.ts +7 -0
  364. package/lib/Notification/index.js +23 -0
  365. package/lib/Notification/style/index.css +508 -0
  366. package/lib/Notification/style/index.d.ts +1 -0
  367. package/lib/Notification/style/index.js +3 -0
  368. package/lib/OldModal/style/index.js +3 -0
  369. package/lib/OldModal/style/style.css +119 -0
  370. package/lib/Pagination/index.d.ts +7 -0
  371. package/lib/Pagination/index.js +50 -0
  372. package/lib/Pagination/style/index.css +554 -0
  373. package/lib/Pagination/style/index.d.ts +1 -0
  374. package/lib/Pagination/style/index.js +3 -0
  375. package/lib/PopTable/style/index.js +3 -0
  376. package/lib/PopTable/style/style.css +715 -0
  377. package/lib/ProTable/ImgList/body.js +111 -0
  378. package/lib/ProTable/ImgList/cardCell.js +192 -0
  379. package/lib/ProTable/ImgList/context.js +12 -0
  380. package/lib/ProTable/ImgList/empty.js +24 -0
  381. package/lib/ProTable/ImgList/footer.js +59 -0
  382. package/lib/ProTable/ImgList/imgCell.js +181 -0
  383. package/lib/ProTable/ImgList/imgTable.js +110 -0
  384. package/lib/ProTable/ImgList/index.js +13 -0
  385. package/lib/ProTable/style/index.js +3 -0
  386. package/lib/ProTable/style/style.css +1079 -0
  387. package/lib/Radio/index.js +50 -0
  388. package/lib/Radio/style/index.js +3 -0
  389. package/lib/Radio/style/style.css +137 -0
  390. package/lib/Select/index.d.ts +18 -0
  391. package/lib/Select/index.js +54 -0
  392. package/lib/Select/style/index.css +517 -0
  393. package/lib/Select/style/index.d.ts +1 -0
  394. package/lib/Select/style/index.js +3 -0
  395. package/lib/Space/index.d.ts +4 -0
  396. package/lib/Space/index.js +15 -0
  397. package/lib/Space/style/index.css +505 -0
  398. package/lib/Space/style/index.d.ts +1 -0
  399. package/lib/Space/style/index.js +3 -0
  400. package/lib/TabBar/index.d.ts +12 -0
  401. package/lib/TabBar/index.js +45 -0
  402. package/lib/TabBar/style/index.d.ts +1 -0
  403. package/lib/TabBar/style/index.js +3 -0
  404. package/lib/TabBar/style/style.css +86 -0
  405. package/lib/TableRender/index.js +15 -0
  406. package/lib/TableRender/state.js +72 -0
  407. package/lib/TableRender/style/index.js +3 -0
  408. package/lib/TableRender/style/style.css +0 -0
  409. package/lib/Tabs/index.d.ts +11 -0
  410. package/lib/Tabs/index.js +44 -0
  411. package/lib/Tabs/style/index.css +508 -0
  412. package/lib/Tabs/style/index.d.ts +1 -0
  413. package/lib/Tabs/style/index.js +3 -0
  414. package/lib/Tag/index.d.ts +12 -0
  415. package/lib/Tag/index.js +52 -0
  416. package/lib/Tag/style/index.css +562 -0
  417. package/lib/Tag/style/index.d.ts +1 -0
  418. package/lib/Tag/style/index.js +3 -0
  419. package/lib/Tree/index.d.ts +12 -0
  420. package/lib/Tree/index.js +47 -0
  421. package/lib/Tree/style/index.css +517 -0
  422. package/lib/Tree/style/index.d.ts +1 -0
  423. package/lib/Tree/style/index.js +3 -0
  424. package/lib/UploadOss/index.js +18 -0
  425. package/lib/UploadOss/style/index.js +3 -0
  426. package/lib/UploadOss/style/style.css +121 -0
  427. package/lib/UploadOss/uploadBtn.js +141 -0
  428. package/lib/UploadOss/uploadImg.js +282 -0
  429. package/lib/VirtualList/index.js +84 -0
  430. package/lib/VirtualList/style/index.js +3 -0
  431. package/lib/VirtualList/style/style.css +0 -0
  432. package/lib/message/index.d.ts +7 -0
  433. package/lib/message/index.js +24 -0
  434. package/lib/message/style/index.css +509 -0
  435. package/lib/message/style/index.d.ts +1 -0
  436. package/lib/message/style/index.js +3 -0
  437. package/lib/services/newRequest.js +201 -0
  438. package/lib/services/utils.js +72 -0
  439. package/lib/styles/globalClass.css +63 -0
  440. package/lib/styles/icon.css +15 -0
  441. package/lib/styles/main.css +505 -0
  442. package/lib/styles/resetAntd.css +83 -0
  443. package/lib/styles/them.css +0 -0
  444. package/package.json +1 -1
@@ -0,0 +1,33 @@
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/spin/style");
11
+
12
+ var _spin = _interopRequireDefault(require("antd/es/spin"));
13
+
14
+ var _react = _interopRequireDefault(require("react"));
15
+
16
+ var LoadingPage = function LoadingPage(_ref) {
17
+ var _ref$height = _ref.height,
18
+ height = _ref$height === void 0 ? '100%' : _ref$height;
19
+ return /*#__PURE__*/_react.default.createElement("div", {
20
+ style: {
21
+ display: 'flex',
22
+ width: '100%',
23
+ height: height,
24
+ alignItems: 'center',
25
+ justifyContent: 'center'
26
+ }
27
+ }, /*#__PURE__*/_react.default.createElement(_spin.default, {
28
+ size: "large"
29
+ }));
30
+ };
31
+
32
+ var _default = LoadingPage;
33
+ exports.default = _default;
@@ -0,0 +1 @@
1
+ "use strict";
File without changes
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ import { Menu } from 'antd';
3
+ export interface IMenuProps {
4
+ className?: string;
5
+ style?: React.CSSProperties;
6
+ }
7
+ export default Menu;
@@ -0,0 +1,3 @@
1
+ import "antd/es/menu/style";
2
+ import _Menu from "antd/es/menu";
3
+ export default _Menu;
@@ -0,0 +1,505 @@
1
+ .ant-layout-sider {
2
+ min-height: 100vh;
3
+ background-color: #022766;
4
+ }
5
+ .ant-menu-dark .ant-menu-inline.ant-menu-sub {
6
+ box-shadow: none;
7
+ }
8
+ .ant-menu-submenu-placement-rightTop {
9
+ display: none;
10
+ }
11
+ .ant-table .row-active .ant-table-cell {
12
+ background-color: #feffd3 !important;
13
+ }
14
+ .ant-table.ant-table-empty .ant-table-expanded-row-fixed {
15
+ padding: 0;
16
+ }
17
+ .ant-table.ant-table-empty .ant-table-expanded-row-fixed .ant-empty {
18
+ margin: 0;
19
+ }
20
+ .ant-table .ant-empty {
21
+ display: flex;
22
+ align-items: center;
23
+ justify-content: center;
24
+ }
25
+ .ant-table .ant-empty .ant-empty-image {
26
+ height: 24px;
27
+ margin: var(--gap) 0;
28
+ }
29
+ .ant-tabs .ant-tabs-nav .ant-tabs-tab {
30
+ font-size: 14px;
31
+ }
32
+ .ant-tabs.auto_tabs {
33
+ display: flex;
34
+ flex-flow: column;
35
+ height: 100%;
36
+ }
37
+ .ant-tabs.auto_tabs .ant-tabs-nav {
38
+ height: 48px;
39
+ }
40
+ .ant-tabs.auto_tabs .ant-tabs-content-holder {
41
+ flex: 1;
42
+ overflow: auto;
43
+ }
44
+ .ant-drawer.drawer_wrapper .ant-drawer-header {
45
+ padding: 0 24px;
46
+ }
47
+ .ant-drawer.drawer_wrapper .ant-drawer-body {
48
+ position: relative;
49
+ flex: 1;
50
+ padding: 0 24px;
51
+ }
52
+ .ant-modal-wrap.plugin_modal {
53
+ display: flex;
54
+ flex-flow: column;
55
+ justify-content: flex-end;
56
+ }
57
+ .ant-modal-wrap.plugin_modal .ant-modal {
58
+ top: 0;
59
+ left: 56px;
60
+ margin: 0 0 8px 8px;
61
+ padding: 0;
62
+ }
63
+ .ant-modal-wrap.lm_modal_confirm .anticon {
64
+ margin-top: -1px;
65
+ margin-right: 8px;
66
+ }
67
+ .ant-modal-wrap.lm_modal_confirm .ant-modal-body {
68
+ padding: 16px 24px;
69
+ }
70
+ .ant-popover.pop_img .ant-popover-inner-content {
71
+ padding: var(--gap);
72
+ line-height: 1;
73
+ }
74
+ .ant-notification-notice .ant-notification-notice-content .ant-notification-notice-message {
75
+ font-size: 14px;
76
+ font-weight: 500;
77
+ }
78
+ .ant-notification-notice .ant-notification-notice-content > div > div:last-child {
79
+ margin-bottom: 8px;
80
+ }
81
+ .ant-notification-notice .ant-notification-notice-description {
82
+ font-size: 12px;
83
+ }
84
+ @font-face {
85
+ font-family: 'iconfont';
86
+ /* Project id 2966019 */
87
+ src: url('//at.alicdn.com/t/font_2966019_i3eb1wwkoo.woff2?t=1641546077924') format('woff2'), url('//at.alicdn.com/t/font_2966019_i3eb1wwkoo.woff?t=1641546077924') format('woff'), url('//at.alicdn.com/t/font_2966019_i3eb1wwkoo.ttf?t=1641546077924') format('truetype');
88
+ }
89
+ .icon_ {
90
+ font-size: 14px;
91
+ font-family: 'iconfont';
92
+ }
93
+ .iconfont {
94
+ font-size: 12px;
95
+ }
96
+ .icon_home::before {
97
+ content: '\e7fc';
98
+ }
99
+ .lm-font-small-bold {
100
+ font-weight: 400;
101
+ font-size: var(--font-size-sm);
102
+ line-height: 20px;
103
+ }
104
+ .lm-font-middle-bold {
105
+ font-weight: 500;
106
+ font-size: var(--font-size-base);
107
+ line-height: 22px;
108
+ }
109
+ .lm-font-large-bold {
110
+ font-weight: 500;
111
+ font-size: var(--font-size-lg);
112
+ line-height: 24px;
113
+ }
114
+ .lm-font-small {
115
+ font-size: var(--font-size-sm);
116
+ line-height: 20px;
117
+ }
118
+ .lm-font-middle {
119
+ font-size: var(--font-size-base);
120
+ line-height: 22px;
121
+ }
122
+ .lm-font-large {
123
+ font-size: var(--font-size-lg);
124
+ line-height: 24px;
125
+ }
126
+ .lm-shadown-level1-up {
127
+ box-shadow: 0px -1px 2px -2px rgba(0, 0, 0, 0.16), 0px -3px 6px 0px rgba(0, 0, 0, 0.12), 0px -5px 12px 4px rgba(0, 0, 0, 0.09);
128
+ }
129
+ .lm-shadown-level2-up {
130
+ box-shadow: 0px -3px 6px -4px rgba(0, 0, 0, 0.12), 0px -6px 16px 0px rgba(0, 0, 0, 0.08), 0px -9px 28px 8px rgba(0, 0, 0, 0.05);
131
+ }
132
+ .lm-shadown-level3-up {
133
+ box-shadow: 0px -6px 16px -8px rgba(0, 0, 0, 0.08), 0px -9px 28px 0px rgba(0, 0, 0, 0.05), 0px -12px 48px 16px rgba(0, 0, 0, 0.03);
134
+ }
135
+ .lm-shadown-level1-down {
136
+ box-shadow: 0px 1px 2px -2px rgba(0, 0, 0, 0.16), 0px 3px 6px 0px rgba(0, 0, 0, 0.12), 0px 5px 12px 4px rgba(0, 0, 0, 0.09);
137
+ }
138
+ .lm-shadown-level2-down {
139
+ box-shadow: 0px 3px 6px -4px rgba(0, 0, 0, 0.12), 0px 6px 16px 0px rgba(0, 0, 0, 0.08), 0px 9px 28px 8px rgba(0, 0, 0, 0.05);
140
+ }
141
+ .lm-shadown-level3-down {
142
+ box-shadow: 0px 6px 16px -8px rgba(0, 0, 0, 0.08), 0px 9px 28px 0px rgba(0, 0, 0, 0.05), 0px 12px 48px 16px rgba(0, 0, 0, 0.03);
143
+ }
144
+ .lm-shadown-level1-left {
145
+ box-shadow: -1px 0px 2px -2px rgba(0, 0, 0, 0.16), -3px 0px 6px 0px rgba(0, 0, 0, 0.12), -5px 0px 12px 4px rgba(0, 0, 0, 0.09);
146
+ }
147
+ .lm-shadown-level2-left {
148
+ box-shadow: -3px 0px 6px -4px rgba(0, 0, 0, 0.12), -6px 0px 16px 0px rgba(0, 0, 0, 0.08), -9px 0px 28px 8px rgba(0, 0, 0, 0.05);
149
+ }
150
+ .lm-shadown-level3-left {
151
+ box-shadow: -6px 0px 16px -8px rgba(0, 0, 0, 0.08), -9px 0px 28px 0px rgba(0, 0, 0, 0.05), -12px 0px 48px 16px rgba(0, 0, 0, 0.03);
152
+ }
153
+ .lm-shadown-level1-right {
154
+ box-shadow: 1px 0px 2px -2px rgba(0, 0, 0, 0.16), 3px 0px 6px 0px rgba(0, 0, 0, 0.12), 5px 0px 12px 4px rgba(0, 0, 0, 0.09);
155
+ }
156
+ .lm-shadown-level2-right {
157
+ box-shadow: 3px 0px 6px -4px rgba(0, 0, 0, 0.12), 6px 0px 16px 0px rgba(0, 0, 0, 0.08), 9px 0px 28px 8px rgba(0, 0, 0, 0.05);
158
+ }
159
+ .lm-shadown-level3-right {
160
+ box-shadow: 6px 0px 16px -8px rgba(0, 0, 0, 0.08), 9px 0px 28px 0px rgba(0, 0, 0, 0.05), 12px 0px 48px 16px rgba(0, 0, 0, 0.03);
161
+ }
162
+ :root {
163
+ --primary-color: #1890fc;
164
+ --primary-click-color: #096dd9;
165
+ --success-color: #52c14a;
166
+ --warning-color: #fd9727;
167
+ --error-color: #fa4f53;
168
+ --aside-bg-color: #022766;
169
+ --primary-hover-color: #40a9ff;
170
+ --primary-loading-color: #84b7fa;
171
+ --primary-select-color: #e6f7ff;
172
+ --error-hover-color: #ee8079;
173
+ --error-loading-color: #fbcdcd;
174
+ --disabled-border-color: rgba(0, 0, 0, 0.15);
175
+ --disabled-bg-color: rgba(0, 0, 0, 0.04);
176
+ --disabled-font-color: rgba(0, 0, 0, 0.25);
177
+ --font-color: rgba(0, 0, 0, 0.85);
178
+ --text-color: rgba(0, 0, 0, 0.45);
179
+ --tip-text-color: rgba(0, 0, 0, 0.25);
180
+ --stroke-color: rgba(0, 0, 0, 0.15);
181
+ --line-color: rgba(0, 0, 0, 0.06);
182
+ --background-color: rgba(0, 0, 0, 0.04);
183
+ --table-header-color: rgba(0, 0, 0, 0.02);
184
+ --font2-color: rgba(0, 0, 0, 0.65);
185
+ --background-color-hover: rgba(0, 0, 0, 0.08);
186
+ --border-color: #f0f0f0;
187
+ --stripe-color: #f5f5f5;
188
+ --border-hover-color: #f2f5f7;
189
+ --box-shadow-color: rgba(0, 0, 0, 0.1);
190
+ --table-background-color: #fafafa;
191
+ --disabled-color: rgba(0, 0, 0, 0.25);
192
+ --font-size: 12px;
193
+ --gap: 8px;
194
+ --basic-height: 24px;
195
+ --font-size-base: 14px;
196
+ --font-size-lg: calc(var(--font-size-base) + 2px);
197
+ --font-size-sm: 12px;
198
+ --color-contrast: #fff;
199
+ --color-100: #000;
200
+ --color-85: #262626;
201
+ --color-65: #595959;
202
+ --color-45: #8c8c8c;
203
+ --color-25: #bfbfbf;
204
+ --color-15: #d9d9d9;
205
+ --color-6: #f0f0f0;
206
+ --color-4: #f5f5f5;
207
+ --color-2: #fafafa;
208
+ /** tree */
209
+ --tree-select-bg: #EDF6FF;
210
+ }
211
+ /** tag */
212
+ :root[theme='dark'] {
213
+ --font-color: rgba(255, 255, 255, 0.85);
214
+ --text-color: rgba(255, 255, 255, 0.45);
215
+ --tip-text-color: rgba(255, 255, 255, 0.25);
216
+ --stroke-color: rgba(255, 255, 255, 0.15);
217
+ --line-color: rgba(255, 255, 255, 0.06);
218
+ --background-color: rgba(255, 255, 255, 0.04);
219
+ --table-header-color: rgba(255, 255, 255, 0.02);
220
+ --font2-color: rgba(255, 255, 255, 0.65);
221
+ --background-color-hover: rgba(255, 255, 255, 0.08);
222
+ }
223
+ html {
224
+ background-color: #f0f2f5;
225
+ }
226
+ #app {
227
+ width: 100vw;
228
+ min-width: 1200px;
229
+ height: 100vh;
230
+ font-family: 'PingFang SC', 'Microsoft YaHei UI', '微软雅黑', Helvetica, Arial, sans-serif;
231
+ }
232
+ .ka-wrapper,
233
+ .ka-content {
234
+ height: 100%;
235
+ }
236
+ * {
237
+ margin: 0;
238
+ padding: 0;
239
+ list-style: none;
240
+ }
241
+ *::-webkit-scrollbar {
242
+ width: 8px;
243
+ height: 8px;
244
+ border-radius: 10px;
245
+ }
246
+ *::-webkit-scrollbar-button {
247
+ display: none;
248
+ }
249
+ *::-webkit-scrollbar-track {
250
+ background: transparent;
251
+ }
252
+ *::-webkit-scrollbar-thumb {
253
+ background: #d8d8d8;
254
+ border-radius: 6px;
255
+ }
256
+ *::-webkit-scrollbar-thumb:hover,
257
+ *::-webkit-scrollbar-thumb:active {
258
+ background: #bfbfbf;
259
+ }
260
+ .page-content {
261
+ margin: 12px;
262
+ padding: 16px;
263
+ background: #fff;
264
+ }
265
+ .addModal .ant-modal-header {
266
+ display: flex;
267
+ align-items: center;
268
+ height: 46px;
269
+ padding: 0 24px;
270
+ }
271
+ .addModal .ant-modal-close-x {
272
+ width: 46px;
273
+ height: 46px;
274
+ line-height: 44px;
275
+ }
276
+ .addModal .ant-modal-body {
277
+ padding: 24px 24px 21px;
278
+ }
279
+ .addModal .ant-modal-body .ant-tabs-nav {
280
+ margin: 0 10px;
281
+ }
282
+ .addModal .ant-modal-body .ant-tabs-content-holder {
283
+ max-height: 800px;
284
+ padding: 16px 10px;
285
+ overflow-y: auto;
286
+ }
287
+ .addModal .ant-modal-footer {
288
+ padding: 11px 24px;
289
+ }
290
+ .addModal .ant-modal-footer .ant-btn + .ant-btn:not(.ant-dropdown-trigger) {
291
+ margin-left: 10px;
292
+ }
293
+ .editModal .ant-modal-header {
294
+ display: flex;
295
+ align-items: center;
296
+ height: 46px;
297
+ padding: 0 24px;
298
+ }
299
+ .editModal .ant-modal-close-x {
300
+ width: 46px;
301
+ height: 46px;
302
+ line-height: 44px;
303
+ }
304
+ .editModal .ant-modal-body {
305
+ max-height: 600px;
306
+ padding: 24px 24px 21px;
307
+ overflow-y: auto;
308
+ }
309
+ .editModal .ant-modal-body .ant-form-item {
310
+ margin-bottom: 16px;
311
+ }
312
+ .editModal .ant-modal-footer {
313
+ padding: 11px 24px;
314
+ }
315
+ .editModal .ant-modal-footer .ant-btn + .ant-btn:not(.ant-dropdown-trigger) {
316
+ margin-left: 10px;
317
+ }
318
+ .ant-select-dropdown .ant-select-item {
319
+ align-items: center;
320
+ font-size: 12px;
321
+ }
322
+ .react-resizable {
323
+ position: relative;
324
+ background-clip: padding-box;
325
+ }
326
+ .react-resizable-handle {
327
+ position: absolute;
328
+ top: 0;
329
+ right: 0;
330
+ z-index: 1;
331
+ width: 3px;
332
+ height: 40px;
333
+ cursor: col-resize;
334
+ }
335
+ .react-resizable-handle:hover {
336
+ background-color: var(--primary-color);
337
+ }
338
+ .react-resizable-handle:active {
339
+ background-color: var(--primary-color);
340
+ }
341
+ .yf_resizable_bar {
342
+ position: absolute;
343
+ top: 0;
344
+ left: 0;
345
+ z-index: 2;
346
+ height: 0;
347
+ }
348
+ .resizable_line {
349
+ position: absolute;
350
+ top: 0;
351
+ left: 0;
352
+ z-index: 1;
353
+ width: 1px;
354
+ height: 100%;
355
+ background-color: var(--primary-color);
356
+ }
357
+ .handle_resizable {
358
+ position: absolute;
359
+ top: 0;
360
+ right: 0;
361
+ z-index: 2;
362
+ width: 5px;
363
+ height: 100%;
364
+ }
365
+ .card_cell_content {
366
+ display: flex;
367
+ flex-flow: column;
368
+ height: 100%;
369
+ overflow: hidden;
370
+ border: 1px solid transparent;
371
+ border-radius: 2px;
372
+ transition: 0.3s;
373
+ }
374
+ .card_cell_content .card_cell_body {
375
+ position: relative;
376
+ display: flex;
377
+ flex: 1;
378
+ flex-flow: column;
379
+ padding: 16px;
380
+ background: rgba(0, 0, 0, 0.02);
381
+ cursor: pointer;
382
+ }
383
+ .card_cell_content .card_cell_body .card_cell_checkbox {
384
+ position: absolute;
385
+ top: 8px;
386
+ left: 8px;
387
+ line-height: 1;
388
+ opacity: 0;
389
+ transition: 0.3s;
390
+ }
391
+ .card_cell_content .card_cell_body .card_cell_checkbox .ant-checkbox {
392
+ border: 8px solid rgba(255, 255, 255, 0.624);
393
+ border-radius: 2px;
394
+ }
395
+ .card_cell_content .card_cell_body .card_cell_info .title {
396
+ display: flex;
397
+ gap: 8px;
398
+ align-items: center;
399
+ justify-content: space-between;
400
+ }
401
+ .card_cell_content .card_cell_body .card_cell_info .title .label {
402
+ flex: 1;
403
+ overflow: hidden;
404
+ font-weight: 500;
405
+ font-size: 14px;
406
+ white-space: nowrap;
407
+ text-overflow: ellipsis;
408
+ text-shadow: 0px 2px 8px rgba(0, 0, 0, 0.08);
409
+ }
410
+ .card_cell_content .card_cell_body .card_cell_info .title .icon {
411
+ display: inline-flex;
412
+ gap: 4px;
413
+ align-items: center;
414
+ height: 22px;
415
+ padding: 0 8px;
416
+ font-size: 12px;
417
+ line-height: 1;
418
+ background: var(--background-color);
419
+ }
420
+ .card_cell_content .card_cell_body .card_cell_info .code .ant-typography {
421
+ margin: 0;
422
+ color: var(--text-color);
423
+ text-shadow: 0px 2px 8px rgba(0, 0, 0, 0.08);
424
+ }
425
+ .card_cell_content .card_cell_body .card_cell_info .code .ant-typography .ant-typography-copy {
426
+ color: inherit;
427
+ }
428
+ .card_cell_content .card_cell_body .card_cell_info .expand {
429
+ display: flex;
430
+ flex-wrap: wrap;
431
+ gap: 16px;
432
+ padding: 6px 0 2px;
433
+ color: var(--text-color);
434
+ font-size: 12px;
435
+ text-shadow: 0px 2px 8px rgba(0, 0, 0, 0.08);
436
+ }
437
+ .card_cell_content .card_cell_body .card_cell_info .expand > div {
438
+ padding: 2px 0;
439
+ }
440
+ .card_cell_content .card_cell_body .card_cell_center {
441
+ display: flex;
442
+ flex: 1;
443
+ align-items: center;
444
+ }
445
+ .card_cell_content .card_cell_body .card_cell_center .list {
446
+ display: flex;
447
+ align-items: center;
448
+ justify-content: space-between;
449
+ width: 100%;
450
+ margin: auto 0;
451
+ text-align: center;
452
+ }
453
+ .card_cell_content .card_cell_body .card_cell_center .list .item {
454
+ display: inline-flex;
455
+ gap: 4px;
456
+ align-items: center;
457
+ line-height: 1;
458
+ }
459
+ .card_cell_content .card_cell_body .card_cell_center .list .item .num {
460
+ color: var(--font-color);
461
+ font-weight: 500;
462
+ font-size: 20px;
463
+ }
464
+ .card_cell_content .card_cell_body .card_cell_center .list .item .text {
465
+ color: var(--text-color);
466
+ font-size: 12px;
467
+ }
468
+ .card_cell_content .card_cell_footer {
469
+ display: flex;
470
+ align-items: center;
471
+ height: 40px;
472
+ background: #f7f7f7;
473
+ }
474
+ .card_cell_content .card_cell_footer > * {
475
+ flex: 1;
476
+ }
477
+ .card_cell_content .card_cell_footer > *::after {
478
+ position: absolute;
479
+ top: 50%;
480
+ right: 0;
481
+ width: 1px;
482
+ height: 18px;
483
+ background-color: #e8e8e8;
484
+ transform: translateY(-50%);
485
+ content: '';
486
+ }
487
+ .card_cell_content .card_cell_footer button:last-child {
488
+ border: none;
489
+ }
490
+ .card_cell_content .card_cell_footer button:last-child::after {
491
+ display: none;
492
+ }
493
+ .card_cell_content .card_cell_footer .footer_expand {
494
+ font-size: 16px;
495
+ text-align: center;
496
+ border: none;
497
+ }
498
+ .card_cell_content.checked,
499
+ .card_cell_content:hover {
500
+ border-color: var(--primary-color);
501
+ }
502
+ .card_cell_content.checked .card_cell_body .card_cell_checkbox,
503
+ .card_cell_content:hover .card_cell_body .card_cell_checkbox {
504
+ opacity: 1;
505
+ }
@@ -0,0 +1 @@
1
+ import './index.less';
@@ -0,0 +1 @@
1
+ import "./index.css";
@@ -0,0 +1,12 @@
1
+ import React from 'react';
2
+ import { ModalProps } from 'antd';
3
+ export interface ILMModalProps extends ModalProps {
4
+ wrapClassName?: string;
5
+ size?: 'default' | 'small';
6
+ }
7
+ declare const LMModal: React.FC<ModalProps> & import("antd/lib/modal/confirm").ModalStaticFunctions & {
8
+ useModal: typeof import("antd/lib/modal/useModal").default;
9
+ destroyAll: () => void;
10
+ config: typeof import("antd/lib/modal/confirm").modalGlobalConfig;
11
+ };
12
+ export default LMModal;
@@ -0,0 +1,94 @@
1
+ import "antd/es/modal/style";
2
+ import _Modal from "antd/es/modal";
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 Button from '../Button';
19
+ import classNames from 'classnames';
20
+ var prefixCls = 'lm_modal';
21
+
22
+ var CLMModal = function CLMModal(props) {
23
+ var wrapClassName = props.wrapClassName,
24
+ _props$size = props.size,
25
+ size = _props$size === void 0 ? 'default' : _props$size,
26
+ onOk = props.onOk,
27
+ onCancel = props.onCancel,
28
+ _props$okText = props.okText,
29
+ okText = _props$okText === void 0 ? '确定' : _props$okText,
30
+ _props$cancelText = props.cancelText,
31
+ cancelText = _props$cancelText === void 0 ? '取消' : _props$cancelText,
32
+ other = __rest(props, ["wrapClassName", "size", "onOk", "onCancel", "okText", "cancelText"]);
33
+
34
+ return /*#__PURE__*/React.createElement(_Modal, Object.assign({
35
+ wrapClassName: classNames(wrapClassName, prefixCls),
36
+ width: size === 'default' ? 552 : 416,
37
+ footer: [/*#__PURE__*/React.createElement(Button, {
38
+ onClick: onCancel,
39
+ size: 'middle'
40
+ }, cancelText), /*#__PURE__*/React.createElement(Button, {
41
+ type: "primary",
42
+ onClick: onOk,
43
+ size: 'middle'
44
+ }, okText)]
45
+ }, other, {
46
+ onOk: onOk,
47
+ onCancel: onCancel,
48
+ okText: okText,
49
+ cancelText: cancelText
50
+ }));
51
+ };
52
+
53
+ var LMModal = CLMModal;
54
+ LMModal.useModal = _Modal.useModal;
55
+
56
+ LMModal.info = function (props) {
57
+ return _Modal.info(Object.assign(Object.assign({}, props), {
58
+ wrapClassName: classNames(props.wrapClassName, prefixCls, 'lm_modal_info')
59
+ }));
60
+ };
61
+
62
+ LMModal.success = function (props) {
63
+ return _Modal.success(Object.assign(Object.assign({}, props), {
64
+ wrapClassName: classNames(props.wrapClassName, prefixCls, 'lm_modal_info')
65
+ }));
66
+ };
67
+
68
+ LMModal.error = function (props) {
69
+ return _Modal.error(Object.assign(Object.assign({}, props), {
70
+ wrapClassName: classNames(props.wrapClassName, prefixCls, 'lm_modal_info')
71
+ }));
72
+ };
73
+
74
+ LMModal.warning = function (props) {
75
+ return _Modal.warning(Object.assign(Object.assign({}, props), {
76
+ wrapClassName: classNames(props.wrapClassName, prefixCls, 'lm_modal_info')
77
+ }));
78
+ };
79
+
80
+ LMModal.warn = function (props) {
81
+ return _Modal.warn(Object.assign(Object.assign({}, props), {
82
+ wrapClassName: classNames(props.wrapClassName, prefixCls, 'lm_modal_info')
83
+ }));
84
+ };
85
+
86
+ LMModal.confirm = function (props) {
87
+ return _Modal.confirm(Object.assign(Object.assign({}, props), {
88
+ wrapClassName: classNames(props.wrapClassName, prefixCls, 'lm_modal_info')
89
+ }));
90
+ };
91
+
92
+ LMModal.destroyAll = _Modal.destroyAll;
93
+ LMModal.config = _Modal.config;
94
+ export default LMModal;