linkmore-design 1.0.68 → 1.0.71

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 (314) hide show
  1. package/README.md +11 -7
  2. package/dist/Approval/demos/basic.d.ts +1 -0
  3. package/dist/ImageViewer/LmImageViewer.d.ts +5 -0
  4. package/dist/ImageViewer/demos/basic.d.ts +2 -0
  5. package/dist/ImageViewer/index.d.ts +2 -0
  6. package/dist/ImageViewer/style/index.d.ts +1 -0
  7. package/dist/ImageViewer/wrapeer/Root.d.ts +3 -0
  8. package/dist/LmFilter/components/InputFilter.d.ts +2 -2
  9. package/dist/LmFilter/filterFns/index.d.ts +1 -1
  10. package/dist/LmFilter/localization.d.ts +1 -0
  11. package/dist/LmFilter/utils.d.ts +1 -1
  12. package/dist/LmSelect/useCheckboxOptions.d.ts +1 -0
  13. package/dist/LmUpload/LmUpload.d.ts +2 -0
  14. package/dist/LmUpload/UploadList/ItemPicture.d.ts +2 -1
  15. package/dist/LmUpload/UploadList/ItemText.d.ts +2 -1
  16. package/dist/LmUpload/UploadList/RenderItem.d.ts +1 -5
  17. package/dist/LmUpload/UploadList/index.d.ts +4 -3
  18. package/dist/LmUpload/demos/card.d.ts +2 -0
  19. package/dist/LmUpload/demos/picture.d.ts +2 -0
  20. package/dist/LmUpload/fns/index.d.ts +5 -0
  21. package/dist/LmUpload/utils.d.ts +1 -0
  22. package/dist/LmUpload/wrapper/UploadContainer.d.ts +4 -3
  23. package/dist/index.d.ts +1 -0
  24. package/dist/index.umd.js +4081 -603
  25. package/dist/index.umd.min.js +6 -6
  26. package/es/Affix/style/index.css +6 -0
  27. package/es/Alert/style/index.css +6 -0
  28. package/es/Approval/index.js +4 -4
  29. package/es/Approval/style/index.css +18 -4
  30. package/es/AutoComplete/style/index.css +6 -0
  31. package/es/Avatar/style/index.css +6 -0
  32. package/es/Breadcrumb/style/index.css +6 -0
  33. package/es/ButtonTags/style/index.css +6 -0
  34. package/es/Calendar/style/index.css +6 -0
  35. package/es/Card/style/index.css +6 -0
  36. package/es/CardTable/fns/index.js +5 -8
  37. package/es/CardTable/table/TableRoot.js +2 -1
  38. package/es/Carousel/style/index.css +6 -0
  39. package/es/Cascader/style/index.css +6 -0
  40. package/es/CkFilter/complexFilter/drawer.js +1 -4
  41. package/es/CkFilter/complexFilter/saveModal.js +5 -7
  42. package/es/CkFilter/components/CustomModal.js +2 -3
  43. package/es/CkFilter/components/filterTypes.js +1 -3
  44. package/es/CkFilter/components/modal.js +2 -5
  45. package/es/CkFilter/components/modalBack.js +2 -3
  46. package/es/CkFilter/customFilter/drawer.js +6 -11
  47. package/es/CkFilter/style/index.css +6 -0
  48. package/es/Col/style/index.css +6 -0
  49. package/es/Collapse/style/index.css +6 -0
  50. package/es/Comment/style/index.css +6 -0
  51. package/es/CustomTableOption/style/index.css +6 -0
  52. package/es/CustomerService/style/index.css +6 -0
  53. package/es/DatePicker/style/index.css +6 -0
  54. package/es/Descriptions/style/index.css +6 -0
  55. package/es/Drawer/style/index.css +6 -0
  56. package/es/Dropdown/style/index.css +6 -0
  57. package/es/EditTable/style/index.css +6 -0
  58. package/es/Empty/style/index.css +6 -0
  59. package/es/Filter/baseFilter/Popover.js +0 -1
  60. package/es/Filter/baseFilter/ToggleFilter.js +0 -1
  61. package/es/Filter/edit/editFilter.js +2 -6
  62. package/es/Filter/remember.js +0 -1
  63. package/es/Filter/style/index.css +6 -0
  64. package/es/Form/style/index.css +6 -0
  65. package/es/Grid/style/index.css +6 -0
  66. package/es/Icon/style/index.css +6 -0
  67. package/es/IconFont/font/iconfont.js +1 -1
  68. package/es/Image/style/index.css +6 -0
  69. package/es/ImageViewer/LmImageViewer.d.ts +5 -0
  70. package/es/ImageViewer/LmImageViewer.js +26 -0
  71. package/es/ImageViewer/index.d.ts +2 -0
  72. package/es/ImageViewer/index.js +2 -0
  73. package/es/ImageViewer/style/index.css +211 -0
  74. package/es/ImageViewer/style/index.js +3 -0
  75. package/es/ImageViewer/wrapeer/Root.d.ts +3 -0
  76. package/es/ImageViewer/wrapeer/Root.js +12 -0
  77. package/es/Input/style/index.css +6 -0
  78. package/es/InputNumber/style/index.css +6 -0
  79. package/es/Layout/style/index.css +6 -0
  80. package/es/LeftTable/style/index.css +6 -0
  81. package/es/List/style/index.css +6 -0
  82. package/es/LmEditTable/style/index.css +6 -0
  83. package/es/LmFilter/complexFilter/drawer.js +2 -7
  84. package/es/LmFilter/complexFilter/valueDrawer.js +2 -5
  85. package/es/LmFilter/components/CascaderFilter.js +3 -2
  86. package/es/LmFilter/components/CheckboxFilter.js +3 -3
  87. package/es/LmFilter/components/DropdownFIlter.js +71 -65
  88. package/es/LmFilter/components/InputFilter.js +1 -2
  89. package/es/LmFilter/components/SelectFilter.js +2 -2
  90. package/es/LmFilter/components/index.js +7 -5
  91. package/es/LmFilter/customFilter/drawer.js +7 -25
  92. package/es/LmFilter/customFilter/saveModal.js +2 -3
  93. package/es/LmFilter/customFilter/valueDrawer.js +2 -5
  94. package/es/LmFilter/filterFns/index.js +4 -6
  95. package/es/LmFilter/localization.d.ts +1 -0
  96. package/es/LmFilter/localization.js +2 -1
  97. package/es/LmFilter/utils.js +41 -22
  98. package/es/LmFilter/wrapper/FilterRoot.js +0 -2
  99. package/es/LmSelect/style/index.css +6 -0
  100. package/es/LmSelect/useCheckboxOptions.d.ts +1 -0
  101. package/es/LmSelect/useCheckboxOptions.js +4 -3
  102. package/es/LmTable/Table.js +0 -1
  103. package/es/LmTable/autosize.js +0 -3
  104. package/es/LmTable/style/index.css +6 -0
  105. package/es/LmUpload/LmUpload.d.ts +2 -0
  106. package/es/LmUpload/LmUpload.js +54 -22
  107. package/es/LmUpload/UploadList/ItemPicture.d.ts +2 -1
  108. package/es/LmUpload/UploadList/ItemPicture.js +23 -8
  109. package/es/LmUpload/UploadList/ItemPictureCard.js +18 -9
  110. package/es/LmUpload/UploadList/ItemText.d.ts +2 -1
  111. package/es/LmUpload/UploadList/ItemText.js +13 -7
  112. package/es/LmUpload/UploadList/RenderItem.d.ts +1 -5
  113. package/es/LmUpload/UploadList/RenderItem.js +3 -3
  114. package/es/LmUpload/UploadList/index.d.ts +4 -3
  115. package/es/LmUpload/UploadList/index.js +14 -8
  116. package/es/LmUpload/body/Progress.js +2 -2
  117. package/es/LmUpload/body/UploadCore.js +5 -4
  118. package/es/LmUpload/body/UploadPicture.js +4 -4
  119. package/es/LmUpload/fns/index.d.ts +5 -0
  120. package/es/LmUpload/fns/index.js +138 -42
  121. package/es/LmUpload/style/index.css +6 -0
  122. package/es/LmUpload/utils.d.ts +1 -0
  123. package/es/LmUpload/utils.js +14 -1
  124. package/es/LmUpload/view/index.js +2 -2
  125. package/es/LmUpload/wrapper/UploadContainer.d.ts +4 -3
  126. package/es/LmUpload/wrapper/UploadContainer.js +19 -3
  127. package/es/LmUpload/wrapper/UploadRoot.js +9 -1
  128. package/es/LmUpload/wrapper/UploadWrapper.js +4 -8
  129. package/es/LmUpload/wrapper/reducer.js +2 -1
  130. package/es/Mentions/style/index.css +6 -0
  131. package/es/Menu/style/index.css +6 -0
  132. package/es/Modal/style/index.css +6 -0
  133. package/es/PageHeader/style/index.css +6 -0
  134. package/es/Pagination/style/index.css +6 -0
  135. package/es/PopTable/style/index.css +6 -0
  136. package/es/Popconfirm/style/index.css +6 -0
  137. package/es/Popover/style/index.css +6 -0
  138. package/es/ProTable/Table.js +0 -1
  139. package/es/ProTable/autosize.js +0 -3
  140. package/es/ProTable/style/index.css +6 -0
  141. package/es/Progress/style/index.css +6 -0
  142. package/es/QuickMenu/style/index.css +6 -0
  143. package/es/Rate/style/index.css +6 -0
  144. package/es/Row/style/index.css +6 -0
  145. package/es/Segmented/style/index.css +6 -0
  146. package/es/Select/style/index.css +6 -0
  147. package/es/Slider/style/index.css +6 -0
  148. package/es/Space/style/index.css +6 -0
  149. package/es/Spin/style/index.css +6 -0
  150. package/es/Statistic/style/index.css +6 -0
  151. package/es/Steps/style/index.css +6 -0
  152. package/es/Switch/style/index.css +6 -0
  153. package/es/Table/style/index.css +6 -0
  154. package/es/Tabs/style/index.css +6 -0
  155. package/es/Tag/style/index.css +6 -0
  156. package/es/TimePicker/style/index.css +6 -0
  157. package/es/Timeline/style/index.css +6 -0
  158. package/es/Tooltip/style/index.css +6 -0
  159. package/es/Transfer/style/index.css +6 -0
  160. package/es/Tree/style/index.css +6 -0
  161. package/es/TreeSelect/style/index.css +6 -0
  162. package/es/Typography/style/index.css +6 -0
  163. package/es/Upload/style/index.css +6 -0
  164. package/es/index.d.ts +1 -0
  165. package/es/index.js +1 -0
  166. package/es/message/style/index.css +6 -0
  167. package/es/notification/style/index.css +6 -0
  168. package/es/styles/main.css +6 -0
  169. package/es/styles/resetAntd.css +3 -0
  170. package/lib/Affix/style/index.css +6 -0
  171. package/lib/Alert/style/index.css +6 -0
  172. package/lib/Approval/index.js +4 -4
  173. package/lib/Approval/style/index.css +18 -4
  174. package/lib/AutoComplete/style/index.css +6 -0
  175. package/lib/Avatar/style/index.css +6 -0
  176. package/lib/Breadcrumb/style/index.css +6 -0
  177. package/lib/ButtonTags/style/index.css +6 -0
  178. package/lib/Calendar/style/index.css +6 -0
  179. package/lib/Card/style/index.css +6 -0
  180. package/lib/CardTable/fns/index.js +5 -8
  181. package/lib/CardTable/table/TableRoot.js +2 -1
  182. package/lib/Carousel/style/index.css +6 -0
  183. package/lib/Cascader/style/index.css +6 -0
  184. package/lib/CkFilter/complexFilter/drawer.js +1 -4
  185. package/lib/CkFilter/complexFilter/saveModal.js +5 -7
  186. package/lib/CkFilter/components/CustomModal.js +2 -3
  187. package/lib/CkFilter/components/filterTypes.js +1 -3
  188. package/lib/CkFilter/components/modal.js +2 -5
  189. package/lib/CkFilter/components/modalBack.js +2 -3
  190. package/lib/CkFilter/customFilter/drawer.js +6 -11
  191. package/lib/CkFilter/style/index.css +6 -0
  192. package/lib/Col/style/index.css +6 -0
  193. package/lib/Collapse/style/index.css +6 -0
  194. package/lib/Comment/style/index.css +6 -0
  195. package/lib/CustomTableOption/style/index.css +6 -0
  196. package/lib/CustomerService/style/index.css +6 -0
  197. package/lib/DatePicker/style/index.css +6 -0
  198. package/lib/Descriptions/style/index.css +6 -0
  199. package/lib/Drawer/style/index.css +6 -0
  200. package/lib/Dropdown/style/index.css +6 -0
  201. package/lib/EditTable/style/index.css +6 -0
  202. package/lib/Empty/style/index.css +6 -0
  203. package/lib/Filter/baseFilter/Popover.js +0 -1
  204. package/lib/Filter/baseFilter/ToggleFilter.js +0 -1
  205. package/lib/Filter/edit/editFilter.js +2 -6
  206. package/lib/Filter/remember.js +0 -1
  207. package/lib/Filter/style/index.css +6 -0
  208. package/lib/Form/style/index.css +6 -0
  209. package/lib/Grid/style/index.css +6 -0
  210. package/lib/Icon/style/index.css +6 -0
  211. package/lib/IconFont/font/iconfont.js +1 -1
  212. package/lib/Image/style/index.css +6 -0
  213. package/lib/ImageViewer/LmImageViewer.d.ts +5 -0
  214. package/lib/ImageViewer/LmImageViewer.js +40 -0
  215. package/lib/ImageViewer/index.d.ts +2 -0
  216. package/lib/ImageViewer/index.js +13 -0
  217. package/lib/ImageViewer/style/index.css +211 -0
  218. package/lib/ImageViewer/style/index.js +3 -0
  219. package/lib/ImageViewer/wrapeer/Root.d.ts +3 -0
  220. package/lib/ImageViewer/wrapeer/Root.js +23 -0
  221. package/lib/Input/style/index.css +6 -0
  222. package/lib/InputNumber/style/index.css +6 -0
  223. package/lib/Layout/style/index.css +6 -0
  224. package/lib/LeftTable/style/index.css +6 -0
  225. package/lib/List/style/index.css +6 -0
  226. package/lib/LmEditTable/style/index.css +6 -0
  227. package/lib/LmFilter/complexFilter/drawer.js +2 -7
  228. package/lib/LmFilter/complexFilter/valueDrawer.js +2 -5
  229. package/lib/LmFilter/components/CascaderFilter.js +3 -2
  230. package/lib/LmFilter/components/CheckboxFilter.js +3 -3
  231. package/lib/LmFilter/components/DropdownFIlter.js +71 -65
  232. package/lib/LmFilter/components/InputFilter.js +1 -2
  233. package/lib/LmFilter/components/SelectFilter.js +2 -2
  234. package/lib/LmFilter/components/index.js +7 -5
  235. package/lib/LmFilter/customFilter/drawer.js +7 -25
  236. package/lib/LmFilter/customFilter/saveModal.js +2 -3
  237. package/lib/LmFilter/customFilter/valueDrawer.js +2 -5
  238. package/lib/LmFilter/filterFns/index.js +4 -6
  239. package/lib/LmFilter/localization.d.ts +1 -0
  240. package/lib/LmFilter/localization.js +4 -2
  241. package/lib/LmFilter/utils.js +41 -22
  242. package/lib/LmFilter/wrapper/FilterRoot.js +0 -2
  243. package/lib/LmSelect/style/index.css +6 -0
  244. package/lib/LmSelect/useCheckboxOptions.d.ts +1 -0
  245. package/lib/LmSelect/useCheckboxOptions.js +7 -5
  246. package/lib/LmTable/Table.js +0 -1
  247. package/lib/LmTable/autosize.js +0 -3
  248. package/lib/LmTable/style/index.css +6 -0
  249. package/lib/LmUpload/LmUpload.d.ts +2 -0
  250. package/lib/LmUpload/LmUpload.js +53 -22
  251. package/lib/LmUpload/UploadList/ItemPicture.d.ts +2 -1
  252. package/lib/LmUpload/UploadList/ItemPicture.js +26 -8
  253. package/lib/LmUpload/UploadList/ItemPictureCard.js +18 -9
  254. package/lib/LmUpload/UploadList/ItemText.d.ts +2 -1
  255. package/lib/LmUpload/UploadList/ItemText.js +16 -7
  256. package/lib/LmUpload/UploadList/RenderItem.d.ts +1 -5
  257. package/lib/LmUpload/UploadList/RenderItem.js +3 -3
  258. package/lib/LmUpload/UploadList/index.d.ts +4 -3
  259. package/lib/LmUpload/UploadList/index.js +15 -10
  260. package/lib/LmUpload/body/Progress.js +2 -2
  261. package/lib/LmUpload/body/UploadCore.js +10 -9
  262. package/lib/LmUpload/body/UploadPicture.js +4 -4
  263. package/lib/LmUpload/fns/index.d.ts +5 -0
  264. package/lib/LmUpload/fns/index.js +138 -42
  265. package/lib/LmUpload/style/index.css +6 -0
  266. package/lib/LmUpload/utils.d.ts +1 -0
  267. package/lib/LmUpload/utils.js +16 -1
  268. package/lib/LmUpload/view/index.js +2 -2
  269. package/lib/LmUpload/wrapper/UploadContainer.d.ts +4 -3
  270. package/lib/LmUpload/wrapper/UploadContainer.js +21 -3
  271. package/lib/LmUpload/wrapper/UploadRoot.js +9 -1
  272. package/lib/LmUpload/wrapper/UploadWrapper.js +5 -12
  273. package/lib/LmUpload/wrapper/reducer.js +2 -1
  274. package/lib/Mentions/style/index.css +6 -0
  275. package/lib/Menu/style/index.css +6 -0
  276. package/lib/Modal/style/index.css +6 -0
  277. package/lib/PageHeader/style/index.css +6 -0
  278. package/lib/Pagination/style/index.css +6 -0
  279. package/lib/PopTable/style/index.css +6 -0
  280. package/lib/Popconfirm/style/index.css +6 -0
  281. package/lib/Popover/style/index.css +6 -0
  282. package/lib/ProTable/Table.js +0 -1
  283. package/lib/ProTable/autosize.js +0 -3
  284. package/lib/ProTable/style/index.css +6 -0
  285. package/lib/Progress/style/index.css +6 -0
  286. package/lib/QuickMenu/style/index.css +6 -0
  287. package/lib/Rate/style/index.css +6 -0
  288. package/lib/Row/style/index.css +6 -0
  289. package/lib/Segmented/style/index.css +6 -0
  290. package/lib/Select/style/index.css +6 -0
  291. package/lib/Slider/style/index.css +6 -0
  292. package/lib/Space/style/index.css +6 -0
  293. package/lib/Spin/style/index.css +6 -0
  294. package/lib/Statistic/style/index.css +6 -0
  295. package/lib/Steps/style/index.css +6 -0
  296. package/lib/Switch/style/index.css +6 -0
  297. package/lib/Table/style/index.css +6 -0
  298. package/lib/Tabs/style/index.css +6 -0
  299. package/lib/Tag/style/index.css +6 -0
  300. package/lib/TimePicker/style/index.css +6 -0
  301. package/lib/Timeline/style/index.css +6 -0
  302. package/lib/Tooltip/style/index.css +6 -0
  303. package/lib/Transfer/style/index.css +6 -0
  304. package/lib/Tree/style/index.css +6 -0
  305. package/lib/TreeSelect/style/index.css +6 -0
  306. package/lib/Typography/style/index.css +6 -0
  307. package/lib/Upload/style/index.css +6 -0
  308. package/lib/index.d.ts +1 -0
  309. package/lib/index.js +8 -0
  310. package/lib/message/style/index.css +6 -0
  311. package/lib/notification/style/index.css +6 -0
  312. package/lib/styles/main.css +6 -0
  313. package/lib/styles/resetAntd.css +3 -0
  314. package/package.json +2 -1
