impaktapps-ui-builder 0.0.1063 → 0.0.1065
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 +6 -4
- package/dist/impaktapps-ui-builder.es.js.map +1 -1
- package/dist/impaktapps-ui-builder.umd.js +1 -1
- package/dist/impaktapps-ui-builder.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/impaktapps-ui-builder/builder/build/buildUiSchema.ts +2 -2
- package/src/impaktapps-ui-builder/runtime/services/service.ts +5 -3
|
@@ -10218,6 +10218,7 @@ var service = (funcParams) => {
|
|
|
10218
10218
|
setPage: async function() {
|
|
10219
10219
|
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m;
|
|
10220
10220
|
funcParams.store.setFormdata({});
|
|
10221
|
+
funcParams.store.setSchema({ type: "object", properties: {} });
|
|
10221
10222
|
funcParams.store.newData = {};
|
|
10222
10223
|
const pageBasicDetailString = sessionStorage.getItem("pagemasterMetaData");
|
|
10223
10224
|
if (pageBasicDetailString) {
|
|
@@ -10342,6 +10343,7 @@ var service = (funcParams) => {
|
|
|
10342
10343
|
]
|
|
10343
10344
|
}
|
|
10344
10345
|
);
|
|
10346
|
+
eventGroups = {};
|
|
10345
10347
|
const schema2 = (_m = pageData == null ? void 0 : pageData.schema) != null ? _m : { type: "object", properties: {} };
|
|
10346
10348
|
eventGroups = extractEvents(config2);
|
|
10347
10349
|
executeEventsParameters = {
|
|
@@ -10354,7 +10356,7 @@ var service = (funcParams) => {
|
|
|
10354
10356
|
functionsProvider: funcParams.functionsProvider,
|
|
10355
10357
|
serviceHolder: this,
|
|
10356
10358
|
eventGroups,
|
|
10357
|
-
formDataHolder
|
|
10359
|
+
formDataHolder: {}
|
|
10358
10360
|
};
|
|
10359
10361
|
await executeRefreshHandler({
|
|
10360
10362
|
config: {},
|
|
@@ -10427,7 +10429,7 @@ var service = (funcParams) => {
|
|
|
10427
10429
|
{ key: "size", value: paginationValues.pagination.pageSize },
|
|
10428
10430
|
{ key: "pageIndex", value: paginationValues.pagination.pageIndex },
|
|
10429
10431
|
{ key: "sorting", value: paginationValues.sorting || [] },
|
|
10430
|
-
{ key: "filters", value: paginationValues.columnFilters || [] },
|
|
10432
|
+
{ key: "filters", value: paginationValues.tableColumnConfig || paginationValues.columnFilters || [] },
|
|
10431
10433
|
{ key: "globalFilter", value: (_a = paginationValues.globalFilter) != null ? _a : "" }
|
|
10432
10434
|
];
|
|
10433
10435
|
const response = await this.callExecuteEvents(paginationValues, apiBody, "onLoad");
|
|
@@ -12495,8 +12497,8 @@ const buildUiSchema = (config2, store2) => {
|
|
|
12495
12497
|
header: cellElem.label || cellElem.name,
|
|
12496
12498
|
size: sizeMap[cellElem.name] || 180,
|
|
12497
12499
|
enableColumnFilter: Object.keys(filterMap).length === 0 ? true : (_a = filterMap[cellElem.name]) != null ? _a : false,
|
|
12498
|
-
columnFilterModeOptions:
|
|
12499
|
-
enableSorting:
|
|
12500
|
+
columnFilterModeOptions: cellElem.filteringOptions,
|
|
12501
|
+
enableSorting: cellElem.enableSorting === "No" ? false : true,
|
|
12500
12502
|
columnKey: cellElem.columnKey
|
|
12501
12503
|
};
|
|
12502
12504
|
if (cellElem.type) {
|