impaktapps-ui-builder 0.0.382-alpha.302 → 0.0.382-alpha.304

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "impaktapps-ui-builder",
3
- "version": "0.0.382-alpha.302",
3
+ "version": "0.0.382-alpha.304",
4
4
  "scripts": {
5
5
  "dev": "vite",
6
6
  "build": "tsc && vite build",
@@ -217,7 +217,7 @@ export const PageMasterUiSchema: any = {
217
217
  main: {
218
218
  icon: "RejectIcon",
219
219
  color: "error",
220
- onClick: "popUpComponent",
220
+ onClick: "deletePopUpComponent",
221
221
  tooltipMessage: "Reject This Record",
222
222
  },
223
223
  },
@@ -225,6 +225,106 @@ export const PageMasterUiSchema: any = {
225
225
  }
226
226
  ]
227
227
  },
228
+ {
229
+ type: "Control",
230
+ scope: "#/properties/popUpComponent",
231
+ options: {
232
+ widget: "PopUp"
233
+ },
234
+ config: {
235
+ layout: {
236
+ xs: 12,
237
+ sm: 12,
238
+ md: 12,
239
+ lg: 12,
240
+ },
241
+ main: {
242
+ label: "PopUp",
243
+ fullScreen:false,
244
+ fullWidth:false,
245
+ maxWidth:false,
246
+ alignItems:false,
247
+ spacing:2
248
+ },
249
+ },
250
+ elements:
251
+ [
252
+ {
253
+ type: "Control",
254
+ scope: "#/properties/label",
255
+
256
+ options: {
257
+ widget: "Box",
258
+ },
259
+ config: {
260
+ layout: 12,
261
+ main: {
262
+ heading: "Are you sure you want to delete ?",
263
+ },
264
+ },
265
+ },
266
+ {
267
+ type: "Control",
268
+ scope: "#/properties/ConfirmDeleteCompButton",
269
+ options: {
270
+ widget: "Button",
271
+ },
272
+ config: {
273
+ layout: 3,
274
+ main: {
275
+ name: "Yes",
276
+ startIcon: "ApproveIcon",
277
+ variant: "contained",
278
+ color: "info",
279
+ type: "text",
280
+ onClick: "Delete_Components",
281
+ size: "small",
282
+ },
283
+ style: {
284
+ // marginBottom: "8px",
285
+ width: { xs: "100%", sm: "100%", md: "25%", lg: "20%" },
286
+ float: "right",
287
+ },
288
+ },
289
+ },
290
+ {
291
+ type: "Control",
292
+ scope: "#/properties/CancelDeleteCompButton",
293
+ options: {
294
+ widget: "Button",
295
+ },
296
+ config: {
297
+ layout: 3,
298
+ main: {
299
+ name: "No",
300
+ startIcon: "ApproveIcon",
301
+ variant: "contained",
302
+ color: "info",
303
+ type: "text",
304
+ onClick: "deletePopUpComponent",
305
+ size: "small",
306
+ },
307
+
308
+ style: {
309
+ // marginBottom: "8px",
310
+ width: { xs: "100%", sm: "100%", md: "25%", lg: "20%" },
311
+ // float: "left",
312
+ },
313
+ },
314
+ },
315
+ // {
316
+ // type: "Control",
317
+ // scope: "#/properties/emptyBox",
318
+
319
+ // options: {
320
+ // widget: "Box",
321
+ // },
322
+ // config: {
323
+ // layout: 6,
324
+ // },
325
+ // },
326
+ ]
327
+ },
228
328
 
229
329
  ]
230
330
  },
@@ -353,106 +453,7 @@ export const PageMasterUiSchema: any = {
353
453
 
354
454
  ],
355
455
  },
356
- {
357
- type: "Control",
358
- scope: "#/properties/popUpComponent",
359
- options: {
360
- widget: "PopUp"
361
- },
362
- config: {
363
- layout: {
364
- xs: 12,
365
- sm: 12,
366
- md: 12,
367
- lg: 12,
368
- },
369
- main: {
370
- label: "PopUp",
371
- fullScreen:false,
372
- fullWidth:false,
373
- maxWidth:false,
374
- alignItems:false,
375
- spacing:2
376
- },
377
- },
378
- elements:
379
- [
380
- // {
381
- // type: "Control",
382
- // scope: "#/properties/label",
383
-
384
- // options: {
385
- // widget: "Box",
386
- // },
387
- // config: {
388
- // layout: 12,
389
- // main: {
390
- // heading: "Are you sure you want to delete ?",
391
- // },
392
- // },
393
- // },
394
- {
395
- type: "Control",
396
- scope: "#/properties/ConfirmDeleteCompButton",
397
- options: {
398
- widget: "Button",
399
- },
400
- config: {
401
- layout: 3,
402
- main: {
403
- name: "Yes",
404
- startIcon: "ApproveIcon",
405
- variant: "contained",
406
- color: "info",
407
- type: "text",
408
- onClick: "Delete_Components",
409
- size: "small",
410
- },
411
- style: {
412
- // marginBottom: "8px",
413
- width: { xs: "100%", sm: "100%", md: "25%", lg: "20%" },
414
- // float: "left",
415
- },
416
- },
417
- },
418
- {
419
- type: "Control",
420
- scope: "#/properties/CancelDeleteCompButton",
421
- options: {
422
- widget: "Button",
423
- },
424
- config: {
425
- layout: 3,
426
- main: {
427
- name: "No",
428
- startIcon: "ApproveIcon",
429
- variant: "contained",
430
- color: "info",
431
- type: "text",
432
- onClick: "deletePopUpComponent",
433
- size: "small",
434
- },
435
-
436
- style: {
437
- // marginBottom: "8px",
438
- width: { xs: "100%", sm: "100%", md: "25%", lg: "20%" },
439
- // float: "left",
440
- },
441
- },
442
- },
443
- // {
444
- // type: "Control",
445
- // scope: "#/properties/emptyBox",
446
-
447
- // options: {
448
- // widget: "Box",
449
- // },
450
- // config: {
451
- // layout: 6,
452
- // },
453
- // },
454
- ]
455
- },
456
+
456
457
  {
457
458
  type: "Control",
458
459
  scope: "#/properties/btn",