package/README.md CHANGED
@@ -34,7 +34,9 @@
34
34
  ### 📦 安装
35
35
 
36
36
  ```bash
37
- npm install git+http://git.codefr.com/UFX/UFX.SCM.linkDesign.git --save
37
+ yarn add linkmore-design --save
38
+ or
39
+ npm install linkmore-design --save
38
40
  ```
39
41
 
40
42
  ### 组件调试
@@ -48,7 +50,8 @@ npm install git+http://git.codefr.com/UFX/UFX.SCM.linkDesign.git --save
48
50
  npm run dumi:build
49
51
  ```
50
52
 
51
- ### 组件目录(后续通过脚手架创建)
53
+ ### 组件目录
54
+ 如果要新建组件: 通过 npm run create 来创建新组件
52
55
 
53
56
  ```
54
57
  ├── style // 样式目录
@@ -64,18 +67,19 @@ npm install git+http://git.codefr.com/UFX/UFX.SCM.linkDesign.git --save
64
67
  ```
65
68
  ### md文档书写规范
66
69
 
67
- 加紧输出当中
68
70
  ### 🔨 示例
69
71
 
70
72
  ```bash
71
- import { ProTable, Filter } from 'linkDesign'
73
+ import { Button, Input } from 'linkmore-design'
72
74
  const App = () => (
73
75
  <>
74
- <Filter>PRESS ME</Filter>
75
- <ProTable />
76
+ <Input></Input>
77
+ <Button />
76
78
  </>
77
79
  );
