impaktapps-ui-builder 0.0.412 → 0.0.592

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.
Files changed (78) hide show
  1. package/dist/impaktapps-ui-builder.es.js +2347 -1643
  2. package/dist/impaktapps-ui-builder.es.js.map +1 -1
  3. package/dist/impaktapps-ui-builder.umd.js +15 -15
  4. package/dist/impaktapps-ui-builder.umd.js.map +1 -1
  5. package/dist/src/impaktapps-ui-builder/builder/build/buildBasicUiSchema.d.ts +1 -1
  6. package/dist/src/impaktapps-ui-builder/builder/build/buildCard.d.ts +1 -1
  7. package/dist/src/impaktapps-ui-builder/builder/build/buildConfig.d.ts +1 -1
  8. package/dist/src/impaktapps-ui-builder/builder/build/buildUiSchema.d.ts +1 -1
  9. package/dist/src/impaktapps-ui-builder/builder/build/uischema/apiSection.d.ts +35 -2
  10. package/dist/src/impaktapps-ui-builder/builder/build/uischema/box.d.ts +2 -2
  11. package/dist/src/impaktapps-ui-builder/builder/build/uischema/buildPropertiesSection.d.ts +20 -0
  12. package/dist/src/impaktapps-ui-builder/builder/build/uischema/button.d.ts +1 -6
  13. package/dist/src/impaktapps-ui-builder/builder/build/uischema/card.d.ts +106 -87
  14. package/dist/src/impaktapps-ui-builder/builder/build/uischema/coreSection.d.ts +15 -0
  15. package/dist/src/impaktapps-ui-builder/builder/build/uischema/eventSection.d.ts +71 -122
  16. package/dist/src/impaktapps-ui-builder/builder/build/uischema/file.d.ts +6 -6
  17. package/dist/src/impaktapps-ui-builder/builder/build/uischema/graph.d.ts +4 -106
  18. package/dist/src/impaktapps-ui-builder/builder/build/uischema/leaderBoard.d.ts +58 -45
  19. package/dist/src/impaktapps-ui-builder/builder/build/uischema/table.d.ts +1 -0
  20. package/dist/src/impaktapps-ui-builder/builder/build/uischema/tableSection.d.ts +74 -99
  21. package/dist/src/impaktapps-ui-builder/builder/build/uischema/validationSections.d.ts +17 -2
  22. package/dist/src/impaktapps-ui-builder/builder/build/uischema/valueTab.d.ts +17 -2
  23. package/dist/src/impaktapps-ui-builder/builder/build/uischema/wrapperSection.d.ts +1 -0
  24. package/dist/src/impaktapps-ui-builder/builder/services/component.d.ts +4 -2
  25. package/dist/src/impaktapps-ui-builder/builder/services/event.d.ts +2 -1
  26. package/dist/src/impaktapps-ui-builder/builder/services/pageMaster.d.ts +3 -1
  27. package/dist/src/impaktapps-ui-builder/runtime/services/events.d.ts +1 -1
  28. package/dist/src/impaktapps-ui-builder/runtime/services/interface.d.ts +1 -0
  29. package/dist/src/impaktapps-ui-builder/runtime/services/service.d.ts +2 -1
  30. package/package.json +1 -1
  31. package/src/impaktapps-ui-builder/builder/build/buildBasicUiSchema.ts +1 -1
  32. package/src/impaktapps-ui-builder/builder/build/buildCard.ts +6 -6
  33. package/src/impaktapps-ui-builder/builder/build/buildConfig.ts +5 -5
  34. package/src/impaktapps-ui-builder/builder/build/buildDate.ts +1 -1
  35. package/src/impaktapps-ui-builder/builder/build/buildFileInput.ts +1 -1
  36. package/src/impaktapps-ui-builder/builder/build/buildHorizontalBarGraph.ts +7 -2
  37. package/src/impaktapps-ui-builder/builder/build/buildPieGraph.ts +13 -2
  38. package/src/impaktapps-ui-builder/builder/build/buildRadio.ts +1 -1
  39. package/src/impaktapps-ui-builder/builder/build/buildSchema.ts +0 -1
  40. package/src/impaktapps-ui-builder/builder/build/buildStackBarGraph.ts +1 -5
  41. package/src/impaktapps-ui-builder/builder/build/buildTable.ts +17 -1
  42. package/src/impaktapps-ui-builder/builder/build/buildTreeMap.ts +3 -0
  43. package/src/impaktapps-ui-builder/builder/build/buildUiSchema.ts +7 -7
  44. package/src/impaktapps-ui-builder/builder/build/buildWrapperSection.ts +1 -1
  45. package/src/impaktapps-ui-builder/builder/build/uischema/apiSection.ts +50 -27
  46. package/src/impaktapps-ui-builder/builder/build/uischema/box.ts +3 -2
  47. package/src/impaktapps-ui-builder/builder/build/uischema/buildPropertiesSection.ts +100 -70
  48. package/src/impaktapps-ui-builder/builder/build/uischema/button.ts +2 -7
  49. package/src/impaktapps-ui-builder/builder/build/uischema/card.ts +114 -74
  50. package/src/impaktapps-ui-builder/builder/build/uischema/coreSection.ts +30 -47
  51. package/src/impaktapps-ui-builder/builder/build/uischema/dateInputField.ts +4 -14
  52. package/src/impaktapps-ui-builder/builder/build/uischema/emptyBox.ts +1 -1
  53. package/src/impaktapps-ui-builder/builder/build/uischema/eventSection.ts +34 -56
  54. package/src/impaktapps-ui-builder/builder/build/uischema/file.ts +2 -12
  55. package/src/impaktapps-ui-builder/builder/build/uischema/graph.ts +7 -118
  56. package/src/impaktapps-ui-builder/builder/build/uischema/leaderBoard.ts +78 -69
  57. package/src/impaktapps-ui-builder/builder/build/uischema/multiSelect.ts +1 -1
  58. package/src/impaktapps-ui-builder/builder/build/uischema/refresh.ts +15 -11
  59. package/src/impaktapps-ui-builder/builder/build/uischema/selectInputField.ts +1 -6
  60. package/src/impaktapps-ui-builder/builder/build/uischema/table.ts +5 -7
  61. package/src/impaktapps-ui-builder/builder/build/uischema/tableSection.ts +85 -101
  62. package/src/impaktapps-ui-builder/builder/build/uischema/textInputField.ts +1 -6
  63. package/src/impaktapps-ui-builder/builder/build/uischema/validationSections.ts +12 -12
  64. package/src/impaktapps-ui-builder/builder/build/uischema/valueTab.ts +13 -13
  65. package/src/impaktapps-ui-builder/builder/build/uischema/wrapperSection.ts +1 -0
  66. package/src/impaktapps-ui-builder/builder/elements/UiSchema/Component/schema.ts +0 -2
  67. package/src/impaktapps-ui-builder/builder/elements/UiSchema/Component/uiSchema.ts +346 -172
  68. package/src/impaktapps-ui-builder/builder/elements/UiSchema/PageMaster/schema.ts +1 -1
  69. package/src/impaktapps-ui-builder/builder/elements/UiSchema/PageMaster/uiSchema.ts +540 -315
  70. package/src/impaktapps-ui-builder/builder/elements/UiSchema/event/schema.ts +1 -0
  71. package/src/impaktapps-ui-builder/builder/elements/UiSchema/event/uiSchema.ts +388 -264
  72. package/src/impaktapps-ui-builder/builder/services/component.ts +26 -9
  73. package/src/impaktapps-ui-builder/builder/services/event.ts +42 -6
  74. package/src/impaktapps-ui-builder/builder/services/pageMaster.ts +19 -3
  75. package/src/impaktapps-ui-builder/builder/services/utils.ts +0 -1
  76. package/src/impaktapps-ui-builder/runtime/services/events.ts +31 -18
  77. package/src/impaktapps-ui-builder/runtime/services/interface.ts +1 -0
  78. package/src/impaktapps-ui-builder/runtime/services/service.ts +135 -15
