impaktapps-ui-builder 0.0.101-alpha.75 → 0.0.101-alpha.76

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.
@@ -8313,7 +8313,7 @@ const getNavigationHistory = (config2, path) => {
8313
8313
  urlRoutes = urlRoutes + " > NewComponent";
8314
8314
  }
8315
8315
  });
8316
- return { pageName: urlRoutes != null ? urlRoutes : "NewPage" };
8316
+ return { pageName: urlRoutes };
8317
8317
  }
8318
8318
  return void 0;
8319
8319
  };
@@ -8529,7 +8529,7 @@ var Component = (store2, dynamicData2, submitHandler, service2) => {
8529
8529
  return getFormdataFromSessionStorage(path);
8530
8530
  },
8531
8531
  getSchema: function() {
8532
- var _a, _b;
8532
+ var _a, _b, _c;
8533
8533
  const schema2 = _.cloneDeep(ComponentSchema);
8534
8534
  if (sessionStorage.getItem("copiedConfig")) {
8535
8535
  schema2.properties.RemoveItemButton.disabled = false;
@@ -8537,7 +8537,7 @@ var Component = (store2, dynamicData2, submitHandler, service2) => {
8537
8537
  const config2 = JSON.parse(sessionStorage.getItem("pageFormdata"));
8538
8538
  const path = (_a = store2.searchParams) == null ? void 0 : _a.get("path");
8539
8539
  const id = (_b = store2.searchParams) == null ? void 0 : _b.get("id");
8540
- let pathArray = [{ label: config2.name, path: `/PageMaster${id ? `?id=${id}` : ""}` }];
8540
+ let pathArray = [{ label: (_c = config2.name) != null ? _c : "NewPage", path: `/PageMaster${id ? `?id=${id}` : ""}` }];
8541
8541
  if (path) {
8542
8542
  const pathArrayAll = path.split(".");
8543
8543
  const arr = [];
@@ -9648,7 +9648,7 @@ var event = (store2, dynamicData2, submitHandler, service2, functionsName) => {
9648
9648
  this.refreshPage(formdata.Handler, store2);
9649
9649
  },
9650
9650
  refreshPage: (handlerType, store22) => {
9651
- var _a, _b;
9651
+ var _a, _b, _c;
9652
9652
  const uiSchema = _.cloneDeep(EventUiSchema(store22.theme.myTheme));
9653
9653
  const schema2 = _.cloneDeep(EventSchema);
9654
9654
  if (handlerType) {
@@ -9736,7 +9736,7 @@ var event = (store2, dynamicData2, submitHandler, service2, functionsName) => {
9736
9736
  const config2 = JSON.parse(sessionStorage.getItem("pageFormdata"));
9737
9737
  const path = (_a = store22.searchParams) == null ? void 0 : _a.get("path");
9738
9738
  const id = (_b = store22.searchParams) == null ? void 0 : _b.get("id");
9739
- let pathArray = [{ label: config2.name, path: `/PageMaster${id ? `?id=${id}` : ""}` }];
9739
+ let pathArray = [{ label: (_c = config2.name) != null ? _c : "NewPage", path: `/PageMaster${id ? `?id=${id}` : ""}` }];
9740
9740
  if (path) {
9741
9741
  const pathArrayAll = path.split(".");
9742
9742
  const arr = [];
@@ -9765,7 +9765,7 @@ var event = (store2, dynamicData2, submitHandler, service2, functionsName) => {
9765
9765
  return EventUiSchema;
9766
9766
  },
9767
9767
  getSchema: () => {
9768
- var _a, _b;
9768
+ var _a, _b, _c;
9769
9769
  const schema2 = _.cloneDeep(EventSchema);
9770
9770
  if (sessionStorage.getItem("copiedConfig")) {
9771
9771
  schema2.properties.RemoveItemButton.disabled = false;
@@ -9773,7 +9773,7 @@ var event = (store2, dynamicData2, submitHandler, service2, functionsName) => {
9773
9773
  const config2 = JSON.parse(sessionStorage.getItem("pageFormdata"));
9774
9774
  const path = (_a = store2.searchParams) == null ? void 0 : _a.get("path");
9775
9775
  const id = (_b = store2.searchParams) == null ? void 0 : _b.get("id");
9776
- let pathArray = [{ label: config2.name, path: `/PageMaster${id ? `?id=${id}` : ""}` }];
9776
+ let pathArray = [{ label: (_c = config2.name) != null ? _c : "NewPage", path: `/PageMaster${id ? `?id=${id}` : ""}` }];
9777
9777
  if (path) {
9778
9778
  const pathArrayAll = path.split(".");
9779
9779
  const arr = [];