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
|
@@ -55,6 +55,7 @@ declare const _default: (funcParams: funcParamsProps) => {
|
|
|
55
55
|
eventAddHandler: () => void;
|
|
56
56
|
editEvent: () => void;
|
|
57
57
|
deleteEvent: () => void;
|
|
58
|
-
|
|
58
|
+
deletePopUpEvent: () => void;
|
|
59
|
+
deletePopUpComponent: () => void;
|
|
59
60
|
};
|
|
60
61
|
export default _default;
|
package/package.json
CHANGED
|
@@ -217,11 +217,99 @@ export const PageMasterUiSchema: any = {
|
|
|
217
217
|
main: {
|
|
218
218
|
icon: "RejectIcon",
|
|
219
219
|
color: "error",
|
|
220
|
-
onClick: "
|
|
220
|
+
onClick: "deletePopUpComponent",
|
|
221
221
|
tooltipMessage: "Reject This Record",
|
|
222
222
|
},
|
|
223
223
|
},
|
|
224
224
|
},
|
|
225
|
+
},
|
|
226
|
+
{
|
|
227
|
+
type: "Control",
|
|
228
|
+
scope: "#/properties/popUpComponent",
|
|
229
|
+
options:{
|
|
230
|
+
widget: "popUp"
|
|
231
|
+
},
|
|
232
|
+
config:{
|
|
233
|
+
layout: {
|
|
234
|
+
xs: 12,
|
|
235
|
+
sm: 12,
|
|
236
|
+
md: 12,
|
|
237
|
+
lg: 12,
|
|
238
|
+
},
|
|
239
|
+
main: {
|
|
240
|
+
label: "PopUpComponent",
|
|
241
|
+
fullScreen:false,
|
|
242
|
+
fullWidth:false,
|
|
243
|
+
maxWidth:false,
|
|
244
|
+
alignItems:false,
|
|
245
|
+
spacing:2
|
|
246
|
+
},
|
|
247
|
+
},
|
|
248
|
+
elements:
|
|
249
|
+
[
|
|
250
|
+
{
|
|
251
|
+
type: "Control",
|
|
252
|
+
scope: "#/properties/pageMaster",
|
|
253
|
+
|
|
254
|
+
options: {
|
|
255
|
+
widget: "Box",
|
|
256
|
+
},
|
|
257
|
+
config: {
|
|
258
|
+
layout: 8,
|
|
259
|
+
main: {
|
|
260
|
+
heading: "Are you sure",
|
|
261
|
+
},
|
|
262
|
+
},
|
|
263
|
+
},
|
|
264
|
+
{
|
|
265
|
+
type: "Control",
|
|
266
|
+
scope: "#/properties/ConfirmDeleteButton1",
|
|
267
|
+
options: {
|
|
268
|
+
widget: "Button",
|
|
269
|
+
},
|
|
270
|
+
config: {
|
|
271
|
+
// layout: 11.7,
|
|
272
|
+
main: {
|
|
273
|
+
name: "No",
|
|
274
|
+
startIcon: "ApproveIcon",
|
|
275
|
+
variant: "contained",
|
|
276
|
+
color: "info",
|
|
277
|
+
type: "text",
|
|
278
|
+
onClick: "Delete_Components",
|
|
279
|
+
size: "small",
|
|
280
|
+
},
|
|
281
|
+
style: {
|
|
282
|
+
marginBottom: "8px",
|
|
283
|
+
width:{xs:"100%",sm:"100%",md:"25%",lg:"20%"},
|
|
284
|
+
float: "left",
|
|
285
|
+
},
|
|
286
|
+
},
|
|
287
|
+
},
|
|
288
|
+
{
|
|
289
|
+
type: "Control",
|
|
290
|
+
scope: "#/properties/CancelDeleteButton",
|
|
291
|
+
options: {
|
|
292
|
+
widget: "Button",
|
|
293
|
+
},
|
|
294
|
+
config: {
|
|
295
|
+
// layout: 11.7,
|
|
296
|
+
main: {
|
|
297
|
+
name: "Yes",
|
|
298
|
+
startIcon: "ApproveIcon",
|
|
299
|
+
variant: "contained",
|
|
300
|
+
color: "info",
|
|
301
|
+
type: "text",
|
|
302
|
+
onClick: "Delete_Components",
|
|
303
|
+
size: "small",
|
|
304
|
+
},
|
|
305
|
+
style: {
|
|
306
|
+
marginBottom: "8px",
|
|
307
|
+
width:{xs:"100%",sm:"100%",md:"25%",lg:"20%"},
|
|
308
|
+
float: "right",
|
|
309
|
+
},
|
|
310
|
+
},
|
|
311
|
+
},
|
|
312
|
+
]
|
|
225
313
|
}
|
|
226
314
|
]
|
|
227
315
|
}]},
|
|
@@ -339,7 +427,7 @@ export const PageMasterUiSchema: any = {
|
|
|
339
427
|
icon: "RejectIcon",
|
|
340
428
|
color: "error",
|
|
341
429
|
tooltipMessage: "Reject This Record",
|
|
342
|
-
onClick: "
|
|
430
|
+
onClick: "deletePopUpEvent",
|
|
343
431
|
},
|
|
344
432
|
},
|
|
345
433
|
},
|
|
@@ -349,7 +437,7 @@ export const PageMasterUiSchema: any = {
|
|
|
349
437
|
},
|
|
350
438
|
{
|
|
351
439
|
type: "Control",
|
|
352
|
-
scope: "#/properties/
|
|
440
|
+
scope: "#/properties/popUpEvent",
|
|
353
441
|
options:{
|
|
354
442
|
widget: "popUp"
|
|
355
443
|
},
|
|
@@ -361,7 +449,7 @@ export const PageMasterUiSchema: any = {
|
|
|
361
449
|
lg: 12,
|
|
362
450
|
},
|
|
363
451
|
main: {
|
|
364
|
-
label: "
|
|
452
|
+
label: "PopUpEvent",
|
|
365
453
|
fullScreen:false,
|
|
366
454
|
fullWidth:false,
|
|
367
455
|
maxWidth:false,
|
|
@@ -387,7 +475,7 @@ export const PageMasterUiSchema: any = {
|
|
|
387
475
|
},
|
|
388
476
|
{
|
|
389
477
|
type: "Control",
|
|
390
|
-
scope: "#/properties/
|
|
478
|
+
scope: "#/properties/ConfirmDeleteButton2",
|
|
391
479
|
options: {
|
|
392
480
|
widget: "Button",
|
|
393
481
|
},
|
|
@@ -399,7 +487,7 @@ export const PageMasterUiSchema: any = {
|
|
|
399
487
|
variant: "contained",
|
|
400
488
|
color: "info",
|
|
401
489
|
type: "text",
|
|
402
|
-
onClick: "
|
|
490
|
+
onClick: "deleteEvent",
|
|
403
491
|
size: "small",
|
|
404
492
|
},
|
|
405
493
|
style: {
|
|
@@ -411,19 +499,19 @@ export const PageMasterUiSchema: any = {
|
|
|
411
499
|
},
|
|
412
500
|
{
|
|
413
501
|
type: "Control",
|
|
414
|
-
scope: "#/properties/
|
|
502
|
+
scope: "#/properties/CancelDeleteButton2",
|
|
415
503
|
options: {
|
|
416
504
|
widget: "Button",
|
|
417
505
|
},
|
|
418
506
|
config: {
|
|
419
507
|
// layout: 11.7,
|
|
420
508
|
main: {
|
|
421
|
-
name: "
|
|
509
|
+
name: "Yes",
|
|
422
510
|
startIcon: "ApproveIcon",
|
|
423
511
|
variant: "contained",
|
|
424
512
|
color: "info",
|
|
425
513
|
type: "text",
|
|
426
|
-
onClick: "
|
|
514
|
+
onClick: "deleteEvent",
|
|
427
515
|
size: "small",
|
|
428
516
|
},
|
|
429
517
|
style: {
|
|
@@ -79,8 +79,11 @@ export default (funcParams: funcParamsProps) => {
|
|
|
79
79
|
const response = saveFormdataInLocalStorage(store.ctx.core.data)
|
|
80
80
|
store.setFormdata(response);
|
|
81
81
|
},
|
|
82
|
-
|
|
83
|
-
store.updateDialog("
|
|
82
|
+
deletePopUpEvent: function(){
|
|
83
|
+
store.updateDialog("popUpEvent");
|
|
84
|
+
},
|
|
85
|
+
deletePopUpComponent: function(){
|
|
86
|
+
store.updateDialog("popUpComponent");
|
|
84
87
|
}
|
|
85
88
|
}
|
|
86
89
|
};
|