@plasmicpkgs/plasmic-cms 0.0.79 → 0.0.82

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.
@@ -1246,9 +1246,8 @@ function mkFieldOptions(tables, tableIdentifier, types) {
1246
1246
  });
1247
1247
  }
1248
1248
 
1249
- var _excluded = ["children"],
1250
- _excluded2 = ["className", "table", "field", "dateFormat", "setControlContextData"],
1251
- _excluded3 = ["table", "field", "valueProp", "children", "setControlContextData"];
1249
+ var _excluded = ["className", "table", "field", "dateFormat", "setControlContextData"],
1250
+ _excluded2 = ["table", "field", "valueProp", "children", "setControlContextData"];
1252
1251
  var modulePath = "@plasmicpkgs/plasmic-cms";
1253
1252
  var componentPrefix = "hostless-plasmic-cms";
1254
1253
 
@@ -1312,9 +1311,16 @@ var cmsCredentialsProviderMeta = {
1312
1311
  };
1313
1312
  function CmsCredentialsProvider(_ref) {
1314
1313
  var children = _ref.children,
1315
- config = _objectWithoutPropertiesLoose(_ref, _excluded);
1316
-
1317
- config.host = config.host || defaultHost;
1314
+ databaseId = _ref.databaseId,
1315
+ databaseToken = _ref.databaseToken,
1316
+ host = _ref.host,
1317
+ locale = _ref.locale;
1318
+ var config = {
1319
+ databaseId: databaseId,
1320
+ databaseToken: databaseToken,
1321
+ locale: locale,
1322
+ host: host || defaultHost
1323
+ };
1318
1324
  return React.createElement(DatabaseProvider, {
1319
1325
  config: config
1320
1326
  }, React.createElement(TablesFetcher, null, children));
@@ -1720,7 +1726,7 @@ function CmsRowField(_ref9) {
1720
1726
  field = _ref9.field,
1721
1727
  dateFormat = _ref9.dateFormat,
1722
1728
  setControlContextData = _ref9.setControlContextData,
1723
- rest = _objectWithoutPropertiesLoose(_ref9, _excluded2);
1729
+ rest = _objectWithoutPropertiesLoose(_ref9, _excluded);
1724
1730
 
1725
1731
  var tables = useTablesWithDataLoaded();
1726
1732
  var res = useRow(tables, table);
@@ -2124,7 +2130,7 @@ function CmsRowFieldValue(_ref15) {
2124
2130
  valueProp = _ref15.valueProp,
2125
2131
  children = _ref15.children,
2126
2132
  setControlContextData = _ref15.setControlContextData,
2127
- rest = _objectWithoutPropertiesLoose(_ref15, _excluded3);
2133
+ rest = _objectWithoutPropertiesLoose(_ref15, _excluded2);
2128
2134
 
2129
2135
  var tables = useTablesWithDataLoaded();
2130
2136
  var res = useRow(tables, table);