@yilianjituan/yilian_dgerm 1.0.5-alpha.9 → 1.0.6

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 (147) hide show
  1. package/.eslintrc.js +0 -0
  2. package/CHANGELOG.md +96 -0
  3. package/LICENSE +0 -0
  4. package/README.md +0 -0
  5. package/dist/business/Entry/index.d.ts +0 -0
  6. package/dist/business/Entry/index.interface.d.ts +0 -0
  7. package/dist/business/Entry/index.interface.js +0 -0
  8. package/dist/business/Entry/index.js +0 -0
  9. package/dist/business/Entry/index.scss +0 -0
  10. package/dist/business/TestBtn/index.d.ts +0 -0
  11. package/dist/business/TestBtn/index.interface.d.ts +0 -0
  12. package/dist/business/TestBtn/index.interface.js +0 -0
  13. package/dist/business/TestBtn/index.js +0 -0
  14. package/dist/commonAxios/Axios.d.ts +0 -0
  15. package/dist/commonAxios/Axios.js +0 -0
  16. package/dist/commonAxios/http.d.ts +0 -0
  17. package/dist/commonAxios/http.js +0 -0
  18. package/dist/commonAxios/index.d.ts +0 -0
  19. package/dist/commonAxios/index.js +0 -0
  20. package/dist/commonAxios/juicer.d.ts +0 -0
  21. package/dist/commonAxios/juicer.js +0 -0
  22. package/dist/commonData/address.d.ts +0 -0
  23. package/dist/commonData/address.js +0 -0
  24. package/dist/commonImg/ic_im_no_archives_new.png +0 -0
  25. package/dist/commonType/globalEnum.d.ts +0 -0
  26. package/dist/commonType/globalEnum.js +0 -0
  27. package/dist/commonType/globalFun.d.ts +0 -0
  28. package/dist/commonType/globalFun.js +0 -0
  29. package/dist/components/BigImage/index.d.ts +0 -0
  30. package/dist/components/BigImage/index.interface.d.ts +0 -0
  31. package/dist/components/BigImage/index.interface.js +0 -0
  32. package/dist/components/BigImage/index.js +0 -0
  33. package/dist/components/CustomButtonModal/index.d.ts +0 -0
  34. package/dist/components/CustomButtonModal/index.interface.d.ts +0 -0
  35. package/dist/components/CustomButtonModal/index.interface.js +0 -0
  36. package/dist/components/CustomButtonModal/index.js +0 -0
  37. package/dist/components/DateTimePicker/index.d.ts +0 -0
  38. package/dist/components/DateTimePicker/index.interface.d.ts +0 -0
  39. package/dist/components/DateTimePicker/index.interface.js +0 -0
  40. package/dist/components/DateTimePicker/index.js +0 -0
  41. package/dist/components/DropDownSelect/index.d.ts +0 -0
  42. package/dist/components/DropDownSelect/index.interface.d.ts +0 -0
  43. package/dist/components/DropDownSelect/index.interface.js +0 -0
  44. package/dist/components/DropDownSelect/index.js +0 -0
  45. package/dist/components/EmptyDom/index.d.ts +0 -0
  46. package/dist/components/EmptyDom/index.interface.d.ts +0 -0
  47. package/dist/components/EmptyDom/index.interface.js +0 -0
  48. package/dist/components/EmptyDom/index.js +0 -0
  49. package/dist/components/Entry/index.d.ts +0 -0
  50. package/dist/components/Entry/index.interface.d.ts +0 -0
  51. package/dist/components/Entry/index.interface.js +0 -0
  52. package/dist/components/Entry/index.js +0 -0
  53. package/dist/components/Entry/index.scss +0 -0
  54. package/dist/components/ExportExcels/ExportExcels.scss +0 -0
  55. package/dist/components/ExportExcels/index.d.ts +0 -0
  56. package/dist/components/ExportExcels/index.interface.d.ts +0 -0
  57. package/dist/components/ExportExcels/index.interface.js +0 -0
  58. package/dist/components/ExportExcels/index.js +0 -0
  59. package/dist/components/FileUpload/fileUtil.d.ts +0 -0
  60. package/dist/components/FileUpload/fileUtil.js +0 -0
  61. package/dist/components/FileUpload/index.d.ts +0 -0
  62. package/dist/components/FileUpload/index.interface.d.ts +0 -0
  63. package/dist/components/FileUpload/index.interface.js +0 -0
  64. package/dist/components/FileUpload/index.js +0 -0
  65. package/dist/components/FileUpload/index.scss +0 -0
  66. package/dist/components/FilterRadio/index.d.ts +0 -0
  67. package/dist/components/FilterRadio/index.interface.d.ts +33 -29
  68. package/dist/components/FilterRadio/index.interface.js +0 -0
  69. package/dist/components/FilterRadio/index.js +15 -5
  70. package/dist/components/FilterRadio/index.scss +0 -0
  71. package/dist/components/MyBtn/index.d.ts +0 -0
  72. package/dist/components/MyBtn/index.interface.d.ts +0 -0
  73. package/dist/components/MyBtn/index.interface.js +0 -0
  74. package/dist/components/MyBtn/index.js +0 -0
  75. package/dist/components/NumberInput/index.d.ts +0 -0
  76. package/dist/components/NumberInput/index.interface.d.ts +0 -0
  77. package/dist/components/NumberInput/index.interface.js +0 -0
  78. package/dist/components/NumberInput/index.js +0 -0
  79. package/dist/components/NumberInput/index.scss +0 -0
  80. package/dist/components/OcrCommon/index.config.d.ts +0 -0
  81. package/dist/components/OcrCommon/index.config.js +0 -0
  82. package/dist/components/OcrCommon/index.d.ts +0 -0
  83. package/dist/components/OcrCommon/index.interface.d.ts +0 -0
  84. package/dist/components/OcrCommon/index.interface.js +0 -0
  85. package/dist/components/OcrCommon/index.js +0 -0
  86. package/dist/components/OcrCommon/index.scss +0 -0
  87. package/dist/components/PageTemplate/index.d.ts +0 -0
  88. package/dist/components/PageTemplate/index.interface.d.ts +0 -0
  89. package/dist/components/PageTemplate/index.interface.js +0 -0
  90. package/dist/components/PageTemplate/index.js +0 -0
  91. package/dist/components/PageTemplate/index.scss +0 -0
  92. package/dist/components/PageTemplate/resizable/index.d.ts +0 -0
  93. package/dist/components/PageTemplate/resizable/index.js +0 -0
  94. package/dist/components/PageTemplate/resizable/index.scss +0 -0
  95. package/dist/components/ReactEcharts/index.d.ts +0 -0
  96. package/dist/components/ReactEcharts/index.interface.d.ts +0 -0
  97. package/dist/components/ReactEcharts/index.interface.js +0 -0
  98. package/dist/components/ReactEcharts/index.js +0 -0
  99. package/dist/components/SelectMax/index.d.ts +0 -0
  100. package/dist/components/SelectMax/index.interface.d.ts +0 -0
  101. package/dist/components/SelectMax/index.interface.js +0 -0
  102. package/dist/components/SelectMax/index.js +0 -0
  103. package/dist/components/SelectPosition/index.d.ts +0 -0
  104. package/dist/components/SelectPosition/index.interface.d.ts +0 -0
  105. package/dist/components/SelectPosition/index.interface.js +0 -0
  106. package/dist/components/SelectPosition/index.js +0 -0
  107. package/dist/components/SelectPosition/index.scss +0 -0
  108. package/dist/components/SuperCascader/index.d.ts +0 -0
  109. package/dist/components/SuperCascader/index.interface.d.ts +0 -0
  110. package/dist/components/SuperCascader/index.interface.js +0 -0
  111. package/dist/components/SuperCascader/index.js +0 -0
  112. package/dist/components/SuperInput/index.d.ts +0 -0
  113. package/dist/components/SuperInput/index.interface.d.ts +0 -0
  114. package/dist/components/SuperInput/index.interface.js +0 -0
  115. package/dist/components/SuperInput/index.js +0 -0
  116. package/dist/components/TabsMode/index.d.ts +0 -0
  117. package/dist/components/TabsMode/index.interface.d.ts +0 -0
  118. package/dist/components/TabsMode/index.interface.js +0 -0
  119. package/dist/components/TabsMode/index.js +0 -0
  120. package/dist/components/TypographyText/index.d.ts +0 -0
  121. package/dist/components/TypographyText/index.interface.d.ts +0 -0
  122. package/dist/components/TypographyText/index.interface.js +0 -0
  123. package/dist/components/TypographyText/index.js +0 -0
  124. package/dist/components/TypographyText/index.scss +0 -0
  125. package/dist/components/VideoProgressModal/index.d.ts +0 -0
  126. package/dist/components/VideoProgressModal/index.interface.d.ts +0 -0
  127. package/dist/components/VideoProgressModal/index.interface.js +0 -0
  128. package/dist/components/VideoProgressModal/index.js +0 -0
  129. package/dist/components/VideoProgressModal/index.scss +0 -0
  130. package/dist/components/YLModal/index.d.ts +0 -0
  131. package/dist/components/YLModal/index.interface.d.ts +0 -0
  132. package/dist/components/YLModal/index.interface.js +0 -0
  133. package/dist/components/YLModal/index.js +0 -0
  134. package/dist/index.d.ts +0 -0
  135. package/dist/index.js +0 -0
  136. package/dist/react-app-env.d.ts +0 -0
  137. package/dist/utils/common.d.ts +0 -0
  138. package/dist/utils/common.js +0 -0
  139. package/dist/utils/index.d.ts +0 -0
  140. package/dist/utils/index.js +0 -0
  141. package/dist/utils/notificationHelper.d.ts +0 -0
  142. package/dist/utils/notificationHelper.js +0 -0
  143. package/dist/utils/responseMessage.d.ts +0 -0
  144. package/dist/utils/responseMessage.js +0 -0
  145. package/dist/utils/userSessionActions.d.ts +0 -0
  146. package/dist/utils/userSessionActions.js +0 -0
  147. package/package.json +1 -1
