@next-core/brick-kit 2.159.1 → 2.159.2
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 +7 -1
- package/dist/index.bundle.js.map +1 -1
- package/dist/index.esm.js +7 -1
- package/dist/index.esm.js.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
|
@@ -3398,7 +3398,9 @@ class Runtime {
|
|
|
3398
3398
|
var _kernel$bootstrapData3;
|
|
3399
3399
|
return Object.assign({
|
|
3400
3400
|
base_title: "DevOps 管理专家"
|
|
3401
|
-
}, (_kernel$bootstrapData3 = kernel.bootstrapData.settings) === null || _kernel$bootstrapData3 === void 0 ? void 0 : _kernel$bootstrapData3.brand)
|
|
3401
|
+
}, (_kernel$bootstrapData3 = kernel.bootstrapData.settings) === null || _kernel$bootstrapData3 === void 0 ? void 0 : _kernel$bootstrapData3.brand, kernel.getOriginFaviconHref() ? {
|
|
3402
|
+
favicon: kernel.getOriginFaviconHref()
|
|
3403
|
+
} : {});
|
|
3402
3404
|
}
|
|
3403
3405
|
getLaunchpadSettings() {
|
|
3404
3406
|
var _kernel$bootstrapData4;
|
|
@@ -8792,6 +8794,9 @@ class Kernel {
|
|
|
8792
8794
|
return filterMenus;
|
|
8793
8795
|
})();
|
|
8794
8796
|
}
|
|
8797
|
+
setOriginFaviconHref(href) {
|
|
8798
|
+
this.originFaviconHref = href;
|
|
8799
|
+
}
|
|
8795
8800
|
getOriginFaviconHref() {
|
|
8796
8801
|
return this.originFaviconHref;
|
|
8797
8802
|
}
|
|
@@ -10895,6 +10900,7 @@ class Router {
|
|
|
10895
10900
|
} else {
|
|
10896
10901
|
faviconElement.href = _this3.kernel.getOriginFaviconHref();
|
|
10897
10902
|
}
|
|
10903
|
+
_this3.kernel.setOriginFaviconHref(faviconElement.href);
|
|
10898
10904
|
}
|
|
10899
10905
|
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
10906
|
setMode("default");
|