78
80
  ```
79
81
 
80
82
  ### 组件问题
81
- 钉钉 call 红丸&零榆
83
+ 钉钉 call 乔克&零榆&古月
84
+
85
+ 如果您有新组件或发现了任何bug,可以飞书找到我们,或者向我们的仓库提Pr,万分感谢!!!
@@ -1,2 +1,3 @@
1
+ import './style.less';
1
2
  declare const App: () => JSX.Element;
2
3
  export default App;
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ declare const _default: React.ForwardRefExoticComponent<Pick<{
3
+ [x: string]: any;
4
+ }, string | number> & React.RefAttributes<unknown>>;
5
+ export default _default;
@@ -0,0 +1,2 @@
1
+ export default Basic;
2
+ declare function Basic(): JSX.Element;
@@ -0,0 +1,2 @@
1
+ import LmImageViewer from './LmImageViewer';
2
+ export default LmImageViewer;
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ declare const _default: React.ForwardRefExoticComponent<Pick<any, string | number | symbol> & React.RefAttributes<unknown>>;
3
+ export default _default;
@@ -1,4 +1,4 @@
1
- export function InputFilter({ instance }: {
1
+ export default InputFilter;
2
+ declare function InputFilter({ instance }: {
2
3
  instance: any;
3
4
  }): JSX.Element;
4
- export default InputFilter;
@@ -11,7 +11,7 @@ declare function useCoreOptions({ state, dispatch, props }: {
11
11
  props: any;
12
12
  }): {
13
13
  CoreMethods: {
14
- onQuery: ({ basicFilter, complexFilter, customFilter, basicQuery, type }?: any) => void;
14
+ onQuery: ({ basicFilter, complexFilter, customFilter, basicQuery, type, }?: any) => void;
15
15
  setCustomFilter: (val: any) => void;
16
16
  };
17
17
  RefMethods: {
@@ -12,3 +12,4 @@ export declare const DefaultLocalization: {
12
12
  }[];
13
13
  };
14
14
  };
15
+ export default DefaultLocalization;
@@ -6,6 +6,6 @@ export function getRanges(): {
6
6
  近一月: string[];
7
7
  近一年: string[];
8
8
  };
9
- export function getFlatItem(filterValues: any, originArr: any, type?: string): any[];
9
+ export function getFlatItem(getItem: any, checkedValue: any, type?: string): any[];
10
10
  export function getFilterShow(basicFilter: any, dataSource: any): {};
11
11
  export function getFilterShowQuery(basicQuery: any, dataSource: any): any[];
@@ -2,3 +2,4 @@ export declare const useCheckboxOptions: (options: any, { value, onChange }: {
2
2
  value?: any[];
3
3
  onChange: any;
4
4
  }, filter?: string) => JSX.Element;
5
+ export default useCheckboxOptions;
@@ -1,6 +1,8 @@
1
1
  import React from 'react';
2
2
  declare const _default: React.ForwardRefExoticComponent<Pick<{
3
3
  [x: string]: any;
4
+ fileConfig: any;
5
+ components: any;
4
6
  ossConfig: any;
5
7
  }, string | number> & React.RefAttributes<unknown>>;
6
8
  export default _default;
@@ -1,4 +1,5 @@
1
- declare const PictureItem: ({ file }: {
1
+ declare const PictureItem: ({ file, instance }: {
2
2
  file: any;
3
+ instance: any;
3
4
  }) => JSX.Element;
4
5
  export default PictureItem;
@@ -1,4 +1,5 @@
1
- declare const TextItem: ({ file }: {
1
+ declare const TextItem: ({ file, instance }: {
2
2
  file: any;
3
+ instance: any;
3
4
  }) => JSX.Element;
4
5
  export default TextItem;
@@ -1,6 +1,2 @@
1
- export interface RenderCellProps<T = any> {
2
- type?: string;
3
- instance: any;
4
- }
5
- declare const RenderCell: (props: RenderCellProps) => any;
1
+ declare const RenderCell: (props: any) => any;
6
2
  export default RenderCell;
@@ -1,4 +1,5 @@
1
- declare const LmUploadList: ({ instance }: {
1
+ import React from 'react';
2
+ declare const _default: React.MemoExoticComponent<({ instance }: {
2
3
  instance: any;
3
- }) => JSX.Element;
4
- export default LmUploadList;
4
+ }) => JSX.Element>;
5
+ export default _default;
@@ -0,0 +1,2 @@
1
+ export default Basic;
2
+ declare function Basic(): JSX.Element;
@@ -0,0 +1,2 @@
1
+ export default Basic;
2
+ declare function Basic(): JSX.Element;
@@ -4,13 +4,18 @@ declare const useCoreOptions: ({ state, dispatch, props }: {
4
4
  props: any;
5
5
  }) => {
6
6
  CoreMethods: {
7
+ getIsMaxCount: () => boolean;
7
8
  beforeUpload: (e: any) => false | import("../../message").MessageType;
8
9
  getUploadStatus: () => {
9
10
  uploading: boolean;
10
11
  };
12
+ remove: (file: any) => Promise<void>;
13
+ preview: (file: any) => void;
14
+ download: (file: any) => void;
11
15
  };
12
16
  RefMethods: {
13
17
  getState: () => any;
18
+ getFileList: () => any;
14
19
  };
15
20
  };
16
21
  export default useCoreOptions;
@@ -1,3 +1,4 @@
1
+ export declare function getIsHas(val: any): boolean;
1
2
  export declare function isClassComponent(component: any): any;
2
3
  export declare function isExoticComponent(component: any): boolean;
3
4
  export declare function isReactComponent(component: any): any;
@@ -1,4 +1,5 @@
1
- declare const LmUploadContainer: ({ instance }: {
1
+ import * as React from 'react';
2
+ declare const _default: React.MemoExoticComponent<({ instance }: {
2
3
  instance: any;
3
- }) => JSX.Element;
4
- export default LmUploadContainer;
4
+ }) => any>;
5
+ export default _default;
package/dist/index.d.ts CHANGED
@@ -11,6 +11,7 @@ export { default as EditTable } from './EditTable';
11
11
  export { default as Empty } from './Empty';
12
12
  export { default as EnlargeImg } from './EnlargeImg';
13
13
  export { default as Filter } from './Filter';
14
+ export { default as LmFilter } from './LmFilter';
14
15
  export { default as Icon } from './Icon';
15
16
  export { default as IconFont } from './IconFont';
16
17
  export { default as IconSelect } from './IconSelect';