@fecp/designer 5.5.22 → 5.5.23

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.
@@ -1,4 +1,4 @@
1
- const version = "5.5.22";
1
+ const version = "5.5.23";
2
2
  const packageJson = {
3
3
  version
4
4
  };
@@ -477,7 +477,6 @@ async function handleFormSetValue(node, data, fields, context) {
477
477
  delete formData[value];
478
478
  });
479
479
  }
480
- formData = removeEmptyValues(formData);
481
480
  delete formData.pageNo;
482
481
  delete formData.pageSize;
483
482
  const formComponent = ((_a = context.components) == null ? void 0 : _a.form) || ((_b = context.components) == null ? void 0 : _b.table);
@@ -544,6 +543,7 @@ async function handleFormSubmit(node, data, fields, context) {
544
543
  delete formData[targetField.fieldName];
545
544
  });
546
545
  }
546
+ formData = removeEmptyValues(formData);
547
547
  const result = await handleApiCall(node, data, fields, context, formData);
548
548
  if (!result.success) {
549
549
  return result;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const version = "5.5.22";
3
+ const version = "5.5.23";
4
4
  const packageJson = {
5
5
  version
6
6
  };
@@ -479,7 +479,6 @@ async function handleFormSetValue(node, data, fields, context) {
479
479
  delete formData[value];
480
480
  });
481
481
  }
482
- formData = common.removeEmptyValues(formData);
483
482
  delete formData.pageNo;
484
483
  delete formData.pageSize;
485
484
  const formComponent = ((_a = context.components) == null ? void 0 : _a.form) || ((_b = context.components) == null ? void 0 : _b.table);
@@ -546,6 +545,7 @@ async function handleFormSubmit(node, data, fields, context) {
546
545
  delete formData[targetField.fieldName];
547
546
  });
548
547
  }
548
+ formData = common.removeEmptyValues(formData);
549
549
  const result = await handleApiCall(node, data, fields, context, formData);
550
550
  if (!result.success) {
551
551
  return result;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fecp/designer",
3
- "version": "5.5.22",
3
+ "version": "5.5.23",
4
4
  "main": "lib/designer/index.js",
5
5
  "module": "es/designer/index.mjs",
6
6
  "files": [