impaktapps-ui-builder 0.0.412-hi → 0.0.412-i

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.
@@ -9,10 +9,8 @@ declare const _default: {
9
9
  };
10
10
  style: {
11
11
  wrapperStyle: {
12
- height: {
13
- xs: number;
14
- sm: number;
15
- };
12
+ display: string;
13
+ gap: string;
16
14
  };
17
15
  };
18
16
  wrapperStyle: {
@@ -76,6 +74,7 @@ declare const _default: {
76
74
  '@keyframes rotateAnimation'?: undefined;
77
75
  animation?: undefined;
78
76
  tableHeadstyle?: undefined;
77
+ margin?: undefined;
79
78
  };
80
79
  layout: number;
81
80
  };
@@ -122,6 +121,7 @@ declare const _default: {
122
121
  '@keyframes rotateAnimation'?: undefined;
123
122
  animation?: undefined;
124
123
  tableHeadstyle?: undefined;
124
+ margin?: undefined;
125
125
  };
126
126
  layout: number;
127
127
  containerStyle?: undefined;
@@ -169,6 +169,7 @@ declare const _default: {
169
169
  '@keyframes rotateAnimation'?: undefined;
170
170
  animation?: undefined;
171
171
  tableHeadstyle?: undefined;
172
+ margin?: undefined;
172
173
  };
173
174
  layout: number;
174
175
  containerStyle?: undefined;
@@ -235,6 +236,7 @@ declare const _default: {
235
236
  zIndex: number;
236
237
  fontWeight?: undefined;
237
238
  tableHeadstyle?: undefined;
239
+ margin?: undefined;
238
240
  };
239
241
  layout: number;
240
242
  containerStyle?: undefined;
@@ -256,7 +258,6 @@ declare const _default: {
256
258
  fontWeight: number;
257
259
  background: string;
258
260
  };
259
- position: string;
260
261
  top: {
261
262
  xs: string;
262
263
  sm: string;
@@ -266,9 +267,11 @@ declare const _default: {
266
267
  border: string;
267
268
  width: string;
268
269
  left: string;
270
+ margin: string;
269
271
  objectFit?: undefined;
270
272
  height?: undefined;
271
273
  borderRadius?: undefined;
274
+ position?: undefined;
272
275
  display?: undefined;
273
276
  justifyContent?: undefined;
274
277
  alignItems?: undefined;
@@ -8,11 +8,13 @@ declare const _default: (store: any, dynamicData: any, submitHandler: any, servi
8
8
  saveHandler: () => Promise<void>;
9
9
  onChange: () => void;
10
10
  editComponents: () => void;
11
- deleteComponents: () => void;
12
- deleteEvent: () => void;
11
+ deleteComponents: (shouldUpdateDialog?: boolean) => void;
12
+ deleteEvent: (shouldUpdateDialog?: boolean) => void;
13
13
  widgetAddClickHandler: () => void;
14
14
  eventEditHandler: () => void;
15
15
  eventAddHandler: () => void;
16
16
  backHandler: () => void;
17
+ deletePopUpComponent: () => void;
18
+ deletePopUpEvent: () => void;
17
19
  };
18
20
  export default _default;
@@ -84,7 +84,8 @@ declare const _default: (store: any, dynamicData: any, submitHandler: any, servi
84
84
  onChange: () => void;
85
85
  addEvent: () => void;
86
86
  editEvent: () => void;
87
- deleteEvent: () => void;
87
+ deleteEvent: () => Promise<void>;
88
88
  backHandler: () => void;
89
+ deletePopUpEvent: () => void;
89
90
  };
90
91
  export default _default;
@@ -57,9 +57,11 @@ declare const _default: (funcParams: funcParamsProps) => {
57
57
  onAddClickHandler: () => void;
58
58
  saveHandler: () => Promise<void>;
59
59
  Edit_Components: () => void;
60
- Delete_Components: () => void;
60
+ Delete_Components: () => Promise<void>;
61
61
  eventAddHandler: () => void;
62
62
  editEvent: () => void;
63
63
  deleteEvent: () => void;
64
+ deletePopUpComponent: () => void;
65
+ deletePopUpEvent: () => void;
64
66
  };
65
67
  export default _default;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "impaktapps-ui-builder",
3
- "version": "0.0.412hi",
3
+ "version": "0.0.412i",
4
4
  "scripts": {
5
5
  "dev": "vite",
6
6
  "build": "tsc && vite build",
@@ -117,7 +117,7 @@ export const EventSection = {
117
117
  icon: "RejectIcon",
118
118
  color: "error",
119
119
  tooltipMessage: "Reject This Record",
120
- onClick: "deleteEvent",
120
+ onClick: "deletePopUpEvent",
121
121
  },
122
122
  },
123
123
  },
@@ -7,9 +7,13 @@ export default {
7
7
  label: "LeaderBoard",
8
8
  divider: true,
9
9
  },
10
- style:{wrapperStyle:{
11
- height: {xs:850,sm:1000}
12
- }},
10
+ style: {
11
+ wrapperStyle: {
12
+ display: "flex",
13
+ gap: "10px",
14
+
15
+ }
16
+ },
13
17
  wrapperStyle: {
14
18
  position: "relative",
15
19
  width: "100%",
@@ -339,12 +343,12 @@ export default {
339
343
  fontWeight: 900,
340
344
  background: "rgb(179, 198, 255)"
341
345
  },
342
- position: "absolute",
343
346
  top: { xs: "300px", sm: "300px", md: "390px", lg: "390px" },
344
347
  // top:"390px",
345
348
  border: "2px solid rgb(179, 198, 255)",
346
349
  width: "95%",
347
- left: "2.5%"
350
+ left: "2.5%",
351
+ margin: "auto"
348
352
 
349
353
  },
350
354
 
@@ -110,14 +110,16 @@ export const TableSection = {
110
110
  main: {
111
111
  icon: "RejectIcon",
112
112
  color: "error",
113
- onClick: "deleteComponents",
113
+ onClick: "deletePopUpComponent",
114
114
  tooltipMessage: "Reject This Record",
115
115
  },
116
116
  },
117
117
  },
