impaktapps-ui-builder 0.0.409-m → 0.0.409-n

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.
@@ -8369,6 +8369,18 @@ const refreshSectionUiSchema = {
8369
8369
  }
8370
8370
  ]
8371
8371
  };
8372
+ var emptyBox = {
8373
+ type: "Control",
8374
+ scope: "#/properties/emptyBox",
8375
+ options: {
8376
+ widget: "EmptyBox"
8377
+ },
8378
+ config: {
8379
+ layout: { xs: 12, sm: 12, md: 5.5, lg: 5.5 },
8380
+ main: {},
8381
+ style: {}
8382
+ }
8383
+ };
8372
8384
  var event = (store2, dynamicData2, submitHandler, service2, functionsName) => {
8373
8385
  return {
8374
8386
  setPage: async function() {
@@ -8384,7 +8396,8 @@ var event = (store2, dynamicData2, submitHandler, service2, functionsName) => {
8384
8396
  if (handlerType) {
8385
8397
  if (handlerType === "custom") {
8386
8398
  uiSchema.elements[1].elements[0].elements[2] = getRadioInputField("isSync", "Run in Sync", ["Yes", "No"]);
8387
- uiSchema.elements[1].elements[0].elements[3] = getTextArea("eventCode", "Write Custom Code", false);
8399
+ uiSchema.elements[1].elements[0].elements[3] = emptyBox;
8400
+ uiSchema.elements[1].elements[0].elements[4] = getTextArea("eventCode", "Write Custom Code", false);
8388
8401
  schema2.required = ["eventType", "Handler", "eventCode"];
8389
8402
  } else if (handlerType === "api") {
8390
8403
  uiSchema.elements[1].elements[0].elements[2] = APISection;
@@ -10583,18 +10596,6 @@ const buildRadio = (config, componentScope) => {
10583
10596
  }
10584
10597
  return Radio;
10585
10598
  };
10586
- var emptyBox = {
10587
- type: "Control",
10588
- scope: "#/properties/emptyBox",
10589
- options: {
10590
- widget: "EmptyBox"
10591
- },
10592
- config: {
10593
- layout: { xs: 12, sm: 12, md: 5.5, lg: 5.5 },
10594
- main: {},
10595
- style: {}
10596
- }
10597
- };
10598
10599
  const buildEmptyBox = (config, componentScope) => {
10599
10600
  const EmptyBox2 = _.cloneDeep(emptyBox);
10600
10601
  if (config.layout) {