impaktapps-ui-builder 1.0.67-alpha.9 → 1.0.67
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 +275 -185
- package/dist/impaktapps-ui-builder.es.js.map +1 -1
- package/dist/impaktapps-ui-builder.umd.js +6 -6
- package/dist/impaktapps-ui-builder.umd.js.map +1 -1
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/eventSection.d.ts +50 -18
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/tableSection.d.ts +65 -14
- package/package.json +1 -1
- package/src/impaktapps-ui-builder/builder/build/uischema/eventSection.ts +54 -30
- package/src/impaktapps-ui-builder/builder/build/uischema/tableSection.ts +54 -29
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/PageMaster/uiSchema.ts +99 -83
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/event/uiSchema.ts +55 -31
|
@@ -41,7 +41,20 @@ export declare const EventSection: (theme: any) => {
|
|
|
41
41
|
disableSelection: boolean;
|
|
42
42
|
enableDrag: boolean;
|
|
43
43
|
};
|
|
44
|
-
|
|
44
|
+
};
|
|
45
|
+
elements: ({
|
|
46
|
+
accessorKey: string;
|
|
47
|
+
header: string;
|
|
48
|
+
type: string;
|
|
49
|
+
size: number;
|
|
50
|
+
widget?: undefined;
|
|
51
|
+
field?: undefined;
|
|
52
|
+
} | {
|
|
53
|
+
accessorKey: string;
|
|
54
|
+
header: string;
|
|
55
|
+
size: number;
|
|
56
|
+
type: string;
|
|
57
|
+
widget: {
|
|
45
58
|
type: string;
|
|
46
59
|
scope: string;
|
|
47
60
|
options: {
|
|
@@ -50,15 +63,27 @@ export declare const EventSection: (theme: any) => {
|
|
|
50
63
|
config: {
|
|
51
64
|
main: {
|
|
52
65
|
size: string;
|
|
53
|
-
|
|
66
|
+
icon: string;
|
|
54
67
|
tooltipMessage: string;
|
|
55
68
|
onClick: string;
|
|
56
|
-
name: string;
|
|
57
69
|
styleDefault?: undefined;
|
|
58
70
|
};
|
|
71
|
+
style: {
|
|
72
|
+
fill: any;
|
|
73
|
+
"& :hover": {
|
|
74
|
+
fill: any;
|
|
75
|
+
};
|
|
76
|
+
};
|
|
59
77
|
};
|
|
60
78
|
accessorKeyName?: undefined;
|
|
61
|
-
}
|
|
79
|
+
};
|
|
80
|
+
field?: undefined;
|
|
81
|
+
} | {
|
|
82
|
+
accessorKey: string;
|
|
83
|
+
header: string;
|
|
84
|
+
size: number;
|
|
85
|
+
type: string;
|
|
86
|
+
widget: {
|
|
62
87
|
type: string;
|
|
63
88
|
scope: string;
|
|
64
89
|
accessorKeyName: string;
|
|
@@ -67,15 +92,27 @@ export declare const EventSection: (theme: any) => {
|
|
|
67
92
|
};
|
|
68
93
|
config: {
|
|
69
94
|
main: {
|
|
70
|
-
|
|
95
|
+
icon: string;
|
|
71
96
|
tooltipMessage: string;
|
|
72
97
|
onClick: string;
|
|
73
|
-
|
|
74
|
-
size: string;
|
|
98
|
+
size?: undefined;
|
|
75
99
|
styleDefault?: undefined;
|
|
76
100
|
};
|
|
101
|
+
style: {
|
|
102
|
+
fill: any;
|
|
103
|
+
"& :hover": {
|
|
104
|
+
fill: any;
|
|
105
|
+
};
|
|
106
|
+
};
|
|
77
107
|
};
|
|
78
|
-
}
|
|
108
|
+
};
|
|
109
|
+
field?: undefined;
|
|
110
|
+
} | {
|
|
111
|
+
header: string;
|
|
112
|
+
field: string;
|
|
113
|
+
size: number;
|
|
114
|
+
type: string;
|
|
115
|
+
widget: {
|
|
79
116
|
type: string;
|
|
80
117
|
scope: string;
|
|
81
118
|
options: {
|
|
@@ -83,23 +120,18 @@ export declare const EventSection: (theme: any) => {
|
|
|
83
120
|
};
|
|
84
121
|
config: {
|
|
85
122
|
main: {
|
|
86
|
-
|
|
123
|
+
icon: string;
|
|
87
124
|
onClick: string;
|
|
88
125
|
tooltipMessage: string;
|
|
89
126
|
styleDefault: boolean;
|
|
90
|
-
name: string;
|
|
91
127
|
size?: undefined;
|
|
92
128
|
};
|
|
129
|
+
style?: undefined;
|
|
93
130
|
};
|
|
94
131
|
accessorKeyName?: undefined;
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
accessorKey: string;
|
|
99
|
-
header: string;
|
|
100
|
-
type: string;
|
|
101
|
-
size: number;
|
|
102
|
-
}[];
|
|
132
|
+
};
|
|
133
|
+
accessorKey?: undefined;
|
|
134
|
+
})[];
|
|
103
135
|
}[];
|
|
104
136
|
};
|
|
105
137
|
export declare const EventSectionSchema: {
|
|
@@ -41,7 +41,20 @@ export declare const TableSection: (theme: any) => {
|
|
|
41
41
|
disableSelection: boolean;
|
|
42
42
|
enableDrag: boolean;
|
|
43
43
|
};
|
|
44
|
-
|
|
44
|
+
};
|
|
45
|
+
elements: ({
|
|
46
|
+
accessorKey: string;
|
|
47
|
+
header: string;
|
|
48
|
+
type: string;
|
|
49
|
+
size: number;
|
|
50
|
+
field?: undefined;
|
|
51
|
+
widget?: undefined;
|
|
52
|
+
} | {
|
|
53
|
+
header: string;
|
|
54
|
+
field: string;
|
|
55
|
+
size: number;
|
|
56
|
+
type: string;
|
|
57
|
+
widget: {
|
|
45
58
|
type: string;
|
|
46
59
|
scope: string;
|
|
47
60
|
options: {
|
|
@@ -49,15 +62,28 @@ export declare const TableSection: (theme: any) => {
|
|
|
49
62
|
};
|
|
50
63
|
config: {
|
|
51
64
|
main: {
|
|
52
|
-
|
|
65
|
+
icon: string;
|
|
53
66
|
size: string;
|
|
54
67
|
onClick: string;
|
|
55
68
|
tooltipMessage: string;
|
|
56
|
-
name: string;
|
|
57
69
|
styleDefault?: undefined;
|
|
70
|
+
disabled?: undefined;
|
|
71
|
+
};
|
|
72
|
+
style: {
|
|
73
|
+
fill: any;
|
|
74
|
+
"& :hover": {
|
|
75
|
+
fill: any;
|
|
76
|
+
};
|
|
58
77
|
};
|
|
59
78
|
};
|
|
60
|
-
}
|
|
79
|
+
};
|
|
80
|
+
accessorKey?: undefined;
|
|
81
|
+
} | {
|
|
82
|
+
header: string;
|
|
83
|
+
field: string;
|
|
84
|
+
size: number;
|
|
85
|
+
type: string;
|
|
86
|
+
widget: {
|
|
61
87
|
type: string;
|
|
62
88
|
scope: string;
|
|
63
89
|
options: {
|
|
@@ -65,22 +91,47 @@ export declare const TableSection: (theme: any) => {
|
|
|
65
91
|
};
|
|
66
92
|
config: {
|
|
67
93
|
main: {
|
|
68
|
-
|
|
94
|
+
icon: string;
|
|
69
95
|
onClick: string;
|
|
70
|
-
|
|
71
|
-
name: string;
|
|
96
|
+
tooltipMessage: string;
|
|
72
97
|
size?: undefined;
|
|
73
|
-
|
|
98
|
+
styleDefault?: undefined;
|
|
99
|
+
disabled?: undefined;
|
|
100
|
+
};
|
|
101
|
+
style: {
|
|
102
|
+
fill: any;
|
|
103
|
+
"& :hover": {
|
|
104
|
+
fill: any;
|
|
105
|
+
};
|
|
74
106
|
};
|
|
75
107
|
};
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
accessorKey: string;
|
|
108
|
+
};
|
|
109
|
+
accessorKey?: undefined;
|
|
110
|
+
} | {
|
|
80
111
|
header: string;
|
|
81
|
-
|
|
112
|
+
field: string;
|
|
82
113
|
size: number;
|
|
83
|
-
|
|
114
|
+
type: string;
|
|
115
|
+
widget: {
|
|
116
|
+
type: string;
|
|
117
|
+
scope: string;
|
|
118
|
+
options: {
|
|
119
|
+
widget: string;
|
|
120
|
+
};
|
|
121
|
+
config: {
|
|
122
|
+
main: {
|
|
123
|
+
icon: string;
|
|
124
|
+
onClick: string;
|
|
125
|
+
styleDefault: boolean;
|
|
126
|
+
disabled: boolean;
|
|
127
|
+
size?: undefined;
|
|
128
|
+
tooltipMessage?: undefined;
|
|
129
|
+
};
|
|
130
|
+
style?: undefined;
|
|
131
|
+
};
|
|
132
|
+
};
|
|
133
|
+
accessorKey?: undefined;
|
|
134
|
+
})[];
|
|
84
135
|
}[];
|
|
85
136
|
};
|
|
86
137
|
export declare const TableSectionSchema: {
|
package/package.json
CHANGED
|
@@ -74,71 +74,95 @@ export const EventSection = (theme)=>{
|
|
|
74
74
|
enableDrag: true,
|
|
75
75
|
|
|
76
76
|
},
|
|
77
|
-
|
|
78
|
-
|
|
77
|
+
},
|
|
78
|
+
elements: [
|
|
79
|
+
|
|
80
|
+
{
|
|
81
|
+
accessorKey: "eventType",
|
|
82
|
+
header: "Event's Type",
|
|
83
|
+
type: "string",
|
|
84
|
+
size: 300,
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
accessorKey: "Handler",
|
|
88
|
+
header: "Handler",
|
|
89
|
+
type: "string",
|
|
90
|
+
size: 200,
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
accessorKey: "Edit_Approve_Records",
|
|
94
|
+
header: "Edit",
|
|
95
|
+
size: 150,
|
|
96
|
+
type: "action",
|
|
97
|
+
widget: {
|
|
79
98
|
type: "Control",
|
|
80
99
|
scope: "#/properties/Edit_Records",
|
|
81
100
|
options: {
|
|
82
|
-
widget: "
|
|
101
|
+
widget: "IconButton",
|
|
83
102
|
},
|
|
84
103
|
config: {
|
|
85
104
|
main: {
|
|
86
105
|
size: "small",
|
|
87
|
-
|
|
106
|
+
icon: "TableEditIcon",
|
|
88
107
|
tooltipMessage: "Edit This Record",
|
|
89
108
|
onClick: "eventEditHandler",
|
|
90
|
-
|
|
109
|
+
},
|
|
110
|
+
style: {
|
|
111
|
+
fill: theme.palette.primary.main,
|
|
112
|
+
"& :hover": {
|
|
113
|
+
fill: theme.palette.primary.dark,
|
|
114
|
+
},
|
|
91
115
|
},
|
|
92
116
|
},
|
|
93
117
|
},
|
|
94
|
-
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
accessorKey: "Reject_Records",
|
|
121
|
+
header: "Delete",
|
|
122
|
+
size: 150,
|
|
123
|
+
type: "action",
|
|
124
|
+
widget: {
|
|
95
125
|
type: "Control",
|
|
96
126
|
scope: "#/properties/RejectButton",
|
|
97
127
|
accessorKeyName: "Reject_Records",
|
|
98
128
|
options: {
|
|
99
|
-
widget: "
|
|
129
|
+
widget: "IconButton",
|
|
100
130
|
},
|
|
101
131
|
config: {
|
|
102
132
|
main: {
|
|
103
|
-
|
|
133
|
+
icon: "Bin",
|
|
104
134
|
tooltipMessage: "Reject This Record",
|
|
105
135
|
onClick: "deletePopUpEvent",
|
|
106
|
-
|
|
107
|
-
|
|
136
|
+
},
|
|
137
|
+
style: {
|
|
138
|
+
fill: theme.palette.primary.main,
|
|
139
|
+
"& :hover": {
|
|
140
|
+
fill: theme.palette.primary.dark,
|
|
141
|
+
},
|
|
108
142
|
},
|
|
109
143
|
},
|
|
110
144
|
},
|
|
111
|
-
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
header: "Copy",
|
|
148
|
+
field: "Copy_Event",
|
|
149
|
+
size: 150,
|
|
150
|
+
type: "action",
|
|
151
|
+
widget: {
|
|
112
152
|
type: "Control",
|
|
113
153
|
scope: "#/properties/Copy_Event",
|
|
114
154
|
options: {
|
|
115
|
-
widget: "
|
|
155
|
+
widget: "IconButton",
|
|
116
156
|
},
|
|
117
157
|
config: {
|
|
118
158
|
main: {
|
|
119
|
-
|
|
159
|
+
icon: "FileCopyIcon",
|
|
120
160
|
onClick: "copyPasteElement",
|
|
121
161
|
tooltipMessage: "Reject This Record",
|
|
122
|
-
styleDefault:
|
|
123
|
-
name: "Copy"
|
|
162
|
+
styleDefault: true,
|
|
124
163
|
},
|
|
125
164
|
},
|
|
126
165
|
},
|
|
127
|
-
]
|
|
128
|
-
},
|
|
129
|
-
elements: [
|
|
130
|
-
|
|
131
|
-
{
|
|
132
|
-
accessorKey: "eventType",
|
|
133
|
-
header: "Event's Type",
|
|
134
|
-
type: "string",
|
|
135
|
-
size: 300,
|
|
136
|
-
},
|
|
137
|
-
{
|
|
138
|
-
accessorKey: "Handler",
|
|
139
|
-
header: "Handler",
|
|
140
|
-
type: "string",
|
|
141
|
-
size: 200,
|
|
142
166
|
},
|
|
143
167
|
]
|
|
144
168
|
}]}
|
|
@@ -74,68 +74,93 @@ export const TableSection = (theme) => {
|
|
|
74
74
|
enableDrag: true,
|
|
75
75
|
|
|
76
76
|
},
|
|
77
|
-
|
|
78
|
-
|
|
77
|
+
},
|
|
78
|
+
elements: [
|
|
79
|
+
{
|
|
80
|
+
accessorKey: "name",
|
|
81
|
+
header: "Name",
|
|
82
|
+
type: "string",
|
|
83
|
+
size: 300,
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
accessorKey: "type",
|
|
87
|
+
header: "Type",
|
|
88
|
+
type: "string",
|
|
89
|
+
size: 200,
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
header: "Edit Record",
|
|
93
|
+
field: "Reject_Records",
|
|
94
|
+
size: 150,
|
|
95
|
+
type: "action",
|
|
96
|
+
widget: {
|
|
79
97
|
type: "Control",
|
|
80
98
|
scope: "#/properties/RejectButton",
|
|
81
99
|
options: {
|
|
82
|
-
widget: "
|
|
100
|
+
widget: "IconButton",
|
|
83
101
|
},
|
|
84
102
|
config: {
|
|
85
103
|
main: {
|
|
86
|
-
|
|
104
|
+
icon: "TableEditIcon",
|
|
87
105
|
size: "small",
|
|
88
106
|
onClick: "editComponents",
|
|
89
107
|
tooltipMessage: "Reject This Record",
|
|
90
|
-
|
|
108
|
+
},
|
|
109
|
+
style: {
|
|
110
|
+
fill: theme.palette.primary.main,
|
|
111
|
+
"& :hover": {
|
|
112
|
+
fill: theme.palette.primary.dark,
|
|
113
|
+
},
|
|
91
114
|
},
|
|
92
115
|
},
|
|
93
116
|
},
|
|
94
|
-
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
header: "Delete",
|
|
120
|
+
field: "Reject_Records",
|
|
121
|
+
size: 150,
|
|
122
|
+
type: "action",
|
|
123
|
+
widget: {
|
|
95
124
|
type: "Control",
|
|
96
125
|
scope: "#/properties/RejectButton",
|
|
97
126
|
options: {
|
|
98
|
-
widget: "
|
|
127
|
+
widget: "IconButton",
|
|
99
128
|
},
|
|
100
129
|
config: {
|
|
101
130
|
main: {
|
|
102
|
-
|
|
131
|
+
icon: "Bin",
|
|
103
132
|
onClick: "deletePopUpComponent",
|
|
104
133
|
tooltipMessage: "Reject This Record",
|
|
105
|
-
|
|
106
|
-
|
|
134
|
+
},
|
|
135
|
+
style: {
|
|
136
|
+
fill: theme.palette.primary.main,
|
|
137
|
+
"& :hover": {
|
|
138
|
+
fill: theme.palette.primary.dark,
|
|
139
|
+
},
|
|
107
140
|
},
|
|
108
141
|
},
|
|
109
142
|
},
|
|
110
|
-
|
|
143
|
+
},
|
|
144
|
+
{
|
|
145
|
+
header: "Copy",
|
|
146
|
+
field: "Copy_Component",
|
|
147
|
+
size: 150,
|
|
148
|
+
type: "action",
|
|
149
|
+
widget: {
|
|
111
150
|
type: "Control",
|
|
112
151
|
scope: "#/properties/Copy_Component",
|
|
113
152
|
options: {
|
|
114
|
-
widget: "
|
|
153
|
+
widget: "IconButton",
|
|
115
154
|
},
|
|
116
155
|
config: {
|
|
117
156
|
main: {
|
|
118
|
-
|
|
157
|
+
icon: "FileCopyIcon",
|
|
119
158
|
onClick: "copyPasteElement",
|
|
120
|
-
styleDefault:
|
|
121
|
-
|
|
159
|
+
styleDefault: true,
|
|
160
|
+
disabled: false
|
|
122
161
|
},
|
|
123
162
|
},
|
|
124
163
|
},
|
|
125
|
-
]
|
|
126
|
-
},
|
|
127
|
-
elements: [
|
|
128
|
-
{
|
|
129
|
-
accessorKey: "name",
|
|
130
|
-
header: "Name",
|
|
131
|
-
type: "string",
|
|
132
|
-
size: 300,
|
|
133
|
-
},
|
|
134
|
-
{
|
|
135
|
-
accessorKey: "type",
|
|
136
|
-
header: "Type",
|
|
137
|
-
type: "string",
|
|
138
|
-
size: 200,
|
|
139
164
|
},
|
|
140
165
|
]
|
|
141
166
|
}]
|