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
|
@@ -1,212 +1,212 @@
|
|
|
1
|
-
export function checkMessagePromptData({ text }: {
|
|
2
|
-
text: any;
|
|
3
|
-
}): boolean;
|
|
4
|
-
/**
|
|
5
|
-
* Set duration conversion ratio
|
|
6
|
-
* @param {number} ratio conversion ratio
|
|
7
|
-
*/
|
|
8
|
-
export function setDurationConversionRatio(ratio: number): void;
|
|
9
|
-
/**
|
|
10
|
-
* Set the open message display monitor
|
|
11
|
-
* @param {Function} callbackMonitor customize message display
|
|
12
|
-
*/
|
|
13
|
-
export function setOpenMessageDisplayMonitor(callbackMonitor: Function): void;
|
|
14
|
-
/**
|
|
15
|
-
* Set the loading message display monitor
|
|
16
|
-
* @param {Function} callbackMonitor customize message display
|
|
17
|
-
*/
|
|
18
|
-
export function setLoadingMessageDisplayMonitor(callbackMonitor: Function): void;
|
|
19
|
-
/**
|
|
20
|
-
* Set the info message display monitor
|
|
21
|
-
* @param {Function} callbackMonitor customize message display
|
|
22
|
-
*/
|
|
23
|
-
export function setInfoMessageDisplayMonitor(callbackMonitor: Function): void;
|
|
24
|
-
/**
|
|
25
|
-
* Set the warn message display monitor
|
|
26
|
-
* @param {Function} callbackMonitor customize message display
|
|
27
|
-
*/
|
|
28
|
-
export function setSuccessMessageDisplayMonitor(callbackMonitor: Function): void;
|
|
29
|
-
/**
|
|
30
|
-
* Set the warn message display monitor
|
|
31
|
-
* @param {Function} callbackMonitor customize message display
|
|
32
|
-
*/
|
|
33
|
-
export function setWarnMessageDisplayMonitor(callbackMonitor: Function): void;
|
|
34
|
-
/**
|
|
35
|
-
* Set the warning message display monitor
|
|
36
|
-
* @param {Function} callbackMonitor customize message display
|
|
37
|
-
*/
|
|
38
|
-
export function setWarningMessageDisplayMonitor(callbackMonitor: Function): void;
|
|
39
|
-
/**
|
|
40
|
-
* Set the error message display monitor
|
|
41
|
-
* @param {Function} callbackMonitor customize message display
|
|
42
|
-
*/
|
|
43
|
-
export function setErrorMessageDisplayMonitor(callbackMonitor: Function): void;
|
|
44
|
-
/**
|
|
45
|
-
* Show simple text open message with display monitor
|
|
46
|
-
* @param {string} text simple text message
|
|
47
|
-
*/
|
|
48
|
-
export function showSimpleOpenMessage(text: string): void;
|
|
49
|
-
/**
|
|
50
|
-
* Show open message with display monitor
|
|
51
|
-
* @param {Object} option message option
|
|
52
|
-
* @param {string} option.text message text
|
|
53
|
-
* @param {number} option.duration message duration time, default is 1500
|
|
54
|
-
* @param {Function} option.onClose onClose callback
|
|
55
|
-
*/
|
|
56
|
-
export function showOpenMessage({ text, duration, onClose }: {
|
|
57
|
-
text: string;
|
|
58
|
-
duration: number;
|
|
59
|
-
onClose: Function;
|
|
60
|
-
}): void;
|
|
61
|
-
/**
|
|
62
|
-
* Show simple text loading message with display monitor
|
|
63
|
-
* @param {string} text simple text message
|
|
64
|
-
*/
|
|
65
|
-
export function showSimpleLoadingMessage(text: string): void;
|
|
66
|
-
/**
|
|
67
|
-
* Show loading message with display monitor
|
|
68
|
-
* @param {Object} option message option
|
|
69
|
-
* @param {string} option.text message text
|
|
70
|
-
* @param {number} option.duration message duration time, default is 1500
|
|
71
|
-
* @param {Function} option.onClose onClose callback
|
|
72
|
-
*/
|
|
73
|
-
export function showLoadingMessage({ text, duration, onClose, }: {
|
|
74
|
-
text: string;
|
|
75
|
-
duration: number;
|
|
76
|
-
onClose: Function;
|
|
77
|
-
}): void;
|
|
78
|
-
/**
|
|
79
|
-
* Show simple text info message with display monitor
|
|
80
|
-
* @param {string} text simple text message
|
|
81
|
-
*/
|
|
82
|
-
export function showSimpleInfoMessage(text: string): void;
|
|
83
|
-
/**
|
|
84
|
-
* Show info message with display monitor
|
|
85
|
-
* @param {Object} option message option
|
|
86
|
-
* @param {string} option.text message text
|
|
87
|
-
* @param {number} option.duration message duration time, default is 1500
|
|
88
|
-
* @param {Function} option.onClose onClose callback
|
|
89
|
-
*/
|
|
90
|
-
export function showInfoMessage({ text, duration, onClose }: {
|
|
91
|
-
text: string;
|
|
92
|
-
duration: number;
|
|
93
|
-
onClose: Function;
|
|
94
|
-
}): void;
|
|
95
|
-
/**
|
|
96
|
-
* Show simple text success message with display monitor
|
|
97
|
-
* @param {string} text simple text message
|
|
98
|
-
*/
|
|
99
|
-
export function showSimpleSuccessMessage(text: string): void;
|
|
100
|
-
/**
|
|
101
|
-
* Show success message with display monitor
|
|
102
|
-
* @param {Object} option message option
|
|
103
|
-
* @param {string} option.text message text
|
|
104
|
-
* @param {number} option.duration message duration time, default is 1500
|
|
105
|
-
* @param {Function} option.onClose onClose callback
|
|
106
|
-
*/
|
|
107
|
-
export function showSuccessMessage({ text, duration, onClose, }: {
|
|
108
|
-
text: string;
|
|
109
|
-
duration: number;
|
|
110
|
-
onClose: Function;
|
|
111
|
-
}): void;
|
|
112
|
-
/**
|
|
113
|
-
* Show simple text warn message with display monitor
|
|
114
|
-
* @param {string} text simple text message
|
|
115
|
-
*/
|
|
116
|
-
export function showSimpleWarnMessage(text: string): void;
|
|
117
|
-
/**
|
|
118
|
-
* Show warn message with display monitor
|
|
119
|
-
* @param {Object} option message option
|
|
120
|
-
* @param {string} option.text message text
|
|
121
|
-
* @param {number} option.duration message duration time, default is 1500
|
|
122
|
-
* @param {Function} option.onClose onClose callback
|
|
123
|
-
*/
|
|
124
|
-
export function showWarnMessage({ text, duration, onClose }: {
|
|
125
|
-
text: string;
|
|
126
|
-
duration: number;
|
|
127
|
-
onClose: Function;
|
|
128
|
-
}): void;
|
|
129
|
-
/**
|
|
130
|
-
* Show simple text warning message with display monitor
|
|
131
|
-
* @param {string} text simple text message
|
|
132
|
-
*/
|
|
133
|
-
export function showSimpleWarningMessage(text: string): void;
|
|
134
|
-
/**
|
|
135
|
-
* Show warning message with display monitor
|
|
136
|
-
* @param {Object} option message option
|
|
137
|
-
* @param {string} option.text message text
|
|
138
|
-
* @param {number} option.duration message duration time, default is 1500
|
|
139
|
-
* @param {Function} option.onClose onClose callback
|
|
140
|
-
*/
|
|
141
|
-
export function showWarningMessage({ text, duration, onClose, }: {
|
|
142
|
-
text: string;
|
|
143
|
-
duration: number;
|
|
144
|
-
onClose: Function;
|
|
145
|
-
}): void;
|
|
146
|
-
/**
|
|
147
|
-
* Show simple text error message with display monitor
|
|
148
|
-
* @param {string} text simple text message
|
|
149
|
-
*/
|
|
150
|
-
export function showSimpleErrorMessage(text: string): void;
|
|
151
|
-
/**
|
|
152
|
-
* Show error message with display monitor
|
|
153
|
-
* @param {Object} option message option
|
|
154
|
-
* @param {string} option.text message text
|
|
155
|
-
* @param {number} option.duration message duration time, default is 1500
|
|
156
|
-
* @param {Function} option.onClose onClose callback
|
|
157
|
-
*/
|
|
158
|
-
export function showErrorMessage({ text, duration, onClose, }: {
|
|
159
|
-
text: string;
|
|
160
|
-
duration: number;
|
|
161
|
-
onClose: Function;
|
|
162
|
-
}): void;
|
|
163
|
-
/**
|
|
164
|
-
* Show simple runtime error message with display monitor
|
|
165
|
-
* @param {string} text simple text message
|
|
166
|
-
*/
|
|
167
|
-
export function showSimpleRuntimeError(text: string): void;
|
|
168
|
-
/**
|
|
169
|
-
* Show runtime error
|
|
170
|
-
*/
|
|
171
|
-
export function showRuntimeError({ text }: {
|
|
172
|
-
text: any;
|
|
173
|
-
}): void;
|
|
174
|
-
export namespace messagePromptAssist {
|
|
175
|
-
|
|
176
|
-
function showOpenMessage({ text, duration, onClose }: {
|
|
177
|
-
text: any;
|
|
178
|
-
duration?: number | undefined;
|
|
179
|
-
onClose?: (() => void) | undefined;
|
|
180
|
-
}): void;
|
|
181
|
-
function showLoadingMessage({ text, duration, onClose }: {
|
|
182
|
-
text: any;
|
|
183
|
-
duration?: number | undefined;
|
|
184
|
-
onClose?: (() => void) | undefined;
|
|
185
|
-
}): void;
|
|
186
|
-
function showInfoMessage({ text, duration, onClose }: {
|
|
187
|
-
text: any;
|
|
188
|
-
duration?: number | undefined;
|
|
189
|
-
onClose?: (() => void) | undefined;
|
|
190
|
-
}): void;
|
|
191
|
-
function showSuccessMessage({ text, duration, onClose }: {
|
|
192
|
-
text: any;
|
|
193
|
-
duration?: number | undefined;
|
|
194
|
-
onClose?: (() => void) | undefined;
|
|
195
|
-
}): void;
|
|
196
|
-
function showWarnMessage({ text, duration, onClose }: {
|
|
197
|
-
text: any;
|
|
198
|
-
duration?: number | undefined;
|
|
199
|
-
onClose?: (() => void) | undefined;
|
|
200
|
-
}): void;
|
|
201
|
-
function showWarningMessage({ text, duration, onClose }: {
|
|
202
|
-
text: any;
|
|
203
|
-
duration?: number | undefined;
|
|
204
|
-
onClose?: (() => void) | undefined;
|
|
205
|
-
}): void;
|
|
206
|
-
function showErrorMessage({ text, duration, onClose }: {
|
|
207
|
-
text: any;
|
|
208
|
-
duration?: number | undefined;
|
|
209
|
-
onClose?: (() => void) | undefined;
|
|
210
|
-
}): void;
|
|
211
|
-
|
|
212
|
-
}
|
|
1
|
+
export function checkMessagePromptData({ text }: {
|
|
2
|
+
text: any;
|
|
3
|
+
}): boolean;
|
|
4
|
+
/**
|
|
5
|
+
* Set duration conversion ratio
|
|
6
|
+
* @param {number} ratio conversion ratio
|
|
7
|
+
*/
|
|
8
|
+
export function setDurationConversionRatio(ratio: number): void;
|
|
9
|
+
/**
|
|
10
|
+
* Set the open message display monitor
|
|
11
|
+
* @param {Function} callbackMonitor customize message display
|
|
12
|
+
*/
|
|
13
|
+
export function setOpenMessageDisplayMonitor(callbackMonitor: Function): void;
|
|
14
|
+
/**
|
|
15
|
+
* Set the loading message display monitor
|
|
16
|
+
* @param {Function} callbackMonitor customize message display
|
|
17
|
+
*/
|
|
18
|
+
export function setLoadingMessageDisplayMonitor(callbackMonitor: Function): void;
|
|
19
|
+
/**
|
|
20
|
+
* Set the info message display monitor
|
|
21
|
+
* @param {Function} callbackMonitor customize message display
|
|
22
|
+
*/
|
|
23
|
+
export function setInfoMessageDisplayMonitor(callbackMonitor: Function): void;
|
|
24
|
+
/**
|
|
25
|
+
* Set the warn message display monitor
|
|
26
|
+
* @param {Function} callbackMonitor customize message display
|
|
27
|
+
*/
|
|
28
|
+
export function setSuccessMessageDisplayMonitor(callbackMonitor: Function): void;
|
|
29
|
+
/**
|
|
30
|
+
* Set the warn message display monitor
|
|
31
|
+
* @param {Function} callbackMonitor customize message display
|
|
32
|
+
*/
|
|
33
|
+
export function setWarnMessageDisplayMonitor(callbackMonitor: Function): void;
|
|
34
|
+
/**
|
|
35
|
+
* Set the warning message display monitor
|
|
36
|
+
* @param {Function} callbackMonitor customize message display
|
|
37
|
+
*/
|
|
38
|
+
export function setWarningMessageDisplayMonitor(callbackMonitor: Function): void;
|
|
39
|
+
/**
|
|
40
|
+
* Set the error message display monitor
|
|
41
|
+
* @param {Function} callbackMonitor customize message display
|
|
42
|
+
*/
|
|
43
|
+
export function setErrorMessageDisplayMonitor(callbackMonitor: Function): void;
|
|
44
|
+
/**
|
|
45
|
+
* Show simple text open message with display monitor
|
|
46
|
+
* @param {string} text simple text message
|
|
47
|
+
*/
|
|
48
|
+
export function showSimpleOpenMessage(text: string): void;
|
|
49
|
+
/**
|
|
50
|
+
* Show open message with display monitor
|
|
51
|
+
* @param {Object} option message option
|
|
52
|
+
* @param {string} option.text message text
|
|
53
|
+
* @param {number} option.duration message duration time, default is 1500
|
|
54
|
+
* @param {Function} option.onClose onClose callback
|
|
55
|
+
*/
|
|
56
|
+
export function showOpenMessage({ text, duration, onClose }: {
|
|
57
|
+
text: string;
|
|
58
|
+
duration: number;
|
|
59
|
+
onClose: Function;
|
|
60
|
+
}): void;
|
|
61
|
+
/**
|
|
62
|
+
* Show simple text loading message with display monitor
|
|
63
|
+
* @param {string} text simple text message
|
|
64
|
+
*/
|
|
65
|
+
export function showSimpleLoadingMessage(text: string): void;
|
|
66
|
+
/**
|
|
67
|
+
* Show loading message with display monitor
|
|
68
|
+
* @param {Object} option message option
|
|
69
|
+
* @param {string} option.text message text
|
|
70
|
+
* @param {number} option.duration message duration time, default is 1500
|
|
71
|
+
* @param {Function} option.onClose onClose callback
|
|
72
|
+
*/
|
|
73
|
+
export function showLoadingMessage({ text, duration, onClose, }: {
|
|
74
|
+
text: string;
|
|
75
|
+
duration: number;
|
|
76
|
+
onClose: Function;
|
|
77
|
+
}): void;
|
|
78
|
+
/**
|
|
79
|
+
* Show simple text info message with display monitor
|
|
80
|
+
* @param {string} text simple text message
|
|
81
|
+
*/
|
|
82
|
+
export function showSimpleInfoMessage(text: string): void;
|
|
83
|
+
/**
|
|
84
|
+
* Show info message with display monitor
|
|
85
|
+
* @param {Object} option message option
|
|
86
|
+
* @param {string} option.text message text
|
|
87
|
+
* @param {number} option.duration message duration time, default is 1500
|
|
88
|
+
* @param {Function} option.onClose onClose callback
|
|
89
|
+
*/
|
|
90
|
+
export function showInfoMessage({ text, duration, onClose }: {
|
|
91
|
+
text: string;
|
|
92
|
+
duration: number;
|
|
93
|
+
onClose: Function;
|
|
94
|
+
}): void;
|
|
95
|
+
/**
|
|
96
|
+
* Show simple text success message with display monitor
|
|
97
|
+
* @param {string} text simple text message
|
|
98
|
+
*/
|
|
99
|
+
export function showSimpleSuccessMessage(text: string): void;
|
|
100
|
+
/**
|
|
101
|
+
* Show success message with display monitor
|
|
102
|
+
* @param {Object} option message option
|
|
103
|
+
* @param {string} option.text message text
|
|
104
|
+
* @param {number} option.duration message duration time, default is 1500
|
|
105
|
+
* @param {Function} option.onClose onClose callback
|
|
106
|
+
*/
|
|
107
|
+
export function showSuccessMessage({ text, duration, onClose, }: {
|
|
108
|
+
text: string;
|
|
109
|
+
duration: number;
|
|
110
|
+
onClose: Function;
|
|
111
|
+
}): void;
|
|
112
|
+
/**
|
|
113
|
+
* Show simple text warn message with display monitor
|
|
114
|
+
* @param {string} text simple text message
|
|
115
|
+
*/
|
|
116
|
+
export function showSimpleWarnMessage(text: string): void;
|
|
117
|
+
/**
|
|
118
|
+
* Show warn message with display monitor
|
|
119
|
+
* @param {Object} option message option
|
|
120
|
+
* @param {string} option.text message text
|
|
121
|
+
* @param {number} option.duration message duration time, default is 1500
|
|
122
|
+
* @param {Function} option.onClose onClose callback
|
|
123
|
+
*/
|
|
124
|
+
export function showWarnMessage({ text, duration, onClose }: {
|
|
125
|
+
text: string;
|
|
126
|
+
duration: number;
|
|
127
|
+
onClose: Function;
|
|
128
|
+
}): void;
|
|
129
|
+
/**
|
|
130
|
+
* Show simple text warning message with display monitor
|
|
131
|
+
* @param {string} text simple text message
|
|
132
|
+
*/
|
|
133
|
+
export function showSimpleWarningMessage(text: string): void;
|
|
134
|
+
/**
|
|
135
|
+
* Show warning message with display monitor
|
|
136
|
+
* @param {Object} option message option
|
|
137
|
+
* @param {string} option.text message text
|
|
138
|
+
* @param {number} option.duration message duration time, default is 1500
|
|
139
|
+
* @param {Function} option.onClose onClose callback
|
|
140
|
+
*/
|
|
141
|
+
export function showWarningMessage({ text, duration, onClose, }: {
|
|
142
|
+
text: string;
|
|
143
|
+
duration: number;
|
|
144
|
+
onClose: Function;
|
|
145
|
+
}): void;
|
|
146
|
+
/**
|
|
147
|
+
* Show simple text error message with display monitor
|
|
148
|
+
* @param {string} text simple text message
|
|
149
|
+
*/
|
|
150
|
+
export function showSimpleErrorMessage(text: string): void;
|
|
151
|
+
/**
|
|
152
|
+
* Show error message with display monitor
|
|
153
|
+
* @param {Object} option message option
|
|
154
|
+
* @param {string} option.text message text
|
|
155
|
+
* @param {number} option.duration message duration time, default is 1500
|
|
156
|
+
* @param {Function} option.onClose onClose callback
|
|
157
|
+
*/
|
|
158
|
+
export function showErrorMessage({ text, duration, onClose, }: {
|
|
159
|
+
text: string;
|
|
160
|
+
duration: number;
|
|
161
|
+
onClose: Function;
|
|
162
|
+
}): void;
|
|
163
|
+
/**
|
|
164
|
+
* Show simple runtime error message with display monitor
|
|
165
|
+
* @param {string} text simple text message
|
|
166
|
+
*/
|
|
167
|
+
export function showSimpleRuntimeError(text: string): void;
|
|
168
|
+
/**
|
|
169
|
+
* Show runtime error
|
|
170
|
+
*/
|
|
171
|
+
export function showRuntimeError({ text }: {
|
|
172
|
+
text: any;
|
|
173
|
+
}): void;
|
|
174
|
+
export namespace messagePromptAssist {
|
|
175
|
+
let durationConversionRatio: number;
|
|
176
|
+
function showOpenMessage({ text, duration, onClose }: {
|
|
177
|
+
text: any;
|
|
178
|
+
duration?: number | undefined;
|
|
179
|
+
onClose?: (() => void) | undefined;
|
|
180
|
+
}): void;
|
|
181
|
+
function showLoadingMessage({ text, duration, onClose }: {
|
|
182
|
+
text: any;
|
|
183
|
+
duration?: number | undefined;
|
|
184
|
+
onClose?: (() => void) | undefined;
|
|
185
|
+
}): void;
|
|
186
|
+
function showInfoMessage({ text, duration, onClose }: {
|
|
187
|
+
text: any;
|
|
188
|
+
duration?: number | undefined;
|
|
189
|
+
onClose?: (() => void) | undefined;
|
|
190
|
+
}): void;
|
|
191
|
+
function showSuccessMessage({ text, duration, onClose }: {
|
|
192
|
+
text: any;
|
|
193
|
+
duration?: number | undefined;
|
|
194
|
+
onClose?: (() => void) | undefined;
|
|
195
|
+
}): void;
|
|
196
|
+
function showWarnMessage({ text, duration, onClose }: {
|
|
197
|
+
text: any;
|
|
198
|
+
duration?: number | undefined;
|
|
199
|
+
onClose?: (() => void) | undefined;
|
|
200
|
+
}): void;
|
|
201
|
+
function showWarningMessage({ text, duration, onClose }: {
|
|
202
|
+
text: any;
|
|
203
|
+
duration?: number | undefined;
|
|
204
|
+
onClose?: (() => void) | undefined;
|
|
205
|
+
}): void;
|
|
206
|
+
function showErrorMessage({ text, duration, onClose }: {
|
|
207
|
+
text: any;
|
|
208
|
+
duration?: number | undefined;
|
|
209
|
+
onClose?: (() => void) | undefined;
|
|
210
|
+
}): void;
|
|
211
|
+
let setErrorMessageDisplayMonitorComplete: boolean;
|
|
212
|
+
}
|
package/es/utils/meta.d.ts
CHANGED
|
@@ -1,85 +1,85 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Calculate the value of the expression
|
|
3
|
-
* @param {Function} functionExpression
|
|
4
|
-
*/
|
|
5
|
-
export function evil(functionExpression: Function): any;
|
|
6
|
-
export function isBrowser(): boolean;
|
|
7
|
-
/**
|
|
8
|
-
* check current is dark mode
|
|
9
|
-
*/
|
|
10
|
-
export function checkDarkMode(): boolean;
|
|
11
|
-
/**
|
|
12
|
-
* Get browser version
|
|
13
|
-
*/
|
|
14
|
-
export function getBrowserVersion(): {
|
|
15
|
-
trident: boolean;
|
|
16
|
-
presto: boolean;
|
|
17
|
-
webKit: boolean;
|
|
18
|
-
gecko: boolean;
|
|
19
|
-
mobile: boolean;
|
|
20
|
-
ios: boolean;
|
|
21
|
-
android: boolean;
|
|
22
|
-
iPhone: boolean;
|
|
23
|
-
iPad: boolean;
|
|
24
|
-
webApp: boolean;
|
|
25
|
-
};
|
|
26
|
-
/**
|
|
27
|
-
* Get browser info
|
|
28
|
-
*/
|
|
29
|
-
export function getBrowserInfo(): {
|
|
30
|
-
versions: {
|
|
31
|
-
trident: boolean;
|
|
32
|
-
presto: boolean;
|
|
33
|
-
webKit: boolean;
|
|
34
|
-
gecko: boolean;
|
|
35
|
-
mobile: boolean;
|
|
36
|
-
ios: boolean;
|
|
37
|
-
android: boolean;
|
|
38
|
-
iPhone: boolean;
|
|
39
|
-
iPad: boolean;
|
|
40
|
-
webApp: boolean;
|
|
41
|
-
};
|
|
42
|
-
language: any;
|
|
43
|
-
};
|
|
44
|
-
/**
|
|
45
|
-
* stringify Json ignore circular
|
|
46
|
-
*/
|
|
47
|
-
export function stringifyJson(jsonData: any): string;
|
|
48
|
-
/**
|
|
49
|
-
* Get random seed
|
|
50
|
-
*/
|
|
51
|
-
export function seededRandom({ seed, min, max }: {
|
|
52
|
-
seed: any;
|
|
53
|
-
min: any;
|
|
54
|
-
max: any;
|
|
55
|
-
}): any;
|
|
56
|
-
export function cloneWithoutMethod(value: any): any;
|
|
57
|
-
/**
|
|
58
|
-
* Refit common data
|
|
59
|
-
*/
|
|
60
|
-
export function refitCommonData(listData: any, empty: any, otherListData: any): any[];
|
|
61
|
-
/**
|
|
62
|
-
* Refit field decorator option
|
|
63
|
-
*/
|
|
64
|
-
export function refitFieldDecoratorOption(v: any, justice: any, defaultValue: any, originalOption: any, convertCallback: any): any;
|
|
65
|
-
/**
|
|
66
|
-
* Search from list
|
|
67
|
-
*/
|
|
68
|
-
export function searchFromList(itemKey: any, itemValue: any, sourceData: any): any;
|
|
69
|
-
/**
|
|
70
|
-
* get GUID string, eg like "a975c91c-2118-44bb-998b-992ece11f666"
|
|
71
|
-
*/
|
|
72
|
-
export function getGuid(): string;
|
|
73
|
-
/**
|
|
74
|
-
* Check if more data is available for paging scenarios
|
|
75
|
-
*/
|
|
76
|
-
export function checkHasMore({ pageNo, pageSize, total }: {
|
|
77
|
-
pageNo: any;
|
|
78
|
-
pageSize: any;
|
|
79
|
-
total: any;
|
|
80
|
-
}): boolean;
|
|
81
|
-
/**
|
|
82
|
-
* Check current runtime environment whether development environment
|
|
83
|
-
*/
|
|
84
|
-
export function checkWhetherDevelopmentEnvironment(): boolean;
|
|
85
|
-
export function getValue(object: any): string;
|
|
1
|
+
/**
|
|
2
|
+
* Calculate the value of the expression
|
|
3
|
+
* @param {Function} functionExpression
|
|
4
|
+
*/
|
|
5
|
+
export function evil(functionExpression: Function): any;
|
|
6
|
+
export function isBrowser(): boolean;
|
|
7
|
+
/**
|
|
8
|
+
* check current is dark mode
|
|
9
|
+
*/
|
|
10
|
+
export function checkDarkMode(): boolean;
|
|
11
|
+
/**
|
|
12
|
+
* Get browser version
|
|
13
|
+
*/
|
|
14
|
+
export function getBrowserVersion(): {
|
|
15
|
+
trident: boolean;
|
|
16
|
+
presto: boolean;
|
|
17
|
+
webKit: boolean;
|
|
18
|
+
gecko: boolean;
|
|
19
|
+
mobile: boolean;
|
|
20
|
+
ios: boolean;
|
|
21
|
+
android: boolean;
|
|
22
|
+
iPhone: boolean;
|
|
23
|
+
iPad: boolean;
|
|
24
|
+
webApp: boolean;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* Get browser info
|
|
28
|
+
*/
|
|
29
|
+
export function getBrowserInfo(): {
|
|
30
|
+
versions: {
|
|
31
|
+
trident: boolean;
|
|
32
|
+
presto: boolean;
|
|
33
|
+
webKit: boolean;
|
|
34
|
+
gecko: boolean;
|
|
35
|
+
mobile: boolean;
|
|
36
|
+
ios: boolean;
|
|
37
|
+
android: boolean;
|
|
38
|
+
iPhone: boolean;
|
|
39
|
+
iPad: boolean;
|
|
40
|
+
webApp: boolean;
|
|
41
|
+
};
|
|
42
|
+
language: any;
|
|
43
|
+
};
|
|
44
|
+
/**
|
|
45
|
+
* stringify Json ignore circular
|
|
46
|
+
*/
|
|
47
|
+
export function stringifyJson(jsonData: any): string;
|
|
48
|
+
/**
|
|
49
|
+
* Get random seed
|
|
50
|
+
*/
|
|
51
|
+
export function seededRandom({ seed, min, max }: {
|
|
52
|
+
seed: any;
|
|
53
|
+
min: any;
|
|
54
|
+
max: any;
|
|
55
|
+
}): any;
|
|
56
|
+
export function cloneWithoutMethod(value: any): any;
|
|
57
|
+
/**
|
|
58
|
+
* Refit common data
|
|
59
|
+
*/
|
|
60
|
+
export function refitCommonData(listData: any, empty: any, otherListData: any): any[];
|
|
61
|
+
/**
|
|
62
|
+
* Refit field decorator option
|
|
63
|
+
*/
|
|
64
|
+
export function refitFieldDecoratorOption(v: any, justice: any, defaultValue: any, originalOption: any, convertCallback: any): any;
|
|
65
|
+
/**
|
|
66
|
+
* Search from list
|
|
67
|
+
*/
|
|
68
|
+
export function searchFromList(itemKey: any, itemValue: any, sourceData: any): any;
|
|
69
|
+
/**
|
|
70
|
+
* get GUID string, eg like "a975c91c-2118-44bb-998b-992ece11f666"
|
|
71
|
+
*/
|
|
72
|
+
export function getGuid(): string;
|
|
73
|
+
/**
|
|
74
|
+
* Check if more data is available for paging scenarios
|
|
75
|
+
*/
|
|
76
|
+
export function checkHasMore({ pageNo, pageSize, total }: {
|
|
77
|
+
pageNo: any;
|
|
78
|
+
pageSize: any;
|
|
79
|
+
total: any;
|
|
80
|
+
}): boolean;
|
|
81
|
+
/**
|
|
82
|
+
* Check current runtime environment whether development environment
|
|
83
|
+
*/
|
|
84
|
+
export function checkWhetherDevelopmentEnvironment(): boolean;
|
|
85
|
+
export function getValue(object: any): string;
|
|
@@ -1,41 +1,41 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Get all builder total count.
|
|
3
|
-
*/
|
|
4
|
-
export function getBuilderCount(): number;
|
|
5
|
-
/**
|
|
6
|
-
* Append embed builder.
|
|
7
|
-
* @param {Function} builder model builder
|
|
8
|
-
*/
|
|
9
|
-
export function appendEmbedBuilder(builder: Function): void;
|
|
10
|
-
/**
|
|
11
|
-
* Append extra builder.
|
|
12
|
-
* @param {Function} builder model builder
|
|
13
|
-
*/
|
|
14
|
-
export function appendExtraBuilder(builder: Function): void;
|
|
15
|
-
/**
|
|
16
|
-
* Build model collection.
|
|
17
|
-
*/
|
|
18
|
-
export function buildModelCollection(): void;
|
|
19
|
-
/**
|
|
20
|
-
* Get model collection.
|
|
21
|
-
*/
|
|
22
|
-
export function getModelCollection(): never[];
|
|
23
|
-
/**
|
|
24
|
-
* Get model name list.
|
|
25
|
-
*/
|
|
26
|
-
export function getModelNameList(): void;
|
|
27
|
-
/**
|
|
28
|
-
* Set model name list.
|
|
29
|
-
* @param {string} modelNameList model name list, eg like "article,product,news"
|
|
30
|
-
*/
|
|
31
|
-
export function setModelNameList(modelNameList: string): void;
|
|
32
|
-
/**
|
|
33
|
-
* Remove model name list.
|
|
34
|
-
*/
|
|
35
|
-
export function removeModelNameList(): void;
|
|
36
|
-
export namespace modelContainer {
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
}
|
|
1
|
+
/**
|
|
2
|
+
* Get all builder total count.
|
|
3
|
+
*/
|
|
4
|
+
export function getBuilderCount(): number;
|
|
5
|
+
/**
|
|
6
|
+
* Append embed builder.
|
|
7
|
+
* @param {Function} builder model builder
|
|
8
|
+
*/
|
|
9
|
+
export function appendEmbedBuilder(builder: Function): void;
|
|
10
|
+
/**
|
|
11
|
+
* Append extra builder.
|
|
12
|
+
* @param {Function} builder model builder
|
|
13
|
+
*/
|
|
14
|
+
export function appendExtraBuilder(builder: Function): void;
|
|
15
|
+
/**
|
|
16
|
+
* Build model collection.
|
|
17
|
+
*/
|
|
18
|
+
export function buildModelCollection(): void;
|
|
19
|
+
/**
|
|
20
|
+
* Get model collection.
|
|
21
|
+
*/
|
|
22
|
+
export function getModelCollection(): never[];
|
|
23
|
+
/**
|
|
24
|
+
* Get model name list.
|
|
25
|
+
*/
|
|
26
|
+
export function getModelNameList(): void;
|
|
27
|
+
/**
|
|
28
|
+
* Set model name list.
|
|
29
|
+
* @param {string} modelNameList model name list, eg like "article,product,news"
|
|
30
|
+
*/
|
|
31
|
+
export function setModelNameList(modelNameList: string): void;
|
|
32
|
+
/**
|
|
33
|
+
* Remove model name list.
|
|
34
|
+
*/
|
|
35
|
+
export function removeModelNameList(): void;
|
|
36
|
+
export namespace modelContainer {
|
|
37
|
+
let embedBuilders: never[];
|
|
38
|
+
let extraBuilders: never[];
|
|
39
|
+
let buildComplete: boolean;
|
|
40
|
+
let models: never[];
|
|
41
|
+
}
|