package/.eslintrc.js CHANGED
File without changes
package/CHANGELOG.md ADDED
@@ -0,0 +1,96 @@
1
+ ## [1.0.6](https://git.yljt.cn:522/web-module/yl_dgerm/compare/v1.0.4...v1.0.6) (2025-09-18)
2
+
3
+ ### Bug Fixes
4
+
5
+ - pageTem 默认 small ([2b426fd](https://git.yljt.cn:522/web-module/yl_dgerm/commits/2b426fdd37c9cdaf4c8f99ad624de8e8cbbd784e))
6
+ - small 列表 ([8d578db](https://git.yljt.cn:522/web-module/yl_dgerm/commits/8d578dbc675282c6f25c5743a19aa4178de49603))
7
+ - 优化列表 ([ae29e68](https://git.yljt.cn:522/web-module/yl_dgerm/commits/ae29e6850e522fe9c1716e4efe9cbe18be9e65b0))
8
+ - 优化列表 ([55bb44f](https://git.yljt.cn:522/web-module/yl_dgerm/commits/55bb44f92cb2b1b94eefcba06972476722848257))
9
+ - 优化列表页导出 ([fbd3611](https://git.yljt.cn:522/web-module/yl_dgerm/commits/fbd36117e8d1e06d76ef02b913f6c98af14814f2))
10
+ - 修复列表滚动 ([d278335](https://git.yljt.cn:522/web-module/yl_dgerm/commits/d2783359c993bc3ef1b555978818421f9d3fc1c7))
11
+ - 修改分页重置时,页码也重置; ([03b812a](https://git.yljt.cn:522/web-module/yl_dgerm/commits/03b812aa12e00a83613d81a25648b193db7ba3b9))
12
+ - 列表优化 ([def63a8](https://git.yljt.cn:522/web-module/yl_dgerm/commits/def63a8b6c6ff44935dd2e4aa137a7676f63e180))
13
+ - 列表优化 ([ff1498e](https://git.yljt.cn:522/web-module/yl_dgerm/commits/ff1498e571fe8f0c7cd4e17cbcbf92bdd6c75e6c))
14
+ - 列表优化 ([e9becfd](https://git.yljt.cn:522/web-module/yl_dgerm/commits/e9becfd61668300a4bd44bd5417e97b416f9d335))
15
+ - 列表优化 ([c193fea](https://git.yljt.cn:522/web-module/yl_dgerm/commits/c193feac375e49f4dfbe5bd21a911b20c57823c7))
16
+
17
+ ### Features
18
+
19
+ - dropdownSelect 的 Option 添加禁用方法 ([34f7440](https://git.yljt.cn:522/web-module/yl_dgerm/commits/34f7440bb43ad5ede8a15d137905d76de4a860e0))
20
+ - dropdownSelect 添加 optionProps 增加 Options 的可扩展性 ([1cb2e46](https://git.yljt.cn:522/web-module/yl_dgerm/commits/1cb2e46109f500bae7ae05c005af8c328ebc8a52))
21
+ - filterRadio 支持防抖 ([9257ca6](https://git.yljt.cn:522/web-module/yl_dgerm/commits/9257ca607e7d89380343b74ddd4aa0c01800728e))
22
+
23
+ ## [1.0.4](https://git.yljt.cn:522/web-module/yl_dgerm/compare/v1.0.3...v1.0.4) (2025-05-29)
24
+
25
+ ### Bug Fixes
26
+
27
+ - 修复 OCR 识别组件受父组件刷新影响的问题 ([6266fbe](https://git.yljt.cn:522/web-module/yl_dgerm/commits/6266fbeaf2943f42b9e5e938c755714c47838f4a))
28
+
29
+ ## [1.0.3](https://git.yljt.cn:522/web-module/yl_dgerm/compare/v1.0.0...v1.0.3) (2025-05-19)
30
+
31
+ ### Bug Fixes
32
+
33
+ - 修复 pagetem 分页参数 ([2afa5b9](https://git.yljt.cn:522/web-module/yl_dgerm/commits/2afa5b99966c1faca007aa486aca86a1759fe3a2))
34
+ - 自定义 modal 弹窗样式,oss 上传组件优化 ([06e8a8f](https://git.yljt.cn:522/web-module/yl_dgerm/commits/06e8a8fb354b73698643ac0b67523a48cd5bcda2))
35
+
36
+ # [1.0.0](https://git.yljt.cn:522/web-module/yl_dgerm/compare/v0.0.1-alpha.47...v1.0.0) (2025-03-06)
37
+
38
+ ### Features
39
+
40
+ - 时间组件添加 showTime 判断,用来兼容 showTime === false 的情况 ([c365fc3](https://git.yljt.cn:522/web-module/yl_dgerm/commits/c365fc350bb7154bdebd7dc1ab69bccd5a8f5c7b))
41
+
42
+ ## [0.0.1-alpha.47](https://git.yljt.cn:522/web-module/yl_dgerm/compare/v0.0.1-alpha.39...v0.0.1-alpha.47) (2025-02-25)
43
+
44
+ ### Features
45
+
46
+ - YLModal 拖拽方案修改 ([4d0135](https://git.yljt.cn/web-module/yl_dgerm/-/commit/4d0135edc8bbf1acff4c66d6ebff3d9f7f1fc0f7))
47
+
48
+ ### Bug Fixes
49
+
50
+ - 修复 DropDownSelect 组件 ([40cf036](https://git.yljt.cn:522/web-module/yl_dgerm/commits/40cf03694b74d59e863e561830e10045074c49c7))
51
+
52
+ ## [0.0.1-alpha.39](https://git.yljt.cn:522/web-module/yl_dgerm/compare/eced17d51f298c04b61797eaea829549ed2c4bfa...v0.0.1-alpha.39) (2024-12-04)
53
+
54
+ ### Bug Fixes
55
+
56
+ - 版本修改 ([db121a2](https://git.yljt.cn:522/web-module/yl_dgerm/commits/db121a29a55e964bd8c2f54e74b51dd9961f93a8))
57
+ - 变量名称优化 ([3efe62f](https://git.yljt.cn:522/web-module/yl_dgerm/commits/3efe62f5037660137e01e2ad00b48345c93998d7))
58
+ - 封装 ocr 通用组件 ([de37c47](https://git.yljt.cn:522/web-module/yl_dgerm/commits/de37c476c1c70f3b17a264260c887342c0942095))
59
+ - 更新版本号 ([bb49068](https://git.yljt.cn:522/web-module/yl_dgerm/commits/bb49068c4aec1a75a095b5cbbc84885237fc6305))
60
+ - 更新版本号 ([22008e6](https://git.yljt.cn:522/web-module/yl_dgerm/commits/22008e6823a236515e88ff587ba998c23d0ea446))
61
+ - 清空粘贴板 ([0a38d1e](https://git.yljt.cn:522/web-module/yl_dgerm/commits/0a38d1ef8f9df314e68aff6265a9d4707a5ed152))
62
+ - 删除 html ([8bececc](https://git.yljt.cn:522/web-module/yl_dgerm/commits/8bececc59c80b0e98841f29f197896a95391fe60))
63
+ - 删除 jest ([bdbd693](https://git.yljt.cn:522/web-module/yl_dgerm/commits/bdbd693aa37c48f46310f94796ad51ac14c4b389))
64
+ - 文档维护 ([bd96292](https://git.yljt.cn:522/web-module/yl_dgerm/commits/bd9629247a451d22ca708cb9c6ca21026cfc9235))
65
+ - 文档维护 ([0794420](https://git.yljt.cn:522/web-module/yl_dgerm/commits/0794420b9fff50e5e497a49bcab898d61556bd9d))
66
+ - 文档维护 ([9503527](https://git.yljt.cn:522/web-module/yl_dgerm/commits/95035277799162ccb76fcaa82d877760114cf1da))
67
+ - 文档维护 ([e4d15d4](https://git.yljt.cn:522/web-module/yl_dgerm/commits/e4d15d4e86cfa79be49a46d7175adf59e9bbe2ca))
68
+ - 文档维护 ([303a5b6](https://git.yljt.cn:522/web-module/yl_dgerm/commits/303a5b60aef5b62463e95ca1ad62fa9f5699e072))
69
+ - 文档维护 ([b695706](https://git.yljt.cn:522/web-module/yl_dgerm/commits/b695706fd17290320f0b797b413612a617acc386))
70
+ - 文档维护 ([95dc2da](https://git.yljt.cn:522/web-module/yl_dgerm/commits/95dc2dae2d23e7141216ebd2bb86a33bac8099c8))
71
+ - 文档维护 ([5523d28](https://git.yljt.cn:522/web-module/yl_dgerm/commits/5523d28f00a8527a131a409ea3fd23a8fa5f8b05))
72
+ - 文档维护 ([8418bc2](https://git.yljt.cn:522/web-module/yl_dgerm/commits/8418bc288628080a93cfd504b11ac91505527573))
73
+ - 文档维护 ([0ca0a06](https://git.yljt.cn:522/web-module/yl_dgerm/commits/0ca0a06cce9c842b5f8b8a6e77883ae07c8d9d18))
74
+ - 文档维护 ([6303e90](https://git.yljt.cn:522/web-module/yl_dgerm/commits/6303e90100ea4cb545a3dfdbc591b0af74e6c124))
75
+ - 新版 ocr ([466896c](https://git.yljt.cn:522/web-module/yl_dgerm/commits/466896cbd5cdf8e67d66a3a6bdbdd8ab6f3bb5d9))
76
+ - 修复 ocr ([b5e1e6d](https://git.yljt.cn:522/web-module/yl_dgerm/commits/b5e1e6d3b4b456f674d49f653695ff976e52bf9c))
77
+ - 修复 ocr ([873297b](https://git.yljt.cn:522/web-module/yl_dgerm/commits/873297bd74ce73baebd33b9e5131ec36a1789646))
78
+ - 修复 ocr 样式 ([a5e2805](https://git.yljt.cn:522/web-module/yl_dgerm/commits/a5e2805007f0746918a9c0788c05221e9209e425))
79
+ - 修改版本号 ([7979da1](https://git.yljt.cn:522/web-module/yl_dgerm/commits/7979da1e60320e2c4ac393976986dfb8c01a168c))
80
+ - 修改名称 ([77d7d7d](https://git.yljt.cn:522/web-module/yl_dgerm/commits/77d7d7d174b79913b421208bb3e3408a5b61494a))
81
+ - 修改配置文件 ([3f1b7fa](https://git.yljt.cn:522/web-module/yl_dgerm/commits/3f1b7fa71c46fa09fe61b398429887aec356728d))
82
+ - 修改 favicon ([eced17d](https://git.yljt.cn:522/web-module/yl_dgerm/commits/eced17d51f298c04b61797eaea829549ed2c4bfa))
83
+ - 引入 jest 测试单元 ([9da3ee1](https://git.yljt.cn:522/web-module/yl_dgerm/commits/9da3ee178c7d2665b8da6dc61754e2fade1da02b))
84
+ - 组件梳理 ([8148b07](https://git.yljt.cn:522/web-module/yl_dgerm/commits/8148b07d054339c9b381eeba0a5554fc783dc8b3))
85
+ - config 配置 ([5615a1c](https://git.yljt.cn:522/web-module/yl_dgerm/commits/5615a1c763a6b834abefa8dcd29bb5e9debcbffb))
86
+ - config 配置 ([2504b67](https://git.yljt.cn:522/web-module/yl_dgerm/commits/2504b678703d5fc1bb679f949a348d6b5090da2f))
87
+ - config 配置 ([6f44588](https://git.yljt.cn:522/web-module/yl_dgerm/commits/6f44588e05fcd808c069e0f26e4c6e1da2923c89))
88
+ - jsdom 降版本 ([e37a38c](https://git.yljt.cn:522/web-module/yl_dgerm/commits/e37a38c4ff90f4ed24f52aaf0b3f5265e10f1ccc))
89
+ - jsdom 降版本 ([0b9dd48](https://git.yljt.cn:522/web-module/yl_dgerm/commits/0b9dd4871c5aff303c8c3eb1bb2e2da794861b76))
90
+ - jsdom 降版本 ([23d8f01](https://git.yljt.cn:522/web-module/yl_dgerm/commits/23d8f0188014fcee865396aaf665d06ede41929a))
91
+ - ocr 添加依赖 ([d23cd95](https://git.yljt.cn:522/web-module/yl_dgerm/commits/d23cd95f033fbd9ff4659e481136f87d0f5dbd8f))
92
+ - ocr 通用组件增加请求回调勾子 ([99951c9](https://git.yljt.cn:522/web-module/yl_dgerm/commits/99951c945fee863200909e135bead9e8110ca1bf))
93
+ - ocr 修复 ([42264e7](https://git.yljt.cn:522/web-module/yl_dgerm/commits/42264e76c39d9c1490d086b7a7b751edb6f7143c))
94
+ - test-library 降版本 ([1f93a8c](https://git.yljt.cn:522/web-module/yl_dgerm/commits/1f93a8caabe91943f534f19c3514bc3bae7951cb))
95
+ - test-library 降版本 ([03a5423](https://git.yljt.cn:522/web-module/yl_dgerm/commits/03a542314ce9736ec5a0faa8f0ee42243395e56f))
96
+ - title 文案修复 ([ed69177](https://git.yljt.cn:522/web-module/yl_dgerm/commits/ed69177cc96b63bc7a3bdeff483aa5a946f285dd))
package/LICENSE CHANGED
File without changes
package/README.md CHANGED
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -1,60 +1,64 @@
1
- import { SizeType } from "antd/es/config-provider/SizeContext";
1
+ import { SizeType } from 'antd/es/config-provider/SizeContext';
2
2
  export interface FilterRadioProps {
3
3
  /**
4
- * @description key
5
- * @default key
6
- */
4
+ * @description key
5
+ * @default key
6
+ */
7
7
  key: string;
8
8
  /**
9
- * @description 是否有全选
10
- */
9
+ * @description 是否有全选
10
+ */
11
11
  all: string | undefined;
12
12
  /**
13
- * @description 是选项列表
14
- * @default []
15
- */
13
+ * @description 是选项列表
14
+ * @default []
15
+ */
16
16
  list: {
17
17
  id: string | number;
18
18
  name: string;
19
19
  }[];
20
20
  /**
21
- * @description showMore
22
- * @default showMore
23
- */
21
+ * @description showMore
22
+ * @default showMore
23
+ */
24
24
  showMore?: boolean;
25
25
  /**
26
- * @description name
27
- */
26
+ * @description name
27
+ */
28
28
  name?: '';
29
29
  /**
30
- * @description label
31
- */
30
+ * @description label
31
+ */
32
32
  label?: string;
33
33
  /**
34
- * @description 表单配置
35
- */
34
+ * @description 表单配置
35
+ */
36
36
  options: FilterRadioOptions;
37
37
  /**
38
- * @description 重置
39
- */
38
+ * @description 重置
39
+ */
40
40
  reset: boolean;
41
41
  /**
42
- * @description 组件尺寸: large | middle | small
43
- */
42
+ * @description 组件尺寸: large | middle | small
43
+ */
44
44
  size?: SizeType;
45
45
  /**
46
- * @description defaultValue
47
- * @default defaultValue
48
- */
46
+ * @description defaultValue
47
+ * @default defaultValue
48
+ */
49
49
  defaultValue?: string | undefined;
50
50
  /**
51
- * @description 传入配置:all 、 list
52
- */
51
+ * @description 传入配置:all 、 list
52
+ */
53
53
  componentOptions: any;
54
54
  /**
55
- * @description 反馈方法
56
- */
55
+ * @description 反馈方法
56
+ */
57
57
  updateCallback: () => void;
58
+ /**
59
+ * 防抖时间
60
+ */
61
+ debounceTime?: number;
58
62
  }
59
63
  export interface FilterRadioOptions {
60
64
  key: string;
File without changes
@@ -4,10 +4,10 @@ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o =
4
4
  function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
5
5
  function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
6
6
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
7
- import { useState, useEffect } from 'react';
8
- import { Form, Radio, DatePicker } from 'antd';
7
+ import { DatePicker, Form, Radio } from 'antd';
9
8
  import dayjs from 'dayjs';
10
- import React from 'react';
9
+ import debounce from 'lodash/debounce';
10
+ import React, { useEffect, useMemo, useState } from 'react';
11
11
  import "./index.scss";
12
12
  var RangePicker = DatePicker.RangePicker;
13
13
  var FilterRadio = function FilterRadio(props) {
@@ -19,7 +19,8 @@ var FilterRadio = function FilterRadio(props) {
19
19
  all = props.all,
20
20
  options = props.options,
21
21
  reset = props.reset,
22
- defaultValue = props.defaultValue;
22
+ defaultValue = props.defaultValue,
23
+ debounceTime = props.debounceTime;
23
24
  var key = options.key;
24
25
  var _useState = useState(''),
25
26
  _useState2 = _slicedToArray(_useState, 2),
@@ -30,13 +31,22 @@ var FilterRadio = function FilterRadio(props) {
30
31
  useEffect(function () {
31
32
  setTimeValue('');
32
33
  }, [reset]);
34
+ var debounceUpdateCallback = useMemo(function () {
35
+ return debounce(function () {
36
+ updateCallback();
37
+ }, debounceTime);
38
+ }, [updateCallback]);
33
39
 
34
40
  // 改变选项
35
41
  var handleChangeRadio = function handleChangeRadio(e) {
36
42
  if (key === 'timeType') {
37
43
  setTimeValue(e.target.value);
38
44
  }
39
- updateCallback();
45
+ if (debounceTime) {
46
+ debounceUpdateCallback();
47
+ } else {
48
+ updateCallback();
49
+ }
40
50
  };
41
51
  return /*#__PURE__*/React.createElement("div", {
42
52
  className: "radioInfos"
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
package/dist/index.d.ts CHANGED
File without changes
package/dist/index.js CHANGED
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yilianjituan/yilian_dgerm",
3
- "version": "1.0.5-alpha.9",
3
+ "version": "1.0.6",
4
4
  "description": "A react library developed with dumi",
5
5
  "keywords": [
6
6
  "React",