@steedos/webapp 3.0.0-beta.36 → 3.0.0-beta.37
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.
|
@@ -53845,13 +53845,30 @@ Try polyfilling it using "@formatjs/intl-displaynames"
|
|
|
53845
53845
|
return /* @__PURE__ */ jsxRuntimeExports.jsx("div", {});
|
|
53846
53846
|
};
|
|
53847
53847
|
const AppHeader = () => {
|
|
53848
|
+
var _a2, _b2, _c, _d, _e, _f, _g, _h;
|
|
53848
53849
|
const params = useParams();
|
|
53849
53850
|
let { appId = null, objectName } = params;
|
|
53850
53851
|
if (!appId) {
|
|
53851
53852
|
document.body.classList.remove("sidebar-open");
|
|
53852
53853
|
}
|
|
53853
53854
|
const isMobile = window.innerWidth < 1024;
|
|
53854
|
-
|
|
53855
|
+
let logoSrc = `/images/logo_platform.png`;
|
|
53856
|
+
if ((_d = (_c = (_b2 = (_a2 = Builder$1.settings) == null ? void 0 : _a2.context) == null ? void 0 : _b2.user) == null ? void 0 : _c.space) == null ? void 0 : _d.avatar) {
|
|
53857
|
+
logoSrc = "/api/v6/files/cfs.avatars.filerecord/" + Builder$1.settings.context.user.space.avatar;
|
|
53858
|
+
}
|
|
53859
|
+
const faviconLink = document.querySelector('link[rel*="icon"], link[rel*="shortcut"]');
|
|
53860
|
+
let favicon = "/favicons/favicon.ico";
|
|
53861
|
+
if ((_h = (_g = (_f = (_e = Builder$1.settings) == null ? void 0 : _e.context) == null ? void 0 : _f.user) == null ? void 0 : _g.space) == null ? void 0 : _h.favicon) {
|
|
53862
|
+
favicon = "/api/v6/files/cfs.avatars.filerecord/" + Builder$1.settings.context.user.space.favicon;
|
|
53863
|
+
}
|
|
53864
|
+
if (faviconLink) {
|
|
53865
|
+
faviconLink.href = favicon;
|
|
53866
|
+
} else {
|
|
53867
|
+
const newFaviconLink = document.createElement("link");
|
|
53868
|
+
newFaviconLink.rel = "icon";
|
|
53869
|
+
newFaviconLink.href = favicon;
|
|
53870
|
+
document.head.appendChild(newFaviconLink);
|
|
53871
|
+
}
|
|
53855
53872
|
const schema = {
|
|
53856
53873
|
"type": "service",
|
|
53857
53874
|
name: "globalHeader",
|
package/dist/index.html
CHANGED
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
window.loadCss = loadCss;
|
|
61
61
|
|
|
62
62
|
</script>
|
|
63
|
-
<script type="module" crossorigin src="/assets/index-
|
|
63
|
+
<script type="module" crossorigin src="/assets/index-CoOHFh8U.js"></script>
|
|
64
64
|
</head>
|
|
65
65
|
<body class="skin-blue-light fixed steedos sidebar-mini three-columns" >
|
|
66
66
|
<div id="root" class="steedos skin-blue-light creator h-full flex flex-col relative overflow-hidden"></div>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@steedos/webapp",
|
|
3
|
-
"version": "3.0.0-beta.
|
|
3
|
+
"version": "3.0.0-beta.37",
|
|
4
4
|
"files": [
|
|
5
5
|
"dist"
|
|
6
6
|
],
|
|
@@ -68,5 +68,5 @@
|
|
|
68
68
|
"access": "public"
|
|
69
69
|
},
|
|
70
70
|
"repository": "https://github.com/steedos/app-builder/tree/master/apps/accounts",
|
|
71
|
-
"gitHead": "
|
|
71
|
+
"gitHead": "48d7235a946bc846886fca71a3520f761d4b170f"
|
|
72
72
|
}
|