impaktapps-ui-builder 0.0.382-alpha.204 → 0.0.382-alpha.206

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.
@@ -246,13 +246,97 @@ const PageMasterUiSchema = {
246
246
  main: {
247
247
  icon: "RejectIcon",
248
248
  color: "error",
249
- onClick: "Delete_Components",
249
+ onClick: "deletePopUpComponent",
250
250
  tooltipMessage: "Reject This Record"
251
251
  }
252
252
  }
253
253
  }
254
254
  }
255
255
  ]
256
+ },
257
+ {
258
+ type: "Control",
259
+ scope: "#/properties/popUpComponent",
260
+ options: {
261
+ widget: "popUp"
262
+ },
263
+ config: {
264
+ layout: {
265
+ xs: 12,
266
+ sm: 12,
267
+ md: 12,
268
+ lg: 12
269
+ },
270
+ main: {
271
+ label: "PopUpComponent",
272
+ fullScreen: false,
273
+ fullWidth: false,
274
+ maxWidth: false,
275
+ alignItems: false,
276
+ spacing: 2
277
+ }
278
+ },
279
+ elements: [
280
+ {
281
+ type: "Control",
282
+ scope: "#/properties/label",
283
+ options: {
284
+ widget: "Box"
285
+ },
286
+ config: {
287
+ layout: 8,
288
+ main: {
289
+ heading: "Are you sure"
290
+ }
291
+ }
292
+ },
293
+ {
294
+ type: "Control",
295
+ scope: "#/properties/ConfirmDeleteButton1",
296
+ options: {
297
+ widget: "Button"
298
+ },
299
+ config: {
300
+ main: {
301
+ name: "No",
302
+ startIcon: "ApproveIcon",
303
+ variant: "contained",
304
+ color: "info",
305
+ type: "text",
306
+ onClick: "testDelComp",
307
+ size: "small"
308
+ },
309
+ style: {
310
+ marginBottom: "8px",
311
+ width: { xs: "100%", sm: "100%", md: "25%", lg: "20%" },
312
+ float: "left"
313
+ }
314
+ }
315
+ },
316
+ {
317
+ type: "Control",
318
+ scope: "#/properties/CancelDeleteButton1",
319
+ options: {
320
+ widget: "Button"
321
+ },
322
+ config: {
323
+ main: {
324
+ name: "Yes",
325
+ startIcon: "ApproveIcon",
326
+ variant: "contained",
327
+ color: "info",
328
+ type: "text",
329
+ onClick: "testDelComp",
330
+ size: "small"
331
+ },
332
+ style: {
333
+ marginBottom: "8px",
334
+ width: { xs: "100%", sm: "100%", md: "25%", lg: "20%" },
335
+ float: "right"
336
+ }
337
+ }
338
+ }
339
+ ]
256
340
  }
257
341
  ]
258
342
  },
@@ -371,90 +455,6 @@ const PageMasterUiSchema = {
371
455
  }
372
456
  }
373
457
  ]
374
- },
375
- {
376
- type: "Control",
377
- scope: "#/properties/popUpComponent",
378
- options: {
379
- widget: "popUp"
380
- },
381
- config: {
382
- layout: {
383
- xs: 12,
384
- sm: 12,
385
- md: 12,
386
- lg: 12
387
- },
388
- main: {
389
- label: "PopUpComponent",
390
- fullScreen: false,
391
- fullWidth: false,
392
- maxWidth: false,
393
- alignItems: false,
394
- spacing: 2
395
- }
396
- },
397
- elements: [
398
- {
399
- type: "Control",
400
- scope: "#/properties/pageMaster",
401
- options: {
402
- widget: "Box"
403
- },
404
- config: {
405
- layout: 8,
406
- main: {
407
- heading: "Are you sure"
408
- }
409
- }
410
- },
411
- {
412
- type: "Control",
413
- scope: "#/properties/ConfirmDeleteButton1",
414
- options: {
415
- widget: "Button"
416
- },
417
- config: {
418
- main: {
419
- name: "No",
420
- startIcon: "ApproveIcon",
421
- variant: "contained",
422
- color: "info",
423
- type: "text",
424
- onClick: "testDelComp",
425
- size: "small"
426
- },
427
- style: {
428
- marginBottom: "8px",
429
- width: { xs: "100%", sm: "100%", md: "25%", lg: "20%" },
430
- float: "left"
431
- }
432
- }
433
- },
434
- {
435
- type: "Control",
436
- scope: "#/properties/CancelDeleteButton1",
437
- options: {
438
- widget: "Button"
439
- },
440
- config: {
441
- main: {
442
- name: "Yes",
443
- startIcon: "ApproveIcon",
444
- variant: "contained",
445
- color: "info",
446
- type: "text",
447
- onClick: "testDelComp",
448
- size: "small"
449
- },
450
- style: {
451
- marginBottom: "8px",
452
- width: { xs: "100%", sm: "100%", md: "25%", lg: "20%" },
453
- float: "right"
454
- }
455
- }
456
- }
457
- ]
458
458
  }
459
459
  ]
460
460
  }