@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.
@@ -5449,6 +5449,7 @@ class UserFormService extends BaseApiService {
5449
5449
  ...componentType && { component_type: componentType },
5450
5450
  ...ownerAttrs
5451
5451
  };
5452
+ console.log(retForm);
5452
5453
  const { payloadWithoutImage, images } = await separateImageFromFields(offlineRevisionPayload);
5453
5454
  const retRevision = {
5454
5455
  ...payloadWithoutImage,
@@ -5466,7 +5467,11 @@ class UserFormService extends BaseApiService {
5466
5467
  queryParams: activeWorkspaceId ? {
5467
5468
  workspace_id: activeWorkspaceId
5468
5469
  } : void 0,
5469
- payload: { ...offlineFormPayload, initial_revision: payloadWithoutImage },
5470
+ payload: {
5471
+ ...offlineFormPayload,
5472
+ ...componentType && { component_type: componentType },
5473
+ initial_revision: payloadWithoutImage
5474
+ },
5470
5475
  blockers: [],
5471
5476
  blocks: [offlineFormPayload.offline_id, payloadWithoutImage.offline_id]
5472
5477
  });
@@ -11670,7 +11675,7 @@ const FormBuilder = memo(
11670
11675
  ] })
11671
11676
  ] }) })
11672
11677
  ] }),
11673
- /* @__PURE__ */ jsx(Tabs.Content, { value: "preview", children: /* @__PURE__ */ jsx(FormRenderer, { schema: previewSchema, onSubmit: previewSubmit }) })
11678
+ /* @__PURE__ */ jsx(Tabs.Content, { value: "preview", children: /* @__PURE__ */ jsx(FormRenderer, { schema: previewSchema, onSubmit: previewSubmit, hideTitle: showSectionsOnly }) })
11674
11679
  ] }) });
11675
11680
  })
11676
11681
  );