linkmore-design 1.0.66 → 1.0.69

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 (544) hide show
  1. package/README.md +11 -7
  2. package/dist/Approval/demos/basic.d.ts +1 -0
  3. package/dist/Approval/handle.d.ts +11 -0
  4. package/dist/Approval/index.d.ts +1 -21
  5. package/dist/Approval/type.d.ts +55 -0
  6. package/dist/Approval/util.d.ts +26 -0
  7. package/dist/AutoComplete/index.d.ts +2 -1
  8. package/dist/Calendar/demos/basic.d.ts +2 -0
  9. package/dist/Calendar/index.d.ts +4 -0
  10. package/dist/Calendar/style/index.d.ts +1 -0
  11. package/dist/CardTable/hooks/usePagination.d.ts +1 -1
  12. package/dist/CardTable/utils.d.ts +2 -2
  13. package/dist/Carousel/demos/basic.d.ts +2 -0
  14. package/dist/Carousel/index.d.ts +3 -0
  15. package/dist/Carousel/style/index.d.ts +1 -0
  16. package/dist/CkFilter/components/CascaderFilter.d.ts +1 -1
  17. package/dist/Collapse/demos/basic.d.ts +2 -0
  18. package/dist/Collapse/index.d.ts +3 -0
  19. package/dist/Collapse/style/index.d.ts +1 -0
  20. package/dist/Comment/demos/basic.d.ts +2 -0
  21. package/dist/Comment/index.d.ts +3 -0
  22. package/dist/Comment/style/index.d.ts +1 -0
  23. package/dist/LmFilter/components/CascaderFilter.d.ts +1 -1
  24. package/dist/LmFilter/components/CheckboxFilter.d.ts +1 -1
  25. package/dist/LmFilter/components/DateFilter.d.ts +1 -1
  26. package/dist/LmFilter/components/InputFilter.d.ts +2 -2
  27. package/dist/LmFilter/components/SelectFilter.d.ts +1 -1
  28. package/dist/LmFilter/filterFns/index.d.ts +1 -1
  29. package/dist/LmFilter/localization.d.ts +1 -0
  30. package/dist/LmFilter/utils.d.ts +1 -1
  31. package/dist/LmSelect/useCheckboxOptions.d.ts +2 -1
  32. package/dist/LmTable/components/DndContainer.d.ts +5 -0
  33. package/dist/LmTable/components/sortableBoxCol.d.ts +5 -0
  34. package/dist/LmTable/components/sortableItemCol.d.ts +1 -0
  35. package/dist/LmTable/demos/musort.d.ts +2 -0
  36. package/dist/LmTable/demos/tableColSort.d.ts +2 -0
  37. package/dist/LmUpload/LmUpload.d.ts +6 -0
  38. package/dist/LmUpload/UploadList/ItemPicture.d.ts +5 -0
  39. package/dist/LmUpload/UploadList/ItemPictureCard.d.ts +5 -0
  40. package/dist/LmUpload/UploadList/ItemText.d.ts +5 -0
  41. package/dist/LmUpload/UploadList/RenderItem.d.ts +2 -0
  42. package/dist/LmUpload/UploadList/index.d.ts +4 -0
  43. package/dist/LmUpload/body/Progress.d.ts +4 -0
  44. package/dist/LmUpload/body/UploadCore.d.ts +4 -0
  45. package/dist/LmUpload/body/UploadPicture.d.ts +4 -0
  46. package/dist/LmUpload/components/card.d.ts +2 -0
  47. package/dist/LmUpload/demos/basic.d.ts +2 -0
  48. package/dist/LmUpload/demos/card.d.ts +2 -0
  49. package/dist/LmUpload/demos/picture.d.ts +2 -0
  50. package/dist/LmUpload/fns/index.d.ts +18 -0
  51. package/dist/LmUpload/index.d.ts +2 -0
  52. package/dist/LmUpload/style/index.d.ts +1 -0
  53. package/dist/LmUpload/utils.d.ts +5 -0
  54. package/dist/LmUpload/view/index.d.ts +4 -0
  55. package/dist/LmUpload/wrapper/Upload.d.ts +4 -0
  56. package/dist/LmUpload/wrapper/UploadContainer.d.ts +5 -0
  57. package/dist/LmUpload/wrapper/UploadRoot.d.ts +3 -0
  58. package/dist/LmUpload/wrapper/UploadWrapper.d.ts +4 -0
  59. package/dist/LmUpload/wrapper/reducer.d.ts +8 -0
  60. package/dist/Modal/index.d.ts +1 -1
  61. package/dist/Popconfirm/demos/basic.d.ts +2 -0
  62. package/dist/Popconfirm/index.d.ts +3 -0
  63. package/dist/Popconfirm/style/index.d.ts +1 -0
  64. package/dist/Progress/demos/basic.d.ts +2 -0
  65. package/dist/Progress/demos/circle.d.ts +2 -0
  66. package/dist/Progress/demos/dynamic.d.ts +2 -0
  67. package/dist/Progress/demos/small.d.ts +2 -0
  68. package/dist/Progress/index.d.ts +3 -0
  69. package/dist/Progress/style/index.d.ts +1 -0
  70. package/dist/Segmented/demos/basic.d.ts +2 -0
  71. package/dist/Segmented/index.d.ts +3 -0
  72. package/dist/Segmented/style/index.d.ts +1 -0
  73. package/dist/Slider/demos/basic.d.ts +2 -0
  74. package/dist/Slider/index.d.ts +2 -0
  75. package/dist/Slider/style/index.d.ts +1 -0
  76. package/dist/Statistic/demos/basic.d.ts +2 -0
  77. package/dist/Statistic/index.d.ts +3 -0
  78. package/dist/Statistic/style/index.d.ts +1 -0
  79. package/dist/TimePicker/demos/basic.d.ts +3 -0
  80. package/dist/TimePicker/index.d.ts +3 -0
  81. package/dist/TimePicker/style/index.d.ts +1 -0
  82. package/dist/Timeline/demos/basic.d.ts +2 -0
  83. package/dist/Timeline/index.d.ts +3 -0
  84. package/dist/Timeline/style/index.d.ts +1 -0
  85. package/dist/Transfer/demos/basic.d.ts +2 -0
  86. package/dist/Transfer/index.d.ts +3 -0
  87. package/dist/Transfer/style/index.d.ts +1 -0
  88. package/dist/TreeSelect/demos/basic.d.ts +2 -0
  89. package/dist/TreeSelect/index.d.ts +3 -0
  90. package/dist/TreeSelect/style/index.d.ts +1 -0
  91. package/dist/hooks/useFullscreen/demos/useInModal.d.ts +2 -0
  92. package/dist/index.d.ts +18 -0
  93. package/dist/index.umd.js +3891 -1392
  94. package/dist/index.umd.min.js +6 -6
  95. package/es/Affix/style/index.css +6 -0
  96. package/es/Alert/index.js +27 -5
  97. package/es/Alert/style/index.css +7 -1
  98. package/es/Approval/handle.d.ts +11 -0
  99. package/es/Approval/handle.js +138 -0
  100. package/es/Approval/index.d.ts +1 -21
  101. package/es/Approval/index.js +341 -90
  102. package/es/Approval/style/index.css +131 -13
  103. package/es/Approval/type.d.ts +55 -0
  104. package/es/Approval/type.js +97 -0
  105. package/es/Approval/util.d.ts +26 -0
  106. package/es/Approval/util.js +132 -0
  107. package/es/AutoComplete/index.d.ts +2 -1
  108. package/es/AutoComplete/style/index.css +6 -0
  109. package/es/Avatar/style/index.css +6 -0
  110. package/es/Breadcrumb/style/index.css +6 -0
  111. package/es/ButtonTags/style/index.css +6 -0
  112. package/es/Calendar/index.d.ts +4 -0
  113. package/es/Calendar/index.js +3 -0
  114. package/es/Calendar/style/index.css +511 -0
  115. package/es/Calendar/style/index.d.ts +1 -0
  116. package/es/Calendar/style/index.js +1 -0
  117. package/es/Card/style/index.css +6 -0
  118. package/es/CardTable/fns/index.js +5 -8
  119. package/es/CardTable/table/TableRoot.js +2 -1
  120. package/es/Carousel/index.d.ts +3 -0
  121. package/es/Carousel/index.js +3 -0
  122. package/es/Carousel/style/index.css +511 -0
  123. package/es/Carousel/style/index.d.ts +1 -0
  124. package/es/Carousel/style/index.js +1 -0
  125. package/es/Cascader/style/index.css +6 -0
  126. package/es/CkFilter/complexFilter/drawer.js +1 -4
  127. package/es/CkFilter/complexFilter/saveModal.js +5 -7
  128. package/es/CkFilter/components/CustomModal.js +2 -3
  129. package/es/CkFilter/components/filterTypes.js +1 -3
  130. package/es/CkFilter/components/modal.js +2 -5
  131. package/es/CkFilter/components/modalBack.js +2 -3
  132. package/es/CkFilter/customFilter/drawer.js +6 -11
  133. package/es/CkFilter/style/index.css +6 -0
  134. package/es/Col/style/index.css +6 -0
  135. package/es/Collapse/index.d.ts +3 -0
  136. package/es/Collapse/index.js +3 -0
  137. package/es/Collapse/style/index.css +511 -0
  138. package/es/Collapse/style/index.d.ts +1 -0
  139. package/es/Collapse/style/index.js +1 -0
  140. package/es/Comment/index.d.ts +3 -0
  141. package/es/Comment/index.js +3 -0
  142. package/es/Comment/style/index.css +511 -0
  143. package/es/Comment/style/index.d.ts +1 -0
  144. package/es/Comment/style/index.js +1 -0
  145. package/es/CustomTableOption/index.js +6 -6
  146. package/es/CustomTableOption/style/index.css +6 -0
  147. package/es/CustomerService/style/index.css +6 -0
  148. package/es/DatePicker/style/index.css +6 -0
  149. package/es/Descriptions/style/index.css +6 -0
  150. package/es/Drawer/style/index.css +6 -0
  151. package/es/Dropdown/style/index.css +6 -0
  152. package/es/EditTable/style/index.css +6 -0
  153. package/es/Empty/style/index.css +6 -0
  154. package/es/Filter/baseFilter/Popover.js +0 -1
  155. package/es/Filter/baseFilter/ToggleFilter.js +0 -1
  156. package/es/Filter/edit/editFilter.js +2 -6
  157. package/es/Filter/remember.js +0 -1
  158. package/es/Filter/style/index.css +6 -0
  159. package/es/Form/style/index.css +6 -0
  160. package/es/Grid/style/index.css +6 -0
  161. package/es/Icon/style/index.css +6 -0
  162. package/es/IconFont/font/iconfont.js +1 -1
  163. package/es/Image/style/index.css +6 -0
  164. package/es/Input/style/index.css +6 -0
  165. package/es/InputNumber/style/index.css +6 -0
  166. package/es/Layout/style/index.css +6 -0
  167. package/es/LeftTable/style/index.css +6 -0
  168. package/es/List/style/index.css +6 -0
  169. package/es/LmEditTable/DragHandle.js +2 -1
  170. package/es/LmEditTable/EditTable.js +90 -43
  171. package/es/LmEditTable/style/index.css +18 -0
  172. package/es/LmFilter/LmFilter.js +2 -0
  173. package/es/LmFilter/complexFilter/drawer.js +2 -7
  174. package/es/LmFilter/complexFilter/valueDrawer.js +2 -5
  175. package/es/LmFilter/components/CascaderFilter.js +0 -1
  176. package/es/LmFilter/components/DropdownFIlter.js +17 -19
  177. package/es/LmFilter/components/InputFilter.js +1 -2
  178. package/es/LmFilter/components/SelectFilter.js +2 -2
  179. package/es/LmFilter/components/index.js +1 -1
  180. package/es/LmFilter/customFilter/drawer.js +7 -25
  181. package/es/LmFilter/customFilter/index.js +2 -1
  182. package/es/LmFilter/customFilter/saveModal.js +5 -7
  183. package/es/LmFilter/customFilter/valueDrawer.js +2 -5
  184. package/es/LmFilter/filterFns/index.js +5 -7
  185. package/es/LmFilter/localization.d.ts +1 -0
  186. package/es/LmFilter/localization.js +2 -1
  187. package/es/LmFilter/utils.js +39 -22
  188. package/es/LmFilter/wrapper/Filter.js +3 -2
  189. package/es/LmFilter/wrapper/FilterRoot.js +0 -2
  190. package/es/LmSelect/NormalSelect.js +5 -1
  191. package/es/LmSelect/style/index.css +8 -1
  192. package/es/LmSelect/useCheckboxOptions.d.ts +2 -1
  193. package/es/LmSelect/useCheckboxOptions.js +6 -4
  194. package/es/LmTable/Table.js +88 -46
  195. package/es/LmTable/autosize.js +0 -3
  196. package/es/LmTable/components/DndContainer.d.ts +5 -0
  197. package/es/LmTable/components/DndContainer.js +35 -0
  198. package/es/LmTable/components/sortableBoxCol.js +24 -0
  199. package/es/LmTable/components/sortableItemCol.js +54 -0
  200. package/es/LmTable/style/index.css +6 -0
  201. package/es/LmUpload/LmUpload.d.ts +6 -0
  202. package/es/LmUpload/LmUpload.js +81 -0
  203. package/es/LmUpload/UploadList/ItemPicture.d.ts +5 -0
  204. package/es/LmUpload/UploadList/ItemPicture.js +31 -0
  205. package/es/LmUpload/UploadList/ItemPictureCard.d.ts +5 -0
  206. package/es/LmUpload/UploadList/ItemPictureCard.js +135 -0
  207. package/es/LmUpload/UploadList/ItemText.d.ts +5 -0
  208. package/es/LmUpload/UploadList/ItemText.js +30 -0
  209. package/es/LmUpload/UploadList/RenderItem.d.ts +2 -0
  210. package/es/LmUpload/UploadList/RenderItem.js +31 -0
  211. package/es/LmUpload/UploadList/index.d.ts +4 -0
  212. package/es/LmUpload/UploadList/index.js +27 -0
  213. package/es/LmUpload/body/Progress.d.ts +4 -0
  214. package/es/LmUpload/body/Progress.js +16 -0
  215. package/es/LmUpload/body/UploadCore.d.ts +4 -0
  216. package/es/LmUpload/body/UploadCore.js +57 -0
  217. package/es/LmUpload/body/UploadPicture.d.ts +4 -0
  218. package/es/LmUpload/body/UploadPicture.js +35 -0
  219. package/es/LmUpload/components/card.d.ts +2 -0
  220. package/es/LmUpload/components/card.js +9 -0
  221. package/es/LmUpload/fns/index.d.ts +18 -0
  222. package/es/LmUpload/fns/index.js +229 -0
  223. package/es/LmUpload/index.d.ts +2 -0
  224. package/es/LmUpload/index.js +2 -0
  225. package/es/LmUpload/style/index.css +205 -0
  226. package/es/LmUpload/style/index.js +3 -0
  227. package/es/LmUpload/utils.d.ts +5 -0
  228. package/es/LmUpload/utils.js +33 -0
  229. package/es/LmUpload/view/index.d.ts +4 -0
  230. package/es/LmUpload/view/index.js +10 -0
  231. package/es/LmUpload/wrapper/Upload.d.ts +4 -0
  232. package/es/LmUpload/wrapper/Upload.js +12 -0
  233. package/es/LmUpload/wrapper/UploadContainer.d.ts +5 -0
  234. package/es/LmUpload/wrapper/UploadContainer.js +28 -0
  235. package/es/LmUpload/wrapper/UploadRoot.d.ts +3 -0
  236. package/es/LmUpload/wrapper/UploadRoot.js +68 -0
  237. package/es/LmUpload/wrapper/UploadWrapper.d.ts +4 -0
  238. package/es/LmUpload/wrapper/UploadWrapper.js +17 -0
  239. package/es/LmUpload/wrapper/reducer.d.ts +8 -0
  240. package/es/LmUpload/wrapper/reducer.js +33 -0
  241. package/es/Mentions/style/index.css +6 -0
  242. package/es/Menu/style/index.css +6 -0
  243. package/es/Modal/index.d.ts +1 -1
  244. package/es/Modal/style/index.css +6 -0
  245. package/es/PageHeader/style/index.css +6 -0
  246. package/es/Pagination/style/index.css +6 -0
  247. package/es/PopTable/style/index.css +6 -0
  248. package/es/Popconfirm/index.d.ts +3 -0
  249. package/es/Popconfirm/index.js +3 -0
  250. package/es/Popconfirm/style/index.css +511 -0
  251. package/es/Popconfirm/style/index.d.ts +1 -0
  252. package/es/Popconfirm/style/index.js +1 -0
  253. package/es/Popover/style/index.css +6 -0
  254. package/es/ProTable/Table.js +0 -1
  255. package/es/ProTable/autosize.js +0 -3
  256. package/es/ProTable/style/index.css +6 -0
  257. package/es/Progress/index.d.ts +3 -0
  258. package/es/Progress/index.js +3 -0
  259. package/es/Progress/style/index.css +511 -0
  260. package/es/Progress/style/index.d.ts +1 -0
  261. package/es/Progress/style/index.js +1 -0
  262. package/es/QuickMenu/style/index.css +6 -0
  263. package/es/Rate/style/index.css +6 -0
  264. package/es/Row/style/index.css +6 -0
  265. package/es/Segmented/index.d.ts +3 -0
  266. package/es/Segmented/index.js +3 -0
  267. package/es/Segmented/style/index.css +511 -0
  268. package/es/Segmented/style/index.d.ts +1 -0
  269. package/es/Segmented/style/index.js +1 -0
  270. package/es/Select/style/index.css +6 -0
  271. package/es/Slider/index.d.ts +2 -0
  272. package/es/Slider/index.js +3 -0
  273. package/es/Slider/style/index.css +511 -0
  274. package/es/Slider/style/index.d.ts +1 -0
  275. package/es/Slider/style/index.js +1 -0
  276. package/es/Space/style/index.css +6 -0
  277. package/es/Spin/style/index.css +6 -0
  278. package/es/Statistic/index.d.ts +3 -0
  279. package/es/Statistic/index.js +3 -0
  280. package/es/Statistic/style/index.css +511 -0
  281. package/es/Statistic/style/index.d.ts +1 -0
  282. package/es/Statistic/style/index.js +1 -0
  283. package/es/Steps/style/index.css +6 -0
  284. package/es/Switch/style/index.css +6 -0
  285. package/es/Table/style/index.css +6 -0
  286. package/es/Tabs/style/index.css +6 -0
  287. package/es/Tag/style/index.css +6 -0
  288. package/es/TimePicker/index.d.ts +3 -0
  289. package/es/TimePicker/index.js +3 -0
  290. package/es/TimePicker/style/index.css +511 -0
  291. package/es/TimePicker/style/index.d.ts +1 -0
  292. package/es/TimePicker/style/index.js +1 -0
  293. package/es/Timeline/index.d.ts +3 -0
  294. package/es/Timeline/index.js +3 -0
  295. package/es/Timeline/style/index.css +511 -0
  296. package/es/Timeline/style/index.d.ts +1 -0
  297. package/es/Timeline/style/index.js +1 -0
  298. package/es/Tooltip/style/index.css +6 -0
  299. package/es/Transfer/index.d.ts +3 -0
  300. package/es/Transfer/index.js +3 -0
  301. package/es/Transfer/style/index.css +511 -0
  302. package/es/Transfer/style/index.d.ts +1 -0
  303. package/es/Transfer/style/index.js +1 -0
  304. package/es/Tree/style/index.css +6 -0
  305. package/es/TreeSelect/index.d.ts +3 -0
  306. package/es/TreeSelect/index.js +3 -0
  307. package/es/TreeSelect/style/index.css +511 -0
  308. package/es/TreeSelect/style/index.d.ts +1 -0
  309. package/es/TreeSelect/style/index.js +1 -0
  310. package/es/Typography/style/index.css +6 -0
  311. package/es/Upload/style/index.css +6 -0
  312. package/es/hooks/useFullscreen/index.js +6 -8
  313. package/es/index.d.ts +18 -0
  314. package/es/index.js +10 -1
  315. package/es/message/style/index.css +6 -0
  316. package/es/notification/style/index.css +6 -0
  317. package/es/styles/main.css +6 -0
  318. package/es/styles/resetAntd.css +3 -0
  319. package/lib/Affix/style/index.css +6 -0
  320. package/lib/Alert/index.js +27 -5
  321. package/lib/Alert/style/index.css +7 -1
  322. package/lib/Approval/handle.d.ts +11 -0
  323. package/lib/Approval/handle.js +160 -0
  324. package/lib/Approval/index.d.ts +1 -21
  325. package/lib/Approval/index.js +347 -89
  326. package/lib/Approval/style/index.css +131 -13
  327. package/lib/Approval/type.d.ts +55 -0
  328. package/lib/Approval/type.js +105 -0
  329. package/lib/Approval/util.d.ts +26 -0
  330. package/lib/Approval/util.js +148 -0
  331. package/lib/AutoComplete/index.d.ts +2 -1
  332. package/lib/AutoComplete/style/index.css +6 -0
  333. package/lib/Avatar/style/index.css +6 -0
  334. package/lib/Breadcrumb/style/index.css +6 -0
  335. package/lib/ButtonTags/style/index.css +6 -0
  336. package/lib/Calendar/index.d.ts +4 -0
  337. package/lib/Calendar/index.js +15 -0
  338. package/lib/Calendar/style/index.css +511 -0
  339. package/lib/Calendar/style/index.d.ts +1 -0
  340. package/lib/Calendar/style/index.js +3 -0
  341. package/lib/Card/style/index.css +6 -0
  342. package/lib/CardTable/fns/index.js +5 -8
  343. package/lib/CardTable/table/TableRoot.js +2 -1
  344. package/lib/Carousel/index.d.ts +3 -0
  345. package/lib/Carousel/index.js +15 -0
  346. package/lib/Carousel/style/index.css +511 -0
  347. package/lib/Carousel/style/index.d.ts +1 -0
  348. package/lib/Carousel/style/index.js +3 -0
  349. package/lib/Cascader/style/index.css +6 -0
  350. package/lib/CkFilter/complexFilter/drawer.js +1 -4
  351. package/lib/CkFilter/complexFilter/saveModal.js +5 -7
  352. package/lib/CkFilter/components/CustomModal.js +2 -3
  353. package/lib/CkFilter/components/filterTypes.js +1 -3
  354. package/lib/CkFilter/components/modal.js +2 -5
  355. package/lib/CkFilter/components/modalBack.js +2 -3
  356. package/lib/CkFilter/customFilter/drawer.js +6 -11
  357. package/lib/CkFilter/style/index.css +6 -0
  358. package/lib/Col/style/index.css +6 -0
  359. package/lib/Collapse/index.d.ts +3 -0
  360. package/lib/Collapse/index.js +15 -0
  361. package/lib/Collapse/style/index.css +511 -0
  362. package/lib/Collapse/style/index.d.ts +1 -0
  363. package/lib/Collapse/style/index.js +3 -0
  364. package/lib/Comment/index.d.ts +3 -0
  365. package/lib/Comment/index.js +15 -0
  366. package/lib/Comment/style/index.css +511 -0
  367. package/lib/Comment/style/index.d.ts +1 -0
  368. package/lib/Comment/style/index.js +3 -0
  369. package/lib/CustomTableOption/index.js +6 -6
  370. package/lib/CustomTableOption/style/index.css +6 -0
  371. package/lib/CustomerService/style/index.css +6 -0
  372. package/lib/DatePicker/style/index.css +6 -0
  373. package/lib/Descriptions/style/index.css +6 -0
  374. package/lib/Drawer/style/index.css +6 -0
  375. package/lib/Dropdown/style/index.css +6 -0
  376. package/lib/EditTable/style/index.css +6 -0
  377. package/lib/Empty/style/index.css +6 -0
  378. package/lib/Filter/baseFilter/Popover.js +0 -1
  379. package/lib/Filter/baseFilter/ToggleFilter.js +0 -1
  380. package/lib/Filter/edit/editFilter.js +2 -6
  381. package/lib/Filter/remember.js +0 -1
  382. package/lib/Filter/style/index.css +6 -0
  383. package/lib/Form/style/index.css +6 -0
  384. package/lib/Grid/style/index.css +6 -0
  385. package/lib/Icon/style/index.css +6 -0
  386. package/lib/IconFont/font/iconfont.js +1 -1
  387. package/lib/Image/style/index.css +6 -0
  388. package/lib/Input/style/index.css +6 -0
  389. package/lib/InputNumber/style/index.css +6 -0
  390. package/lib/Layout/style/index.css +6 -0
  391. package/lib/LeftTable/style/index.css +6 -0
  392. package/lib/List/style/index.css +6 -0
  393. package/lib/LmEditTable/DragHandle.js +2 -1
  394. package/lib/LmEditTable/EditTable.js +90 -43
  395. package/lib/LmEditTable/style/index.css +18 -0
  396. package/lib/LmFilter/LmFilter.js +2 -0
  397. package/lib/LmFilter/complexFilter/drawer.js +2 -7
  398. package/lib/LmFilter/complexFilter/valueDrawer.js +2 -5
  399. package/lib/LmFilter/components/CascaderFilter.js +0 -1
  400. package/lib/LmFilter/components/DropdownFIlter.js +17 -19
  401. package/lib/LmFilter/components/InputFilter.js +1 -2
  402. package/lib/LmFilter/components/SelectFilter.js +2 -2
  403. package/lib/LmFilter/components/index.js +1 -1
  404. package/lib/LmFilter/customFilter/drawer.js +7 -25
  405. package/lib/LmFilter/customFilter/index.js +2 -1
  406. package/lib/LmFilter/customFilter/saveModal.js +5 -7
  407. package/lib/LmFilter/customFilter/valueDrawer.js +2 -5
  408. package/lib/LmFilter/filterFns/index.js +5 -7
  409. package/lib/LmFilter/localization.d.ts +1 -0
  410. package/lib/LmFilter/localization.js +4 -2
  411. package/lib/LmFilter/utils.js +39 -22
  412. package/lib/LmFilter/wrapper/Filter.js +3 -2
  413. package/lib/LmFilter/wrapper/FilterRoot.js +0 -2
  414. package/lib/LmSelect/NormalSelect.js +5 -1
  415. package/lib/LmSelect/style/index.css +8 -1
  416. package/lib/LmSelect/useCheckboxOptions.d.ts +2 -1
  417. package/lib/LmSelect/useCheckboxOptions.js +9 -6
  418. package/lib/LmTable/Table.js +88 -46
  419. package/lib/LmTable/autosize.js +0 -3
  420. package/lib/LmTable/components/DndContainer.d.ts +5 -0
  421. package/lib/LmTable/components/DndContainer.js +49 -0
  422. package/lib/LmTable/components/sortableBoxCol.js +24 -0
  423. package/lib/LmTable/components/sortableItemCol.js +54 -0
  424. package/lib/LmTable/style/index.css +6 -0
  425. package/lib/LmUpload/LmUpload.d.ts +6 -0
  426. package/lib/LmUpload/LmUpload.js +95 -0
  427. package/lib/LmUpload/UploadList/ItemPicture.d.ts +5 -0
  428. package/lib/LmUpload/UploadList/ItemPicture.js +43 -0
  429. package/lib/LmUpload/UploadList/ItemPictureCard.d.ts +5 -0
  430. package/lib/LmUpload/UploadList/ItemPictureCard.js +150 -0
  431. package/lib/LmUpload/UploadList/ItemText.d.ts +5 -0
  432. package/lib/LmUpload/UploadList/ItemText.js +41 -0
  433. package/lib/LmUpload/UploadList/RenderItem.d.ts +2 -0
  434. package/lib/LmUpload/UploadList/RenderItem.js +44 -0
  435. package/lib/LmUpload/UploadList/index.d.ts +4 -0
  436. package/lib/LmUpload/UploadList/index.js +41 -0
  437. package/lib/LmUpload/body/Progress.d.ts +4 -0
  438. package/lib/LmUpload/body/Progress.js +26 -0
  439. package/lib/LmUpload/body/UploadCore.d.ts +4 -0
  440. package/lib/LmUpload/body/UploadCore.js +73 -0
  441. package/lib/LmUpload/body/UploadPicture.d.ts +4 -0
  442. package/lib/LmUpload/body/UploadPicture.js +50 -0
  443. package/lib/LmUpload/components/card.d.ts +2 -0
  444. package/lib/LmUpload/components/card.js +19 -0
  445. package/lib/LmUpload/fns/index.d.ts +18 -0
  446. package/lib/LmUpload/fns/index.js +242 -0
  447. package/lib/LmUpload/index.d.ts +2 -0
  448. package/lib/LmUpload/index.js +13 -0
  449. package/lib/LmUpload/style/index.css +205 -0
  450. package/lib/LmUpload/style/index.js +3 -0
  451. package/lib/LmUpload/utils.d.ts +5 -0
  452. package/lib/LmUpload/utils.js +54 -0
  453. package/lib/LmUpload/view/index.d.ts +4 -0
  454. package/lib/LmUpload/view/index.js +20 -0
  455. package/lib/LmUpload/wrapper/Upload.d.ts +4 -0
  456. package/lib/LmUpload/wrapper/Upload.js +25 -0
  457. package/lib/LmUpload/wrapper/UploadContainer.d.ts +5 -0
  458. package/lib/LmUpload/wrapper/UploadContainer.js +43 -0
  459. package/lib/LmUpload/wrapper/UploadRoot.d.ts +3 -0
  460. package/lib/LmUpload/wrapper/UploadRoot.js +85 -0
  461. package/lib/LmUpload/wrapper/UploadWrapper.d.ts +4 -0
  462. package/lib/LmUpload/wrapper/UploadWrapper.js +29 -0
  463. package/lib/LmUpload/wrapper/reducer.d.ts +8 -0
  464. package/lib/LmUpload/wrapper/reducer.js +46 -0
  465. package/lib/Mentions/style/index.css +6 -0
  466. package/lib/Menu/style/index.css +6 -0
  467. package/lib/Modal/index.d.ts +1 -1
  468. package/lib/Modal/style/index.css +6 -0
  469. package/lib/PageHeader/style/index.css +6 -0
  470. package/lib/Pagination/style/index.css +6 -0
  471. package/lib/PopTable/style/index.css +6 -0
  472. package/lib/Popconfirm/index.d.ts +3 -0
  473. package/lib/Popconfirm/index.js +15 -0
  474. package/lib/Popconfirm/style/index.css +511 -0
  475. package/lib/Popconfirm/style/index.d.ts +1 -0
  476. package/lib/Popconfirm/style/index.js +3 -0
  477. package/lib/Popover/style/index.css +6 -0
  478. package/lib/ProTable/Table.js +0 -1
  479. package/lib/ProTable/autosize.js +0 -3
  480. package/lib/ProTable/style/index.css +6 -0
  481. package/lib/Progress/index.d.ts +3 -0
  482. package/lib/Progress/index.js +15 -0
  483. package/lib/Progress/style/index.css +511 -0
  484. package/lib/Progress/style/index.d.ts +1 -0
  485. package/lib/Progress/style/index.js +3 -0
  486. package/lib/QuickMenu/style/index.css +6 -0
  487. package/lib/Rate/style/index.css +6 -0
  488. package/lib/Row/style/index.css +6 -0
  489. package/lib/Segmented/index.d.ts +3 -0
  490. package/lib/Segmented/index.js +15 -0
  491. package/lib/Segmented/style/index.css +511 -0
  492. package/lib/Segmented/style/index.d.ts +1 -0
  493. package/lib/Segmented/style/index.js +3 -0
  494. package/lib/Select/style/index.css +6 -0
  495. package/lib/Slider/index.d.ts +2 -0
  496. package/lib/Slider/index.js +15 -0
  497. package/lib/Slider/style/index.css +511 -0
  498. package/lib/Slider/style/index.d.ts +1 -0
  499. package/lib/Slider/style/index.js +3 -0
  500. package/lib/Space/style/index.css +6 -0
  501. package/lib/Spin/style/index.css +6 -0
  502. package/lib/Statistic/index.d.ts +3 -0
  503. package/lib/Statistic/index.js +15 -0
  504. package/lib/Statistic/style/index.css +511 -0
  505. package/lib/Statistic/style/index.d.ts +1 -0
  506. package/lib/Statistic/style/index.js +3 -0
  507. package/lib/Steps/style/index.css +6 -0
  508. package/lib/Switch/style/index.css +6 -0
  509. package/lib/Table/style/index.css +6 -0
  510. package/lib/Tabs/style/index.css +6 -0
  511. package/lib/Tag/style/index.css +6 -0
  512. package/lib/TimePicker/index.d.ts +3 -0
  513. package/lib/TimePicker/index.js +15 -0
  514. package/lib/TimePicker/style/index.css +511 -0
  515. package/lib/TimePicker/style/index.d.ts +1 -0
  516. package/lib/TimePicker/style/index.js +3 -0
  517. package/lib/Timeline/index.d.ts +3 -0
  518. package/lib/Timeline/index.js +15 -0
  519. package/lib/Timeline/style/index.css +511 -0
  520. package/lib/Timeline/style/index.d.ts +1 -0
  521. package/lib/Timeline/style/index.js +3 -0
  522. package/lib/Tooltip/style/index.css +6 -0
  523. package/lib/Transfer/index.d.ts +3 -0
  524. package/lib/Transfer/index.js +15 -0
  525. package/lib/Transfer/style/index.css +511 -0
  526. package/lib/Transfer/style/index.d.ts +1 -0
  527. package/lib/Transfer/style/index.js +3 -0
  528. package/lib/Tree/style/index.css +6 -0
  529. package/lib/TreeSelect/index.d.ts +3 -0
  530. package/lib/TreeSelect/index.js +15 -0
  531. package/lib/TreeSelect/style/index.css +511 -0
  532. package/lib/TreeSelect/style/index.d.ts +1 -0
  533. package/lib/TreeSelect/style/index.js +3 -0
  534. package/lib/Typography/style/index.css +6 -0
  535. package/lib/Upload/style/index.css +6 -0
  536. package/lib/hooks/useFullscreen/index.js +6 -10
  537. package/lib/index.d.ts +18 -0
  538. package/lib/index.js +73 -1
  539. package/lib/message/style/index.css +6 -0
  540. package/lib/notification/style/index.css +6 -0
  541. package/lib/styles/main.css +6 -0
  542. package/lib/styles/resetAntd.css +3 -0
  543. package/package.json +3 -1
  544. package/typings/index.d.ts +1 -1
