impaktapps-ui-builder 1.0.67-alpha.3 → 1.0.67-alpha.5

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.
@@ -41,20 +41,7 @@ export declare const EventSection: (theme: any) => {
41
41
  disableSelection: boolean;
42
42
  enableDrag: boolean;
43
43
  };
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: {
44
+ action: ({
58
45
  type: string;
59
46
  scope: string;
60
47
  options: {
@@ -63,27 +50,16 @@ export declare const EventSection: (theme: any) => {
63
50
  config: {
64
51
  main: {
65
52
  size: string;
66
- icon: string;
53
+ startIcon: string;
67
54
  tooltipMessage: string;
68
55
  onClick: string;
56
+ icon?: undefined;
57
+ name?: undefined;
69
58
  styleDefault?: undefined;
70
59
  };
71
- style: {
72
- fill: any;
73
- "& :hover": {
74
- fill: any;
75
- };
76
- };
77
60
  };
78
61
  accessorKeyName?: undefined;
79
- };
80
- field?: undefined;
81
- } | {
82
- accessorKey: string;
83
- header: string;
84
- size: number;
85
- type: string;
86
- widget: {
62
+ } | {
87
63
  type: string;
88
64
  scope: string;
89
65
  accessorKeyName: string;
@@ -95,24 +71,13 @@ export declare const EventSection: (theme: any) => {
95
71
  icon: string;
96
72
  tooltipMessage: string;
97
73
  onClick: string;
98
- size?: undefined;
74
+ name: string;
75
+ size: string;
76
+ startIcon?: undefined;
99
77
  styleDefault?: undefined;
100
78
  };
101
- style: {
102
- fill: any;
103
- "& :hover": {
104
- fill: any;
105
- };
106
- };
107
79
  };
108
- };
109
- field?: undefined;
110
- } | {
111
- header: string;
112
- field: string;
113
- size: number;
114
- type: string;
115
- widget: {
80
+ } | {
116
81
  type: string;
117
82
  scope: string;
118
83
  options: {
@@ -120,18 +85,24 @@ export declare const EventSection: (theme: any) => {
120
85
  };
121
86
  config: {
122
87
  main: {
123
- icon: string;
88
+ startIcon: string;
124
89
  onClick: string;
125
90
  tooltipMessage: string;
126
91
  styleDefault: boolean;
92
+ name: string;
127
93
  size?: undefined;
94
+ icon?: undefined;
128
95
  };
129
- style?: undefined;
130
96
  };
131
97
  accessorKeyName?: undefined;
132
- };
133
- accessorKey?: undefined;
134
- })[];
98
+ })[];
99
+ };
100
+ elements: {
101
+ accessorKey: string;
102
+ header: string;
103
+ type: string;
104
+ size: number;
105
+ }[];
135
106
  }[];
136
107
  };
137
108
  export declare const EventSectionSchema: {
@@ -41,20 +41,7 @@ export declare const TableSection: (theme: any) => {
41
41
  disableSelection: boolean;
42
42
  enableDrag: boolean;
43
43
  };
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: {
44
+ action: ({
58
45
  type: string;
59
46
  scope: string;
60
47
  options: {
@@ -62,28 +49,15 @@ export declare const TableSection: (theme: any) => {
62
49
  };
63
50
  config: {
64
51
  main: {
65
- icon: string;
52
+ startIcon: string;
66
53
  size: string;
67
54
  onClick: string;
68
55
  tooltipMessage: string;
56
+ name: string;
69
57
  styleDefault?: undefined;
70
- disabled?: undefined;
71
- };
72
- style: {
73
- fill: any;
74
- "& :hover": {
75
- fill: any;
76
- };
77
58
  };
78
59
  };
79
- };
80
- accessorKey?: undefined;
81
- } | {
82
- header: string;
83
- field: string;
84
- size: number;
85
- type: string;
86
- widget: {
60
+ } | {
87
61
  type: string;
88
62
  scope: string;
89
63
  options: {
@@ -91,47 +65,22 @@ export declare const TableSection: (theme: any) => {
91
65
  };
92
66
  config: {
93
67
  main: {
94
- icon: string;
95
- onClick: string;
96
- tooltipMessage: string;
97
- size?: undefined;
98
- styleDefault?: undefined;
99
- disabled?: undefined;
100
- };
101
- style: {
102
- fill: any;
103
- "& :hover": {
104
- fill: any;
105
- };
106
- };
107
- };
108
- };
109
- accessorKey?: undefined;
110
- } | {
111
- header: string;
112
- field: string;
113
- size: number;
114
- type: string;
115
- widget: {
116
- type: string;
117
- scope: string;
118
- options: {
119
- widget: string;
120
- };
121
- config: {
122
- main: {
123
- icon: string;
68
+ startIcon: string;
124
69
  onClick: string;
125
70
  styleDefault: boolean;
126
- disabled: boolean;
71
+ name: string;
127
72
  size?: undefined;
128
73
  tooltipMessage?: undefined;
129
74
  };
130
- style?: undefined;
131
75
  };
132
- };
133
- accessorKey?: undefined;
134
- })[];
76
+ })[];
77
+ };
78
+ elements: {
79
+ accessorKey: string;
80
+ header: string;
81
+ type: string;
82
+ size: number;
83
+ }[];
135
84
  }[];
