impaktapps-ui-builder 1.0.68 → 1.0.70-alpha.1
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 +4 -28
- package/dist/impaktapps-ui-builder.es.js.map +1 -1
- package/dist/impaktapps-ui-builder.umd.js +2 -2
- package/dist/impaktapps-ui-builder.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/impaktapps-ui-builder/builder/build/buildDownloadFile.ts +1 -0
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/PageMaster/uiSchema.ts +0 -28
- package/src/impaktapps-ui-builder/runtime/services/service.ts +2 -1
|
@@ -282,32 +282,6 @@ const PageMasterUiSchema = (theme) => {
|
|
|
282
282
|
header: "Type",
|
|
283
283
|
size: 300,
|
|
284
284
|
type: "string"
|
|
285
|
-
},
|
|
286
|
-
{
|
|
287
|
-
header: "Edit",
|
|
288
|
-
field: "Reject_Records",
|
|
289
|
-
size: 150,
|
|
290
|
-
type: "action",
|
|
291
|
-
widget: {
|
|
292
|
-
type: "Control",
|
|
293
|
-
scope: "#/properties/RejectButton",
|
|
294
|
-
options: {
|
|
295
|
-
widget: "IconButton"
|
|
296
|
-
},
|
|
297
|
-
config: {
|
|
298
|
-
main: {
|
|
299
|
-
icon: "TableEditIcon",
|
|
300
|
-
onClick: "Edit_Components",
|
|
301
|
-
tooltipMessage: "Edit This Record"
|
|
302
|
-
},
|
|
303
|
-
style: {
|
|
304
|
-
fill: theme.palette.primary.main,
|
|
305
|
-
"& :hover": {
|
|
306
|
-
fill: theme.palette.primary.dark
|
|
307
|
-
}
|
|
308
|
-
}
|
|
309
|
-
}
|
|
310
|
-
}
|
|
311
285
|
}
|
|
312
286
|
]
|
|
313
287
|
},
|
|
@@ -10372,13 +10346,14 @@ var service = (funcParams) => {
|
|
|
10372
10346
|
return response == null ? void 0 : response.data;
|
|
10373
10347
|
},
|
|
10374
10348
|
onPaginationChange: async function(paginationValues) {
|
|
10375
|
-
var _a;
|
|
10349
|
+
var _a, _b;
|
|
10376
10350
|
const apiBody = [
|
|
10377
10351
|
{ key: "size", value: paginationValues.pagination.pageSize },
|
|
10378
10352
|
{ key: "pageIndex", value: paginationValues.pagination.pageIndex },
|
|
10379
10353
|
{ key: "sorting", value: paginationValues.sorting || [] },
|
|
10380
10354
|
{ key: "filters", value: paginationValues.tableColumnConfig || [] },
|
|
10381
|
-
{ key: "globalFilter", value: (_a = paginationValues.globalFilter) != null ? _a : "" }
|
|
10355
|
+
{ key: "globalFilter", value: (_a = paginationValues.globalFilter) != null ? _a : "" },
|
|
10356
|
+
{ key: "expandedRowIds", value: (_b = paginationValues.expandedRowIds) != null ? _b : [] }
|
|
10382
10357
|
];
|
|
10383
10358
|
const response = await this.callExecuteEvents(paginationValues, apiBody, "onLoad");
|
|
10384
10359
|
return response == null ? void 0 : response.data;
|
|
@@ -11228,6 +11203,7 @@ const buildUploadFile = (config2, componentScope2) => {
|
|
|
11228
11203
|
const buildDownloadFile = (config2, componentScope2) => {
|
|
11229
11204
|
const DownloadFile = _.cloneDeep(downloadFile);
|
|
11230
11205
|
DownloadFile.scope = componentScope2;
|
|
11206
|
+
DownloadFile.config.main.label = config2.label;
|
|
11231
11207
|
if (config2.layout) {
|
|
11232
11208
|
DownloadFile.config.layout = config2.layout;
|
|
11233
11209
|
}
|