@overmap-ai/core 1.0.38-component-fields.2 → 1.0.38-component-fields.4
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.
|
@@ -5445,6 +5445,7 @@ var __publicField = (obj, key, value) => {
|
|
|
5445
5445
|
...componentType && { component_type: componentType },
|
|
5446
5446
|
...ownerAttrs
|
|
5447
5447
|
};
|
|
5448
|
+
console.log(retForm);
|
|
5448
5449
|
const { payloadWithoutImage, images } = await separateImageFromFields(offlineRevisionPayload);
|
|
5449
5450
|
const retRevision = {
|
|
5450
5451
|
...payloadWithoutImage,
|
|
@@ -5462,7 +5463,11 @@ var __publicField = (obj, key, value) => {
|
|
|
5462
5463
|
queryParams: activeWorkspaceId ? {
|
|
5463
5464
|
workspace_id: activeWorkspaceId
|
|
5464
5465
|
} : void 0,
|
|
5465
|
-
payload: {
|
|
5466
|
+
payload: {
|
|
5467
|
+
...offlineFormPayload,
|
|
5468
|
+
...componentType && { component_type: componentType },
|
|
5469
|
+
initial_revision: payloadWithoutImage
|
|
5470
|
+
},
|
|
5466
5471
|
blockers: [],
|
|
5467
5472
|
blocks: [offlineFormPayload.offline_id, payloadWithoutImage.offline_id]
|
|
5468
5473
|
});
|
|
@@ -11666,7 +11671,7 @@ var __publicField = (obj, key, value) => {
|
|
|
11666
11671
|
] })
|
|
11667
11672
|
] }) })
|
|
11668
11673
|
] }),
|
|
11669
|
-
/* @__PURE__ */ jsxRuntime.jsx(Tabs.Content, { value: "preview", children: /* @__PURE__ */ jsxRuntime.jsx(FormRenderer, { schema: previewSchema, onSubmit: previewSubmit }) })
|
|
11674
|
+
/* @__PURE__ */ jsxRuntime.jsx(Tabs.Content, { value: "preview", children: /* @__PURE__ */ jsxRuntime.jsx(FormRenderer, { schema: previewSchema, onSubmit: previewSubmit, hideTitle: showSectionsOnly }) })
|
|
11670
11675
|
] }) });
|
|
11671
11676
|
})
|
|
11672
11677
|
);
|