impaktapps-ui-builder 0.0.101-alpha.6 → 0.0.101-alpha.60

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.
Files changed (31) hide show
  1. package/dist/impaktapps-ui-builder.es.js +971 -787
  2. package/dist/impaktapps-ui-builder.es.js.map +1 -1
  3. package/dist/impaktapps-ui-builder.umd.js +15 -15
  4. package/dist/impaktapps-ui-builder.umd.js.map +1 -1
  5. package/dist/src/impaktapps-ui-builder/builder/build/uischema/apiSection.d.ts +62 -59
  6. package/dist/src/impaktapps-ui-builder/builder/build/uischema/buildPropertiesSection.d.ts +17 -21
  7. package/dist/src/impaktapps-ui-builder/builder/build/uischema/coreSection.d.ts +98 -95
  8. package/dist/src/impaktapps-ui-builder/builder/build/uischema/eventSection.d.ts +26 -33
  9. package/dist/src/impaktapps-ui-builder/builder/build/uischema/refresh.d.ts +52 -38
  10. package/dist/src/impaktapps-ui-builder/builder/build/uischema/styleSection.d.ts +7 -8
  11. package/dist/src/impaktapps-ui-builder/builder/build/uischema/tableSection.d.ts +29 -33
  12. package/dist/src/impaktapps-ui-builder/builder/build/uischema/validationSections.d.ts +56 -37
  13. package/dist/src/impaktapps-ui-builder/builder/build/uischema/valueTab.d.ts +56 -36
  14. package/package.json +1 -1
  15. package/src/impaktapps-ui-builder/builder/build/buildUiSchema.ts +12 -10
  16. package/src/impaktapps-ui-builder/builder/build/uischema/apiSection.ts +111 -96
  17. package/src/impaktapps-ui-builder/builder/build/uischema/buildPropertiesSection.ts +100 -94
  18. package/src/impaktapps-ui-builder/builder/build/uischema/coreSection.ts +189 -110
  19. package/src/impaktapps-ui-builder/builder/build/uischema/eventSection.ts +39 -17
  20. package/src/impaktapps-ui-builder/builder/build/uischema/refresh.ts +44 -44
  21. package/src/impaktapps-ui-builder/builder/build/uischema/styleSection.ts +9 -13
  22. package/src/impaktapps-ui-builder/builder/build/uischema/tableSection.ts +40 -18
  23. package/src/impaktapps-ui-builder/builder/build/uischema/validationSections.ts +117 -48
  24. package/src/impaktapps-ui-builder/builder/build/uischema/valueTab.ts +113 -45
  25. package/src/impaktapps-ui-builder/builder/elements/UiSchema/Component/schema.ts +23 -23
  26. package/src/impaktapps-ui-builder/builder/elements/UiSchema/Component/uiSchema.ts +99 -41
  27. package/src/impaktapps-ui-builder/builder/elements/UiSchema/PageMaster/uiSchema.ts +9 -8
  28. package/src/impaktapps-ui-builder/builder/elements/UiSchema/event/schema.ts +12 -12
  29. package/src/impaktapps-ui-builder/builder/elements/UiSchema/event/uiSchema.ts +200 -289
  30. package/src/impaktapps-ui-builder/builder/services/component.ts +134 -33
  31. package/src/impaktapps-ui-builder/builder/services/event.ts +13 -14
