impaktapps-ui-builder 0.0.382-alpha.4 → 0.0.382-alpha.41
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 +801 -863
- package/dist/impaktapps-ui-builder.es.js.map +1 -1
- package/dist/impaktapps-ui-builder.umd.js +12 -12
- package/dist/impaktapps-ui-builder.umd.js.map +1 -1
- package/dist/src/impaktapps-ui-builder/builder/build/buildBasicUiSchema.d.ts +1 -0
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/apiSection.d.ts +35 -2
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/coreSection.d.ts +15 -18
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/eventSection.d.ts +70 -121
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/graph.d.ts +1 -1
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/tableSection.d.ts +53 -102
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/validationSections.d.ts +17 -2
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/valueTab.d.ts +17 -2
- package/dist/src/impaktapps-ui-builder/builder/services/event.d.ts +1 -1
- package/dist/src/impaktapps-ui-builder/runtime/services/service.d.ts +1 -0
- package/package.json +1 -1
- package/src/impaktapps-ui-builder/builder/build/buildBasicUiSchema.ts +1 -0
- package/src/impaktapps-ui-builder/builder/build/buildWrapperSection.ts +3 -1
- package/src/impaktapps-ui-builder/builder/build/uischema/apiSection.ts +50 -27
- package/src/impaktapps-ui-builder/builder/build/uischema/buildPropertiesSection.ts +30 -49
- package/src/impaktapps-ui-builder/builder/build/uischema/coreSection.ts +16 -36
- package/src/impaktapps-ui-builder/builder/build/uischema/dateInputField.ts +1 -6
- package/src/impaktapps-ui-builder/builder/build/uischema/emptyBox.ts +1 -1
- package/src/impaktapps-ui-builder/builder/build/uischema/eventSection.ts +78 -51
- package/src/impaktapps-ui-builder/builder/build/uischema/graph.ts +58 -58
- package/src/impaktapps-ui-builder/builder/build/uischema/multiSelect.ts +1 -1
- package/src/impaktapps-ui-builder/builder/build/uischema/refresh.ts +2 -12
- package/src/impaktapps-ui-builder/builder/build/uischema/selectInputField.ts +1 -6
- package/src/impaktapps-ui-builder/builder/build/uischema/tableSection.ts +84 -56
- package/src/impaktapps-ui-builder/builder/build/uischema/textInputField.ts +1 -6
- package/src/impaktapps-ui-builder/builder/build/uischema/validationSections.ts +12 -12
- package/src/impaktapps-ui-builder/builder/build/uischema/valueTab.ts +12 -12
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/Component/uiSchema.ts +99 -55
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/PageMaster/uiSchema.ts +200 -203
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/event/uiSchema.ts +415 -284
- package/src/impaktapps-ui-builder/builder/services/component.ts +2 -2
- package/src/impaktapps-ui-builder/builder/services/event.ts +8 -8
- package/src/impaktapps-ui-builder/runtime/services/service.ts +6 -3
|
@@ -7,15 +7,11 @@ export const PageMasterUiSchema: any = (theme) => {
|
|
|
7
7
|
type: "WrapperLayout",
|
|
8
8
|
config: {
|
|
9
9
|
main: {
|
|
10
|
-
label: "Page Template",
|
|
11
|
-
isAccordion: true,
|
|
10
|
+
// label: "Page Template",
|
|
11
|
+
// isAccordion: true,
|
|
12
12
|
},
|
|
13
13
|
wrapperStyle: {
|
|
14
|
-
|
|
15
|
-
marginBottom: '-8px',
|
|
16
|
-
},
|
|
17
|
-
componentsBoxStyle: {
|
|
18
|
-
marginLeft: "24px",
|
|
14
|
+
backgroundColor: theme.palette.background.default
|
|
19
15
|
},
|
|
20
16
|
defaultStyle: true,
|
|
21
17
|
},
|
|
@@ -65,233 +61,234 @@ export const PageMasterUiSchema: any = (theme) => {
|
|
|
65
61
|
config: {
|
|
66
62
|
layout: { xs: 0, sm: 4 }
|
|
67
63
|
}
|
|
68
|
-
}
|
|
69
|
-
],
|
|
70
|
-
},
|
|
71
|
-
{
|
|
72
|
-
type: "TabLayout",
|
|
73
|
-
config: {
|
|
74
|
-
main: {
|
|
75
|
-
tabLabels: ["Components", "events"],
|
|
76
|
-
divider: true,
|
|
77
64
|
},
|
|
78
|
-
defaultStyle: true,
|
|
79
|
-
},
|
|
80
|
-
elements: [
|
|
81
65
|
{
|
|
82
|
-
type: "
|
|
83
|
-
scope: "#/properties/elements",
|
|
84
|
-
options: {
|
|
85
|
-
widget: "Table",
|
|
86
|
-
},
|
|
66
|
+
type: "TabLayout",
|
|
87
67
|
config: {
|
|
88
68
|
main: {
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
69
|
+
tabLabels: ["Components", "events"],
|
|
70
|
+
divider: true,
|
|
71
|
+
},
|
|
72
|
+
defaultStyle: true,
|
|
73
|
+
},
|
|
74
|
+
elements: [
|
|
75
|
+
{
|
|
76
|
+
type: "Control",
|
|
77
|
+
scope: "#/properties/elements",
|
|
78
|
+
options: {
|
|
79
|
+
widget: "Table",
|
|
80
|
+
},
|
|
81
|
+
config: {
|
|
82
|
+
main: {
|
|
83
|
+
headerIcons: {
|
|
84
|
+
elements: [
|
|
85
|
+
{
|
|
86
|
+
widget: {
|
|
87
|
+
type: "Control",
|
|
88
|
+
scope: "#/properties/New_Record",
|
|
95
89
|
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
90
|
+
options: {
|
|
91
|
+
widget: "IconButton",
|
|
92
|
+
},
|
|
93
|
+
config: {
|
|
94
|
+
main: {
|
|
95
|
+
// color: "info",
|
|
96
|
+
onClick: "onAddClickHandler",
|
|
97
|
+
size: "small",
|
|
98
|
+
icon: "AddIcon",
|
|
99
|
+
iconLabel: "Add New",
|
|
100
|
+
styleDefault: true,
|
|
101
|
+
},
|
|
102
|
+
style: {
|
|
103
|
+
mt: "6px",
|
|
104
|
+
},
|
|
105
|
+
},
|
|
106
|
+
}
|
|
111
107
|
},
|
|
112
|
-
|
|
108
|
+
]
|
|
113
109
|
},
|
|
114
|
-
|
|
110
|
+
disableAction: true,
|
|
111
|
+
disableSelection: true,
|
|
112
|
+
enableDrag: true,
|
|
113
|
+
}
|
|
115
114
|
},
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
}
|
|
120
|
-
},
|
|
121
|
-
elements: [
|
|
122
|
-
{
|
|
123
|
-
accessorKey: "name",
|
|
115
|
+
elements: [
|
|
116
|
+
{
|
|
117
|
+
accessorKey: "name",
|
|
124
118
|
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
119
|
+
header: "Name",
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
accessorKey: "type",
|
|
129
123
|
|
|
130
|
-
|
|
131
|
-
},
|
|
132
|
-
{
|
|
133
|
-
header: "Edit",
|
|
134
|
-
field: "Reject_Records",
|
|
135
|
-
flex: 1,
|
|
136
|
-
widget: {
|
|
137
|
-
type: "Control",
|
|
138
|
-
scope: "#/properties/RejectButton",
|
|
139
|
-
options: {
|
|
140
|
-
widget: "IconButton",
|
|
124
|
+
header: "Type",
|
|
141
125
|
},
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
126
|
+
{
|
|
127
|
+
header: "Edit",
|
|
128
|
+
field: "Reject_Records",
|
|
129
|
+
flex: 1,
|
|
130
|
+
widget: {
|
|
131
|
+
type: "Control",
|
|
132
|
+
scope: "#/properties/RejectButton",
|
|
133
|
+
options: {
|
|
134
|
+
widget: "IconButton",
|
|
135
|
+
},
|
|
136
|
+
config: {
|
|
137
|
+
main: {
|
|
138
|
+
icon: "EditIcon",
|
|
139
|
+
// color: "info",
|
|
140
|
+
onClick: "Edit_Components",
|
|
141
|
+
tooltipMessage: "Edit This Record",
|
|
142
|
+
},
|
|
143
|
+
},
|
|
148
144
|
},
|
|
149
145
|
},
|
|
150
|
-
|
|
146
|
+
{
|
|
147
|
+
header: "Delete",
|
|
148
|
+
field: "Reject_Records",
|
|
149
|
+
flex: 1,
|
|
150
|
+
widget: {
|
|
151
|
+
type: "Control",
|
|
152
|
+
scope: "#/properties/RejectButton",
|
|
153
|
+
options: {
|
|
154
|
+
widget: "IconButton",
|
|
155
|
+
},
|
|
156
|
+
config: {
|
|
157
|
+
main: {
|
|
158
|
+
icon: "RejectIcon",
|
|
159
|
+
color: "error",
|
|
160
|
+
onClick: "Delete_Components",
|
|
161
|
+
tooltipMessage: "Reject This Record",
|
|
162
|
+
},
|
|
163
|
+
},
|
|
164
|
+
},
|
|
165
|
+
}]
|
|
151
166
|
},
|
|
152
167
|
{
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
type: "Control",
|
|
158
|
-
scope: "#/properties/RejectButton",
|
|
159
|
-
options: {
|
|
160
|
-
widget: "IconButton",
|
|
161
|
-
},
|
|
162
|
-
config: {
|
|
163
|
-
main: {
|
|
164
|
-
icon: "RejectIcon",
|
|
165
|
-
color: "error",
|
|
166
|
-
onClick: "Delete_Components",
|
|
167
|
-
tooltipMessage: "Reject This Record",
|
|
168
|
-
},
|
|
169
|
-
},
|
|
168
|
+
type: "Control",
|
|
169
|
+
scope: "#/properties/events",
|
|
170
|
+
options: {
|
|
171
|
+
widget: "Table",
|
|
170
172
|
},
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
config: {
|
|
180
|
-
main: {
|
|
181
|
-
headerIcons: {
|
|
182
|
-
elements: [
|
|
183
|
-
{
|
|
184
|
-
widget: {
|
|
185
|
-
type: "Control",
|
|
186
|
-
scope: "#/properties/New_Record",
|
|
173
|
+
config: {
|
|
174
|
+
main: {
|
|
175
|
+
headerIcons: {
|
|
176
|
+
elements: [
|
|
177
|
+
{
|
|
178
|
+
widget: {
|
|
179
|
+
type: "Control",
|
|
180
|
+
scope: "#/properties/New_Record",
|
|
187
181
|
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
182
|
+
options: {
|
|
183
|
+
widget: "IconButton",
|
|
184
|
+
},
|
|
185
|
+
config: {
|
|
186
|
+
main: {
|
|
187
|
+
// color: "info",
|
|
188
|
+
onClick: "eventAddHandler",
|
|
189
|
+
size: "small",
|
|
190
|
+
icon: "AddIcon",
|
|
191
|
+
iconLabel: "Add New",
|
|
192
|
+
styleDefault: true,
|
|
193
|
+
},
|
|
194
|
+
style: {
|
|
195
|
+
mt: "6px",
|
|
196
|
+
},
|
|
197
|
+
},
|
|
198
|
+
}
|
|
203
199
|
},
|
|
204
|
-
|
|
200
|
+
]
|
|
205
201
|
},
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
disableSelection: true,
|
|
210
|
-
enableDrag: true,
|
|
202
|
+
disableAction: true,
|
|
203
|
+
disableSelection: true,
|
|
204
|
+
enableDrag: true,
|
|
211
205
|
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
206
|
+
},
|
|
207
|
+
},
|
|
208
|
+
elements: [
|
|
215
209
|
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
},
|
|
220
|
-
{
|
|
221
|
-
accessorKey: "Handler",
|
|
222
|
-
header: "Handler",
|
|
223
|
-
},
|
|
224
|
-
{
|
|
225
|
-
accessorKey: "Edit_Approve_Records",
|
|
226
|
-
header: "Edit Widget",
|
|
227
|
-
widget: {
|
|
228
|
-
type: "Control",
|
|
229
|
-
scope: "#/properties/Edit_Records",
|
|
230
|
-
options: {
|
|
231
|
-
widget: "IconButton",
|
|
210
|
+
{
|
|
211
|
+
accessorKey: "eventType",
|
|
212
|
+
header: "Event Type",
|
|
232
213
|
},
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
size: "small",
|
|
237
|
-
icon: "EditIcon",
|
|
238
|
-
tooltipMessage: "Edit This Record",
|
|
239
|
-
onClick: "editEvent",
|
|
240
|
-
},
|
|
241
|
-
style: {
|
|
242
|
-
color: "#3949ab",
|
|
243
|
-
},
|
|
214
|
+
{
|
|
215
|
+
accessorKey: "Handler",
|
|
216
|
+
header: "Handler",
|
|
244
217
|
},
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
218
|
+
{
|
|
219
|
+
accessorKey: "Edit_Approve_Records",
|
|
220
|
+
header: "Edit Widget",
|
|
221
|
+
widget: {
|
|
222
|
+
type: "Control",
|
|
223
|
+
scope: "#/properties/Edit_Records",
|
|
224
|
+
options: {
|
|
225
|
+
widget: "IconButton",
|
|
226
|
+
},
|
|
227
|
+
config: {
|
|
228
|
+
main: {
|
|
229
|
+
// color: "info",
|
|
230
|
+
size: "small",
|
|
231
|
+
icon: "EditIcon",
|
|
232
|
+
tooltipMessage: "Edit This Record",
|
|
233
|
+
onClick: "editEvent",
|
|
234
|
+
},
|
|
235
|
+
style: {
|
|
236
|
+
color: "#3949ab",
|
|
237
|
+
},
|
|
238
|
+
},
|
|
239
|
+
},
|
|
255
240
|
},
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
241
|
+
{
|
|
242
|
+
accessorKey: "Reject_Records",
|
|
243
|
+
header: "Delete",
|
|
244
|
+
widget: {
|
|
245
|
+
type: "Control",
|
|
246
|
+
scope: "#/properties/RejectButton",
|
|
247
|
+
options: {
|
|
248
|
+
widget: "IconButton",
|
|
249
|
+
},
|
|
250
|
+
config: {
|
|
251
|
+
main: {
|
|
252
|
+
icon: "RejectIcon",
|
|
253
|
+
color: "error",
|
|
254
|
+
tooltipMessage: "Reject This Record",
|
|
255
|
+
onClick: "deleteEvent",
|
|
256
|
+
},
|
|
257
|
+
},
|
|
262
258
|
},
|
|
263
259
|
},
|
|
264
|
-
|
|
260
|
+
]
|
|
265
261
|
},
|
|
266
|
-
]
|
|
267
|
-
},
|
|
268
262
|
|
|
269
|
-
|
|
270
|
-
},
|
|
271
|
-
{
|
|
272
|
-
type: "Control",
|
|
273
|
-
scope: "#/properties/btn",
|
|
274
|
-
options: {
|
|
275
|
-
widget: "Button",
|
|
276
|
-
},
|
|
277
|
-
|
|
278
|
-
config: {
|
|
279
|
-
layout: 11.9,
|
|
280
|
-
main: {
|
|
281
|
-
name: "Save",
|
|
282
|
-
startIcon: "ApproveIcon",
|
|
283
|
-
variant: "contained",
|
|
284
|
-
color: "info",
|
|
285
|
-
type: "text",
|
|
286
|
-
onClick: "saveHandler",
|
|
287
|
-
size: "medium",
|
|
263
|
+
],
|
|
288
264
|
},
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
265
|
+
{
|
|
266
|
+
type: "Control",
|
|
267
|
+
scope: "#/properties/btn",
|
|
268
|
+
options: {
|
|
269
|
+
widget: "Button",
|
|
270
|
+
},
|
|
271
|
+
|
|
272
|
+
config: {
|
|
273
|
+
layout: 11.9,
|
|
274
|
+
main: {
|
|
275
|
+
name: "Save",
|
|
276
|
+
startIcon: "ApproveIcon",
|
|
277
|
+
variant: "contained",
|
|
278
|
+
// color: "info",
|
|
279
|
+
type: "text",
|
|
280
|
+
onClick: "saveHandler",
|
|
281
|
+
size: "medium",
|
|
282
|
+
},
|
|
283
|
+
style: {
|
|
284
|
+
width: { xs: "90%", sm: "90%", md: "20%", lg: "10%" },
|
|
285
|
+
float: "right",
|
|
286
|
+
},
|
|
287
|
+
},
|
|
292
288
|
},
|
|
293
|
-
|
|
289
|
+
]
|
|
294
290
|
},
|
|
291
|
+
|
|
295
292
|
{
|
|
296
293
|
type: "Control",
|
|
297
294
|
scope: "#/properties/notify",
|