@steedos/webapp 3.0.14-beta.13 → 3.0.14-beta.15
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-BSH9ODS7.js";
|
|
2
2
|
function _mergeNamespaces(n, m) {
|
|
3
3
|
for (var i = 0; i < m.length; i++) {
|
|
4
4
|
const e = m[i];
|
|
@@ -42409,6 +42409,17 @@ typeof window !== "undefined" ? createHashHistory() : null;
|
|
|
42409
42409
|
function selectSpace(spaceId) {
|
|
42410
42410
|
return async (dispatch2, getState) => {
|
|
42411
42411
|
let selectedSpaceId = spaceId || LocalStorageStore.getItem("spaceId");
|
|
42412
|
+
if (!selectedSpaceId) {
|
|
42413
|
+
selectedSpaceId = getSettingsTenantId(getState());
|
|
42414
|
+
console.log(`selectedSpaceId`, selectedSpaceId);
|
|
42415
|
+
}
|
|
42416
|
+
if (!selectedSpaceId) {
|
|
42417
|
+
const spaces2 = getSpaces(getState());
|
|
42418
|
+
const spaceIds = Object.keys(spaces2);
|
|
42419
|
+
if (spaceIds.length === 1) {
|
|
42420
|
+
selectedSpaceId = spaceIds[0];
|
|
42421
|
+
}
|
|
42422
|
+
}
|
|
42412
42423
|
if (!selectedSpaceId) {
|
|
42413
42424
|
return { data: false };
|
|
42414
42425
|
}
|
|
@@ -50051,10 +50062,18 @@ const Logout = (props) => {
|
|
|
50051
50062
|
redirect_uri = tenant.page_logout;
|
|
50052
50063
|
}
|
|
50053
50064
|
logout2().then(() => {
|
|
50054
|
-
|
|
50065
|
+
if (redirect_uri.startsWith("http://") || redirect_uri.startsWith("https://")) {
|
|
50066
|
+
window.location.href = redirect_uri;
|
|
50067
|
+
} else {
|
|
50068
|
+
navigate(redirect_uri);
|
|
50069
|
+
}
|
|
50055
50070
|
}).catch((e) => {
|
|
50056
50071
|
console.error(e);
|
|
50057
|
-
|
|
50072
|
+
if (redirect_uri.startsWith("http://") || redirect_uri.startsWith("https://")) {
|
|
50073
|
+
window.location.href = redirect_uri;
|
|
50074
|
+
} else {
|
|
50075
|
+
navigate(redirect_uri);
|
|
50076
|
+
}
|
|
50058
50077
|
});
|
|
50059
50078
|
}, [logout2, navigate, location2.search, tenant.page_logout]);
|
|
50060
50079
|
return null;
|
|
@@ -81568,7 +81587,7 @@ if (typeof ActiveXObject === "function") {
|
|
|
81568
81587
|
if (typeof fetchApi !== "function") fetchApi = void 0;
|
|
81569
81588
|
if (!fetchApi && !XmlHttpRequestApi && !ActiveXObjectApi) {
|
|
81570
81589
|
try {
|
|
81571
|
-
__vitePreload(() => import("./browser-ponyfill-
|
|
81590
|
+
__vitePreload(() => import("./browser-ponyfill-BXlue2m_.js").then((n) => n.b), true ? [] : void 0).then(function(mod) {
|
|
81572
81591
|
fetchApi = mod.default;
|
|
81573
81592
|
}).catch(function() {
|
|
81574
81593
|
});
|
|
@@ -1284,6 +1284,9 @@ video {
|
|
|
1284
1284
|
.max-h-full {
|
|
1285
1285
|
max-height: 100%;
|
|
1286
1286
|
}
|
|
1287
|
+
.min-h-0 {
|
|
1288
|
+
min-height: 0px;
|
|
1289
|
+
}
|
|
1287
1290
|
.min-h-8 {
|
|
1288
1291
|
min-height: 2rem;
|
|
1289
1292
|
}
|
|
@@ -2138,9 +2141,6 @@ video {
|
|
|
2138
2141
|
.align-middle {
|
|
2139
2142
|
vertical-align: middle;
|
|
2140
2143
|
}
|
|
2141
|
-
.font-\[SimSun\] {
|
|
2142
|
-
font-family: SimSun;
|
|
2143
|
-
}
|
|
2144
2144
|
.font-mono {
|
|
2145
2145
|
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
|
|
2146
2146
|
}
|
package/dist/index.html
CHANGED
|
@@ -66,8 +66,8 @@
|
|
|
66
66
|
<link rel="stylesheet" href="https://unpkg.com/@steedos-widgets/amis@6.3.0-patch.8/lib/themes/antd.css">
|
|
67
67
|
<link rel="stylesheet" href="https://unpkg.com/@steedos-widgets/amis@6.3.0-patch.8/lib/helper.css">
|
|
68
68
|
<link rel="stylesheet" href="https://unpkg.com/@steedos-widgets/amis@6.3.0-patch.8/sdk/iconfont.css">
|
|
69
|
-
<script type="module" crossorigin src="/assets/index-
|
|
70
|
-
<link rel="stylesheet" crossorigin href="/assets/index-
|
|
69
|
+
<script type="module" crossorigin src="/assets/index-BSH9ODS7.js"></script>
|
|
70
|
+
<link rel="stylesheet" crossorigin href="/assets/index-DchxWQUw.css">
|
|
71
71
|
</head>
|
|
72
72
|
<body class="skin-blue-light fixed steedos sidebar-mini three-columns" >
|
|
73
73
|
<div id="root" class="steedos skin-blue-light creator h-full flex flex-col relative overflow-hidden bg-slate-50"></div>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@steedos/webapp",
|
|
3
|
-
"version": "3.0.14-beta.
|
|
3
|
+
"version": "3.0.14-beta.15",
|
|
4
4
|
"files": [
|
|
5
5
|
"dist"
|
|
6
6
|
],
|
|
@@ -75,9 +75,9 @@
|
|
|
75
75
|
"access": "public"
|
|
76
76
|
},
|
|
77
77
|
"repository": "https://github.com/steedos/app-builder/tree/master/apps/accounts",
|
|
78
|
-
"gitHead": "
|
|
78
|
+
"gitHead": "629aeb346ee02ead884d9b425a03fa9ec1d54cb5",
|
|
79
79
|
"dependencies": {
|
|
80
|
-
"@steedos-widgets/amis-object": "^6.10.53-beta.
|
|
80
|
+
"@steedos-widgets/amis-object": "^6.10.53-beta.10",
|
|
81
81
|
"autoprefixer": "^10.4.23"
|
|
82
82
|
}
|
|
83
83
|
}
|