@steedos/webapp 3.0.13-beta.3 → 3.0.13-beta.5
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.
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as commonjsGlobal, g as getDefaultExportFromCjs } from "./index-
|
|
1
|
+
import { c as commonjsGlobal, g as getDefaultExportFromCjs } from "./index-LXgDZiSo.js";
|
|
2
2
|
function _mergeNamespaces(n, m) {
|
|
3
3
|
for (var i = 0; i < m.length; i++) {
|
|
4
4
|
const e = m[i];
|
|
@@ -51675,6 +51675,14 @@ const pcInitJumtoFirstAppFirstTabScript = (payload, response, api2, context) =>
|
|
|
51675
51675
|
let app_items = payload;
|
|
51676
51676
|
if (app_items && app_items.length > 0) {
|
|
51677
51677
|
let firstApp = app_items[0];
|
|
51678
|
+
if (firstApp && firstApp.default_tab) {
|
|
51679
|
+
if (typeof firstApp.default_tab === "object" && firstApp.default_tab.path) {
|
|
51680
|
+
window.location.href = firstApp.default_tab.path;
|
|
51681
|
+
} else {
|
|
51682
|
+
window.location.href = `/app/${firstApp.id}/${firstApp.default_tab}`;
|
|
51683
|
+
}
|
|
51684
|
+
return payload;
|
|
51685
|
+
}
|
|
51678
51686
|
if (firstApp && firstApp.children && firstApp.children.length > 0) {
|
|
51679
51687
|
let firstTab = firstApp.children[0];
|
|
51680
51688
|
if (firstTab) {
|
|
@@ -54715,7 +54723,7 @@ const AppHeader = () => {
|
|
|
54715
54723
|
if (searchParams.get("embed") == "1") {
|
|
54716
54724
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(jsxRuntimeExports.Fragment, {});
|
|
54717
54725
|
}
|
|
54718
|
-
let logoSrc = "";
|
|
54726
|
+
let logoSrc = "/images/logo.svg";
|
|
54719
54727
|
if (Builder$1.settings?.context?.user?.space?.avatar) {
|
|
54720
54728
|
logoSrc = "/api/v6/files/cfs.avatars.filerecord/" + Builder$1.settings.context.user.space.avatar;
|
|
54721
54729
|
}
|
|
@@ -81223,7 +81231,7 @@ if (typeof ActiveXObject === "function") {
|
|
|
81223
81231
|
if (typeof fetchApi !== "function") fetchApi = void 0;
|
|
81224
81232
|
if (!fetchApi && !XmlHttpRequestApi && !ActiveXObjectApi) {
|
|
81225
81233
|
try {
|
|
81226
|
-
__vitePreload(() => import("./browser-ponyfill-
|
|
81234
|
+
__vitePreload(() => import("./browser-ponyfill-CMzMMb7h.js").then((n) => n.b), true ? [] : void 0).then(function(mod) {
|
|
81227
81235
|
fetchApi = mod.default;
|
|
81228
81236
|
}).catch(function() {
|
|
81229
81237
|
});
|
package/dist/index.html
CHANGED
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
<link rel="stylesheet" href="https://unpkg.com/@steedos-widgets/amis@6.3.0-patch.8/lib/themes/antd.css">
|
|
66
66
|
<link rel="stylesheet" href="https://unpkg.com/@steedos-widgets/amis@6.3.0-patch.8/lib/helper.css">
|
|
67
67
|
<link rel="stylesheet" href="https://unpkg.com/@steedos-widgets/amis@6.3.0-patch.8/sdk/iconfont.css">
|
|
68
|
-
<script type="module" crossorigin src="/assets/index-
|
|
68
|
+
<script type="module" crossorigin src="/assets/index-LXgDZiSo.js"></script>
|
|
69
69
|
<link rel="stylesheet" crossorigin href="/assets/index-Cd9-p_c2.css">
|
|
70
70
|
</head>
|
|
71
71
|
<body class="skin-blue-light fixed steedos sidebar-mini three-columns" >
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@steedos/webapp",
|
|
3
|
-
"version": "3.0.13-beta.
|
|
3
|
+
"version": "3.0.13-beta.5",
|
|
4
4
|
"files": [
|
|
5
5
|
"dist"
|
|
6
6
|
],
|
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
"access": "public"
|
|
76
76
|
},
|
|
77
77
|
"repository": "https://github.com/steedos/app-builder/tree/master/apps/accounts",
|
|
78
|
-
"gitHead": "
|
|
78
|
+
"gitHead": "6cd0e81ae9986fc6fc7bc1b40519b63695d03879",
|
|
79
79
|
"dependencies": {
|
|
80
80
|
"@steedos-widgets/amis-object": "^6.10.51",
|
|
81
81
|
"autoprefixer": "^10.4.23"
|