easy-soft-utility 2.7.19 → 2.7.21
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/index.js +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 +32 -32
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
|
+
let 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
|
+
let permission: string;
|
|
14
|
+
}
|
|
15
|
+
export { _super as super };
|
|
16
|
+
}
|
|
17
|
+
export namespace environmentCollection {
|
|
18
|
+
let ALIPAY: string;
|
|
19
|
+
let JD: string;
|
|
20
|
+
let QQ: string;
|
|
21
|
+
let RN: string;
|
|
22
|
+
let SWAN: string;
|
|
23
|
+
let TT: string;
|
|
24
|
+
let UNKNOWN: string;
|
|
25
|
+
let WEAPP: string;
|
|
26
|
+
let WEB: string;
|
|
27
|
+
}
|
|
28
|
+
export namespace alignHorizontal {
|
|
29
|
+
let center: string;
|
|
30
|
+
let left: string;
|
|
31
|
+
let right: string;
|
|
32
|
+
}
|
|
33
|
+
export namespace alignVertical {
|
|
34
|
+
let bottom: string;
|
|
35
|
+
let middle: string;
|
|
36
|
+
let top: string;
|
|
37
|
+
}
|
|
38
|
+
export namespace underlyingState {
|
|
39
|
+
let dataLoading: boolean;
|
|
40
|
+
let dispatchComplete: boolean;
|
|
41
|
+
let externalData: null;
|
|
42
|
+
let firstLoadSuccess: boolean;
|
|
43
|
+
let loadApiPath: string;
|
|
44
|
+
let loadSuccess: boolean;
|
|
45
|
+
let metaData: null;
|
|
46
|
+
let metaExtra: null;
|
|
47
|
+
let metaListData: never[];
|
|
48
|
+
let metaOriginalData: null;
|
|
49
|
+
let paging: boolean;
|
|
50
|
+
let processing: boolean;
|
|
51
|
+
let refreshing: boolean;
|
|
52
|
+
let registering: boolean;
|
|
53
|
+
let reloading: boolean;
|
|
54
|
+
let searching: boolean;
|
|
55
|
+
let urlParams: null;
|
|
56
|
+
}
|
|
57
|
+
export namespace underlyingExtensionState {
|
|
58
|
+
let dataLoading_1: boolean;
|
|
59
|
+
export { dataLoading_1 as dataLoading };
|
|
60
|
+
}
|
|
61
|
+
export namespace requestMode {
|
|
62
|
+
let real: string;
|
|
63
|
+
let simulation: string;
|
|
64
|
+
}
|
|
65
|
+
export namespace requestMethod {
|
|
66
|
+
export let get: string;
|
|
67
|
+
export let post: string;
|
|
68
|
+
export let put: string;
|
|
69
|
+
let _delete: string;
|
|
70
|
+
export { _delete as delete };
|
|
71
|
+
export let trace: string;
|
|
72
|
+
export let 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
|
+
let number: string;
|
|
88
|
+
let whetherNumber: string;
|
|
89
|
+
let whetherString: string;
|
|
90
|
+
let datetime: string;
|
|
91
|
+
let string: string;
|
|
92
|
+
let moment: string;
|
|
93
|
+
let money: string;
|
|
94
|
+
let array: string;
|
|
95
|
+
let boolean: string;
|
|
96
|
+
}
|
|
97
|
+
export namespace formatCollection {
|
|
98
|
+
let money_1: string;
|
|
99
|
+
export { money_1 as money };
|
|
100
|
+
let datetime_1: string;
|
|
101
|
+
export { datetime_1 as datetime };
|
|
102
|
+
export let chineseMoney: string;
|
|
103
|
+
export let percentage: string;
|
|
104
|
+
}
|
|
105
|
+
export namespace datetimeFormat {
|
|
106
|
+
let yearMonthDayHourMinuteSecond: string;
|
|
107
|
+
let yearMonthDayHourMinute: string;
|
|
108
|
+
let yearMonthDay: string;
|
|
109
|
+
let yearMonth: string;
|
|
110
|
+
let year: string;
|
|
111
|
+
let monthDayHourMinuteSecond: string;
|
|
112
|
+
let monthDayHourMinute: string;
|
|
113
|
+
let monthDay: string;
|
|
114
|
+
let hourMinute: string;
|
|
115
|
+
let hourMinuteSecond: string;
|
|
116
|
+
let month: string;
|
|
117
|
+
let day: string;
|
|
118
|
+
let hour: string;
|
|
119
|
+
let minute: string;
|
|
120
|
+
let second: string;
|
|
121
|
+
}
|
|
122
|
+
export namespace sortOperate {
|
|
123
|
+
let moveUp: string;
|
|
124
|
+
let moveDown: string;
|
|
125
|
+
}
|
|
126
|
+
export namespace whetherString {
|
|
127
|
+
let no: string;
|
|
128
|
+
let yes: string;
|
|
129
|
+
}
|
|
130
|
+
export namespace whetherNumber {
|
|
131
|
+
let no_1: number;
|
|
132
|
+
export { no_1 as no };
|
|
133
|
+
let yes_1: number;
|
|
134
|
+
export { yes_1 as yes };
|
|
135
|
+
}
|
|
136
|
+
export namespace logLevel {
|
|
137
|
+
let trace_1: string;
|
|
138
|
+
export { trace_1 as trace };
|
|
139
|
+
export let debug: string;
|
|
140
|
+
export let warn: string;
|
|
141
|
+
export let error: string;
|
|
142
|
+
export let exception: string;
|
|
143
|
+
export let info: string;
|
|
144
|
+
export let config: string;
|
|
145
|
+
export let execute: string;
|
|
146
|
+
export let stack: string;
|
|
147
|
+
export let develop: string;
|
|
148
|
+
export let callTrack: string;
|
|
149
|
+
export let callTrace: string;
|
|
150
|
+
export let render: string;
|
|
151
|
+
}
|
|
152
|
+
export namespace logDisplay {
|
|
153
|
+
let auto: string;
|
|
154
|
+
let text: string;
|
|
155
|
+
let object: string;
|
|
156
|
+
}
|
|
157
|
+
export namespace notificationTypeCollection {
|
|
158
|
+
export let open: string;
|
|
159
|
+
export let loading: string;
|
|
160
|
+
let info_1: string;
|
|
161
|
+
export { info_1 as info };
|
|
162
|
+
export let warning: string;
|
|
163
|
+
let warn_1: string;
|
|
164
|
+
export { warn_1 as warn };
|
|
165
|
+
export let success: string;
|
|
166
|
+
let error_1: string;
|
|
167
|
+
export { error_1 as error };
|
|
168
|
+
}
|
|
169
|
+
export namespace messageTypeCollection {
|
|
170
|
+
let open_1: string;
|
|
171
|
+
export { open_1 as open };
|
|
172
|
+
let loading_1: string;
|
|
173
|
+
export { loading_1 as loading };
|
|
174
|
+
let info_2: string;
|
|
175
|
+
export { info_2 as info };
|
|
176
|
+
let warning_1: string;
|
|
177
|
+
export { warning_1 as warning };
|
|
178
|
+
let warn_2: string;
|
|
179
|
+
export { warn_2 as warn };
|
|
180
|
+
let success_1: string;
|
|
181
|
+
export { success_1 as success };
|
|
182
|
+
let 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";
|