@@ -15,10 +15,11 @@ declare const _default: (funcParams: funcParamsProps) => {
15
15
  onFileDownload: () => void;
16
16
  onFileUpload: () => void;
17
17
  backHandler: () => void;
18
+ onRowMovement: (paginationValues: any) => Promise<any>;
18
19
  onPaginationChange: (paginationValues: any) => Promise<any>;
19
20
  getSelectOptions: (param: any) => Promise<any>;
20
21
  onChange: () => Promise<void>;
21
- updateConfigApiBody: (paramValue: any, apiBody: any) => Promise<any>;
22
+ callExecuteEvents: (paramValue: any, apiBody: any, eventType: string) => Promise<any>;
22
23
  onBack: (functionParameters: any) => Promise<void>;
23
24
  onNext: (functionParameters: any) => Promise<void>;
24
25
  onReset: (functionParameters: any) => Promise<void>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "impaktapps-ui-builder",
3
- "version": "0.0.412",
3
+ "version": "0.0.592",
4
4
  "scripts": {
5
5
  "dev": "vite",
6
6
  "build": "tsc && vite build",
@@ -4,7 +4,7 @@ export const buildBasicUiSchema = (config) => {
4
4
  pageName: config.name,
5
5
  name: config.name,
6
6
  accessorKey: config.name,
7
- header: config.label || config.name,
7
+ heading: config.label || config.name,
8
8
  "elements": []
9
9
  }
10
10
  }
@@ -2,25 +2,25 @@ import Card from "./uischema/card";
2
2
  import _ from "lodash";
3
3
  import { createLayoutFormat } from "./buildConfig";
4
4
 
5
- export const buildCard = (config,componentScope) =>{
6
- const card: any = _.cloneDeep(Card);
5
+ export const buildCard = (config,componentScope,store) =>{
6
+ const card: any = _.cloneDeep(Card(store.theme.myTheme));
7
7
  if (config.style) {
8
8
  card.config.style = JSON.parse(config.style)
9
9
  }
10
- card.elements[0].scope = `#/properties/${config.name}/properties/value`
10
+ card.elements[0].elements[0].elements[0].scope = `#/properties/${config.name}/properties/value`
11
11
  card.elements[1].scope = `#/properties/${config.name}/properties/url`
12
- card.elements[2].scope = `#/properties/${config.name}/properties/description`
12
+ card.elements[0].elements[0].elements[1].scope = `#/properties/${config.name}/properties/description`
13
13
  if(config.layout){
14
14
  card.config.layout = createLayoutFormat(config.layout)
15
15
  }
16
16
  if(config.label){
17
- card.elements[0].config.main.heading = config.label;
17
+ card.elements[0].elements[0].elements[0].config.main.heading = config.label;
18
18
  }
19
19
  if(config.url){
20
20
  card.elements[1].config.main.url = config.url;
21
21
  }
22
22
  if(config.description){
23
- card.elements[2].config.main.heading = config.description;
23
+ card.elements[0].elements[0].elements[1].config.main.heading = config.description;
24
24
  }
25
25
 
26
26
 
@@ -29,10 +29,10 @@ export default (FormData: any) => {
29
29
  export const createLayoutFormat = (config: any[]) => {
30
30
  if (_.isEmpty(config)) {
31
31
  return {
32
- xs: 11,
33
- sm: 11,
34
- md: 5.5,
35
- lg: 5.5,
32
+ xs: 12,
33
+ sm: 12,
34
+ md: 12,
35
+ lg: 12,
36
36
  }
37
37
  }
38
38
  let data: any = {};
@@ -41,7 +41,7 @@ export const createLayoutFormat = (config: any[]) => {
41
41
  })
42
42
  return data;
43
43
  };
44
- export const flatObjectValueInArray = (config: any[]) => {
44
+ export const flatObjectValueInArray = (config: any[]=[]) => {
45
45
  if (config[0].length < 1) {
46
46
  return
47
47
  }
@@ -2,7 +2,7 @@ import DateInputField, { DateTime } from "./uischema/dateInputField";
2
2
  import _ from "lodash";
3
3
  import { createLayoutFormat } from "./buildConfig";
4
4
 
5
- export const buildDate = (config:any,componentScope:string)=>{
5
+ export const buildDate = (config:any,componentScope:string)=> {
6
6
  const dateInputField: any = _.cloneDeep(DateInputField);
7
7
  dateInputField.config.main.label = config.label;
8
8
  dateInputField.config.main.errorMessage = `${config.name} is empty or invalid`;
@@ -8,7 +8,7 @@ const FileInput = {
8
8
  widget: "FileInputField",
9
9
  },
10
10
  config: {
11
- layout: 11.5,
11
+ layout: { xs: 6, sm: 6, md: 4, lg: 4 },
12
12
  main: {
13
13
  required: false,
14
14
  onUpload: "onFileUpload",
@@ -19,8 +19,13 @@ const buildHorizontalBarGraph = (config:any,componentScope:string) => {
19
19
  config.containerBackground;
20
20
  }
21
21
  if (config.height) {
22
- horizontalBarGraph.config.style.containerStyle.height =
23
- config.height;
22
+ horizontalBarGraph.config.style =
23
+ {
24
+ containerStyle: {
25
+ height: config.height
26
+ }
27
+ }
28
+
24
29
  }
25
30
  if (config.bottomLabel) {
26
31
  horizontalBarGraph.config.main.bottomLabel =
@@ -7,7 +7,13 @@ export const buildPieGraph = (config, componentScope) => {
7
7
  pieGraph.config.layout = createLayoutFormat(config.layout);
8
8
  }
9
9
  if (config.height) {
10
- pieGraph.config.style.containerStyle.height = config.height;
10
+ pieGraph.config.style =
11
+ {
12
+ containerStyle: {
13
+ height: config.height
14
+ }
15
+ };
16
+
11
17
  }
12
18
  if (config.legendHide) {
13
19
  pieGraph.config.main.legendAvailabe = config.legendHide === "YES" ? false : true;
@@ -20,7 +26,12 @@ export const buildPieGraph = (config, componentScope) => {
20
26
  }
21
27
 
22
28
  if (config.pieArcColors) {
23
- pieGraph.config.style.pieStyle.colorRange = flatObjectValueInArray(config.pieArcColors);
29
+ pieGraph.config.style = {
30
+ pieStyle: {
31
+ colorRange: flatObjectValueInArray(config.pieArcColors)
32
+ }
33
+ }
34
+
24
35
  }
25
36
  return pieGraph;
26
37
  }
@@ -9,7 +9,7 @@ const RadioUiSchema = {
9
9
  widget: "RadioInputField",
10
10
  },
11
11
  config: {
12
- layout: { xs: 11, sm: 11, md: 5.5, lg: 5.5 },
12
+ layout: { xs: 12, sm: 6, md: 4, lg: 4 },
13
13
  main: {
14
14
  label: "Enabled",
15
15
  options: ["YES", "NO"],
@@ -25,7 +25,6 @@ export const buildSchema = (config: any) => {
25
25
 
26
26
  }
27
27
  buildRule(config)
28
- console.log(schema)
29
28
  window.localStorage.setItem("schemaDemo",JSON.stringify(schema))
30
29
  return schema;
31
30
  };
@@ -8,17 +8,13 @@ export const buildStackbarGraph = (config:any,componentScope:string) => {
8
8
  barGraph.config.layout = createLayoutFormat(config.layout);
9
9
  }
10
10
  if (config.legendHide) {
11
- barGraph.config.main.legendAvailable = false;
11
+ barGraph.config.main.legendAvailable = config.legendHide;
12
12
  }
13
13
  barGraph.config.main.type = config.graphType;
14
14
  barGraph.config.main.header = config.heading;
15
15
  if (config.barColor) {
16
16
  barGraph.config.barStyle.color = config.barColor;
17
17
  }
18
- if (config.containerBackground) {
19
- barGraph.config.containerStyle.background =
20
- config.containerBackground;
21
- }
22
18
  if (config.height) {
23
19
  barGraph.config.style.containerStyle.height = config.height;
24
20
  }
@@ -2,7 +2,7 @@ import Table from "./uischema/table";
2
2
  import _ from "lodash";
3
3
  import buildUiSchema from "./buildUiSchema";
4
4
  import lazyLoadingTable from "./uischema/lazyLoadingTable";
5
-
5
+
6
6
  export const buildTable = (config: any, componentScope: string) => {
7
7
  const table: any = _.cloneDeep(Table);
8
8
  table.scope = componentScope;
@@ -12,6 +12,22 @@ export const buildTable = (config: any, componentScope: string) => {
12
12
  if (config.lazyLoading) {
13
13
  table.config.main.lazyLoading = config.lazyLoading === "YES" ? true : false;
14
14
  }
15
+ if (config.enableRowMovement) {
16
+ table.config.main.enableRowMovement = config.enableRowMovement === "YES" ? true : false;
17
+ }
18
+ if (config.enableExpanding) {
19
+ table.config.main.enableExpanding = config.enableExpanding === "YES" ? true : false;
20
+ }
21
+
22
+ if (config.enableExpandAll) {
23
+ table.config.main.enableExpandAll = config.enableExpandAll === "YES" ? true : false;
24
+ }
25
+ if (config.paginateExpandedRows) {
26
+ table.config.main.paginateExpandedRows = config.paginateExpandedRows === "YES" ? true : false;
27
+ }
28
+ if (config.treeStructure) {
29
+ table.config.main.treeStructure = config.treeStructure === "YES" ? "flatTreeMap" : false;
30
+ }
15
31
  if (config.SelectionAvailable) {
16
32
  table.config.main.Selection = config.SelectionAvailable === "YES" ? true : false
17
33
  };
@@ -54,5 +54,8 @@ export const buildTreeMap = (config, componentScope) => {
54
54
  if (config.graphZoomWidth) {
55
55
  treMap.config.main.graphZoomWidth = config.graphZoomWidth;
56
56
  }
57
+ if (config.style) {
58
+ treMap.config.style = JSON.parse(config.style)
59
+ }
57
60
  return treMap;
58
61
  }
@@ -165,7 +165,7 @@ export const buildSchema = (config: any, tableName?: string, isArrayType?: boole
165
165
  }
166
166
 
167
167
 
168
- const buildUiSchema = (config: any) => {
168
+ const buildUiSchema = (config: any, store?: any) => {
169
169
  let elements: any = {};
170
170
  const componentScope = `#/properties/${config.name}`;
171
171
  switch (config.type) {
@@ -249,7 +249,7 @@ const buildUiSchema = (config: any) => {
249
249
  elements = buildEmptyBox(config, componentScope);
250
250
  break;
251
251
  case "card":
252
- elements = buildCard(config, componentScope);
252
+ elements = buildCard(config, componentScope, store);
253
253
  break;
254
254
  case "Graph":
255
255
  switch (config.graphType) {
@@ -328,7 +328,7 @@ const buildUiSchema = (config: any) => {
328
328
  header: cellElem.label || cellElem.name,
329
329
  size: sizeMap[cellElem.name] || 180,
330
330
  type: cellElem.columnFormat,
331
- elements: cellElem.type == "ColumnGroup" ? cellElem.elements.map((childCellElem) => buildUiSchema(childCellElem)) : []
331
+ elements: cellElem.type == "ColumnGroup" ? cellElem.elements.map((childCellElem) => buildUiSchema(childCellElem, store)) : []
332
332
  }
333
333
  })
334
334
  }
@@ -346,8 +346,8 @@ const buildUiSchema = (config: any) => {
346
346
  header: cellElem.label || cellElem.name,
347
347
  size: sizeMap[cellElem.name] || 180,
348
348
  type: cellElem.columnFormat,
349
- widget: cellElem.type != "ColumnGroup" ? buildUiSchema(cellElem) : undefined,
350
- elements: cellElem.type == "ColumnGroup" ? cellElem.elements.map((childCellElem) => buildUiSchema(childCellElem)) : []
349
+ widget: cellElem.type != "ColumnGroup" ? buildUiSchema(cellElem, store) : undefined,
350
+ elements: cellElem.type == "ColumnGroup" ? cellElem.elements.map((childCellElem) => buildUiSchema(childCellElem, store)) : []
351
351
  }
352
352
  } else {
353
353
  return {
@@ -362,12 +362,12 @@ const buildUiSchema = (config: any) => {
362
362
  }
363
363
  else if (config.type == "Array") {
364
364
  elements.options.detail.elements = config.elements.map((e: any, elemInd: number) => {
365
- return buildUiSchema(e)
365
+ return buildUiSchema(e,store)
366
366
  });
367
367
  }
368
368
  else {
369
369
  elements.elements = config.elements.map((e: any, elemInd: number) => {
370
- return buildUiSchema(e)
370
+ return buildUiSchema(e,store)
371
371
  });
372
372
  }
373
373
  }
@@ -7,7 +7,7 @@ export const buildWrapperSection = (config, componentScope) => {
7
7
  wrapper.scope = componentScope;
8
8
  wrapper.config.main.label = config.label;
9
9
  wrapper.config.main.divider = config.divider === "YES" ? true : false;
10
- wrapper.config.main.isAccordion = config.isAccordion === "YES" ? true : false;
10
+ wrapper.config.main.isAccordion = config.isAccordion === "No" ? false : true;
11
11
  if(config.defaultStyle){
12
12
  wrapper.config.defaultStyle = config.defaultStyle ==="YES" ? true : false;
13
13
  }
@@ -11,7 +11,7 @@ export const APISection = {
11
11
  widget: "SelectInputField",
12
12
  },
13
13
  config: {
14
- layout: { xs: 11, sm: 11, md: 5.5, lg: 5.5 },
14
+ layout: { xs: 6, sm: 6, md: 4, lg: 4 },
15
15
  main: {
16
16
  label: "Method",
17
17
  type: "text",
@@ -26,7 +26,7 @@ export const APISection = {
26
26
  widget: "InputField",
27
27
  },
28
28
  config: {
29
- layout: { xs: 11, sm: 11, md: 5.5, lg: 5.5 },
29
+ layout: { xs: 6, sm: 6, md: 4, lg: 4 },
30
30
  main: {
31
31
  label: "Path",
32
32
  type: "text",
@@ -35,6 +35,28 @@ export const APISection = {
35
35
  },
36
36
  },
37
37
  },
38
+ {
39
+ type: "Control",
40
+ scope: "#/properties/emptyBox",
41
+
42
+ options: {
43
+ widget: "EmptyBox",
44
+ },
45
+ config: {
46
+ layout: { xs: 0, sm: 0, md: 4, lg: 4 },
47
+ },
48
+ },
49
+ {
50
+ type: "Control",
51
+ scope: "#/properties/emptyBox",
52
+
53
+ options: {
54
+ widget: "EmptyBox",
55
+ },
56
+ config: {
57
+ layout: { xs: 0, sm: 0, md: 4, lg: 4 },
58
+ },
59
+ },
38
60
  {
39
61
  type: "Control",
40
62
  scope: "#/properties/headers",
@@ -51,12 +73,7 @@ export const APISection = {
51
73
  widget: "InputField",
52
74
  },
53
75
  config: {
54
- layout: {
55
- xs: 11,
56
- sm: 11,
57
- md: 5.5,
58
- lg: 5.5,
59
- },
76
+ layout: { xs: 6, sm: 6, md: 4, lg: 4 },
60
77
  main: {
61
78
  label: "Key",
62
79
  },
@@ -70,17 +87,23 @@ export const APISection = {
70
87
  widget: "InputField",
71
88
  },
72
89
  config: {
73
- layout: {
74
- xs: 11,
75
- sm: 11,
76
- md: 5.5,
77
- lg: 5.5,
78
- },
90
+ layout: { xs: 6, sm: 6, md: 4, lg: 4 },
79
91
  main: {
80
92
  label: "Value",
81
93
  },
82
94
  },
83
95
  },
96
+ {
97
+ type: "Control",
98
+ scope: "#/properties/emptyBox",
99
+
100
+ options: {
101
+ widget: "EmptyBox",
102
+ },
103
+ config: {
104
+ layout: { xs: 0, sm: 0, md: 4, lg: 4 },
105
+ },
106
+ },
84
107
  ],
85
108
  },
86
109
  },
@@ -101,12 +124,7 @@ export const APISection = {
101
124
  widget: "InputField",
102
125
  },
103
126
  config: {
104
- layout: {
105
- xs: 11,
106
- sm: 11,
107
- md: 5.5,
108
- lg: 5.5,
109
- },
127
+ layout: { xs: 6, sm: 6, md: 4, lg: 4 },
110
128
  main: {
111
129
  label: "Key",
112
130
  },
@@ -120,18 +138,23 @@ export const APISection = {
120
138
  widget: "InputField",
121
139
  },
122
140
  config: {
123
- layout: {
124
- xs: 11,
125
- sm: 11,
126
- md: 5.5,
127
- lg: 5.5,
128
- },
141
+ layout: { xs: 6, sm: 6, md: 4, lg: 4 },
129
142
  main: {
130
143
  label: "Value",
131
144
  },
132
145
  },
133
146
  },
134
-
147
+ {
148
+ type: "Control",
149
+ scope: "#/properties/emptyBox",
150
+
151
+ options: {
152
+ widget: "EmptyBox",
153
+ },
154
+ config: {
155
+ layout: { xs: 0, sm: 0, md: 4, lg: 4 },
156
+ },
157
+ },
135
158
  ],
136
159
  },
137
160
  },
@@ -1,5 +1,5 @@
1
1
 
2
- export default {
2
+ const Box = {
3
3
  type: "Control",
4
4
  scope: "#/properties/emptyBox",
5
5
  options: {
@@ -12,4 +12,5 @@
12
12
  // fontWeight:300
13
13
  }
14
14
  },
15
- };
15
+ };
16
+ export default Box;