@firecms/core 3.0.0-canary.49 → 3.0.0-canary.50
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/index.es.js +8 -6
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +2 -2
- package/dist/index.umd.js.map +1 -1
- package/dist/util/resolutions.d.ts +0 -1
- package/package.json +4 -4
- package/src/components/EntityCollectionView/EntityCollectionView.tsx +5 -3
- package/src/form/components/StorageUploadProgress.tsx +1 -1
- package/src/util/resolutions.ts +2 -3
package/dist/index.es.js
CHANGED
|
@@ -5594,7 +5594,7 @@ function Eo({
|
|
|
5594
5594
|
path: e,
|
|
5595
5595
|
metadata: r
|
|
5596
5596
|
}).then(async ({ path: y }) => {
|
|
5597
|
-
console.debug("Upload successful"), await i(y, t, r), m.current && f(!1);
|
|
5597
|
+
console.debug("Upload successful", y), await i(y, t, r), m.current && f(!1);
|
|
5598
5598
|
}).catch((y) => {
|
|
5599
5599
|
console.warn("Upload error", y), m.current && (d(y), f(!1), l.open({
|
|
5600
5600
|
type: "error",
|
|
@@ -10305,7 +10305,7 @@ function Dc({
|
|
|
10305
10305
|
onSubmit: (l) => {
|
|
10306
10306
|
if (l.preventDefault(), !!o)
|
|
10307
10307
|
return i(!1), s.open({
|
|
10308
|
-
entityId: o,
|
|
10308
|
+
entityId: o.trim(),
|
|
10309
10309
|
path: t,
|
|
10310
10310
|
collection: e,
|
|
10311
10311
|
updateUrl: !0
|
|
@@ -10318,7 +10318,9 @@ function Dc({
|
|
|
10318
10318
|
{
|
|
10319
10319
|
autoFocus: r,
|
|
10320
10320
|
placeholder: "Find entity by ID",
|
|
10321
|
-
onChange: (l) =>
|
|
10321
|
+
onChange: (l) => {
|
|
10322
|
+
a(l.target.value);
|
|
10323
|
+
},
|
|
10322
10324
|
value: o,
|
|
10323
10325
|
className: "flex-grow bg-transparent outline-none p-1"
|
|
10324
10326
|
}
|
|
@@ -10327,7 +10329,7 @@ function Dc({
|
|
|
10327
10329
|
ge,
|
|
10328
10330
|
{
|
|
10329
10331
|
variant: "outlined",
|
|
10330
|
-
disabled: !o,
|
|
10332
|
+
disabled: !o.trim(),
|
|
10331
10333
|
type: "submit",
|
|
10332
10334
|
children: "Go"
|
|
10333
10335
|
}
|
|
@@ -14873,10 +14875,10 @@ function Ge({
|
|
|
14873
14875
|
}), i.propertyConfig && !xd(i.propertyConfig)) {
|
|
14874
14876
|
const o = r.fields;
|
|
14875
14877
|
if (!o)
|
|
14876
|
-
throw Error(`Trying to resolve a property with key ${i.propertyConfig} that inherits from a custom property config but no custom property configs were provided. Use the property
|
|
14878
|
+
throw Error(`Trying to resolve a property with key '${i.propertyConfig}' that inherits from a custom property config but no custom property configs were provided. Use the property 'propertyConfigs' in your app config to provide them`);
|
|
14877
14879
|
const a = o[i.propertyConfig];
|
|
14878
14880
|
if (!a)
|
|
14879
|
-
return console.warn(`Trying to resolve a property with key ${i.propertyConfig} that inherits from a custom property config but no custom property config with that key was found. Check the
|
|
14881
|
+
return console.warn(`Trying to resolve a property with key '${i.propertyConfig}' that inherits from a custom property config but no custom property config with that key was found. Check the 'propertyConfigs' in your app config`), console.warn("Available property configs", o), null;
|
|
14880
14882
|
if (a.property) {
|
|
14881
14883
|
const s = a.property;
|
|
14882
14884
|
"propertyConfig" in s && delete s.propertyConfig;
|