@next-core/brick-kit 2.159.1 → 2.159.3
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 +9 -2
- package/dist/index.bundle.js.map +1 -1
- package/dist/index.esm.js +9 -2
- package/dist/index.esm.js.map +1 -1
- package/dist/types/auth.d.ts.map +1 -1
- package/dist/types/core/Kernel.d.ts +1 -0
- package/dist/types/core/Kernel.d.ts.map +1 -1
- package/dist/types/core/Router.d.ts.map +1 -1
- package/dist/types/core/Runtime.d.ts.map +1 -1
- package/package.json +2 -2
package/dist/index.esm.js
CHANGED
|
@@ -1220,7 +1220,8 @@ function authenticate(newAuth) {
|
|
|
1220
1220
|
accessRule: newAuth.accessRule,
|
|
1221
1221
|
isAdmin: newAuth.isAdmin,
|
|
1222
1222
|
csrfToken: newAuth.csrfToken,
|
|
1223
|
-
license: newAuth.license
|
|
1223
|
+
license: newAuth.license,
|
|
1224
|
+
userShowValue: newAuth.userShowValue
|
|
1224
1225
|
});
|
|
1225
1226
|
|
|
1226
1227
|
// re-init analytics to set user_id
|
|
@@ -3398,7 +3399,9 @@ class Runtime {
|
|
|
3398
3399
|
var _kernel$bootstrapData3;
|
|
3399
3400
|
return Object.assign({
|
|
3400
3401
|
base_title: "DevOps 管理专家"
|
|
3401
|
-
}, (_kernel$bootstrapData3 = kernel.bootstrapData.settings) === null || _kernel$bootstrapData3 === void 0 ? void 0 : _kernel$bootstrapData3.brand)
|
|
3402
|
+
}, (_kernel$bootstrapData3 = kernel.bootstrapData.settings) === null || _kernel$bootstrapData3 === void 0 ? void 0 : _kernel$bootstrapData3.brand, kernel.getOriginFaviconHref() ? {
|
|
3403
|
+
favicon: kernel.getOriginFaviconHref()
|
|
3404
|
+
} : {});
|
|
3402
3405
|
}
|
|
3403
3406
|
getLaunchpadSettings() {
|
|
3404
3407
|
var _kernel$bootstrapData4;
|
|
@@ -8792,6 +8795,9 @@ class Kernel {
|
|
|
8792
8795
|
return filterMenus;
|
|
8793
8796
|
})();
|
|
8794
8797
|
}
|
|
8798
|
+
setOriginFaviconHref(href) {
|
|
8799
|
+
this.originFaviconHref = href;
|
|
8800
|
+
}
|
|
8795
8801
|
getOriginFaviconHref() {
|
|
8796
8802
|
return this.originFaviconHref;
|
|
8797
8803
|
}
|
|
@@ -10895,6 +10901,7 @@ class Router {
|
|
|
10895
10901
|
} else {
|
|
10896
10902
|
faviconElement.href = _this3.kernel.getOriginFaviconHref();
|
|
10897
10903
|
}
|
|
10904
|
+
_this3.kernel.setOriginFaviconHref(faviconElement.href);
|
|
10898
10905
|
}
|
|
10899
10906
|
setTheme(((_getLocalAppsTheme = getLocalAppsTheme()) === null || _getLocalAppsTheme === void 0 ? void 0 : _getLocalAppsTheme[currentApp === null || currentApp === void 0 ? void 0 : currentApp.id]) || (currentApp === null || currentApp === void 0 ? void 0 : currentApp.theme) || "light");
|
|
10900
10907
|
setMode("default");
|