@firecms/core 3.0.0-canary.47 → 3.0.0-canary.49
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 +303 -307
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.js.map +1 -1
- package/package.json +4 -4
- package/src/core/EntityEditView.tsx +0 -1
- package/src/form/EntityForm.tsx +0 -5
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@firecms/core",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "3.0.0-canary.
|
|
4
|
+
"version": "3.0.0-canary.49",
|
|
5
5
|
"description": "Awesome Firebase/Firestore-based headless open-source CMS",
|
|
6
6
|
"funding": {
|
|
7
7
|
"url": "https://github.com/sponsors/firecmsco"
|
|
@@ -46,8 +46,8 @@
|
|
|
46
46
|
"./package.json": "./package.json"
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@firecms/formex": "^3.0.0-canary.
|
|
50
|
-
"@firecms/ui": "^3.0.0-canary.
|
|
49
|
+
"@firecms/formex": "^3.0.0-canary.49",
|
|
50
|
+
"@firecms/ui": "^3.0.0-canary.49",
|
|
51
51
|
"@fontsource/jetbrains-mono": "^5.0.20",
|
|
52
52
|
"@hello-pangea/dnd": "^16.6.0",
|
|
53
53
|
"@radix-ui/react-portal": "^1.0.4",
|
|
@@ -111,7 +111,7 @@
|
|
|
111
111
|
"dist",
|
|
112
112
|
"src"
|
|
113
113
|
],
|
|
114
|
-
"gitHead": "
|
|
114
|
+
"gitHead": "ceeb7b89aac080a290671b5d4e4dbe72ea693c8c",
|
|
115
115
|
"publishConfig": {
|
|
116
116
|
"access": "public"
|
|
117
117
|
},
|
|
@@ -393,7 +393,6 @@ export function EntityEditView<M extends Record<string, any>, UserType extends U
|
|
|
393
393
|
onValuesAreModified(dirty);
|
|
394
394
|
}
|
|
395
395
|
|
|
396
|
-
console.log("eeee", collection);
|
|
397
396
|
function buildForm() {
|
|
398
397
|
const plugins = customizationController.plugins;
|
|
399
398
|
let form = <EntityForm
|
package/src/form/EntityForm.tsx
CHANGED
|
@@ -176,8 +176,6 @@ function EntityFormInternal<M extends Record<string, any>>({
|
|
|
176
176
|
onIdUpdateError,
|
|
177
177
|
}: EntityFormProps<M>) {
|
|
178
178
|
|
|
179
|
-
console.log("inputCollection", inputCollection)
|
|
180
|
-
|
|
181
179
|
const analyticsController = useAnalyticsController();
|
|
182
180
|
|
|
183
181
|
const customizationController = useCustomizationController();
|
|
@@ -348,9 +346,6 @@ function EntityFormInternal<M extends Record<string, any>>({
|
|
|
348
346
|
fields: customizationController.propertyConfigs
|
|
349
347
|
});
|
|
350
348
|
|
|
351
|
-
console.log("internalValues", internalValues);
|
|
352
|
-
console.log("resolvedCollection", resolvedCollection);
|
|
353
|
-
|
|
354
349
|
const titlePropertyKey = getEntityTitlePropertyKey(resolvedCollection, customizationController.propertyConfigs);
|
|
355
350
|
const title = internalValues && titlePropertyKey ? getValueInPath(internalValues, titlePropertyKey) : undefined;
|
|
356
351
|
|