@alicloud/alfa-react 1.4.26 → 1.4.27
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/dist/index.js +3 -3
- package/es/hooks/beforeLoadHook.js +14 -3
- package/es/version.js +1 -1
- package/lib/hooks/beforeLoadHook.js +14 -3
- package/lib/version.js +1 -1
- package/package.json +1 -1
- package/types/version.d.ts +1 -1
|
@@ -31,7 +31,7 @@ function _afterLoadHook() {
|
|
|
31
31
|
CONFIG_END_TIME = Date.now();
|
|
32
32
|
|
|
33
33
|
if (!dynamicConfig) {
|
|
34
|
-
_context.next =
|
|
34
|
+
_context.next = 21;
|
|
35
35
|
break;
|
|
36
36
|
}
|
|
37
37
|
|
|
@@ -59,7 +59,18 @@ function _afterLoadHook() {
|
|
|
59
59
|
app.context.window.ALIYUN_WIND_MESSAGE = window.ALIYUN_WIND_MESSAGE;
|
|
60
60
|
}
|
|
61
61
|
|
|
62
|
-
|
|
62
|
+
_context.next = 22;
|
|
63
|
+
break;
|
|
64
|
+
|
|
65
|
+
case 21:
|
|
66
|
+
if (app !== null && app !== void 0 && app.context && !(sandbox !== null && sandbox !== void 0 && sandbox.disable)) {
|
|
67
|
+
app.context.window.ALIYUN_CONSOLE_CONFIG = {};
|
|
68
|
+
app.context.window.ALIYUN_CONSOLE_GLOBAL = {};
|
|
69
|
+
app.context.window.ALIYUN_CONSOLE_I18N_MESSAGE = {};
|
|
70
|
+
app.context.window.ALIYUN_WIND_MESSAGE = window.ALIYUN_WIND_MESSAGE;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
case 22:
|
|
63
74
|
END_TIME = Date.now();
|
|
64
75
|
(logger === null || logger === void 0 ? void 0 : logger.record) && logger.record({
|
|
65
76
|
CONFIG_START_TIME: CONFIG_START_TIME,
|
|
@@ -70,7 +81,7 @@ function _afterLoadHook() {
|
|
|
70
81
|
(logger === null || logger === void 0 ? void 0 : logger.send) && logger.send();
|
|
71
82
|
return _context.abrupt("return", appConfig);
|
|
72
83
|
|
|
73
|
-
case
|
|
84
|
+
case 26:
|
|
74
85
|
case "end":
|
|
75
86
|
return _context.stop();
|
|
76
87
|
}
|
package/es/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export var version = '1.4.
|
|
1
|
+
export var version = '1.4.27';
|
|
@@ -45,7 +45,7 @@ function _afterLoadHook() {
|
|
|
45
45
|
CONFIG_END_TIME = Date.now();
|
|
46
46
|
|
|
47
47
|
if (!dynamicConfig) {
|
|
48
|
-
_context.next =
|
|
48
|
+
_context.next = 21;
|
|
49
49
|
break;
|
|
50
50
|
}
|
|
51
51
|
|
|
@@ -73,7 +73,18 @@ function _afterLoadHook() {
|
|
|
73
73
|
app.context.window.ALIYUN_WIND_MESSAGE = window.ALIYUN_WIND_MESSAGE;
|
|
74
74
|
}
|
|
75
75
|
|
|
76
|
-
|
|
76
|
+
_context.next = 22;
|
|
77
|
+
break;
|
|
78
|
+
|
|
79
|
+
case 21:
|
|
80
|
+
if (app !== null && app !== void 0 && app.context && !(sandbox !== null && sandbox !== void 0 && sandbox.disable)) {
|
|
81
|
+
app.context.window.ALIYUN_CONSOLE_CONFIG = {};
|
|
82
|
+
app.context.window.ALIYUN_CONSOLE_GLOBAL = {};
|
|
83
|
+
app.context.window.ALIYUN_CONSOLE_I18N_MESSAGE = {};
|
|
84
|
+
app.context.window.ALIYUN_WIND_MESSAGE = window.ALIYUN_WIND_MESSAGE;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
case 22:
|
|
77
88
|
END_TIME = Date.now();
|
|
78
89
|
(logger === null || logger === void 0 ? void 0 : logger.record) && logger.record({
|
|
79
90
|
CONFIG_START_TIME: CONFIG_START_TIME,
|
|
@@ -84,7 +95,7 @@ function _afterLoadHook() {
|
|
|
84
95
|
(logger === null || logger === void 0 ? void 0 : logger.send) && logger.send();
|
|
85
96
|
return _context.abrupt("return", appConfig);
|
|
86
97
|
|
|
87
|
-
case
|
|
98
|
+
case 26:
|
|
88
99
|
case "end":
|
|
89
100
|
return _context.stop();
|
|
90
101
|
}
|
package/lib/version.js
CHANGED
package/package.json
CHANGED
package/types/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const version = "1.4.
|
|
1
|
+
export declare const version = "1.4.27";
|