impaktapps-ui-builder 1.0.306-test.1 → 1.0.306-test.3

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.
@@ -10271,10 +10271,10 @@ var event = (store2, dynamicData2, submitHandler, service2, functionsName) => {
10271
10271
  const schema2 = await this.getSchema();
10272
10272
  console.log("SettingSchema>>", schema2);
10273
10273
  store2.setSchema(schema2);
10274
- this.refreshPage(formdata.Handler, store2);
10274
+ this.refreshPage(formdata.Handler, store2, formdata);
10275
10275
  },
10276
- refreshPage: (handlerType, store22) => {
10277
- var _a, _b, _c, _d, _e;
10276
+ refreshPage: (handlerType, store22, formdata) => {
10277
+ var _a, _b, _c, _d;
10278
10278
  const uiSchema = _.cloneDeep(EventUiSchema(store22.theme.myTheme));
10279
10279
  const schema2 = _.cloneDeep(EventSchema);
10280
10280
  if (handlerType) {
@@ -10302,7 +10302,7 @@ var event = (store2, dynamicData2, submitHandler, service2, functionsName) => {
10302
10302
  false,
10303
10303
  void 0
10304
10304
  );
10305
- if (!((_a = store22.formData) == null ? void 0 : _a.eventCode)) {
10305
+ if (!(formdata == null ? void 0 : formdata.eventCode)) {
10306
10306
  store22.setFormdata((prev) => ({ ...prev, eventCode: boilerplate }));
10307
10307
  }
10308
10308
  schema2.required = ["eventType", "Handler", "eventCode"];
@@ -10314,7 +10314,7 @@ var event = (store2, dynamicData2, submitHandler, service2, functionsName) => {
10314
10314
  lg: 6
10315
10315
  });
10316
10316
  uiSchema.elements[0].elements[0].elements[3] = APISection;
10317
- if (!((_b = store22.formData) == null ? void 0 : _b.apiBody)) {
10317
+ if (!((_a = store22.formData) == null ? void 0 : _a.apiBody)) {
10318
10318
  store22.setFormdata((prev) => ({ ...prev, apiBody: boilerplate }));
10319
10319
  }
10320
10320
  schema2.required = ["eventType", "Handler", "method", "path"];
@@ -10367,9 +10367,9 @@ var event = (store2, dynamicData2, submitHandler, service2, functionsName) => {
10367
10367
  schema2.properties.RemoveItemButton.disabled = false;
10368
10368
  }
10369
10369
  const config2 = JSON.parse(sessionStorage.getItem("pageFormdata"));
10370
- const path = (_c = store22.searchParams) == null ? void 0 : _c.get("path");
10371
- const id = (_d = store22.searchParams) == null ? void 0 : _d.get("id");
10372
- let pathArray = [{ label: (_e = config2.name) != null ? _e : "NewPage", path: `/PageMaster${id ? `?id=${id}` : ""}` }];
10370
+ const path = (_b = store22.searchParams) == null ? void 0 : _b.get("path");
10371
+ const id = (_c = store22.searchParams) == null ? void 0 : _c.get("id");
10372
+ let pathArray = [{ label: (_d = config2.name) != null ? _d : "NewPage", path: `/PageMaster${id ? `?id=${id}` : ""}` }];
10373
10373
  if (path) {
10374
10374
  const pathArrayAll = path.split(".");
10375
10375
  const arr = [];