impaktapps-ui-builder 0.0.101-alpha.264 → 0.0.101-alpha.266

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.101-alpha.264",
3
+ "version": "0.0.101-alpha.266",
4
4
  "scripts": {
5
5
  "dev": "vite",
6
6
  "build": "tsc && vite build",
@@ -367,7 +367,7 @@ const buildUiSchema = (config: any, store?: any) => {
367
367
  }
368
368
  if (cellElem.elementType == "tableHeader") {
369
369
  const headerElem = buildUiSchema(cellElem, store);
370
- tableHeaderElements.push(headerElem);
370
+ tableHeaderElements.push({widget:headerElem});
371
371
  return false;
372
372
  }
373
373
  const tableElem = {
@@ -78,6 +78,7 @@ export default (funcParams: funcParamsProps) => {
78
78
  setPage: async function () {
79
79
  funcParams.store.setAdditionalErrors([]);
80
80
  funcParams.store.setFormdata({});
81
+ funcParams.store.setSchema({ type: "object", properties: {} });
81
82
  funcParams.store.newData = {};
82
83
  const pageBasicDetailString = sessionStorage.getItem("pagemasterMetaData")
83
84
  if (pageBasicDetailString) {
@@ -285,7 +286,7 @@ export default (funcParams: funcParamsProps) => {
285
286
  { key: "searchValue", value: param.serachValue },
286
287
  { key: "currentValue", value: param.currentValue }
287
288
  ]
288
- const response = await this.callExecuteEvents(param, apiBody,"onLoad");
289
+ const response = await this.callExecuteEvents(param, apiBody, "onLoad");
289
290
  return response?.data;
290
291
  }
291
292
  },