impaktapps-ui-builder 0.0.382-alpha.201 → 0.0.382-alpha.202
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/dist/impaktapps-ui-builder.es.js +98 -11
- package/dist/impaktapps-ui-builder.es.js.map +1 -1
- package/dist/impaktapps-ui-builder.umd.js +7 -7
- package/dist/impaktapps-ui-builder.umd.js.map +1 -1
- package/dist/src/impaktapps-ui-builder/builder/services/pageMaster.d.ts +2 -1
- package/package.json +1 -1
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/PageMaster/uiSchema.ts +97 -9
- package/src/impaktapps-ui-builder/builder/services/pageMaster.ts +5 -2
|
@@ -246,11 +246,95 @@ const PageMasterUiSchema = {
|
|
|
246
246
|
main: {
|
|
247
247
|
icon: "RejectIcon",
|
|
248
248
|
color: "error",
|
|
249
|
-
onClick: "
|
|
249
|
+
onClick: "deletePopUpComponent",
|
|
250
250
|
tooltipMessage: "Reject This Record"
|
|
251
251
|
}
|
|
252
252
|
}
|
|
253
253
|
}
|
|
254
|
+
},
|
|
255
|
+
{
|
|
256
|
+
type: "Control",
|
|
257
|
+
scope: "#/properties/popUpComponent",
|
|
258
|
+
options: {
|
|
259
|
+
widget: "popUp"
|
|
260
|
+
},
|
|
261
|
+
config: {
|
|
262
|
+
layout: {
|
|
263
|
+
xs: 12,
|
|
264
|
+
sm: 12,
|
|
265
|
+
md: 12,
|
|
266
|
+
lg: 12
|
|
267
|
+
},
|
|
268
|
+
main: {
|
|
269
|
+
label: "PopUpComponent",
|
|
270
|
+
fullScreen: false,
|
|
271
|
+
fullWidth: false,
|
|
272
|
+
maxWidth: false,
|
|
273
|
+
alignItems: false,
|
|
274
|
+
spacing: 2
|
|
275
|
+
}
|
|
276
|
+
},
|
|
277
|
+
elements: [
|
|
278
|
+
{
|
|
279
|
+
type: "Control",
|
|
280
|
+
scope: "#/properties/pageMaster",
|
|
281
|
+
options: {
|
|
282
|
+
widget: "Box"
|
|
283
|
+
},
|
|
284
|
+
config: {
|
|
285
|
+
layout: 8,
|
|
286
|
+
main: {
|
|
287
|
+
heading: "Are you sure"
|
|
288
|
+
}
|
|
289
|
+
}
|
|
290
|
+
},
|
|
291
|
+
{
|
|
292
|
+
type: "Control",
|
|
293
|
+
scope: "#/properties/ConfirmDeleteButton1",
|
|
294
|
+
options: {
|
|
295
|
+
widget: "Button"
|
|
296
|
+
},
|
|
297
|
+
config: {
|
|
298
|
+
main: {
|
|
299
|
+
name: "No",
|
|
300
|
+
startIcon: "ApproveIcon",
|
|
301
|
+
variant: "contained",
|
|
302
|
+
color: "info",
|
|
303
|
+
type: "text",
|
|
304
|
+
onClick: "Delete_Components",
|
|
305
|
+
size: "small"
|
|
306
|
+
},
|
|
307
|
+
style: {
|
|
308
|
+
marginBottom: "8px",
|
|
309
|
+
width: { xs: "100%", sm: "100%", md: "25%", lg: "20%" },
|
|
310
|
+
float: "left"
|
|
311
|
+
}
|
|
312
|
+
}
|
|
313
|
+
},
|
|
314
|
+
{
|
|
315
|
+
type: "Control",
|
|
316
|
+
scope: "#/properties/CancelDeleteButton",
|
|
317
|
+
options: {
|
|
318
|
+
widget: "Button"
|
|
319
|
+
},
|
|
320
|
+
config: {
|
|
321
|
+
main: {
|
|
322
|
+
name: "Yes",
|
|
323
|
+
startIcon: "ApproveIcon",
|
|
324
|
+
variant: "contained",
|
|
325
|
+
color: "info",
|
|
326
|
+
type: "text",
|
|
327
|
+
onClick: "Delete_Components",
|
|
328
|
+
size: "small"
|
|
329
|
+
},
|
|
330
|
+
style: {
|
|
331
|
+
marginBottom: "8px",
|
|
332
|
+
width: { xs: "100%", sm: "100%", md: "25%", lg: "20%" },
|
|
333
|
+
float: "right"
|
|
334
|
+
}
|
|
335
|
+
}
|
|
336
|
+
}
|
|
337
|
+
]
|
|
254
338
|
}
|
|
255
339
|
]
|
|
256
340
|
}
|
|
@@ -365,7 +449,7 @@ const PageMasterUiSchema = {
|
|
|
365
449
|
icon: "RejectIcon",
|
|
366
450
|
color: "error",
|
|
367
451
|
tooltipMessage: "Reject This Record",
|
|
368
|
-
onClick: "
|
|
452
|
+
onClick: "deletePopUpEvent"
|
|
369
453
|
}
|
|
370
454
|
}
|
|
371
455
|
}
|
|
@@ -374,7 +458,7 @@ const PageMasterUiSchema = {
|
|
|
374
458
|
},
|
|
375
459
|
{
|
|
376
460
|
type: "Control",
|
|
377
|
-
scope: "#/properties/
|
|
461
|
+
scope: "#/properties/popUpEvent",
|
|
378
462
|
options: {
|
|
379
463
|
widget: "popUp"
|
|
380
464
|
},
|
|
@@ -386,7 +470,7 @@ const PageMasterUiSchema = {
|
|
|
386
470
|
lg: 12
|
|
387
471
|
},
|
|
388
472
|
main: {
|
|
389
|
-
label: "
|
|
473
|
+
label: "PopUpEvent",
|
|
390
474
|
fullScreen: false,
|
|
391
475
|
fullWidth: false,
|
|
392
476
|
maxWidth: false,
|
|
@@ -410,7 +494,7 @@ const PageMasterUiSchema = {
|
|
|
410
494
|
},
|
|
411
495
|
{
|
|
412
496
|
type: "Control",
|
|
413
|
-
scope: "#/properties/
|
|
497
|
+
scope: "#/properties/ConfirmDeleteButton2",
|
|
414
498
|
options: {
|
|
415
499
|
widget: "Button"
|
|
416
500
|
},
|
|
@@ -421,7 +505,7 @@ const PageMasterUiSchema = {
|
|
|
421
505
|
variant: "contained",
|
|
422
506
|
color: "info",
|
|
423
507
|
type: "text",
|
|
424
|
-
onClick: "
|
|
508
|
+
onClick: "deleteEvent",
|
|
425
509
|
size: "small"
|
|
426
510
|
},
|
|
427
511
|
style: {
|
|
@@ -433,18 +517,18 @@ const PageMasterUiSchema = {
|
|
|
433
517
|
},
|
|
434
518
|
{
|
|
435
519
|
type: "Control",
|
|
436
|
-
scope: "#/properties/
|
|
520
|
+
scope: "#/properties/CancelDeleteButton2",
|
|
437
521
|
options: {
|
|
438
522
|
widget: "Button"
|
|
439
523
|
},
|
|
440
524
|
config: {
|
|
441
525
|
main: {
|
|
442
|
-
name: "
|
|
526
|
+
name: "Yes",
|
|
443
527
|
startIcon: "ApproveIcon",
|
|
444
528
|
variant: "contained",
|
|
445
529
|
color: "info",
|
|
446
530
|
type: "text",
|
|
447
|
-
onClick: "
|
|
531
|
+
onClick: "deleteEvent",
|
|
448
532
|
size: "small"
|
|
449
533
|
},
|
|
450
534
|
style: {
|
|
@@ -7737,8 +7821,11 @@ var pageMaster = (funcParams) => {
|
|
|
7737
7821
|
const response2 = saveFormdataInLocalStorage(store2.ctx.core.data);
|
|
7738
7822
|
store2.setFormdata(response2);
|
|
7739
7823
|
},
|
|
7740
|
-
|
|
7741
|
-
store2.updateDialog("
|
|
7824
|
+
deletePopUpEvent: function() {
|
|
7825
|
+
store2.updateDialog("popUpEvent");
|
|
7826
|
+
},
|
|
7827
|
+
deletePopUpComponent: function() {
|
|
7828
|
+
store2.updateDialog("popUpComponent");
|
|
7742
7829
|
}
|
|
7743
7830
|
};
|
|
7744
7831
|
};
|