@overmap-ai/forms 1.0.32-react-flow-david-fixes.24 → 1.0.32-react-flow-david-fixes.25

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/forms.js CHANGED
@@ -34692,7 +34692,6 @@ function serializeFieldValues(fields, values) {
34692
34692
  const ret = {};
34693
34693
  for (const field of fields) {
34694
34694
  const value = cleanValues[field.identifier];
34695
- if (!field.isValueValid(value)) continue;
34696
34695
  ret[field.identifier] = field.serializeValue(value);
34697
34696
  }
34698
34697
  return ret;
@@ -34702,7 +34701,6 @@ function deserializeFieldValues(fields, values) {
34702
34701
  const ret = {};
34703
34702
  for (const field of fields) {
34704
34703
  const value = cleanValues[field.identifier];
34705
- if (!field.isSerializedValueValid(value)) continue;
34706
34704
  ret[field.identifier] = field.deserializeValue(value);
34707
34705
  }
34708
34706
  return ret;
@@ -34711,7 +34709,7 @@ function cleanFieldValues(fields, values) {
34711
34709
  const ret = {};
34712
34710
  for (const field of fields) {
34713
34711
  const value = values[field.identifier];
34714
- if (!field.isSerializedValueValid(value)) continue;
34712
+ if (!field.isValueValid(value)) continue;
34715
34713
  ret[field.identifier] = value;
34716
34714
  }
34717
34715
  return ret;
@@ -34694,7 +34694,6 @@ For more information, see https://radix-ui.com/primitives/docs/components/${titl
34694
34694
  const ret = {};
34695
34695
  for (const field of fields) {
34696
34696
  const value = cleanValues[field.identifier];
34697
- if (!field.isValueValid(value)) continue;
34698
34697
  ret[field.identifier] = field.serializeValue(value);
34699
34698
  }
34700
34699
  return ret;
@@ -34704,7 +34703,6 @@ For more information, see https://radix-ui.com/primitives/docs/components/${titl
34704
34703
  const ret = {};
34705
34704
  for (const field of fields) {
34706
34705
  const value = cleanValues[field.identifier];
34707
- if (!field.isSerializedValueValid(value)) continue;
34708
34706
  ret[field.identifier] = field.deserializeValue(value);
34709
34707
  }
34710
34708
  return ret;
@@ -34713,7 +34711,7 @@ For more information, see https://radix-ui.com/primitives/docs/components/${titl
34713
34711
  const ret = {};
34714
34712
  for (const field of fields) {
34715
34713
  const value = values[field.identifier];
34716
- if (!field.isSerializedValueValid(value)) continue;
34714
+ if (!field.isValueValid(value)) continue;
34717
34715
  ret[field.identifier] = value;
34718
34716
  }
34719
34717
  return ret;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@overmap-ai/forms",
3
- "version": "1.0.32-react-flow-david-fixes.24",
3
+ "version": "1.0.32-react-flow-david-fixes.25",
4
4
  "license": "UNLICENSED",
5
5
  "main": "dist/forms.umd.cjs",
6
6
  "module": "dist/forms.js",