@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.bundle.js
CHANGED
|
@@ -1219,7 +1219,8 @@
|
|
|
1219
1219
|
accessRule: newAuth.accessRule,
|
|
1220
1220
|
isAdmin: newAuth.isAdmin,
|
|
1221
1221
|
csrfToken: newAuth.csrfToken,
|
|
1222
|
-
license: newAuth.license
|
|
1222
|
+
license: newAuth.license,
|
|
1223
|
+
userShowValue: newAuth.userShowValue
|
|
1223
1224
|
});
|
|
1224
1225
|
|
|
1225
1226
|
// re-init analytics to set user_id
|
|
@@ -3397,7 +3398,9 @@
|
|
|
3397
3398
|
var _kernel$bootstrapData3;
|
|
3398
3399
|
return Object.assign({
|
|
3399
3400
|
base_title: "DevOps 管理专家"
|
|
3400
|
-
}, (_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
|
+
} : {});
|
|
3401
3404
|
}
|
|
3402
3405
|
getLaunchpadSettings() {
|
|
3403
3406
|
var _kernel$bootstrapData4;
|
|
@@ -8791,6 +8794,9 @@
|
|
|
8791
8794
|
return filterMenus;
|
|
8792
8795
|
})();
|
|
8793
8796
|
}
|
|
8797
|
+
setOriginFaviconHref(href) {
|
|
8798
|
+
this.originFaviconHref = href;
|
|
8799
|
+
}
|
|
8794
8800
|
getOriginFaviconHref() {
|
|
8795
8801
|
return this.originFaviconHref;
|
|
8796
8802
|
}
|
|
@@ -10894,6 +10900,7 @@
|
|
|
10894
10900
|
} else {
|
|
10895
10901
|
faviconElement.href = _this3.kernel.getOriginFaviconHref();
|
|
10896
10902
|
}
|
|
10903
|
+
_this3.kernel.setOriginFaviconHref(faviconElement.href);
|
|
10897
10904
|
}
|
|
10898
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");
|
|
10899
10906
|
setMode("default");
|