impaktapps-ui-builder 0.0.382-alpha.313 → 0.0.382-alpha.315

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.
@@ -391,7 +391,7 @@ const PageMasterUiSchema = {
391
391
  },
392
392
  main: {}
393
393
  },
394
- elemetns: [
394
+ elements: [
395
395
  {
396
396
  type: "Control",
397
397
  scope: "#/properties/label",
@@ -447,7 +447,7 @@ const PageMasterUiSchema = {
447
447
  config: {
448
448
  layout: 3,
449
449
  main: {
450
- name: "Yes",
450
+ name: "No",
451
451
  startIcon: "ApproveIcon",
452
452
  variant: "contained",
453
453
  color: "info",
@@ -6620,7 +6620,7 @@ const componentBasicUiSchema = {
6620
6620
  },
6621
6621
  main: {}
6622
6622
  },
6623
- elemetns: [
6623
+ elements: [
6624
6624
  {
6625
6625
  type: "Control",
6626
6626
  scope: "#/properties/label",
@@ -7865,11 +7865,12 @@ var Component = (store2, dynamicData2, submitHandler, service2) => {
7865
7865
  deleteComponents: function() {
7866
7866
  var _a;
7867
7867
  const path = (_a = store2.searchParams) == null ? void 0 : _a.get("path");
7868
- const rowId = dynamicData2.path.split(".")[1];
7868
+ const rowId = localStorage.getItem("rowId");
7869
7869
  store2.formData.elements.splice(rowId, 1);
7870
7870
  const response2 = saveFormdataInLocalStorage(store2.ctx.core.data, path);
7871
7871
  const data2 = path ? _.get(response2, path) : response2;
7872
7872
  store2.setFormdata(data2);
7873
+ localStorage.removeItem("rowId");
7873
7874
  },
7874
7875
  deleteEvent: function() {
7875
7876
  var _a;
@@ -7989,16 +7990,21 @@ var pageMaster = (funcParams) => {
7989
7990
  store2.navigate(`/ComponentEvents?path=${finalPath}&id=${id}`);
7990
7991
  },
7991
7992
  deleteEvent: function() {
7992
- const rowId = dynamicData2.path.split(".")[1];
7993
+ const rowId = localStorage.getItem("rowId");
7993
7994
  store2.formData.events.splice(rowId, 1);
7994
7995
  const response2 = saveFormdataInLocalStorage(store2.ctx.core.data);
7995
7996
  store2.setFormdata(response2);
7996
7997
  store2.updateDialog("popUpPageMasterEvent");
7998
+ localStorage.removeItem("rowId");
7997
7999
  },
7998
8000
  deletePopUpComponent: function() {
8001
+ const rowId = dynamicData2.path.split(".")[1];
8002
+ localStorage.setItem("rowId", rowId);
7999
8003
  store2.updateDialog("popUpPageMasterComponent");
8000
8004
  },
8001
8005
  deletePopUpEvent: function() {
8006
+ const rowId = dynamicData2.path.split(".")[1];
8007
+ localStorage.setItem("rowId", rowId);
8002
8008
  store2.updateDialog("popUpPageMasterEvent");
8003
8009
  }
8004
8010
  };
@@ -8360,7 +8366,7 @@ const EventUiSchema = {
8360
8366
  widget: "Button"
8361
8367
  },
8362
8368
  config: {
8363
- layout: 12,
8369
+ layout: 3,
8364
8370
  main: {
8365
8371
  name: "Yes",
8366
8372
  startIcon: "ApproveIcon",
@@ -8379,7 +8385,7 @@ const EventUiSchema = {
8379
8385
  widget: "Button"
8380
8386
  },
8381
8387
  config: {
8382
- layout: 12,
8388
+ layout: 3,
8383
8389
  main: {
8384
8390
  name: "No",
8385
8391
  startIcon: "ApproveIcon",