impaktapps-ui-builder 0.0.382-alpha.307 → 0.0.382-alpha.309

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.
@@ -408,6 +408,9 @@ const PageMasterUiSchema = {
408
408
  layout: 12,
409
409
  main: {
410
410
  heading: "Are you sure you want to delete ?"
411
+ },
412
+ style: {
413
+ marginBottom: "15px"
411
414
  }
412
415
  }
413
416
  },
@@ -8112,7 +8115,7 @@ const EventUiSchema = {
8112
8115
  icon: "RejectIcon",
8113
8116
  color: "error",
8114
8117
  tooltipMessage: "Reject This Record",
8115
- onClick: "deleteEvent"
8118
+ onClick: "deletePopUpEvent"
8116
8119
  }
8117
8120
  }
8118
8121
  }
@@ -8123,6 +8126,81 @@ const EventUiSchema = {
8123
8126
  }
8124
8127
  ]
8125
8128
  },
8129
+ {
8130
+ type: "Control",
8131
+ scope: "#/properties/popUpComponent",
8132
+ options: {
8133
+ widget: "PopUp"
8134
+ },
8135
+ config: {
8136
+ layout: {
8137
+ xs: 12,
8138
+ sm: 12,
8139
+ md: 12,
8140
+ lg: 12
8141
+ },
8142
+ main: {}
8143
+ },
8144
+ elements: [
8145
+ {
8146
+ type: "Control",
8147
+ scope: "#/properties/label",
8148
+ options: {
8149
+ widget: "Box"
8150
+ },
8151
+ config: {
8152
+ layout: 12,
8153
+ main: {
8154
+ heading: "Are you sure you want to delete ?"
8155
+ }
8156
+ }
8157
+ },
8158
+ {
8159
+ type: "Control",
8160
+ scope: "#/properties/ConfirmDeleteCompButton",
8161
+ options: {
8162
+ widget: "Button"
8163
+ },
8164
+ config: {
8165
+ layout: 3,
8166
+ main: {
8167
+ name: "Yes",
8168
+ startIcon: "ApproveIcon",
8169
+ variant: "contained",
8170
+ color: "info",
8171
+ type: "text",
8172
+ onClick: "deleteEvent",
8173
+ size: "small"
8174
+ },
8175
+ style: {
8176
+ width: { xs: "100%", sm: "100%", md: "25%", lg: "20%" }
8177
+ }
8178
+ }
8179
+ },
8180
+ {
8181
+ type: "Control",
8182
+ scope: "#/properties/CancelDeleteCompButton",
8183
+ options: {
8184
+ widget: "Button"
8185
+ },
8186
+ config: {
8187
+ layout: 3,
8188
+ main: {
8189
+ name: "No",
8190
+ startIcon: "ApproveIcon",
8191
+ variant: "contained",
8192
+ color: "info",
8193
+ type: "text",
8194
+ onClick: "deletePopUpEvent",
8195
+ size: "small"
8196
+ },
8197
+ style: {
8198
+ width: { xs: "100%", sm: "100%", md: "25%", lg: "20%" }
8199
+ }
8200
+ }
8201
+ }
8202
+ ]
8203
+ },
8126
8204
  {
8127
8205
  type: "Control",
8128
8206
  scope: "#/properties/proc",
@@ -8454,9 +8532,15 @@ var event = (store2, dynamicData2, submitHandler, service2) => {
8454
8532
  store2.setSearchParams(store2.searchParams);
8455
8533
  this.setPage();
8456
8534
  },
8457
- deleteEvent: Component(store2, dynamicData2, submitHandler, service2).deleteEvent,
8535
+ deleteEvent: async function() {
8536
+ await Component(store2, dynamicData2, submitHandler, service2).deleteEvent;
8537
+ store2.updateDialog("deletePopUpEvent");
8538
+ },
8458
8539
  backHandler: function() {
8459
8540
  store2.navigate(-1);
8541
+ },
8542
+ deletePopUpEvent: function() {
8543
+ store2.updateDialog("deletePopUpEvent");
8460
8544
  }
8461
8545
  };
8462
8546
  };