@yilianjituan/yilian_dgerm 1.0.5 → 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 +36 -32
  43. package/dist/components/DropDownSelect/index.interface.js +0 -0
  44. package/dist/components/DropDownSelect/index.js +4 -3
  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 +3 -1
  89. package/dist/components/PageTemplate/index.interface.js +0 -0
  90. package/dist/components/PageTemplate/index.js +22 -15
  91. package/dist/components/PageTemplate/index.scss +0 -0
  92. package/dist/components/PageTemplate/resizable/index.d.ts +10 -10
  93. package/dist/components/PageTemplate/resizable/index.js +19 -18
  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 +1 -0
  122. package/dist/components/TypographyText/index.interface.js +0 -0
  123. package/dist/components/TypographyText/index.js +5 -3
  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
@@ -1,76 +1,80 @@
1
1
  /// <reference types="react" />
2
- import { SelectProps } from "antd";
2
+ import { SelectProps } from 'antd';
3
3
  export interface OptionItem {
4
4
  /**
5
5
  * @description 用于key
6
6
  */
7
7
  id: string;
8
8
  /**
9
- * @description 获取或者回填的值结构
10
- */
9
+ * @description 获取或者回填的值结构
10
+ */
11
11
  value: (item: any) => string;
12
12
  /**
13
- * @description list展示项
14
- */
13
+ * @description list展示项
14
+ */
15
15
  lable: (item: any) => string | React.ReactNode;
16
+ /**
17
+ * @description 选项的额外属性
18
+ */
19
+ optionProps?: (item: any) => any;
16
20
  }
17
21
  export interface DropDownSelectProps extends SelectProps {
18
22
  /**
19
- * @description http请求
20
- */
23
+ * @description http请求
24
+ */
21
25
  http: any;
22
26
  /**
23
- * @description 需要查询的接口
24
- */
27
+ * @description 需要查询的接口
28
+ */
25
29
  url: string;
26
30
  /**
27
- * @description http方法
28
- * @default get
29
- */
31
+ * @description http方法
32
+ * @default get
33
+ */
30
34
  method?: string;
31
35
  /**
32
- * @description 选择后的回调,参数是传入的value
33
- */
36
+ * @description 选择后的回调,参数是传入的value
37
+ */
34
38
  handleSelect?: (value: string, option?: any) => void;
35
39
  /**
36
- * @description 需要展示的和传出去的值
37
- */
40
+ * @description 需要展示的和传出去的值
41
+ */
38
42
  showValue: OptionItem;
39
43
  /**
40
- * @description 是否开启搜索查询
41
- */
44
+ * @description 是否开启搜索查询
45
+ */
42
46
  customInput?: boolean;
43
47
  /**
44
- * @description 输入搜索时的参数名
45
- */
48
+ * @description 输入搜索时的参数名
49
+ */
46
50
  searchValue?: string;
47
51
  /**
48
- * @description 选择模式
49
- */
52
+ * @description 选择模式
53
+ */
50
54
  mode?: 'multiple' | 'tags' | undefined;
51
55
  /**
52
- * @description 额外需要传入的字段
53
- */
56
+ * @description 额外需要传入的字段
57
+ */
54
58
  additionalParameters?: any;
55
59
  /**
56
- * @description 处理options的回调
57
- */
60
+ * @description 处理options的回调
61
+ */
58
62
  filterOptionsCallback?: (opt: any) => void;
59
63
  /**
60
- * @description 选择变化的回调
61
- */
64
+ * @description 选择变化的回调
65
+ */
62
66
  onChange?: (value: any) => void;
63
67
  /**
64
- * @description 动态参数,执行查询需要执行之前处理的参数
65
- */
68
+ * @description 动态参数,执行查询需要执行之前处理的参数
69
+ */
66
70
  dynamicParameter?: any;
67
71
  /**
68
72
  * @description 动态参数,处理动态参数的方法
69
73
  */
70
74
  beforeSearch?: (params: any) => void;
71
75
  /**
72
- * @description 是否开启搜索查询
73
- */
76
+ * @description 是否开启搜索查询
77
+ */
74
78
  changeNoSearch?: boolean;
75
79
  /**
76
80
  * @description 是否初始化搜索
File without changes
@@ -50,7 +50,8 @@ var Index = function Index(props) {
50
50
  prop = _objectWithoutProperties(props, _excluded);
51
51
  var id = showValue.id,
52
52
  value = showValue.value,
53
- lable = showValue.lable;
53
+ lable = showValue.lable,
54
+ optionProps = showValue.optionProps;
54
55
  var _useState = useState([]),
55
56
  _useState2 = _slicedToArray(_useState, 2),
56
57
  storeList = _useState2[0],
@@ -210,10 +211,10 @@ var Index = function Index(props) {
210
211
  })));
211
212
  };
212
213
  var options = storeList.map(function (item) {
213
- return /*#__PURE__*/React.createElement(Option, {
214
+ return /*#__PURE__*/React.createElement(Option, _extends({
214
215
  key: item[id],
215
216
  value: value(item)
216
- }, lable(item));
217
+ }, optionProps === null || optionProps === void 0 ? void 0 : optionProps(item)), lable(item));
217
218
  });
