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.
@@ -57,5 +57,6 @@ declare const _default: (funcParams: funcParamsProps) => {
57
57
  deleteEvent: () => void;
58
58
  deletePopUpEvent: () => void;
59
59
  deletePopUpComponent: () => void;
60
+ testDelComp: () => void;
60
61
  };
61
62
  export default _default;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "impaktapps-ui-builder",
3
- "version": "0.0.382-alpha.202",
3
+ "version": "0.0.382-alpha.204",
4
4
  "scripts": {
5
5
  "dev": "vite",
6
6
  "build": "tsc && vite build",
@@ -217,99 +217,11 @@ export const PageMasterUiSchema: any = {
217
217
  main: {
218
218
  icon: "RejectIcon",
219
219
  color: "error",
220
- onClick: "deletePopUpComponent",
220
+ onClick: "Delete_Components",
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
- ]
313
225
  }
314
226
  ]
315
227
  }]},
@@ -427,17 +339,16 @@ export const PageMasterUiSchema: any = {
427
339
  icon: "RejectIcon",
428
340
  color: "error",
429
341
  tooltipMessage: "Reject This Record",
430
- onClick: "deletePopUpEvent",
342
+ onClick: "deleteEvent",
431
343
  },
432
344
  },
433
345
  },
434
346
  },
435
- ],
436
-
347
+ ]
437
348
  },
438
349
  {
439
350
  type: "Control",
440
- scope: "#/properties/popUpEvent",
351
+ scope: "#/properties/popUpComponent",
441
352
  options:{
442
353
  widget: "popUp"
443
354
  },
@@ -449,7 +360,7 @@ export const PageMasterUiSchema: any = {
449
360
  lg: 12,
450
361
  },
451
362
  main: {
452
- label: "PopUpEvent",
363
+ label: "PopUpComponent",
453
364
  fullScreen:false,
454
365
  fullWidth:false,
455
366
  maxWidth:false,
@@ -475,7 +386,7 @@ export const PageMasterUiSchema: any = {
475
386
  },
476
387
  {
477
388
  type: "Control",
478
- scope: "#/properties/ConfirmDeleteButton2",
389
+ scope: "#/properties/ConfirmDeleteButton1",
479
390
  options: {
480
391
  widget: "Button",
481
392
  },
@@ -487,7 +398,7 @@ export const PageMasterUiSchema: any = {
487
398
  variant: "contained",
488
399
  color: "info",
489
400
  type: "text",
490
- onClick: "deleteEvent",
401
+ onClick: "testDelComp",
491
402
  size: "small",
492
403
  },
493
404
  style: {
@@ -499,7 +410,7 @@ export const PageMasterUiSchema: any = {
499
410
  },
500
411
  {
501
412
  type: "Control",
502
- scope: "#/properties/CancelDeleteButton2",
413
+ scope: "#/properties/CancelDeleteButton1",
503
414
  options: {
504
415
  widget: "Button",
505
416
  },
@@ -511,9 +422,11 @@ export const PageMasterUiSchema: any = {
511
422
  variant: "contained",
512
423
  color: "info",
513
424
  type: "text",
514
- onClick: "deleteEvent",
425
+ onClick: "testDelComp",
426
+ // Delete_Components
515
427
  size: "small",
516
428
  },
429
+
517
430
  style: {
518
431
  marginBottom: "8px",
519
432
  width:{xs:"100%",sm:"100%",md:"25%",lg:"20%"},
@@ -525,6 +438,7 @@ export const PageMasterUiSchema: any = {
525
438
  }
526
439
  ]
527
440
  },
441
+
528
442
  ],
529
443
  },
530
444
  {
@@ -84,6 +84,10 @@ export default (funcParams: funcParamsProps) => {
84
84
  },
85
85
  deletePopUpComponent: function(){
86
86
  store.updateDialog("popUpComponent");
87
+ },
88
+
89
+ testDelComp: function(){
90
+ console.log("yes fun called");
87
91
  }
88
92
  }
89
93
  };