@overmap-ai/core 1.0.33-revamp-forms-builder.1 → 1.0.33-revamp-forms-builder.2
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
|
@@ -9376,6 +9376,7 @@ let FieldSection = _FieldSection;
|
|
|
9376
9376
|
const deserializeField = (serializedField) => {
|
|
9377
9377
|
const fieldType = serializedField.type;
|
|
9378
9378
|
const fieldCls = FieldTypeToClsMapping[fieldType];
|
|
9379
|
+
console.log(serializedField, fieldType, fieldCls);
|
|
9379
9380
|
return fieldCls.deserialize(serializedField);
|
|
9380
9381
|
};
|
|
9381
9382
|
const deserialize = (serialized) => {
|
|
@@ -10018,6 +10019,7 @@ const useFieldTypeItems = (onSelect = () => null) => {
|
|
|
10018
10019
|
return fieldsToChoose.map((fieldGroup) => {
|
|
10019
10020
|
return fieldGroup.map((identifier) => {
|
|
10020
10021
|
const field = FieldTypeToClsMapping[identifier];
|
|
10022
|
+
console.log(fieldGroup, identifier, field);
|
|
10021
10023
|
const Icon = field.Icon;
|
|
10022
10024
|
return {
|
|
10023
10025
|
content: /* @__PURE__ */ jsxs(Flex, { align: "center", gap: "2", children: [
|