linkmore-design 1.0.99 → 1.1.0

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 (634) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/dist/CardTable/hooks/usePagination.d.ts +1 -1
  3. package/dist/CardTable/utils.d.ts +1 -1
  4. package/dist/ImageViewer/fns/index.d.ts +1 -0
  5. package/dist/LmEditTable/demos/group.d.ts +2 -0
  6. package/dist/LmFilter/components/CascaderFilter.d.ts +1 -1
  7. package/dist/LmFilter/components/CheckboxFilter.d.ts +1 -1
  8. package/dist/LmFilter/components/DateFilter.d.ts +1 -1
  9. package/dist/LmFilter/components/SelectFilter.d.ts +1 -1
  10. package/dist/LmFilter/filterFns/index.d.ts +5 -5
  11. package/dist/LmImgList/LmImgList.d.ts +4 -0
  12. package/dist/LmImgList/body/Banner.d.ts +5 -0
  13. package/dist/LmImgList/body/Thumb.d.ts +5 -0
  14. package/dist/LmImgList/demos/basic.d.ts +2 -0
  15. package/dist/LmImgList/fns/index.d.ts +20 -0
  16. package/dist/LmImgList/index.d.ts +3 -0
  17. package/dist/LmImgList/interface.d.ts +14 -0
  18. package/dist/LmImgList/style/index.d.ts +1 -0
  19. package/dist/LmImgList/style/variables.d.ts +1 -0
  20. package/dist/LmImgList/wrapper/Container.d.ts +4 -0
  21. package/dist/LmImgList/wrapper/Root.d.ts +4 -0
  22. package/dist/LmImgList/wrapper/Wrapper.d.ts +4 -0
  23. package/dist/LmImgList/wrapper/reducer.d.ts +14 -0
  24. package/dist/LmSelect/useCheckboxOptions.d.ts +1 -1
  25. package/dist/LmTable/util.d.ts +10 -4
  26. package/dist/_util/placements.d.ts +1 -0
  27. package/dist/index.d.ts +1 -0
  28. package/dist/index.umd.js +92607 -96491
  29. package/dist/index.umd.min.js +20 -20
  30. package/dist/variables.css +12504 -0
  31. package/es/ButtonTags/ButtonTags.js +1 -1
  32. package/es/ButtonTags/index.js +1 -1
  33. package/es/CardTable/LmCardTable.js +2 -2
  34. package/es/CardTable/body/TableBody.js +2 -2
  35. package/es/CardTable/body/TableBodyCell.js +2 -2
  36. package/es/CardTable/body/TableBodyRow.js +2 -2
  37. package/es/CardTable/card/PictureTextColumn.js +2 -2
  38. package/es/CardTable/card/PictureTextRow.js +1 -1
  39. package/es/CardTable/card/PictureTextRowOperate.js +1 -1
  40. package/es/CardTable/context.js +1 -1
  41. package/es/CardTable/empty.js +1 -1
  42. package/es/CardTable/fns/index.js +1 -1
  43. package/es/CardTable/footer.js +2 -2
  44. package/es/CardTable/hooks/usePagination.js +5 -5
  45. package/es/CardTable/index.js +1 -1
  46. package/es/CardTable/pager/TablePagination.js +2 -2
  47. package/es/CardTable/pager/index.js +1 -1
  48. package/es/CardTable/table/Table.js +1 -1
  49. package/es/CardTable/table/TableContainer.js +2 -2
  50. package/es/CardTable/table/TableRoot.js +2 -2
  51. package/es/CardTable/table/TableWrapper.js +1 -1
  52. package/es/CardTable/toolbar/ToolBarBottom.js +1 -1
  53. package/es/Checkbox/index.js +1 -1
  54. package/es/CustomerService/components/question.js +2 -2
  55. package/es/CustomerService/index.js +2 -2
  56. package/es/EditTable/EditTable.js +6 -6
  57. package/es/EditTable/index.js +1 -1
  58. package/es/EnlargeImg/index.js +2 -2
  59. package/es/Filter/Popover.js +2 -2
  60. package/es/Filter/baseFilter/Popover.js +2 -2
  61. package/es/Filter/baseFilter/ToggleFilter.js +2 -2
  62. package/es/Filter/baseFilter/index.js +5 -5
  63. package/es/Filter/complex/ComplexFilter.js +2 -2
  64. package/es/Filter/complex/ComplexItem.js +2 -2
  65. package/es/Filter/components/Checkbox.js +2 -2
  66. package/es/Filter/components/Date.js +2 -2
  67. package/es/Filter/components/Input.js +2 -2
  68. package/es/Filter/components/Select.js +2 -2
  69. package/es/Filter/components/Tree.js +2 -2
  70. package/es/Filter/components/header.js +1 -1
  71. package/es/Filter/components/index.js +1 -1
  72. package/es/Filter/context.js +1 -1
  73. package/es/Filter/edit/editFilter.js +6 -6
  74. package/es/Filter/index.js +2 -2
  75. package/es/Filter/popContext.js +1 -1
  76. package/es/Filter/remember.js +2 -2
  77. package/es/Form/style/form.css +3 -3
  78. package/es/Form/style/index.css +6063 -3
  79. package/es/Form/style/tooltip.css +2 -2
  80. package/es/Form/style/variables.css +6063 -3
  81. package/es/Icon/index.js +1 -1
  82. package/es/IconSelect/index.js +2 -2
  83. package/es/ImageViewer/components/Carousel.js +2 -2
  84. package/es/ImageViewer/fns/index.d.ts +1 -0
  85. package/es/ImageViewer/fns/index.js +11 -2
  86. package/es/LeftTable/index.js +2 -2
  87. package/es/LmEditTable/EditTable.js +66 -7
  88. package/es/LmFilter/Controls/CheckboxTags.js +1 -1
  89. package/es/LmFilter/Controls/index.js +2 -2
  90. package/es/LmFilter/LmFilter.js +4 -2
  91. package/es/LmFilter/baseFilter/fuzzySearch.js +2 -2
  92. package/es/LmFilter/baseFilter/index.js +1 -1
  93. package/es/LmFilter/clearFilter/index.js +1 -1
  94. package/es/LmFilter/complexFilter/drawer.js +2 -2
  95. package/es/LmFilter/complexFilter/index.js +2 -2
  96. package/es/LmFilter/complexFilter/valueDrawer.js +5 -5
  97. package/es/LmFilter/components/CascaderFilter.js +2 -2
  98. package/es/LmFilter/components/CheckboxFilter.js +2 -2
  99. package/es/LmFilter/components/CustomSelectFilter.js +2 -2
  100. package/es/LmFilter/components/DateFilter.js +2 -2
  101. package/es/LmFilter/components/DropdownFIlter.js +2 -2
  102. package/es/LmFilter/components/EmptyFilter.js +1 -1
  103. package/es/LmFilter/components/InputFilter.js +2 -2
  104. package/es/LmFilter/components/InputSearchClose.js +2 -2
  105. package/es/LmFilter/components/SelectFilter.js +2 -2
  106. package/es/LmFilter/components/index.js +2 -2
  107. package/es/LmFilter/customFilter/drawer.js +5 -5
  108. package/es/LmFilter/customFilter/index.js +2 -2
  109. package/es/LmFilter/customFilter/saveModal.js +5 -5
  110. package/es/LmFilter/customFilter/valueDrawer.js +5 -5
  111. package/es/LmFilter/filterFns/index.d.ts +60 -0
  112. package/es/LmFilter/filterFns/index.js +72 -102
  113. package/es/LmFilter/index.js +1 -1
  114. package/es/LmFilter/utils.js +1 -1
  115. package/es/LmFilter/wrapper/Filter.js +1 -1
  116. package/es/LmFilter/wrapper/FilterContainer.js +1 -1
  117. package/es/LmFilter/wrapper/FilterRoot.js +2 -2
  118. package/es/LmFilter/wrapper/FilterWrapper.js +1 -1
  119. package/es/LmImgList/LmImgList.d.ts +4 -0
  120. package/es/LmImgList/LmImgList.js +19 -0
  121. package/es/LmImgList/body/Banner.d.ts +5 -0
  122. package/es/LmImgList/body/Banner.js +121 -0
  123. package/es/LmImgList/body/Thumb.d.ts +5 -0
  124. package/es/LmImgList/body/Thumb.js +63 -0
  125. package/es/LmImgList/fns/index.d.ts +20 -0
  126. package/es/LmImgList/fns/index.js +106 -0
  127. package/es/LmImgList/index.d.ts +3 -0
  128. package/es/LmImgList/index.js +3 -0
  129. package/es/LmImgList/interface.d.ts +14 -0
  130. package/es/LmImgList/interface.js +1 -0
  131. package/es/LmImgList/style/index.css +71 -0
  132. package/es/LmImgList/style/index.js +3 -0
  133. package/es/LmImgList/style/variables.css +71 -0
  134. package/es/LmImgList/style/variables.js +3 -0
  135. package/es/LmImgList/wrapper/Container.d.ts +4 -0
  136. package/es/LmImgList/wrapper/Container.js +56 -0
  137. package/es/LmImgList/wrapper/Root.d.ts +4 -0
  138. package/es/LmImgList/wrapper/Root.js +44 -0
  139. package/es/LmImgList/wrapper/Wrapper.d.ts +4 -0
  140. package/es/LmImgList/wrapper/Wrapper.js +9 -0
  141. package/es/LmImgList/wrapper/reducer.d.ts +14 -0
  142. package/es/LmImgList/wrapper/reducer.js +52 -0
  143. package/es/LmSelect/useCheckboxOptions.d.ts +1 -1
  144. package/es/LmTable/Table.js +92 -35
  145. package/es/LmTable/VList.js +2 -2
  146. package/es/LmTable/autosize.js +1 -1
  147. package/es/LmTable/components/sheelTableCell.js +12 -9
  148. package/es/LmTable/components/sortableBoxCol.js +1 -1
  149. package/es/LmTable/components/sortableItemCol.js +2 -2
  150. package/es/LmTable/index.js +1 -1
  151. package/es/LmTable/style/index.css +19 -0
  152. package/es/LmTable/style/variables.css +19 -0
  153. package/es/LmTable/util.js +71 -18
  154. package/es/LmUpload/fns/index.js +5 -5
  155. package/es/LoadingPage/index.js +1 -1
  156. package/es/Radio/index.js +1 -1
  157. package/es/UploadOss/index.js +1 -1
  158. package/es/UploadOss/uploadBtn.js +2 -2
  159. package/es/UploadOss/uploadImg.js +2 -2
  160. package/es/VirtualList/index.js +1 -1
  161. package/es/_util/placements.d.ts +1 -0
  162. package/es/index.d.ts +1 -0
  163. package/es/index.js +2 -1
  164. package/es/notification/index.js +3 -3
  165. package/es/services/newRequest.js +4 -4
  166. package/es/styles/variables.css +6153 -3
  167. package/lib/Affix/index.js +2 -2
  168. package/lib/Affix/utils.js +1 -1
  169. package/lib/Alert/ErrorBoundary.js +2 -2
  170. package/lib/Alert/index.js +2 -2
  171. package/lib/Approval/handle.js +1 -1
  172. package/lib/Approval/index.js +2 -2
  173. package/lib/Approval/util.js +1 -1
  174. package/lib/AutoComplete/index.js +2 -2
  175. package/lib/Avatar/index.js +1 -1
  176. package/lib/Badge/Ribbon.js +2 -2
  177. package/lib/Badge/ScrollNumber.js +2 -2
  178. package/lib/Badge/SingleNumber.js +2 -2
  179. package/lib/Badge/index.js +2 -2
  180. package/lib/Box/LmBox.js +2 -2
  181. package/lib/Box/body/Item.js +1 -1
  182. package/lib/Box/body/List.js +1 -1
  183. package/lib/Box/body/OverflowList.js +1 -1
  184. package/lib/Box/index.js +1 -1
  185. package/lib/Box/wrapper/BoxContainer.js +2 -2
  186. package/lib/Box/wrapper/BoxRoot.js +2 -2
  187. package/lib/Box/wrapper/BoxWrapper.js +1 -1
  188. package/lib/Breadcrumb/index.js +1 -1
  189. package/lib/Button/index.js +1 -1
  190. package/lib/ButtonTags/ButtonTags.js +1 -1
  191. package/lib/ButtonTags/index.js +1 -1
  192. package/lib/Calendar/index.js +1 -1
  193. package/lib/Card/index.js +1 -1
  194. package/lib/CardTable/LmCardTable.js +2 -2
  195. package/lib/CardTable/body/TableBody.js +2 -2
  196. package/lib/CardTable/body/TableBodyCell.js +2 -2
  197. package/lib/CardTable/body/TableBodyRow.js +2 -2
  198. package/lib/CardTable/card/PictureTextColumn.js +2 -2
  199. package/lib/CardTable/card/PictureTextRow.js +1 -1
  200. package/lib/CardTable/card/PictureTextRowOperate.js +1 -1
  201. package/lib/CardTable/context.js +1 -1
  202. package/lib/CardTable/empty.js +1 -1
  203. package/lib/CardTable/fns/index.js +1 -1
  204. package/lib/CardTable/footer.js +2 -2
  205. package/lib/CardTable/hooks/usePagination.js +5 -5
  206. package/lib/CardTable/index.js +1 -1
  207. package/lib/CardTable/pager/TablePagination.js +2 -2
  208. package/lib/CardTable/pager/index.js +1 -1
  209. package/lib/CardTable/table/Table.js +1 -1
  210. package/lib/CardTable/table/TableContainer.js +2 -2
  211. package/lib/CardTable/table/TableRoot.js +2 -2
  212. package/lib/CardTable/table/TableWrapper.js +1 -1
  213. package/lib/CardTable/toolbar/ToolBarBottom.js +1 -1
  214. package/lib/Carousel/index.js +1 -1
  215. package/lib/Cascader/index.js +1 -1
  216. package/lib/Checkbox/index.js +1 -1
  217. package/lib/Collapse/index.js +1 -1
  218. package/lib/Comment/index.js +1 -1
  219. package/lib/ConfigProvider/DisabledContext.js +1 -1
  220. package/lib/ConfigProvider/SizeContext.js +1 -1
  221. package/lib/ConfigProvider/context.js +1 -1
  222. package/lib/ConfigProvider/cssVariables.js +1 -1
  223. package/lib/ConfigProvider/defaultRenderEmpty.js +2 -2
  224. package/lib/ConfigProvider/index.js +2 -2
  225. package/lib/CustomTableOption/cardSort.js +2 -2
  226. package/lib/CustomTableOption/columnsSort.js +2 -2
  227. package/lib/CustomTableOption/filterSort.js +2 -2
  228. package/lib/CustomTableOption/index.js +2 -2
  229. package/lib/CustomerService/components/question.js +2 -2
  230. package/lib/CustomerService/index.js +2 -2
  231. package/lib/DatePicker/PickerButton.js +1 -1
  232. package/lib/DatePicker/PickerTag.js +1 -1
  233. package/lib/DatePicker/generatePicker/generateRangePicker.js +2 -2
  234. package/lib/DatePicker/generatePicker/generateSinglePicker.js +2 -2
  235. package/lib/DatePicker/generatePicker/index.js +1 -1
  236. package/lib/DatePicker/index.js +1 -1
  237. package/lib/Descriptions/Cell.js +2 -2
  238. package/lib/Descriptions/Row.js +2 -2
  239. package/lib/Descriptions/index.js +2 -2
  240. package/lib/Divider/index.js +2 -2
  241. package/lib/Drawer/index.js +1 -1
  242. package/lib/Dropdown/index.js +2 -2
  243. package/lib/EditTable/EditTable.js +6 -6
  244. package/lib/EditTable/index.js +1 -1
  245. package/lib/Empty/empty.js +1 -1
  246. package/lib/Empty/index.js +2 -2
  247. package/lib/Empty/simple.js +1 -1
  248. package/lib/EnlargeImg/index.js +2 -2
  249. package/lib/Filter/Popover.js +2 -2
  250. package/lib/Filter/baseFilter/Popover.js +2 -2
  251. package/lib/Filter/baseFilter/ToggleFilter.js +2 -2
  252. package/lib/Filter/baseFilter/index.js +5 -5
  253. package/lib/Filter/complex/ComplexFilter.js +2 -2
  254. package/lib/Filter/complex/ComplexItem.js +2 -2
  255. package/lib/Filter/components/Checkbox.js +2 -2
  256. package/lib/Filter/components/Date.js +2 -2
  257. package/lib/Filter/components/Input.js +2 -2
  258. package/lib/Filter/components/Select.js +2 -2
  259. package/lib/Filter/components/Tree.js +2 -2
  260. package/lib/Filter/components/header.js +1 -1
  261. package/lib/Filter/components/index.js +1 -1
  262. package/lib/Filter/context.js +1 -1
  263. package/lib/Filter/edit/editFilter.js +6 -6
  264. package/lib/Filter/index.js +2 -2
  265. package/lib/Filter/popContext.js +1 -1
  266. package/lib/Filter/remember.js +2 -2
  267. package/lib/Form/ErrorList.js +2 -2
  268. package/lib/Form/Form.js +2 -2
  269. package/lib/Form/FormItem/ItemHolder.js +2 -2
  270. package/lib/Form/FormItem/index.js +2 -2
  271. package/lib/Form/FormItemInput.js +2 -2
  272. package/lib/Form/FormItemLabel.js +2 -2
  273. package/lib/Form/FormList.js +2 -2
  274. package/lib/Form/container.js +2 -2
  275. package/lib/Form/context.js +2 -2
  276. package/lib/Form/hooks/useDebounce.js +2 -2
  277. package/lib/Form/hooks/useForm.js +2 -2
  278. package/lib/Form/hooks/useFormItemStatus.js +1 -1
  279. package/lib/Form/hooks/useFrameState.js +2 -2
  280. package/lib/Form/hooks/useItemRef.js +2 -2
  281. package/lib/Form/index.js +2 -2
  282. package/lib/Form/style/form.css +3 -3
  283. package/lib/Form/style/index.css +6063 -3
  284. package/lib/Form/style/tooltip.css +2 -2
  285. package/lib/Form/style/variables.css +6063 -3
  286. package/lib/FullScreen/index.js +2 -2
  287. package/lib/Grid/col.js +2 -2
  288. package/lib/Grid/hooks/useBreakpoint.js +1 -1
  289. package/lib/Grid/index.js +1 -1
  290. package/lib/Grid/row.js +2 -2
  291. package/lib/Icon/index.js +1 -1
  292. package/lib/IconSelect/index.js +2 -2
  293. package/lib/Image/index.js +1 -1
  294. package/lib/ImageViewer/LmImageViewer.js +2 -2
  295. package/lib/ImageViewer/components/Arrows.js +1 -1
  296. package/lib/ImageViewer/components/Carousel.js +3 -3
  297. package/lib/ImageViewer/components/Operate.js +1 -1
  298. package/lib/ImageViewer/components/Thumb.js +2 -2
  299. package/lib/ImageViewer/fns/index.d.ts +1 -0
  300. package/lib/ImageViewer/fns/index.js +11 -2
  301. package/lib/ImageViewer/index.js +1 -1
  302. package/lib/ImageViewer/wrapeer/Container.js +1 -1
  303. package/lib/ImageViewer/wrapeer/Root.js +2 -2
  304. package/lib/ImageViewer/wrapeer/Wrapper.js +1 -1
  305. package/lib/Input/index.js +2 -2
  306. package/lib/InputNumber/index.js +1 -1
  307. package/lib/Layout/index.js +1 -1
  308. package/lib/LeftTable/index.js +2 -2
  309. package/lib/List/index.js +1 -1
  310. package/lib/LmEditTable/DndContainer.js +1 -1
  311. package/lib/LmEditTable/DragHandle.js +1 -1
  312. package/lib/LmEditTable/EditTable.js +69 -10
  313. package/lib/LmEditTable/index.js +1 -1
  314. package/lib/LmEditTable/sortableBox.js +1 -1
  315. package/lib/LmEditTable/sortableBoxCol.js +1 -1
  316. package/lib/LmEditTable/sortableItem.js +1 -1
  317. package/lib/LmEditTable/sortableItemCol.js +1 -1
  318. package/lib/LmFilter/Controls/CheckboxTags.js +1 -1
  319. package/lib/LmFilter/Controls/index.js +2 -2
  320. package/lib/LmFilter/LmFilter.js +4 -2
  321. package/lib/LmFilter/baseFilter/fuzzySearch.js +2 -2
  322. package/lib/LmFilter/baseFilter/index.js +1 -1
  323. package/lib/LmFilter/clearFilter/index.js +1 -1
  324. package/lib/LmFilter/complexFilter/drawer.js +2 -2
  325. package/lib/LmFilter/complexFilter/index.js +2 -2
  326. package/lib/LmFilter/complexFilter/valueDrawer.js +5 -5
  327. package/lib/LmFilter/components/CascaderFilter.js +2 -2
  328. package/lib/LmFilter/components/CheckboxFilter.js +2 -2
  329. package/lib/LmFilter/components/CustomSelectFilter.js +2 -2
  330. package/lib/LmFilter/components/DateFilter.js +2 -2
  331. package/lib/LmFilter/components/DropdownFIlter.js +2 -2
  332. package/lib/LmFilter/components/EmptyFilter.js +1 -1
  333. package/lib/LmFilter/components/InputFilter.js +2 -2
  334. package/lib/LmFilter/components/InputSearchClose.js +2 -2
  335. package/lib/LmFilter/components/SelectFilter.js +2 -2
  336. package/lib/LmFilter/components/index.js +2 -2
  337. package/lib/LmFilter/customFilter/drawer.js +5 -5
  338. package/lib/LmFilter/customFilter/index.js +2 -2
  339. package/lib/LmFilter/customFilter/saveModal.js +5 -5
  340. package/lib/LmFilter/customFilter/valueDrawer.js +5 -5
  341. package/lib/LmFilter/filterFns/index.d.ts +60 -0
  342. package/lib/LmFilter/filterFns/index.js +42 -55
  343. package/lib/LmFilter/index.js +1 -1
  344. package/lib/LmFilter/utils.js +1 -1
  345. package/lib/LmFilter/wrapper/Filter.js +1 -1
  346. package/lib/LmFilter/wrapper/FilterContainer.js +1 -1
  347. package/lib/LmFilter/wrapper/FilterRoot.js +2 -2
  348. package/lib/LmFilter/wrapper/FilterWrapper.js +1 -1
  349. package/lib/LmImgList/LmImgList.d.ts +4 -0
  350. package/lib/LmImgList/LmImgList.js +33 -0
  351. package/lib/LmImgList/body/Banner.d.ts +5 -0
  352. package/lib/LmImgList/body/Banner.js +134 -0
  353. package/lib/LmImgList/body/Thumb.d.ts +5 -0
  354. package/lib/LmImgList/body/Thumb.js +79 -0
  355. package/lib/LmImgList/fns/index.d.ts +20 -0
  356. package/lib/LmImgList/fns/index.js +114 -0
  357. package/lib/LmImgList/index.d.ts +3 -0
  358. package/lib/LmImgList/index.js +27 -0
  359. package/lib/LmImgList/interface.d.ts +14 -0
  360. package/lib/LmImgList/interface.js +5 -0
  361. package/lib/LmImgList/style/index.css +71 -0
  362. package/lib/LmImgList/style/index.js +3 -0
  363. package/lib/LmImgList/style/variables.css +71 -0
  364. package/lib/LmImgList/style/variables.js +3 -0
  365. package/lib/LmImgList/wrapper/Container.d.ts +4 -0
  366. package/lib/LmImgList/wrapper/Container.js +73 -0
  367. package/lib/LmImgList/wrapper/Root.d.ts +4 -0
  368. package/lib/LmImgList/wrapper/Root.js +61 -0
  369. package/lib/LmImgList/wrapper/Wrapper.d.ts +4 -0
  370. package/lib/LmImgList/wrapper/Wrapper.js +22 -0
  371. package/lib/LmImgList/wrapper/reducer.d.ts +14 -0
  372. package/lib/LmImgList/wrapper/reducer.js +64 -0
  373. package/lib/LmSelect/GhostSelect.js +2 -2
  374. package/lib/LmSelect/NormalSelect.js +2 -2
  375. package/lib/LmSelect/index.js +2 -2
  376. package/lib/LmSelect/useCheckboxOptions.d.ts +1 -1
  377. package/lib/LmSelect/useCheckboxOptions.js +2 -2
  378. package/lib/LmSelect/utils.js +2 -2
  379. package/lib/LmTable/Table.js +92 -35
  380. package/lib/LmTable/VList.js +2 -2
  381. package/lib/LmTable/autosize.js +1 -1
  382. package/lib/LmTable/components/DndContainer.js +1 -1
  383. package/lib/LmTable/components/customRenderEmpty.js +1 -1
  384. package/lib/LmTable/components/inputDataEdit.js +1 -1
  385. package/lib/LmTable/components/sheelTableCell.js +15 -11
  386. package/lib/LmTable/components/sortableBoxCol.js +1 -1
  387. package/lib/LmTable/components/sortableItemCol.js +2 -2
  388. package/lib/LmTable/components/tableChartsModal.js +1 -1
  389. package/lib/LmTable/index.js +1 -1
  390. package/lib/LmTable/style/index.css +19 -0
  391. package/lib/LmTable/style/variables.css +19 -0
  392. package/lib/LmTable/util.js +71 -18
  393. package/lib/LmTable/virTual/VirtualRow.js +1 -1
  394. package/lib/LmTable/virTual/VirtualTable.js +2 -2
  395. package/lib/LmTable/virTual/VirtualWrapper.js +1 -1
  396. package/lib/LmTable/virTual/index.js +1 -1
  397. package/lib/LmUpload/LmUpload.js +2 -2
  398. package/lib/LmUpload/UploadList/ItemPicture.js +2 -2
  399. package/lib/LmUpload/UploadList/ItemPictureCard.js +2 -2
  400. package/lib/LmUpload/UploadList/ItemText.js +2 -2
  401. package/lib/LmUpload/UploadList/RenderItem.js +1 -1
  402. package/lib/LmUpload/UploadList/index.js +1 -1
  403. package/lib/LmUpload/body/Progress.js +1 -1
  404. package/lib/LmUpload/body/UploadCore.js +2 -2
  405. package/lib/LmUpload/body/UploadPicture.js +1 -1
  406. package/lib/LmUpload/components/card.js +1 -1
  407. package/lib/LmUpload/fns/index.js +6 -6
  408. package/lib/LmUpload/index.js +1 -1
  409. package/lib/LmUpload/utils.js +1 -1
  410. package/lib/LmUpload/view/index.js +1 -1
  411. package/lib/LmUpload/wrapper/Upload.js +2 -2
  412. package/lib/LmUpload/wrapper/UploadContainer.js +2 -2
  413. package/lib/LmUpload/wrapper/UploadRoot.js +2 -2
  414. package/lib/LmUpload/wrapper/UploadWrapper.js +1 -1
  415. package/lib/LoadingPage/index.js +1 -1
  416. package/lib/Locale/ar_EG.js +1 -1
  417. package/lib/Locale/az_AZ.js +1 -1
  418. package/lib/Locale/bg_BG.js +1 -1
  419. package/lib/Locale/bn_BD.js +1 -1
  420. package/lib/Locale/by_BY.js +1 -1
  421. package/lib/Locale/ca_ES.js +1 -1
  422. package/lib/Locale/cs_CZ.js +1 -1
  423. package/lib/Locale/da_DK.js +1 -1
  424. package/lib/Locale/de_DE.js +1 -1
  425. package/lib/Locale/default.js +1 -1
  426. package/lib/Locale/el_GR.js +1 -1
  427. package/lib/Locale/en_GB.js +1 -1
  428. package/lib/Locale/en_US.js +1 -1
  429. package/lib/Locale/es_ES.js +1 -1
  430. package/lib/Locale/et_EE.js +1 -1
  431. package/lib/Locale/fa_IR.js +1 -1
  432. package/lib/Locale/fi_FI.js +1 -1
  433. package/lib/Locale/fr_BE.js +1 -1
  434. package/lib/Locale/fr_CA.js +1 -1
  435. package/lib/Locale/fr_FR.js +1 -1
  436. package/lib/Locale/ga_IE.js +1 -1
  437. package/lib/Locale/gl_ES.js +1 -1
  438. package/lib/Locale/he_IL.js +1 -1
  439. package/lib/Locale/hi_IN.js +1 -1
  440. package/lib/Locale/hr_HR.js +1 -1
  441. package/lib/Locale/hu_HU.js +1 -1
  442. package/lib/Locale/id_ID.js +1 -1
  443. package/lib/Locale/is_IS.js +1 -1
  444. package/lib/Locale/it_IT.js +1 -1
  445. package/lib/Locale/ja_JP.js +1 -1
  446. package/lib/Locale/ka_GE.js +1 -1
  447. package/lib/Locale/kk_KZ.js +1 -1
  448. package/lib/Locale/km_KH.js +1 -1
  449. package/lib/Locale/kmr_IQ.js +1 -1
  450. package/lib/Locale/kn_IN.js +1 -1
  451. package/lib/Locale/ko_KR.js +1 -1
  452. package/lib/Locale/ku_IQ.js +1 -1
  453. package/lib/Locale/lt_LT.js +1 -1
  454. package/lib/Locale/lv_LV.js +1 -1
  455. package/lib/Locale/mk_MK.js +1 -1
  456. package/lib/Locale/ml_IN.js +1 -1
  457. package/lib/Locale/mn_MN.js +1 -1
  458. package/lib/Locale/ms_MY.js +1 -1
  459. package/lib/Locale/nb_NO.js +1 -1
  460. package/lib/Locale/ne_NP.js +1 -1
  461. package/lib/Locale/nl_BE.js +1 -1
  462. package/lib/Locale/nl_NL.js +1 -1
  463. package/lib/Locale/pl_PL.js +1 -1
  464. package/lib/Locale/pt_BR.js +1 -1
  465. package/lib/Locale/pt_PT.js +1 -1
  466. package/lib/Locale/ro_RO.js +1 -1
  467. package/lib/Locale/ru_RU.js +1 -1
  468. package/lib/Locale/si_LK.js +1 -1
  469. package/lib/Locale/sk_SK.js +1 -1
  470. package/lib/Locale/sl_SI.js +1 -1
  471. package/lib/Locale/sr_RS.js +1 -1
  472. package/lib/Locale/sv_SE.js +1 -1
  473. package/lib/Locale/ta_IN.js +1 -1
  474. package/lib/Locale/th_TH.js +1 -1
  475. package/lib/Locale/tk_TK.js +1 -1
  476. package/lib/Locale/tr_TR.js +1 -1
  477. package/lib/Locale/uk_UA.js +1 -1
  478. package/lib/Locale/ur_PK.js +1 -1
  479. package/lib/Locale/vi_VN.js +1 -1
  480. package/lib/Locale/zh_CN.js +1 -1
  481. package/lib/Locale/zh_HK.js +1 -1
  482. package/lib/Locale/zh_TW.js +1 -1
  483. package/lib/Mentions/index.js +1 -1
  484. package/lib/Menu/index.js +1 -1
  485. package/lib/Modal/index.js +1 -1
  486. package/lib/PageHeader/index.js +2 -2
  487. package/lib/Pagination/index.js +1 -1
  488. package/lib/Popconfirm/index.js +1 -1
  489. package/lib/Popover/index.js +2 -2
  490. package/lib/Progress/index.js +1 -1
  491. package/lib/QuickMenu/index.js +2 -2
  492. package/lib/Radio/index.js +1 -1
  493. package/lib/Rate/index.js +1 -1
  494. package/lib/Result/index.js +2 -2
  495. package/lib/Result/noFound.js +1 -1
  496. package/lib/Result/serverError.js +1 -1
  497. package/lib/Result/unauthorized.js +1 -1
  498. package/lib/Segmented/index.js +1 -1
  499. package/lib/Select/index.js +2 -2
  500. package/lib/Skeleton/index.js +1 -1
  501. package/lib/Slider/index.js +1 -1
  502. package/lib/Space/index.js +1 -1
  503. package/lib/Spin/index.js +1 -1
  504. package/lib/Statistic/index.js +1 -1
  505. package/lib/Steps/index.js +1 -1
  506. package/lib/Switch/index.js +1 -1
  507. package/lib/Table/index.js +1 -1
  508. package/lib/Tabs/hooks/useAnimateConfig.js +1 -1
  509. package/lib/Tabs/hooks/useLegacyItems.js +2 -2
  510. package/lib/Tabs/index.js +2 -2
  511. package/lib/Tabs/index.old.js +1 -1
  512. package/lib/Tag/index.js +2 -2
  513. package/lib/TestTable/LmBox.js +1 -1
  514. package/lib/TestTable/index.js +1 -1
  515. package/lib/TimePicker/index.js +1 -1
  516. package/lib/Timeline/index.js +1 -1
  517. package/lib/Tooltip/index.js +2 -2
  518. package/lib/Transfer/index.js +1 -1
  519. package/lib/Tree/DirectoryTree.js +2 -2
  520. package/lib/Tree/Tree.js +2 -2
  521. package/lib/Tree/TreeIndex.js +1 -1
  522. package/lib/Tree/index.js +2 -2
  523. package/lib/Tree/utils/dictUtil.js +1 -1
  524. package/lib/Tree/utils/dropIndicator.js +1 -1
  525. package/lib/Tree/utils/iconUtil.js +2 -2
  526. package/lib/TreeSelect/index.js +1 -1
  527. package/lib/Typography/Base/Ellipsis.js +2 -2
  528. package/lib/Typography/Base/EllipsisTooltip.js +2 -2
  529. package/lib/Typography/Base/index.js +2 -2
  530. package/lib/Typography/Editable.js +2 -2
  531. package/lib/Typography/Link.js +2 -2
  532. package/lib/Typography/Paragraph.js +2 -2
  533. package/lib/Typography/Text.js +2 -2
  534. package/lib/Typography/Title.js +2 -2
  535. package/lib/Typography/Typography.js +2 -2
  536. package/lib/Typography/hooks/useMergedConfig.js +2 -2
  537. package/lib/Typography/hooks/useUpdatedEffect.js +1 -1
  538. package/lib/Typography/index.js +1 -1
  539. package/lib/Upload/index.js +1 -1
  540. package/lib/UploadOss/index.js +1 -1
  541. package/lib/UploadOss/uploadBtn.js +2 -2
  542. package/lib/UploadOss/uploadImg.js +2 -2
  543. package/lib/VirtualList/index.js +1 -1
  544. package/lib/_util/hooks/useFlexGapSupport.js +2 -2
  545. package/lib/_util/hooks/useForceUpdate.js +2 -2
  546. package/lib/_util/placements.d.ts +1 -0
  547. package/lib/_util/reactNode.js +1 -1
  548. package/lib/_util/responsiveObserve.js +1 -1
  549. package/lib/_util/statusUtils.js +1 -1
  550. package/lib/_util/styleChecker.js +1 -1
  551. package/lib/_util/throttleByAnimationFrame.js +1 -1
  552. package/lib/_util/transButton.js +2 -2
  553. package/lib/_util/warning.js +1 -1
  554. package/lib/hooks/index.js +1 -1
  555. package/lib/hooks/useFullscreen/index.js +1 -1
  556. package/lib/index.d.ts +1 -0
  557. package/lib/index.js +99 -2
  558. package/lib/locale-provider/LocaleReceiver.js +2 -2
  559. package/lib/locale-provider/ar_EG.js +1 -1
  560. package/lib/locale-provider/az_AZ.js +1 -1
  561. package/lib/locale-provider/bg_BG.js +1 -1
  562. package/lib/locale-provider/bn_BD.js +1 -1
  563. package/lib/locale-provider/by_BY.js +1 -1
  564. package/lib/locale-provider/ca_ES.js +1 -1
  565. package/lib/locale-provider/cs_CZ.js +1 -1
  566. package/lib/locale-provider/da_DK.js +1 -1
  567. package/lib/locale-provider/de_DE.js +1 -1
  568. package/lib/locale-provider/default.js +1 -1
  569. package/lib/locale-provider/el_GR.js +1 -1
  570. package/lib/locale-provider/en_GB.js +1 -1
  571. package/lib/locale-provider/en_US.js +1 -1
  572. package/lib/locale-provider/es_ES.js +1 -1
  573. package/lib/locale-provider/et_EE.js +1 -1
  574. package/lib/locale-provider/fa_IR.js +1 -1
  575. package/lib/locale-provider/fi_FI.js +1 -1
  576. package/lib/locale-provider/fr_BE.js +1 -1
  577. package/lib/locale-provider/fr_CA.js +1 -1
  578. package/lib/locale-provider/fr_FR.js +1 -1
  579. package/lib/locale-provider/ga_IE.js +1 -1
  580. package/lib/locale-provider/gl_ES.js +1 -1
  581. package/lib/locale-provider/he_IL.js +1 -1
  582. package/lib/locale-provider/hi_IN.js +1 -1
  583. package/lib/locale-provider/hr_HR.js +1 -1
  584. package/lib/locale-provider/hu_HU.js +1 -1
  585. package/lib/locale-provider/hy_AM.js +1 -1
  586. package/lib/locale-provider/id_ID.js +1 -1
  587. package/lib/locale-provider/index.js +2 -2
  588. package/lib/locale-provider/is_IS.js +1 -1
  589. package/lib/locale-provider/it_IT.js +1 -1
  590. package/lib/locale-provider/ja_JP.js +1 -1
  591. package/lib/locale-provider/ka_GE.js +1 -1
  592. package/lib/locale-provider/kk_KZ.js +1 -1
  593. package/lib/locale-provider/km_KH.js +1 -1
  594. package/lib/locale-provider/kmr_IQ.js +1 -1
  595. package/lib/locale-provider/kn_IN.js +1 -1
  596. package/lib/locale-provider/ko_KR.js +1 -1
  597. package/lib/locale-provider/ku_IQ.js +1 -1
  598. package/lib/locale-provider/lt_LT.js +1 -1
  599. package/lib/locale-provider/lv_LV.js +1 -1
  600. package/lib/locale-provider/mk_MK.js +1 -1
  601. package/lib/locale-provider/ml_IN.js +1 -1
  602. package/lib/locale-provider/mn_MN.js +1 -1
  603. package/lib/locale-provider/ms_MY.js +1 -1
  604. package/lib/locale-provider/nb_NO.js +1 -1
  605. package/lib/locale-provider/ne_NP.js +1 -1
  606. package/lib/locale-provider/nl_BE.js +1 -1
  607. package/lib/locale-provider/nl_NL.js +1 -1
  608. package/lib/locale-provider/pl_PL.js +1 -1
  609. package/lib/locale-provider/pt_BR.js +1 -1
  610. package/lib/locale-provider/pt_PT.js +1 -1
  611. package/lib/locale-provider/ro_RO.js +1 -1
  612. package/lib/locale-provider/ru_RU.js +1 -1
  613. package/lib/locale-provider/si_LK.js +1 -1
  614. package/lib/locale-provider/sk_SK.js +1 -1
  615. package/lib/locale-provider/sl_SI.js +1 -1
  616. package/lib/locale-provider/sr_RS.js +1 -1
  617. package/lib/locale-provider/sv_SE.js +1 -1
  618. package/lib/locale-provider/ta_IN.js +1 -1
  619. package/lib/locale-provider/th_TH.js +1 -1
  620. package/lib/locale-provider/tk_TK.js +1 -1
  621. package/lib/locale-provider/tr_TR.js +1 -1
  622. package/lib/locale-provider/uk_UA.js +1 -1
  623. package/lib/locale-provider/ur_PK.js +1 -1
  624. package/lib/locale-provider/vi_VN.js +1 -1
  625. package/lib/locale-provider/zh_CN.js +1 -1
  626. package/lib/locale-provider/zh_HK.js +1 -1
  627. package/lib/locale-provider/zh_TW.js +1 -1
  628. package/lib/message/hooks/useMessage.js +2 -2
  629. package/lib/message/index.js +2 -2
  630. package/lib/notification/hooks/useNotification.js +2 -2
  631. package/lib/notification/index.js +5 -5
  632. package/lib/services/newRequest.js +4 -4
  633. package/lib/styles/variables.css +6153 -3
  634. package/package.json +2 -2
