impaktapps-ui-builder 0.0.382-alpha.7 → 0.0.382-alpha.9

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.
@@ -6288,6 +6288,26 @@ const componentBasicUiSchema = (theme) => {
6288
6288
  }
6289
6289
  ]
6290
6290
  },
6291
+ {
6292
+ type: "Control",
6293
+ scope: "#/properties/EmptyBox",
6294
+ options: {
6295
+ widget: "EmptyBox"
6296
+ },
6297
+ config: {
6298
+ layout: { xs: 0, sm: 4, md: 4, lg: 4 }
6299
+ }
6300
+ },
6301
+ {
6302
+ type: "Control",
6303
+ scope: "#/properties/EmptyBox",
6304
+ options: {
6305
+ widget: "EmptyBox"
6306
+ },
6307
+ config: {
6308
+ layout: { xs: 0, sm: 4, md: 4, lg: 4 }
6309
+ }
6310
+ },
6291
6311
  {
6292
6312
  type: "Control",
6293
6313
  scope: "#/properties/btn",
@@ -6295,12 +6315,7 @@ const componentBasicUiSchema = (theme) => {
6295
6315
  widget: "Button"
6296
6316
  },
6297
6317
  config: {
6298
- layout: {
6299
- xs: 11,
6300
- sm: 11,
6301
- md: 2.5,
6302
- lg: 2.5
6303
- },
6318
+ layout: 1.8,
6304
6319
  main: {
6305
6320
  name: "Ok",
6306
6321
  startIcon: "ApproveIcon",
@@ -6308,10 +6323,9 @@ const componentBasicUiSchema = (theme) => {
6308
6323
  color: "info",
6309
6324
  type: "text",
6310
6325
  onClick: "okHandler",
6311
- size: "small"
6326
+ size: "medium"
6312
6327
  },
6313
6328
  style: {
6314
- marginBottom: "8px",
6315
6329
  float: "right"
6316
6330
  }
6317
6331
  }
@@ -6323,12 +6337,7 @@ const componentBasicUiSchema = (theme) => {
6323
6337
  widget: "Button"
6324
6338
  },
6325
6339
  config: {
6326
- layout: {
6327
- xs: 11,
6328
- sm: 11,
6329
- md: 2.5,
6330
- lg: 2.5
6331
- },
6340
+ layout: 1.8,
6332
6341
  main: {
6333
6342
  name: "Save & Exit",
6334
6343
  startIcon: "ApproveIcon",
@@ -6336,10 +6345,9 @@ const componentBasicUiSchema = (theme) => {
6336
6345
  color: "info",
6337
6346
  type: "text",
6338
6347
  onClick: "saveHandler",
6339
- size: "small"
6348
+ size: "medium"
6340
6349
  },
6341
6350
  style: {
6342
- marginBottom: "8px",
6343
6351
  float: "right"
6344
6352
  }
6345
6353
  }
@@ -7921,6 +7929,26 @@ const EventUiSchema = (theme) => {
7921
7929
  }
7922
7930
  ]
7923
7931
  },
7932
+ {
7933
+ type: "Control",
7934
+ scope: "#/properties/EmptyBox",
7935
+ options: {
7936
+ widget: "EmptyBox"
7937
+ },
7938
+ config: {
7939
+ layout: { xs: 0, sm: 4, md: 4, lg: 4 }
7940
+ }
7941
+ },
7942
+ {
7943
+ type: "Control",
7944
+ scope: "#/properties/EmptyBox",
7945
+ options: {
7946
+ widget: "EmptyBox"
7947
+ },
7948
+ config: {
7949
+ layout: { xs: 0, sm: 4, md: 4, lg: 4 }
7950
+ }
7951
+ },
7924
7952
  {
7925
7953
  type: "Control",
7926
7954
  scope: "#/properties/btn",
@@ -7928,12 +7956,7 @@ const EventUiSchema = (theme) => {
7928
7956
  widget: "Button"
7929
7957
  },
7930
7958
  config: {
7931
- layout: {
7932
- xs: 11,
7933
- sm: 11,
7934
- md: 2.5,
7935
- lg: 2.5
7936
- },
7959
+ layout: 1.8,
7937
7960
  main: {
7938
7961
  name: "Ok",
7939
7962
  startIcon: "ApproveIcon",
@@ -7941,10 +7964,9 @@ const EventUiSchema = (theme) => {
7941
7964
  color: "info",
7942
7965
  type: "text",
7943
7966
  onClick: "okHandler",
7944
- size: "small"
7967
+ size: "medium"
7945
7968
  },
7946
7969
  style: {
7947
- marginBottom: "8px",
7948
7970
  float: "right"
7949
7971
  }
7950
7972
  }
@@ -7956,12 +7978,7 @@ const EventUiSchema = (theme) => {
7956
7978
  widget: "Button"
7957
7979
  },
7958
7980
  config: {
7959
- layout: {
7960
- xs: 11,
7961
- sm: 11,
7962
- md: 2.5,
7963
- lg: 2.5
7964
- },
7981
+ layout: 1.8,
7965
7982
  main: {
7966
7983
  name: "Save & Exit",
7967
7984
  startIcon: "ApproveIcon",
@@ -7969,10 +7986,9 @@ const EventUiSchema = (theme) => {
7969
7986
  color: "info",
7970
7987
  type: "text",
7971
7988
  onClick: "saveHandler",
7972
- size: "small"
7989
+ size: "medium"
7973
7990
  },
7974
7991
  style: {
7975
- marginBottom: "8px",
7976
7992
  float: "right"
7977
7993
  }
7978
7994
  }
@@ -8287,7 +8303,7 @@ var event = (store2, dynamicData2, submitHandler, service2) => {
8287
8303
  this.refreshPage(formdata.Handler, store2);
8288
8304
  },
8289
8305
  refreshPage: (handlerType, store22) => {
8290
- const uiSchema = _.cloneDeep(EventUiSchema);
8306
+ const uiSchema = _.cloneDeep(EventUiSchema(store22.theme.myTheme));
8291
8307
  const schema2 = _.cloneDeep(EventSchema);
8292
8308
  if (handlerType) {
8293
8309
  if (handlerType === "custom") {
@@ -8311,8 +8327,8 @@ var event = (store2, dynamicData2, submitHandler, service2) => {
8311
8327
  store22.setUiSchema(uiSchema);
8312
8328
  },
8313
8329
  getFormData: Component(store2, dynamicData2, submitHandler, service2).getFormdata,
8314
- getUiSchema: function() {
8315
- return EventUiSchema(store2.theme.myTheme);
8330
+ getUiSchema: async function() {
8331
+ return await EventUiSchema(store2.theme.myTheme);
8316
8332
  },
8317
8333
  getSchema: () => {
8318
8334
  return EventSchema;