impaktapps-ui-builder 0.0.400 → 0.0.401

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.
@@ -8444,8 +8444,10 @@ async function executeInBuiltFunctionHandler(params) {
8444
8444
  if (params.config.funcParametersCode) {
8445
8445
  const makeFunc = eval(params.config.funcParametersCode);
8446
8446
  parameter = makeFunc(params.store, params.dynamicData, params.userValue, params.parentEventOutput, params.service);
8447
+ params.serviceHolder[params.config.inBuiltFunctionType](parameter, params.service);
8448
+ } else {
8449
+ params.serviceHolder[params.config.inBuiltFunctionType](params.store, params.dynamicData, params.userValue, params.parentEventOutput, params.service);
8447
8450
  }
8448
- params.serviceHolder[params.config.inBuiltFunctionType](parameter, params.service);
8449
8451
  }
8450
8452
  async function executeCustomHandler(params) {
8451
8453
  const makeFunc = eval(params.config.eventCode);
@@ -8501,7 +8503,7 @@ async function mergeFormdata(handlerResponse, componentName, eventConfig, store2
8501
8503
  }
8502
8504
  }
8503
8505
  const buildBodyFormat = (body2, formData, userValue2) => {
8504
- const finalBody = { ...userValue2 == null ? void 0 : userValue2.payload };
8506
+ let finalBody = { ...userValue2 == null ? void 0 : userValue2.payload };
8505
8507
  body2.map((elem) => {
8506
8508
  var _a, _b;
8507
8509
  if (typeof (elem == null ? void 0 : elem.value) !== "string") {
@@ -8513,6 +8515,10 @@ const buildBodyFormat = (body2, formData, userValue2) => {
8513
8515
  } else if ((_b = elem == null ? void 0 : elem.value) == null ? void 0 : _b.startsWith("$")) {
8514
8516
  const finalpath = elem.value.substring(1);
8515
8517
  finalBody[elem.key] = _.get(formData, finalpath);
8518
+ } else if ((elem == null ? void 0 : elem.value) === "*" && (elem == null ? void 0 : elem.key) === "*") {
8519
+ finalBody = { ...finalBody, ...formData };
8520
+ } else if ((elem == null ? void 0 : elem.value) === "*") {
8521
+ finalBody[elem.key] = formData;
8516
8522
  } else {
8517
8523
  finalBody[elem.key] = elem.value;
8518
8524
  }