118
118
  }
119
119
  ]
120
- }]}
120
+ }
121
+ ]
122
+ }
121
123
  ]}
122
124
 
123
125
  export const TableSectionSchema = {
@@ -236,6 +236,184 @@ export const componentBasicUiSchema: any = {
236
236
  },
237
237
  ],
238
238
  },
239
+ {
240
+ type: "Control",
241
+ scope: "#/properties/popUpComponentSection",
242
+ options: {
243
+ widget: "PopUp"
244
+ },
245
+ config: {
246
+ layout: {
247
+ xs: 12,
248
+ sm: 12,
249
+ md: 12,
250
+ lg: 12,
251
+ },
252
+ main: {
253
+ },
254
+ },
255
+ elements:
256
+ [
257
+ {
258
+ type: "Control",
259
+ scope: "#/properties/label",
260
+ options: {
261
+ widget: "Box",
262
+ },
263
+ config: {
264
+ layout: 12,
265
+ main: {
266
+ heading: "Are you sure you want to delete ?",
267
+ },
268
+ style:{
269
+ marginTop: "-40px"
270
+ }
271
+ },
272
+ },
273
+ {
274
+ type: "Control",
275
+ scope: "#/properties/EmptyBox",
276
+ options: {
277
+ widget: "EmptyBox",
278
+ },
279
+ config: {
280
+ main:{},
281
+ layout: { xs: 11, sm: 5.5, md: 5.5, lg: 5.5 },
282
+ },
283
+ },
284
+ {
285
+ type: "Control",
286
+ scope: "#/properties/ConfirmDeleteCompButton",
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: "deleteComponents",
299
+ size: "small",
300
+ },
301
+ },
302
+ },
303
+ {
304
+ type: "Control",
305
+ scope: "#/properties/CancelDeleteCompButton",
306
+ options: {
307
+ widget: "Button",
308
+ },
309
+ config: {
310
+ layout: 3,
311
+ main: {
312
+ name: "No",
313
+ startIcon: "ApproveIcon",
314
+ variant: "contained",
315
+ color: "info",
316
+ type: "text",
317
+ onClick: "deletePopUpComponent",
318
+ size: "small",
319
+ },
320
+ },
321
+ },
322
+ ]
323
+ },
324
+
325
+
326
+
327
+
328
+
329
+
330
+
331
+
332
+ {
333
+ type: "Control",
334
+ scope: "#/properties/popUpEventSection",
335
+ options: {
336
+ widget: "PopUp"
337
+ },
338
+ config: {
339
+ layout: {
340
+ xs: 12,
341
+ sm: 12,
342
+ md: 12,
343
+ lg: 12,
344
+ },
345
+ main: {
346
+ },
347
+ },
348
+ elements:
349
+ [
350
+ {
351
+ type: "Control",
352
+ scope: "#/properties/label",
353
+ options: {
354
+ widget: "Box",
355
+ },
356
+ config: {
357
+ layout: 12,
358
+ main: {
359
+ heading: "Are you sure you want to delete ?",
360
+ },
361
+ style:{
362
+ marginTop: "-40px"
363
+ }
364
+ },
365
+ },
366
+ {
367
+ type: "Control",
368
+ scope: "#/properties/EmptyBox",
369
+ options: {
370
+ widget: "EmptyBox",
371
+ },
372
+ config: {
373
+ main:{},
374
+ layout: { xs: 11, sm: 5.5, md: 5.5, lg: 5.5 },
375
+ },
376
+ },
377
+ {
378
+ type: "Control",
379
+ scope: "#/properties/ConfirmDeleteEventButton",
380
+ options: {
381
+ widget: "Button",
382
+ },
383
+ config: {
384
+ layout: 3,
385
+ main: {
386
+ name: "Yes",
387
+ startIcon: "ApproveIcon",
388
+ variant: "contained",
389
+ color: "info",
390
+ type: "text",
391
+ onClick: "deleteEvent",
392
+ size: "small",
393
+ },
394
+ },
395
+ },
396
+ {
397
+ type: "Control",
398
+ scope: "#/properties/CancelDeleteEventButton",
399
+ options: {
400
+ widget: "Button",
401
+ },
402
+ config: {
403
+ layout: 3,
404
+ main: {
405
+ name: "No",
406
+ startIcon: "ApproveIcon",
407
+ variant: "contained",
408
+ color: "info",
409
+ type: "text",
410
+ onClick: "deletePopUpEvent",
411
+ size: "small",
412
+ },
413
+ },
414
+ },
415
+ ]
416
+ },
239
417
 
