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.
- package/es/a-select/index.d.ts +11 -0
- package/es/a-select/style/index.d.ts +2 -0
- package/es/area-text/index.d.ts +7 -0
- package/es/area-text/style/index.d.ts +1 -0
- package/es/beautiful-dnd/index.d.ts +2 -0
- package/es/beautiful-dnd/style/index.d.ts +1 -0
- package/es/button-drawer/index.d.ts +14 -0
- package/es/button-drawer/index.js +1 -1
- package/es/button-drawer/style/index.d.ts +1 -0
- package/es/button-modal/index.d.ts +14 -0
- package/es/button-modal/index.js +1 -1
- package/es/button-modal/style/index.d.ts +1 -0
- package/es/color-select/index.d.ts +23 -0
- package/es/color-select/style/index.d.ts +2 -0
- package/es/condition-input/index.d.ts +17 -0
- package/es/condition-input/parse2RegexOption.d.ts +13 -0
- package/es/condition-input/style/index.d.ts +1 -0
- package/es/config-provider/context.d.ts +4 -0
- package/es/config-provider/index.d.ts +8 -0
- package/es/config-provider/style/index.d.ts +1 -0
- package/es/copy-to-clipboard/index.d.ts +22 -0
- package/es/copy-to-clipboard/index.js +1 -1
- package/es/copy-to-clipboard/style/index.d.ts +1 -0
- package/es/highlight-textarea/HighlighedContents.d.ts +7 -0
- package/es/highlight-textarea/extractSpansOfClasses.d.ts +15 -0
- package/es/highlight-textarea/getRanges.d.ts +2 -0
- package/es/highlight-textarea/getType.d.ts +2 -0
- package/es/highlight-textarea/index.d.ts +12 -0
- package/es/highlight-textarea/style/index.css +3 -7
- package/es/highlight-textarea/style/index.d.ts +1 -0
- package/es/highlight-textarea/types.d.ts +16 -0
- package/es/highlight-words/index.d.ts +3 -0
- package/es/highlight-words/style/index.d.ts +1 -0
- package/es/img-crop/EasyCrop.d.ts +6 -0
- package/es/img-crop/getCroppedImg.d.ts +6 -0
- package/es/img-crop/index.d.ts +53 -0
- package/es/img-crop/index.js +1 -1
- package/es/img-crop/style/index.d.ts +3 -0
- package/es/index.d.ts +72 -0
- package/es/json-editor/index.d.ts +10 -0
- package/es/json-editor/style/index.d.ts +2 -0
- package/es/keep-tab/index.d.ts +29 -0
- package/es/keep-tab/index.js +26 -25
- package/es/keep-tab/style/index.css +6 -29
- package/es/keep-tab/style/index.d.ts +2 -0
- package/es/label-auto-complete/index.d.ts +8 -0
- package/es/label-auto-complete/style/index.d.ts +2 -0
- package/es/label-condition-input/index.d.ts +16 -0
- package/es/label-condition-input/style/index.d.ts +1 -0
- package/es/label-customize-range-picker/defaultRadioList.d.ts +25 -0
- package/es/label-customize-range-picker/index.d.ts +20 -0
- package/es/label-customize-range-picker/style/index.d.ts +5 -0
- package/es/label-customize-range-picker/utils/index.d.ts +2 -0
- package/es/label-date-picker/index.d.ts +7 -0
- package/es/label-date-picker/style/index.d.ts +2 -0
- package/es/label-input/index.d.ts +29 -0
- package/es/label-input/style/index.d.ts +1 -0
- package/es/label-number-input/index.d.ts +12 -0
- package/es/label-number-input/style/index.d.ts +1 -0
- package/es/label-range-picker/index.d.ts +8 -0
- package/es/label-range-picker/style/index.d.ts +2 -0
- package/es/label-select/index.d.ts +12 -0
- package/es/label-select/style/index.d.ts +2 -0
- package/es/label-text-area/index.d.ts +21 -0
- package/es/label-text-area/style/index.d.ts +1 -0
- package/es/label-tree-select/index.d.ts +11 -0
- package/es/label-tree-select/style/index.d.ts +2 -0
- package/es/messages/ar_EG.d.ts +26 -0
- package/es/messages/bg_BG.d.ts +26 -0
- package/es/messages/cs_CZ.d.ts +26 -0
- package/es/messages/de_DE.d.ts +26 -0
- package/es/messages/en_US.d.ts +26 -0
- package/es/messages/es_ES.d.ts +26 -0
- package/es/messages/fi_FI.d.ts +26 -0
- package/es/messages/fr_FR.d.ts +26 -0
- package/es/messages/id_ID.d.ts +26 -0
- package/es/messages/index.d.ts +27 -0
- package/es/messages/it_IT.d.ts +26 -0
- package/es/messages/ja_JP.d.ts +26 -0
- package/es/messages/ko_KR.d.ts +26 -0
- package/es/messages/nb_NO.d.ts +26 -0
- package/es/messages/nl_NL.d.ts +26 -0
- package/es/messages/pt_PT.d.ts +26 -0
- package/es/messages/ro_RO.d.ts +26 -0
- package/es/messages/ru_RU.d.ts +26 -0
- package/es/messages/sv_SE.d.ts +26 -0
- package/es/messages/th_TH.d.ts +26 -0
- package/es/messages/vi_VN.d.ts +26 -0
- package/es/messages/zh_CN.d.ts +26 -0
- package/es/messages/zh_TW.d.ts +26 -0
- package/es/number-format-input/index.d.ts +5 -0
- package/es/number-format-input/style/index.d.ts +1 -0
- package/es/number-input/const/dataTypeEnum.d.ts +3 -0
- package/es/number-input/const/numberType.d.ts +2 -0
- package/es/number-input/index.d.ts +42 -0
- package/es/number-input/style/index.d.ts +1 -0
- package/es/number-input/utils.d.ts +10 -0
- package/es/rc-echart/core.d.ts +29 -0
- package/es/rc-echart/index.d.ts +19 -0
- package/es/rc-echart/style/index.d.ts +1 -0
- package/es/rc-motion/index.d.ts +4 -0
- package/es/rc-motion/style/index.d.ts +1 -0
- package/es/rc-qrcode/index.d.ts +21 -0
- package/es/rc-qrcode/style/index.d.ts +1 -0
- package/es/rc-qrcode/useQrcode.d.ts +4 -0
- package/es/rc-transition-group/index.d.ts +2 -0
- package/es/rc-transition-group/style/index.d.ts +1 -0
- package/es/resizable/index.d.ts +4 -0
- package/es/resizable/style/index.d.ts +1 -0
- package/es/rich-text-editor/index.d.ts +37 -0
- package/es/rich-text-editor/lang/zh_CN.d.ts +407 -0
- package/es/rich-text-editor/plugins/code/index.d.ts +2 -0
- package/es/rich-text-editor/style/index.d.ts +1 -0
- package/es/single-img-upload/index.d.ts +22 -0
- package/es/single-img-upload/style/index.d.ts +3 -0
- package/es/sortable-hoc/index.d.ts +2 -0
- package/es/sortable-hoc/style/index.d.ts +1 -0
- package/es/split-pane/index.d.ts +59 -0
- package/es/split-pane/style/index.d.ts +1 -0
- package/es/step-number-input/const/countType.d.ts +2 -0
- package/es/step-number-input/const/numberType.d.ts +2 -0
- package/es/step-number-input/index.d.ts +43 -0
- package/es/step-number-input/style/index.d.ts +2 -0
- package/es/table-col/index.d.ts +8 -0
- package/es/table-col/style/index.d.ts +1 -0
- package/es/text-area/index.d.ts +12 -0
- package/es/text-area/style/index.d.ts +1 -0
- package/es/text-input/index.d.ts +5 -0
- package/es/text-input/style/index.css +3 -7
- package/es/text-input/style/index.d.ts +1 -0
- package/lib/a-select/index.d.ts +11 -0
- package/lib/a-select/style/index.d.ts +2 -0
- package/lib/area-text/index.d.ts +7 -0
- package/lib/area-text/style/index.d.ts +1 -0
- package/lib/beautiful-dnd/index.d.ts +2 -0
- package/lib/beautiful-dnd/style/index.d.ts +1 -0
- package/lib/button-drawer/index.d.ts +14 -0
- package/lib/button-drawer/index.js +1 -1
- package/lib/button-drawer/style/index.d.ts +1 -0
- package/lib/button-modal/index.d.ts +14 -0
- package/lib/button-modal/index.js +1 -1
- package/lib/button-modal/style/index.d.ts +1 -0
- package/lib/color-select/index.d.ts +23 -0
- package/lib/color-select/style/index.d.ts +2 -0
- package/lib/condition-input/index.d.ts +17 -0
- package/lib/condition-input/parse2RegexOption.d.ts +13 -0
- package/lib/condition-input/style/index.d.ts +1 -0
- package/lib/config-provider/context.d.ts +4 -0
- package/lib/config-provider/index.d.ts +8 -0
- package/lib/config-provider/style/index.d.ts +1 -0
- package/lib/copy-to-clipboard/index.d.ts +22 -0
- package/lib/copy-to-clipboard/index.js +1 -1
- package/lib/copy-to-clipboard/style/index.d.ts +1 -0
- package/lib/highlight-textarea/HighlighedContents.d.ts +7 -0
- package/lib/highlight-textarea/extractSpansOfClasses.d.ts +15 -0
- package/lib/highlight-textarea/getRanges.d.ts +2 -0
- package/lib/highlight-textarea/getType.d.ts +2 -0
- package/lib/highlight-textarea/index.d.ts +12 -0
- package/lib/highlight-textarea/style/index.css +3 -7
- package/lib/highlight-textarea/style/index.d.ts +1 -0
- package/lib/highlight-textarea/types.d.ts +16 -0
- package/lib/highlight-words/index.d.ts +3 -0
- package/lib/highlight-words/style/index.d.ts +1 -0
- package/lib/img-crop/EasyCrop.d.ts +6 -0
- package/lib/img-crop/getCroppedImg.d.ts +6 -0
- package/lib/img-crop/index.d.ts +53 -0
- package/lib/img-crop/index.js +1 -1
- package/lib/img-crop/style/index.d.ts +3 -0
- package/lib/index.d.ts +72 -0
- package/lib/json-editor/index.d.ts +10 -0
- package/lib/json-editor/style/index.d.ts +2 -0
- package/lib/keep-tab/index.d.ts +29 -0
- package/lib/keep-tab/index.js +27 -25
- package/lib/keep-tab/style/index.css +6 -29
- package/lib/keep-tab/style/index.d.ts +2 -0
- package/lib/label-auto-complete/index.d.ts +8 -0
- package/lib/label-auto-complete/style/index.d.ts +2 -0
- package/lib/label-condition-input/index.d.ts +16 -0
- package/lib/label-condition-input/style/index.d.ts +1 -0
- package/lib/label-customize-range-picker/defaultRadioList.d.ts +25 -0
- package/lib/label-customize-range-picker/index.d.ts +20 -0
- package/lib/label-customize-range-picker/style/index.d.ts +5 -0
- package/lib/label-customize-range-picker/utils/index.d.ts +2 -0
- package/lib/label-date-picker/index.d.ts +7 -0
- package/lib/label-date-picker/style/index.d.ts +2 -0
- package/lib/label-input/index.d.ts +29 -0
- package/lib/label-input/style/index.d.ts +1 -0
- package/lib/label-number-input/index.d.ts +12 -0
- package/lib/label-number-input/style/index.d.ts +1 -0
- package/lib/label-range-picker/index.d.ts +8 -0
- package/lib/label-range-picker/style/index.d.ts +2 -0
- package/lib/label-select/index.d.ts +12 -0
- package/lib/label-select/style/index.d.ts +2 -0
- package/lib/label-text-area/index.d.ts +21 -0
- package/lib/label-text-area/style/index.d.ts +1 -0
- package/lib/label-tree-select/index.d.ts +11 -0
- package/lib/label-tree-select/style/index.d.ts +2 -0
- package/lib/messages/ar_EG.d.ts +26 -0
- package/lib/messages/bg_BG.d.ts +26 -0
- package/lib/messages/cs_CZ.d.ts +26 -0
- package/lib/messages/de_DE.d.ts +26 -0
- package/lib/messages/en_US.d.ts +26 -0
- package/lib/messages/es_ES.d.ts +26 -0
- package/lib/messages/fi_FI.d.ts +26 -0
- package/lib/messages/fr_FR.d.ts +26 -0
- package/lib/messages/id_ID.d.ts +26 -0
- package/lib/messages/index.d.ts +27 -0
- package/lib/messages/it_IT.d.ts +26 -0
- package/lib/messages/ja_JP.d.ts +26 -0
- package/lib/messages/ko_KR.d.ts +26 -0
- package/lib/messages/nb_NO.d.ts +26 -0
- package/lib/messages/nl_NL.d.ts +26 -0
- package/lib/messages/pt_PT.d.ts +26 -0
- package/lib/messages/ro_RO.d.ts +26 -0
- package/lib/messages/ru_RU.d.ts +26 -0
- package/lib/messages/sv_SE.d.ts +26 -0
- package/lib/messages/th_TH.d.ts +26 -0
- package/lib/messages/vi_VN.d.ts +26 -0
- package/lib/messages/zh_CN.d.ts +26 -0
- package/lib/messages/zh_TW.d.ts +26 -0
- package/lib/number-format-input/index.d.ts +5 -0
- package/lib/number-format-input/style/index.d.ts +1 -0
- package/lib/number-input/const/dataTypeEnum.d.ts +3 -0
- package/lib/number-input/const/numberType.d.ts +2 -0
- package/lib/number-input/index.d.ts +42 -0
- package/lib/number-input/style/index.d.ts +1 -0
- package/lib/number-input/utils.d.ts +10 -0
- package/lib/rc-echart/core.d.ts +29 -0
- package/lib/rc-echart/index.d.ts +19 -0
- package/lib/rc-echart/style/index.d.ts +1 -0
- package/lib/rc-motion/index.d.ts +4 -0
- package/lib/rc-motion/style/index.d.ts +1 -0
- package/lib/rc-qrcode/index.d.ts +21 -0
- package/lib/rc-qrcode/style/index.d.ts +1 -0
- package/lib/rc-qrcode/useQrcode.d.ts +4 -0
- package/lib/rc-transition-group/index.d.ts +2 -0
- package/lib/rc-transition-group/style/index.d.ts +1 -0
- package/lib/resizable/index.d.ts +4 -0
- package/lib/resizable/style/index.d.ts +1 -0
- package/lib/rich-text-editor/index.d.ts +37 -0
- package/lib/rich-text-editor/lang/zh_CN.d.ts +407 -0
- package/lib/rich-text-editor/plugins/code/index.d.ts +2 -0
- package/lib/rich-text-editor/style/index.d.ts +1 -0
- package/lib/single-img-upload/index.d.ts +22 -0
- package/lib/single-img-upload/style/index.d.ts +3 -0
- package/lib/sortable-hoc/index.d.ts +2 -0
- package/lib/sortable-hoc/style/index.d.ts +1 -0
- package/lib/split-pane/index.d.ts +59 -0
- package/lib/split-pane/style/index.d.ts +1 -0
- package/lib/step-number-input/const/countType.d.ts +2 -0
- package/lib/step-number-input/const/numberType.d.ts +2 -0
- package/lib/step-number-input/index.d.ts +43 -0
- package/lib/step-number-input/style/index.d.ts +2 -0
- package/lib/table-col/index.d.ts +8 -0
- package/lib/table-col/style/index.d.ts +1 -0
- package/lib/text-area/index.d.ts +12 -0
- package/lib/text-area/style/index.d.ts +1 -0
- package/lib/text-input/index.d.ts +5 -0
- package/lib/text-input/style/index.css +3 -7
- package/lib/text-input/style/index.d.ts +1 -0
- package/package.json +4 -4
|
@@ -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,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,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,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,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,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,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;
|
|
@@ -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;
|