@steedos/webapp 3.0.0-beta.84 → 3.0.0-beta.86

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.
@@ -49642,7 +49642,7 @@ Try polyfilling it using "@formatjs/intl-displaynames"
49642
49642
  });
49643
49643
  });
49644
49644
  var define_process_env_default = {};
49645
- var SDK_VERSION = "8.0.39", _a;
49645
+ var SDK_VERSION = "8.0.40", _a;
49646
49646
  "undefined" != typeof window && (null === (_a = window.parent) || void 0 === _a || _a.postMessage({ type: "builder.isReactSdk", data: { value: true, supportsPatchUpdates: "v4", supportsCustomBreakpoints: true, supportsGlobalSymbols: true, blockLevelPersonalization: true, version: SDK_VERSION } }, "*"));
49647
49647
  var extendStatics = function(e, t2) {
49648
49648
  return (extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e2, t22) {
@@ -51234,7 +51234,7 @@ Try polyfilling it using "@formatjs/intl-displaynames"
51234
51234
  case 1:
51235
51235
  return o.sent(), e2 = this.props.builderState, t22 = e2.context, n = __assign(__assign(__assign({}, e2.state), this.props.data), { _scoped: this._scoped }), r2 = __assign(__assign(__assign({ theme: "antd", requestAdaptor: function(e3) {
51236
51236
  return 1 != e3.allowCredentials && (e3.withCredentials = false, delete e3.allowCredentials), e3;
51237
- } }, Builder$1.settings.env), t22.env), this.props.env), this.amisScoped = this.amis.embed(this.ref.current, this.props.schema, { data: n }, r2, function() {
51237
+ } }, Builder$1.settings.env), t22.env), this.props.env), this.amisScoped = this.amis.embed(this.ref.current, this.props.schema, __assign({ data: n, locale: this.props.locale || "en-US" }, this.props.props || {}), r2, function() {
51238
51238
  Object.assign(i._scoped, i.amisScoped);
51239
51239
  }), [2];
51240
51240
  }
@@ -55117,6 +55117,7 @@ Try polyfilling it using "@formatjs/intl-displaynames"
55117
55117
  return pathname + search + hash2;
55118
55118
  };
55119
55119
  const AmisRender = function({ schema = {}, data: data2 = {}, env = {} }) {
55120
+ var _a2, _b2;
55120
55121
  const navigate = useNavigate();
55121
55122
  if (!window.goBack) {
55122
55123
  window.goBack = () => {
@@ -55126,6 +55127,7 @@ Try polyfilling it using "@formatjs/intl-displaynames"
55126
55127
  if (!window.navigate) {
55127
55128
  window.navigate = navigate;
55128
55129
  }
55130
+ const locale = ((_b2 = (_a2 = Builder$1.settings.context) == null ? void 0 : _a2.user) == null ? void 0 : _b2.language) || Builder$1.settings.default_language;
55129
55131
  const mergedData = {
55130
55132
  app_id: Builder$1.settings.appId,
55131
55133
  context: Builder$1.settings.context,
@@ -55174,7 +55176,8 @@ Try polyfilling it using "@formatjs/intl-displaynames"
55174
55176
  options: {
55175
55177
  schema,
55176
55178
  data: mergedData,
55177
- env: mergedEnv
55179
+ env: mergedEnv,
55180
+ locale
55178
55181
  }
55179
55182
  },
55180
55183
  responsiveStyles: {
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-BoYaSgrS.js"></script>
63
+ <script type="module" crossorigin src="/assets/index-BSk7S_Ew.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 sm: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.84",
3
+ "version": "3.0.0-beta.86",
4
4
  "files": [
5
5
  "dist"
6
6
  ],
@@ -24,7 +24,7 @@
24
24
  "@accounts/client": "^0.19.0",
25
25
  "@accounts/client-password": "^0.19.0",
26
26
  "@accounts/rest-client": "^0.19.0",
27
- "@builder6/react": "8.0.39",
27
+ "@builder6/react": "8.0.40",
28
28
  "@material-ui/core": "^4.4.1",
29
29
  "@material-ui/icons": "^4.4.1",
30
30
  "@material-ui/styles": "^4.4.1",
@@ -69,5 +69,5 @@
69
69
  "access": "public"
70
70
  },
71
71
  "repository": "https://github.com/steedos/app-builder/tree/master/apps/accounts",
72
- "gitHead": "2d66de8a4592700901c28ae69ead7733166b761b"
72
+ "gitHead": "20f7a29c81eb2095c26cbe89571b5ea631768413"
73
73
  }