antd-management-fast-framework 1.12.39 → 1.12.42

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.
@@ -6,33 +6,62 @@
6
6
  */
7
7
  export function empty(): {};
8
8
  export namespace defaultSettingsLayoutCustom {
9
- function getTinymceImagesUploadUrl(): string;
10
- function getTinymceApiKey(): string;
11
- function getUseNprogress(): boolean;
12
- function getFileUploadMaxSize(): number;
13
- function getAudioUploadMaxSize(): number;
14
- function getVideoUploadMaxSize(): number;
15
- function getImageUploadMaxSize(): number;
16
- function getShowSelectLanguage(): boolean;
17
- function getShowLogoInEntrance(): boolean;
18
- function getEmptyLogo(): string;
19
- function getApiSuccessCode(): number;
20
- function getAuthenticationFailCode(): number;
21
- function getEntrancePath(): string;
22
- function getApiVersion(): string;
23
- function getUseVirtualRequest(): boolean;
24
- function getShowUseVirtualRequestMessage(): boolean;
25
- function getShowLogInConsole(): boolean;
26
- function getShowRequestInfo(): boolean;
27
- function getPlatformName(): string;
28
- function getAppName(): string;
29
- function getAppDescription(): string;
30
- function getTitle(): string;
31
- function getEntranceLogo(): string;
32
- function getShareLogo(): string;
33
- function getShareLogoName(): string;
34
- function getCompanyName(): string;
35
- function getLeftBarLogo(remoteLogo: any): any;
36
- function getLeftBarText(): string;
37
- function getCopyright(): string;
9
+ export { getTinymceImagesUploadUrl };
10
+ export { getTinymceApiKey };
11
+ export { getUseNprogress };
12
+ export { getFileUploadMaxSize };
13
+ export { getAudioUploadMaxSize };
14
+ export { getVideoUploadMaxSize };
15
+ export { getImageUploadMaxSize };
16
+ export { getShowSelectLanguage };
17
+ export { getShowLogoInEntrance };
18
+ export { getEmptyLogo };
19
+ export { getApiSuccessCode };
20
+ export { getAuthenticationFailCode };
21
+ export { getEntrancePath };
22
+ export { getApiVersion };
23
+ export { getUseVirtualRequest };
24
+ export { getShowUseVirtualRequestMessage };
25
+ export { getShowLogInConsole };
26
+ export { getShowRequestInfo };
27
+ export { getPlatformName };
28
+ export { getAppName };
29
+ export { getAppDescription };
30
+ export { getTitle };
31
+ export { getEntranceLogo };
32
+ export { getShareLogo };
33
+ export { getShareLogoName };
34
+ export { getCompanyName };
35
+ export { getLeftBarLogo };
36
+ export { getLeftBarText };
37
+ export { getCopyright };
38
38
  }
