@steedos/webapp 3.0.0-beta.114 → 3.0.0-beta.116

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.
@@ -33834,7 +33834,7 @@ Please change the parent <Route path="${parentPath}"> to <Route path="${parentPa
33834
33834
  return;
33835
33835
  }
33836
33836
  if (!currentSpaceId2) {
33837
- navigate("/select-space?redirect_to=" + encodeURIComponent(window.location.pathname));
33837
+ navigate("/select-space" + window.location.search);
33838
33838
  return;
33839
33839
  }
33840
33840
  }, [currentUser]);
@@ -54309,7 +54309,7 @@ Try polyfilling it using "@formatjs/intl-displaynames"
54309
54309
  return;
54310
54310
  }
54311
54311
  if (!currentSpace) {
54312
- navigate("/select-space");
54312
+ navigate("/select-space" + window.location.search);
54313
54313
  return;
54314
54314
  }
54315
54315
  dispatch2(validate()).then((me) => {
@@ -54318,7 +54318,13 @@ Try polyfilling it using "@formatjs/intl-displaynames"
54318
54318
  if ((_a2 = me.data) == null ? void 0 : _a2.password_expired) {
54319
54319
  goResetPassword(navigate);
54320
54320
  } else {
54321
- window.location.href = "/app";
54321
+ let redirect_uri = new URLSearchParams(location ? location.search : "").get("redirect_uri");
54322
+ debugger;
54323
+ if (redirect_uri) {
54324
+ window.location.href = redirect_uri;
54325
+ } else {
54326
+ window.location.href = "/app";
54327
+ }
54322
54328
  }
54323
54329
  });
54324
54330
  }, []);
@@ -54976,7 +54982,7 @@ Try polyfilling it using "@formatjs/intl-displaynames"
54976
54982
  if (space) {
54977
54983
  try {
54978
54984
  this.props.actions.selectSpace(space._id);
54979
- this.props.navigate(`/home/${space._id}`);
54985
+ this.props.navigate(`/home/${space._id}` + (this.props.location.search ? `${this.props.location.search}` : ""));
54980
54986
  } catch (error) {
54981
54987
  console.log(error);
54982
54988
  return { data: false };
@@ -55005,7 +55011,7 @@ Try polyfilling it using "@formatjs/intl-displaynames"
55005
55011
  }
55006
55012
  if (Object.keys(this.props.spaces).length === 1 && this.props.tenant.enable_create_tenant != true) {
55007
55013
  this.props.actions.selectSpace(Object.keys(this.props.spaces)[0]);
55008
- this.props.navigate(`/home/${Object.keys(this.props.spaces)[0]}`);
55014
+ this.props.navigate(`/home/${Object.keys(this.props.spaces)[0]}` + (this.props.location.search ? `${this.props.location.search}` : ""));
55009
55015
  }
55010
55016
  }, 0);
55011
55017
  }
@@ -73153,7 +73159,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
73153
73159
  const self2 = this;
73154
73160
  _window2.lodash = _window2._;
73155
73161
  _window2.loadJs("/steedos-init.js", () => {
73156
- _window2.loadJs(`${Builder2.settings.rootUrl}/client_scripts.js`, () => {
73162
+ _window2.loadJs(`${Builder2.settings.context.rootUrl}/client_scripts.js`, () => {
73157
73163
  self2.setState({ settings: settingsData, loading: false });
73158
73164
  });
73159
73165
  });
package/dist/index.html CHANGED
@@ -63,7 +63,7 @@
63
63
 
64
64
  </script>
65
65
  <link rel="stylesheet" type="text/css" href="/tailwind/tailwind-steedos.css">
66
- <script type="module" crossorigin src="/assets/index-D-1DrpDd.js"></script>
66
+ <script type="module" crossorigin src="/assets/index-C75NN-NA.js"></script>
67
67
  </head>
68
68
  <body class="skin-blue-light fixed steedos sidebar-mini three-columns" >
69
69
  <div id="root" class="steedos skin-blue-light creator h-full flex flex-col relative overflow-hidden bg-gray-50"></div>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@steedos/webapp",
3
- "version": "3.0.0-beta.114",
3
+ "version": "3.0.0-beta.116",
4
4
  "files": [
5
5
  "dist"
6
6
  ],
@@ -69,7 +69,7 @@
69
69
  "access": "public"
70
70
  },
71
71
  "repository": "https://github.com/steedos/app-builder/tree/master/apps/accounts",
72
- "gitHead": "abf9b93e8bed4456de266998961f99a6f3eec97f",
72
+ "gitHead": "5faa4fd9601e2316a5fa428fcb945e3ecc8d1160",
73
73
  "dependencies": {
74
74
  "@ai-sdk/react": "^2.0.76",
75
75
  "ai": "^5.0.76",