240
418
  {
241
419
  type: "Control",
@@ -163,72 +163,74 @@ export const PageMasterUiSchema: any = {
163
163
  },
164
164
  },
165
165
  },
166
- {
167
- type: "Control",
168
- scope: "#/properties/elements",
169
- options: {
170
- widget: "Table",
171
- },
172
- config: {
173
- main: {
174
- disableAction: true,
175
- disableSelection: true,
176
- enableDrag: true,
177
- }
178
- },
179
- elements: [
180
166
  {
181
- accessorKey: "name",
167
+ type: "Control",
168
+ scope: "#/properties/elements",
169
+ options: {
170
+ widget: "Table",
171
+ },
172
+ config: {
173
+ main: {
174
+ disableAction: true,
175
+ disableSelection: true,
176
+ enableDrag: true,
177
+ }
178
+ },
179
+ elements: [
180
+ {
181
+ accessorKey: "name",
182
182
 
183
- header: "Name",
184
- },
185
- {
186
- accessorKey: "type",
183
+ header: "Name",
184
+ },
185
+ {
186
+ accessorKey: "type",
187
187
 
188
- header: "Type",
189
- },
190
- {
191
- header: "Edit",
192
- field: "Reject_Records",
193
- flex: 1,
194
- widget: {
195
- type: "Control",
196
- scope: "#/properties/RejectButton",
197
- options: {
198
- widget: "IconButton",
188
+ header: "Type",
199
189
  },
200
- config: {
201
- main: {
202
- icon: "EditIcon",
203
- color: "primary",
204
- onClick: "Edit_Components",
205
- tooltipMessage: "Edit This Record",
190
+ {
191
+ header: "Edit",
192
+ field: "Reject_Records",
193
+ flex: 1,
194
+ widget: {
195
+ type: "Control",
196
+ scope: "#/properties/RejectButton",
197
+ options: {
198
+ widget: "IconButton",
199
+ },
200
+ config: {
201
+ main: {
202
+ icon: "EditIcon",
203
+ color: "primary",
204
+ onClick: "Edit_Components",
205
+ tooltipMessage: "Edit This Record",
206
+ },
207
+ },
206
208
  },
207
209
  },
208
- },
209
- },
210
- {
211
- header: "Delete",
212
- field: "Reject_Records",
213
- flex: 1,
214
- widget: {
215
- type: "Control",
216
- scope: "#/properties/RejectButton",
217
- options: {
218
- widget: "IconButton",
219
- },
220
- config: {
221
- main: {
222
- icon: "RejectIcon",
223
- color: "error",
224
- onClick: "Delete_Components",
225
- tooltipMessage: "Reject This Record",
210
+ {
211
+ header: "Delete",
212
+ field: "Reject_Records",
213
+ flex: 1,
214
+ widget: {
215
+ type: "Control",
216
+ scope: "#/properties/RejectButton",
217
+ options: {
218
+ widget: "IconButton",
219
+ },
220
+ config: {
221
+ main: {
222
+ icon: "RejectIcon",
223
+ color: "error",
224
+ onClick: "deletePopUpComponent",
225
+ tooltipMessage: "Reject This Record",
226
+ },
227
+ },
226
228
  },
227
- },
228
- },
229
- }
229
+ }
230
+ ]
231
+ },
230
232
  ]
231
- }]},
233
+ },
232
234
  {
233
235
  type: "WrapperLayout",
234
236
  config: {
@@ -343,7 +345,7 @@ export const PageMasterUiSchema: any = {
343
345
  icon: "RejectIcon",
344
346
  color: "error",
345
347
  tooltipMessage: "Reject This Record",
346
- onClick: "deleteEvent",
348
+ onClick: "deletePopUpEvent",
347
349
  },
348
350
  },
349
351
  },
