easy-soft-utility 2.7.21 → 2.7.22
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/index.d.ts +1 -1
- package/es/utils/accessWayAssist.d.ts +8 -8
- package/es/utils/applicationAssist.d.ts +26 -26
- package/es/utils/arrayAssist.d.ts +5 -5
- package/es/utils/authorityCacheAssist.d.ts +16 -16
- package/es/utils/authorityLocalAssist.d.ts +10 -10
- package/es/utils/base64.d.ts +11 -11
- package/es/utils/cacheAssist.d.ts +77 -77
- package/es/utils/calculate.d.ts +5 -5
- package/es/utils/checkAssist.d.ts +121 -121
- package/es/utils/colorAssist.d.ts +31 -31
- package/es/utils/common.d.ts +107 -107
- package/es/utils/componentAssist.d.ts +17 -17
- package/es/utils/constants.d.ts +192 -192
- package/es/utils/convertAssist.d.ts +58 -58
- package/es/utils/convertExtraAssist.d.ts +15 -15
- package/es/utils/currentOperatorAssist.d.ts +17 -17
- package/es/utils/datetime.d.ts +66 -66
- package/es/utils/definition.d.ts +4 -4
- package/es/utils/dvaAssist.d.ts +43 -43
- package/es/utils/formatAssist.d.ts +44 -44
- package/es/utils/htmlAssist.d.ts +4 -4
- package/es/utils/httpAssist.d.ts +1 -1
- package/es/utils/index.d.ts +40 -40
- package/es/utils/localMetaDataAssist.d.ts +17 -17
- package/es/utils/localStorageAssist.d.ts +57 -57
- package/es/utils/lodashTools.d.ts +87 -87
- package/es/utils/loggerAssist.d.ts +173 -173
- package/es/utils/messagePromptAssist.d.ts +212 -212
- package/es/utils/meta.d.ts +85 -85
- package/es/utils/modelAssist.d.ts +41 -41
- package/es/utils/navigationAssist.d.ts +14 -14
- package/es/utils/nearestLocalhostNotify.d.ts +9 -9
- package/es/utils/notificationPromptAssist.d.ts +177 -177
- package/es/utils/parametersDataAssist.d.ts +16 -16
- package/es/utils/progressAssist.d.ts +18 -18
- package/es/utils/promptAssist.d.ts +35 -35
- package/es/utils/queryString.d.ts +8 -8
- package/es/utils/requestAssist.d.ts +218 -218
- package/es/utils/runtimeAssist.d.ts +15 -15
- package/es/utils/sessionStorageAssist.d.ts +57 -57
- package/es/utils/tokenAssist.d.ts +21 -21
- package/es/utils/tools.d.ts +21 -21
- package/es/utils/userInterfaceGenerate.d.ts +17 -17
- package/package.json +16 -16
package/es/utils/common.d.ts
CHANGED
|
@@ -1,107 +1,107 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* 文本缩略
|
|
3
|
-
*/
|
|
4
|
-
export function ellipsis(value: any, length: any, symbol?: string): string;
|
|
5
|
-
/**
|
|
6
|
-
* Replace string with keep
|
|
7
|
-
*/
|
|
8
|
-
export function replaceWithKeep(text: any, replaceText: any, beforeKeepLength: any, afterKeepLength: any): string;
|
|
9
|
-
/**
|
|
10
|
-
* Sleep thread with ms
|
|
11
|
-
*/
|
|
12
|
-
export function sleep(n: any, callback: any): void;
|
|
13
|
-
/**
|
|
14
|
-
* Get value from object by path
|
|
15
|
-
*/
|
|
16
|
-
export function getPathValue(o: any, path: any, defaultValue?: null): any;
|
|
17
|
-
/**
|
|
18
|
-
* Remove end match string
|
|
19
|
-
* @param {string} target the string to be retrieved
|
|
20
|
-
* @param {string} match matching specification
|
|
21
|
-
*/
|
|
22
|
-
export function removeEndMatch(target: string, match: string): string;
|
|
23
|
-
/**
|
|
24
|
-
* Remove last match string
|
|
25
|
-
* @param {string} target the string to be retrieved
|
|
26
|
-
* @param {string} match matching specification
|
|
27
|
-
*/
|
|
28
|
-
export function removeLastMatch(target: string, match: string): string;
|
|
29
|
-
/**
|
|
30
|
-
* Get value with key from object, convert value taken from convertCollection, format value taken from formatCollection, convertBuilder priority greater than convert, formatBuilder priority greater than format,
|
|
31
|
-
*/
|
|
32
|
-
export function getValueByKey({ data, key, defaultValue, convert, convertBuilder, format, formatBuilder, }: {
|
|
33
|
-
data: any;
|
|
34
|
-
key: any;
|
|
35
|
-
defaultValue?: null | undefined;
|
|
36
|
-
convert?: null | undefined;
|
|
37
|
-
convertBuilder?: null | undefined;
|
|
38
|
-
format?: null | undefined;
|
|
39
|
-
formatBuilder?: null | undefined;
|
|
40
|
-
}): any;
|
|
41
|
-
/**
|
|
42
|
-
* Sort collection by key, the value must be number type, sortInitialValue mean begin sort if value greater than it.
|
|
43
|
-
* @param {Object} option options
|
|
44
|
-
* @param {string} option.operate operate must be in sortOperate.
|
|
45
|
-
* @param {Object} option.item the data will change sort.
|
|
46
|
-
* @param {Array} option.list all data collection.
|
|
47
|
-
* @param {string} option.key the key sort by key value
|
|
48
|
-
* @param {number} option.sortInitialValue the min sort
|
|
49
|
-
*/
|
|
50
|
-
export function sortCollectionByKey({ operate, item, list, key: sortKey, sortInitialValue, }: {
|
|
51
|
-
operate: string;
|
|
52
|
-
item: Object;
|
|
53
|
-
list: any[];
|
|
54
|
-
key: string;
|
|
55
|
-
sortInitialValue: number;
|
|
56
|
-
}): any[];
|
|
57
|
-
/**
|
|
58
|
-
* Transform list data with convert
|
|
59
|
-
*/
|
|
60
|
-
export function transformListData({ list, convert, recursiveKey, }: {
|
|
61
|
-
list?: any[] | undefined;
|
|
62
|
-
convert?: null | undefined;
|
|
63
|
-
recursiveKey?: string | undefined;
|
|
64
|
-
}): any[];
|
|
65
|
-
/**
|
|
66
|
-
* Transform data with convert
|
|
67
|
-
*/
|
|
68
|
-
export function transformData({ data, convert, recursiveKey, }: {
|
|
69
|
-
data: any;
|
|
70
|
-
convert?: null | undefined;
|
|
71
|
-
recursiveKey?: string | undefined;
|
|
72
|
-
}): any;
|
|
73
|
-
/**
|
|
74
|
-
* check exist in array
|
|
75
|
-
* @param {Array} array the array will be seek
|
|
76
|
-
* @param {Function} predicateFunction predicate function
|
|
77
|
-
* @param {number} fromIndex from index position, default is 0
|
|
78
|
-
*/
|
|
79
|
-
export function checkExist(array: any[], predicateFunction: Function, fromIndex?: number): boolean;
|
|
80
|
-
/**
|
|
81
|
-
* 处理已存储的远程接口列表数据中的指定键数据
|
|
82
|
-
* @param {Object} options 配置参数
|
|
83
|
-
* @param {Object} options.target 目标调用对象, 需要具备 state 以及 setState
|
|
84
|
-
* @param {string} options.value 目标对比值
|
|
85
|
-
* @param {Function} options.compareValueHandler 解析处列表项键值数据进行对比, 需返回待对比数据
|
|
86
|
-
* @param {Function} options.handler 处理对比命中的项的函数, 处理结果将被替换进列表
|
|
87
|
-
*/
|
|
88
|
-
export function handleItem({ target, value, compareValueHandler, handler }: {
|
|
89
|
-
target: Object;
|
|
90
|
-
value: string;
|
|
91
|
-
compareValueHandler: Function;
|
|
92
|
-
handler: Function;
|
|
93
|
-
}): void;
|
|
94
|
-
/**
|
|
95
|
-
* 处理数据集合中的匹配指定键值的数据
|
|
96
|
-
* @param {Object} options 配置参数
|
|
97
|
-
* @param {Object} options.list 数据集合
|
|
98
|
-
* @param {string} options.value 目标对比值
|
|
99
|
-
* @param {Function} options.compareValueHandler 解析处列表项键值数据进行对比, 需返回待对比数据
|
|
100
|
-
* @param {Function} options.handler 处理对比命中的项的函数, 处理结果将被替换进列表
|
|
101
|
-
*/
|
|
102
|
-
export function handleListItem({ list, value, compareValueHandler, handler }: {
|
|
103
|
-
list: Object;
|
|
104
|
-
value: string;
|
|
105
|
-
compareValueHandler: Function;
|
|
106
|
-
handler: Function;
|
|
107
|
-
}): Object | undefined;
|
|
1
|
+
/**
|
|
2
|
+
* 文本缩略
|
|
3
|
+
*/
|
|
4
|
+
export function ellipsis(value: any, length: any, symbol?: string): string;
|
|
5
|
+
/**
|
|
6
|
+
* Replace string with keep
|
|
7
|
+
*/
|
|
8
|
+
export function replaceWithKeep(text: any, replaceText: any, beforeKeepLength: any, afterKeepLength: any): string;
|
|
9
|
+
/**
|
|
10
|
+
* Sleep thread with ms
|
|
11
|
+
*/
|
|
12
|
+
export function sleep(n: any, callback: any): void;
|
|
13
|
+
/**
|
|
14
|
+
* Get value from object by path
|
|
15
|
+
*/
|
|
16
|
+
export function getPathValue(o: any, path: any, defaultValue?: null): any;
|
|
17
|
+
/**
|
|
18
|
+
* Remove end match string
|
|
19
|
+
* @param {string} target the string to be retrieved
|
|
20
|
+
* @param {string} match matching specification
|
|
21
|
+
*/
|
|
22
|
+
export function removeEndMatch(target: string, match: string): string;
|
|
23
|
+
/**
|
|
24
|
+
* Remove last match string
|
|
25
|
+
* @param {string} target the string to be retrieved
|
|
26
|
+
* @param {string} match matching specification
|
|
27
|
+
*/
|
|
28
|
+
export function removeLastMatch(target: string, match: string): string;
|
|
29
|
+
/**
|
|
30
|
+
* Get value with key from object, convert value taken from convertCollection, format value taken from formatCollection, convertBuilder priority greater than convert, formatBuilder priority greater than format,
|
|
31
|
+
*/
|
|
32
|
+
export function getValueByKey({ data, key, defaultValue, convert, convertBuilder, format, formatBuilder, }: {
|
|
33
|
+
data: any;
|
|
34
|
+
key: any;
|
|
35
|
+
defaultValue?: null | undefined;
|
|
36
|
+
convert?: null | undefined;
|
|
37
|
+
convertBuilder?: null | undefined;
|
|
38
|
+
format?: null | undefined;
|
|
39
|
+
formatBuilder?: null | undefined;
|
|
40
|
+
}): any;
|
|
41
|
+
/**
|
|
42
|
+
* Sort collection by key, the value must be number type, sortInitialValue mean begin sort if value greater than it.
|
|
43
|
+
* @param {Object} option options
|
|
44
|
+
* @param {string} option.operate operate must be in sortOperate.
|
|
45
|
+
* @param {Object} option.item the data will change sort.
|
|
46
|
+
* @param {Array} option.list all data collection.
|
|
47
|
+
* @param {string} option.key the key sort by key value
|
|
48
|
+
* @param {number} option.sortInitialValue the min sort
|
|
49
|
+
*/
|
|
50
|
+
export function sortCollectionByKey({ operate, item, list, key: sortKey, sortInitialValue, }: {
|
|
51
|
+
operate: string;
|
|
52
|
+
item: Object;
|
|
53
|
+
list: any[];
|
|
54
|
+
key: string;
|
|
55
|
+
sortInitialValue: number;
|
|
56
|
+
}): any[];
|
|
57
|
+
/**
|
|
58
|
+
* Transform list data with convert
|
|
59
|
+
*/
|
|
60
|
+
export function transformListData({ list, convert, recursiveKey, }: {
|
|
61
|
+
list?: any[] | undefined;
|
|
62
|
+
convert?: null | undefined;
|
|
63
|
+
recursiveKey?: string | undefined;
|
|
64
|
+
}): any[];
|
|
65
|
+
/**
|
|
66
|
+
* Transform data with convert
|
|
67
|
+
*/
|
|
68
|
+
export function transformData({ data, convert, recursiveKey, }: {
|
|
69
|
+
data: any;
|
|
70
|
+
convert?: null | undefined;
|
|
71
|
+
recursiveKey?: string | undefined;
|
|
72
|
+
}): any;
|
|
73
|
+
/**
|
|
74
|
+
* check exist in array
|
|
75
|
+
* @param {Array} array the array will be seek
|
|
76
|
+
* @param {Function} predicateFunction predicate function
|
|
77
|
+
* @param {number} fromIndex from index position, default is 0
|
|
78
|
+
*/
|
|
79
|
+
export function checkExist(array: any[], predicateFunction: Function, fromIndex?: number): boolean;
|
|
80
|
+
/**
|
|
81
|
+
* 处理已存储的远程接口列表数据中的指定键数据
|
|
82
|
+
* @param {Object} options 配置参数
|
|
83
|
+
* @param {Object} options.target 目标调用对象, 需要具备 state 以及 setState
|
|
84
|
+
* @param {string} options.value 目标对比值
|
|
85
|
+
* @param {Function} options.compareValueHandler 解析处列表项键值数据进行对比, 需返回待对比数据
|
|
86
|
+
* @param {Function} options.handler 处理对比命中的项的函数, 处理结果将被替换进列表
|
|
87
|
+
*/
|
|
88
|
+
export function handleItem({ target, value, compareValueHandler, handler }: {
|
|
89
|
+
target: Object;
|
|
90
|
+
value: string;
|
|
91
|
+
compareValueHandler: Function;
|
|
92
|
+
handler: Function;
|
|
93
|
+
}): void;
|
|
94
|
+
/**
|
|
95
|
+
* 处理数据集合中的匹配指定键值的数据
|
|
96
|
+
* @param {Object} options 配置参数
|
|
97
|
+
* @param {Object} options.list 数据集合
|
|
98
|
+
* @param {string} options.value 目标对比值
|
|
99
|
+
* @param {Function} options.compareValueHandler 解析处列表项键值数据进行对比, 需返回待对比数据
|
|
100
|
+
* @param {Function} options.handler 处理对比命中的项的函数, 处理结果将被替换进列表
|
|
101
|
+
*/
|
|
102
|
+
export function handleListItem({ list, value, compareValueHandler, handler }: {
|
|
103
|
+
list: Object;
|
|
104
|
+
value: string;
|
|
105
|
+
compareValueHandler: Function;
|
|
106
|
+
handler: Function;
|
|
107
|
+
}): Object | undefined;
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Merge props
|
|
3
|
-
* @param {*} items iterated value -> the items will be merged
|
|
4
|
-
*/
|
|
5
|
-
export function mergeProperties(...items: any): any;
|
|
6
|
-
/**
|
|
7
|
-
* Build style data to string
|
|
8
|
-
* @param {Object|string} style the style will be builded
|
|
9
|
-
*/
|
|
10
|
-
export function buildStringStyle(style: Object | string): string;
|
|
11
|
-
/**
|
|
12
|
-
* Merge style
|
|
13
|
-
* @param {Object|string} target the target style will be merged
|
|
14
|
-
* @param {Object|string} style the other style will be merged
|
|
15
|
-
*/
|
|
16
|
-
export function mergeStyle(target: Object | string, style: Object | string): string | Object;
|
|
17
|
-
export function attachPropertiesToComponent(component: any, properties: any): any;
|
|
1
|
+
/**
|
|
2
|
+
* Merge props
|
|
3
|
+
* @param {*} items iterated value -> the items will be merged
|
|
4
|
+
*/
|
|
5
|
+
export function mergeProperties(...items: any): any;
|
|
6
|
+
/**
|
|
7
|
+
* Build style data to string
|
|
8
|
+
* @param {Object|string} style the style will be builded
|
|
9
|
+
*/
|
|
10
|
+
export function buildStringStyle(style: Object | string): string;
|
|
11
|
+
/**
|
|
12
|
+
* Merge style
|
|
13
|
+
* @param {Object|string} target the target style will be merged
|
|
14
|
+
* @param {Object|string} style the other style will be merged
|
|
15
|
+
*/
|
|
16
|
+
export function mergeStyle(target: Object | string, style: Object | string): string | Object;
|
|
17
|
+
export function attachPropertiesToComponent(component: any, properties: any): any;
|
package/es/utils/constants.d.ts
CHANGED
|
@@ -1,192 +1,192 @@
|
|
|
1
|
-
export namespace modelGlobalCollection {
|
|
2
|
-
|
|
3
|
-
key: string;
|
|
4
|
-
flag: string;
|
|
5
|
-
name: string;
|
|
6
|
-
alias: string;
|
|
7
|
-
description: string;
|
|
8
|
-
availability: number;
|
|
9
|
-
}[];
|
|
10
|
-
}
|
|
11
|
-
export namespace accessWaySpecialCollection {
|
|
12
|
-
export namespace _super {
|
|
13
|
-
|
|
14
|
-
}
|
|
15
|
-
export { _super as super };
|
|
16
|
-
}
|
|
17
|
-
export namespace environmentCollection {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
}
|
|
28
|
-
export namespace alignHorizontal {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
}
|
|
33
|
-
export namespace alignVertical {
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
}
|
|
38
|
-
export namespace underlyingState {
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
}
|
|
57
|
-
export namespace underlyingExtensionState {
|
|
58
|
-
|
|
59
|
-
export { dataLoading_1 as dataLoading };
|
|
60
|
-
}
|
|
61
|
-
export namespace requestMode {
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
}
|
|
65
|
-
export namespace requestMethod {
|
|
66
|
-
export
|
|
67
|
-
export
|
|
68
|
-
export
|
|
69
|
-
|
|
70
|
-
export { _delete as delete };
|
|
71
|
-
export
|
|
72
|
-
export
|
|
73
|
-
}
|
|
74
|
-
/**
|
|
75
|
-
* '0'
|
|
76
|
-
*/
|
|
77
|
-
export const zeroString: "0";
|
|
78
|
-
/**
|
|
79
|
-
* 0
|
|
80
|
-
*/
|
|
81
|
-
export const zeroInt: 0;
|
|
82
|
-
/**
|
|
83
|
-
* 1970-01-01 00:00
|
|
84
|
-
*/
|
|
85
|
-
export const emptyDatetime: "1970-01-01 00:00";
|
|
86
|
-
export namespace convertCollection {
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
}
|
|
97
|
-
export namespace formatCollection {
|
|
98
|
-
|
|
99
|
-
export { money_1 as money };
|
|
100
|
-
|
|
101
|
-
export { datetime_1 as datetime };
|
|
102
|
-
export
|
|
103
|
-
export
|
|
104
|
-
}
|
|
105
|
-
export namespace datetimeFormat {
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
}
|
|
122
|
-
export namespace sortOperate {
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
}
|
|
126
|
-
export namespace whetherString {
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
}
|
|
130
|
-
export namespace whetherNumber {
|
|
131
|
-
|
|
132
|
-
export { no_1 as no };
|
|
133
|
-
|
|
134
|
-
export { yes_1 as yes };
|
|
135
|
-
}
|
|
136
|
-
export namespace logLevel {
|
|
137
|
-
|
|
138
|
-
export { trace_1 as trace };
|
|
139
|
-
export
|
|
140
|
-
export
|
|
141
|
-
export
|
|
142
|
-
export
|
|
143
|
-
export
|
|
144
|
-
export
|
|
145
|
-
export
|
|
146
|
-
export
|
|
147
|
-
export
|
|
148
|
-
export
|
|
149
|
-
export
|
|
150
|
-
export
|
|
151
|
-
}
|
|
152
|
-
export namespace logDisplay {
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
}
|
|
157
|
-
export namespace notificationTypeCollection {
|
|
158
|
-
export
|
|
159
|
-
export
|
|
160
|
-
|
|
161
|
-
export { info_1 as info };
|
|
162
|
-
export
|
|
163
|
-
|
|
164
|
-
export { warn_1 as warn };
|
|
165
|
-
export
|
|
166
|
-
|
|
167
|
-
export { error_1 as error };
|
|
168
|
-
}
|
|
169
|
-
export namespace messageTypeCollection {
|
|
170
|
-
|
|
171
|
-
export { open_1 as open };
|
|
172
|
-
|
|
173
|
-
export { loading_1 as loading };
|
|
174
|
-
|
|
175
|
-
export { info_2 as info };
|
|
176
|
-
|
|
177
|
-
export { warning_1 as warning };
|
|
178
|
-
|
|
179
|
-
export { warn_2 as warn };
|
|
180
|
-
|
|
181
|
-
export { success_1 as success };
|
|
182
|
-
|
|
183
|
-
export { error_2 as error };
|
|
184
|
-
}
|
|
185
|
-
/**
|
|
186
|
-
* A Simple Transparent Image
|
|
187
|
-
*/
|
|
188
|
-
export const transparentImage: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABLCAYAAACGGCK3AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAA0SURBVHhe7cExAQAAAMKg9U9tDQ8gAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIA3NXV7AAHfw7zWAAAAAElFTkSuQmCC";
|
|
189
|
-
/**
|
|
190
|
-
* error transparent Image
|
|
191
|
-
*/
|
|
192
|
-
export const errorImage: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABLCAYAAACGGCK3AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAA0SURBVHhe7cExAQAAAMKg9U9tDQ8gAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIA3NXV7AAHfw7zWAAAAAElFTkSuQmCC";
|
|
1
|
+
export namespace modelGlobalCollection {
|
|
2
|
+
const whetherList: {
|
|
3
|
+
key: string;
|
|
4
|
+
flag: string;
|
|
5
|
+
name: string;
|
|
6
|
+
alias: string;
|
|
7
|
+
description: string;
|
|
8
|
+
availability: number;
|
|
9
|
+
}[];
|
|
10
|
+
}
|
|
11
|
+
export namespace accessWaySpecialCollection {
|
|
12
|
+
export namespace _super {
|
|
13
|
+
const permission: string;
|
|
14
|
+
}
|
|
15
|
+
export { _super as super };
|
|
16
|
+
}
|
|
17
|
+
export namespace environmentCollection {
|
|
18
|
+
const ALIPAY: string;
|
|
19
|
+
const JD: string;
|
|
20
|
+
const QQ: string;
|
|
21
|
+
const RN: string;
|
|
22
|
+
const SWAN: string;
|
|
23
|
+
const TT: string;
|
|
24
|
+
const UNKNOWN: string;
|
|
25
|
+
const WEAPP: string;
|
|
26
|
+
const WEB: string;
|
|
27
|
+
}
|
|
28
|
+
export namespace alignHorizontal {
|
|
29
|
+
const center: string;
|
|
30
|
+
const left: string;
|
|
31
|
+
const right: string;
|
|
32
|
+
}
|
|
33
|
+
export namespace alignVertical {
|
|
34
|
+
const bottom: string;
|
|
35
|
+
const middle: string;
|
|
36
|
+
const top: string;
|
|
37
|
+
}
|
|
38
|
+
export namespace underlyingState {
|
|
39
|
+
const dataLoading: boolean;
|
|
40
|
+
const dispatchComplete: boolean;
|
|
41
|
+
const externalData: null;
|
|
42
|
+
const firstLoadSuccess: boolean;
|
|
43
|
+
const loadApiPath: string;
|
|
44
|
+
const loadSuccess: boolean;
|
|
45
|
+
const metaData: null;
|
|
46
|
+
const metaExtra: null;
|
|
47
|
+
const metaListData: never[];
|
|
48
|
+
const metaOriginalData: null;
|
|
49
|
+
const paging: boolean;
|
|
50
|
+
const processing: boolean;
|
|
51
|
+
const refreshing: boolean;
|
|
52
|
+
const registering: boolean;
|
|
53
|
+
const reloading: boolean;
|
|
54
|
+
const searching: boolean;
|
|
55
|
+
const urlParams: null;
|
|
56
|
+
}
|
|
57
|
+
export namespace underlyingExtensionState {
|
|
58
|
+
const dataLoading_1: boolean;
|
|
59
|
+
export { dataLoading_1 as dataLoading };
|
|
60
|
+
}
|
|
61
|
+
export namespace requestMode {
|
|
62
|
+
const real: string;
|
|
63
|
+
const simulation: string;
|
|
64
|
+
}
|
|
65
|
+
export namespace requestMethod {
|
|
66
|
+
export const get: string;
|
|
67
|
+
export const post: string;
|
|
68
|
+
export const put: string;
|
|
69
|
+
const _delete: string;
|
|
70
|
+
export { _delete as delete };
|
|
71
|
+
export const trace: string;
|
|
72
|
+
export const connect: string;
|
|
73
|
+
}
|
|
74
|
+
/**
|
|
75
|
+
* '0'
|
|
76
|
+
*/
|
|
77
|
+
export const zeroString: "0";
|
|
78
|
+
/**
|
|
79
|
+
* 0
|
|
80
|
+
*/
|
|
81
|
+
export const zeroInt: 0;
|
|
82
|
+
/**
|
|
83
|
+
* 1970-01-01 00:00
|
|
84
|
+
*/
|
|
85
|
+
export const emptyDatetime: "1970-01-01 00:00";
|
|
86
|
+
export namespace convertCollection {
|
|
87
|
+
const number: string;
|
|
88
|
+
const whetherNumber: string;
|
|
89
|
+
const whetherString: string;
|
|
90
|
+
const datetime: string;
|
|
91
|
+
const string: string;
|
|
92
|
+
const moment: string;
|
|
93
|
+
const money: string;
|
|
94
|
+
const array: string;
|
|
95
|
+
const boolean: string;
|
|
96
|
+
}
|
|
97
|
+
export namespace formatCollection {
|
|
98
|
+
const money_1: string;
|
|
99
|
+
export { money_1 as money };
|
|
100
|
+
const datetime_1: string;
|
|
101
|
+
export { datetime_1 as datetime };
|
|
102
|
+
export const chineseMoney: string;
|
|
103
|
+
export const percentage: string;
|
|
104
|
+
}
|
|
105
|
+
export namespace datetimeFormat {
|
|
106
|
+
const yearMonthDayHourMinuteSecond: string;
|
|
107
|
+
const yearMonthDayHourMinute: string;
|
|
108
|
+
const yearMonthDay: string;
|
|
109
|
+
const yearMonth: string;
|
|
110
|
+
const year: string;
|
|
111
|
+
const monthDayHourMinuteSecond: string;
|
|
112
|
+
const monthDayHourMinute: string;
|
|
113
|
+
const monthDay: string;
|
|
114
|
+
const hourMinute: string;
|
|
115
|
+
const hourMinuteSecond: string;
|
|
116
|
+
const month: string;
|
|
117
|
+
const day: string;
|
|
118
|
+
const hour: string;
|
|
119
|
+
const minute: string;
|
|
120
|
+
const second: string;
|
|
121
|
+
}
|
|
122
|
+
export namespace sortOperate {
|
|
123
|
+
const moveUp: string;
|
|
124
|
+
const moveDown: string;
|
|
125
|
+
}
|
|
126
|
+
export namespace whetherString {
|
|
127
|
+
const no: string;
|
|
128
|
+
const yes: string;
|
|
129
|
+
}
|
|
130
|
+
export namespace whetherNumber {
|
|
131
|
+
const no_1: number;
|
|
132
|
+
export { no_1 as no };
|
|
133
|
+
const yes_1: number;
|
|
134
|
+
export { yes_1 as yes };
|
|
135
|
+
}
|
|
136
|
+
export namespace logLevel {
|
|
137
|
+
const trace_1: string;
|
|
138
|
+
export { trace_1 as trace };
|
|
139
|
+
export const debug: string;
|
|
140
|
+
export const warn: string;
|
|
141
|
+
export const error: string;
|
|
142
|
+
export const exception: string;
|
|
143
|
+
export const info: string;
|
|
144
|
+
export const config: string;
|
|
145
|
+
export const execute: string;
|
|
146
|
+
export const stack: string;
|
|
147
|
+
export const develop: string;
|
|
148
|
+
export const callTrack: string;
|
|
149
|
+
export const callTrace: string;
|
|
150
|
+
export const render: string;
|
|
151
|
+
}
|
|
152
|
+
export namespace logDisplay {
|
|
153
|
+
const auto: string;
|
|
154
|
+
const text: string;
|
|
155
|
+
const object: string;
|
|
156
|
+
}
|
|
157
|
+
export namespace notificationTypeCollection {
|
|
158
|
+
export const open: string;
|
|
159
|
+
export const loading: string;
|
|
160
|
+
const info_1: string;
|
|
161
|
+
export { info_1 as info };
|
|
162
|
+
export const warning: string;
|
|
163
|
+
const warn_1: string;
|
|
164
|
+
export { warn_1 as warn };
|
|
165
|
+
export const success: string;
|
|
166
|
+
const error_1: string;
|
|
167
|
+
export { error_1 as error };
|
|
168
|
+
}
|
|
169
|
+
export namespace messageTypeCollection {
|
|
170
|
+
const open_1: string;
|
|
171
|
+
export { open_1 as open };
|
|
172
|
+
const loading_1: string;
|
|
173
|
+
export { loading_1 as loading };
|
|
174
|
+
const info_2: string;
|
|
175
|
+
export { info_2 as info };
|
|
176
|
+
const warning_1: string;
|
|
177
|
+
export { warning_1 as warning };
|
|
178
|
+
const warn_2: string;
|
|
179
|
+
export { warn_2 as warn };
|
|
180
|
+
const success_1: string;
|
|
181
|
+
export { success_1 as success };
|
|
182
|
+
const error_2: string;
|
|
183
|
+
export { error_2 as error };
|
|
184
|
+
}
|
|
185
|
+
/**
|
|
186
|
+
* A Simple Transparent Image
|
|
187
|
+
*/
|
|
188
|
+
export const transparentImage: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABLCAYAAACGGCK3AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAA0SURBVHhe7cExAQAAAMKg9U9tDQ8gAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIA3NXV7AAHfw7zWAAAAAElFTkSuQmCC";
|
|
189
|
+
/**
|
|
190
|
+
* error transparent Image
|
|
191
|
+
*/
|
|
192
|
+
export const errorImage: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABLCAYAAACGGCK3AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAA0SURBVHhe7cExAQAAAMKg9U9tDQ8gAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIA3NXV7AAHfw7zWAAAAAElFTkSuQmCC";
|