@firecms/core 3.0.0-canary.171 → 3.0.0-canary.172
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 +2 -0
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +2 -0
- package/dist/index.umd.js.map +1 -1
- package/package.json +5 -5
- package/src/routes/FireCMSRoute.tsx +2 -0
package/dist/index.umd.js
CHANGED
|
@@ -23035,8 +23035,10 @@
|
|
|
23035
23035
|
const collectionPath = navigation.resolveIdsFrom(isNew ? lastCollectionEntry.path : lastEntityEntry.path);
|
|
23036
23036
|
return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
23037
23037
|
/* @__PURE__ */ jsxRuntime.jsx(EntityEditView, { entityId: isNew ? void 0 : entityId, collection, layout: "full_screen", path: collectionPath, selectedTab: selectedTab ?? void 0, onValuesModified: (modified) => blocked.current = modified, onSaved: (params) => {
|
|
23038
|
+
console.log("EntityEditView Saved", params);
|
|
23038
23039
|
updateUrl(params.entityId, params.selectedTab, true, params.path, isNew);
|
|
23039
23040
|
}, onTabChange: (params_0) => {
|
|
23041
|
+
console.log("EntityEditView onTabChange", params_0);
|
|
23040
23042
|
updateUrl(params_0.entityId, params_0.selectedTab, !isNew, params_0.path, isNew);
|
|
23041
23043
|
setSelectedTab(params_0.selectedTab);
|
|
23042
23044
|
}, parentCollectionIds }, collection.id + "_" + (isNew ? "new" : entityId)),
|