@@ -81,6 +81,9 @@
81
81
  .ant-notification-notice .ant-notification-notice-description {
82
82
  font-size: 12px;
83
83
  }
84
+ .ant-collapse {
85
+ font-size: 12px;
86
+ }
84
87
  @font-face {
85
88
  font-family: 'iconfont';
86
89
  /* Project id 2966019 */
@@ -503,6 +506,9 @@ html {
503
506
  .card_cell_content:hover .card_cell_body .card_cell_checkbox {
504
507
  opacity: 1;
505
508
  }
509
+ p {
510
+ margin-bottom: 0;
511
+ }
506
512
  .lm_empty {
507
513
  display: flex;
508
514
  flex-direction: column;
@@ -91,7 +91,6 @@ var Index = function Index(props) {
91
91
  var _data$find, _data$find2;
92
92
 
93
93
  var result = showTitle();
94
- console.log(useValue, 'useValue');
95
94
 
96
95
  if (result) {
97
96
  if (useValue || typeof useValue === 'number') {
@@ -44,7 +44,6 @@ var ToggleFilter = function ToggleFilter(_ref) {
44
44
 
45
45
 
46
46
  var resetList = function resetList(value) {
47
- console.log('value', value);
48
47
  var fixed = !value.fixed;
49
48
  var nValue = useList.map(function (v) {
50
49
  var obj = fixed ? useList.find(function (o) {
@@ -176,14 +176,10 @@ var Index = function Index(props) {
176
176
  }; // 新增筛选项
177
177
 
178
178
 
179
- var addEvent = function addEvent() {
180
- console.log('新增筛选项!');
181
- }; // 单个筛选项筛选值变化
179
+ var addEvent = function addEvent() {}; // 单个筛选项筛选值变化
182
180
 
183
181
 
184
- var getChange = function getChange(e) {
185
- console.log('getChange', e);
186
- }; // 删除单个筛选项
182
+ var getChange = function getChange(e) {}; // 删除单个筛选项
187
183
 
188
184
 
189
185
  var listItemOnClose = function listItemOnClose(field) {
@@ -63,7 +63,6 @@ var Index = function Index(props) {
63
63
  var editList = function editList(e, item) {
64
64
  e === null || e === void 0 ? void 0 : e.stopPropagation();
65
65
  setVisible(true);
66
- console.log('item', item);
67
66
  }; // 创建筛选
68
67
 
69
68
 
@@ -81,6 +81,9 @@
81
81
  .ant-notification-notice .ant-notification-notice-description {
82
82
  font-size: 12px;
83
83
  }
84
+ .ant-collapse {
85
+ font-size: 12px;
86
+ }
84
87
  @font-face {
85
88
  font-family: 'iconfont';
86
89
  /* Project id 2966019 */
@@ -503,6 +506,9 @@ html {
503
506
  .card_cell_content:hover .card_cell_body .card_cell_checkbox {
504
507
  opacity: 1;
505
508
  }
509
+ p {
510
+ margin-bottom: 0;
511
+ }
506
512
  .lm_filter {
507
513
  display: flex;
508
514
  align-items: center;
@@ -81,6 +81,9 @@
81
81
  .ant-notification-notice .ant-notification-notice-description {
82
82
  font-size: 12px;
83
83
  }
84
+ .ant-collapse {
85
+ font-size: 12px;
86
+ }
84
87
  @font-face {
85
88
  font-family: 'iconfont';
86
89
  /* Project id 2966019 */
@@ -503,6 +506,9 @@ html {
503
506
  .card_cell_content:hover .card_cell_body .card_cell_checkbox {
504
507
  opacity: 1;
505
508
  }
509
+ p {
510
+ margin-bottom: 0;
511
+ }
506
512
  .lm_form .ant-form-item {
507
513
  margin-bottom: 16px;
508
514
  }
@@ -81,6 +81,9 @@
81
81
  .ant-notification-notice .ant-notification-notice-description {
82
82
  font-size: 12px;
83
83
  }
84
+ .ant-collapse {
85
+ font-size: 12px;
86
+ }
84
87
  @font-face {
85
88
  font-family: 'iconfont';
86
89
  /* Project id 2966019 */
@@ -503,3 +506,6 @@ html {
503
506
  .card_cell_content:hover .card_cell_body .card_cell_checkbox {
504
507
  opacity: 1;
505
508
  }
509
+ p {
510
+ margin-bottom: 0;
511
+ }
@@ -81,6 +81,9 @@
81
81
  .ant-notification-notice .ant-notification-notice-description {
82
82
  font-size: 12px;
83
83
  }
84
+ .ant-collapse {
85
+ font-size: 12px;
86
+ }
84
87
  @font-face {
85
88
  font-family: 'iconfont';
86
89
  /* Project id 2966019 */
@@ -503,3 +506,6 @@ html {
503
506
  .card_cell_content:hover .card_cell_body .card_cell_checkbox {
504
507
  opacity: 1;
505
508
  }
509
+ p {
510
+ margin-bottom: 0;
511
+ }
@@ -18,7 +18,7 @@
18
18
  try {
19
19
  document.write("<style>.svgfont {display: inline-block;width: 1em;height: 1em;fill: currentColor;vertical-align: -0.1em;font-size:16px;}</style>");
20
20
  } catch (c) {
21
- console && console.log(c);
21
+ console && void 0;
22
22
  }
23
23
  }
24
24
 
@@ -81,6 +81,9 @@
81
81
  .ant-notification-notice .ant-notification-notice-description {
82
82
  font-size: 12px;
83
83
  }
84
+ .ant-collapse {
85
+ font-size: 12px;
86
+ }
84
87
  @font-face {
85
88
  font-family: 'iconfont';
86
89
  /* Project id 2966019 */
@@ -503,3 +506,6 @@ html {
503
506
  .card_cell_content:hover .card_cell_body .card_cell_checkbox {
504
507
  opacity: 1;
505
508
  }
509
+ p {
510
+ margin-bottom: 0;
511
+ }
@@ -81,6 +81,9 @@
81
81
  .ant-notification-notice .ant-notification-notice-description {
82
82
  font-size: 12px;
83
83
  }
84
+ .ant-collapse {
85
+ font-size: 12px;
86
+ }
84
87
  @font-face {
85
88
  font-family: 'iconfont';
86
89
  /* Project id 2966019 */
@@ -503,6 +506,9 @@ html {
503
506
  .card_cell_content:hover .card_cell_body .card_cell_checkbox {
504
507
  opacity: 1;
505
508
  }
509
+ p {
510
+ margin-bottom: 0;
511
+ }
506
512
  .lm_input {
507
513
  height: 32px;
508
514
  padding: 2px 8px;
@@ -81,6 +81,9 @@
81
81
  .ant-notification-notice .ant-notification-notice-description {
82
82
  font-size: 12px;
83
83
  }
84
+ .ant-collapse {
85
+ font-size: 12px;
86
+ }
84
87
  @font-face {
85
88
  font-family: 'iconfont';
86
89
  /* Project id 2966019 */
@@ -503,6 +506,9 @@ html {
503
506
  .card_cell_content:hover .card_cell_body .card_cell_checkbox {
504
507
  opacity: 1;
505
508
  }
509
+ p {
510
+ margin-bottom: 0;
511
+ }
506
512
  .lm_input-number.ant-input-number {
507
513
  border: 1px solid var(--color-15);
508
514
  }
@@ -81,6 +81,9 @@
81
81
  .ant-notification-notice .ant-notification-notice-description {
82
82
  font-size: 12px;
83
83
  }
84
+ .ant-collapse {
85
+ font-size: 12px;
86
+ }
84
87
  @font-face {
85
88
  font-family: 'iconfont';
86
89
  /* Project id 2966019 */
@@ -503,3 +506,6 @@ html {
503
506
  .card_cell_content:hover .card_cell_body .card_cell_checkbox {
504
507
  opacity: 1;
505
508
  }
509
+ p {
510
+ margin-bottom: 0;
511
+ }
@@ -81,6 +81,9 @@
81
81
  .ant-notification-notice .ant-notification-notice-description {
82
82
  font-size: 12px;
83
83
  }
84
+ .ant-collapse {
85
+ font-size: 12px;
86
+ }
84
87
  @font-face {
85
88
  font-family: 'iconfont';
86
89
  /* Project id 2966019 */
@@ -503,6 +506,9 @@ html {
503
506
  .card_cell_content:hover .card_cell_body .card_cell_checkbox {
504
507
  opacity: 1;
505
508
  }
509
+ p {
510
+ margin-bottom: 0;
511
+ }
506
512
  .lm_grid_tree {
507
513
  position: relative;
508
514
  font-size: 12px;
@@ -81,6 +81,9 @@
81
81
  .ant-notification-notice .ant-notification-notice-description {
82
82
  font-size: 12px;
83
83
  }
84
+ .ant-collapse {
85
+ font-size: 12px;
86
+ }
84
87
  @font-face {
85
88
  font-family: 'iconfont';
86
89
  /* Project id 2966019 */
@@ -503,3 +506,6 @@ html {
503
506
  .card_cell_content:hover .card_cell_body .card_cell_checkbox {
504
507
  opacity: 1;
505
508
  }
509
+ p {
510
+ margin-bottom: 0;
511
+ }
@@ -26,7 +26,8 @@ var Dragger = function Dragger(_ref) {
26
26
  type: "lmweb-icon-m-receipt1"
27
27
  }, listeners, {
28
28
  style: {
29
- touchAction: 'none'
29
+ touchAction: 'none',
30
+ cursor: 'move'
30
31
  },
31
32
  className: 'icon_drag' + (isDragging ? 'bing' : '')
32
33
  }));
@@ -289,7 +289,25 @@ var EditableCell = function EditableCell(props) {
289
289
 
290
290
  var _col$componentProps = col.componentProps,
291
291
  componentProps = _col$componentProps === void 0 ? {} : _col$componentProps,
292
- dataIndex = col.dataIndex; // const checkCellRef = useRef(null)
292
+ dataIndex = col.dataIndex;
293
+ /** 是否正在编辑中 */
294
+
295
+ var _useState = (0, _react.useState)(false),
296
+ _useState2 = (0, _slicedToArray2.default)(_useState, 2),
297
+ editing = _useState2[0],
298
+ setEditing = _useState2[1];
299
+
300
+ var inputRef = (0, _react.useRef)(null);
301
+ var form = (0, _react.useContext)(EditableContext);
302
+ (0, _react.useEffect)(function () {
303
+ if (editing) {
304
+ inputRef.current.focus();
305
+ }
306
+ }, [editing]);
307
+
308
+ var toggleEdit = function toggleEdit() {
309
+ setEditing(!editing); // form.setFieldsValue({ [dataIndex]: record[dataIndex] });
310
+ }; // const checkCellRef = useRef(null)
293
311
  // const focusCapturedRef = useRef(false);
294
312
  // const curValue = useMemo(() => {
295
313
  // return record?.dataIndex
@@ -297,6 +315,7 @@ var EditableCell = function EditableCell(props) {
297
315
  // const curValueIsValid = isValidValue(curValue);
298
316
  // 校验保存
299
317
 
318
+
300
319
  var save = function save(row) {
301
320
  return __awaiter(void 0, void 0, void 0, /*#__PURE__*/_regenerator.default.mark(function _callee() {
302
321
  var values;
@@ -340,19 +359,29 @@ var EditableCell = function EditableCell(props) {
340
359
  return form.validateFields();
341
360
 
342
361
  case 10:
343
- _context.next = 14;
362
+ if (col === null || col === void 0 ? void 0 : col.hoverEdit) {
363
+ toggleEdit();
364
+ } // // 清空异常校验
365
+ // setValid((old) => {
366
+ // const obj = { ...old }
367
+ // delete obj[record[rowKey]]
368
+ // return obj
369
+ // })
370
+
371
+
372
+ _context.next = 15;
344
373
  break;
345
374
 
346
- case 12:
347
- _context.prev = 12;
375
+ case 13:
376
+ _context.prev = 13;
348
377
  _context.t1 = _context["catch"](0);
349
378
 
350
- case 14:
379
+ case 15:
351
380
  case "end":
352
381
  return _context.stop();
353
382
  }
354
383
  }
355
- }, _callee, null, [[0, 12]]);
384
+ }, _callee, null, [[0, 13]]);
356
385
  }));
357
386
  }; // 触发保存
358
387
 
@@ -371,7 +400,6 @@ var EditableCell = function EditableCell(props) {
371
400
 
372
401
  var copyKey = function copyKey(e) {
373
402
  e === null || e === void 0 ? void 0 : e.stopPropagation();
374
- console.log(rowKey, record[rowKey], 'fff');
375
403
  var dataIndex = col.dataIndex;
376
404
  handleCopy === null || handleCopy === void 0 ? void 0 : handleCopy(dataIndex, record[dataIndex]);
377
405
  };
@@ -382,7 +410,7 @@ var EditableCell = function EditableCell(props) {
382
410
  return /*#__PURE__*/_react.default.createElement(_linkmoreDesign.Input, Object.assign({
383
411
  onPressEnter: handleFormItemChange,
384
412
  onBlur: handleFormItemChange,
385
- // ref={checkCellRef}
413
+ ref: inputRef,
386
414
  placeholder: "\u8BF7\u8F93\u5165"
387
415
  }, componentProps, {
388
416
  addonBefore: componentProps.addonBefore ? /*#__PURE__*/_react.default.createElement(_linkmoreDesign.Form.Item, {
@@ -397,7 +425,9 @@ var EditableCell = function EditableCell(props) {
397
425
  }, /*#__PURE__*/_react.default.cloneElement(componentProps.addonAfter, {
398
426
  onChange: handleFormItemChange
399
427
  })) : null,
400
- suffix: componentProps.quickcopy ? /*#__PURE__*/_react.default.createElement("span", null, /*#__PURE__*/_react.default.createElement(_linkmoreDesign.IconFont, {
428
+ suffix: componentProps.quickcopy ? /*#__PURE__*/_react.default.createElement("span", {
429
+ className: 'lm_table_quickcopy'
430
+ }, /*#__PURE__*/_react.default.createElement(_linkmoreDesign.IconFont, {
401
431
  onClick: copyKey,
402
432
  type: 'lmweb-icon_m_brush'
403
433
  })) : null
@@ -405,7 +435,8 @@ var EditableCell = function EditableCell(props) {
405
435
 
406
436
  case 'inputRange':
407
437
  return /*#__PURE__*/_react.default.createElement(InputRange, Object.assign({
408
- onChange: handleFormItemChange
438
+ onChange: handleFormItemChange,
439
+ ref: inputRef
409
440
  }, componentProps));
410
441
 
411
442
  case 'number':
@@ -415,7 +446,8 @@ var EditableCell = function EditableCell(props) {
415
446
  style: {
416
447
  width: (editEnum === null || editEnum === void 0 ? void 0 : editEnum.width) || '100%'
417
448
  },
418
- placeholder: "\u8BF7\u8F93\u5165"
449
+ placeholder: "\u8BF7\u8F93\u5165",
450
+ ref: inputRef
419
451
  }, componentProps));
420
452
 
421
453
  case 'date':
@@ -429,7 +461,7 @@ var EditableCell = function EditableCell(props) {
429
461
  showSearch: true,
430
462
  allowClear: true,
431
463
  placeholder: "\u8BF7\u9009\u62E9",
432
- // ref={checkCellRef}
464
+ ref: inputRef,
433
465
  filterOption: function filterOption(input, option) {
434
466
  var _a, _b;
435
467
 
@@ -446,7 +478,7 @@ var EditableCell = function EditableCell(props) {
446
478
  showSearch: true,
447
479
  allowClear: true,
448
480
  placeholder: "\u8BF7\u9009\u62E9",
449
- // ref={checkCellRef}
481
+ ref: inputRef,
450
482
  filterOption: function filterOption(input, option) {
451
483
  var _a;
452
484
 
@@ -458,23 +490,26 @@ var EditableCell = function EditableCell(props) {
458
490
 
459
491
  case 'checkbox':
460
492
  return /*#__PURE__*/_react.default.createElement(_linkmoreDesign.Checkbox.Group, Object.assign({
461
- onChange: handleFormItemChange
493
+ onChange: handleFormItemChange,
494
+ ref: inputRef
462
495
  }, componentProps));
463
496
 
464
497
  case 'radio':
465
498
  return /*#__PURE__*/_react.default.createElement(_linkmoreDesign.Radio.Group, Object.assign({
466
- onChange: handleFormItemChange
499
+ onChange: handleFormItemChange,
500
+ ref: inputRef
467
501
  }, componentProps));
468
502
 
469
503
  case 'switch':
470
504
  return /*#__PURE__*/_react.default.createElement(_linkmoreDesign.Switch, {
505
+ size: 'small',
471
506
  onChange: handleFormItemChange
472
507
  });
473
508
 
474
509
  case 'upload':
475
510
  return /*#__PURE__*/_react.default.createElement(UploadSingle, {
476
511
  editEnum: componentProps,
477
- // ref={checkCellRef}
512
+ ref: inputRef,
478
513
  onChange: handleFormItemChange
479
514
  });
480
515
 
@@ -483,7 +518,7 @@ var EditableCell = function EditableCell(props) {
483
518
  return /*#__PURE__*/_react.default.createElement(Opetate, Object.assign({
484
519
  record: record,
485
520
  rowKey: rowKey,
486
- // ref={checkCellRef}
521
+ ref: inputRef,
487
522
  handleAdd: handleTableRowAdd,
488
523
  handleDelete: handleTableRowDelete,
489
524
  getLength: getLength
@@ -500,7 +535,8 @@ var EditableCell = function EditableCell(props) {
500
535
  default:
501
536
  return /*#__PURE__*/_react.default.createElement(_linkmoreDesign.Input, Object.assign({
502
537
  onPressEnter: handleFormItemChange,
503
- onBlur: handleFormItemChange
538
+ onBlur: handleFormItemChange,
539
+ ref: inputRef
504
540
  }, componentProps));
505
541
  }
506
542
  };
@@ -509,10 +545,19 @@ var EditableCell = function EditableCell(props) {
509
545
  var editable = col.editable,
510
546
  dataIndex = col.dataIndex,
511
547
  formProps = col.formProps,
512
- componentProps = col.componentProps;
548
+ componentProps = col.componentProps,
549
+ hoverEdit = col.hoverEdit;
513
550
  var childNode = children;
514
551
 
515
- if (isEdit && editable) {
552
+ if (hoverEdit && !editing) {
553
+ childNode = /*#__PURE__*/_react.default.createElement("div", {
554
+ className: "editable-cell-value-wrap",
555
+ style: {
556
+ minHeight: '22px'
557
+ },
558
+ onClick: toggleEdit
559
+ }, childNode);
560
+ } else if (isEdit && editable) {
516
561
  childNode = /*#__PURE__*/_react.default.createElement(_linkmoreDesign.Form.Item, Object.assign({
517
562
  errorPlacement: "right",
518
563
  valuePropName: editable === 'switch' ? 'checked' : 'value',
@@ -536,9 +581,8 @@ var EditableCell = function EditableCell(props) {
536
581
  }
537
582
 
538
583
  return childNode;
539
- }, [col, isEdit]); // const [childNode, setChildNode] = useState(getMemoChildNode);
540
-
541
- var form = (0, _react.useContext)(EditableContext); // 出现死循环找我
584
+ }, [col, isEdit, editing]); // const [childNode, setChildNode] = useState(getMemoChildNode);
585
+ // 出现死循环找我
542
586
 
543
587
  (0, _react.useEffect)(function () {
544
588
  var editable = col.editable,
@@ -611,26 +655,26 @@ var EditTable = /*#__PURE__*/(0, _react.forwardRef)(function (props, ref) {
611
655
  size = _props$size === void 0 ? 'small' : _props$size,
612
656
  resetProps = __rest(props, ["value", "columns", "isEdit", "isAdd", "onChange", "rowKey", "rowHoverEdit", "isUseForm", "isHoverEdit", "useQuickOpetate", "rowSelection", "sortOpen", "colSortOpen", "filterChange", "size"]);
613
657
 
614
- var _useState = (0, _react.useState)([]),
615
- _useState2 = (0, _slicedToArray2.default)(_useState, 2),
616
- dataSource = _useState2[0],
617
- setDataSource = _useState2[1]; // const [count, setCount] = useState(0);
618
-
619
-
620
- var _useState3 = (0, _react.useState)({}),
658
+ var _useState3 = (0, _react.useState)([]),
621
659
  _useState4 = (0, _slicedToArray2.default)(_useState3, 2),
622
- _valid = _useState4[0],
623
- setValid = _useState4[1];
660
+ dataSource = _useState4[0],
661
+ setDataSource = _useState4[1]; // const [count, setCount] = useState(0);
624
662
 
625
- var _useState5 = (0, _react.useState)([]),
663
+
664
+ var _useState5 = (0, _react.useState)({}),
626
665
  _useState6 = (0, _slicedToArray2.default)(_useState5, 2),
627
- localRowSelectList = _useState6[0],
628
- setLocalRowSelectList = _useState6[1];
666
+ _valid = _useState6[0],
667
+ setValid = _useState6[1];
629
668
 
630
669
  var _useState7 = (0, _react.useState)([]),
631
670
  _useState8 = (0, _slicedToArray2.default)(_useState7, 2),
632
- sortEditTable = _useState8[0],
633
- setCallBackFalg = _useState8[1];
671
+ localRowSelectList = _useState8[0],
672
+ setLocalRowSelectList = _useState8[1];
673
+
674
+ var _useState9 = (0, _react.useState)([]),
675
+ _useState10 = (0, _slicedToArray2.default)(_useState9, 2),
676
+ sortEditTable = _useState10[0],
677
+ setCallBackFalg = _useState10[1];
634
678
 
635
679
  var dataSourceRef = (0, _react.useRef)([]);
636
680
  var sortDataSorceRef = (0, _react.useRef)([]);
@@ -890,10 +934,11 @@ var EditTable = /*#__PURE__*/(0, _react.forwardRef)(function (props, ref) {
890
934
  var resultColumns = (0, _react.useMemo)(function () {
891
935
  var rColumns = hasDisableOptions ? DisableOptions : columns;
892
936
  var localColumns = [sortOpen ? {
893
- title: '',
937
+ title: '排序',
894
938
  dataIndex: 'sort',
895
- width: 32,
896
- maxWidth: 32,
939
+ width: 48,
940
+ maxWidth: 48,
941
+ className: 'drag-visible',
897
942
  render: function render(_, record) {
898
943
  return /*#__PURE__*/_react.default.createElement(_DragHandle.default, {
899
944
  id: record[_rowKey] || record.id
@@ -938,9 +983,11 @@ var EditTable = /*#__PURE__*/(0, _react.forwardRef)(function (props, ref) {
938
983
 
939
984
  return Object.assign(Object.assign({}, col), {
940
985
  shouldCellUpdate: function shouldCellUpdate(record, prevRecord) {
986
+ var _a;
987
+
941
988
  var dataIndex = col.dataIndex;
942
989
 
943
- if ((col === null || col === void 0 ? void 0 : col.fixed) || hasDisableOptions && hasDisableOptions.includes(dataIndex)) {
990
+ if ((col === null || col === void 0 ? void 0 : col.fixed) || hasDisableOptions && hasDisableOptions.includes(dataIndex) || ((_a = col.componentProps) === null || _a === void 0 ? void 0 : _a.options)) {
944
991
  return true;
945
992
  }
946
993
 
@@ -1117,8 +1164,8 @@ var EditTable = /*#__PURE__*/(0, _react.forwardRef)(function (props, ref) {
1117
1164
  style: {
1118
1165
  marginTop: 8
1119
1166
  }
1120
- }, /*#__PURE__*/_react.default.createElement(_icons.PlusCircleOutlined, {
1121
- className: "lmweb-plus"
1167
+ }, /*#__PURE__*/_react.default.createElement(_linkmoreDesign.IconFont, {
1168
+ type: "lmweb-plus"
1122
1169
  }), "\u65B0\u589E"));
1123
1170
  });
1124
1171
 
@@ -81,6 +81,9 @@
81
81
  .ant-notification-notice .ant-notification-notice-description {
82
82
  font-size: 12px;
83
83
  }
84
+ .ant-collapse {
85
+ font-size: 12px;
86
+ }
84
87
  @font-face {
85
88
  font-family: 'iconfont';
86
89
  /* Project id 2966019 */
@@ -503,6 +506,9 @@ html {
503
506
  .card_cell_content:hover .card_cell_body .card_cell_checkbox {
504
507
  opacity: 1;
505
508
  }
509
+ p {
510
+ margin-bottom: 0;
511
+ }
506
512
  .lm_editTable_warpper .ant-picker {
507
513
  width: 100%;
508
514
  }
@@ -512,6 +518,9 @@ html {
512
518
  line-height: 1;
513
519
  gap: 8px;
514
520
  }
521
+ .lm_editTable_warpper .ant-table-cell {
522
+ border-right: 0px !important;
523
+ }
515
524
  .lm_editTable_warpper .ant-table-cell:empty::before {
516
525
  content: '-';
517
526
  }
@@ -547,6 +556,15 @@ html {
547
556
  .lm_editTable_warpper .ant-form-item-explain-error {
548
557
  font-size: 12px;
549
558
  }
559
+ .lm_editTable_warpper .lm_table_quickcopy .anticon {
560
+ color: var(--text-color);
561
+ }
562
+ .lm_editTable_warpper .icon_drag {
563
+ color: var(--tip-text-color);
564
+ }
565
+ .lm_editTable_warpper .icon_drag:hover {
566
+ color: var(--text-color);
567
+ }
550
568
  .lm_editTable_warpper .ant-picker {
551
569
  height: 24px !important;
552
570
  padding: 2px 8px;
@@ -39,6 +39,8 @@ var LmFilter = function LmFilter(_ref, ref) {
39
39
  // 是否启用高级筛选
40
40
  enableCustom: false,
41
41
  // 是否启用自定义筛选
42
+ enableClear: true,
43
+ // 是否展示一件清空
42
44
  size: 'middle',
43
45
  // 尺寸
44
46
  searchKey: 'search',
@@ -70,9 +70,7 @@ var ListItemChecked = function ListItemChecked(_ref) {
70
70
  }
71
71
 
72
72
  if (getItem.type === 'cascader') {
73
- var _getItem$props;
74
-
75
- return (0, _utils.getFlatItem)((getItem === null || getItem === void 0 ? void 0 : (_getItem$props = getItem.props) === null || _getItem$props === void 0 ? void 0 : _getItem$props.multiple) ? checkedValue : [checkedValue], getItem.data, 'parent');
73
+ return (0, _utils.getFlatItem)(getItem, checkedValue, 'parent');
76
74
  }
77
75
 
78
76
  return (_getItem$data = getItem.data) === null || _getItem$data === void 0 ? void 0 : _getItem$data.filter(function (v) {
@@ -108,7 +106,6 @@ var ListItemChecked = function ListItemChecked(_ref) {
108
106
  e.stopPropagation();
109
107
  var filterValues = (0, _objectSpread3.default)({}, complexDrawer.data);
110
108
  delete filterValues[field];
111
- console.log('filterValues', filterValues);
112
109
  dispatch({
113
110
  type: 'changeComplexDrawer',
114
111
  complexDrawer: {
@@ -334,9 +331,7 @@ var ComplexDrawer = function ComplexDrawer(_ref5) {
334
331
 
335
332
  var Tit = function Tit() {
336
333
  return /*#__PURE__*/_react.default.createElement("div", {
337
- onClick: function onClick() {
338
- console.log('title', state);
339
- }
334
+ onClick: function onClick() {}
340
335
  }, "\u9AD8\u7EA7\u67E5\u8BE2");
341
336
  }; // 弹窗配置项
342
337
 
@@ -113,15 +113,14 @@ var ValueDrawer = function ValueDrawer(_ref) {
113
113
  })
114
114
  });
115
115
  onClose();
116
- _context.next = 21;
116
+ _context.next = 20;
117
117
  break;
118
118
 
119
119
  case 18:
120
120
  _context.prev = 18;
121
121
  _context.t0 = _context["catch"](0);
122
- console.log('校验错误!', _context.t0);
123
122
 
124
- case 21:
123
+ case 20:
125
124
  case "end":
126
125
  return _context.stop();
127
126
  }
@@ -135,8 +134,6 @@ var ValueDrawer = function ValueDrawer(_ref) {
135
134
  }();
136
135
 
137
136
  var onValuesChange = function onValuesChange(values) {
138
- console.log('values', values);
139
-
140
137
  if (values.field) {
141
138
  form.setFieldsValue({
142
139
  value: []