136
85
  };
137
86
  export declare const TableSectionSchema: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "impaktapps-ui-builder",
3
- "version": "1.0.67-alpha.3",
3
+ "version": "1.0.67-alpha.5",
4
4
  "scripts": {
5
5
  "dev": "vite",
6
6
  "build": "tsc && vite build",
@@ -74,95 +74,70 @@ export const EventSection = (theme)=>{
74
74
  enableDrag: true,
75
75
 
76
76
  },
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: {
77
+ action: [
78
+ {
98
79
  type: "Control",
99
80
  scope: "#/properties/Edit_Records",
100
81
  options: {
101
- widget: "IconButton",
82
+ widget: "Button",
102
83
  },
103
84
  config: {
104
85
  main: {
105
86
  size: "small",
106
- icon: "TableEditIcon",
87
+ startIcon: "EditIcon",
107
88
  tooltipMessage: "Edit This Record",
108
89
  onClick: "eventEditHandler",
109
90
  },
110
- style: {
111
- fill: theme.palette.primary.main,
112
- "& :hover": {
113
- fill: theme.palette.primary.dark,
114
- },
115
- },
116
91
  },
117
92
  },
118
- },
119
- {
120
- accessorKey: "Reject_Records",
121
- header: "Delete",
122
- size: 150,
123
- type: "action",
124
- widget: {
93
+ {
125
94
  type: "Control",
126
95
  scope: "#/properties/RejectButton",
127
96
  accessorKeyName: "Reject_Records",
128
97
  options: {
129
- widget: "IconButton",
98
+ widget: "Button",
130
99
  },
131
100
  config: {
132
101
  main: {
133
102
  icon: "Bin",
134
103
  tooltipMessage: "Reject This Record",
135
104
  onClick: "deletePopUpEvent",
136
- },
137
- style: {
138
- fill: theme.palette.primary.main,
139
- "& :hover": {
140
- fill: theme.palette.primary.dark,
141
- },
105
+ name: "Delete",
106
+ size: "small"
142
107
  },
143
108
  },
144
109
  },
145
- },
146
- {
147
- header: "Copy",
148
- field: "Copy_Event",
149
- size: 150,
150
- type: "action",
151
- widget: {
110
+ {
152
111
  type: "Control",
153
112
  scope: "#/properties/Copy_Event",
154
113
  options: {
155
- widget: "IconButton",
114
+ widget: "Button",
156
115
  },
157
116
  config: {
158
117
  main: {
159
- icon: "FileCopyIcon",
118
+ startIcon: "FileCopyIcon",
160
119
  onClick: "copyPasteElement",
161
120
  tooltipMessage: "Reject This Record",
162
- styleDefault: true,
121
+ styleDefault: false,
122
+ name: "Copy"
163
123
  },
164
124
  },
165
125
  },
126
+ ]
127
+ },
128
+ elements: [
129
+
130
+ {
131
+ accessorKey: "eventType",
132
+ header: "Event's Type",
133
+ type: "string",
134
+ size: 300,
135
+ },
136
+ {
137
+ accessorKey: "Handler",
138
+ header: "Handler",
139
+ type: "string",
140
+ size: 200,
166
141
  },
167
142
  ]
168
143
  }]}
