@overmap-ai/core 1.0.38-component-fields.2 → 1.0.38-component-fields.3
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/overmap-core.js
CHANGED
|
@@ -5440,6 +5440,7 @@ class UserFormService extends BaseApiService {
|
|
|
5440
5440
|
const activeWorkspaceId = state.workspaceReducer.activeWorkspaceId;
|
|
5441
5441
|
const offlineFormPayload = offline({});
|
|
5442
5442
|
const offlineRevisionPayload = offline(initialRevision);
|
|
5443
|
+
console.log(componentType);
|
|
5443
5444
|
const retForm = {
|
|
5444
5445
|
...offlineFormPayload,
|
|
5445
5446
|
index_workspace: activeWorkspaceId,
|
|
@@ -5449,6 +5450,7 @@ class UserFormService extends BaseApiService {
|
|
|
5449
5450
|
...componentType && { component_type: componentType },
|
|
5450
5451
|
...ownerAttrs
|
|
5451
5452
|
};
|
|
5453
|
+
console.log(retForm);
|
|
5452
5454
|
const { payloadWithoutImage, images } = await separateImageFromFields(offlineRevisionPayload);
|
|
5453
5455
|
const retRevision = {
|
|
5454
5456
|
...payloadWithoutImage,
|
|
@@ -11670,7 +11672,7 @@ const FormBuilder = memo(
|
|
|
11670
11672
|
] })
|
|
11671
11673
|
] }) })
|
|
11672
11674
|
] }),
|
|
11673
|
-
/* @__PURE__ */ jsx(Tabs.Content, { value: "preview", children: /* @__PURE__ */ jsx(FormRenderer, { schema: previewSchema, onSubmit: previewSubmit }) })
|
|
11675
|
+
/* @__PURE__ */ jsx(Tabs.Content, { value: "preview", children: /* @__PURE__ */ jsx(FormRenderer, { schema: previewSchema, onSubmit: previewSubmit, hideTitle: showSectionsOnly }) })
|
|
11674
11676
|
] }) });
|
|
11675
11677
|
})
|
|
11676
11678
|
);
|