impaktapps-ui-builder 1.0.3 → 1.0.5

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 (122) hide show
  1. package/dist/impaktapps-ui-builder.es.js +2278 -1161
  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/buildAreaGraph.d.ts +2 -0
  6. package/dist/src/impaktapps-ui-builder/builder/build/buildArray.d.ts +1 -11
  7. package/dist/src/impaktapps-ui-builder/builder/build/buildCamera.d.ts +1 -0
  8. package/dist/src/impaktapps-ui-builder/builder/build/buildConfig.d.ts +2 -1
  9. package/dist/src/impaktapps-ui-builder/builder/build/buildGroupButton.d.ts +1 -0
  10. package/dist/src/impaktapps-ui-builder/builder/build/buildHorizontalLayout.d.ts +1 -0
  11. package/dist/src/impaktapps-ui-builder/builder/build/buildImage.d.ts +1 -0
  12. package/dist/src/impaktapps-ui-builder/builder/build/buildMetricCard.d.ts +1 -0
  13. package/dist/src/impaktapps-ui-builder/builder/build/buildOTP_inputs.d.ts +1 -0
  14. package/dist/src/impaktapps-ui-builder/builder/build/buildPdfViewer.d.ts +1 -0
  15. package/dist/src/impaktapps-ui-builder/builder/build/buildPopover.d.ts +1 -0
  16. package/dist/src/impaktapps-ui-builder/builder/build/buildStackBarLineGraph.d.ts +2 -0
  17. package/dist/src/impaktapps-ui-builder/builder/build/buildUiSchema.d.ts +2 -1
  18. package/dist/src/impaktapps-ui-builder/builder/build/uischema/apiSection.d.ts +1 -3
  19. package/dist/src/impaktapps-ui-builder/builder/build/uischema/box.d.ts +10 -2
  20. package/dist/src/impaktapps-ui-builder/builder/build/uischema/buildPropertiesSection.d.ts +1 -1
  21. package/dist/src/impaktapps-ui-builder/builder/build/uischema/button.d.ts +6 -1
  22. package/dist/src/impaktapps-ui-builder/builder/build/uischema/buttonGroup.d.ts +22 -0
  23. package/dist/src/impaktapps-ui-builder/builder/build/uischema/card.d.ts +173 -171
  24. package/dist/src/impaktapps-ui-builder/builder/build/uischema/coreSection.d.ts +82 -72
  25. package/dist/src/impaktapps-ui-builder/builder/build/uischema/eventSection.d.ts +18 -50
  26. package/dist/src/impaktapps-ui-builder/builder/build/uischema/graph.d.ts +50 -4
  27. package/dist/src/impaktapps-ui-builder/builder/build/uischema/horizontalLayout.d.ts +13 -0
  28. package/dist/src/impaktapps-ui-builder/builder/build/uischema/metricCard.d.ts +17 -0
  29. package/dist/src/impaktapps-ui-builder/builder/build/uischema/multiSelect.d.ts +1 -0
  30. package/dist/src/impaktapps-ui-builder/builder/build/uischema/pdfViewer.d.ts +19 -0
  31. package/dist/src/impaktapps-ui-builder/builder/build/uischema/refresh.d.ts +0 -3
  32. package/dist/src/impaktapps-ui-builder/builder/build/uischema/selectInputField.d.ts +1 -0
  33. package/dist/src/impaktapps-ui-builder/builder/build/uischema/table.d.ts +1 -0
  34. package/dist/src/impaktapps-ui-builder/builder/build/uischema/tableSection.d.ts +15 -66
  35. package/dist/src/impaktapps-ui-builder/builder/build/uischema/validationSections.d.ts +48 -38
  36. package/dist/src/impaktapps-ui-builder/builder/build/uischema/valueTab.d.ts +0 -3
  37. package/dist/src/impaktapps-ui-builder/builder/build/uischema/wrapperSection.d.ts +4 -1
  38. package/dist/src/impaktapps-ui-builder/builder/services/utils.d.ts +2 -1
  39. package/dist/src/impaktapps-ui-builder/lib/index.d.ts +1 -0
  40. package/dist/src/impaktapps-ui-builder/runtime/services/downloadFile.d.ts +5 -2
  41. package/dist/src/impaktapps-ui-builder/runtime/services/service.d.ts +10 -4
  42. package/package.json +1 -1
  43. package/src/impaktapps-ui-builder/builder/build/buildAadharCard.ts +2 -2
  44. package/src/impaktapps-ui-builder/builder/build/buildAreaGraph.ts +66 -0
  45. package/src/impaktapps-ui-builder/builder/build/buildArray.ts +35 -15
  46. package/src/impaktapps-ui-builder/builder/build/buildButton.ts +1 -1
  47. package/src/impaktapps-ui-builder/builder/build/buildCamera.ts +50 -0
  48. package/src/impaktapps-ui-builder/builder/build/buildCard.ts +10 -10
  49. package/src/impaktapps-ui-builder/builder/build/buildCheckbox.ts +1 -1
  50. package/src/impaktapps-ui-builder/builder/build/buildConfig.ts +34 -16
  51. package/src/impaktapps-ui-builder/builder/build/buildDataGrid.ts +2 -2
  52. package/src/impaktapps-ui-builder/builder/build/buildDate.ts +35 -13
  53. package/src/impaktapps-ui-builder/builder/build/buildDownloadFile.ts +7 -0
  54. package/src/impaktapps-ui-builder/builder/build/buildEmptyBox.ts +1 -0
  55. package/src/impaktapps-ui-builder/builder/build/buildFileInput.ts +42 -28
  56. package/src/impaktapps-ui-builder/builder/build/buildGroupButton.ts +24 -0
  57. package/src/impaktapps-ui-builder/builder/build/buildHorizontalBarGraph.ts +10 -4
  58. package/src/impaktapps-ui-builder/builder/build/buildHorizontalLayout.ts +15 -0
  59. package/src/impaktapps-ui-builder/builder/build/buildImage.ts +38 -0
  60. package/src/impaktapps-ui-builder/builder/build/buildLabel.ts +3 -0
  61. package/src/impaktapps-ui-builder/builder/build/buildLeaderboard.ts +4 -1
  62. package/src/impaktapps-ui-builder/builder/build/buildLineGraph.ts +10 -4
  63. package/src/impaktapps-ui-builder/builder/build/buildMetricCard.tsx +37 -0
  64. package/src/impaktapps-ui-builder/builder/build/buildMultiSelect.ts +12 -0
  65. package/src/impaktapps-ui-builder/builder/build/buildOTP_inputs.ts +44 -0
  66. package/src/impaktapps-ui-builder/builder/build/buildPdfViewer.ts +16 -0
  67. package/src/impaktapps-ui-builder/builder/build/buildPieGraph.ts +7 -4
  68. package/src/impaktapps-ui-builder/builder/build/buildPop.ts +3 -2
  69. package/src/impaktapps-ui-builder/builder/build/buildPopover.ts +40 -0
  70. package/src/impaktapps-ui-builder/builder/build/buildProgressBar.ts +31 -21
  71. package/src/impaktapps-ui-builder/builder/build/buildRadio.ts +11 -3
  72. package/src/impaktapps-ui-builder/builder/build/buildSelect.ts +12 -0
  73. package/src/impaktapps-ui-builder/builder/build/buildStackBarGraph.ts +10 -4
  74. package/src/impaktapps-ui-builder/builder/build/buildStackBarLineGraph.ts +72 -0
  75. package/src/impaktapps-ui-builder/builder/build/buildTabSection.ts +5 -0
  76. package/src/impaktapps-ui-builder/builder/build/buildTable.ts +24 -8
  77. package/src/impaktapps-ui-builder/builder/build/buildText.ts +15 -0
  78. package/src/impaktapps-ui-builder/builder/build/buildTextArea.ts +2 -2
  79. package/src/impaktapps-ui-builder/builder/build/buildThoughtOfTheDay.ts +1 -1
  80. package/src/impaktapps-ui-builder/builder/build/buildTreeMap.ts +2 -1
  81. package/src/impaktapps-ui-builder/builder/build/buildUiSchema.ts +140 -130
  82. package/src/impaktapps-ui-builder/builder/build/buildUplaodFile.ts +6 -0
  83. package/src/impaktapps-ui-builder/builder/build/buildWrapperSection.ts +8 -3
  84. package/src/impaktapps-ui-builder/builder/build/uischema/apiSection.ts +0 -6
  85. package/src/impaktapps-ui-builder/builder/build/uischema/array.ts +1 -1
  86. package/src/impaktapps-ui-builder/builder/build/uischema/box.ts +5 -2
  87. package/src/impaktapps-ui-builder/builder/build/uischema/buildPropertiesSection.ts +398 -141
  88. package/src/impaktapps-ui-builder/builder/build/uischema/button.ts +1 -1
  89. package/src/impaktapps-ui-builder/builder/build/uischema/buttonGroup.ts +17 -0
  90. package/src/impaktapps-ui-builder/builder/build/uischema/card.ts +142 -169
  91. package/src/impaktapps-ui-builder/builder/build/uischema/coreSection.ts +127 -133
  92. package/src/impaktapps-ui-builder/builder/build/uischema/dateInputField.ts +2 -2
  93. package/src/impaktapps-ui-builder/builder/build/uischema/emptyBox.ts +1 -1
  94. package/src/impaktapps-ui-builder/builder/build/uischema/eventSection.ts +30 -54
  95. package/src/impaktapps-ui-builder/builder/build/uischema/file.ts +3 -3
  96. package/src/impaktapps-ui-builder/builder/build/uischema/graph.ts +37 -4
  97. package/src/impaktapps-ui-builder/builder/build/uischema/horizontalLayout.ts +11 -0
  98. package/src/impaktapps-ui-builder/builder/build/uischema/metricCard.ts +13 -0
  99. package/src/impaktapps-ui-builder/builder/build/uischema/multiSelect.ts +4 -2
  100. package/src/impaktapps-ui-builder/builder/build/uischema/pdfViewer.ts +18 -0
  101. package/src/impaktapps-ui-builder/builder/build/uischema/refresh.ts +0 -3
  102. package/src/impaktapps-ui-builder/builder/build/uischema/selectInputField.ts +3 -1
  103. package/src/impaktapps-ui-builder/builder/build/uischema/table.ts +1 -0
  104. package/src/impaktapps-ui-builder/builder/build/uischema/tableSection.ts +34 -60
  105. package/src/impaktapps-ui-builder/builder/build/uischema/textInputField.ts +1 -1
  106. package/src/impaktapps-ui-builder/builder/build/uischema/validationSections.ts +58 -113
  107. package/src/impaktapps-ui-builder/builder/build/uischema/valueTab.ts +0 -3
  108. package/src/impaktapps-ui-builder/builder/build/uischema/wrapperSection.ts +4 -1
  109. package/src/impaktapps-ui-builder/builder/elements/UiSchema/Component/schema.ts +228 -59
  110. package/src/impaktapps-ui-builder/builder/elements/UiSchema/Component/uiSchema.ts +121 -119
  111. package/src/impaktapps-ui-builder/builder/elements/UiSchema/PageMaster/schema.ts +1 -1
  112. package/src/impaktapps-ui-builder/builder/elements/UiSchema/PageMaster/uiSchema.ts +94 -106
  113. package/src/impaktapps-ui-builder/builder/elements/UiSchema/event/schema.ts +11 -5
  114. package/src/impaktapps-ui-builder/builder/elements/UiSchema/event/uiSchema.ts +31 -55
  115. package/src/impaktapps-ui-builder/builder/services/component.ts +173 -86
  116. package/src/impaktapps-ui-builder/builder/services/event.ts +3 -0
  117. package/src/impaktapps-ui-builder/builder/services/pageMaster.ts +18 -15
  118. package/src/impaktapps-ui-builder/builder/services/utils.ts +15 -3
  119. package/src/impaktapps-ui-builder/lib/index.ts +10 -9
  120. package/src/impaktapps-ui-builder/runtime/services/downloadFile.ts +33 -18
  121. package/src/impaktapps-ui-builder/runtime/services/events.ts +9 -11
  122. package/src/impaktapps-ui-builder/runtime/services/service.ts +123 -165
@@ -5,7 +5,7 @@ export default {
5
5
  widget: "Button",
6
6
  },
7
7
  config: {
8
- layout: 3,
8
+ layout: { xs: 4, sm: 2.5, md: 2, lg: 1.5 },
9
9
  main: {
10
10
  name: "Compare",
11
11
  variant: "contained",
@@ -0,0 +1,17 @@
1
+ export default {
2
+ type: "Control",
3
+ scope: "#/properties/buttonGroup",
4
+ options: {
5
+ widget: "ButtonGroup",
6
+ },
7
+ config: {
8
+ layout: { xs: 12, sm: 12, md: 6, lg: 6 },
9
+ main: {
10
+ variant: "contained",
11
+ styleDefault:false,
12
+ size: "small",
13
+ },
14
+ style: {
15
+ },
16
+ },
17
+ };
@@ -1,196 +1,169 @@
1
- export default function Card(theme){
2
- const uiSchema = {
1
+ export default function Card(theme) {
2
+ const uiSchema =
3
+ {
3
4
  type: "WrapperLayout",
4
5
  config: {
5
6
  main: {},
6
- wrapperStyle: {
7
- position: "relative",
8
- top: "50%",
9
- transform: "translateY(-50%)",
10
- marginBottom: 0
11
- },
12
- componentsBoxStyle: {
13
- boxShadow: "0px 2px 4px rgba(0, 0, 0, 0.1)",
14
- flexDirection: "row",
15
- flexWrap: "nowrap",
16
- width: "100% !important",
17
- background: "transparent",
18
- border: `1.5px solid ${theme.palette.primary.light}`,
19
- borderRadius: "8px",
20
- padding: "0px 4px",
21
- height: "100%",
22
- alignItems: "center",
23
- marginLeft: "0px",
24
- "&: hover": {
25
- background: `${theme.palette.primary.main}`,
26
- border: `1.5px solid black`,
27
- "& p": {
28
- color: "white",
7
+ style: {
8
+ wrapperStyle: {
9
+ position: "relative",
10
+ top: "50%",
11
+ transform: "translateY(-50%)",
12
+ marginBottom: 0,
13
+ borderRadius: "12px",
14
+ fontFamily:"poppins"
15
+ },
16
+ componentsBoxStyle: {
17
+ boxShadow: "0 0 6px 1px rgba(149, 147, 147, 0.25)",
18
+ flexDirection: "column",
19
+ overflow: "hidden",
20
+ flexWrap: "nowrap",
21
+ width: "100% !important",
22
+ background: "transparent",
23
+ // border: `1.5px solid ${theme.palette.primary.light}`,
24
+ borderRadius: "12px",
25
+ padding: "20px 20px 20px 14px",
26
+ height: "100%",
27
+ minHeight: "100px",
28
+ position: "relative",
29
+ marginLeft: "0px",
30
+ "&: hover": {
31
+ background: `${theme.palette.primary.main}`,
32
+ color: `${theme.palette.primary.contrastText}`,
33
+ // border: `1.5px solid black`,
34
+ // "& p": {
35
+ // color: "white",
36
+ // },
29
37
  },
30
38
  },
31
39
  },
32
- layout: { xs: 12, sm: 12, md: 6, lg: 6 },
40
+
41
+ layout: { xs: 12, sm: 12, md: 3, lg: 3 },
33
42
  },
34
43
  elements: [
35
- {
36
- type: "HorizontalLayout",
44
+ {
45
+ type: "Control",
46
+ scope: "#/properties/initilCardScope",
37
47
  config: {
38
- layout: 8,
39
- },
40
- elements: [
41
- {
42
- type: "WrapperLayout",
43
- config: {
44
- main: {
45
- columnSpacing: 0,
46
- gap: 0,
47
- },
48
- wrapperStyle: {
49
- background: "transparent",
50
- marginBottom: 0
51
- },
52
- componentsBoxStyle: {
53
- flexDirection: "column",
54
- flexWrap: "nowrap",
55
- width: "100%",
56
- height: "inherit",
57
- background: "transparent",
58
- borderRadius: "0px",
59
- },
60
- layout: 12,
48
+ main: {
49
+ url: "https://www.svgrepo.com/show/500606/loading.svg",
50
+ },
51
+ style: {
52
+ containerStyle: {
53
+ position: "absolute",
54
+ color:"inherit",
55
+ top: "4px",
56
+ right: "4px",
57
+ display: "flex",
58
+ justifyContent: "flex-end",
59
+ alignItems: "flex-start",
60
+ },
61
+ imageStyle: {
62
+ color:"inherit",
63
+ width: "32px",
64
+ height: "32px",
65
+ padding: "0px",
66
+ margin: "0px",
61
67
  },
62
- elements: [
63
- {
64
- type: "WrapperLayout",
65
- config: {
66
- main: {
67
- columnSpacing: 0,
68
- gap: 0,
69
- },
70
- wrapperStyle: {
71
- background: "transparent",
72
- marginBottom: 0
73
- },
74
- componentsBoxStyle: {
75
- flexDirection: "row",
76
- flexWrap: "nowrap",
77
- width: "100%",
78
- height: "0",
79
- background: "transparent",
80
- borderRadius: "0px",
81
- marginLeft: "-10px",
82
- marginTop: "-8px",
83
- justifyContent: "start",
84
- position: "relative"
85
- },
86
- layout: 12,
87
- },
88
- elements: [
89
- {
90
- type: "Control",
91
- scope: "#/properties/programType",
92
- config: {
93
- main: {
94
- heading: "",
95
- },
96
- style: {
97
- color: "black",
98
- display: "flex",
99
- fontSize: { xs: "24px", md: "28px" },
100
- fontWeight: "bold",
101
- background: "inherit",
102
- justifyContent: "flex-start",
103
- width: "auto",
104
- margin: "-8px",
105
- marginLeft: "-24px",
106
- height: 0
107
- },
108
- // layout: 1,
109
- },
110
- options: {
111
- widget: "Box",
112
- },
113
- },
114
- {
115
- type: "Control",
116
- scope: "#/properties/programType",
117
- config: {
118
- main: {
119
- heading: "5000.00",
120
- },
121
- style: {
122
- color: "black",
123
- display: "flex",
124
- fontSize: { xs: "24px", md: "28px" },
125
- fontWeight: "bold",
126
- background: "inherit",
127
- justifyContent: "flex-start",
128
- width: "auto",
129
- margin: "-8px",
130
- position: "absolute",
131
- left: "24px"
132
- },
133
- // layout: 11,
134
- },
135
- options: {
136
- widget: "Box",
137
- },
138
- },
139
- ],
140
- },
141
- {
142
- type: "Control",
143
- scope: "#/properties/programType",
144
- config: {
145
- main: {
146
- heading: "Total Earnings",
147
- },
148
- style: {
149
- color: "black",
150
- fontSize: "16px",
151
- justifyContent: "center",
152
- textWrap: "wrap",
153
- background: "inherit",
154
- width: "calc(100%+8px)",
155
- margin: "-8px",
156
- marginTop: {xs: "16px", md: "20px"},
157
- },
158
- layout: 12,
159
- },
160
-
161
- options: {
162
- widget: "Box",
163
- },
164
- },
165
- ],
166
68
  },
167
- ],
69
+ },
70
+ options: {
71
+ widget: "Image",
72
+ },
168
73
  },
169
74
  {
170
75
  type: "Control",
171
- scope: "#/properties/programType",
76
+ scope: "#/properties/initilCardScope",
172
77
  config: {
173
78
  main: {
174
- url: "https://www.svgrepo.com/show/500606/loading.svg",
79
+ heading: "Total Earnings",
175
80
  },
176
81
  style: {
177
- containerStyle: {
178
- height: "100%",
82
+ color: "inherit",
83
+ fontSize: "16px",
84
+ fontWeight: 300,
85
+ fontFamily:"Poppins",
86
+ justifyContent: "flex-start",
87
+ background: "inherit",
88
+ position: "absolute",
89
+ top: "8px",
90
+ left: "12px",
179
91
  display: "flex",
180
- justifyContent: "end",
92
+ maxWidth: "200px",
93
+ whiteSpace: "nowrap",
94
+ overflowX: "auto",
95
+ scrollbarWidth: "none",
96
+ "&::-webkit-scrollbar": {
97
+ display: "none",
181
98
  },
182
- imageStyle: {
183
- width: "unset",
184
- fontSize: "none",
185
- padding: "4px",
186
- margin: "0px 0px 0px 8px",
187
- height: "64px",
99
+ },
100
+ },
101
+ options: {
102
+ widget: "Box",
103
+ },
104
+ },
105
+ {
106
+ type: "Control",
107
+ scope: "#/properties/initilCardScope",
108
+ config: {
109
+ main: {
110
+ heading: "5000.00",
111
+ },
112
+ style: {
113
+ color: "inherit",
114
+ display: "flex",
115
+ fontSize: { xs: "22px", md: "40px" },
116
+ fontWeight: 600,
117
+ background: "inherit",
118
+ justifyContent: "flex-start",
119
+ width: "100%",
120
+ margin: "0px",
121
+ marginBottom: "4px",
122
+ marginTop: "8px",
123
+ lineHeight: "1",
124
+ maxWidth: "300px",
125
+ whiteSpace: "nowrap",
126
+ overflowX: "auto",
127
+ overflowY: "hidden",
128
+ scrollbarWidth: "none",
129
+
130
+ "&::-webkit-scrollbar": {
131
+ display: "none",
188
132
  },
189
133
  },
190
- layout: 4,
191
134
  },
192
135
  options: {
193
- widget: "Image",
136
+ widget: "Box",
137
+ },
138
+ },
139
+ {
140
+ type: "Control",
141
+ scope: "#/properties/initilCardScope",
142
+ config: {
143
+ main: {
144
+ heading: "Increased from last month",
145
+ },
146
+ style: {
147
+ color: "inherit",
148
+ fontSize: "12px",
149
+ fontWeight: "400",
150
+ justifyContent: "flex-start",
151
+ background: "inherit",
152
+ margin: "0px",
153
+ paddingLeft: "2px",
154
+ marginBottom:"8px",
155
+ maxWidth: "200px",
156
+ whiteSpace: "nowrap",
157
+ overflowX: "auto",
158
+ scrollbarWidth: "none",
159
+
160
+ "&::-webkit-scrollbar": {
161
+ display: "none",
162
+ },
163
+ },
164
+ },
165
+ options: {
166
+ widget: "Box",
194
167
  },
195
168
  },
196
169
  ],
@@ -62,20 +62,76 @@ export const CoreSection = {
62
62
  },
63
63
  },
64
64
  },
65
- // {
66
- // type: "Control",
67
- // scope: "#/properties/columnFormat",
68
- // options: {
69
- // widget: "SelectInputField",
70
- // },
71
- // config: {
72
- // layout: { xs: 6, sm: 6, md: 4, lg: 3 },
73
- // main: {
74
- // label: "Column Format",
75
-
76
- // },
77
- // },
78
- // },
65
+ {
66
+ type: "Control",
67
+ scope: "#/properties/proc5",
68
+ config: {
69
+ layout: { xs: 6, sm: 6, md: 0, lg: 3 },
70
+ },
71
+ options: {
72
+ widget: "EmptyBox",
73
+ },
74
+ },
75
+ {
76
+ type: "Control",
77
+ scope: "#/properties/proc6",
78
+ config: {
79
+ layout: { xs: 6, sm: 6, md: 0, lg: 3 },
80
+ },
81
+ options: {
82
+ widget: "EmptyBox",
83
+ },
84
+ },
85
+ {
86
+ type: "Control",
87
+ scope: "#/properties/proc7",
88
+ config: {
89
+ layout: { xs: 6, sm: 6, md: 0, lg: 3 },
90
+ },
91
+ options: {
92
+ widget: "EmptyBox",
93
+ },
94
+ },
95
+ {
96
+ type: "Control",
97
+ scope: "#/properties/proc8",
98
+ config: {
99
+ layout: { xs: 6, sm: 6, md: 0, lg: 3 },
100
+ },
101
+ options: {
102
+ widget: "EmptyBox",
103
+ },
104
+ },
105
+ {
106
+ type: "Control",
107
+ scope: "#/properties/proc9",
108
+ config: {
109
+ layout: { xs: 6, sm: 6, md: 0, lg: 3 },
110
+ },
111
+ options: {
112
+ widget: "EmptyBox",
113
+ },
114
+ },
115
+ {
116
+ type: "Control",
117
+ scope: "#/properties/proc10",
118
+ config: {
119
+ layout: { xs: 6, sm: 6, md: 0, lg: 3 },
120
+ },
121
+ options: {
122
+ widget: "EmptyBox",
123
+ },
124
+ },
125
+ {
126
+ type: "Control",
127
+ scope: "#/properties/proc11",
128
+ config: {
129
+ layout: { xs: 6, sm: 6, md: 0, lg: 3 },
130
+ },
131
+ options: {
132
+ widget: "EmptyBox",
133
+ },
134
+ },
79
135
  {
80
136
  type: "Control",
81
137
  scope: "#/properties/proc",
@@ -89,129 +145,67 @@ export const CoreSection = {
89
145
  {
90
146
  type: "Control",
91
147
  scope: "#/properties/layout",
92
- layout: 12,
93
- options: {
94
- "elementLabelProp": "key",
95
- detail: {
96
- type: "HorizontalLayout",
97
-
98
- elements: [
99
- {
100
- type: "Control",
101
- scope: "#/properties/key",
102
- options: {
103
- widget: "SelectInputField",
104
- },
105
- config: {
106
- layout: { xs: 6, sm: 6, md: 4, lg: 4 },
107
- main: {
108
- label: "Screen Size",
109
-
110
- },
111
- },
148
+ config: {
149
+ layout: 12,
150
+ main: {
151
+ label: "Layout",
152
+ childElementLabel: "Layout",
153
+ },
154
+ style: {
155
+ marginLeft: "-24px",
156
+ marginBottom: "24px !important",
157
+ labelStyle: {
158
+ marginLeft: "24px",
159
+ },
160
+ detailsStyle: {
161
+ marginLeft: "24px",
162
+ }
163
+ }
164
+ },
165
+ elements: [
166
+ {
167
+ type: "Control",
168
+ scope: "#/properties/key",
169
+ options: {
170
+ widget: "SelectInputField",
171
+ },
172
+ config: {
173
+ layout: { xs: 6, sm: 6, md: 4, lg: 4 },
174
+ main: {
175
+ label: "Screen Size",
112
176
  },
113
- {
114
- type: "Control",
115
- scope: "#/properties/value",
177
+ },
178
+ },
179
+ {
180
+ type: "Control",
181
+ scope: "#/properties/value",
182
+
183
+ options: {
184
+ widget: "InputField",
185
+ },
186
+ config: {
187
+ layout: { xs: 6, sm: 6, md: 4, lg: 4 },
188
+ main: {
189
+ label: "Value",
190
+ type: "number",
191
+ // freeSolo:true,
192
+ helperText: 'Number should be in range of 0 to 12',
193
+ errorMessage: "Number Can't be greater than 12 and can't be less than 0.",
116
194
 
117
- options: {
118
- widget: "InputField",
119
- },
120
- config: {
121
- layout: { xs: 6, sm: 6, md: 4, lg: 4 },
122
- main: {
123
- label: "Value",
124
- type:"number",
125
- // freeSolo:true,
126
- helperText:'Number should be in range of 0 to 12',
127
- errorMessage:"Number Can't be greater than 12 and can't be less than 0.",
128
- },
129
- },
130
- },
131
- {
132
- type: "Control",
133
- scope: "#/properties/proc",
134
- config: {
135
- layout: { xs: 0, sm: 0, md: 4, lg: 4 },
136
- },
137
- options: {
138
- widget: "EmptyBox",
139
- },
140
195
  },
141
- ],
196
+ },
142
197
  },
143
- },
198
+ {
199
+ type: "Control",
200
+ scope: "#/properties/proc",
201
+ config: {
202
+ layout: { xs: 0, sm: 0, md: 4, lg: 4 },
203
+ },
204
+ options: {
205
+ widget: "EmptyBox",
206
+ },
207
+ },
208
+ ],
144
209
  },
145
-
146
-
147
- // {
148
- // type: "Control",
149
- // scope: "#/properties/layout",
150
- // options: {
151
- // widget: "Array",
152
- // },
153
- // config: {
154
- // layout: 12,
155
- // main: {
156
- // label: "Layout",
157
- // childElementLabel: "Layout",
158
- // },
159
- // style: {
160
- // marginLeft: "-24px",
161
- // marginBottom: "24px !important",
162
- // labelStyle: {
163
- // marginLeft: "24px",
164
- // },
165
- // detailsStyle: {
166
- // marginLeft: "24px",
167
- // }
168
- // }
169
- // },
170
- // elements: [
171
- // {
172
- // type: "Control",
173
- // scope: "#/properties/key",
174
- // options: {
175
- // widget: "SelectInputField",
176
- // },
177
- // config: {
178
- // layout: { xs: 6, sm: 6, md: 4, lg: 4 },
179
- // main: {
180
- // label: "Screen Size",
181
-
182
- // },
183
- // },
184
- // },
185
- // {
186
- // type: "Control",
187
- // scope: "#/properties/value",
188
-
189
- // options: {
190
- // widget: "InputField",
191
- // },
192
- // config: {
193
- // layout: { xs: 6, sm: 6, md: 4, lg: 4 },
194
- // main: {
195
- // label: "Value",
196
- // type:"number",
197
- // // freeSolo:true,
198
- // helperText:'Number should be in range of 0 to 12',
199
- // errorMessage:"Number Can't be greater than 12 and can't be less than 0.",
200
-
201
- // },
202
- // },
203
- // },
204
- // {
205
- // type: "Control",
206
- // scope: "#/properties/proc",
207
- // config: {
208
- // layout: { xs: 0, sm: 0, md: 4, lg: 4 },
209
- // },
210
- // options: {
211
- // widget: "EmptyBox",
212
- // },
213
- // },
214
- // ],
215
- // },
216
210
  ],
217
211
  };
@@ -6,7 +6,7 @@ export default {
6
6
  },
7
7
 
8
8
  config: {
9
- layout: { xs: 6, sm: 6, md: 4, lg: 4 },
9
+ layout: { xs: 6, sm: 6, md: 4, lg: 3 },
10
10
  main: {
11
11
  label: "",
12
12
  type: "date",
@@ -21,7 +21,7 @@ export const DateTime = {
21
21
  },
22
22
 
23
23
  config: {
24
- layout: { xs: 6, sm: 6, md: 4, lg: 4 },
24
+ layout: { xs: 6, sm: 6, md: 4, lg: 3 },
25
25
  main: {
26
26
  label: "DateTime",
27
27
  type: "date",
@@ -6,7 +6,7 @@ export default {
6
6
  },
7
7
 
8
8
  config: {
9
- layout: { xs: 0, sm: 4, md: 4, lg: 4 },
9
+ layout: { xs: 6, sm: 6, md: 4, lg: 3 },
10
10
  main: {},
11
11
  style:{}
12
12
  },