@next-core/brick-kit 2.184.2 → 2.185.0
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.bundle.js +23 -3
- package/dist/index.bundle.js.map +1 -1
- package/dist/index.esm.js +23 -3
- package/dist/index.esm.js.map +1 -1
- package/dist/types/core/Router.d.ts.map +1 -1
- package/dist/types/i18n/constants.d.ts +2 -1
- package/dist/types/i18n/constants.d.ts.map +1 -1
- package/dist/types/i18n/locales/en.d.ts.map +1 -1
- package/dist/types/i18n/locales/zh.d.ts.map +1 -1
- package/package.json +2 -2
package/dist/index.bundle.js
CHANGED
|
@@ -176,6 +176,7 @@
|
|
|
176
176
|
K["NO_PERMISSION"] = "NO_PERMISSION";
|
|
177
177
|
K["OTHER_ERROR"] = "OTHER_ERROR";
|
|
178
178
|
K["GO_BACK_PREVIOUS_PAGE"] = "GO_BACK_PREVIOUS_PAGE";
|
|
179
|
+
K["GO_BACK_HOME_PAGE"] = "GO_BACK_HOME_PAGE";
|
|
179
180
|
})(K || (K = {}));
|
|
180
181
|
|
|
181
182
|
/**
|
|
@@ -1209,7 +1210,8 @@
|
|
|
1209
1210
|
[K.LICENSE_EXPIRED]: "The license authorization has expired, please contact the platform administrator",
|
|
1210
1211
|
[K.NO_PERMISSION]: "Unauthorized access, unable to retrieve the required resources for this page",
|
|
1211
1212
|
[K.OTHER_ERROR]: "Oops! Something went wrong",
|
|
1212
|
-
[K.GO_BACK_PREVIOUS_PAGE]: "Go back to previous page"
|
|
1213
|
+
[K.GO_BACK_PREVIOUS_PAGE]: "Go back to previous page",
|
|
1214
|
+
[K.GO_BACK_HOME_PAGE]: "Back to home page"
|
|
1213
1215
|
};
|
|
1214
1216
|
var en = locale$7;
|
|
1215
1217
|
|
|
@@ -1225,7 +1227,8 @@
|
|
|
1225
1227
|
[K.LICENSE_EXPIRED]: "License 授权失效,请联系平台管理员",
|
|
1226
1228
|
[K.NO_PERMISSION]: "没有权限,无法获取页面所需要的资源",
|
|
1227
1229
|
[K.OTHER_ERROR]: "糟糕!页面出现了一些问题",
|
|
1228
|
-
[K.GO_BACK_PREVIOUS_PAGE]: "回到上一页"
|
|
1230
|
+
[K.GO_BACK_PREVIOUS_PAGE]: "回到上一页",
|
|
1231
|
+
[K.GO_BACK_HOME_PAGE]: "回到首页"
|
|
1229
1232
|
};
|
|
1230
1233
|
var zh = locale$6;
|
|
1231
1234
|
|
|
@@ -11828,7 +11831,7 @@
|
|
|
11828
11831
|
render(location) {
|
|
11829
11832
|
var _this3 = this;
|
|
11830
11833
|
return _asyncToGenerator__default["default"](function* () {
|
|
11831
|
-
var _apiAnalyzer$getInsta, _storyboard$app, _this3$kernel$previou, _currentApp$config, _currentApp$config$_e, _this3$kernel$bootstr, _this3$kernel$bootstr2, _getLocalAppsTheme;
|
|
11834
|
+
var _apiAnalyzer$getInsta, _storyboard$app, _this3$kernel$previou, _currentApp$config, _currentApp$config$_e, _this3$kernel$bootstr, _this3$kernel$bootstr2, _getLocalAppsTheme, _storyboard$app$homep, _storyboard$app2;
|
|
11832
11835
|
_this3.state = "initial";
|
|
11833
11836
|
var renderId = _this3.renderId = _.uniqueId("render-id-");
|
|
11834
11837
|
resetAllInjected();
|
|
@@ -12263,6 +12266,23 @@
|
|
|
12263
12266
|
useNewIllustration: true,
|
|
12264
12267
|
style: illustrationStyle
|
|
12265
12268
|
}, storyboard ? notFoundPageConfig : notFoundAppConfig),
|
|
12269
|
+
children: [{
|
|
12270
|
+
type: "a",
|
|
12271
|
+
properties: {
|
|
12272
|
+
textContent: i18next__default["default"].t("".concat(NS_BRICK_KIT, ":").concat(K.GO_BACK_HOME_PAGE)),
|
|
12273
|
+
style: {
|
|
12274
|
+
display: "block",
|
|
12275
|
+
textAlign: "center"
|
|
12276
|
+
}
|
|
12277
|
+
},
|
|
12278
|
+
slotId: "content",
|
|
12279
|
+
events: {
|
|
12280
|
+
click: [{
|
|
12281
|
+
action: "history.push",
|
|
12282
|
+
args: [(_storyboard$app$homep = storyboard === null || storyboard === void 0 ? void 0 : (_storyboard$app2 = storyboard.app) === null || _storyboard$app2 === void 0 ? void 0 : _storyboard$app2.homepage) !== null && _storyboard$app$homep !== void 0 ? _storyboard$app$homep : "/"]
|
|
12283
|
+
}]
|
|
12284
|
+
}
|
|
12285
|
+
}],
|
|
12266
12286
|
events: {}
|
|
12267
12287
|
}], mountPoints.main);
|
|
12268
12288
|
unmountTree(mountPoints.portal);
|