impaktapps-ui-builder 0.0.382-alpha.211 → 0.0.382-alpha.212

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "impaktapps-ui-builder",
3
- "version": "0.0.382-alpha.211",
3
+ "version": "0.0.382-alpha.212",
4
4
  "scripts": {
5
5
  "dev": "vite",
6
6
  "build": "tsc && vite build",
@@ -72,8 +72,8 @@ export const PageMasterUiSchema: any = {
72
72
  label: "Name",
73
73
  options: [],
74
74
  color: "secondary",
75
- errorMessage:"Name should be start with 'page_'",
76
- helperText:'Name should be start with "page_"',
75
+ errorMessage: "Name should be start with 'page_'",
76
+ helperText: 'Name should be start with "page_"',
77
77
  required: true,
78
78
  },
79
79
  },
@@ -122,7 +122,7 @@ export const PageMasterUiSchema: any = {
122
122
  {
123
123
  type: "Control",
124
124
  scope: "#/properties/heading",
125
-
125
+
126
126
  options: {
127
127
  widget: "Box",
128
128
  },
@@ -159,168 +159,169 @@ export const PageMasterUiSchema: any = {
159
159
  },
160
160
  },
161
161
  },
162
- {
163
- type: "Control",
164
- scope: "#/properties/elements",
165
- options: {
166
- widget: "Table",
167
- },
168
- config: {
169
- main: {
170
- disableAction: true,
171
- disableSelection: true,
172
- enableDrag: true,
173
- }
174
- },
175
- elements: [
176
- {
177
- accessorKey: "name",
178
-
179
- header: "Name",
180
- },
181
- {
182
- accessorKey: "type",
183
-
184
- header: "Type",
185
- },
186
- {
187
- header: "Edit",
188
- field: "Reject_Records",
189
- flex: 1,
190
- widget: {
191
- type: "Control",
192
- scope: "#/properties/RejectButton",
193
- options: {
194
- widget: "IconButton",
195
- },
196
- config: {
197
- main: {
198
- icon: "EditIcon",
199
- color: "primary",
200
- onClick: "Edit_Components",
201
- tooltipMessage: "Edit This Record",
202
- },
203
- },
204
- },
205
- },
206
- {
207
- header: "Delete",
208
- field: "Reject_Records",
209
- flex: 1,
210
- widget: {
211
- type: "Control",
212
- scope: "#/properties/RejectButton",
213
- options: {
214
- widget: "IconButton",
215
- },
216
- config: {
217
- main: {
218
- icon: "RejectIcon",
219
- color: "error",
220
- onClick: "deletePopUpComponent",
221
- tooltipMessage: "Reject This Record",
222
- },
223
- },
224
- },
225
- }
226
- ]
227
- },
228
- {
229
- type: "Control",
230
- scope: "#/properties/popUpComponent",
231
- options:{
232
- widget: "PopUp"
233
- },
234
- config:{
235
- layout: {
236
- xs: 12,
237
- sm: 12,
238
- md: 12,
239
- lg: 12,
240
- },
241
- main: {
242
- },
243
- },
244
- elements:
245
- [
246
162
  {
247
163
  type: "Control",
248
- scope: "#/properties/label",
249
-
164
+ scope: "#/properties/elements",
250
165
  options: {
251
- widget: "Box",
166
+ widget: "Table",
252
167
  },
253
168
  config: {
254
- layout: 12,
255
169
  main: {
256
- heading: "Are you sure you want to delete ?",
257
- },
258
- },
259
- },
260
- {
261
- type: "Control",
262
- scope: "#/properties/ConfirmDeleteCompButton",
263
- options: {
264
- widget: "Button",
170
+ disableAction: true,
171
+ disableSelection: true,
172
+ enableDrag: true,
173
+ }
265
174
  },
266
- config: {
267
- layout: 3,
268
- main: {
269
- name: "No",
270
- startIcon: "ApproveIcon",
271
- variant: "contained",
272
- color: "info",
273
- type: "text",
274
- onClick: "deletePopUpComponent",
275
- size: "small",
175
+ elements: [
176
+ {
177
+ accessorKey: "name",
178
+
179
+ header: "Name",
276
180
  },
277
- style: {
278
- marginBottom: "8px",
279
- width:{xs:"100%",sm:"100%",md:"25%",lg:"20%"},
280
- // float: "left",
181
+ {
182
+ accessorKey: "type",
183
+
184
+ header: "Type",
281
185
  },
282
- },
186
+ {
187
+ header: "Edit",
188
+ field: "Reject_Records",
189
+ flex: 1,
190
+ widget: {
191
+ type: "Control",
192
+ scope: "#/properties/RejectButton",
193
+ options: {
194
+ widget: "IconButton",
195
+ },
196
+ config: {
197
+ main: {
198
+ icon: "EditIcon",
199
+ color: "primary",
200
+ onClick: "Edit_Components",
201
+ tooltipMessage: "Edit This Record",
202
+ },
203
+ },
204
+ },
205
+ },
206
+ {
207
+ header: "Delete",
208
+ field: "Reject_Records",
209
+ flex: 1,
210
+ widget: {
211
+ type: "Control",
212
+ scope: "#/properties/RejectButton",
213
+ options: {
214
+ widget: "IconButton",
215
+ },
216
+ config: {
217
+ main: {
218
+ icon: "RejectIcon",
219
+ color: "error",
220
+ onClick: "deletePopUpComponent",
221
+ tooltipMessage: "Reject This Record",
222
+ },
223
+ },
224
+ },
225
+ }
226
+ ]
283
227
  },
284
228
  {
285
229
  type: "Control",
286
- scope: "#/properties/CancelDeleteCompButton",
230
+ scope: "#/properties/popUpComponent",
287
231
  options: {
288
- widget: "Button",
232
+ widget: "PopUp"
289
233
  },
290
234
  config: {
291
- layout: 3,
292
- main: {
293
- name: "Yes",
294
- startIcon: "ApproveIcon",
295
- variant: "contained",
296
- color: "info",
297
- type: "text",
298
- onClick: "Delete_Components",
299
- size: "small",
235
+ layout: {
236
+ xs: 12,
237
+ sm: 12,
238
+ md: 12,
239
+ lg: 12,
300
240
  },
301
-
302
- style: {
303
- // marginBottom: "8px",
304
- width:{xs:"100%",sm:"100%",md:"25%",lg:"20%"},
305
- // float: "left",
241
+ main: {
306
242
  },
307
- },
308
- },
309
- {
310
- type: "Control",
311
- scope: "#/properties/emptyBox",
312
-
313
- options: {
314
- widget: "Box",
315
- },
316
- config: {
317
- layout: 6,
318
243
  },
244
+ elements:
245
+ [
246
+ {
247
+ type: "Control",
248
+ scope: "#/properties/label",
249
+
250
+ options: {
251
+ widget: "Box",
252
+ },
253
+ config: {
254
+ layout: 12,
255
+ main: {
256
+ heading: "Are you sure you want to delete ?",
257
+ },
258
+ },
259
+ },
260
+ {
261
+ type: "Control",
262
+ scope: "#/properties/ConfirmDeleteCompButton",
263
+ options: {
264
+ widget: "Button",
265
+ },
266
+ config: {
267
+ layout: 3,
268
+ main: {
269
+ name: "No",
270
+ startIcon: "ApproveIcon",
271
+ variant: "contained",
272
+ color: "info",
273
+ type: "text",
274
+ onClick: "deletePopUpComponent",
275
+ size: "small",
276
+ },
277
+ style: {
278
+ marginBottom: "8px",
279
+ width: { xs: "100%", sm: "100%", md: "25%", lg: "20%" },
280
+ // float: "left",
281
+ },
282
+ },
283
+ },
284
+ {
285
+ type: "Control",
286
+ scope: "#/properties/CancelDeleteCompButton",
287
+ options: {
288
+ widget: "Button",
289
+ },
290
+ config: {
291
+ layout: 3,
292
+ main: {
293
+ name: "Yes",
294
+ startIcon: "ApproveIcon",
295
+ variant: "contained",
296
+ color: "info",
297
+ type: "text",
298
+ onClick: "Delete_Components",
299
+ size: "small",
300
+ },
301
+
302
+ style: {
303
+ // marginBottom: "8px",
304
+ width: { xs: "100%", sm: "100%", md: "25%", lg: "20%" },
305
+ // float: "left",
306
+ },
307
+ },
308
+ },
309
+ {
310
+ type: "Control",
311
+ scope: "#/properties/emptyBox",
312
+
313
+ options: {
314
+ widget: "Box",
315
+ },
316
+ config: {
317
+ layout: 6,
318
+ },
319
+ },
320
+ ]
319
321
  },
320
322
  ]
321
- }
322
- ]
323
- },
323
+ },
324
+
324
325
  {
325
326
  type: "WrapperLayout",
326
327
  config: {
@@ -336,7 +337,7 @@ export const PageMasterUiSchema: any = {
336
337
  {
337
338
  type: "Control",
338
339
  scope: "#/properties/heading",
339
-
340
+
340
341
  options: {
341
342
  widget: "Box",
342
343
  },
@@ -373,7 +374,7 @@ export const PageMasterUiSchema: any = {
373
374
  },
374
375
  },
375
376
  },
376
-
377
+
377
378
  {
378
379
  type: "Control",
379
380
  scope: "#/properties/events",
@@ -385,11 +386,11 @@ export const PageMasterUiSchema: any = {
385
386
  disableAction: true,
386
387
  disableSelection: true,
387
388
  enableDrag: true,
388
-
389
+
389
390
  },
390
391
  },
391
392
  elements: [
392
-
393
+
393
394
  {
394
395
  accessorKey: "eventType",
395
396
  header: "Event Type",
@@ -521,7 +522,7 @@ export const PageMasterUiSchema: any = {
521
522
  // {
522
523
  // type: "Control",
523
524
  // scope: "#/properties/emptyBox",
524
-
525
+
525
526
  // options: {
526
527
  // widget: "Box",
527
528
  // },
@@ -533,7 +534,7 @@ export const PageMasterUiSchema: any = {
533
534
  // }
534
535
  ]
535
536
  },
536
-
537
+
537
538
  ],
538
539
  },
539
540
  {
@@ -566,7 +567,7 @@ export const PageMasterUiSchema: any = {
566
567
  },
567
568
  style: {
568
569
  marginBottom: "8px",
569
- width:{xs:"100%",sm:"100%",md:"25%",lg:"20%"},
570
+ width: { xs: "100%", sm: "100%", md: "25%", lg: "20%" },
570
571
  float: "right",
571
572
  },
572
573
  },