@@ -1,12 +1,13 @@
1
1
  "use strict";
2
2
 
3
- var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
4
 
5
5
  Object.defineProperty(exports, "__esModule", {
6
6
  value: true
7
7
  });
8
8
  exports.checkIsSelectd = checkIsSelectd;
9
9
  exports.checkStatus = checkStatus;
10
+ exports.getDataSourceIndex = getDataSourceIndex;
10
11
  exports.getSelectionColText = getSelectionColText;
11
12
  exports.getSelectionRowText = getSelectionRowText;
12
13
  exports.getSkipList = getSkipList;
@@ -66,13 +67,13 @@ function dataGroup(data, key) {
66
67
  * 列分组数据转换
67
68
  * @param columns 表格的columns属性值
68
69
  * @param dataSource 表格数据源
69
- * @param columnKeys 列分组的keys
70
+ * @param groupColKeys 列分组的keys
70
71
  * @returns
71
72
  */
72
73
 
73
74
 
74
- function transformWithColGroup(columns, dataSource, columnKeys) {
75
- if (!Array.isArray(columnKeys) || !columnKeys.length) {
75
+ function transformWithColGroup(columns, dataSource, groupColKeys) {
76
+ if (!Array.isArray(groupColKeys) || !groupColKeys.length) {
76
77
  return {
77
78
  columns: columns,
78
79
  dataSource: dataSource
@@ -84,7 +85,7 @@ function transformWithColGroup(columns, dataSource, columnKeys) {
84
85
  var dataSourceCopy = _lodash.default.cloneDeep(dataSource); // 去重
85
86
 
86
87
 
87
- var columnKeysCopy = (0, _toConsumableArray2.default)(new Set(columnKeys));
88
+ var groupColKeysCopy = (0, _toConsumableArray2.default)(new Set(groupColKeys));
88
89
  /**
89
90
  * @param {Array} source source数据源,树状结构,行分组会有children子级结构
90
91
  * @param {Array} columns 列数据,用于表头,当列分组时会有children子级结构
@@ -101,7 +102,7 @@ function transformWithColGroup(columns, dataSource, columnKeys) {
101
102
  source.forEach(function (souItem, i) {
102
103
  handledColumns = handledColumns.concat(columns.filter(function (c) {
103
104
  // 过滤掉(表头操作) 使用列分组作为key的项
104
- return columnKeysCopy.indexOf(c.dataIndex) === -1;
105
+ return groupColKeysCopy.indexOf(c.dataIndex) === -1;
105
106
  }).map(function (item) {
106
107
  return (0, _objectSpread2.default)((0, _objectSpread2.default)({}, item), {}, {
107
108
  dataIndex: "".concat(markStr, "_").concat(item.dataIndex, "_").concat(i)
@@ -126,7 +127,7 @@ function transformWithColGroup(columns, dataSource, columnKeys) {
126
127
  });
127
128
  };
128
129
 
129
- var tempColumns = groupBy(dataSourceCopy, columnsCopy, columnKeysCopy, null);
130
+ var tempColumns = groupBy(dataSourceCopy, columnsCopy, groupColKeysCopy, null);
130
131
  var keyMap = new Map();
131
132
 
132
133
  var dataSourceBy = function dataSourceBy(source) {
@@ -142,7 +143,7 @@ function transformWithColGroup(columns, dataSource, columnKeys) {
142
143
  } else {
143
144
  var str = ''; // 根据筛选条件生成对应的前缀key值,比如[name, age] => 'name_xiaoming_age_18'
144
145
 
145
- columnKeysCopy.forEach(function (dataIndex, i) {
146
+ groupColKeysCopy.forEach(function (dataIndex, i) {
146
147
  if (i !== 0) {
147
148
  str += '_';
148
149
  }
@@ -163,6 +164,7 @@ function transformWithColGroup(columns, dataSource, columnKeys) {
163
164
  }
164
165
 
165
166
  sItem[newKey] = sItem[key];
167
+ sItem["".concat(newKey, "_originIndex")] = sItem.__index;
166
168
  });
167
169
  }
168
170
 
@@ -183,32 +185,44 @@ function transformWithColGroup(columns, dataSource, columnKeys) {
183
185
  /**
184
186
  * 行分组
185
187
  * @param {Array} dataSource 数据源
186
- * @param {Array} groupInfo 行分组的keys
188
+ * @param {Array} groupRowKeys 行分组的keys
187
189
  * @returns
188
190
  */
189
191
 
190
192
 
191
- function transformWithRowGroup(dataSource, groupInfo) {
192
- var groupBy = function groupBy(lastFilter, oGroup) {
193
+ function transformWithRowGroup(dataSource, groupRowKeys) {
194
+ var groupBy = function groupBy(lastFilter, oGroup, preKey) {
193
195
  if (!(oGroup === null || oGroup === void 0 ? void 0 : oGroup.length)) return lastFilter;
194
196
  var group = oGroup.slice();
195
- var filterKey = group.shift();
197
+ var filterKey = group.shift(); // i:保证顺序
198
+
199
+ var i = 0;
196
200
  var map = lastFilter.reduce(function (acc, el) {
201
+ el.__index = i;
202
+ i += 1;
197
203
  var value = el[filterKey];
198
204
  acc[value] = [].concat((0, _toConsumableArray2.default)(acc[value] || []), [el]);
199
205
  return acc;
200
206
  }, {});
201
207
  return Object.keys(map).map(function (item) {
208
+ var key;
209
+
210
+ if (preKey) {
211
+ key = "".concat(preKey, "_").concat(filterKey, "_").concat(item);
212
+ } else {
213
+ key = "".concat(filterKey, "_").concat(item);
214
+ }
215
+
202
216
  return {
203
217
  type: filterKey,
204
- group: item,
205
- key: "".concat(item, "_").concat(filterKey),
206
- children: groupBy(map[item], group)
218
+ _group: item,
219
+ key: key,
220
+ children: groupBy(map[item], group, key)
207
221
  };
208
222
  });
209
223
  };
210
224
 
211
- return groupBy(dataSource, groupInfo);
225
+ return groupBy(dataSource, groupRowKeys);
212
226
  }
213
227
 
214
228
  function checkIsSelectd(i, j) {
@@ -243,10 +257,10 @@ function checkStatus(i, j, commiting) {
243
257
  function getSkipList(dataSourceWithGroup) {
244
258
  var skipList = dataSourceWithGroup.reduce(function (prev, cur) {
245
259
  if (!prev.length) {
246
- return cur.group ? [1] : [0];
260
+ return cur._group ? [1] : [0];
247
261
  }
248
262
 
249
- if (cur.group) {
263
+ if (cur._group) {
250
264
  return [].concat((0, _toConsumableArray2.default)(prev), [prev[prev.length - 1] + 1]);
251
265
  }
252
266
 
@@ -309,4 +323,43 @@ function getSelectionColText(_ref2) {
309
323
  });
310
324
  });
311
325
  return coltext;
326
+ }
327
+ /**
328
+ * 获取key所对应的原始数据的索引
329
+ * @param {Object} {key, dataSource}
330
+ * @returns {number}
331
+ */
332
+
333
+
334
+ function getDataSourceIndex(_ref3) {
335
+ var key = _ref3.key,
336
+ _ref3$dataSource = _ref3.dataSource,
337
+ dataSource = _ref3$dataSource === void 0 ? [] : _ref3$dataSource;
338
+ var index = -1;
339
+
340
+ var dfs = function dfs(arr) {
341
+ if (!Array.isArray(arr)) {
342
+ return;
343
+ }
344
+
345
+ if (index !== -1) {
346
+ return;
347
+ }
348
+
349
+ for (var i = 0; i < arr.length; i += 1) {
350
+ var item = arr[i];
351
+
352
+ if (item["".concat(key, "_originIndex")] !== undefined) {
353
+ index = item["".concat(key, "_originIndex")];
354
+ return;
355
+ }
356
+
357
+ if (item.children) {
358
+ dfs(item.children);
359
+ }
360
+ }
361
+ };
362
+
363
+ dfs(dataSource);
364
+ return index;
312
365
  }
@@ -1,5 +1,5 @@
1
+ import _regeneratorRuntime from "@babel/runtime/helpers/esm/regeneratorRuntime";
1
2
  import _toConsumableArray from "@babel/runtime/helpers/esm/toConsumableArray";
2
- import _regeneratorRuntime from "@babel/runtime/regenerator";
3
3
 
4
4
  var __awaiter = this && this.__awaiter || function (thisArg, _arguments, P, generator) {
5
5
  function adopt(value) {
@@ -155,10 +155,10 @@ var useCoreOptions = function useCoreOptions(_ref) {
155
155
  }, [props.onError, getFileList, onChange]); // 上传至ali-oss
156
156
 
157
157
  var uploadOss = useCallback(function (file) {
158
- return __awaiter(void 0, void 0, void 0, /*#__PURE__*/_regeneratorRuntime.mark(function _callee() {
158
+ return __awaiter(void 0, void 0, void 0, /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
159
159
  var _ossConfig, _ossConfig$dir, filePath, shortlink, _ossConfig$region, region, accessKeyId, accessKeySecret, stsToken, _ossConfig$bucket, bucket, ossCallBack, client, timestamp, fileName, pathName, url, params;
160
160
 
161
- return _regeneratorRuntime.wrap(function _callee$(_context) {
161
+ return _regeneratorRuntime().wrap(function _callee$(_context) {
162
162
  while (1) {
163
163
  switch (_context.prev = _context.next) {
164
164
  case 0:
@@ -254,10 +254,10 @@ var useCoreOptions = function useCoreOptions(_ref) {
254
254
  }, [type, fileSize, uploadOss, customUpload]); // 删除事件
255
255
 
256
256
  var remove = useCallback(function (file) {
257
- return __awaiter(void 0, void 0, void 0, /*#__PURE__*/_regeneratorRuntime.mark(function _callee2() {
257
+ return __awaiter(void 0, void 0, void 0, /*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
258
258
  var _a, _b, res, fileList;
259
259
 
260
- return _regeneratorRuntime.wrap(function _callee2$(_context2) {
260
+ return _regeneratorRuntime().wrap(function _callee2$(_context2) {
261
261
  while (1) {
262
262
  switch (_context2.prev = _context2.next) {
263
263
  case 0:
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
 
3
- var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
4
 
5
5
  Object.defineProperty(exports, "__esModule", {
6
6
  value: true
package/es/Radio/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
 
3
- var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
4
 
5
5
  Object.defineProperty(exports, "__esModule", {
6
6
  value: true
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
 
3
- var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
4
 
5
5
  Object.defineProperty(exports, "__esModule", {
6
6
  value: true
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
 
3
- var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard").default;
3
+ var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard");
4
4
 
5
- var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
5
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
6
6
 
7
7
  Object.defineProperty(exports, "__esModule", {
8
8
  value: true
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
 
3
- var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard").default;
3
+ var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard");
4
4
 
5
- var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
5
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
6
6
 
7
7
  Object.defineProperty(exports, "__esModule", {
8
8
  value: true
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
 
3
- var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard").default;
3
+ var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard");
4
4
 
5
5
  Object.defineProperty(exports, "__esModule", {
6
6
  value: true
@@ -1,3 +1,4 @@
1
+ import type { BuildInPlacements } from 'rc-trigger';
1
2
  export interface AdjustOverflow {
2
3
  adjustX?: 0 | 1;
3
4
  adjustY?: 0 | 1;
package/es/index.d.ts CHANGED
@@ -119,3 +119,4 @@ export { default as Descriptions } from './Descriptions';
119
119
  export type { DescriptionsProps } from './Descriptions';
120
120
  export { default as FullScreen } from './FullScreen';
121
121
  export type { IFullScreenProps } from './FullScreen';
122
+ export * from './LmImgList';
package/es/index.js CHANGED
@@ -78,4 +78,5 @@ export { default as Avatar } from './Avatar';
78
78
  export { default as Divider } from './Divider';
79
79
  export { default as Skeleton } from './Skeleton';
80
80
  export { default as Descriptions } from './Descriptions';
81
- export { default as FullScreen } from './FullScreen';
81
+ export { default as FullScreen } from './FullScreen';
82
+ export * from './LmImgList';
@@ -1,7 +1,7 @@
1
+ import _regeneratorRuntime from "@babel/runtime/helpers/esm/regeneratorRuntime";
1
2
  import "antd/es/notification/style";
2
3
  import _notification from "antd/es/notification";
3
4
  import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
4
- import _regeneratorRuntime from "@babel/runtime/regenerator";
5
5
 
6
6
  var __awaiter = this && this.__awaiter || function (thisArg, _arguments, P, generator) {
7
7
  function adopt(value) {
@@ -324,8 +324,8 @@ api.antdNotification = _notification;
324
324
  /** @private test Only function. Not work on production */
325
325
 
326
326
  export var getInstance = function getInstance(cacheKey) {
327
- return __awaiter(void 0, void 0, void 0, /*#__PURE__*/_regeneratorRuntime.mark(function _callee() {
328
- return _regeneratorRuntime.wrap(function _callee$(_context) {
327
+ return __awaiter(void 0, void 0, void 0, /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
328
+ return _regeneratorRuntime().wrap(function _callee$(_context) {
329
329
  while (1) {
330
330
  switch (_context.prev = _context.next) {
331
331
  case 0:
@@ -1,13 +1,13 @@
1
1
  "use strict";
2
2
 
3
- var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
4
 
5
5
  Object.defineProperty(exports, "__esModule", {
6
6
  value: true
7
7
  });
8
8
  exports.default = void 0;
9
9
 
10
- var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator"));
10
+ var _regeneratorRuntime2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/regeneratorRuntime"));
11
11
 
12
12
  var _objectSpread2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/objectSpread2"));
13
13
 
@@ -141,9 +141,9 @@ instance.interceptors.response.use(function (response) {
141
141
  });
142
142
 
143
143
  var request = /*#__PURE__*/function () {
144
- var _ref2 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee(opt) {
144
+ var _ref2 = (0, _asyncToGenerator2.default)( /*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee(opt) {
145
145
  var options, res;
146
- return _regenerator.default.wrap(function _callee$(_context) {
146
+ return (0, _regeneratorRuntime2.default)().wrap(function _callee$(_context) {
147
147
  while (1) {
148
148
  switch (_context.prev = _context.next) {
149
149
  case 0: