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.
Files changed (46) hide show
  1. package/es/index.d.ts +1 -1
  2. package/es/index.js +1 -1
  3. package/es/utils/accessWayAssist.d.ts +8 -8
  4. package/es/utils/applicationAssist.d.ts +26 -26
  5. package/es/utils/arrayAssist.d.ts +5 -5
  6. package/es/utils/authorityCacheAssist.d.ts +16 -16
  7. package/es/utils/authorityLocalAssist.d.ts +10 -10
  8. package/es/utils/base64.d.ts +11 -11
  9. package/es/utils/cacheAssist.d.ts +77 -77
  10. package/es/utils/calculate.d.ts +5 -5
  11. package/es/utils/checkAssist.d.ts +121 -121
  12. package/es/utils/colorAssist.d.ts +31 -31
  13. package/es/utils/common.d.ts +107 -107
  14. package/es/utils/componentAssist.d.ts +17 -17
  15. package/es/utils/constants.d.ts +192 -192
  16. package/es/utils/convertAssist.d.ts +58 -58
  17. package/es/utils/convertExtraAssist.d.ts +15 -15
  18. package/es/utils/currentOperatorAssist.d.ts +17 -17
  19. package/es/utils/datetime.d.ts +66 -66
  20. package/es/utils/definition.d.ts +4 -4
  21. package/es/utils/dvaAssist.d.ts +43 -43
  22. package/es/utils/formatAssist.d.ts +44 -44
  23. package/es/utils/htmlAssist.d.ts +4 -4
  24. package/es/utils/httpAssist.d.ts +1 -1
  25. package/es/utils/index.d.ts +40 -40
  26. package/es/utils/localMetaDataAssist.d.ts +17 -17
  27. package/es/utils/localStorageAssist.d.ts +57 -57
  28. package/es/utils/lodashTools.d.ts +87 -87
  29. package/es/utils/loggerAssist.d.ts +173 -173
  30. package/es/utils/messagePromptAssist.d.ts +212 -212
  31. package/es/utils/meta.d.ts +85 -85
  32. package/es/utils/modelAssist.d.ts +41 -41
  33. package/es/utils/navigationAssist.d.ts +14 -14
  34. package/es/utils/nearestLocalhostNotify.d.ts +9 -9
  35. package/es/utils/notificationPromptAssist.d.ts +177 -177
  36. package/es/utils/parametersDataAssist.d.ts +16 -16
  37. package/es/utils/progressAssist.d.ts +18 -18
  38. package/es/utils/promptAssist.d.ts +35 -35
  39. package/es/utils/queryString.d.ts +8 -8
  40. package/es/utils/requestAssist.d.ts +218 -218
  41. package/es/utils/runtimeAssist.d.ts +15 -15
  42. package/es/utils/sessionStorageAssist.d.ts +57 -57
  43. package/es/utils/tokenAssist.d.ts +21 -21
  44. package/es/utils/tools.d.ts +21 -21
  45. package/es/utils/userInterfaceGenerate.d.ts +17 -17
  46. package/package.json +32 -32