@@ -74,93 +74,68 @@ export const TableSection = (theme) => {
74
74
  enableDrag: true,
75
75
 
76
76
  },
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: {
77
+ action: [
78
+ {
97
79
  type: "Control",
98
80
  scope: "#/properties/RejectButton",
99
81
  options: {
100
- widget: "IconButton",
82
+ widget: "Button",
101
83
  },
102
84
  config: {
103
85
  main: {
104
- icon: "TableEditIcon",
86
+ startIcon: "EditIcon",
105
87
  size: "small",
106
88
  onClick: "editComponents",
107
89
  tooltipMessage: "Reject This Record",
108
- },
109
- style: {
110
- fill: theme.palette.primary.main,
111
- "& :hover": {
112
- fill: theme.palette.primary.dark,
113
- },
90
+ name: "Edit"
114
91
  },
115
92
  },
116
93
  },
117
- },
118
- {
119
- header: "Delete",
120
- field: "Reject_Records",
121
- size: 150,
122
- type: "action",
123
- widget: {
94
+ {
124
95
  type: "Control",
125
96
  scope: "#/properties/RejectButton",
126
97
  options: {
127
- widget: "IconButton",
98
+ widget: "Button",
128
99
  },
129
100
  config: {
130
101
  main: {
131
- icon: "Bin",
102
+ startIcon: "Bin",
132
103
  onClick: "deletePopUpComponent",
133
104
  tooltipMessage: "Reject This Record",
134
- },
135
- style: {
136
- fill: theme.palette.primary.main,
137
- "& :hover": {
138
- fill: theme.palette.primary.dark,
139
- },
105
+ name: "Delete",
106
+ size: "small"
140
107
  },
141
108
  },
142
109
  },
143
- },
144
- {
145
- header: "Copy",
146
- field: "Copy_Component",
147
- size: 150,
148
- type: "action",
149
- widget: {
110
+ {
150
111
  type: "Control",
151
112
  scope: "#/properties/Copy_Component",
152
113
  options: {
153
- widget: "IconButton",
114
+ widget: "Button",
154
115
  },
155
116
  config: {
156
117
  main: {
157
- icon: "FileCopyIcon",
118
+ startIcon: "FileCopyIcon",
158
119
  onClick: "copyPasteElement",
159
- styleDefault: true,
160
- disabled: false
120
+ styleDefault: false,
121
+ name: "Copy"
161
122
  },
162
123
  },
163
124
  },
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,
164
139
  },
165
140
  ]
166
141
  }]
@@ -315,93 +315,70 @@ export const PageMasterUiSchema: any = (theme) => {
315
315
  enableDrag: true,
316
316
 
317
317
  },
318
- },
319
- elements: [
320
-
321
- {
322
- accessorKey: "eventType",
323
- header: "Event's Type",
324
- size: 300,
325
- type: "string"
326
- },
327
- {
328
- accessorKey: "Handler",
329
- header: "Handler",
330
- size: 200,
331
- type: "string"
332
- },
333
- {
334
- accessorKey: "Edit_Approve_Records",
335
- header: "Edit",
336
- type: "action",
337
- size: 150,
338
- widget: {
318
+ action: [
319
+ {
339
320
  type: "Control",
340
321
  scope: "#/properties/Edit_Records",
341
322
  options: {
342
- widget: "IconButton",
323
+ widget: "Button",
343
324
  },
344
325
  config: {
345
326
  main: {
346
327
  size: "small",
347
- icon: "TableEditIcon",
328
+ startIcon: "EditIcon",
348
329
  tooltipMessage: "Edit This Record",
349
330
  onClick: "editEvent",
350
- },
351
- style: {
352
- fill: theme.palette.primary.main,
353
- "& :hover": {
354
- fill: theme.palette.primary.dark,
355
- },
331
+ name: "Edit"
356
332
  },
357
333
  },
358
334
  },
359
- },
360
- {
361
- accessorKey: "Reject_Records",
362
- header: "Delete",
363
- type: "action",
364
- size: 150,
365
- widget: {
335
+ {
366
336
  type: "Control",
367
337
  scope: "#/properties/RejectButton",
368
338
  options: {
369
- widget: "IconButton",
339
+ widget: "Button",
370
340
  },
371
341
  config: {
372
342
  main: {
373
- icon: "Bin",
343
+ size: "small",
344
+ startIcon: "Bin",
374
345
  tooltipMessage: "Reject This Record",
375
346
  onClick: "deletePopUpEvent",
376
- },
377
- style: {
378
- fill: theme.palette.primary.main,
379
- "& :hover": {
380
- fill: theme.palette.primary.dark,
381
- },
347
+ name: "Delete"
382
348
  },
383
349
  },
384
350
  },
385
- },
386
- {
387
- header: "Copy",
388
- field: "Copy_Event",
389
- type: "action",
390
- size: 150,
391
- widget: {
351
+ {
392
352
  type: "Control",
393
353
  scope: "#/properties/Copy_Event",
394
354
  options: {
395
- widget: "IconButton",
355
+ widget: "Button",
396
356
  },
397
357
  config: {
398
358
  main: {
399
- icon: "FileCopyIcon",
359
+ size: "small",
360
+ startIcon: "FileCopyIcon",
400
361
  onClick: "copyPasteElement",
401
362
  styleDefault: true,
363
+ name: "Copy"
402
364
  },
403
365
  },
404
366
  },
367
+ ]
368
+ },
369
+ elements: [
370
+
371
+ {
372
+ accessorKey: "eventType",
373
+ header: "Event's Type",
374
+ size: 300,
375
+ type: "string"
376
+ },
377
+ {
378
+ accessorKey: "Handler",
379
+ header: "Handler",
380
+ size: 200,
381
+ type: "string"
405
382
  },
406
383
  ]
407
384
  },