@@ -50,6 +50,7 @@ export const componentBasicUiSchema: any = (theme)=>{
50
50
  type: "WrapperLayout",
51
51
  config: {
52
52
  main: {
53
+ label: " ",
53
54
  gap: "8px"
54
55
  }
55
56
  },
@@ -88,8 +89,6 @@ export const componentBasicUiSchema: any = (theme)=>{
88
89
  layout: { xs: 12, sm: 6, md: 4, lg: 3 },
89
90
  main: {
90
91
  label: "Component ID",
91
- options: [],
92
- color: "secondary",
93
92
  required: true,
94
93
  },
95
94
  },
@@ -321,51 +320,62 @@ export const componentBasicUiSchema: any = (theme)=>{
321
320
  // },
322
321
  // ]
323
322
  // },
323
+
324
324
  {
325
- type: "Control",
326
- scope: "#/properties/btn",
327
- options: {
328
- widget: "Button",
329
- },
330
-
325
+ type: "WrapperLayout",
331
326
  config: {
332
- layout: { xs: 4, sm: 2.5, md: 2, lg: 1.5 },
333
327
  main: {
334
- name: "Ok",
335
- variant: "contained",
336
- type: "text",
337
- onClick: "okHandler",
338
- size: "medium",
339
- },
340
- },
341
- },
342
- {
343
- type: "Control",
344
- scope: "#/properties/btnSubmit",
345
- options: {
346
- widget: "Button",
328
+ gap: "8px"
329
+ }
347
330
  },
331
+ elements: [
332
+ {
333
+ type: "Control",
334
+ scope: "#/properties/btn",
335
+ options: {
336
+ widget: "Button",
337
+ },
348
338
 
349
- config: {
350
- layout: { xs: 4, sm: 2.5, md: 2, lg: 1.5 },
351
- main: {
352
- name: "Save & Exit",
353
- variant: "contained",
354
- type: "text",
355
- onClick: "saveHandler",
356
- size: "medium",
339
+ config: {
340
+ layout: { xs: 4, sm: 2.5, md: 2, lg: 1.5 },
341
+ main: {
342
+ name: "Ok",
343
+ variant: "contained",
344
+ type: "text",
345
+ onClick: "okHandler",
346
+ size: "medium",
347
+ },
348
+ },
357
349
  },
358
- },
359
- },
360
- {
361
- type: "Control",
362
- scope: "#/properties/EmptyBox",
363
- config: {
364
- layout: { xs: 4, sm:7, md: 8, lg: 9 },
365
- },
366
- options: {
367
- widget: "EmptyBox",
368
- },
350
+ {
351
+ type: "Control",
352
+ scope: "#/properties/btnSubmit",
353
+ options: {
354
+ widget: "Button",
355
+ },
356
+
357
+ config: {
358
+ layout: { xs: 4, sm: 2.5, md: 2, lg: 1.5 },
359
+ main: {
360
+ name: "Save & Exit",
361
+ variant: "contained",
362
+ type: "text",
363
+ onClick: "saveHandler",
364
+ size: "medium",
365
+ },
366
+ },
367
+ },
368
+ {
369
+ type: "Control",
370
+ scope: "#/properties/EmptyBox",
371
+ config: {
372
+ layout: { xs: 4, sm:7, md: 8, lg: 9 },
373
+ },
374
+ options: {
375
+ widget: "EmptyBox",
376
+ },
377
+ },
378
+ ],
369
379
  },
370
380
  {
371
381
  type: "Control",
@@ -613,6 +623,54 @@ export const componentBasicUiSchema: any = (theme)=>{
613
623
  },
614
624
  ]
615
625
  },
626
+ // {
627
+ // type: "Control",
628
+ // scope: "#/properties/pageName",
629
+
630
+ // options: {
631
+ // widget: "Box",
632
+ // },
633
+ // config: {
634
+ // layout: 12,
635
+ // main: {
636
+ // heading: "",
637
+ // },
638
+ // style: {
639
+ // paddingLeft: theme.spacing(3),
640
+ // width:"100%",
641
+ // fontSize:"10px",
642
+ // color:theme.palette.grey[600],
643
+ // position: "fixed",
644
+ // bottom: "24px",
645
+ // backgroundColor: theme.palette.background.default,
646
+ // borderBottom: `1px solid ${theme.palette.common.black}29`,
647
+ // borderTop: `1px solid ${theme.palette.common.black}29`,
648
+ // },
649
+ // },
650
+ // },
651
+ {
652
+ type: "Control",
653
+ scope: "#/properties/pageName",
654
+
655
+ options: {
656
+ widget: "Breadcrumb",
657
+ },
658
+ config: {
659
+ layout: 12,
660
+ main: {
661
+ },
662
+ style: {
663
+ // paddingLeft: theme.spacing(3),
664
+ // width:"100%",
665
+ color:theme.palette.grey[600],
666
+ fontSize:"10px",
667
+ position: "fixed",
668
+ bottom: "24px",
669
+ borderBottom: `1px solid ${theme.palette.common.black}29`,
670
+ borderTop: `1px solid ${theme.palette.common.black}29`,
671
+ },
672
+ },
673
+ },
616
674
  {
617
675
  type: "Control",
618
676
  scope: "#/properties/notify",
@@ -158,7 +158,7 @@ export const PageMasterUiSchema: any = (theme) => {
158
158
  main: {
159
159
  onClick: "copyPasteElement",
160
160
  size: "small",
161
- icon: "TablePasteIcon",
161
+ icon: "TablePaste",
162
162
  iconLabel: "Paste",
163
163
  styleDefault: true,
164
164
  },
@@ -318,7 +318,7 @@ export const PageMasterUiSchema: any = (theme) => {
318
318
  main: {
319
319
  onClick: "copyPasteElement",
320
320
  size: "small",
321
- icon: "TablePasteIcon",
321
+ icon: "TablePaste",
322
322
  iconLabel: "Paste",
323
323
  styleDefault: true,
324
324
  },
@@ -347,19 +347,19 @@ export const PageMasterUiSchema: any = (theme) => {
347
347
 
348
348
  {
349
349
  accessorKey: "eventType",
350
- header: "Event Type",
350
+ header: "Event's Type",
351
351
  size: 300,
352
352
  type: "string"
353
353
  },
354
354
  {
355
355
  accessorKey: "Handler",
356
356
  header: "Handler",
357
- size: 300,
357
+ size: 200,
358
358
  type: "string"
359
359
  },
360
360
  {
361
361
  accessorKey: "Edit_Approve_Records",
362
- header: "Edit Widget",
362
+ header: "Edit",
363
363
  type: "action",
364
364
  size: 150,
365
365
  widget: {
@@ -387,6 +387,8 @@ export const PageMasterUiSchema: any = (theme) => {
387
387
  {
388
388
  accessorKey: "Reject_Records",
389
389
  header: "Delete",
390
+ type: "action",
391
+ size: 150,
390
392
  widget: {
391
393
  type: "Control",
392
394
  scope: "#/properties/RejectButton",
@@ -411,7 +413,8 @@ export const PageMasterUiSchema: any = (theme) => {
411
413
  {
412
414
  header: "Copy",
413
415
  field: "Copy_Event",
414
- flex: 1,
416
+ type: "action",
417
+ size: 150,
415
418
  widget: {
416
419
  type: "Control",
417
420
  scope: "#/properties/Copy_Event",
@@ -421,7 +424,6 @@ export const PageMasterUiSchema: any = (theme) => {
421
424
  config: {
422
425
  main: {
423
426
  icon: "FileCopyIcon",
424
- // color: "error",
425
427
  onClick: "copyPasteElement",
426
428
  styleDefault: true,
427
429
  },
@@ -518,7 +520,6 @@ export const PageMasterUiSchema: any = (theme) => {
518
520
  layout: { xs: 4, sm: 2.5, md: 2, lg: 1.5 },
519
521
  main: {
520
522
  name: "Save",
521
- startIcon: "ApproveIcon",
522
523
  variant: "contained",
523
524
  type: "text",
524
525
  onClick: "saveHandler",
@@ -38,18 +38,18 @@ export const EventSchema = {
38
38
  eventType: {
39
39
  type: "string",
40
40
  oneOf: [
41
- { title: "Click Event", const: "onClick" },
42
- { title: "Load Event", const: "onLoad" },
43
- { title: "Change Event", const: "onChange" },
44
- { title: "Mount Event", const: "onMount" },
41
+ { title: "Click", const: "onClick" },
42
+ { title: "Load", const: "onLoad" },
43
+ { title: "Change", const: "onChange" },
44
+ { title: "Mount", const: "onMount" },
45
45
  { title: "Success", const: "Success" },
46
- { title: "onStart", const: "onStart" },
47
- { title: "Cell Renderer", const: "onCellRenderer" },
48
- { title: "File Upload Event", const: "onUpload" },
49
- { title: "Back Event", const: "onBack" },
50
- { title: "Next Event", const: "onNext" },
51
- { title: "onRowMovement", const: "onRowMovement" },
52
- { title: "File Download Event", const: "onDownload" },
46
+ { title: "Start", const: "onStart" },
47
+ { title: "Cell Render", const: "onCellRenderer" },
48
+ { title: "Upload", const: "onUpload" },
49
+ { title: "Back", const: "onBack" },
50
+ { title: "Next", const: "onNext" },
51
+ { title: "Row Movement", const: "onRowMovement" },
52
+ { title: "Download", const: "onDownload" },
53
53
  { title: "Fail", const: "Fail" }
54
54
  ]
55
55
  },
@@ -57,7 +57,7 @@ export const EventSchema = {
57
57
  type: "string",
58
58
  oneOf: [
59
59
  { title: "Custom", const: "custom" },
60
- { title: "Api", const: "api" },
60
+ { title: "API", const: "api" },
61
61
  { title: "Inbuilt Function", const: "inBuiltFunction" },
62
62
  { title: "Refresh", const: "refresh" },
63
63
  ]