impaktapps-ui-builder 0.0.382-alpha.202 → 0.0.382-alpha.204
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 +11 -92
- package/dist/impaktapps-ui-builder.es.js.map +1 -1
- package/dist/impaktapps-ui-builder.umd.js +2 -2
- package/dist/impaktapps-ui-builder.umd.js.map +1 -1
- package/dist/src/impaktapps-ui-builder/builder/services/pageMaster.d.ts +1 -0
- package/package.json +1 -1
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/PageMaster/uiSchema.ts +12 -98
- package/src/impaktapps-ui-builder/builder/services/pageMaster.ts +4 -0
|
@@ -246,95 +246,11 @@ const PageMasterUiSchema = {
|
|
|
246
246
|
main: {
|
|
247
247
|
icon: "RejectIcon",
|
|
248
248
|
color: "error",
|
|
249
|
-
onClick: "
|
|
249
|
+
onClick: "Delete_Components",
|
|
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
|
-
]
|
|
338
254
|
}
|
|
339
255
|
]
|
|
340
256
|
}
|
|
@@ -449,7 +365,7 @@ const PageMasterUiSchema = {
|
|
|
449
365
|
icon: "RejectIcon",
|
|
450
366
|
color: "error",
|
|
451
367
|
tooltipMessage: "Reject This Record",
|
|
452
|
-
onClick: "
|
|
368
|
+
onClick: "deleteEvent"
|
|
453
369
|
}
|
|
454
370
|
}
|
|
455
371
|
}
|
|
@@ -458,7 +374,7 @@ const PageMasterUiSchema = {
|
|
|
458
374
|
},
|
|
459
375
|
{
|
|
460
376
|
type: "Control",
|
|
461
|
-
scope: "#/properties/
|
|
377
|
+
scope: "#/properties/popUpComponent",
|
|
462
378
|
options: {
|
|
463
379
|
widget: "popUp"
|
|
464
380
|
},
|
|
@@ -470,7 +386,7 @@ const PageMasterUiSchema = {
|
|
|
470
386
|
lg: 12
|
|
471
387
|
},
|
|
472
388
|
main: {
|
|
473
|
-
label: "
|
|
389
|
+
label: "PopUpComponent",
|
|
474
390
|
fullScreen: false,
|
|
475
391
|
fullWidth: false,
|
|
476
392
|
maxWidth: false,
|
|
@@ -494,7 +410,7 @@ const PageMasterUiSchema = {
|
|
|
494
410
|
},
|
|
495
411
|
{
|
|
496
412
|
type: "Control",
|
|
497
|
-
scope: "#/properties/
|
|
413
|
+
scope: "#/properties/ConfirmDeleteButton1",
|
|
498
414
|
options: {
|
|
499
415
|
widget: "Button"
|
|
500
416
|
},
|
|
@@ -505,7 +421,7 @@ const PageMasterUiSchema = {
|
|
|
505
421
|
variant: "contained",
|
|
506
422
|
color: "info",
|
|
507
423
|
type: "text",
|
|
508
|
-
onClick: "
|
|
424
|
+
onClick: "testDelComp",
|
|
509
425
|
size: "small"
|
|
510
426
|
},
|
|
511
427
|
style: {
|
|
@@ -517,7 +433,7 @@ const PageMasterUiSchema = {
|
|
|
517
433
|
},
|
|
518
434
|
{
|
|
519
435
|
type: "Control",
|
|
520
|
-
scope: "#/properties/
|
|
436
|
+
scope: "#/properties/CancelDeleteButton1",
|
|
521
437
|
options: {
|
|
522
438
|
widget: "Button"
|
|
523
439
|
},
|
|
@@ -528,7 +444,7 @@ const PageMasterUiSchema = {
|
|
|
528
444
|
variant: "contained",
|
|
529
445
|
color: "info",
|
|
530
446
|
type: "text",
|
|
531
|
-
onClick: "
|
|
447
|
+
onClick: "testDelComp",
|
|
532
448
|
size: "small"
|
|
533
449
|
},
|
|
534
450
|
style: {
|
|
@@ -7826,6 +7742,9 @@ var pageMaster = (funcParams) => {
|
|
|
7826
7742
|
},
|
|
7827
7743
|
deletePopUpComponent: function() {
|
|
7828
7744
|
store2.updateDialog("popUpComponent");
|
|
7745
|
+
},
|
|
7746
|
+
testDelComp: function() {
|
|
7747
|
+
console.log("yes fun called");
|
|
7829
7748
|
}
|
|
7830
7749
|
};
|
|
7831
7750
|
};
|