39
+ import { getTinymceImagesUploadUrl } from "./appConfiguration";
40
+ import { getTinymceApiKey } from "./appConfiguration";
41
+ import { getUseNprogress } from "./appConfiguration";
42
+ import { getFileUploadMaxSize } from "./appConfiguration";
43
+ import { getAudioUploadMaxSize } from "./appConfiguration";
44
+ import { getVideoUploadMaxSize } from "./appConfiguration";
45
+ import { getImageUploadMaxSize } from "./appConfiguration";
46
+ import { getShowSelectLanguage } from "./appConfiguration";
47
+ import { getShowLogoInEntrance } from "./appConfiguration";
48
+ import { getEmptyLogo } from "./appConfiguration";
49
+ import { getApiSuccessCode } from "./appConfiguration";
50
+ import { getAuthenticationFailCode } from "./appConfiguration";
51
+ import { getEntrancePath } from "./appConfiguration";
52
+ import { getApiVersion } from "./appConfiguration";
53
+ import { getUseVirtualRequest } from "./appConfiguration";
54
+ import { getShowUseVirtualRequestMessage } from "./appConfiguration";
55
+ import { getShowLogInConsole } from "./appConfiguration";
56
+ import { getShowRequestInfo } from "./appConfiguration";
57
+ import { getPlatformName } from "./appConfiguration";
58
+ import { getAppName } from "./appConfiguration";
59
+ import { getAppDescription } from "./appConfiguration";
60
+ import { getTitle } from "./appConfiguration";
61
+ import { getEntranceLogo } from "./appConfiguration";
62
+ import { getShareLogo } from "./appConfiguration";
63
+ import { getShareLogoName } from "./appConfiguration";
64
+ import { getCompanyName } from "./appConfiguration";
65
+ import { getLeftBarLogo } from "./appConfiguration";
66
+ import { getLeftBarText } from "./appConfiguration";
67
+ import { getCopyright } from "./appConfiguration";
@@ -6,311 +6,38 @@ Object.defineProperty(exports, "__esModule", {
6
6
  exports.defaultSettingsLayoutCustom = void 0;
7
7
  exports.empty = empty;
8
8
 
9
- var _constants = require("./constants");
10
-
11
- var _tools = require("./tools");
12
-
13
- function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
14
-
15
- function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
16
-
17
- function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
9
+ var _appConfiguration = require("./appConfiguration");
18
10
 
19
11
  var defaultSettingsLayoutCustom = {
20
- getTinymceImagesUploadUrl: function getTinymceImagesUploadUrl() {
21
- var appInit = (0, _tools.getAppInitConfigData)();
22
-
23
- var _tinymceImagesUploadU = _objectSpread(_objectSpread({}, {
24
- tinymceImagesUploadUrl: null
25
- }), appInit || {}),
26
- tinymceImagesUploadUrl = _tinymceImagesUploadU.tinymceImagesUploadUrl;
27
-
28
- return tinymceImagesUploadUrl || '';
29
- },
30
- getTinymceApiKey: function getTinymceApiKey() {
31
- var appInit = (0, _tools.getAppInitConfigData)();
32
-
33
- var _tinymceApiKey = _objectSpread(_objectSpread({}, {
34
- tinymceApiKey: ''
35
- }), appInit || {}),
36
- tinymceApiKey = _tinymceApiKey.tinymceApiKey;
37
-
38
- return tinymceApiKey || '';
39
- },
40
- getUseNprogress: function getUseNprogress() {
41
- var appInit = (0, _tools.getAppInitConfigData)();
42
-
43
- var _useNprogress = _objectSpread(_objectSpread({}, {
44
- useNprogress: true
45
- }), appInit || {}),
46
- useNprogress = _useNprogress.useNprogress;
47
-
48
- return useNprogress;
49
- },
50
- getFileUploadMaxSize: function getFileUploadMaxSize() {
51
- var appInit = (0, _tools.getAppInitConfigData)();
52
-
53
- var _fileUploadMaxSize = _objectSpread(_objectSpread({}, {
54
- fileUploadMaxSize: 2
55
- }), appInit || {}),
56
- fileUploadMaxSize = _fileUploadMaxSize.fileUploadMaxSize;
57
-
58
- return fileUploadMaxSize || 2;
59
- },
60
- getAudioUploadMaxSize: function getAudioUploadMaxSize() {
61
- var appInit = (0, _tools.getAppInitConfigData)();
62
-
63
- var _audioUploadMaxSize = _objectSpread(_objectSpread({}, {
64
- audioUploadMaxSize: 4
65
- }), appInit || {}),
66
- audioUploadMaxSize = _audioUploadMaxSize.audioUploadMaxSize;
67
-
68
- return audioUploadMaxSize || 4;
69
- },
70
- getVideoUploadMaxSize: function getVideoUploadMaxSize() {
71
- var appInit = (0, _tools.getAppInitConfigData)();
72
-
73
- var _videoUploadMaxSize = _objectSpread(_objectSpread({}, {
74
- videoUploadMaxSize: 4
75
- }), appInit || {}),
76
- videoUploadMaxSize = _videoUploadMaxSize.videoUploadMaxSize;
77
-
78
- return videoUploadMaxSize || 4;
79
- },
80
- getImageUploadMaxSize: function getImageUploadMaxSize() {
81
- var appInit = (0, _tools.getAppInitConfigData)();
82
-
83
- var _imageUploadMaxSize = _objectSpread(_objectSpread({}, {
84
- imageUploadMaxSize: 2
85
- }), appInit || {}),
86
- imageUploadMaxSize = _imageUploadMaxSize.imageUploadMaxSize;
87
-
88
- return imageUploadMaxSize || 2;
89
- },
90
- getShowSelectLanguage: function getShowSelectLanguage() {
91
- var appInit = (0, _tools.getAppInitConfigData)();
92
-
93
- var _showSelectLanguage = _objectSpread(_objectSpread({}, {
94
- showSelectLanguage: false
95
- }), appInit || {}),
96
- showSelectLanguage = _showSelectLanguage.showSelectLanguage;
97
-
98
- return showSelectLanguage || false;
99
- },
100
- getShowLogoInEntrance: function getShowLogoInEntrance() {
101
- var appInit = (0, _tools.getAppInitConfigData)();
102
-
103
- var _showLogoInEntrance = _objectSpread(_objectSpread({}, {
104
- showLogoInEntrance: false
105
- }), appInit || {}),
106
- showLogoInEntrance = _showLogoInEntrance.showLogoInEntrance;
107
-
108
- return showLogoInEntrance || false;
109
- },
110
- getEmptyLogo: function getEmptyLogo() {
111
- var appInit = (0, _tools.getAppInitConfigData)();
112
-
113
- var _emptyLogo = _objectSpread(_objectSpread({}, {
114
- emptyLogo: _constants.emptyLogo
115
- }), appInit || {}),
116
- emptyLogo = _emptyLogo.emptyLogo;
117
-
118
- return emptyLogo || _constants.emptyLogo;
119
- },
120
- getApiSuccessCode: function getApiSuccessCode() {
121
- var appInit = (0, _tools.getAppInitConfigData)();
122
-
123
- var _apiSuccessCode = _objectSpread(_objectSpread({}, {
124
- apiSuccessCode: _constants.apiSuccessCode
125
- }), appInit || {}),
126
- apiSuccessCode = _apiSuccessCode.apiSuccessCode;
127
-
128
- return apiSuccessCode || _constants.apiSuccessCode;
129
- },
130
- getAuthenticationFailCode: function getAuthenticationFailCode() {
131
- var appInit = (0, _tools.getAppInitConfigData)();
132
-
133
- var _authenticationFailCo = _objectSpread({}, _objectSpread({
134
- authenticationFailCode: _constants.authenticationFailCode
135
- }, appInit || {})),
136
- authenticationFailCode = _authenticationFailCo.authenticationFailCode;
137
-
138
- return authenticationFailCode || _constants.authenticationFailCode;
139
- },
140
- getEntrancePath: function getEntrancePath() {
141
- var appInit = (0, _tools.getAppInitConfigData)();
142
-
143
- var _entrancePath = _objectSpread(_objectSpread({}, {
144
- entrancePath: ''
145
- }), appInit || {}),
146
- entrancePath = _entrancePath.entrancePath;
147
-
148
- return entrancePath || '';
149
- },
150
- getApiVersion: function getApiVersion() {
151
- var appInit = (0, _tools.getAppInitConfigData)();
152
-
153
- var _apiVersion = _objectSpread(_objectSpread({}, {
154
- apiVersion: ''
155
- }), appInit || {}),
156
- apiVersion = _apiVersion.apiVersion;
157
-
158
- return apiVersion || '';
159
- },
160
- getUseVirtualRequest: function getUseVirtualRequest() {
161
- var appInit = (0, _tools.getAppInitConfigData)();
162
-
163
- var _useVirtualRequest = _objectSpread(_objectSpread({}, {
164
- useVirtualRequest: false
165
- }), appInit || {}),
166
- useVirtualRequest = _useVirtualRequest.useVirtualRequest;
167
-
168
- return useVirtualRequest || false;
169
- },
170
- getShowUseVirtualRequestMessage: function getShowUseVirtualRequestMessage() {
171
- var appInit = (0, _tools.getAppInitConfigData)();
172
-
173
- var _showUseVirtualReques = _objectSpread(_objectSpread({}, {
174
- showUseVirtualRequestMessage: false
175
- }), appInit || {}),
176
- showUseVirtualRequestMessage = _showUseVirtualReques.showUseVirtualRequestMessage;
177
-
178
- return showUseVirtualRequestMessage || false;
179
- },
180
- getShowLogInConsole: function getShowLogInConsole() {
181
- var appInit = (0, _tools.getAppInitConfigData)();
182
-
183
- var _showLogInConsole = _objectSpread(_objectSpread({}, {
184
- showLogInConsole: false
185
- }), appInit || {}),
186
- showLogInConsole = _showLogInConsole.showLogInConsole;
187
-
188
- return showLogInConsole || false;
189
- },
190
- getShowRequestInfo: function getShowRequestInfo() {
191
- var appInit = (0, _tools.getAppInitConfigData)();
192
-
193
- var _showRequestInfo = _objectSpread(_objectSpread({}, {
194
- showRequestInfo: false
195
- }), appInit || {}),
196
- showRequestInfo = _showRequestInfo.showRequestInfo;
197
-
198
- return showRequestInfo || false;
199
- },
200
- getPlatformName: function getPlatformName() {
201
- var appInit = (0, _tools.getAppInitConfigData)();
202
-
203
- var _platformName = _objectSpread(_objectSpread({}, {
204
- platformName: ''
205
- }), appInit || {}),
206
- platformName = _platformName.platformName;
207
-
208
- return platformName || '';
209
- },
210
- getAppName: function getAppName() {
211
- var appInit = (0, _tools.getAppInitConfigData)();
212
-
213
- var _appName = _objectSpread(_objectSpread({}, {
214
- appName: ''
215
- }), appInit || {}),
216
- appName = _appName.appName;
217
-
218
- return appName || '';
219
- },
220
- getAppDescription: function getAppDescription() {
221
- var appInit = (0, _tools.getAppInitConfigData)();
222
-
223
- var _appDescription = _objectSpread(_objectSpread({}, {
224
- appDescription: ''
225
- }), appInit || {}),
226
- appDescription = _appDescription.appDescription;
227
-
228
- return appDescription || '';
229
- },
230
- getTitle: function getTitle() {
231
- var appInit = (0, _tools.getAppInitConfigData)();
232
-
233
- var _appName2 = _objectSpread(_objectSpread({}, {
234
- appName: ''
235
- }), appInit || {}),
236
- appName = _appName2.appName;
237
-
238
- return appName || '';
239
- },
240
- getEntranceLogo: function getEntranceLogo() {
241
- var appInit = (0, _tools.getAppInitConfigData)();
242
-
243
- var _entranceLogo = _objectSpread(_objectSpread({}, {
244
- entranceLogo: _constants.emptyLogo
245
- }), appInit || {}),
246
- entranceLogo = _entranceLogo.entranceLogo;
247
-
248
- return entranceLogo || _constants.emptyLogo;
249
- },
250
- getShareLogo: function getShareLogo() {
251
- var appInit = (0, _tools.getAppInitConfigData)();
252
-
253
- var _shareLogo = _objectSpread(_objectSpread({}, {
254
- shareLogo: _constants.emptyLogo
255
- }), appInit || {}),
256
- shareLogo = _shareLogo.shareLogo;
257
-
258
- return shareLogo || _constants.emptyLogo;
259
- },
260
- getShareLogoName: function getShareLogoName() {
261
- var appInit = (0, _tools.getAppInitConfigData)();
262
-
263
- var _shareLogoName = _objectSpread(_objectSpread({}, {
264
- shareLogoName: ''
265
- }), appInit || {}),
266
- shareLogoName = _shareLogoName.shareLogoName;
267
-
268
- return shareLogoName || '';
269
- },
270
- getCompanyName: function getCompanyName() {
271
- var appInit = (0, _tools.getAppInitConfigData)();
272
-
273
- var _companyName = _objectSpread(_objectSpread({}, {
274
- companyName: ''
275
- }), appInit || {}),
276
- companyName = _companyName.companyName;
277
-
278
- return companyName || '';
279
- },
280
- getLeftBarLogo: function getLeftBarLogo(remoteLogo) {
281
- if (!(0, _tools.stringIsNullOrWhiteSpace)(remoteLogo || null)) {
282
- return remoteLogo;
283
- }
284
-
285
- var appInit = (0, _tools.getAppInitConfigData)();
286
-
287
- var _leftBarLogo = _objectSpread(_objectSpread({}, {
288
- leftBarLogo: _constants.emptyLogo
289
- }), appInit || {}),
290
- leftBarLogo = _leftBarLogo.leftBarLogo;
291
-
292
- return leftBarLogo || _constants.emptyLogo;
293
- },
294
- getLeftBarText: function getLeftBarText() {
295
- var appInit = (0, _tools.getAppInitConfigData)();
296
-
297
- var _leftBarText = _objectSpread(_objectSpread({}, {
298
- leftBarText: ''
299
- }), appInit || {}),
300
- leftBarText = _leftBarText.leftBarText;
301
-
302
- return leftBarText || '';
303
- },
304
- getCopyright: function getCopyright() {
305
- var appInit = (0, _tools.getAppInitConfigData)();
306
-
307
- var _copyright = _objectSpread(_objectSpread({}, {
308
- copyright: ''
309
- }), appInit || {}),
310
- copyright = _copyright.copyright;
311
-
312
- return copyright || '';
313
- }
12
+ getTinymceImagesUploadUrl: _appConfiguration.getTinymceImagesUploadUrl,
13
+ getTinymceApiKey: _appConfiguration.getTinymceApiKey,
14
+ getUseNprogress: _appConfiguration.getUseNprogress,
15
+ getFileUploadMaxSize: _appConfiguration.getFileUploadMaxSize,
16
+ getAudioUploadMaxSize: _appConfiguration.getAudioUploadMaxSize,
17
+ getVideoUploadMaxSize: _appConfiguration.getVideoUploadMaxSize,
18
+ getImageUploadMaxSize: _appConfiguration.getImageUploadMaxSize,
19
+ getShowSelectLanguage: _appConfiguration.getShowSelectLanguage,
20
+ getShowLogoInEntrance: _appConfiguration.getShowLogoInEntrance,
21
+ getEmptyLogo: _appConfiguration.getEmptyLogo,
22
+ getApiSuccessCode: _appConfiguration.getApiSuccessCode,
23
+ getAuthenticationFailCode: _appConfiguration.getAuthenticationFailCode,
24
+ getEntrancePath: _appConfiguration.getEntrancePath,
25
+ getApiVersion: _appConfiguration.getApiVersion,
26
+ getUseVirtualRequest: _appConfiguration.getUseVirtualRequest,
27
+ getShowUseVirtualRequestMessage: _appConfiguration.getShowUseVirtualRequestMessage,
28
+ getShowLogInConsole: _appConfiguration.getShowLogInConsole,
29
+ getShowRequestInfo: _appConfiguration.getShowRequestInfo,
30
+ getPlatformName: _appConfiguration.getPlatformName,
31
+ getAppName: _appConfiguration.getAppName,
32
+ getAppDescription: _appConfiguration.getAppDescription,
33
+ getTitle: _appConfiguration.getTitle,
34
+ getEntranceLogo: _appConfiguration.getEntranceLogo,
35
+ getShareLogo: _appConfiguration.getShareLogo,
36
+ getShareLogoName: _appConfiguration.getShareLogoName,
37
+ getCompanyName: _appConfiguration.getCompanyName,
38
+ getLeftBarLogo: _appConfiguration.getLeftBarLogo,
39
+ getLeftBarText: _appConfiguration.getLeftBarText,
40
+ getCopyright: _appConfiguration.getCopyright
314
41
  };
315
42
  /**
316
43
  * 占位函数
@@ -0,0 +1,41 @@
1
+ /**
2
+ * 记录日志
3
+ *
4
+ * @export
5
+ * @param {*} str
6
+ * @returns
7
+ */
8
+ export function recordLog(record: any, showMode: any, level?: string): void;
9
+ export function recordWarn(record: any): void;
10
+ export function recordInfo(record: any): void;
11
+ export function recordDebug(record: any): void;
12
+ /**
13
+ * 记录错误信息
14
+ */
15
+ export function recordError(record: any): void;
16
+ /**
17
+ * 记录日志
18
+ *
19
+ * @export
20
+ * @param {*} str
21
+ * @returns
22
+ */
23
+ export function recordText(record: any, level?: string): void;
24
+ /**
25
+ * 记录日志
26
+ *
27
+ * @export
28
+ * @param {*} str
29
+ * @returns
30
+ */
31
+ export function recordObject(record: any, level?: string): void;
32
+ export function getNearestLocalhostNotifyCache(): any;
33
+ export function setNearestLocalhostNotifyCache(): void;
34
+ export function removeNearestLocalhostNotifyCache(): void;
35
+ /**
36
+ * 占位函数
37
+ *
38
+ * @export
39
+ * @returns
40
+ */
41
+ export function empty(): {};