@plasmicpkgs/plasmic-cms 0.0.80 → 0.0.83
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.
- package/dist/components.d.ts +1 -1
- package/dist/plasmic-cms.cjs.development.js +15 -9
- package/dist/plasmic-cms.cjs.development.js.map +1 -1
- package/dist/plasmic-cms.cjs.production.min.js +1 -1
- package/dist/plasmic-cms.cjs.production.min.js.map +1 -1
- package/dist/plasmic-cms.esm.js +15 -9
- package/dist/plasmic-cms.esm.js.map +1 -1
- package/package.json +3 -3
package/dist/plasmic-cms.esm.js
CHANGED
|
@@ -1246,9 +1246,8 @@ function mkFieldOptions(tables, tableIdentifier, types) {
|
|
|
1246
1246
|
});
|
|
1247
1247
|
}
|
|
1248
1248
|
|
|
1249
|
-
var _excluded = ["
|
|
1250
|
-
_excluded2 = ["
|
|
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
|
-
|
|
1316
|
-
|
|
1317
|
-
|
|
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,
|
|
1729
|
+
rest = _objectWithoutPropertiesLoose(_ref9, _excluded);
|
|
1724
1730
|
|
|
1725
1731
|
var tables = useTablesWithDataLoaded();
|
|
1726
1732
|
var res = useRow(tables, table);
|
|
@@ -2075,7 +2081,7 @@ function CmsRowImage(_ref13) {
|
|
|
2075
2081
|
var cmsRowFieldValueMeta = {
|
|
2076
2082
|
name: componentPrefix + "-row-value",
|
|
2077
2083
|
displayName: "CMS Entry Value",
|
|
2078
|
-
importName: "
|
|
2084
|
+
importName: "CmsRowFieldValue",
|
|
2079
2085
|
importPath: modulePath,
|
|
2080
2086
|
props: {
|
|
2081
2087
|
children: {
|
|
@@ -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,
|
|
2133
|
+
rest = _objectWithoutPropertiesLoose(_ref15, _excluded2);
|
|
2128
2134
|
|
|
2129
2135
|
var tables = useTablesWithDataLoaded();
|
|
2130
2136
|
var res = useRow(tables, table);
|