impaktapps-ui-builder 0.0.1064 → 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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "impaktapps-ui-builder",
3
- "version": "0.0.1064",
3
+ "version": "0.0.1065",
4
4
  "scripts": {
5
5
  "dev": "vite",
6
6
  "build": "tsc && vite build",
@@ -361,8 +361,8 @@ const buildUiSchema = (config: any, store?: any) => {
361
361
  header: cellElem.label || cellElem.name,
362
362
  size: sizeMap[cellElem.name] || 180,
363
363
  enableColumnFilter: Object.keys(filterMap).length === 0 ? true : filterMap[cellElem.name] ?? false,
364
- columnFilterModeOptions: config.filteringOptions,
365
- enableSorting: config.enableSorting === "No" ? false : true,
364
+ columnFilterModeOptions: cellElem.filteringOptions,
365
+ enableSorting: cellElem.enableSorting === "No" ? false : true,
366
366
  columnKey: cellElem.columnKey
367
367
  }
368
368
  if (cellElem.type) {
@@ -77,6 +77,7 @@ export default (funcParams: funcParamsProps) => {
77
77
  return {
78
78
  setPage: async function () {
79
79
  funcParams.store.setFormdata({});
80
+ funcParams.store.setSchema({ type: "object", properties: {} });
80
81
  funcParams.store.newData = {};
81
82
  const pageBasicDetailString = sessionStorage.getItem("pagemasterMetaData")
82
83
  if (pageBasicDetailString) {
@@ -210,7 +211,7 @@ export default (funcParams: funcParamsProps) => {
210
211
  config: {}, componentName: "",
211
212
  store: funcParams.store, dynamicData: funcParams.dynamicData, userValue: funcParams.userValue, service: funcParams.service,
212
213
  functionsProvider: funcParams.functionsProvider,
213
- serviceHolder: this, eventGroups, formDataHolder
214
+ serviceHolder: this, eventGroups, formDataHolder: {}
214
215
  }
215
216
  await executeRefreshHandler({
216
217
  config: {}, componentName: "",
@@ -275,7 +276,7 @@ export default (funcParams: funcParamsProps) => {
275
276
  { key: "size", value: paginationValues.pagination.pageSize },
276
277
  { key: "pageIndex", value: paginationValues.pagination.pageIndex },
277
278
  { key: "sorting", value: paginationValues.sorting || [] },
278
- { key: "filters", value:paginationValues.tableColumnConfig|| paginationValues.columnFilters || [] },
279
+ { key: "filters", value: paginationValues.tableColumnConfig || paginationValues.columnFilters || [] },
279
280
  { key: "globalFilter", value: paginationValues.globalFilter ?? '' }
280
281
  ]
281
282
  const response = await this.callExecuteEvents(paginationValues, apiBody, "onLoad");