impaktapps-ui-builder 0.0.89 → 0.0.91

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.
@@ -9268,7 +9268,7 @@ function executeCustomHandler(params) {
9268
9268
  }
9269
9269
  }
9270
9270
  function mergeFormdata(handlerResponse, componentName, eventConfig, store2, service2, formDataHolder) {
9271
- if (eventConfig.type === "Select" && (handlerResponse == null ? void 0 : handlerResponse.data)) {
9271
+ if (eventConfig.type === "Select" && (handlerResponse == null ? void 0 : handlerResponse.data) && !_.isEmpty(handlerResponse == null ? void 0 : handlerResponse.data)) {
9272
9272
  store2.setSchema((pre) => {
9273
9273
  var _a;
9274
9274
  return {
@@ -9282,7 +9282,7 @@ function mergeFormdata(handlerResponse, componentName, eventConfig, store2, serv
9282
9282
  }
9283
9283
  };
9284
9284
  });
9285
- } else if (eventConfig.type === "MultipleSelect" && (handlerResponse == null ? void 0 : handlerResponse.data)) {
9285
+ } else if (eventConfig.type === "MultipleSelect" && (handlerResponse == null ? void 0 : handlerResponse.data) && !_.isEmpty(handlerResponse == null ? void 0 : handlerResponse.data)) {
9286
9286
  store2.setSchema((pre) => {
9287
9287
  var _a;
9288
9288
  return {
@@ -9481,9 +9481,10 @@ var service = (funcParams) => {
9481
9481
  }
9482
9482
  const config = pageData == null ? void 0 : pageData.config;
9483
9483
  const uiSchema = pageData == null ? void 0 : pageData.uiSchema;
9484
- new CustomEvent("pageNameChanged", {
9484
+ const event2 = new CustomEvent("pageNameChanged", {
9485
9485
  detail: { pageName: config.label }
9486
9486
  });
9487
+ window.dispatchEvent(event2);
9487
9488
  const theme = (_b = (_a = funcParams == null ? void 0 : funcParams.store) == null ? void 0 : _a.theme) == null ? void 0 : _b.myTheme;
9488
9489
  uiSchema.elements.push(
9489
9490
  {