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
@@ -0,0 +1,170 @@
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 _objectSpread2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/objectSpread2"));
11
+
12
+ var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/classCallCheck"));
13
+
14
+ var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/createClass"));
15
+
16
+ var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/inherits"));
17
+
18
+ var _createSuper2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/createSuper"));
19
+
20
+ var _lodash = require("lodash");
21
+
22
+ var _react = _interopRequireDefault(require("react"));
23
+
24
+ var _detectElementResize = _interopRequireDefault(require("./detectElementResize"));
25
+
26
+ var AutoSizer = /*#__PURE__*/function (_React$Component) {
27
+ (0, _inherits2.default)(AutoSizer, _React$Component);
28
+
29
+ var _super = (0, _createSuper2.default)(AutoSizer);
30
+
31
+ function AutoSizer() {
32
+ var _this;
33
+
34
+ (0, _classCallCheck2.default)(this, AutoSizer);
35
+
36
+ for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
37
+ args[_key] = arguments[_key];
38
+ }
39
+
40
+ _this = _super.call.apply(_super, [this].concat(args));
41
+ _this.state = {
42
+ height: _this.props.defaultHeight || 0,
43
+ width: _this.props.defaultWidth || 0
44
+ };
45
+ _this._parentNode = void 0;
46
+ _this._autoSizer = void 0;
47
+ _this._window = void 0;
48
+ _this._detectElementResize = void 0;
49
+
50
+ _this._onResize = function () {
51
+ console.log(11);
52
+ var _this$props = _this.props,
53
+ disableHeight = _this$props.disableHeight,
54
+ disableWidth = _this$props.disableWidth,
55
+ onResize = _this$props.onResize;
56
+
57
+ if (_this._parentNode) {
58
+ // Guard against AutoSizer component being removed from the DOM immediately after being added.
59
+ // This can result in invalid style values which can result in NaN values if we don't handle them.
60
+ // See issue #150 for more context.
61
+ var height = _this._parentNode.offsetHeight || 0;
62
+ var width = _this._parentNode.offsetWidth || 0;
63
+ var win = _this._window || window;
64
+ var style = win.getComputedStyle(_this._parentNode) || {};
65
+ var paddingLeft = parseInt(style.paddingLeft, 10) || 0;
66
+ var paddingRight = parseInt(style.paddingRight, 10) || 0;
67
+ var paddingTop = parseInt(style.paddingTop, 10) || 0;
68
+ var paddingBottom = parseInt(style.paddingBottom, 10) || 0;
69
+ var newHeight = height - paddingTop - paddingBottom;
70
+ var newWidth = width - paddingLeft - paddingRight;
71
+
72
+ if (!disableHeight && _this.state.height !== newHeight || !disableWidth && _this.state.width !== newWidth) {
73
+ _this.setState({
74
+ height: height - paddingTop - paddingBottom,
75
+ width: width - paddingLeft - paddingRight
76
+ });
77
+
78
+ onResize({
79
+ height: height,
80
+ width: width
81
+ });
82
+ }
83
+ }
84
+ };
85
+
86
+ _this.handleResize = (0, _lodash.debounce)(_this._onResize, 800);
87
+
88
+ _this._setRef = function (autoSizer) {
89
+ _this._autoSizer = autoSizer;
90
+ };
91
+
92
+ return _this;
93
+ }
94
+
95
+ (0, _createClass2.default)(AutoSizer, [{
96
+ key: "componentDidMount",
97
+ value: function componentDidMount() {
98
+ var nonce = this.props.nonce;
99
+
100
+ if (this._autoSizer && this._autoSizer.parentNode && this._autoSizer.parentNode.ownerDocument && this._autoSizer.parentNode.ownerDocument.defaultView && this._autoSizer.parentNode instanceof this._autoSizer.parentNode.ownerDocument.defaultView.HTMLElement) {
101
+ // Delay access of parentNode until mount.
102
+ // This handles edge-cases where the component has already been unmounted before its ref has been set,
103
+ // As well as libraries like react-lite which have a slightly different lifecycle.
104
+ this._parentNode = this._autoSizer.parentNode;
105
+ this._window = this._autoSizer.parentNode.ownerDocument.defaultView; // Defer requiring resize handler in order to support server-side rendering.
106
+ // See issue #41
107
+
108
+ this._detectElementResize = (0, _detectElementResize.default)(nonce, this._window);
109
+
110
+ this._detectElementResize.addResizeListener(this._parentNode, this.handleResize);
111
+
112
+ console.log(3);
113
+
114
+ this._onResize();
115
+ }
116
+ }
117
+ }, {
118
+ key: "componentWillUnmount",
119
+ value: function componentWillUnmount() {
120
+ if (this._detectElementResize && this._parentNode) {
121
+ this._detectElementResize.removeResizeListener(this._parentNode, this._onResize);
122
+ }
123
+ }
124
+ }, {
125
+ key: "render",
126
+ value: function render() {
127
+ var _this$props2 = this.props,
128
+ children = _this$props2.children,
129
+ className = _this$props2.className,
130
+ disableHeight = _this$props2.disableHeight,
131
+ disableWidth = _this$props2.disableWidth,
132
+ style = _this$props2.style;
133
+ var _this$state = this.state,
134
+ height = _this$state.height,
135
+ width = _this$state.width; // Outer div should not force width/height since that may prevent containers from shrinking.
136
+ // Inner component should overflow and use calculated width/height.
137
+ // See issue #68 for more information.
138
+
139
+ var outerStyle = {
140
+ overflow: 'visible'
141
+ };
142
+ var childParams = {};
143
+
144
+ if (!disableHeight) {
145
+ outerStyle.height = 0;
146
+ childParams.height = height;
147
+ }
148
+
149
+ if (!disableWidth) {
150
+ outerStyle.width = 0;
151
+ childParams.width = width;
152
+ }
153
+
154
+ return /*#__PURE__*/_react.default.createElement("div", {
155
+ className: className,
156
+ ref: this._setRef,
157
+ style: (0, _objectSpread2.default)((0, _objectSpread2.default)({}, outerStyle), style)
158
+ }, children(childParams));
159
+ }
160
+ }]);
161
+ return AutoSizer;
162
+ }(_react.default.Component);
163
+
164
+ exports.default = AutoSizer;
165
+ AutoSizer.defaultProps = {
166
+ onResize: function onResize() {},
167
+ disableHeight: false,
168
+ disableWidth: false,
169
+ style: {}
170
+ };
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.default = void 0;
7
+
8
+ var _react = require("react");
9
+
10
+ var _default = /*#__PURE__*/(0, _react.createContext)();
11
+
12
+ exports.default = _default;
@@ -0,0 +1,225 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.default = createDetectElementResize;
7
+
8
+ /**
9
+ * Detect Element Resize.
10
+ * https://github.com/sdecima/javascript-detect-element-resize
11
+ * Sebastian Decima
12
+ *
13
+ * Forked from version 0.5.3; includes the following modifications:
14
+ * 1) Guard against unsafe 'window' and 'document' references (to support SSR).
15
+ * 2) Defer initialization code via a top-level function wrapper (to support SSR).
16
+ * 3) Avoid unnecessary reflows by not measuring size for scroll events bubbling from children.
17
+ * 4) Add nonce for style element.
18
+ * 5) Added support for injecting custom window object
19
+ **/
20
+ function createDetectElementResize(nonce, hostWindow) {
21
+ // Check `document` and `window` in case of server-side rendering
22
+ var _window;
23
+
24
+ if (typeof hostWindow !== 'undefined') {
25
+ _window = hostWindow;
26
+ } else if (typeof window !== 'undefined') {
27
+ _window = window;
28
+ } else if (typeof self !== 'undefined') {
29
+ _window = self;
30
+ } else {
31
+ _window = global;
32
+ }
33
+
34
+ var attachEvent = typeof _window.document !== 'undefined' && _window.document.attachEvent;
35
+
36
+ if (!attachEvent) {
37
+ var requestFrame = function () {
38
+ var raf = _window.requestAnimationFrame || _window.mozRequestAnimationFrame || _window.webkitRequestAnimationFrame || function (fn) {
39
+ return _window.setTimeout(fn, 20);
40
+ };
41
+
42
+ return function (fn) {
43
+ return raf(fn);
44
+ };
45
+ }();
46
+
47
+ var cancelFrame = function () {
48
+ var cancel = _window.cancelAnimationFrame || _window.mozCancelAnimationFrame || _window.webkitCancelAnimationFrame || _window.clearTimeout;
49
+ return function (id) {
50
+ return cancel(id);
51
+ };
52
+ }();
53
+
54
+ var resetTriggers = function resetTriggers(element) {
55
+ var triggers = element.__resizeTriggers__,
56
+ expand = triggers.firstElementChild,
57
+ contract = triggers.lastElementChild,
58
+ expandChild = expand.firstElementChild;
59
+ contract.scrollLeft = contract.scrollWidth;
60
+ contract.scrollTop = contract.scrollHeight;
61
+ expandChild.style.width = expand.offsetWidth + 1 + 'px';
62
+ expandChild.style.height = expand.offsetHeight + 1 + 'px';
63
+ expand.scrollLeft = expand.scrollWidth;
64
+ expand.scrollTop = expand.scrollHeight;
65
+ };
66
+
67
+ var checkTriggers = function checkTriggers(element) {
68
+ return element.offsetWidth != element.__resizeLast__.width || element.offsetHeight != element.__resizeLast__.height;
69
+ };
70
+
71
+ var scrollListener = function scrollListener(e) {
72
+ // Don't measure (which forces) reflow for scrolls that happen inside of children!
73
+ if (e.target.className && typeof e.target.className.indexOf === 'function' && e.target.className.indexOf('contract-trigger') < 0 && e.target.className.indexOf('expand-trigger') < 0) {
74
+ return;
75
+ }
76
+
77
+ var element = this;
78
+ resetTriggers(this);
79
+
80
+ if (this.__resizeRAF__) {
81
+ cancelFrame(this.__resizeRAF__);
82
+ }
83
+
84
+ this.__resizeRAF__ = requestFrame(function () {
85
+ if (checkTriggers(element)) {
86
+ element.__resizeLast__.width = element.offsetWidth;
87
+ element.__resizeLast__.height = element.offsetHeight;
88
+
89
+ element.__resizeListeners__.forEach(function (fn) {
90
+ fn.call(element, e);
91
+ });
92
+ }
93
+ });
94
+ };
95
+ /* Detect CSS Animations support to detect element display/re-attach */
96
+
97
+
98
+ var animation = false,
99
+ keyframeprefix = '',
100
+ animationstartevent = 'animationstart',
101
+ domPrefixes = 'Webkit Moz O ms'.split(' '),
102
+ startEvents = 'webkitAnimationStart animationstart oAnimationStart MSAnimationStart'.split(' '),
103
+ pfx = '';
104
+ {
105
+ var elm = _window.document.createElement('fakeelement');
106
+
107
+ if (elm.style.animationName !== undefined) {
108
+ animation = true;
109
+ }
110
+
111
+ if (animation === false) {
112
+ for (var i = 0; i < domPrefixes.length; i++) {
113
+ if (elm.style[domPrefixes[i] + 'AnimationName'] !== undefined) {
114
+ pfx = domPrefixes[i];
115
+ keyframeprefix = '-' + pfx.toLowerCase() + '-';
116
+ animationstartevent = startEvents[i];
117
+ animation = true;
118
+ break;
119
+ }
120
+ }
121
+ }
122
+ }
123
+ var animationName = 'resizeanim';
124
+ var animationKeyframes = '@' + keyframeprefix + 'keyframes ' + animationName + ' { from { opacity: 0; } to { opacity: 0; } } ';
125
+ var animationStyle = keyframeprefix + 'animation: 1ms ' + animationName + '; ';
126
+ }
127
+
128
+ var createStyles = function createStyles(doc) {
129
+ if (!doc.getElementById('detectElementResize')) {
130
+ //opacity:0 works around a chrome bug https://code.google.com/p/chromium/issues/detail?id=286360
131
+ var css = (animationKeyframes ? animationKeyframes : '') + '.resize-triggers { ' + (animationStyle ? animationStyle : '') + 'visibility: hidden; opacity: 0; } ' + '.resize-triggers, .resize-triggers > div, .contract-trigger:before { content: " "; display: block; position: absolute; top: 0; left: 0; height: 100%; width: 100%; overflow: hidden; z-index: -1; } .resize-triggers > div { background: #eee; overflow: auto; } .contract-trigger:before { width: 200%; height: 200%; }',
132
+ head = doc.head || doc.getElementsByTagName('head')[0],
133
+ style = doc.createElement('style');
134
+ style.id = 'detectElementResize';
135
+ style.type = 'text/css';
136
+
137
+ if (nonce != null) {
138
+ style.setAttribute('nonce', nonce);
139
+ }
140
+
141
+ if (style.styleSheet) {
142
+ style.styleSheet.cssText = css;
143
+ } else {
144
+ style.appendChild(doc.createTextNode(css));
145
+ }
146
+
147
+ head.appendChild(style);
148
+ }
149
+ };
150
+
151
+ var addResizeListener = function addResizeListener(element, fn) {
152
+ if (attachEvent) {
153
+ element.attachEvent('onresize', fn);
154
+ } else {
155
+ if (!element.__resizeTriggers__) {
156
+ var doc = element.ownerDocument;
157
+
158
+ var elementStyle = _window.getComputedStyle(element);
159
+
160
+ if (elementStyle && elementStyle.position == 'static') {
161
+ element.style.position = 'relative';
162
+ }
163
+
164
+ createStyles(doc);
165
+ element.__resizeLast__ = {};
166
+ element.__resizeListeners__ = [];
167
+ (element.__resizeTriggers__ = doc.createElement('div')).className = 'resize-triggers';
168
+ var expandTrigger = doc.createElement('div');
169
+ expandTrigger.className = 'expand-trigger';
170
+ expandTrigger.appendChild(doc.createElement('div'));
171
+ var contractTrigger = doc.createElement('div');
172
+ contractTrigger.className = 'contract-trigger';
173
+
174
+ element.__resizeTriggers__.appendChild(expandTrigger);
175
+
176
+ element.__resizeTriggers__.appendChild(contractTrigger);
177
+
178
+ element.appendChild(element.__resizeTriggers__);
179
+ resetTriggers(element);
180
+ element.addEventListener('scroll', scrollListener, true);
181
+ /* Listen for a css animation to detect element display/re-attach */
182
+
183
+ if (animationstartevent) {
184
+ element.__resizeTriggers__.__animationListener__ = function animationListener(e) {
185
+ if (e.animationName == animationName) {
186
+ resetTriggers(element);
187
+ }
188
+ };
189
+
190
+ element.__resizeTriggers__.addEventListener(animationstartevent, element.__resizeTriggers__.__animationListener__);
191
+ }
192
+ }
193
+
194
+ element.__resizeListeners__.push(fn);
195
+ }
196
+ };
197
+
198
+ var removeResizeListener = function removeResizeListener(element, fn) {
199
+ if (attachEvent) {
200
+ element.detachEvent('onresize', fn);
201
+ } else {
202
+ element.__resizeListeners__.splice(element.__resizeListeners__.indexOf(fn), 1);
203
+
204
+ if (!element.__resizeListeners__.length) {
205
+ element.removeEventListener('scroll', scrollListener, true);
206
+
207
+ if (element.__resizeTriggers__.__animationListener__) {
208
+ element.__resizeTriggers__.removeEventListener(animationstartevent, element.__resizeTriggers__.__animationListener__);
209
+
210
+ element.__resizeTriggers__.__animationListener__ = null;
211
+ }
212
+
213
+ try {
214
+ element.__resizeTriggers__ = !element.removeChild(element.__resizeTriggers__);
215
+ } catch (e) {// Preact compat; see developit/preact-compat/issues/228
216
+ }
217
+ }
218
+ }
219
+ };
220
+
221
+ return {
222
+ addResizeListener: addResizeListener,
223
+ removeResizeListener: removeResizeListener
224
+ };
225
+ }
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
4
+
5
+ var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard").default;
6
+
7
+ Object.defineProperty(exports, "__esModule", {
8
+ value: true
9
+ });
10
+ exports.default = void 0;
11
+
12
+ var _Table = _interopRequireWildcard(require("./Table"));
13
+
14
+ var _ImgList = _interopRequireDefault(require("./ImgList"));
15
+
16
+ _Table.default.ImgTable = _ImgList.default;
17
+ _Table.default.Summary = _Table.Summary;
18
+ var _default = _Table.default;
19
+ exports.default = _default;
@@ -0,0 +1,39 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.default = void 0;
7
+ // 表格基础配置文件
8
+ // 行选择
9
+ var checkConfig = {
10
+ trigger: 'row',
11
+ highlight: false
12
+ }; // 列排序
13
+
14
+ var sortConfig = {
15
+ trigger: 'default',
16
+ checkRowIds: []
17
+ }; // 列过滤
18
+
19
+ var filterConfig = {
20
+ trigger: 'default',
21
+ checkRowIds: []
22
+ }; // 分页
23
+
24
+ var pagerConfig = {
25
+ pageSize: 30,
26
+ pageIndex: 0
27
+ }; // 编辑配置
28
+
29
+ var editConfig = {
30
+ enabled: false
31
+ };
32
+ var _default = {
33
+ checkConfig: checkConfig,
34
+ sortConfig: sortConfig,
35
+ filterConfig: filterConfig,
36
+ pagerConfig: pagerConfig,
37
+ editConfig: editConfig
38
+ };
39
+ exports.default = _default;
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+
3
+ require("./style.css");