218
219
  var commonProps = _objectSpread(_objectSpread({}, prop), {}, {
219
220
  mode: mode,
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
@@ -1,6 +1,8 @@
1
1
  import { ReactNode } from 'react';
2
2
  import { MethodEnum } from '../../commonType/globalEnum';
3
3
  export interface IPageTemPropsData {
4
+ initialValues?: any;
5
+ formProps?: any;
4
6
  http: any;
5
7
  ref?: any;
6
8
  rowKey?: string;
@@ -37,7 +39,7 @@ export interface IPageTemPropsData {
37
39
  }
38
40
  export interface IColumnsProps {
39
41
  title: string;
40
- dataIndex?: string;
42
+ dataIndex?: any;
41
43
  render?: typeEmptyFunc | ((text: string | number, record: any, index: string | number) => any);
42
44
  [name: string]: typeEmptyFunc | string | boolean | undefined | number | any;
43
45
  }
File without changes
@@ -37,7 +37,7 @@ import "./index.scss";
37
37
  var FormItem = Form.Item;
38
38
  var RangePicker = DatePicker.RangePicker;
39
39
  var PageTemplate = function PageTemplate(props, ref) {
40
- var _document$querySelect3;
40
+ var _document$querySelect3, _tableProps$scroll, _tableProps$scroll2;
41
41
  var _Form$useForm = Form.useForm(),
42
42
  _Form$useForm2 = _slicedToArray(_Form$useForm, 1),
43
43
  form = _Form$useForm2[0];
@@ -56,7 +56,11 @@ var PageTemplate = function PageTemplate(props, ref) {
56
56
  exportApi = props.exportApi,
57
57
  _props$isScroll = props.isScroll,
58
58
  isScroll = _props$isScroll === void 0 ? true : _props$isScroll,
59
- buttonTheme = props.buttonTheme;
59
+ buttonTheme = props.buttonTheme,
60
+ _props$initialValues = props.initialValues,
61
+ initialValues = _props$initialValues === void 0 ? {} : _props$initialValues,
62
+ _props$formProps = props.formProps,
63
+ formProps = _props$formProps === void 0 ? {} : _props$formProps;
60
64
  var _useState = useState([]),
61
65
  _useState2 = _slicedToArray(_useState, 2),
62
66
  dataSource = _useState2[0],
@@ -152,7 +156,7 @@ var PageTemplate = function PageTemplate(props, ref) {
152
156
  key: 'rowIndex',
153
157
  align: 'center',
154
158
  fixed: 'left',
155
- minWidth: 70,
159
+ width: 70,
156
160
  ellipsis: {
157
161
  showTitle: false
158
162
  },
@@ -164,8 +168,9 @@ var PageTemplate = function PageTemplate(props, ref) {
164
168
  }
165
169
  _columns = _columns.map(function (item) {
166
170
  return _objectSpread(_objectSpread({}, item), {}, {
167
- minWidth: item.minWidth || item.title.length * 20 + 20,
168
- ellipsis: item.ellipsis || true,
171
+ minWidth: ['index', 'rowIndex'].includes(item.key) || ['index', 'rowIndex'].includes(item.dataIndex) ? undefined : item.minWidth || item.title.length * 20 + 20,
172
+ width: ['index', 'rowIndex'].includes(item.key) || ['index', 'rowIndex'].includes(item.dataIndex) ? 70 : item.width,
173
+ ellipsis: ['index', 'rowIndex'].includes(item.key) || ['index', 'rowIndex'].includes(item.dataIndex) ? false : typeof item.ellipsis === 'boolean' ? item.ellipsis : true,
169
174
  align: item.align || 'center',
170
175
  fixed: item.fixed || (['action', 'operation', 'handle', 'handle_box'].includes(item.dataIndex) ? 'right' : ['rowIndex'].includes(item.key) ? 'left' : undefined)
171
176
  });
@@ -256,9 +261,10 @@ var PageTemplate = function PageTemplate(props, ref) {
256
261
  setReset(function (prevState) {
257
262
  return !prevState;
258
263
  });
259
-
260
264
  // 重置后默认查询
261
265
  setTimeout(function () {
266
+ var pageSize = props.pageSize;
267
+ pageSizeRef.current = pageSize || 20;
262
268
  _onSearch();
263
269
  });
264
270
  };
@@ -383,12 +389,13 @@ var PageTemplate = function PageTemplate(props, ref) {
383
389
  return 'actions';
384
390
  }
385
391
  };
386
- return /*#__PURE__*/React.createElement(Form, {
392
+ return /*#__PURE__*/React.createElement(Form, _extends({
387
393
  layout: "inline",
388
394
  form: form,
389
395
  onFinish: beforeSearch,
390
- autoComplete: "off"
391
- }, /*#__PURE__*/React.createElement("div", {
396
+ autoComplete: "off",
397
+ initialValues: initialValues
398
+ }, formProps), /*#__PURE__*/React.createElement("div", {
392
399
  className: "filter-container"
393
400
  }, /*#__PURE__*/React.createElement("div", {
394
401
  className: "filter-box filter-box-base"
@@ -449,16 +456,16 @@ var PageTemplate = function PageTemplate(props, ref) {
449
456
  style: {
450
457
  marginTop: 10
451
458
  },
452
- scroll: {
453
- x: 1500,
454
- y: tableHeight || undefined
455
- },
456
459
  bordered: true,
457
460
  dataSource: dataSource,
458
- size: "small"
459
- }, tableProps, {
461
+ size: "small",
460
462
  columns: columns,
461
463
  tableLayout: (tableProps === null || tableProps === void 0 ? void 0 : tableProps.tableLayout) || 'auto'
464
+ }, tableProps, {
465
+ scroll: {
466
+ x: dataSource.length > 0 ? (tableProps === null || tableProps === void 0 || (_tableProps$scroll = tableProps.scroll) === null || _tableProps$scroll === void 0 ? void 0 : _tableProps$scroll.x) || 'max-content' : 1500,
467
+ y: dataSource.length > 0 ? (tableProps === null || tableProps === void 0 || (_tableProps$scroll2 = tableProps.scroll) === null || _tableProps$scroll2 === void 0 ? void 0 : _tableProps$scroll2.y) || 'max-content' : 1500
468
+ }
462
469
  // components={{ header: { cell: ResizableTitle } }}
463
470
  // columns={mergedColumns(columns, tableRef, (_columns) =>
464
471
  // setColumns(_columns),
File without changes
@@ -10,16 +10,16 @@ interface TitlePropsType {
10
10
  isEnd?: boolean;
11
11
  }
12
12
  /**
13
- * 设置表格列宽的初始化值
14
- * ^判断初始columns中设置的width是否为number
15
- * ^使用ref获取所有的列宽,存储在widthsList,如果width不为number,则取获取的dom宽或者默认为150
16
- *
17
- * @param columns - 初始化的columns.
18
- * @param tableRef - table外层的div的ref,用于获取table的dom的列宽.
19
- * @param newColumnsVoid - callback,传出新的columns.
20
- * @return 给columns里的增加onResize属性,用于在Resizable进行控制.
21
- */
13
+ * 设置表格列宽的初始化值
14
+ * ^判断初始columns中设置的width是否为number
15
+ * ^使用ref获取所有的列宽,存储在widthsList,如果width不为number,则取获取的dom宽或者默认为150
16
+ *
17
+ * @param columns - 初始化的columns.
18
+ * @param tableRef - table外层的div的ref,用于获取table的dom的列宽.
19
+ * @param newColumnsVoid - callback,传出新的columns.
20
+ * @return 给columns里的增加onResize属性,用于在Resizable进行控制.
21
+ */
22
22
  declare const mergedColumns: (columns: TableColumnsType<DataType>, tableRef: RefObject<HTMLDivElement>, newColumnsVoid: (columns: any) => void) => (import("antd").TableColumnGroupType<DataType> | import("antd").TableColumnType<DataType>)[];
23
23
  declare const ResizableTitle: React.FC<Readonly<React.HTMLAttributes<HTMLTableCellElement> & TitlePropsType>>;
24
24
  declare const CustomTable: React.FC<TableProps<any>>;
25
- export { mergedColumns, ResizableTitle, CustomTable };
25
+ export { CustomTable, mergedColumns, ResizableTitle };
@@ -59,15 +59,15 @@ var handleResize = function handleResize(index, columns, newColumnsVoid) {
59
59
  };
60
60
  };
61
61
  /**
62
- * 设置表格列宽的初始化值
63
- * ^判断初始columns中设置的width是否为number
64
- * ^使用ref获取所有的列宽,存储在widthsList,如果width不为number,则取获取的dom宽或者默认为150
65
- *
66
- * @param columns - 初始化的columns.
67
- * @param tableRef - table外层的div的ref,用于获取table的dom的列宽.
68
- * @param newColumnsVoid - callback,传出新的columns.
69
- * @return 给columns里的增加onResize属性,用于在Resizable进行控制.
70
- */
62
+ * 设置表格列宽的初始化值
63
+ * ^判断初始columns中设置的width是否为number
64
+ * ^使用ref获取所有的列宽,存储在widthsList,如果width不为number,则取获取的dom宽或者默认为150
65
+ *
66
+ * @param columns - 初始化的columns.
67
+ * @param tableRef - table外层的div的ref,用于获取table的dom的列宽.
68
+ * @param newColumnsVoid - callback,传出新的columns.
69
+ * @return 给columns里的增加onResize属性,用于在Resizable进行控制.
70
+ */
71
71
  var mergedColumns = function mergedColumns(columns, tableRef, newColumnsVoid) {
72
72
  if (!columns || columns.length === 0) {
73
73
  return []; // 处理columns为空或长度为0的情况
@@ -159,7 +159,7 @@ var ResizableTitle = function ResizableTitle(props) {
159
159
  }, /*#__PURE__*/React.createElement("th", restProps));
160
160
  };
161
161
  var CustomTable = function CustomTable(props) {
162
- var _document$querySelect3;
162
+ var _document$querySelect3, _restProps$scroll, _restProps$scroll2;
163
163
  var components = props.components,
164
164
  columns = props.columns,
165
165
  dataSource = props.dataSource,
@@ -188,8 +188,9 @@ var CustomTable = function CustomTable(props) {
188
188
  var _columns = _toConsumableArray(columns);
189
189
  _columns = _columns.map(function (item) {
190
190
  return _objectSpread(_objectSpread({}, item), {}, {
191
- minWidth: item.minWidth || item.title.length * 20 + 20,
192
- ellipsis: item.ellipsis || true,
191
+ minWidth: ['index', 'rowIndex'].includes(item.key) || ['index', 'rowIndex'].includes(item.dataIndex) ? undefined : item.minWidth || item.title.length * 20 + 20,
192
+ width: ['index', 'rowIndex'].includes(item.key) || ['index', 'rowIndex'].includes(item.dataIndex) ? 70 : item.width,
193
+ ellipsis: ['index', 'rowIndex'].includes(item.key) || ['index', 'rowIndex'].includes(item.dataIndex) ? false : typeof item.ellipsis === 'boolean' ? item.ellipsis : true,
193
194
  align: item.align || 'center',
194
195
  fixed: item.fixed || (['action', 'operation', 'handle', 'handle_box'].includes(item.dataIndex) ? 'right' : ['rowIndex'].includes(item.key) ? 'left' : undefined)
195
196
  });
@@ -206,11 +207,6 @@ var CustomTable = function CustomTable(props) {
206
207
  ref: tableRef
207
208
  }, /*#__PURE__*/React.createElement(Table, _extends({
208
209
  size: "small"
209
- }, restProps, {
210
- scroll: {
211
- x: 1500,
212
- y: tableHeight || undefined
213
- }
214
210
  // columns={mergedColumns(column as any, tableRef, (_columns) => setColumn(_columns as any)) as any}
215
211
  ,
216
212
  columns: column
@@ -219,6 +215,11 @@ var CustomTable = function CustomTable(props) {
219
215
  components: components,
220
216
  dataSource: dataSource || [],
221
217
  tableLayout: tableLayout || 'auto'
218
+ }, restProps, {
219
+ scroll: {
220
+ x: dataSource && dataSource.length > 0 ? (restProps === null || restProps === void 0 || (_restProps$scroll = restProps.scroll) === null || _restProps$scroll === void 0 ? void 0 : _restProps$scroll.x) || 'max-content' : 1500,
221
+ y: dataSource && dataSource.length > 0 ? (restProps === null || restProps === void 0 || (_restProps$scroll2 = restProps.scroll) === null || _restProps$scroll2 === void 0 ? void 0 : _restProps$scroll2.y) || 'max-content' : 1500
222
+ }
222
223
  })));
223
224
  };
224
- export { mergedColumns, ResizableTitle, CustomTable };
225
+ export { CustomTable, mergedColumns, ResizableTitle };
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,5 +1,6 @@
1
1
  import { ReactNode } from 'react';
2
2
  export interface IndexProps {
3
+ className?: string;
3
4
  text: string;
4
5
  rows?: number;
5
6
  copy?: boolean;
File without changes
@@ -1,5 +1,5 @@
1
1
  function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
2
- var _excluded = ["text", "rows", "copy", "type", "expandable", "ellipsis"];
2
+ var _excluded = ["className", "text", "rows", "copy", "type", "expandable", "ellipsis"];
3
3
  function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
4
4
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
5
5
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
@@ -21,7 +21,8 @@ import "./index.scss";
21
21
  // 参考antd的Typography,只能用与Paragraph
22
22
  /// 如果需要自定义,则手动传入ellipsis,会覆盖默认值
23
23
  var Index = function Index(props) {
24
- var text = props.text,
24
+ var className = props.className,
25
+ text = props.text,
25
26
  _props$rows = props.rows,
26
27
  rows = _props$rows === void 0 ? 1 : _props$rows,
27
28
  _props$copy = props.copy,
@@ -41,7 +42,7 @@ var Index = function Index(props) {
41
42
  var textRender = function textRender() {
42
43
  return /*#__PURE__*/React.createElement(Typography.Paragraph, _extends({
43
44
  // rows = 1时,需要自行设置css,否则会默认全部展示
44
- className: rows === 1 && !expanded && !expandable ? 'custom_Typography_row1' : '',
45
+ className: "".concat(rows === 1 && !expanded && !expandable ? 'custom_Typography_row1' : '', " ").concat(className || ''),
45
46
  style: {
46
47
  marginBottom: 0,
47
48
  color: '#000000'
@@ -62,6 +63,7 @@ var Index = function Index(props) {
62
63
  }, rest), /*#__PURE__*/React.createElement(React.Fragment, null, text || ''));
63
64
  };
64
65
  return /*#__PURE__*/React.createElement(React.Fragment, null, !expanded ? /*#__PURE__*/React.createElement(Tooltip, {
66
+ className: "".concat(className || ''),
65
67
  title: text
66
68
  }, textRender()) : /*#__PURE__*/React.createElement(React.Fragment, null, textRender()));
67
69
  };
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",
3
+ "version": "1.0.6",
4
4
  "description": "A react library developed with dumi",
5
5
  "keywords": [
6
6
  "React",