antd-management-fast-component 2.1.1 → 2.1.3
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/bases/AbstractComponent/index.d.ts +122 -122
- package/es/bases/BaseComponent/index.d.ts +9 -9
- package/es/bases/index.d.ts +2 -2
- package/es/components/AnchorLink/index.d.ts +1 -1
- package/es/components/AnimalBox/FadeBox/index.d.ts +13 -13
- package/es/components/AnimalBox/QueueBox/index.d.ts +11 -11
- package/es/components/AnimalBox/QueueListBox/index.d.ts +14 -14
- package/es/components/AnimalBox/RotateBox/index.d.ts +13 -13
- package/es/components/AnimalBox/index.d.ts +4 -4
- package/es/components/ArticleListContent/index.d.ts +9 -9
- package/es/components/AudioUpload/index.d.ts +38 -38
- package/es/components/AvatarList/index.d.ts +17 -17
- package/es/components/Canvas/Bubbly/index.d.ts +19 -19
- package/es/components/Canvas/Core/index.d.ts +27 -27
- package/es/components/Canvas/RadarScanning/index.d.ts +19 -19
- package/es/components/Canvas/Spirit/index.d.ts +22 -22
- package/es/components/Canvas/index.d.ts +3 -3
- package/es/components/CenterBox/index.d.ts +6 -6
- package/es/components/ColorText/index.d.ts +21 -21
- package/es/components/CustomGrid/index.d.ts +10 -10
- package/es/components/DecorateAvatar/index.d.ts +36 -36
- package/es/components/DescriptionGrid/index.d.ts +10 -10
- package/es/components/DisplayCopyData/index.d.ts +9 -9
- package/es/components/EditableItem/index.d.ts +12 -12
- package/es/components/EditableLinkGroup/index.d.ts +21 -21
- package/es/components/Editor/TinymceWrapper/index.d.ts +18 -18
- package/es/components/Editor/index.d.ts +4 -4
- package/es/components/ElasticityButton/index.d.ts +30 -30
- package/es/components/ElasticityDropdown/index.d.ts +28 -28
- package/es/components/ElasticityListViewItemExtra/index.d.ts +12 -12
- package/es/components/ElasticityMenu/index.d.ts +11 -11
- package/es/components/ElasticityMenuHeader/index.d.ts +12 -12
- package/es/components/ElasticityRadioGroup/index.d.ts +18 -18
- package/es/components/ElasticityTagList/index.d.ts +9 -9
- package/es/components/ElasticityTreeSelect/index.d.ts +14 -14
- package/es/components/Ellipsis/index.d.ts +24 -24
- package/es/components/EllipsisCustom/index.d.ts +24 -24
- package/es/components/EverySpace/index.d.ts +15 -15
- package/es/components/FigureRange/index.d.ts +132 -132
- package/es/components/FileBase64Upload/index.d.ts +26 -26
- package/es/components/FileUpload/index.d.ts +34 -34
- package/es/components/FlexBox/index.d.ts +23 -23
- package/es/components/FlexRadio/index.d.ts +20 -20
- package/es/components/FlexSelect/index.d.ts +17 -17
- package/es/components/FlexText/index.d.ts +20 -20
- package/es/components/Footer/index.d.ts +3 -0
- package/es/components/FooterToolbar/index.d.ts +15 -15
- package/es/components/FormExtra/ActionItem/index.d.ts +11 -11
- package/es/components/FormExtra/ComponentItem/index.d.ts +15 -15
- package/es/components/FormExtra/DatePickerItem/index.d.ts +16 -16
- package/es/components/FormExtra/DisplayItem/index.d.ts +11 -11
- package/es/components/FormExtra/InputItem/index.d.ts +19 -19
- package/es/components/FormExtra/InputNumberItem/index.d.ts +18 -18
- package/es/components/FormExtra/Item/index.d.ts +1 -1
- package/es/components/FormExtra/ItemChildren/index.d.ts +1 -1
- package/es/components/FormExtra/NowTimeItem/index.d.ts +10 -10
- package/es/components/FormExtra/OnlyShowDatetimeItem/index.d.ts +12 -12
- package/es/components/FormExtra/OnlyShowInputItem/index.d.ts +17 -17
- package/es/components/FormExtra/OnlyShowTextareaItem/index.d.ts +15 -15
- package/es/components/FormExtra/PasswordItem/index.d.ts +16 -16
- package/es/components/FormExtra/RadioItem/index.d.ts +19 -19
- package/es/components/FormExtra/SelectItem/index.d.ts +19 -19
- package/es/components/FormExtra/SwitchItem/index.d.ts +16 -16
- package/es/components/FormExtra/SyntaxHighlighterItem/index.d.ts +16 -16
- package/es/components/FormExtra/TextAreaItem/index.d.ts +16 -16
- package/es/components/FormExtra/TextItem/index.d.ts +14 -14
- package/es/components/FormExtra/TimePickerItem/index.d.ts +16 -16
- package/es/components/FormExtra/index.d.ts +40 -40
- package/es/components/Function/Radio/index.d.ts +1 -1
- package/es/components/Function/Select/index.d.ts +1 -1
- package/es/components/Function/index.d.ts +2 -2
- package/es/components/FunctionComponent/ColumnList/index.d.ts +8 -8
- package/es/components/FunctionComponent/ComponentBuilder/index.d.ts +184 -184
- package/es/components/FunctionComponent/ConfigAssist/index.d.ts +20 -20
- package/es/components/FunctionComponent/FormBuilder/index.d.ts +179 -179
- package/es/components/FunctionComponent/SearchBuilder/index.d.ts +31 -31
- package/es/components/FunctionComponent/index.d.ts +5 -5
- package/es/components/FunctionSupplement/Whether/index.d.ts +42 -42
- package/es/components/FunctionSupplement/index.d.ts +4 -4
- package/es/components/GlobalFooter/index.d.ts +5 -5
- package/es/components/HelpBox/index.d.ts +17 -17
- package/es/components/HelpCard/index.d.ts +17 -17
- package/es/components/HiddenWrapper/index.d.ts +10 -10
- package/es/components/HtmlBox/index.d.ts +19 -19
- package/es/components/Icon/index.d.ts +130 -130
- package/es/components/IconFont/index.d.ts +1 -1
- package/es/components/IconInfo/index.d.ts +34 -34
- package/es/components/ImageBox/index.d.ts +72 -72
- package/es/components/ImageContentPreview/index.d.ts +32 -32
- package/es/components/ImageUpload/index.d.ts +45 -45
- package/es/components/JsonView/index.d.ts +10 -10
- package/es/components/MemoFunction/index.d.ts +7 -7
- package/es/components/MobileContainor/ContentView/index.d.ts +19 -19
- package/es/components/MobileContainor/Devices/GalaxyNote8/index.d.ts +18 -18
- package/es/components/MobileContainor/Devices/IPhone5S/index.d.ts +19 -19
- package/es/components/MobileContainor/Devices/Iphone8/index.d.ts +19 -19
- package/es/components/MobileContainor/Devices/Iphone8plus/index.d.ts +19 -19
- package/es/components/MobileContainor/Devices/IphoneX/index.d.ts +19 -19
- package/es/components/MobileContainor/Devices/RoughSketch/index.d.ts +18 -18
- package/es/components/MobileContainor/Devices/index.d.ts +6 -6
- package/es/components/MobileContainor/MobileSimulation/index.d.ts +23 -23
- package/es/components/MobileContainor/index.d.ts +4 -4
- package/es/components/NoticeIconCustom/NoticeList.d.ts +10 -10
- package/es/components/NoticeIconCustom/index.d.ts +25 -25
- package/es/components/NumberInfo/index.d.ts +11 -11
- package/es/components/PageExtra/BodyContent/index.d.ts +10 -10
- package/es/components/PageExtra/CardCollectionItemContent/index.d.ts +21 -21
- package/es/components/PageExtra/ContentBox/index.d.ts +14 -14
- package/es/components/PageExtra/ContentTabBox/index.d.ts +12 -12
- package/es/components/PageExtra/HeaderContent/index.d.ts +12 -12
- package/es/components/PageExtra/HeaderExtraContent/index.d.ts +12 -12
- package/es/components/PageExtra/HeaderSubTitle/index.d.ts +9 -9
- package/es/components/PageExtra/HeaderTagWrapper/index.d.ts +9 -9
- package/es/components/PageExtra/HeaderTitle/index.d.ts +10 -10
- package/es/components/PageExtra/HelpContent/index.d.ts +12 -12
- package/es/components/PageExtra/PageWrapper/index.d.ts +23 -23
- package/es/components/PageExtra/SiderBox/index.d.ts +10 -10
- package/es/components/PageExtra/TabBarExtraBox/index.d.ts +10 -10
- package/es/components/PageExtra/ToolBar/index.d.ts +11 -11
- package/es/components/PageExtra/index.d.ts +30 -30
- package/es/components/PageLoading/index.d.ts +1 -1
- package/es/components/PercentageBox/index.d.ts +11 -11
- package/es/components/PriceBox/index.d.ts +17 -17
- package/es/components/Result/Forbidden/index.d.ts +6 -6
- package/es/components/Result/Info/index.d.ts +6 -6
- package/es/components/Result/LocalError/index.d.ts +6 -6
- package/es/components/Result/NotFound/index.d.ts +6 -6
- package/es/components/Result/ServerError/index.d.ts +6 -6
- package/es/components/Result/Success/index.d.ts +6 -6
- package/es/components/Result/Warn/index.d.ts +6 -6
- package/es/components/Result/index.d.ts +16 -16
- package/es/components/RowExpandTable/index.d.ts +9 -9
- package/es/components/StandardFormRow/index.d.ts +8 -8
- package/es/components/StandardTable/index.d.ts +16 -16
- package/es/components/StandardTableCustom/index.d.ts +21 -21
- package/es/components/StatusBar/index.d.ts +12 -12
- package/es/components/SyntaxHighlighter/index.d.ts +11 -11
- package/es/components/TagSelect/index.d.ts +34 -34
- package/es/components/TimeLineCustom/index.d.ts +34 -34
- package/es/components/Trend/index.d.ts +9 -9
- package/es/components/VerticalBox/index.d.ts +14 -14
- package/es/components/VideoUpload/index.d.ts +38 -38
- package/es/components/index.d.ts +71 -70
- package/es/index.d.ts +2 -2
- package/es/index.js +3 -3
- package/package.json +25 -23
|
@@ -1,122 +1,122 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Refined PureComponent, it is usually used in load remote api scenarios
|
|
3
|
-
*/
|
|
4
|
-
export class AbstractComponent extends Component<any, any, any> {
|
|
5
|
-
static getDerivedStateFromProps(_nextProperties: any, _previousState: any): null;
|
|
6
|
-
constructor(properties: any);
|
|
7
|
-
mounted: boolean;
|
|
8
|
-
forceUpdateWhenChildrenChange: boolean;
|
|
9
|
-
/**
|
|
10
|
-
*显示render次数开关, 用于开发时候调试页面渲染性能
|
|
11
|
-
*/
|
|
12
|
-
showRenderCountInConsole: boolean;
|
|
13
|
-
showShouldComponentUpdateInConsole: string;
|
|
14
|
-
renderCount: number;
|
|
15
|
-
/**
|
|
16
|
-
* 用于组件内数据循环构建 key 时附加唯一前缀,有助于提升页面执行效率
|
|
17
|
-
*/
|
|
18
|
-
keyPrefix: string;
|
|
19
|
-
loadRemoteRequestAfterMount: boolean;
|
|
20
|
-
/**
|
|
21
|
-
* 需要登录后才能访问
|
|
22
|
-
*/
|
|
23
|
-
needSignIn: boolean;
|
|
24
|
-
autoRedirectToSignIn: boolean;
|
|
25
|
-
/**
|
|
26
|
-
* 权限数据
|
|
27
|
-
*/
|
|
28
|
-
componentAuthority: null;
|
|
29
|
-
componentName: string;
|
|
30
|
-
ignoreComparePropertyKeyCollection: any[];
|
|
31
|
-
state: {
|
|
32
|
-
error: null;
|
|
33
|
-
errorInfo: null;
|
|
34
|
-
counter: number;
|
|
35
|
-
dataLoading: boolean;
|
|
36
|
-
processing: boolean;
|
|
37
|
-
reloading: boolean;
|
|
38
|
-
searching: boolean;
|
|
39
|
-
refreshing: boolean;
|
|
40
|
-
paging: boolean;
|
|
41
|
-
firstLoadSuccess: boolean;
|
|
42
|
-
loadSuccess: boolean;
|
|
43
|
-
urlParams: null;
|
|
44
|
-
externalData: null;
|
|
45
|
-
};
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
componentDidCatchError(error: any, info: any): void;
|
|
49
|
-
getSnapshotBeforeUpdate(preProperties: any, preState: any): null;
|
|
50
|
-
componentDidUpdate(preProperties: any, preState: any, snapshot: any): void;
|
|
51
|
-
componentWillUnmount(): void;
|
|
52
|
-
judgeShowRenderCountInConsole: () => boolean;
|
|
53
|
-
increaseCounter(callback: any): void;
|
|
54
|
-
doDidMountTask: () => void;
|
|
55
|
-
checkAuthentication: () => boolean;
|
|
56
|
-
checkAuthorization: () => boolean;
|
|
57
|
-
doWorkWhenCheckNeedSignInDidMountFail: () => void;
|
|
58
|
-
doWorkWhenCheckPermissionFail: () => void;
|
|
59
|
-
doOtherCheckComponentUpdate: () => null;
|
|
60
|
-
doWorkBeforeAdjustDidMount: () => void;
|
|
61
|
-
doWorkAdjustDidMount: () => void;
|
|
62
|
-
doWorkAfterAdjustDidMount: () => void;
|
|
63
|
-
doWorkAfterDidMount: () => void;
|
|
64
|
-
doLoadRemoteRequest: () => void;
|
|
65
|
-
doOtherRemoteRequest: () => void;
|
|
66
|
-
doOtherWorkAfterDidMount: () => void;
|
|
67
|
-
doWorkBeforeUpdate: (nextProperties: any, nextState: any) => void;
|
|
68
|
-
doWorkWhenDidUpdate: (preProperties: any, preState: any, snapshot: any) => void;
|
|
69
|
-
doWorkWhenGetSnapshotBeforeUpdate: (preProperties: any, preState: any) => null;
|
|
70
|
-
doWhenCatchError: (error: any, info: any) => void;
|
|
71
|
-
doWorkBeforeUnmount: () => void;
|
|
72
|
-
doWorkAfterUnmount: () => void;
|
|
73
|
-
getMetaData: () => never;
|
|
74
|
-
dispatchApi: ({ type, payload, alias }: {
|
|
75
|
-
type: any;
|
|
76
|
-
payload: any;
|
|
77
|
-
alias?: string | undefined;
|
|
78
|
-
}) => any;
|
|
79
|
-
goToPath: (path: any) => void;
|
|
80
|
-
redirectToPath: (path: any) => void;
|
|
81
|
-
checkHasMore: (pageNo: any, pageSize: any, total: any) => boolean;
|
|
82
|
-
/**
|
|
83
|
-
* 当登录失败时调用
|
|
84
|
-
* @param {*} remoteData [object] 远程返回数据
|
|
85
|
-
* @param {*} callback [function] 登录失败回调函数
|
|
86
|
-
*/
|
|
87
|
-
doWhenAuthorizeFail: (remoteData: any, callback: any) => void;
|
|
88
|
-
/**
|
|
89
|
-
* 登录失败时的回调定义
|
|
90
|
-
* @param {Object} remoteData [object] 远程返回数据
|
|
91
|
-
*/
|
|
92
|
-
authorizeFailCallback: (remoteData: Object) => void;
|
|
93
|
-
showRenderCount(): void;
|
|
94
|
-
/**
|
|
95
|
-
* check loading progress,if loading or load fail,return false,else return true
|
|
96
|
-
* @returns bool
|
|
97
|
-
*/
|
|
98
|
-
checkLoadingProgress(): boolean;
|
|
99
|
-
/**
|
|
100
|
-
* check operability,if loading or or processing or load fail,return false,else return true
|
|
101
|
-
* @returns bool
|
|
102
|
-
*/
|
|
103
|
-
checkOperability(): boolean;
|
|
104
|
-
/**
|
|
105
|
-
* check in progress,if loading or or processing,return false,else return true
|
|
106
|
-
* @returns bool
|
|
107
|
-
*/
|
|
108
|
-
checkInProgress(): boolean;
|
|
109
|
-
renderFurther(): null;
|
|
110
|
-
/**
|
|
111
|
-
* render the practical view
|
|
112
|
-
*/
|
|
113
|
-
renderPracticalView(): null;
|
|
114
|
-
render(): null;
|
|
115
|
-
}
|
|
116
|
-
export namespace AbstractComponent {
|
|
117
|
-
namespace defaultProps {
|
|
118
|
-
const showRenderCount: boolean;
|
|
119
|
-
const hidden: boolean;
|
|
120
|
-
}
|
|
121
|
-
}
|
|
122
|
-
import { Component } from
|
|
1
|
+
/**
|
|
2
|
+
* Refined PureComponent, it is usually used in load remote api scenarios
|
|
3
|
+
*/
|
|
4
|
+
export class AbstractComponent extends Component<any, any, any> {
|
|
5
|
+
static getDerivedStateFromProps(_nextProperties: any, _previousState: any): null;
|
|
6
|
+
constructor(properties: any);
|
|
7
|
+
mounted: boolean;
|
|
8
|
+
forceUpdateWhenChildrenChange: boolean;
|
|
9
|
+
/**
|
|
10
|
+
*显示render次数开关, 用于开发时候调试页面渲染性能
|
|
11
|
+
*/
|
|
12
|
+
showRenderCountInConsole: boolean;
|
|
13
|
+
showShouldComponentUpdateInConsole: string;
|
|
14
|
+
renderCount: number;
|
|
15
|
+
/**
|
|
16
|
+
* 用于组件内数据循环构建 key 时附加唯一前缀,有助于提升页面执行效率
|
|
17
|
+
*/
|
|
18
|
+
keyPrefix: string;
|
|
19
|
+
loadRemoteRequestAfterMount: boolean;
|
|
20
|
+
/**
|
|
21
|
+
* 需要登录后才能访问
|
|
22
|
+
*/
|
|
23
|
+
needSignIn: boolean;
|
|
24
|
+
autoRedirectToSignIn: boolean;
|
|
25
|
+
/**
|
|
26
|
+
* 权限数据
|
|
27
|
+
*/
|
|
28
|
+
componentAuthority: null;
|
|
29
|
+
componentName: string;
|
|
30
|
+
ignoreComparePropertyKeyCollection: any[];
|
|
31
|
+
state: {
|
|
32
|
+
error: null;
|
|
33
|
+
errorInfo: null;
|
|
34
|
+
counter: number;
|
|
35
|
+
dataLoading: boolean;
|
|
36
|
+
processing: boolean;
|
|
37
|
+
reloading: boolean;
|
|
38
|
+
searching: boolean;
|
|
39
|
+
refreshing: boolean;
|
|
40
|
+
paging: boolean;
|
|
41
|
+
firstLoadSuccess: boolean;
|
|
42
|
+
loadSuccess: boolean;
|
|
43
|
+
urlParams: null;
|
|
44
|
+
externalData: null;
|
|
45
|
+
};
|
|
46
|
+
componentDidMount(): void;
|
|
47
|
+
shouldComponentUpdate(nextProperties: any, nextState: any): boolean;
|
|
48
|
+
componentDidCatchError(error: any, info: any): void;
|
|
49
|
+
getSnapshotBeforeUpdate(preProperties: any, preState: any): null;
|
|
50
|
+
componentDidUpdate(preProperties: any, preState: any, snapshot: any): void;
|
|
51
|
+
componentWillUnmount(): void;
|
|
52
|
+
judgeShowRenderCountInConsole: () => boolean;
|
|
53
|
+
increaseCounter(callback: any): void;
|
|
54
|
+
doDidMountTask: () => void;
|
|
55
|
+
checkAuthentication: () => boolean;
|
|
56
|
+
checkAuthorization: () => boolean;
|
|
57
|
+
doWorkWhenCheckNeedSignInDidMountFail: () => void;
|
|
58
|
+
doWorkWhenCheckPermissionFail: () => void;
|
|
59
|
+
doOtherCheckComponentUpdate: () => null;
|
|
60
|
+
doWorkBeforeAdjustDidMount: () => void;
|
|
61
|
+
doWorkAdjustDidMount: () => void;
|
|
62
|
+
doWorkAfterAdjustDidMount: () => void;
|
|
63
|
+
doWorkAfterDidMount: () => void;
|
|
64
|
+
doLoadRemoteRequest: () => void;
|
|
65
|
+
doOtherRemoteRequest: () => void;
|
|
66
|
+
doOtherWorkAfterDidMount: () => void;
|
|
67
|
+
doWorkBeforeUpdate: (nextProperties: any, nextState: any) => void;
|
|
68
|
+
doWorkWhenDidUpdate: (preProperties: any, preState: any, snapshot: any) => void;
|
|
69
|
+
doWorkWhenGetSnapshotBeforeUpdate: (preProperties: any, preState: any) => null;
|
|
70
|
+
doWhenCatchError: (error: any, info: any) => void;
|
|
71
|
+
doWorkBeforeUnmount: () => void;
|
|
72
|
+
doWorkAfterUnmount: () => void;
|
|
73
|
+
getMetaData: () => never;
|
|
74
|
+
dispatchApi: ({ type, payload, alias }: {
|
|
75
|
+
type: any;
|
|
76
|
+
payload: any;
|
|
77
|
+
alias?: string | undefined;
|
|
78
|
+
}) => any;
|
|
79
|
+
goToPath: (path: any) => void;
|
|
80
|
+
redirectToPath: (path: any) => void;
|
|
81
|
+
checkHasMore: (pageNo: any, pageSize: any, total: any) => boolean;
|
|
82
|
+
/**
|
|
83
|
+
* 当登录失败时调用
|
|
84
|
+
* @param {*} remoteData [object] 远程返回数据
|
|
85
|
+
* @param {*} callback [function] 登录失败回调函数
|
|
86
|
+
*/
|
|
87
|
+
doWhenAuthorizeFail: (remoteData: any, callback: any) => void;
|
|
88
|
+
/**
|
|
89
|
+
* 登录失败时的回调定义
|
|
90
|
+
* @param {Object} remoteData [object] 远程返回数据
|
|
91
|
+
*/
|
|
92
|
+
authorizeFailCallback: (remoteData: Object) => void;
|
|
93
|
+
showRenderCount(): void;
|
|
94
|
+
/**
|
|
95
|
+
* check loading progress,if loading or load fail,return false,else return true
|
|
96
|
+
* @returns bool
|
|
97
|
+
*/
|
|
98
|
+
checkLoadingProgress(): boolean;
|
|
99
|
+
/**
|
|
100
|
+
* check operability,if loading or or processing or load fail,return false,else return true
|
|
101
|
+
* @returns bool
|
|
102
|
+
*/
|
|
103
|
+
checkOperability(): boolean;
|
|
104
|
+
/**
|
|
105
|
+
* check in progress,if loading or or processing,return false,else return true
|
|
106
|
+
* @returns bool
|
|
107
|
+
*/
|
|
108
|
+
checkInProgress(): boolean;
|
|
109
|
+
renderFurther(): null;
|
|
110
|
+
/**
|
|
111
|
+
* render the practical view
|
|
112
|
+
*/
|
|
113
|
+
renderPracticalView(): null;
|
|
114
|
+
render(): null;
|
|
115
|
+
}
|
|
116
|
+
export namespace AbstractComponent {
|
|
117
|
+
namespace defaultProps {
|
|
118
|
+
const showRenderCount: boolean;
|
|
119
|
+
const hidden: boolean;
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
import { Component } from 'react';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export class BaseComponent extends AbstractComponent {
|
|
2
|
-
}
|
|
3
|
-
export namespace BaseComponent {
|
|
4
|
-
const defaultProps: {
|
|
5
|
-
showRenderCount: boolean;
|
|
6
|
-
hidden: boolean;
|
|
7
|
-
};
|
|
8
|
-
}
|
|
9
|
-
import { AbstractComponent } from
|
|
1
|
+
export class BaseComponent extends AbstractComponent {
|
|
2
|
+
}
|
|
3
|
+
export namespace BaseComponent {
|
|
4
|
+
const defaultProps: {
|
|
5
|
+
showRenderCount: boolean;
|
|
6
|
+
hidden: boolean;
|
|
7
|
+
};
|
|
8
|
+
}
|
|
9
|
+
import { AbstractComponent } from '../AbstractComponent';
|
package/es/bases/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from "./AbstractComponent";
|
|
2
|
-
export * from "./BaseComponent";
|
|
1
|
+
export * from "./AbstractComponent";
|
|
2
|
+
export * from "./BaseComponent";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export const AnchorLink: (properties: any) => JSX.Element;
|
|
1
|
+
export const AnchorLink: (properties: any) => JSX.Element;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
export class FadeBox extends React.PureComponent<any, any, any> {
|
|
2
|
-
constructor(props: any);
|
|
3
|
-
constructor(props: any, context: any);
|
|
4
|
-
render(): JSX.Element;
|
|
5
|
-
}
|
|
6
|
-
export namespace FadeBox {
|
|
7
|
-
namespace defaultProps {
|
|
8
|
-
const show: boolean;
|
|
9
|
-
const style: null;
|
|
10
|
-
const bodyStyle: null;
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
import React from
|
|
1
|
+
export class FadeBox extends React.PureComponent<any, any, any> {
|
|
2
|
+
constructor(props: any);
|
|
3
|
+
constructor(props: any, context: any);
|
|
4
|
+
render(): JSX.Element;
|
|
5
|
+
}
|
|
6
|
+
export namespace FadeBox {
|
|
7
|
+
namespace defaultProps {
|
|
8
|
+
const show: boolean;
|
|
9
|
+
const style: null;
|
|
10
|
+
const bodyStyle: null;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
import React from 'react';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export class QueueBox extends React.PureComponent<any, any, any> {
|
|
2
|
-
constructor(props: any);
|
|
3
|
-
constructor(props: any, context: any);
|
|
4
|
-
render(): JSX.Element;
|
|
5
|
-
}
|
|
6
|
-
export namespace QueueBox {
|
|
7
|
-
namespace defaultProps {
|
|
8
|
-
const show: boolean;
|
|
9
|
-
}
|
|
10
|
-
}
|
|
11
|
-
import React from
|
|
1
|
+
export class QueueBox extends React.PureComponent<any, any, any> {
|
|
2
|
+
constructor(props: any);
|
|
3
|
+
constructor(props: any, context: any);
|
|
4
|
+
render(): JSX.Element;
|
|
5
|
+
}
|
|
6
|
+
export namespace QueueBox {
|
|
7
|
+
namespace defaultProps {
|
|
8
|
+
const show: boolean;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
import React from 'react';
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
export class QueueListBox extends React.PureComponent<any, any, any> {
|
|
2
|
-
constructor(props: any);
|
|
3
|
-
constructor(props: any, context: any);
|
|
4
|
-
render(): JSX.Element;
|
|
5
|
-
}
|
|
6
|
-
export namespace QueueListBox {
|
|
7
|
-
namespace defaultProps {
|
|
8
|
-
const show: boolean;
|
|
9
|
-
const style: null;
|
|
10
|
-
const items: never[];
|
|
11
|
-
const itemStyle: null;
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
import React from
|
|
1
|
+
export class QueueListBox extends React.PureComponent<any, any, any> {
|
|
2
|
+
constructor(props: any);
|
|
3
|
+
constructor(props: any, context: any);
|
|
4
|
+
render(): JSX.Element;
|
|
5
|
+
}
|
|
6
|
+
export namespace QueueListBox {
|
|
7
|
+
namespace defaultProps {
|
|
8
|
+
const show: boolean;
|
|
9
|
+
const style: null;
|
|
10
|
+
const items: never[];
|
|
11
|
+
const itemStyle: null;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
import React from 'react';
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
export class RotateBox extends React.PureComponent<any, any, any> {
|
|
2
|
-
constructor(props: any);
|
|
3
|
-
constructor(props: any, context: any);
|
|
4
|
-
render(): JSX.Element;
|
|
5
|
-
}
|
|
6
|
-
export namespace RotateBox {
|
|
7
|
-
namespace defaultProps {
|
|
8
|
-
const rotate: number;
|
|
9
|
-
const duration: number;
|
|
10
|
-
const onClick: null;
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
import React from
|
|
1
|
+
export class RotateBox extends React.PureComponent<any, any, any> {
|
|
2
|
+
constructor(props: any);
|
|
3
|
+
constructor(props: any, context: any);
|
|
4
|
+
render(): JSX.Element;
|
|
5
|
+
}
|
|
6
|
+
export namespace RotateBox {
|
|
7
|
+
namespace defaultProps {
|
|
8
|
+
const rotate: number;
|
|
9
|
+
const duration: number;
|
|
10
|
+
const onClick: null;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
import React from 'react';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export * from "./FadeBox";
|
|
2
|
-
export * from "./QueueBox";
|
|
3
|
-
export * from "./QueueListBox";
|
|
4
|
-
export * from "./RotateBox";
|
|
1
|
+
export * from "./FadeBox";
|
|
2
|
+
export * from "./QueueBox";
|
|
3
|
+
export * from "./QueueListBox";
|
|
4
|
+
export * from "./RotateBox";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export function ArticleListContent({ data: { content, updatedAt, avatar, owner, href }, }: {
|
|
2
|
-
data: {
|
|
3
|
-
content: any;
|
|
4
|
-
updatedAt: any;
|
|
5
|
-
avatar: any;
|
|
6
|
-
owner: any;
|
|
7
|
-
href: any;
|
|
8
|
-
};
|
|
9
|
-
}): JSX.Element;
|
|
1
|
+
export function ArticleListContent({ data: { content, updatedAt, avatar, owner, href }, }: {
|
|
2
|
+
data: {
|
|
3
|
+
content: any;
|
|
4
|
+
updatedAt: any;
|
|
5
|
+
avatar: any;
|
|
6
|
+
owner: any;
|
|
7
|
+
href: any;
|
|
8
|
+
};
|
|
9
|
+
}): JSX.Element;
|
|
@@ -1,38 +1,38 @@
|
|
|
1
|
-
export class AudioUpload extends React.PureComponent<any, any, any> {
|
|
2
|
-
static getDerivedStateFromProps(nextProperties: any, previousState: any): {
|
|
3
|
-
audioSource: any;
|
|
4
|
-
audioUrl: any;
|
|
5
|
-
} | null;
|
|
6
|
-
constructor(properties: any);
|
|
7
|
-
state: {
|
|
8
|
-
audioSource: string;
|
|
9
|
-
audioUrl: string;
|
|
10
|
-
audioUrlTemp: string;
|
|
11
|
-
uploading: boolean;
|
|
12
|
-
previewVisible: boolean;
|
|
13
|
-
changeUrlVisible: boolean;
|
|
14
|
-
};
|
|
15
|
-
handleUploadCancel: () => void;
|
|
16
|
-
showPreviewModal: () => void;
|
|
17
|
-
showChangeUrlModal: () => void;
|
|
18
|
-
handleUrlChange: (event: any) => void;
|
|
19
|
-
handleChangeUrlOk: () => void;
|
|
20
|
-
handleChangeUrlCancel: () => void;
|
|
21
|
-
clearUrl: () => void;
|
|
22
|
-
beforeUpload: (file: any) => boolean;
|
|
23
|
-
handleUploadChange: (info: any) => void;
|
|
24
|
-
handleMenuClick: (event: any) => void;
|
|
25
|
-
render(): JSX.Element;
|
|
26
|
-
}
|
|
27
|
-
export namespace AudioUpload {
|
|
28
|
-
namespace defaultProps {
|
|
29
|
-
const action: string;
|
|
30
|
-
const disabled: boolean;
|
|
31
|
-
const tokenSet: {};
|
|
32
|
-
const audio: string;
|
|
33
|
-
const showPreview: boolean;
|
|
34
|
-
function pretreatmentRemoteResponse(): void;
|
|
35
|
-
function afterChangeSuccess(): void;
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
import React from
|
|
1
|
+
export class AudioUpload extends React.PureComponent<any, any, any> {
|
|
2
|
+
static getDerivedStateFromProps(nextProperties: any, previousState: any): {
|
|
3
|
+
audioSource: any;
|
|
4
|
+
audioUrl: any;
|
|
5
|
+
} | null;
|
|
6
|
+
constructor(properties: any);
|
|
7
|
+
state: {
|
|
8
|
+
audioSource: string;
|
|
9
|
+
audioUrl: string;
|
|
10
|
+
audioUrlTemp: string;
|
|
11
|
+
uploading: boolean;
|
|
12
|
+
previewVisible: boolean;
|
|
13
|
+
changeUrlVisible: boolean;
|
|
14
|
+
};
|
|
15
|
+
handleUploadCancel: () => void;
|
|
16
|
+
showPreviewModal: () => void;
|
|
17
|
+
showChangeUrlModal: () => void;
|
|
18
|
+
handleUrlChange: (event: any) => void;
|
|
19
|
+
handleChangeUrlOk: () => void;
|
|
20
|
+
handleChangeUrlCancel: () => void;
|
|
21
|
+
clearUrl: () => void;
|
|
22
|
+
beforeUpload: (file: any) => boolean;
|
|
23
|
+
handleUploadChange: (info: any) => void;
|
|
24
|
+
handleMenuClick: (event: any) => void;
|
|
25
|
+
render(): JSX.Element;
|
|
26
|
+
}
|
|
27
|
+
export namespace AudioUpload {
|
|
28
|
+
namespace defaultProps {
|
|
29
|
+
const action: string;
|
|
30
|
+
const disabled: boolean;
|
|
31
|
+
const tokenSet: {};
|
|
32
|
+
const audio: string;
|
|
33
|
+
const showPreview: boolean;
|
|
34
|
+
function pretreatmentRemoteResponse(): void;
|
|
35
|
+
function afterChangeSuccess(): void;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
import React from 'react';
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
export function AvatarList({ children, size, maxLength, excessItemsStyle, ...other }: {
|
|
2
|
-
[x: string]: any;
|
|
3
|
-
children: any;
|
|
4
|
-
size: any;
|
|
5
|
-
maxLength: any;
|
|
6
|
-
excessItemsStyle: any;
|
|
7
|
-
}): JSX.Element;
|
|
8
|
-
export namespace AvatarList {
|
|
9
|
-
export { Item };
|
|
10
|
-
}
|
|
11
|
-
declare function Item({ src, size, tips, onClick }: {
|
|
12
|
-
src: any;
|
|
13
|
-
size: any;
|
|
14
|
-
tips: any;
|
|
15
|
-
onClick?: (() => void) | undefined;
|
|
16
|
-
}): JSX.Element;
|
|
17
|
-
export {};
|
|
1
|
+
export function AvatarList({ children, size, maxLength, excessItemsStyle, ...other }: {
|
|
2
|
+
[x: string]: any;
|
|
3
|
+
children: any;
|
|
4
|
+
size: any;
|
|
5
|
+
maxLength: any;
|
|
6
|
+
excessItemsStyle: any;
|
|
7
|
+
}): JSX.Element;
|
|
8
|
+
export namespace AvatarList {
|
|
9
|
+
export { Item };
|
|
10
|
+
}
|
|
11
|
+
declare function Item({ src, size, tips, onClick }: {
|
|
12
|
+
src: any;
|
|
13
|
+
size: any;
|
|
14
|
+
tips: any;
|
|
15
|
+
onClick?: (() => void) | undefined;
|
|
16
|
+
}): JSX.Element;
|
|
17
|
+
export {};
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
export class Bubbly extends Core {
|
|
2
|
-
bubbleList: any[];
|
|
3
|
-
draw: () => void;
|
|
4
|
-
}
|
|
5
|
-
export namespace Bubbly {
|
|
6
|
-
namespace defaultProps {
|
|
7
|
-
const shadowColor: string;
|
|
8
|
-
const blur: number;
|
|
9
|
-
const colorStart: string;
|
|
10
|
-
const colorStop: string;
|
|
11
|
-
const animate: boolean;
|
|
12
|
-
const compose: string;
|
|
13
|
-
const bubbleFunc: null;
|
|
14
|
-
const radiusFunc: null;
|
|
15
|
-
const angleFunc: null;
|
|
16
|
-
const velocityFunc: null;
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
import { Core } from
|
|
1
|
+
export class Bubbly extends Core {
|
|
2
|
+
bubbleList: any[];
|
|
3
|
+
draw: () => void;
|
|
4
|
+
}
|
|
5
|
+
export namespace Bubbly {
|
|
6
|
+
namespace defaultProps {
|
|
7
|
+
const shadowColor: string;
|
|
8
|
+
const blur: number;
|
|
9
|
+
const colorStart: string;
|
|
10
|
+
const colorStop: string;
|
|
11
|
+
const animate: boolean;
|
|
12
|
+
const compose: string;
|
|
13
|
+
const bubbleFunc: null;
|
|
14
|
+
const radiusFunc: null;
|
|
15
|
+
const angleFunc: null;
|
|
16
|
+
const velocityFunc: null;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
import { Core } from '../Core';
|
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
export class Core extends React.PureComponent<any, any, any> {
|
|
2
|
-
constructor(properties: any);
|
|
3
|
-
state: {};
|
|
4
|
-
canvasContainerRef: React.RefObject<any>;
|
|
5
|
-
canvasRef: React.RefObject<any>;
|
|
6
|
-
canvasWidth: number;
|
|
7
|
-
canvasHeight: number;
|
|
8
|
-
componentDidMount(): void;
|
|
9
|
-
componentWillUnmount(): void;
|
|
10
|
-
getCanvasContainer: () => any;
|
|
11
|
-
getCanvas: () => any;
|
|
12
|
-
getCanvasContext: () => any;
|
|
13
|
-
doAfterDidMount: ({ canvasContext }: {
|
|
14
|
-
canvasContext: any;
|
|
15
|
-
}) => void;
|
|
16
|
-
resize: () => void;
|
|
17
|
-
buildContainorStyle: () => {
|
|
18
|
-
backgroundImage?: string | undefined;
|
|
19
|
-
};
|
|
20
|
-
render(): JSX.Element;
|
|
21
|
-
}
|
|
22
|
-
export namespace Core {
|
|
23
|
-
namespace defaultProps {
|
|
24
|
-
const backgroundImage: string;
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
import React from
|
|
1
|
+
export class Core extends React.PureComponent<any, any, any> {
|
|
2
|
+
constructor(properties: any);
|
|
3
|
+
state: {};
|
|
4
|
+
canvasContainerRef: React.RefObject<any>;
|
|
5
|
+
canvasRef: React.RefObject<any>;
|
|
6
|
+
canvasWidth: number;
|
|
7
|
+
canvasHeight: number;
|
|
8
|
+
componentDidMount(): void;
|
|
9
|
+
componentWillUnmount(): void;
|
|
10
|
+
getCanvasContainer: () => any;
|
|
11
|
+
getCanvas: () => any;
|
|
12
|
+
getCanvasContext: () => any;
|
|
13
|
+
doAfterDidMount: ({ canvasContext }: {
|
|
14
|
+
canvasContext: any;
|
|
15
|
+
}) => void;
|
|
16
|
+
resize: () => void;
|
|
17
|
+
buildContainorStyle: () => {
|
|
18
|
+
backgroundImage?: string | undefined;
|
|
19
|
+
};
|
|
20
|
+
render(): JSX.Element;
|
|
21
|
+
}
|
|
22
|
+
export namespace Core {
|
|
23
|
+
namespace defaultProps {
|
|
24
|
+
const backgroundImage: string;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
import React from 'react';
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
export class RadarScanning extends Core {
|
|
2
|
-
orbs: any[];
|
|
3
|
-
getTrail: () => boolean;
|
|
4
|
-
turnOnMove: () => void;
|
|
5
|
-
turnOffMove: () => void;
|
|
6
|
-
orbGo: (event: any) => void;
|
|
7
|
-
clear: () => void;
|
|
8
|
-
loop: () => void;
|
|
9
|
-
createOrb: (mx: any, my: any) => void;
|
|
10
|
-
drawOrb: (context: any, orb: any) => void;
|
|
11
|
-
createOrbByExist: (o: any) => any;
|
|
12
|
-
}
|
|
13
|
-
export namespace RadarScanning {
|
|
14
|
-
namespace defaultProps {
|
|
15
|
-
const number: number;
|
|
16
|
-
const trail: boolean;
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
import { Core } from
|
|
1
|
+
export class RadarScanning extends Core {
|
|
2
|
+
orbs: any[];
|
|
3
|
+
getTrail: () => boolean;
|
|
4
|
+
turnOnMove: () => void;
|
|
5
|
+
turnOffMove: () => void;
|
|
6
|
+
orbGo: (event: any) => void;
|
|
7
|
+
clear: () => void;
|
|
8
|
+
loop: () => void;
|
|
9
|
+
createOrb: (mx: any, my: any) => void;
|
|
10
|
+
drawOrb: (context: any, orb: any) => void;
|
|
11
|
+
createOrbByExist: (o: any) => any;
|
|
12
|
+
}
|
|
13
|
+
export namespace RadarScanning {
|
|
14
|
+
namespace defaultProps {
|
|
15
|
+
const number: number;
|
|
16
|
+
const trail: boolean;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
import { Core } from '../Core';
|