@@ -354,6 +356,181 @@ export const PageMasterUiSchema: any = {
354
356
 
355
357
  ],
356
358
  },
359
+
360
+ {
361
+ type: "Control",
362
+ scope: "#/properties/popUpPageMasterEvent",
363
+ options: {
364
+ widget: "PopUp"
365
+ },
366
+ config: {
367
+ layout: {
368
+ xs: 12,
369
+ sm: 12,
370
+ md: 12,
371
+ lg: 12,
372
+ },
373
+ main: {
374
+ },
375
+ },
376
+ elements:
377
+ [
378
+ {
379
+ type: "Control",
380
+ scope: "#/properties/label",
381
+ options: {
382
+ widget: "Box",
383
+ },
384
+ config: {
385
+ layout: 12,
386
+ main: {
387
+ heading: "Are you sure you want to delete ?",
388
+ },
389
+ style:{
390
+ marginTop: "-40px"
391
+ }
392
+ },
393
+ },
394
+ {
395
+ type: "Control",
396
+ scope: "#/properties/EmptyBox",
397
+ options: {
398
+ widget: "EmptyBox",
399
+ },
400
+ config: {
401
+ main:{},
402
+ layout: { xs: 11, sm: 5.5, md: 5.5, lg: 5.5 },
403
+ },
404
+ },
405
+ {
406
+ type: "Control",
407
+ scope: "#/properties/ConfirmDeleteEventButton",
408
+ options: {
409
+ widget: "Button",
410
+ },
411
+ config: {
412
+ layout: 3,
413
+ main: {
414
+ name: "Yes",
415
+ startIcon: "ApproveIcon",
416
+ variant: "contained",
417
+ color: "info",
418
+ type: "text",
419
+ onClick: "deleteEvent",
420
+ size: "small",
421
+ },
422
+ },
423
+ },
424
+ {
425
+ type: "Control",
426
+ scope: "#/properties/CancelDeleteEventButton",
427
+ options: {
428
+ widget: "Button",
429
+ },
430
+ config: {
431
+ layout: 3,
432
+ main: {
433
+ name: "No",
434
+ startIcon: "ApproveIcon",
435
+ variant: "contained",
436
+ color: "info",
437
+ type: "text",
438
+ onClick: "deletePopUpEvent",
439
+ size: "small",
440
+ },
441
+ },
442
+ },
443
+ ]
444
+ },
445
+
446
+ {
447
+ type: "Control",
448
+ scope: "#/properties/popUpPageMasterComponent",
449
+ options: {
450
+ widget: "PopUp"
451
+ },
452
+ config: {
453
+ layout: {
454
+ xs: 12,
455
+ sm: 12,
456
+ md: 12,
457
+ lg: 12,
458
+ },
459
+ main: {
460
+ },
461
+ },
462
+ elements:
463
+ [
464
+ {
465
+ type: "Control",
466
+ scope: "#/properties/label",
467
+ options: {
468
+ widget: "Box",
469
+ },
470
+ config: {
471
+ layout: 12,
472
+ main: {
473
+ heading: "Are you sure you want to delete ?",
474
+ },
475
+ style:{
476
+ marginTop: "-40px"
477
+ }
478
+ },
479
+ },
480
+ {
481
+ type: "Control",
482
+ scope: "#/properties/EmptyBox",
483
+ options: {
484
+ widget: "EmptyBox",
485
+ },
486
+ config: {
487
+ main:{},
488
+ layout: { xs: 11, sm: 5.5, md: 5.5, lg: 5.5 },
489
+ },
490
+ },
491
+ {
492
+ type: "Control",
493
+ scope: "#/properties/ConfirmDeleteCompButton",
494
+ options: {
495
+ widget: "Button",
496
+ },
497
+ config: {
498
+ layout: 3,
499
+ main: {
500
+ name: "Yes",
501
+ startIcon: "ApproveIcon",
502
+ variant: "contained",
503
+ color: "info",
504
+ type: "text",
505
+ onClick: "Delete_Components",
506
+ size: "small",
507
+ },
508
+ },
509
+ },
510
+ {
511
+ type: "Control",
512
+ scope: "#/properties/CancelDeleteCompButton",
513
+ options: {
514
+ widget: "Button",
515
+ },
516
+ config: {
517
+ layout: 3,
518
+ main: {
519
+ name: "No",
520
+ startIcon: "ApproveIcon",
521
+ variant: "contained",
522
+ color: "info",
523
+ type: "text",
524
+ onClick: "deletePopUpComponent",
525
+ size: "small",
526
+ },
527
+ },
528
+ },
529
+ ]
530
+ },
531
+
532
+
533
+
357
534
  {
358
535
  type: "Control",
359
536
  scope: "#/properties/btn",