@@ -1,14 +1,14 @@
1
- /**
2
- * Set navigator
3
- */
4
- export function setNavigator(handler: any): void;
5
- /**
6
- * Set redirector
7
- */
8
- export function setRedirector(handler: any): void;
9
- export function redirectTo(o: any): void;
10
- export function navigateTo(o: any): void;
11
- export namespace navigationAssist {
12
- function navigateTo(o: any): void;
13
- function redirectTo(o: any): void;
14
- }
1
+ /**
2
+ * Set navigator
3
+ */
4
+ export function setNavigator(handler: any): void;
5
+ /**
6
+ * Set redirector
7
+ */
8
+ export function setRedirector(handler: any): void;
9
+ export function redirectTo(o: any): void;
10
+ export function navigateTo(o: any): void;
11
+ export namespace navigationAssist {
12
+ function navigateTo(o: any): void;
13
+ function redirectTo(o: any): void;
14
+ }
@@ -1,9 +1,9 @@
1
- export function getNearestLocalhostNotifyCache(): any;
2
- export function setNearestLocalhostNotifyCache(): void;
3
- export function removeNearestLocalhostNotifyCache(): void;
4
- /**
5
- * 尝试发送最近一次本地调用通知(一般用于开发阶段, 提示调用的接口域)
6
- */
7
- export function trySendNearestLocalhostNotify({ text }: {
8
- text: any;
9
- }): void;
1
+ export function getNearestLocalhostNotifyCache(): any;
2
+ export function setNearestLocalhostNotifyCache(): void;
3
+ export function removeNearestLocalhostNotifyCache(): void;
4
+ /**
5
+ * 尝试发送最近一次本地调用通知(一般用于开发阶段, 提示调用的接口域)
6
+ */
7
+ export function trySendNearestLocalhostNotify({ text }: {
8
+ text: any;
9
+ }): void;
@@ -1,177 +1,177 @@
1
- /**
2
- * Set the open notification display monitor
3
- */
4
- export function setOpenNotificationDisplayMonitor(callbackMonitor: any): void;
5
- /**
6
- * Set the loading notification display monitor
7
- */
8
- export function setLoadingNotificationDisplayMonitor(callbackMonitor: any): void;
9
- /**
10
- * Set the info notification display monitor
11
- */
12
- export function setInfoNotificationDisplayMonitor(callbackMonitor: any): void;
13
- /**
14
- * Set the success notification display monitor
15
- */
16
- export function setSuccessNotificationDisplayMonitor(callbackMonitor: any): void;
17
- /**
18
- * Set the warn notification display monitor
19
- */
20
- export function setWarnNotificationDisplayMonitor(callbackMonitor: any): void;
21
- /**
22
- * Set the warning notification display monitor
23
- */
24
- export function setWarningNotificationDisplayMonitor(callbackMonitor: any): void;
25
- /**
26
- * Set the error notification display monitor
27
- */
28
- export function setErrorNotificationDisplayMonitor(callbackMonitor: any): void;
29
- /**
30
- * Show simple title open notification with display monitor
31
- */
32
- export function showSimpleOpenNotification(text: any): void;
33
- /**
34
- * Show open notification with display monitor
35
- */
36
- export function showOpenNotification({ title, description, placement, duration, onClose, }: {
37
- title: any;
38
- description?: string | undefined;
39
- placement?: string | undefined;
40
- duration?: number | undefined;
41
- onClose?: (() => void) | undefined;
42
- }): void;
43
- /**
44
- * Show simple title loading notification with display monitor
45
- */
46
- export function showSimpleLoadingNotification(text: any): void;
47
- /**
48
- * Show loading notification with display monitor
49
- */
50
- export function showLoadingNotification({ title, description, placement, duration, onClose, }: {
51
- title: any;
52
- description?: string | undefined;
53
- placement?: string | undefined;
54
- duration?: number | undefined;
55
- onClose?: (() => void) | undefined;
56
- }): void;
57
- /**
58
- * Show simple title info notification with display monitor
59
- */
60
- export function showSimpleInfoNotification(text: any): void;
61
- /**
62
- * Show info notification with display monitor
63
- */
64
- export function showInfoNotification({ title, description, placement, duration, onClose, }: {
65
- title: any;
66
- description?: string | undefined;
67
- placement?: string | undefined;
68
- duration?: number | undefined;
69
- onClose?: (() => void) | undefined;
70
- }): void;
71
- /**
72
- * Show simple title warn notification with display monitor
73
- */
74
- export function showSimpleWarnNotification(text: any): void;
75
- /**
76
- * Show warn notification with display monitor
77
- */
78
- export function showWarnNotification({ title, description, placement, duration, onClose, }: {
79
- title: any;
80
- description?: string | undefined;
81
- placement?: string | undefined;
82
- duration?: number | undefined;
83
- onClose?: (() => void) | undefined;
84
- }): void;
85
- /**
86
- * Show simple title warning notification with display monitor
87
- */
88
- export function showSimpleWarningNotification(text: any): void;
89
- /**
90
- * Show warning notification with display monitor
91
- */
92
- export function showWarningNotification({ title, description, placement, duration, onClose, }: {
93
- title: any;
94
- description?: string | undefined;
95
- placement?: string | undefined;
96
- duration?: number | undefined;
97
- onClose?: (() => void) | undefined;
98
- }): void;
99
- /**
100
- * Show simple title success notification with display monitor
101
- */
102
- export function showSimpleSuccessNotification(text: any): void;
103
- /**
104
- * Show success notification with display monitor
105
- */
106
- export function showSuccessNotification({ title, description, placement, duration, onClose, }: {
107
- title: any;
108
- description?: string | undefined;
109
- placement?: string | undefined;
110
- duration?: number | undefined;
111
- onClose?: (() => void) | undefined;
112
- }): void;
113
- /**
114
- * Show simple title error notification with display monitor
115
- */
116
- export function showSimpleErrorNotification(text: any): void;
117
- /**
118
- * Show error notification with display monitor
119
- */
120
- export function showErrorNotification({ title, description, placement, duration, onClose, }: {
121
- title: any;
122
- description?: string | undefined;
123
- placement?: string | undefined;
124
- duration?: number | undefined;
125
- onClose?: (() => void) | undefined;
126
- }): void;
127
- export namespace notificationPromptAssist {
128
- function showOpenNotification({ title, description, placement, duration, onClose, }: {
129
- title: any;
130
- description?: string | undefined;
131
- placement?: string | undefined;
132
- duration?: number | undefined;
133
- onClose?: (() => void) | undefined;
134
- }): void;
135
- function showLoadingNotification({ title, description, placement, duration, onClose, }: {
136
- title: any;
137
- description?: string | undefined;
138
- placement?: string | undefined;
139
- duration?: number | undefined;
140
- onClose?: (() => void) | undefined;
141
- }): void;
142
- function showInfoNotification({ title, description, placement, duration, onClose, }: {
143
- title: any;
144
- description?: string | undefined;
145
- placement?: string | undefined;
146
- duration?: number | undefined;
147
- onClose?: (() => void) | undefined;
148
- }): void;
149
- function showSuccessNotification({ title, description, placement, duration, onClose, }: {
150
- title: any;
151
- description?: string | undefined;
152
- placement?: string | undefined;
153
- duration?: number | undefined;
154
- onClose?: (() => void) | undefined;
155
- }): void;
156
- function showWarnNotification({ title, description, placement, duration, onClose, }: {
157
- title: any;
158
- description?: string | undefined;
159
- placement?: string | undefined;
160
- duration?: number | undefined;
161
- onClose?: (() => void) | undefined;
162
- }): void;
163
- function showWarningNotification({ title, description, placement, duration, onClose, }: {
164
- title: any;
165
- description?: string | undefined;
166
- placement?: string | undefined;
167
- duration?: number | undefined;
168
- onClose?: (() => void) | undefined;
169
- }): void;
170
- function showErrorNotification({ title, description, placement, duration, onClose, }: {
171
- title: any;
172
- description?: string | undefined;
173
- placement?: string | undefined;
174
- duration?: number | undefined;
175
- onClose?: (() => void) | undefined;
176
- }): void;
177
- }
1
+ /**
2
+ * Set the open notification display monitor
3
+ */
4
+ export function setOpenNotificationDisplayMonitor(callbackMonitor: any): void;
5
+ /**
6
+ * Set the loading notification display monitor
7
+ */
8
+ export function setLoadingNotificationDisplayMonitor(callbackMonitor: any): void;
9
+ /**
10
+ * Set the info notification display monitor
11
+ */
12
+ export function setInfoNotificationDisplayMonitor(callbackMonitor: any): void;
13
+ /**
14
+ * Set the success notification display monitor
15
+ */
16
+ export function setSuccessNotificationDisplayMonitor(callbackMonitor: any): void;
17
+ /**
18
+ * Set the warn notification display monitor
19
+ */
20
+ export function setWarnNotificationDisplayMonitor(callbackMonitor: any): void;
21
+ /**
22
+ * Set the warning notification display monitor
23
+ */
24
+ export function setWarningNotificationDisplayMonitor(callbackMonitor: any): void;
25
+ /**
26
+ * Set the error notification display monitor
27
+ */
28
+ export function setErrorNotificationDisplayMonitor(callbackMonitor: any): void;
29
+ /**
30
+ * Show simple title open notification with display monitor
31
+ */
32
+ export function showSimpleOpenNotification(text: any): void;
33
+ /**
34
+ * Show open notification with display monitor
35
+ */
36
+ export function showOpenNotification({ title, description, placement, duration, onClose, }: {
37
+ title: any;
38
+ description?: string | undefined;
39
+ placement?: string | undefined;
40
+ duration?: number | undefined;
41
+ onClose?: (() => void) | undefined;
42
+ }): void;
43
+ /**
44
+ * Show simple title loading notification with display monitor
45
+ */
46
+ export function showSimpleLoadingNotification(text: any): void;
47
+ /**
48
+ * Show loading notification with display monitor
49
+ */
50
+ export function showLoadingNotification({ title, description, placement, duration, onClose, }: {
51
+ title: any;
52
+ description?: string | undefined;
53
+ placement?: string | undefined;
54
+ duration?: number | undefined;
55
+ onClose?: (() => void) | undefined;
56
+ }): void;
57
+ /**
58
+ * Show simple title info notification with display monitor
59
+ */
60
+ export function showSimpleInfoNotification(text: any): void;
61
+ /**
62
+ * Show info notification with display monitor
63
+ */
64
+ export function showInfoNotification({ title, description, placement, duration, onClose, }: {
65
+ title: any;
66
+ description?: string | undefined;
67
+ placement?: string | undefined;
68
+ duration?: number | undefined;
69
+ onClose?: (() => void) | undefined;
70
+ }): void;
71
+ /**
72
+ * Show simple title warn notification with display monitor
73
+ */
74
+ export function showSimpleWarnNotification(text: any): void;
75
+ /**
76
+ * Show warn notification with display monitor
77
+ */
78
+ export function showWarnNotification({ title, description, placement, duration, onClose, }: {
79
+ title: any;
80
+ description?: string | undefined;
81
+ placement?: string | undefined;
82
+ duration?: number | undefined;
83
+ onClose?: (() => void) | undefined;
84
+ }): void;
85
+ /**
86
+ * Show simple title warning notification with display monitor
87
+ */
88
+ export function showSimpleWarningNotification(text: any): void;
89
+ /**
90
+ * Show warning notification with display monitor
91
+ */
92
+ export function showWarningNotification({ title, description, placement, duration, onClose, }: {
93
+ title: any;
94
+ description?: string | undefined;
95
+ placement?: string | undefined;
96
+ duration?: number | undefined;
97
+ onClose?: (() => void) | undefined;
98
+ }): void;
99
+ /**
100
+ * Show simple title success notification with display monitor
101
+ */
102
+ export function showSimpleSuccessNotification(text: any): void;
103
+ /**
104
+ * Show success notification with display monitor
105
+ */
106
+ export function showSuccessNotification({ title, description, placement, duration, onClose, }: {
107
+ title: any;
108
+ description?: string | undefined;
109
+ placement?: string | undefined;
110
+ duration?: number | undefined;
111
+ onClose?: (() => void) | undefined;
112
+ }): void;
113
+ /**
114
+ * Show simple title error notification with display monitor
115
+ */
116
+ export function showSimpleErrorNotification(text: any): void;
117
+ /**
118
+ * Show error notification with display monitor
119
+ */
120
+ export function showErrorNotification({ title, description, placement, duration, onClose, }: {
121
+ title: any;
122
+ description?: string | undefined;
123
+ placement?: string | undefined;
124
+ duration?: number | undefined;
125
+ onClose?: (() => void) | undefined;
126
+ }): void;
127
+ export namespace notificationPromptAssist {
128
+ function showOpenNotification({ title, description, placement, duration, onClose, }: {
129
+ title: any;
130
+ description?: string | undefined;
131
+ placement?: string | undefined;
132
+ duration?: number | undefined;
133
+ onClose?: (() => void) | undefined;
134
+ }): void;
135
+ function showLoadingNotification({ title, description, placement, duration, onClose, }: {
136
+ title: any;
137
+ description?: string | undefined;
138
+ placement?: string | undefined;
139
+ duration?: number | undefined;
140
+ onClose?: (() => void) | undefined;
141
+ }): void;
142
+ function showInfoNotification({ title, description, placement, duration, onClose, }: {
143
+ title: any;
144
+ description?: string | undefined;
145
+ placement?: string | undefined;
146
+ duration?: number | undefined;
147
+ onClose?: (() => void) | undefined;
148
+ }): void;
149
+ function showSuccessNotification({ title, description, placement, duration, onClose, }: {
150
+ title: any;
151
+ description?: string | undefined;
152
+ placement?: string | undefined;
153
+ duration?: number | undefined;
154
+ onClose?: (() => void) | undefined;
155
+ }): void;
156
+ function showWarnNotification({ title, description, placement, duration, onClose, }: {
157
+ title: any;
158
+ description?: string | undefined;
159
+ placement?: string | undefined;
160
+ duration?: number | undefined;
161
+ onClose?: (() => void) | undefined;
162
+ }): void;
163
+ function showWarningNotification({ title, description, placement, duration, onClose, }: {
164
+ title: any;
165
+ description?: string | undefined;
166
+ placement?: string | undefined;
167
+ duration?: number | undefined;
168
+ onClose?: (() => void) | undefined;
169
+ }): void;
170
+ function showErrorNotification({ title, description, placement, duration, onClose, }: {
171
+ title: any;
172
+ description?: string | undefined;
173
+ placement?: string | undefined;
174
+ duration?: number | undefined;
175
+ onClose?: (() => void) | undefined;
176
+ }): void;
177
+ }
@@ -1,16 +1,16 @@
1
- /**
2
- * Remove parameters data cache
3
- * @param {string} key the cache key
4
- */
5
- export function removeParametersDataCache(key: string): void;
6
- /**
7
- * Get parameters data cache
8
- * @param {string} key the cache key
9
- */
10
- export function getParametersDataCache(key: string): any;
11
- /**
12
- * Set parameters data cache
13
- * @param {string} key the cache key
14
- * @param {Object} data the data will be cached
15
- */
16
- export function setParametersDataCache(key: string, data: Object): void;
1
+ /**
2
+ * Remove parameters data cache
3
+ * @param {string} key the cache key
4
+ */
5
+ export function removeParametersDataCache(key: string): void;
6
+ /**
7
+ * Get parameters data cache
8
+ * @param {string} key the cache key
9
+ */
10
+ export function getParametersDataCache(key: string): any;
11
+ /**
12
+ * Set parameters data cache
13
+ * @param {string} key the cache key
14
+ * @param {Object} data the data will be cached
15
+ */
16
+ export function setParametersDataCache(key: string, data: Object): void;
@@ -1,18 +1,18 @@
1
- /**
2
- * Set the global header handler supplement
3
- * @param {Function} handler handle global header handler supplement
4
- */
5
- export function setProgressStartHandler(handler: Function): void;
6
- /**
7
- * Set the progress start handler supplement
8
- * @param {Function} handler handle progress start handler supplement
9
- */
10
- export function setProgressStopHandler(handler: Function): void;
11
- export function startProgress(): void;
12
- export function stopProgress(): void;
13
- export namespace progressAssist {
14
- function handleProgressStart(): void;
15
- const handleProgressStartSetComplete: boolean;
16
- function handleProgressStop(): void;
17
- const handleProgressStopSetComplete: boolean;
18
- }
1
+ /**
2
+ * Set the global header handler supplement
3
+ * @param {Function} handler handle global header handler supplement
4
+ */
5
+ export function setProgressStartHandler(handler: Function): void;
6
+ /**
7
+ * Set the progress start handler supplement
8
+ * @param {Function} handler handle progress start handler supplement
9
+ */
10
+ export function setProgressStopHandler(handler: Function): void;
11
+ export function startProgress(): void;
12
+ export function stopProgress(): void;
13
+ export namespace progressAssist {
14
+ function handleProgressStart(): void;
15
+ let handleProgressStartSetComplete: boolean;
16
+ function handleProgressStop(): void;
17
+ let handleProgressStopSetComplete: boolean;
18
+ }
@@ -1,35 +1,35 @@
1
- /**
2
- * Build prompt module info
3
- */
4
- export function buildPromptModuleInfo(moduleName: any, message: any, ...childNameCollection: any[]): string;
5
- export namespace promptTextBuilder {
6
- function buildDisallowEmpty({ name, ancillaryInformation }: {
7
- name?: string | undefined;
8
- ancillaryInformation?: string | undefined;
9
- }): string;
10
- function buildMustObject({ name, value, ancillaryInformation, }: {
11
- name?: string | undefined;
12
- value?: null | undefined;
13
- ancillaryInformation?: string | undefined;
14
- }): string;
15
- function buildMustString({ name, value, ancillaryInformation, }: {
16
- name?: string | undefined;
17
- value?: null | undefined;
18
- ancillaryInformation?: string | undefined;
19
- }): string;
20
- function buildMustDate({ name, value, ancillaryInformation, }: {
21
- name?: string | undefined;
22
- value?: null | undefined;
23
- ancillaryInformation?: string | undefined;
24
- }): string;
25
- function buildMustFunction({ name, value, ancillaryInformation, }: {
26
- name?: string | undefined;
27
- value?: null | undefined;
28
- ancillaryInformation?: string | undefined;
29
- }): string;
30
- function buildMustArray({ name, value, ancillaryInformation, }: {
31
- name?: string | undefined;
32
- value?: null | undefined;
33
- ancillaryInformation?: string | undefined;
34
- }): string;
35
- }
1
+ /**
2
+ * Build prompt module info
3
+ */
4
+ export function buildPromptModuleInfo(moduleName: any, message: any, ...childNameCollection: any[]): string;
5
+ export namespace promptTextBuilder {
6
+ function buildDisallowEmpty({ name, ancillaryInformation }: {
7
+ name?: string | undefined;
8
+ ancillaryInformation?: string | undefined;
9
+ }): string;
10
+ function buildMustObject({ name, value, ancillaryInformation, }: {
11
+ name?: string | undefined;
12
+ value?: null | undefined;
13
+ ancillaryInformation?: string | undefined;
14
+ }): string;
15
+ function buildMustString({ name, value, ancillaryInformation, }: {
16
+ name?: string | undefined;
17
+ value?: null | undefined;
18
+ ancillaryInformation?: string | undefined;
19
+ }): string;
20
+ function buildMustDate({ name, value, ancillaryInformation, }: {
21
+ name?: string | undefined;
22
+ value?: null | undefined;
23
+ ancillaryInformation?: string | undefined;
24
+ }): string;
25
+ function buildMustFunction({ name, value, ancillaryInformation, }: {
26
+ name?: string | undefined;
27
+ value?: null | undefined;
28
+ ancillaryInformation?: string | undefined;
29
+ }): string;
30
+ function buildMustArray({ name, value, ancillaryInformation, }: {
31
+ name?: string | undefined;
32
+ value?: null | undefined;
33
+ ancillaryInformation?: string | undefined;
34
+ }): string;
35
+ }
@@ -1,8 +1,8 @@
1
- /**
2
- * Build query string url,default path is '', result like 'https://www.a.com?userId=2'
3
- */
4
- export function buildQueryStringify(data: any, path?: string): string;
5
- /**
6
- * Parse query string
7
- */
8
- export function parseQueryString(data: any): import("qs").ParsedQs;
1
+ /**
2
+ * Build query string url,default path is '', result like 'https://www.a.com?userId=2'
3
+ */
4
+ export function buildQueryStringify(data: any, path?: string): string;
5
+ /**
6
+ * Parse query string
7
+ */
8
+ export function parseQueryString(data: any): import("qs").ParsedQs;