assui 2.3.5 → 2.3.7

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
@@ -589,7 +589,7 @@
589
589
  margin: 0 0 0 32px;
590
590
  }
591
591
  .ant-tabs-content {
592
- position: relative;
592
+ display: flex;
593
593
  width: 100%;
594
594
  }
595
595
  .ant-tabs-content-holder {
@@ -597,37 +597,14 @@
597
597
  min-width: 0;
598
598
  min-height: 0;
599
599
  }
600
+ .ant-tabs-content-animated {
601
+ transition: margin 0.3s;
602
+ }
600
603
  .ant-tabs-tabpane {
604
+ flex: none;
605
+ width: 100%;
601
606
  outline: none;
602
607
  }
603
- .ant-tabs-tabpane-hidden {
604
- display: none;
605
- }
606
- .ant-tabs-switch-appear,
607
- .ant-tabs-switch-enter {
608
- transition: none;
609
- }
610
- .ant-tabs-switch-appear-start,
611
- .ant-tabs-switch-enter-start {
612
- opacity: 0;
613
- }
614
- .ant-tabs-switch-appear-active,
615
- .ant-tabs-switch-enter-active {
616
- opacity: 1;
617
- transition: opacity 0.3s;
618
- }
619
- .ant-tabs-switch-leave {
620
- position: absolute;
621
- transition: none;
622
- inset: 0;
623
- }
624
- .ant-tabs-switch-leave-start {
625
- opacity: 1;
626
- }
627
- .ant-tabs-switch-leave-active {
628
- opacity: 0;
629
- transition: opacity 0.3s;
630
- }
631
608
  .ant-badge {
632
609
  box-sizing: border-box;
633
610
  margin: 0;
@@ -0,0 +1,2 @@
1
+ import 'antd/lib/tabs/style';
2
+ import 'antd/lib/badge/style';
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ import type { AutoCompleteProps } from 'antd/lib/auto-complete';
3
+ export interface LabelAutoCompleteProps extends AutoCompleteProps {
4
+ label?: React.ReactNode;
5
+ className?: string;
6
+ }
7
+ declare const LabelAutoComplete: (props: LabelAutoCompleteProps) => JSX.Element;
8
+ export default LabelAutoComplete;
@@ -0,0 +1,2 @@
1
+ import 'antd/lib/select/style';
2
+ import './index.less';
@@ -0,0 +1,16 @@
1
+ import React from 'react';
2
+ import type { ConditionInputProps } from '../condition-input';
3
+ export interface LabelConditionInputProps extends Omit<ConditionInputProps, 'onBlur' | 'onChange'> {
4
+ /** label 标签的文本 */
5
+ label?: React.ReactNode;
6
+ /** 输入框内容变化时的回调 */
7
+ onChange?: (value: string) => void;
8
+ /** 输入框失去焦点的回调 */
9
+ onBlur?: (value: string) => void;
10
+ /** 输入框除去label之后的最小末尾宽度 */
11
+ baseMinWidth?: number;
12
+ /** 组件dom id */
13
+ id?: string;
14
+ }
15
+ declare const LabelConditionInput: (props: LabelConditionInputProps) => JSX.Element;
16
+ export default LabelConditionInput;
@@ -0,0 +1 @@
1
+ import './index.less';
@@ -0,0 +1,25 @@
1
+ import type { Moment } from 'moment';
2
+ import type { LangType } from '../messages';
3
+ export declare enum dateTypeEnum {
4
+ TODAY = 1,
5
+ YESTERDAY = 2,
6
+ WEEK = 3,
7
+ LAST_WEEK = 4,
8
+ MONTH = 5,
9
+ LAST_MONTH = 6,
10
+ QUARTER = 7,
11
+ LAST_QUARTER = 8,
12
+ BEFORE_7_DAY = 9,
13
+ BEFORE_14_DAY = 10,
14
+ BEFORE_30_DAY = 11,
15
+ BEFORE_90_DAY = 12,
16
+ BEFORE_180_DAY = 13,
17
+ BEFORE_365_DAY = 14
18
+ }
19
+ export declare type RadioListType = {
20
+ key: string | number | dateTypeEnum;
21
+ text: string;
22
+ value: [Moment, Moment];
23
+ };
24
+ declare const getDefaultRadioList: (message: LangType) => RadioListType[];
25
+ export default getDefaultRadioList;
@@ -0,0 +1,20 @@
1
+ import React from 'react';
2
+ import type { Moment } from 'moment';
3
+ import type { dateTypeEnum } from './defaultRadioList';
4
+ import type { LabelRangePickerProps } from '../label-range-picker';
5
+ export declare type RadioListType = {
6
+ key: string | number | dateTypeEnum;
7
+ text: string;
8
+ value: [Moment, Moment];
9
+ };
10
+ export interface LabelCustomizeRangePickerProps extends Omit<LabelRangePickerProps, 'label'> {
11
+ radioList?: RadioListType[];
12
+ customizeTimeList?: dateTypeEnum[];
13
+ rangePickerType?: 'label' | 'origin';
14
+ label?: React.ReactNode;
15
+ /** 最大时间范围 */
16
+ maxScope?: number;
17
+ showShortcutPanel?: boolean;
18
+ }
19
+ declare const LabelCustomizeRangePicker: (props: LabelCustomizeRangePickerProps) => JSX.Element;
20
+ export default LabelCustomizeRangePicker;
@@ -0,0 +1,5 @@
1
+ import 'antd/lib/date-picker/style';
2
+ import 'antd/lib/checkbox/style';
3
+ import 'antd/lib/radio/style';
4
+ import './index.less';
5
+ import '../../label-range-picker/style/index';
@@ -0,0 +1,2 @@
1
+ import type { RangeValue } from 'rc-picker/lib/interface';
2
+ export declare const formatMaxScope: (dateStampTuple: RangeValue<moment.Moment>, maxScope: number) => (import("moment").Moment | null)[];
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ import type { DatePickerProps } from 'antd/lib/date-picker';
3
+ export interface LabelDatePickerProps extends Omit<DatePickerProps, 'label'> {
4
+ label?: React.ReactNode;
5
+ }
6
+ declare const LabelDatePicker: React.FC<LabelDatePickerProps>;
7
+ export default LabelDatePicker;
@@ -0,0 +1,2 @@
1
+ import 'antd/lib/date-picker/style';
2
+ import './index.less';
@@ -0,0 +1,29 @@
1
+ import React from 'react';
2
+ export interface LabelInputProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, 'size' | 'prefix' | 'type' | 'onChange' | 'onFocus' | 'onBlur'> {
3
+ /** 自定义class */
4
+ className?: string;
5
+ /** label 标签的文本 */
6
+ label?: React.ReactNode;
7
+ /** 输入框内容 */
8
+ value?: string;
9
+ /** 带有后缀的 input */
10
+ suffix?: React.ReactNode;
11
+ /** 带有前缀的 input */
12
+ prefix?: React.ReactNode;
13
+ /** 输入框内容变化时的回调 */
14
+ onChange?: (value: string) => void;
15
+ /** 输入框失去焦点的回调 */
16
+ onBlur?: (value: string) => void;
17
+ /** 规定 input 元素的类型 */
18
+ type?: 'text' | 'password';
19
+ /** 规定输入字段中的字符的最大长度 */
20
+ maxLength?: number;
21
+ /** 输入框获取焦点的回调 */
22
+ onFocus?: (value: string) => void;
23
+ /** 输入框除去label之后的最小末尾宽度 */
24
+ baseMinWidth?: number;
25
+ /** 组件dom id */
26
+ id?: string;
27
+ }
28
+ declare const LabelInput: React.FC<LabelInputProps>;
29
+ export default LabelInput;
@@ -0,0 +1 @@
1
+ import './index.less';
@@ -0,0 +1,12 @@
1
+ import React from 'react';
2
+ import type { NumberInputProps } from '../number-input';
3
+ export interface LabelNumberInputProps extends NumberInputProps {
4
+ /** label 标签的文本 */
5
+ label?: React.ReactNode;
6
+ /** 输入框除去label之后的最小末尾宽度 */
7
+ baseMinWidth?: number;
8
+ /** 组件dom id */
9
+ id?: string;
10
+ }
11
+ declare const LabelNumberInput: (props: LabelNumberInputProps) => JSX.Element;
12
+ export default LabelNumberInput;
@@ -0,0 +1 @@
1
+ import './index.less';
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ import type { RangePickerProps } from 'antd/lib/date-picker';
3
+ export interface LabelRangePickerProps extends Omit<RangePickerProps, 'label'> {
4
+ label: React.ReactNode;
5
+ showTime?: any;
6
+ }
7
+ declare const LabelDatePicker: React.FC<LabelRangePickerProps>;
8
+ export default LabelDatePicker;
@@ -0,0 +1,2 @@
1
+ import 'antd/lib/date-picker/style';
2
+ import './index.less';
@@ -0,0 +1,12 @@
1
+ import React from 'react';
2
+ import type { SelectProps } from 'antd/lib/select';
3
+ declare const Option: import("rc-select/lib/Option").OptionFC;
4
+ export { Option };
5
+ export interface LabelSelectProps extends SelectProps {
6
+ label?: React.ReactNode;
7
+ }
8
+ declare const LabelSelect: {
9
+ (props: LabelSelectProps): JSX.Element;
10
+ Option: import("rc-select/lib/Option").OptionFC;
11
+ };
12
+ export default LabelSelect;
@@ -0,0 +1,2 @@
1
+ import 'antd/lib/select/style';
2
+ import './index.less';
@@ -0,0 +1,21 @@
1
+ import React from 'react';
2
+ export interface LabelTextAreaProps extends Omit<React.TextareaHTMLAttributes<HTMLTextAreaElement>, 'size' | 'type' | 'onChange' | 'onFocus' | 'onBlur' | 'style'> {
3
+ /** 自定义class */
4
+ className?: string;
5
+ /** label 标签的文本 */
6
+ label?: React.ReactNode;
7
+ /** 输入框内容 */
8
+ value?: string;
9
+ /** 指定输入框展示值的格式 */
10
+ formatter?: (value: string) => string;
11
+ /** 输入框内容变化时的回调 */
12
+ onChange?: (value: string) => void;
13
+ /** 输入框失去焦点的回调 */
14
+ onBlur?: (value: string) => void;
15
+ /** 输入框获取焦点的回调 */
16
+ onFocus?: (value: string) => void;
17
+ /** 组件dom id */
18
+ id?: string;
19
+ }
20
+ declare const LabelTextArea: React.FC<LabelTextAreaProps>;
21
+ export default LabelTextArea;
@@ -0,0 +1 @@
1
+ import './index.less';
@@ -0,0 +1,11 @@
1
+ import React from 'react';
2
+ import type { TreeSelectProps } from 'antd/lib/tree-select';
3
+ export interface LabelTreeSelectProps extends Omit<TreeSelectProps<string[]>, 'onDropdownVisibleChange'> {
4
+ /** 输入框的label */
5
+ label?: React.ReactNode;
6
+ /** 输入框value的单位 */
7
+ unit?: React.ReactNode;
8
+ onDropdownVisibleChange?: (value: boolean) => void;
9
+ }
10
+ declare const LabelTreeSelect: (props: LabelTreeSelectProps) => JSX.Element;
11
+ export default LabelTreeSelect;
@@ -0,0 +1,2 @@
1
+ import 'antd/lib/tree-select/style';
2
+ import './index.less';
@@ -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,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,27 @@
1
+ export declare type LabelCustomizeRangePickerType = {
2
+ customTime: string;
3
+ toDay: string;
4
+ yesterDay: string;
5
+ week: string;
6
+ lastWeek: string;
7
+ month: string;
8
+ lastMonth: string;
9
+ quarter: string;
10
+ lastQuarter: string;
11
+ last7days: string;
12
+ last14days: string;
13
+ last30days: string;
14
+ last90days: string;
15
+ last180days: string;
16
+ last365days: string;
17
+ };
18
+ export declare type Global = {
19
+ placeholder: string;
20
+ };
21
+ export declare type All = LabelCustomizeRangePickerType & Global;
22
+ export declare type LangType = {
23
+ labelCustomizeRangePicker: LabelCustomizeRangePickerType;
24
+ global: Global;
25
+ };
26
+ export declare type DisplayNameType = 'labelCustomizeRangePicker' | 'global';
27
+ export default function formatMessage(message: LangType, displayName: DisplayNameType, key: keyof All): any;
@@ -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;