@steedos/webapp 3.0.13 → 3.0.14-beta.1

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-DDjfnPPy.js";
1
+ import { c as commonjsGlobal, g as getDefaultExportFromCjs } from "./index-BwvMWDgU.js";
2
2
  function _mergeNamespaces(n, m) {
3
3
  for (var i = 0; i < m.length; i++) {
4
4
  const e = m[i];
@@ -34718,7 +34718,7 @@ const LoggedIn = ({ children }) => {
34718
34718
  window.location.origin
34719
34719
  );
34720
34720
  if (!currentUser) {
34721
- navigate("/login?redirect_uri=" + encodeURIComponent(window.location.pathname));
34721
+ navigate("/login?redirect_uri=" + encodeURIComponent(window.location.pathname + window.location.search));
34722
34722
  return;
34723
34723
  }
34724
34724
  if (!currentSpaceId2) {
@@ -48882,7 +48882,7 @@ function finishSignin(currentUser, tenant, location2, navigate) {
48882
48882
  }
48883
48883
  let redirect_uri = new URLSearchParams(location2 ? location2.search : "").get("redirect_uri");
48884
48884
  if (redirect_uri) {
48885
- navigate("/home?redirect_uri=" + redirect_uri);
48885
+ navigate("/home?redirect_uri=" + encodeURIComponent(redirect_uri));
48886
48886
  } else {
48887
48887
  navigate("/home");
48888
48888
  }
@@ -50050,7 +50050,7 @@ const getRedirectUrl = () => {
50050
50050
  };
50051
50051
  const goResetPassword = (navigate) => {
50052
50052
  const redirect2 = getRedirectUrl();
50053
- navigate("/update-password?redirect_uri=" + redirect2);
50053
+ navigate("/update-password?redirect_uri=" + encodeURIComponent(redirect2));
50054
50054
  };
50055
50055
  const Home = () => {
50056
50056
  const navigate = useNavigate();
@@ -81383,7 +81383,7 @@ if (typeof ActiveXObject === "function") {
81383
81383
  if (typeof fetchApi !== "function") fetchApi = void 0;
81384
81384
  if (!fetchApi && !XmlHttpRequestApi && !ActiveXObjectApi) {
81385
81385
  try {
81386
- __vitePreload(() => import("./browser-ponyfill-DV3aC_wh.js").then((n) => n.b), true ? [] : void 0).then(function(mod) {
81386
+ __vitePreload(() => import("./browser-ponyfill-CoPk88In.js").then((n) => n.b), true ? [] : void 0).then(function(mod) {
81387
81387
  fetchApi = mod.default;
81388
81388
  }).catch(function() {
81389
81389
  });
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-DDjfnPPy.js"></script>
68
+ <script type="module" crossorigin src="/assets/index-BwvMWDgU.js"></script>
69
69
  <link rel="stylesheet" crossorigin href="/assets/index-Np5NzHbA.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",
3
+ "version": "3.0.14-beta.1",
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": "a71381a476ebd1183cd2c7096005b7d99820e21c",
78
+ "gitHead": "cfda80963d2a7acc1e1d387808824dc52c2348cd",
79
79
  "dependencies": {
80
- "@steedos-widgets/amis-object": "^6.10.52",
80
+ "@steedos-widgets/amis-object": "^6.10.53-beta.1",
81
81
  "autoprefixer": "^10.4.23"
82
82
  }
83
83
  }