assui 2.3.5 → 2.3.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 (261) hide show
  1. package/es/a-select/index.d.ts +11 -0
  2. package/es/a-select/style/index.d.ts +2 -0
  3. package/es/area-text/index.d.ts +7 -0
  4. package/es/area-text/style/index.d.ts +1 -0
  5. package/es/beautiful-dnd/index.d.ts +2 -0
  6. package/es/beautiful-dnd/style/index.d.ts +1 -0
  7. package/es/button-drawer/index.d.ts +14 -0
  8. package/es/button-drawer/index.js +1 -1
  9. package/es/button-drawer/style/index.d.ts +1 -0
  10. package/es/button-modal/index.d.ts +14 -0
  11. package/es/button-modal/index.js +1 -1
  12. package/es/button-modal/style/index.d.ts +1 -0
  13. package/es/color-select/index.d.ts +23 -0
  14. package/es/color-select/style/index.d.ts +2 -0
  15. package/es/condition-input/index.d.ts +17 -0
  16. package/es/condition-input/parse2RegexOption.d.ts +13 -0
  17. package/es/condition-input/style/index.d.ts +1 -0
  18. package/es/config-provider/context.d.ts +4 -0
  19. package/es/config-provider/index.d.ts +8 -0
  20. package/es/config-provider/style/index.d.ts +1 -0
  21. package/es/copy-to-clipboard/index.d.ts +22 -0
  22. package/es/copy-to-clipboard/index.js +1 -1
  23. package/es/copy-to-clipboard/style/index.d.ts +1 -0
  24. package/es/highlight-textarea/HighlighedContents.d.ts +7 -0
  25. package/es/highlight-textarea/extractSpansOfClasses.d.ts +15 -0
  26. package/es/highlight-textarea/getRanges.d.ts +2 -0
  27. package/es/highlight-textarea/getType.d.ts +2 -0
  28. package/es/highlight-textarea/index.d.ts +12 -0
  29. package/es/highlight-textarea/style/index.css +3 -7
  30. package/es/highlight-textarea/style/index.d.ts +1 -0
  31. package/es/highlight-textarea/types.d.ts +16 -0
  32. package/es/highlight-words/index.d.ts +3 -0
  33. package/es/highlight-words/style/index.d.ts +1 -0
  34. package/es/img-crop/EasyCrop.d.ts +6 -0
  35. package/es/img-crop/getCroppedImg.d.ts +6 -0
  36. package/es/img-crop/index.d.ts +53 -0
  37. package/es/img-crop/index.js +1 -1
  38. package/es/img-crop/style/index.d.ts +3 -0
  39. package/es/index.d.ts +72 -0
  40. package/es/json-editor/index.d.ts +10 -0
  41. package/es/json-editor/style/index.d.ts +2 -0
  42. package/es/keep-tab/index.d.ts +29 -0
  43. package/es/keep-tab/index.js +26 -25
  44. package/es/keep-tab/style/index.css +6 -29
  45. package/es/keep-tab/style/index.d.ts +2 -0
  46. package/es/label-auto-complete/index.d.ts +8 -0
  47. package/es/label-auto-complete/style/index.d.ts +2 -0
  48. package/es/label-condition-input/index.d.ts +16 -0
  49. package/es/label-condition-input/style/index.d.ts +1 -0
  50. package/es/label-customize-range-picker/defaultRadioList.d.ts +25 -0
  51. package/es/label-customize-range-picker/index.d.ts +20 -0
  52. package/es/label-customize-range-picker/style/index.d.ts +5 -0
  53. package/es/label-customize-range-picker/utils/index.d.ts +2 -0
  54. package/es/label-date-picker/index.d.ts +7 -0
  55. package/es/label-date-picker/style/index.d.ts +2 -0
  56. package/es/label-input/index.d.ts +29 -0
  57. package/es/label-input/style/index.d.ts +1 -0
  58. package/es/label-number-input/index.d.ts +12 -0
  59. package/es/label-number-input/style/index.d.ts +1 -0
  60. package/es/label-range-picker/index.d.ts +8 -0
  61. package/es/label-range-picker/style/index.d.ts +2 -0
  62. package/es/label-select/index.d.ts +12 -0
  63. package/es/label-select/style/index.d.ts +2 -0
  64. package/es/label-text-area/index.d.ts +21 -0
  65. package/es/label-text-area/style/index.d.ts +1 -0
  66. package/es/label-tree-select/index.d.ts +11 -0
  67. package/es/label-tree-select/style/index.d.ts +2 -0
  68. package/es/messages/ar_EG.d.ts +26 -0
  69. package/es/messages/bg_BG.d.ts +26 -0
  70. package/es/messages/cs_CZ.d.ts +26 -0
  71. package/es/messages/de_DE.d.ts +26 -0
  72. package/es/messages/en_US.d.ts +26 -0
  73. package/es/messages/es_ES.d.ts +26 -0
  74. package/es/messages/fi_FI.d.ts +26 -0
  75. package/es/messages/fr_FR.d.ts +26 -0
  76. package/es/messages/id_ID.d.ts +26 -0
  77. package/es/messages/index.d.ts +27 -0
  78. package/es/messages/it_IT.d.ts +26 -0
  79. package/es/messages/ja_JP.d.ts +26 -0
  80. package/es/messages/ko_KR.d.ts +26 -0
  81. package/es/messages/nb_NO.d.ts +26 -0
  82. package/es/messages/nl_NL.d.ts +26 -0
  83. package/es/messages/pt_PT.d.ts +26 -0
  84. package/es/messages/ro_RO.d.ts +26 -0
  85. package/es/messages/ru_RU.d.ts +26 -0
  86. package/es/messages/sv_SE.d.ts +26 -0
  87. package/es/messages/th_TH.d.ts +26 -0
  88. package/es/messages/vi_VN.d.ts +26 -0
  89. package/es/messages/zh_CN.d.ts +26 -0
  90. package/es/messages/zh_TW.d.ts +26 -0
  91. package/es/number-format-input/index.d.ts +5 -0
  92. package/es/number-format-input/style/index.d.ts +1 -0
  93. package/es/number-input/const/dataTypeEnum.d.ts +3 -0
  94. package/es/number-input/const/numberType.d.ts +2 -0
  95. package/es/number-input/index.d.ts +42 -0
  96. package/es/number-input/style/index.d.ts +1 -0
  97. package/es/number-input/utils.d.ts +10 -0
  98. package/es/rc-echart/core.d.ts +29 -0
  99. package/es/rc-echart/index.d.ts +19 -0
  100. package/es/rc-echart/style/index.d.ts +1 -0
  101. package/es/rc-motion/index.d.ts +4 -0
  102. package/es/rc-motion/style/index.d.ts +1 -0
  103. package/es/rc-qrcode/index.d.ts +21 -0
  104. package/es/rc-qrcode/style/index.d.ts +1 -0
  105. package/es/rc-qrcode/useQrcode.d.ts +4 -0
  106. package/es/rc-transition-group/index.d.ts +2 -0
  107. package/es/rc-transition-group/style/index.d.ts +1 -0
  108. package/es/resizable/index.d.ts +4 -0
  109. package/es/resizable/style/index.d.ts +1 -0
  110. package/es/rich-text-editor/index.d.ts +37 -0
  111. package/es/rich-text-editor/lang/zh_CN.d.ts +407 -0
  112. package/es/rich-text-editor/plugins/code/index.d.ts +2 -0
  113. package/es/rich-text-editor/style/index.d.ts +1 -0
  114. package/es/single-img-upload/index.d.ts +22 -0
  115. package/es/single-img-upload/style/index.d.ts +3 -0
  116. package/es/sortable-hoc/index.d.ts +2 -0
  117. package/es/sortable-hoc/style/index.d.ts +1 -0
  118. package/es/split-pane/index.d.ts +59 -0
  119. package/es/split-pane/style/index.d.ts +1 -0
  120. package/es/step-number-input/const/countType.d.ts +2 -0
  121. package/es/step-number-input/const/numberType.d.ts +2 -0
  122. package/es/step-number-input/index.d.ts +43 -0
  123. package/es/step-number-input/style/index.d.ts +2 -0
  124. package/es/table-col/index.d.ts +8 -0
  125. package/es/table-col/style/index.d.ts +1 -0
  126. package/es/text-area/index.d.ts +12 -0
  127. package/es/text-area/style/index.d.ts +1 -0
  128. package/es/text-input/index.d.ts +5 -0
  129. package/es/text-input/style/index.css +3 -7
  130. package/es/text-input/style/index.d.ts +1 -0
  131. package/lib/a-select/index.d.ts +11 -0
  132. package/lib/a-select/style/index.d.ts +2 -0
  133. package/lib/area-text/index.d.ts +7 -0
  134. package/lib/area-text/style/index.d.ts +1 -0
  135. package/lib/beautiful-dnd/index.d.ts +2 -0
  136. package/lib/beautiful-dnd/style/index.d.ts +1 -0
  137. package/lib/button-drawer/index.d.ts +14 -0
  138. package/lib/button-drawer/index.js +1 -1
  139. package/lib/button-drawer/style/index.d.ts +1 -0
  140. package/lib/button-modal/index.d.ts +14 -0
  141. package/lib/button-modal/index.js +1 -1
  142. package/lib/button-modal/style/index.d.ts +1 -0
  143. package/lib/color-select/index.d.ts +23 -0
  144. package/lib/color-select/style/index.d.ts +2 -0
  145. package/lib/condition-input/index.d.ts +17 -0
  146. package/lib/condition-input/parse2RegexOption.d.ts +13 -0
  147. package/lib/condition-input/style/index.d.ts +1 -0
  148. package/lib/config-provider/context.d.ts +4 -0
  149. package/lib/config-provider/index.d.ts +8 -0
  150. package/lib/config-provider/style/index.d.ts +1 -0
  151. package/lib/copy-to-clipboard/index.d.ts +22 -0
  152. package/lib/copy-to-clipboard/index.js +1 -1
  153. package/lib/copy-to-clipboard/style/index.d.ts +1 -0
  154. package/lib/highlight-textarea/HighlighedContents.d.ts +7 -0
  155. package/lib/highlight-textarea/extractSpansOfClasses.d.ts +15 -0
  156. package/lib/highlight-textarea/getRanges.d.ts +2 -0
  157. package/lib/highlight-textarea/getType.d.ts +2 -0
  158. package/lib/highlight-textarea/index.d.ts +12 -0
  159. package/lib/highlight-textarea/style/index.css +3 -7
  160. package/lib/highlight-textarea/style/index.d.ts +1 -0
  161. package/lib/highlight-textarea/types.d.ts +16 -0
  162. package/lib/highlight-words/index.d.ts +3 -0
  163. package/lib/highlight-words/style/index.d.ts +1 -0
  164. package/lib/img-crop/EasyCrop.d.ts +6 -0
  165. package/lib/img-crop/getCroppedImg.d.ts +6 -0
  166. package/lib/img-crop/index.d.ts +53 -0
  167. package/lib/img-crop/index.js +1 -1
  168. package/lib/img-crop/style/index.d.ts +3 -0
  169. package/lib/index.d.ts +72 -0
  170. package/lib/json-editor/index.d.ts +10 -0
  171. package/lib/json-editor/style/index.d.ts +2 -0
  172. package/lib/keep-tab/index.d.ts +29 -0
  173. package/lib/keep-tab/index.js +27 -25
  174. package/lib/keep-tab/style/index.css +6 -29
  175. package/lib/keep-tab/style/index.d.ts +2 -0
  176. package/lib/label-auto-complete/index.d.ts +8 -0
  177. package/lib/label-auto-complete/style/index.d.ts +2 -0
  178. package/lib/label-condition-input/index.d.ts +16 -0
  179. package/lib/label-condition-input/style/index.d.ts +1 -0
  180. package/lib/label-customize-range-picker/defaultRadioList.d.ts +25 -0
  181. package/lib/label-customize-range-picker/index.d.ts +20 -0
  182. package/lib/label-customize-range-picker/style/index.d.ts +5 -0
  183. package/lib/label-customize-range-picker/utils/index.d.ts +2 -0
  184. package/lib/label-date-picker/index.d.ts +7 -0
  185. package/lib/label-date-picker/style/index.d.ts +2 -0
  186. package/lib/label-input/index.d.ts +29 -0
  187. package/lib/label-input/style/index.d.ts +1 -0
  188. package/lib/label-number-input/index.d.ts +12 -0
  189. package/lib/label-number-input/style/index.d.ts +1 -0
  190. package/lib/label-range-picker/index.d.ts +8 -0
  191. package/lib/label-range-picker/style/index.d.ts +2 -0
  192. package/lib/label-select/index.d.ts +12 -0
  193. package/lib/label-select/style/index.d.ts +2 -0
  194. package/lib/label-text-area/index.d.ts +21 -0
  195. package/lib/label-text-area/style/index.d.ts +1 -0
  196. package/lib/label-tree-select/index.d.ts +11 -0
  197. package/lib/label-tree-select/style/index.d.ts +2 -0
  198. package/lib/messages/ar_EG.d.ts +26 -0
  199. package/lib/messages/bg_BG.d.ts +26 -0
  200. package/lib/messages/cs_CZ.d.ts +26 -0
  201. package/lib/messages/de_DE.d.ts +26 -0
  202. package/lib/messages/en_US.d.ts +26 -0
  203. package/lib/messages/es_ES.d.ts +26 -0
  204. package/lib/messages/fi_FI.d.ts +26 -0
  205. package/lib/messages/fr_FR.d.ts +26 -0
  206. package/lib/messages/id_ID.d.ts +26 -0
  207. package/lib/messages/index.d.ts +27 -0
  208. package/lib/messages/it_IT.d.ts +26 -0
  209. package/lib/messages/ja_JP.d.ts +26 -0
  210. package/lib/messages/ko_KR.d.ts +26 -0
  211. package/lib/messages/nb_NO.d.ts +26 -0
  212. package/lib/messages/nl_NL.d.ts +26 -0
  213. package/lib/messages/pt_PT.d.ts +26 -0
  214. package/lib/messages/ro_RO.d.ts +26 -0
  215. package/lib/messages/ru_RU.d.ts +26 -0
  216. package/lib/messages/sv_SE.d.ts +26 -0
  217. package/lib/messages/th_TH.d.ts +26 -0
  218. package/lib/messages/vi_VN.d.ts +26 -0
  219. package/lib/messages/zh_CN.d.ts +26 -0
  220. package/lib/messages/zh_TW.d.ts +26 -0
  221. package/lib/number-format-input/index.d.ts +5 -0
  222. package/lib/number-format-input/style/index.d.ts +1 -0
  223. package/lib/number-input/const/dataTypeEnum.d.ts +3 -0
  224. package/lib/number-input/const/numberType.d.ts +2 -0
  225. package/lib/number-input/index.d.ts +42 -0
  226. package/lib/number-input/style/index.d.ts +1 -0
  227. package/lib/number-input/utils.d.ts +10 -0
  228. package/lib/rc-echart/core.d.ts +29 -0
  229. package/lib/rc-echart/index.d.ts +19 -0
  230. package/lib/rc-echart/style/index.d.ts +1 -0
  231. package/lib/rc-motion/index.d.ts +4 -0
  232. package/lib/rc-motion/style/index.d.ts +1 -0
  233. package/lib/rc-qrcode/index.d.ts +21 -0
  234. package/lib/rc-qrcode/style/index.d.ts +1 -0
  235. package/lib/rc-qrcode/useQrcode.d.ts +4 -0
  236. package/lib/rc-transition-group/index.d.ts +2 -0
  237. package/lib/rc-transition-group/style/index.d.ts +1 -0
  238. package/lib/resizable/index.d.ts +4 -0
  239. package/lib/resizable/style/index.d.ts +1 -0
  240. package/lib/rich-text-editor/index.d.ts +37 -0
  241. package/lib/rich-text-editor/lang/zh_CN.d.ts +407 -0
  242. package/lib/rich-text-editor/plugins/code/index.d.ts +2 -0
  243. package/lib/rich-text-editor/style/index.d.ts +1 -0
  244. package/lib/single-img-upload/index.d.ts +22 -0
  245. package/lib/single-img-upload/style/index.d.ts +3 -0
  246. package/lib/sortable-hoc/index.d.ts +2 -0
  247. package/lib/sortable-hoc/style/index.d.ts +1 -0
  248. package/lib/split-pane/index.d.ts +59 -0
  249. package/lib/split-pane/style/index.d.ts +1 -0
  250. package/lib/step-number-input/const/countType.d.ts +2 -0
  251. package/lib/step-number-input/const/numberType.d.ts +2 -0
  252. package/lib/step-number-input/index.d.ts +43 -0
  253. package/lib/step-number-input/style/index.d.ts +2 -0
  254. package/lib/table-col/index.d.ts +8 -0
  255. package/lib/table-col/style/index.d.ts +1 -0
  256. package/lib/text-area/index.d.ts +12 -0
  257. package/lib/text-area/style/index.d.ts +1 -0
  258. package/lib/text-input/index.d.ts +5 -0
  259. package/lib/text-input/style/index.css +3 -7
  260. package/lib/text-input/style/index.d.ts +1 -0
  261. package/package.json +4 -4
