impaktapps-ui-builder 0.0.101-alpha.3 → 0.0.101-alpha.31
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 +958 -939
- package/dist/impaktapps-ui-builder.es.js.map +1 -1
- package/dist/impaktapps-ui-builder.umd.js +13 -13
- package/dist/impaktapps-ui-builder.umd.js.map +1 -1
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/apiSection.d.ts +62 -59
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/buildPropertiesSection.d.ts +17 -21
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/coreSection.d.ts +98 -95
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/eventSection.d.ts +26 -33
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/refresh.d.ts +52 -38
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/styleSection.d.ts +7 -8
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/tableSection.d.ts +29 -33
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/validationSections.d.ts +56 -37
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/valueTab.d.ts +56 -36
- package/package.json +1 -1
- package/src/impaktapps-ui-builder/builder/build/uischema/apiSection.ts +111 -96
- package/src/impaktapps-ui-builder/builder/build/uischema/buildPropertiesSection.ts +100 -94
- package/src/impaktapps-ui-builder/builder/build/uischema/coreSection.ts +189 -110
- package/src/impaktapps-ui-builder/builder/build/uischema/eventSection.ts +39 -17
- package/src/impaktapps-ui-builder/builder/build/uischema/refresh.ts +44 -44
- package/src/impaktapps-ui-builder/builder/build/uischema/styleSection.ts +9 -13
- package/src/impaktapps-ui-builder/builder/build/uischema/tableSection.ts +40 -18
- package/src/impaktapps-ui-builder/builder/build/uischema/validationSections.ts +117 -48
- package/src/impaktapps-ui-builder/builder/build/uischema/valueTab.ts +113 -45
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/Component/schema.ts +20 -20
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/Component/uiSchema.ts +297 -346
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/PageMaster/uiSchema.ts +52 -32
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/event/schema.ts +12 -12
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/event/uiSchema.ts +200 -289
- package/src/impaktapps-ui-builder/builder/services/component.ts +32 -32
- package/src/impaktapps-ui-builder/builder/services/event.ts +13 -14
|
@@ -91,7 +91,6 @@ export const PageMasterUiSchema: any = (theme) => {
|
|
|
91
91
|
tabLabels: ["Page Components", "Page Events"],
|
|
92
92
|
},
|
|
93
93
|
style: {
|
|
94
|
-
marginTop: "-16px",
|
|
95
94
|
TabPanelStyle: {
|
|
96
95
|
padding: 0,
|
|
97
96
|
}
|
|
@@ -105,6 +104,9 @@ export const PageMasterUiSchema: any = (theme) => {
|
|
|
105
104
|
bottom: "6px",
|
|
106
105
|
}
|
|
107
106
|
},
|
|
107
|
+
TabContainerStyle: {
|
|
108
|
+
marginTop: "-16px",
|
|
109
|
+
}
|
|
108
110
|
},
|
|
109
111
|
elements: [
|
|
110
112
|
{
|
|
@@ -156,7 +158,7 @@ export const PageMasterUiSchema: any = (theme) => {
|
|
|
156
158
|
main: {
|
|
157
159
|
onClick: "copyPasteElement",
|
|
158
160
|
size: "small",
|
|
159
|
-
icon: "
|
|
161
|
+
icon: "TablePaste",
|
|
160
162
|
iconLabel: "Paste",
|
|
161
163
|
styleDefault: true,
|
|
162
164
|
},
|
|
@@ -316,7 +318,7 @@ export const PageMasterUiSchema: any = (theme) => {
|
|
|
316
318
|
main: {
|
|
317
319
|
onClick: "copyPasteElement",
|
|
318
320
|
size: "small",
|
|
319
|
-
icon: "
|
|
321
|
+
icon: "TablePaste",
|
|
320
322
|
iconLabel: "Paste",
|
|
321
323
|
styleDefault: true,
|
|
322
324
|
},
|
|
@@ -345,19 +347,19 @@ export const PageMasterUiSchema: any = (theme) => {
|
|
|
345
347
|
|
|
346
348
|
{
|
|
347
349
|
accessorKey: "eventType",
|
|
348
|
-
header: "Event Type",
|
|
350
|
+
header: "Event's Type",
|
|
349
351
|
size: 300,
|
|
350
352
|
type: "string"
|
|
351
353
|
},
|
|
352
354
|
{
|
|
353
355
|
accessorKey: "Handler",
|
|
354
356
|
header: "Handler",
|
|
355
|
-
size:
|
|
357
|
+
size: 200,
|
|
356
358
|
type: "string"
|
|
357
359
|
},
|
|
358
360
|
{
|
|
359
361
|
accessorKey: "Edit_Approve_Records",
|
|
360
|
-
header: "Edit
|
|
362
|
+
header: "Edit",
|
|
361
363
|
type: "action",
|
|
362
364
|
size: 150,
|
|
363
365
|
widget: {
|
|
@@ -385,6 +387,8 @@ export const PageMasterUiSchema: any = (theme) => {
|
|
|
385
387
|
{
|
|
386
388
|
accessorKey: "Reject_Records",
|
|
387
389
|
header: "Delete",
|
|
390
|
+
type: "action",
|
|
391
|
+
size: 150,
|
|
388
392
|
widget: {
|
|
389
393
|
type: "Control",
|
|
390
394
|
scope: "#/properties/RejectButton",
|
|
@@ -409,7 +413,8 @@ export const PageMasterUiSchema: any = (theme) => {
|
|
|
409
413
|
{
|
|
410
414
|
header: "Copy",
|
|
411
415
|
field: "Copy_Event",
|
|
412
|
-
|
|
416
|
+
type: "action",
|
|
417
|
+
size: 150,
|
|
413
418
|
widget: {
|
|
414
419
|
type: "Control",
|
|
415
420
|
scope: "#/properties/Copy_Event",
|
|
@@ -419,13 +424,12 @@ export const PageMasterUiSchema: any = (theme) => {
|
|
|
419
424
|
config: {
|
|
420
425
|
main: {
|
|
421
426
|
icon: "FileCopyIcon",
|
|
422
|
-
// color: "error",
|
|
423
427
|
onClick: "copyPasteElement",
|
|
424
428
|
styleDefault: true,
|
|
425
429
|
},
|
|
426
430
|
},
|
|
427
431
|
},
|
|
428
|
-
}
|
|
432
|
+
},
|
|
429
433
|
]
|
|
430
434
|
// }]
|
|
431
435
|
},
|
|
@@ -491,33 +495,49 @@ export const PageMasterUiSchema: any = (theme) => {
|
|
|
491
495
|
// ]
|
|
492
496
|
// },
|
|
493
497
|
{
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
options: {
|
|
497
|
-
widget: "Button",
|
|
498
|
-
},
|
|
499
|
-
|
|
498
|
+
scope: "#/properties/Remarks Container",
|
|
499
|
+
type: "WrapperLayout",
|
|
500
500
|
config: {
|
|
501
|
-
layout:
|
|
501
|
+
layout: 12,
|
|
502
502
|
main: {
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
type: "text",
|
|
507
|
-
onClick: "saveHandler",
|
|
508
|
-
size: "medium",
|
|
503
|
+
divider: false,
|
|
504
|
+
rowSpacing: 0,
|
|
505
|
+
gap: 0
|
|
509
506
|
},
|
|
507
|
+
componentsBoxStyle: {
|
|
508
|
+
padding: "8px 8px 8px 24px",
|
|
509
|
+
}
|
|
510
510
|
},
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
511
|
+
elements: [
|
|
512
|
+
{
|
|
513
|
+
type: "Control",
|
|
514
|
+
scope: "#/properties/btn",
|
|
515
|
+
options: {
|
|
516
|
+
widget: "Button",
|
|
517
|
+
},
|
|
518
|
+
|
|
519
|
+
config: {
|
|
520
|
+
layout: { xs: 4, sm: 2.5, md: 2, lg: 1.5 },
|
|
521
|
+
main: {
|
|
522
|
+
name: "Save",
|
|
523
|
+
variant: "contained",
|
|
524
|
+
type: "text",
|
|
525
|
+
onClick: "saveHandler",
|
|
526
|
+
size: "medium",
|
|
527
|
+
},
|
|
528
|
+
},
|
|
529
|
+
},
|
|
530
|
+
{
|
|
531
|
+
type: "Control",
|
|
532
|
+
scope: "#/properties/EmptyBox",
|
|
533
|
+
config: {
|
|
534
|
+
layout: { xs: 8, sm:9.5, md: 10, lg: 10.5 },
|
|
535
|
+
},
|
|
536
|
+
options: {
|
|
537
|
+
widget: "EmptyBox",
|
|
538
|
+
},
|
|
539
|
+
},
|
|
540
|
+
],
|
|
521
541
|
},
|
|
522
542
|
{
|
|
523
543
|
type: "Control",
|
|
@@ -38,18 +38,18 @@ export const EventSchema = {
|
|
|
38
38
|
eventType: {
|
|
39
39
|
type: "string",
|
|
40
40
|
oneOf: [
|
|
41
|
-
{ title: "Click
|
|
42
|
-
{ title: "Load
|
|
43
|
-
{ title: "Change
|
|
44
|
-
{ title: "Mount
|
|
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: "
|
|
47
|
-
{ title: "Cell
|
|
48
|
-
{ title: "
|
|
49
|
-
{ title: "Back
|
|
50
|
-
{ title: "Next
|
|
51
|
-
{ title: "
|
|
52
|
-
{ title: "
|
|
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: "
|
|
60
|
+
{ title: "API", const: "api" },
|
|
61
61
|
{ title: "Inbuilt Function", const: "inBuiltFunction" },
|
|
62
62
|
{ title: "Refresh", const: "refresh" },
|
|
63
63
|
]
|