impaktapps-ui-builder 1.0.67-alpha.8 → 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 +274 -184
- 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 +54 -30
|
@@ -174,57 +174,7 @@ export const PageMasterUiSchema: any = (theme) => {
|
|
|
174
174
|
disableAction: true,
|
|
175
175
|
disableSelection: true,
|
|
176
176
|
enableDrag: true,
|
|
177
|
-
}
|
|
178
|
-
action: [
|
|
179
|
-
{
|
|
180
|
-
type: "Control",
|
|
181
|
-
scope: "#/properties/RejectButton",
|
|
182
|
-
options: {
|
|
183
|
-
widget: "Button",
|
|
184
|
-
},
|
|
185
|
-
config: {
|
|
186
|
-
main: {
|
|
187
|
-
size: "small",
|
|
188
|
-
startIcon: "EditIcon",
|
|
189
|
-
onClick: "Edit_Components",
|
|
190
|
-
tooltipMessage: "Edit This Record",
|
|
191
|
-
name: "Edit"
|
|
192
|
-
},
|
|
193
|
-
},
|
|
194
|
-
},
|
|
195
|
-
{
|
|
196
|
-
type: "Control",
|
|
197
|
-
scope: "#/properties/RejectButton",
|
|
198
|
-
options: {
|
|
199
|
-
widget: "Button",
|
|
200
|
-
},
|
|
201
|
-
config: {
|
|
202
|
-
main: {
|
|
203
|
-
size: "small",
|
|
204
|
-
startIcon: "Bin",
|
|
205
|
-
onClick: "deletePopUpComponent",
|
|
206
|
-
tooltipMessage: "Reject This Record",
|
|
207
|
-
name: "Delete"
|
|
208
|
-
},
|
|
209
|
-
},
|
|
210
|
-
},
|
|
211
|
-
{
|
|
212
|
-
type: "Control",
|
|
213
|
-
scope: "#/properties/Copy_Component",
|
|
214
|
-
options: {
|
|
215
|
-
widget: "Button",
|
|
216
|
-
},
|
|
217
|
-
config: {
|
|
218
|
-
main: {
|
|
219
|
-
size: "small",
|
|
220
|
-
startIcon: "FileCopyIcon",
|
|
221
|
-
onClick: "copyPasteElement",
|
|
222
|
-
styleDefault: false,
|
|
223
|
-
name: "Copy"
|
|
224
|
-
},
|
|
225
|
-
},
|
|
226
|
-
},
|
|
227
|
-
]
|
|
177
|
+
}
|
|
228
178
|
},
|
|
229
179
|
elements: [
|
|
230
180
|
{
|
|
@@ -239,7 +189,6 @@ export const PageMasterUiSchema: any = (theme) => {
|
|
|
239
189
|
size: 300,
|
|
240
190
|
type: "string"
|
|
241
191
|
},
|
|
242
|
-
|
|
243
192
|
{
|
|
244
193
|
header: "Edit",
|
|
245
194
|
field: "Reject_Records",
|
|
@@ -266,7 +215,51 @@ export const PageMasterUiSchema: any = (theme) => {
|
|
|
266
215
|
},
|
|
267
216
|
},
|
|
268
217
|
},
|
|
269
|
-
|
|
218
|
+
{
|
|
219
|
+
header: "Delete",
|
|
220
|
+
field: "Reject_Records",
|
|
221
|
+
size: 150,
|
|
222
|
+
type: "action",
|
|
223
|
+
widget: {
|
|
224
|
+
type: "Control",
|
|
225
|
+
scope: "#/properties/RejectButton",
|
|
226
|
+
options: {
|
|
227
|
+
widget: "IconButton",
|
|
228
|
+
},
|
|
229
|
+
config: {
|
|
230
|
+
main: {
|
|
231
|
+
icon: "Bin",
|
|
232
|
+
onClick: "deletePopUpComponent",
|
|
233
|
+
tooltipMessage: "Reject This Record",
|
|
234
|
+
},
|
|
235
|
+
style: {
|
|
236
|
+
fill: theme.palette.primary.main,
|
|
237
|
+
"& :hover": {
|
|
238
|
+
fill: theme.palette.primary.dark,
|
|
239
|
+
},
|
|
240
|
+
},
|
|
241
|
+
},
|
|
242
|
+
},
|
|
243
|
+
},
|
|
244
|
+
{
|
|
245
|
+
header: "Copy",
|
|
246
|
+
field: "Copy_Component",
|
|
247
|
+
flex: 1,
|
|
248
|
+
widget: {
|
|
249
|
+
type: "Control",
|
|
250
|
+
scope: "#/properties/Copy_Component",
|
|
251
|
+
options: {
|
|
252
|
+
widget: "IconButton",
|
|
253
|
+
},
|
|
254
|
+
config: {
|
|
255
|
+
main: {
|
|
256
|
+
icon: "FileCopyIcon",
|
|
257
|
+
onClick: "copyPasteElement",
|
|
258
|
+
styleDefault: true,
|
|
259
|
+
},
|
|
260
|
+
},
|
|
261
|
+
},
|
|
262
|
+
},
|
|
270
263
|
]
|
|
271
264
|
},
|
|
272
265
|
{
|
|
@@ -343,70 +336,93 @@ export const PageMasterUiSchema: any = (theme) => {
|
|
|
343
336
|
enableDrag: true,
|
|
344
337
|
|
|
345
338
|
},
|
|
346
|
-
|
|
347
|
-
|
|
339
|
+
},
|
|
340
|
+
elements: [
|
|
341
|
+
|
|
342
|
+
{
|
|
343
|
+
accessorKey: "eventType",
|
|
344
|
+
header: "Event's Type",
|
|
345
|
+
size: 300,
|
|
346
|
+
type: "string"
|
|
347
|
+
},
|
|
348
|
+
{
|
|
349
|
+
accessorKey: "Handler",
|
|
350
|
+
header: "Handler",
|
|
351
|
+
size: 200,
|
|
352
|
+
type: "string"
|
|
353
|
+
},
|
|
354
|
+
{
|
|
355
|
+
accessorKey: "Edit_Approve_Records",
|
|
356
|
+
header: "Edit",
|
|
357
|
+
type: "action",
|
|
358
|
+
size: 150,
|
|
359
|
+
widget: {
|
|
348
360
|
type: "Control",
|
|
349
361
|
scope: "#/properties/Edit_Records",
|
|
350
362
|
options: {
|
|
351
|
-
widget: "
|
|
363
|
+
widget: "IconButton",
|
|
352
364
|
},
|
|
353
365
|
config: {
|
|
354
366
|
main: {
|
|
355
367
|
size: "small",
|
|
356
|
-
|
|
368
|
+
icon: "TableEditIcon",
|
|
357
369
|
tooltipMessage: "Edit This Record",
|
|
358
370
|
onClick: "editEvent",
|
|
359
|
-
|
|
371
|
+
},
|
|
372
|
+
style: {
|
|
373
|
+
fill: theme.palette.primary.main,
|
|
374
|
+
"& :hover": {
|
|
375
|
+
fill: theme.palette.primary.dark,
|
|
376
|
+
},
|
|
360
377
|
},
|
|
361
378
|
},
|
|
362
379
|
},
|
|
363
|
-
|
|
380
|
+
},
|
|
381
|
+
{
|
|
382
|
+
accessorKey: "Reject_Records",
|
|
383
|
+
header: "Delete",
|
|
384
|
+
type: "action",
|
|
385
|
+
size: 150,
|
|
386
|
+
widget: {
|
|
364
387
|
type: "Control",
|
|
365
388
|
scope: "#/properties/RejectButton",
|
|
366
389
|
options: {
|
|
367
|
-
widget: "
|
|
390
|
+
widget: "IconButton",
|
|
368
391
|
},
|
|
369
392
|
config: {
|
|
370
393
|
main: {
|
|
371
|
-
|
|
372
|
-
startIcon: "Bin",
|
|
394
|
+
icon: "Bin",
|
|
373
395
|
tooltipMessage: "Reject This Record",
|
|
374
396
|
onClick: "deletePopUpEvent",
|
|
375
|
-
|
|
397
|
+
},
|
|
398
|
+
style: {
|
|
399
|
+
fill: theme.palette.primary.main,
|
|
400
|
+
"& :hover": {
|
|
401
|
+
fill: theme.palette.primary.dark,
|
|
402
|
+
},
|
|
376
403
|
},
|
|
377
404
|
},
|
|
378
405
|
},
|
|
379
|
-
|
|
406
|
+
},
|
|
407
|
+
{
|
|
408
|
+
header: "Copy",
|
|
409
|
+
field: "Copy_Event",
|
|
410
|
+
type: "action",
|
|
411
|
+
size: 150,
|
|
412
|
+
widget: {
|
|
380
413
|
type: "Control",
|
|
381
414
|
scope: "#/properties/Copy_Event",
|
|
382
415
|
options: {
|
|
383
|
-
widget: "
|
|
416
|
+
widget: "IconButton",
|
|
384
417
|
},
|
|
385
418
|
config: {
|
|
386
419
|
main: {
|
|
387
|
-
|
|
388
|
-
startIcon: "FileCopyIcon",
|
|
420
|
+
icon: "FileCopyIcon",
|
|
389
421
|
onClick: "copyPasteElement",
|
|
390
422
|
styleDefault: true,
|
|
391
|
-
name: "Copy"
|
|
392
423
|
},
|
|
393
424
|
},
|
|
394
425
|
},
|
|
395
|
-
]
|
|
396
|
-
},
|
|
397
|
-
elements: [
|
|
398
|
-
|
|
399
|
-
{
|
|
400
|
-
accessorKey: "eventType",
|
|
401
|
-
header: "Event's Type",
|
|
402
|
-
size: 300,
|
|
403
|
-
type: "string"
|
|
404
|
-
},
|
|
405
|
-
{
|
|
406
|
-
accessorKey: "Handler",
|
|
407
|
-
header: "Handler",
|
|
408
|
-
size: 200,
|
|
409
|
-
type: "string"
|
|
410
426
|
},
|
|
411
427
|
]
|
|
412
428
|
},
|
|
@@ -145,24 +145,54 @@ export const EventUiSchema: any = (theme) => {
|
|
|
145
145
|
enableDrag: true,
|
|
146
146
|
|
|
147
147
|
},
|
|
148
|
-
|
|
149
|
-
|
|
148
|
+
},
|
|
149
|
+
elements: [
|
|
150
|
+
|
|
151
|
+
{
|
|
152
|
+
accessorKey: "eventType",
|
|
153
|
+
header: "Event's Type",
|
|
154
|
+
size: 300,
|
|
155
|
+
type: "string"
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
accessorKey: "Handler",
|
|
159
|
+
header: "Handler",
|
|
160
|
+
size: 200,
|
|
161
|
+
type: "string"
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
accessorKey: "Edit_Approve_Records",
|
|
165
|
+
header: "Edit",
|
|
166
|
+
type: "action",
|
|
167
|
+
size: 150,
|
|
168
|
+
widget: {
|
|
150
169
|
type: "Control",
|
|
151
170
|
scope: "#/properties/Edit_Records",
|
|
152
171
|
options: {
|
|
153
|
-
widget: "
|
|
172
|
+
widget: "IconButton",
|
|
154
173
|
},
|
|
155
174
|
config: {
|
|
156
175
|
main: {
|
|
157
176
|
size: "small",
|
|
158
|
-
|
|
177
|
+
icon: "TableEditIcon",
|
|
159
178
|
tooltipMessage: "Edit This Record",
|
|
160
179
|
onClick: "editEvent",
|
|
161
|
-
|
|
180
|
+
},
|
|
181
|
+
style: {
|
|
182
|
+
fill: theme.palette.primary.main,
|
|
183
|
+
"& :hover": {
|
|
184
|
+
fill: theme.palette.primary.dark,
|
|
185
|
+
},
|
|
162
186
|
},
|
|
163
187
|
},
|
|
164
188
|
},
|
|
165
|
-
|
|
189
|
+
},
|
|
190
|
+
{
|
|
191
|
+
accessorKey: "Reject_Records",
|
|
192
|
+
header: "Delete",
|
|
193
|
+
type: "action",
|
|
194
|
+
size: 150,
|
|
195
|
+
widget: {
|
|
166
196
|
type: "Control",
|
|
167
197
|
scope: "#/properties/RejectButton",
|
|
168
198
|
options: {
|
|
@@ -170,45 +200,39 @@ export const EventUiSchema: any = (theme) => {
|
|
|
170
200
|
},
|
|
171
201
|
config: {
|
|
172
202
|
main: {
|
|
173
|
-
|
|
203
|
+
icon: "Bin",
|
|
174
204
|
tooltipMessage: "Reject This Record",
|
|
175
205
|
onClick: "deletePopUpEvent",
|
|
176
|
-
|
|
177
|
-
|
|
206
|
+
},
|
|
207
|
+
style: {
|
|
208
|
+
fill: theme.palette.primary.main,
|
|
209
|
+
"& :hover": {
|
|
210
|
+
fill: theme.palette.primary.dark,
|
|
211
|
+
},
|
|
178
212
|
},
|
|
179
213
|
},
|
|
180
214
|
},
|
|
181
|
-
|
|
215
|
+
},
|
|
216
|
+
|
|
217
|
+
{
|
|
218
|
+
header: "Copy",
|
|
219
|
+
field: "Copy_Event",
|
|
220
|
+
type: "action",
|
|
221
|
+
size: 150,
|
|
222
|
+
widget: {
|
|
182
223
|
type: "Control",
|
|
183
224
|
scope: "#/properties/Copy_Event",
|
|
184
225
|
options: {
|
|
185
|
-
widget: "
|
|
226
|
+
widget: "IconButton",
|
|
186
227
|
},
|
|
187
228
|
config: {
|
|
188
229
|
main: {
|
|
189
|
-
|
|
230
|
+
icon: "FileCopyIcon",
|
|
190
231
|
onClick: "copyPasteElement",
|
|
191
|
-
styleDefault:
|
|
192
|
-
name: "Copy",
|
|
193
|
-
size: "small"
|
|
232
|
+
styleDefault: true,
|
|
194
233
|
},
|
|
195
234
|
},
|
|
196
235
|
},
|
|
197
|
-
]
|
|
198
|
-
},
|
|
199
|
-
elements: [
|
|
200
|
-
|
|
201
|
-
{
|
|
202
|
-
accessorKey: "eventType",
|
|
203
|
-
header: "Event's Type",
|
|
204
|
-
size: 300,
|
|
205
|
-
type: "string"
|
|
206
|
-
},
|
|
207
|
-
{
|
|
208
|
-
accessorKey: "Handler",
|
|
209
|
-
header: "Handler",
|
|
210
|
-
size: 200,
|
|
211
|
-
type: "string"
|
|
212
236
|
},
|
|
213
237
|
]
|
|
214
238
|
}
|