@@ -0,0 +1,26 @@
1
+ declare const locale: {
2
+ locale: string;
3
+ lang: {
4
+ global: {
5
+ placeholder: string;
6
+ };
7
+ labelCustomizeRangePicker: {
8
+ customTime: string;
9
+ toDay: string;
10
+ yesterDay: string;
11
+ week: string;
12
+ lastWeek: string;
13
+ month: string;
14
+ lastMonth: string;
15
+ quarter: string;
16
+ lastQuarter: string;
17
+ last7days: string;
18
+ last14days: string;
19
+ last30days: string;
20
+ last90days: string;
21
+ last180days: string;
22
+ last365days: string;
23
+ };
24
+ };
25
+ };
26
+ export default locale;
@@ -0,0 +1,26 @@
1
+ declare const locale: {
2
+ locale: string;
3
+ lang: {
4
+ global: {
5
+ placeholder: string;
6
+ };
7
+ labelCustomizeRangePicker: {
8
+ customTime: string;
9
+ toDay: string;
10
+ yesterDay: string;
11
+ week: string;
12
+ lastWeek: string;
13
+ month: string;
14
+ lastMonth: string;
15
+ quarter: string;
16
+ lastQuarter: string;
17
+ last7days: string;
18
+ last14days: string;
19
+ last30days: string;
20
+ last90days: string;
21
+ last180days: string;
22
+ last365days: string;
23
+ };
24
+ };
25
+ };
26
+ export default locale;
@@ -0,0 +1,26 @@
1
+ declare const locale: {
2
+ locale: string;
3
+ lang: {
4
+ global: {
5
+ placeholder: string;
6
+ };
7
+ labelCustomizeRangePicker: {
8
+ customTime: string;
9
+ toDay: string;
10
+ yesterDay: string;
11
+ week: string;
12
+ lastWeek: string;
13
+ month: string;
14
+ lastMonth: string;
15
+ quarter: string;
16
+ lastQuarter: string;
17
+ last7days: string;
18
+ last14days: string;
19
+ last30days: string;
20
+ last90days: string;
21
+ last180days: string;
22
+ last365days: string;
23
+ };
24
+ };
25
+ };
26
+ export default locale;
@@ -0,0 +1,26 @@
1
+ declare const locale: {
2
+ locale: string;
3
+ lang: {
4
+ global: {
5
+ placeholder: string;
6
+ };
7
+ labelCustomizeRangePicker: {
8
+ customTime: string;
9
+ toDay: string;
10
+ yesterDay: string;
11
+ week: string;
12
+ lastWeek: string;
13
+ month: string;
14
+ lastMonth: string;
15
+ quarter: string;
16
+ lastQuarter: string;
17
+ last7days: string;
18
+ last14days: string;
19
+ last30days: string;
20
+ last90days: string;
21
+ last180days: string;
22
+ last365days: string;
23
+ };
24
+ };
25
+ };
26
+ export default locale;
@@ -0,0 +1,26 @@
1
+ declare const locale: {
2
+ locale: string;
3
+ lang: {
4
+ global: {
5
+ placeholder: string;
6
+ };
7
+ labelCustomizeRangePicker: {
8
+ customTime: string;
9
+ toDay: string;
10
+ yesterDay: string;
11
+ week: string;
12
+ lastWeek: string;
13
+ month: string;
14
+ lastMonth: string;
15
+ quarter: string;
16
+ lastQuarter: string;
17
+ last7days: string;
18
+ last14days: string;
19
+ last30days: string;
20
+ last90days: string;
21
+ last180days: string;
22
+ last365days: string;
23
+ };
24
+ };
25
+ };
26
+ export default locale;
@@ -0,0 +1,26 @@
1
+ declare const locale: {
2
+ locale: string;
3
+ lang: {
4
+ global: {
5
+ placeholder: string;
6
+ };
7
+ labelCustomizeRangePicker: {
8
+ customTime: string;
9
+ toDay: string;
10
+ yesterDay: string;
11
+ week: string;
12
+ lastWeek: string;
13
+ month: string;
14
+ lastMonth: string;
15
+ quarter: string;
16
+ lastQuarter: string;
17
+ last7days: string;
18
+ last14days: string;
19
+ last30days: string;
20
+ last90days: string;
21
+ last180days: string;
22
+ last365days: string;
23
+ };
24
+ };
25
+ };
26
+ export default locale;
@@ -0,0 +1,26 @@
1
+ declare const locale: {
2
+ locale: string;
3
+ lang: {
4
+ global: {
5
+ placeholder: string;
6
+ };
7
+ labelCustomizeRangePicker: {
8
+ customTime: string;
9
+ toDay: string;
10
+ yesterDay: string;
11
+ week: string;
12
+ lastWeek: string;
13
+ month: string;
14
+ lastMonth: string;
15
+ quarter: string;
16
+ lastQuarter: string;
17
+ last7days: string;
18
+ last14days: string;
19
+ last30days: string;
20
+ last90days: string;
21
+ last180days: string;
22
+ last365days: string;
23
+ };
24
+ };
25
+ };
26
+ export default locale;
@@ -0,0 +1,26 @@
1
+ declare const locale: {
2
+ locale: string;
3
+ lang: {
4
+ global: {
5
+ placeholder: string;
6
+ };
7
+ labelCustomizeRangePicker: {
8
+ customTime: string;
9
+ toDay: string;
10
+ yesterDay: string;
11
+ week: string;
12
+ lastWeek: string;
13
+ month: string;
14
+ lastMonth: string;
15
+ quarter: string;
16
+ lastQuarter: string;
17
+ last7days: string;
18
+ last14days: string;
19
+ last30days: string;
20
+ last90days: string;
21
+ last180days: string;
22
+ last365days: string;
23
+ };
24
+ };
25
+ };
26
+ export default locale;
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import type { NumberFormatProps as ReactNumberFormatProps } from 'react-number-format';
3
+ export declare type NumberFormatInputProps = ReactNumberFormatProps;
4
+ declare const NumberFormatInput: React.FC<NumberFormatInputProps>;
5
+ export default NumberFormatInput;
@@ -0,0 +1 @@
1
+ import './index.less';
@@ -0,0 +1,3 @@
1
+ declare const NUMBER: "number";
2
+ declare const STRING: "string";
3
+ export { NUMBER, STRING };
@@ -0,0 +1,2 @@
1
+ export declare const INT: "int";
2
+ export declare const FLOAT: "float";
@@ -0,0 +1,42 @@
1
+ import * as React from 'react';
2
+ import type { InputProps } from 'antd/lib/input';
3
+ import * as dataTypeEnum from './const/dataTypeEnum';
4
+ import * as numberTypeEnum from './const/numberType';
5
+ export declare type NumberInputValueType = string | number;
6
+ export interface NumberInputProps extends Omit<InputProps, 'onChange' | 'onBlur'> {
7
+ /** 输入框的内容 */
8
+ value?: NumberInputValueType;
9
+ /** 输入数据的类型 */
10
+ numberType?: 'int' | 'float';
11
+ /** value的数据类型 */
12
+ dataType?: 'number' | 'string';
13
+ /** 精度,只对float有效 */
14
+ precision?: number;
15
+ /** 同html input属性功能 */
16
+ maxLength?: number;
17
+ /** 指定输入框展示值的格式 */
18
+ formatter?: (value: string) => string;
19
+ /** 指定从 formatter 里转换回数字的方式,和 formatter 搭配使用 */
20
+ parser?: (value: string) => string;
21
+ /** 是否允许输入负数 */
22
+ enableMinus?: boolean;
23
+ /** 变化回调 */
24
+ onChange?: (value: NumberInputValueType) => void;
25
+ /** 失去焦点回调 */
26
+ onBlur?: (value: NumberInputValueType) => void;
27
+ /** 按下回车的回调 */
28
+ onPressEnter?: React.KeyboardEventHandler<HTMLInputElement>;
29
+ /** 带标签的 input,设置前置标签 */
30
+ addonBefore?: React.ReactNode;
31
+ /** 带标签的 input,设置后置标签 */
32
+ addonAfter?: React.ReactNode;
33
+ /** 前缀 */
34
+ prefix?: React.ReactNode;
35
+ /** 后缀 */
36
+ suffix?: React.ReactNode;
37
+ /** 可以点击清除图标删除内容 */
38
+ allowClear?: boolean;
39
+ }
40
+ declare const NumberInput: React.ForwardRefExoticComponent<NumberInputProps & React.RefAttributes<unknown>>;
41
+ export { numberTypeEnum, dataTypeEnum };
42
+ export default NumberInput;
@@ -0,0 +1 @@
1
+ import 'antd/lib/input/style';
@@ -0,0 +1,10 @@
1
+ export interface FilterIntType {
2
+ value: string;
3
+ enableMinus?: boolean;
4
+ preValue?: string;
5
+ }
6
+ export declare const filterInt: ({ value, enableMinus, preValue }: FilterIntType) => string;
7
+ export interface FilterFloatType extends FilterIntType {
8
+ precision?: number;
9
+ }
10
+ export declare const filterFloat: ({ value, preValue, precision, enableMinus, }: FilterFloatType) => string;
@@ -0,0 +1,29 @@
1
+ import type { EChartsOption } from 'echarts';
2
+ export declare type Opts = {
3
+ devicePixelRatio?: number;
4
+ renderer?: 'canvas' | 'svg';
5
+ width?: number | null | undefined | 'auto';
6
+ height?: number | null | undefined | 'auto';
7
+ locale?: string;
8
+ };
9
+ export interface RcEchartPropsType {
10
+ option: EChartsOption;
11
+ notMerge?: boolean;
12
+ lazyUpdate?: boolean;
13
+ echarts: any;
14
+ className?: string;
15
+ theme?: string;
16
+ onEvents?: Record<string, Function>;
17
+ opts?: Opts;
18
+ }
19
+ declare const ReactEchartCore: {
20
+ (props: RcEchartPropsType): JSX.Element;
21
+ defaultProps: {
22
+ notMerge: boolean;
23
+ lazyUpdate: boolean;
24
+ className: string;
25
+ onEvents: {};
26
+ opts: {};
27
+ };
28
+ };
29
+ export default ReactEchartCore;
@@ -0,0 +1,19 @@
1
+ import * as echarts from 'echarts';
2
+ export declare type Opts = {
3
+ devicePixelRatio?: number;
4
+ renderer?: 'canvas' | 'svg';
5
+ width?: number | null | undefined | 'auto';
6
+ height?: number | null | undefined | 'auto';
7
+ locale?: string;
8
+ };
9
+ export interface RcEchartPropsType {
10
+ option: echarts.EChartsOption;
11
+ notMerge?: boolean;
12
+ lazyUpdate?: boolean;
13
+ className?: string;
14
+ theme?: string;
15
+ onEvents?: Record<string, Function>;
16
+ opts?: Opts;
17
+ }
18
+ declare const RcEcharts: (props: RcEchartPropsType) => JSX.Element;
19
+ export default RcEcharts;
@@ -0,0 +1 @@
1
+
@@ -0,0 +1,4 @@
1
+ import type { CSSMotionProps, CSSMotionList, CSSMotionListProps, MotionEventHandler, MotionEndEventHandler } from 'rc-motion';
2
+ import RcMotion from 'rc-motion';
3
+ export type { CSSMotionProps, CSSMotionList, CSSMotionListProps, MotionEventHandler, MotionEndEventHandler, };
4
+ export default RcMotion;
@@ -0,0 +1 @@
1
+
@@ -0,0 +1,21 @@
1
+ import type { QRCodeRenderersOptions, QRCodeSegment } from 'qrcode';
2
+ import QRCode from 'qrcode';
3
+ import useQrcode from './useQrcode';
4
+ export interface RcQrcodeProps {
5
+ /** 生成二维码的值 */
6
+ value: QRCodeSegment[] | string;
7
+ /** qrcode的QRCodeRenderersOptions */
8
+ options?: QRCodeRenderersOptions;
9
+ /** 获取HTMLCanvasElement */
10
+ getCanvasInstance?: (result: HTMLCanvasElement) => void;
11
+ }
12
+ declare const RcQrcode: {
13
+ (props: RcQrcodeProps): JSX.Element;
14
+ defaultProps: {
15
+ value: string;
16
+ options: {};
17
+ };
18
+ useQrcode: (value: string | QRCodeSegment[], options?: QRCode.QRCodeToDataURLOptions) => string;
19
+ };
20
+ export default RcQrcode;
21
+ export { useQrcode };
@@ -0,0 +1 @@
1
+
@@ -0,0 +1,4 @@
1
+ import type { QRCodeToDataURLOptions, QRCodeSegment } from 'qrcode';
2
+ declare type ValueTypes = string | QRCodeSegment[];
3
+ export declare const useQRCode: (value: ValueTypes, options?: QRCodeToDataURLOptions) => string;
4
+ export default useQRCode;
@@ -0,0 +1,2 @@
1
+ import * as RcTransitionGroup from 'react-transition-group';
2
+ export default RcTransitionGroup;
@@ -0,0 +1,4 @@
1
+ import { Resizable, ResizableBox } from 'react-resizable';
2
+ export type { Axis, ResizeHandle, ResizableState, DragCallbackData, ResizeCallbackData, ResizableProps, ResizableBoxState, ResizableBoxProps, } from 'react-resizable';
3
+ export { Resizable, ResizableBox };
4
+ export default Resizable;
@@ -0,0 +1 @@
1
+ import './index.less';
@@ -0,0 +1,37 @@
1
+ import type { IAllProps } from '@tinymce/tinymce-react';
2
+ import 'tinymce/themes/silver';
3
+ import 'tinymce/models/dom';
4
+ import 'tinymce/icons/default';
5
+ import 'tinymce/skins/ui/oxide/skin.min.css';
6
+ import 'tinymce/plugins/advlist';
7
+ import 'tinymce/plugins/autolink';
8
+ import 'tinymce/plugins/link';
9
+ import 'tinymce/plugins/image';
10
+ import 'tinymce/plugins/lists';
11
+ import 'tinymce/plugins/charmap';
12
+ import 'tinymce/plugins/anchor';
13
+ import 'tinymce/plugins/searchreplace';
14
+ import 'tinymce/plugins/wordcount';
15
+ import 'tinymce/plugins/fullscreen';
16
+ import 'tinymce/plugins/insertdatetime';
17
+ import 'tinymce/plugins/media';
18
+ import 'tinymce/plugins/nonbreaking';
19
+ import 'tinymce/plugins/table';
20
+ import 'tinymce/plugins/template';
21
+ import 'tinymce/plugins/help';
22
+ import 'tinymce/plugins/quickbars';
23
+ import 'tinymce/plugins/autosave';
24
+ import 'tinymce/plugins/directionality';
25
+ import 'tinymce/plugins/preview';
26
+ import 'tinymce/plugins/save';
27
+ import 'tinymce/plugins/visualblocks';
28
+ import 'tinymce/plugins/autoresize';
29
+ import 'tinymce/plugins/emoticons';
30
+ import 'tinymce/plugins/importcss';
31
+ import 'tinymce/plugins/pagebreak';
32
+ export declare type RichTextEditorProps = IAllProps;
33
+ declare const defaultPlugins: string[];
34
+ declare const defaultToolbar: string;
35
+ declare const RichTextEditor: (props: IAllProps) => JSX.Element;
36
+ export { defaultPlugins, defaultToolbar };
37
+ export default RichTextEditor;