impaktapps-ui-builder 1.0.66 → 1.0.67-alpha.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "impaktapps-ui-builder",
3
- "version": "1.0.66",
3
+ "version": "1.0.67-alpha.2",
4
4
  "scripts": {
5
5
  "dev": "vite",
6
6
  "build": "tsc && vite build",
@@ -337,6 +337,7 @@ export const ComponentSchema: any = {
337
337
  { title: "Error Icon", const: "ErrorIcon" },
338
338
  { title: "Refresh Icon", const: "RefreshIcon" },
339
339
  { title: "Download Icon", const: "DownloadIcon" },
340
+ { title: "Download All Icon", const: "DownloadAllIcon" },
340
341
  { title: "Exception Icon", const: "ExceptionIcon" },
341
342
  { "title": "Alarm Icon", "const": "AlarmIcon" },
342
343
  { "title": "Click Icon", "const": "ClickIcon" },
@@ -174,78 +174,41 @@ export const PageMasterUiSchema: any = (theme) => {
174
174
  disableAction: true,
175
175
  disableSelection: true,
176
176
  enableDrag: true,
177
- }
178
- },
179
- elements: [
180
- {
181
- accessorKey: "name",
182
- header: "Name",
183
- size: 300,
184
- type: "string"
185
177
  },
186
- {
187
- accessorKey: "type",
188
- header: "Type",
189
- size: 300,
190
- type: "string"
191
- },
192
- {
193
- header: "Edit",
194
- field: "Reject_Records",
195
- size: 150,
196
- type: "action",
197
- widget: {
178
+ action: [
179
+ {
198
180
  type: "Control",
199
181
  scope: "#/properties/RejectButton",
200
182
  options: {
201
- widget: "IconButton",
183
+ widget: "Button",
202
184
  },
203
185
  config: {
204
186
  main: {
205
- icon: "TableEditIcon",
187
+ size: "small",
188
+ startIcon: "EditIcon",
206
189
  onClick: "Edit_Components",
207
190
  tooltipMessage: "Edit This Record",
208
- },
209
- style: {
210
- fill: theme.palette.primary.main,
211
- "& :hover": {
212
- fill: theme.palette.primary.dark,
213
- },
191
+ name: "Edit"
214
192
  },
215
193
  },
216
194
  },
217
- },
218
- {
219
- header: "Delete",
220
- field: "Reject_Records",
221
- size: 150,
222
- type: "action",
223
- widget: {
195
+ {
224
196
  type: "Control",
225
197
  scope: "#/properties/RejectButton",
226
198
  options: {
227
- widget: "IconButton",
199
+ widget: "Button",
228
200
  },
229
201
  config: {
230
202
  main: {
231
- icon: "Bin",
203
+ size: "small",
204
+ startIcon: "Bin",
232
205
  onClick: "deletePopUpComponent",
233
206
  tooltipMessage: "Reject This Record",
234
- },
235
- style: {
236
- fill: theme.palette.primary.main,
237
- "& :hover": {
238
- fill: theme.palette.primary.dark,
239
- },
207
+ name: "Delete"
240
208
  },
241
209
  },
242
210
  },
243
- },
244
- {
245
- header: "Copy",
246
- field: "Copy_Component",
247
- flex: 1,
248
- widget: {
211
+ {
249
212
  type: "Control",
250
213
  scope: "#/properties/Copy_Component",
251
214
  options: {
@@ -253,12 +216,28 @@ export const PageMasterUiSchema: any = (theme) => {
253
216
  },
254
217
  config: {
255
218
  main: {
256
- icon: "FileCopyIcon",
219
+ size: "small",
220
+ startIcon: "FileCopyIcon",
257
221
  onClick: "copyPasteElement",
258
- styleDefault: true,
222
+ styleDefault: false,
223
+ name: "Copy"
259
224
  },
260
225
  },
261
226
  },
227
+ ]
228
+ },
229
+ elements: [
230
+ {
231
+ accessorKey: "name",
232
+ header: "Name",
233
+ size: 300,
234
+ type: "string"
235
+ },
236
+ {
237
+ accessorKey: "type",
238
+ header: "Type",
239
+ size: 300,
240
+ type: "string"
262
241
  },
263
242
  ]
264
243
  },