impaktapps-ui-builder 0.0.86 → 0.0.88

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.86",
3
+ "version": "0.0.88",
4
4
  "scripts": {
5
5
  "dev": "vite",
6
6
  "build": "tsc && vite build",
@@ -90,7 +90,6 @@ export function getRefreshElements(eventConfig: any, eventGropus: any) {
90
90
  } else {
91
91
  if (eventGropus?.onLoad) {
92
92
  result = Object.keys(eventGropus?.onLoad)
93
- result.push(result[0]);
94
93
  }
95
94
  }
96
95
  return result;
@@ -205,16 +205,6 @@ export default (funcParams: funcParamsProps) => {
205
205
  );
206
206
  const schema = pageData?.schema ?? { type: "object", properties: {} };
207
207
  eventGroups = {}
208
- funcParams.store.setSchema(
209
- (pre: any) => {
210
- return {
211
- ...schema, properties:
212
- { ...schema.properties, ...pre.properties, }
213
- }
214
- }
215
- )
216
- uiSchema.elements.push(notifyUiSchema);
217
- funcParams.store.setUiSchema(uiSchema);
218
208
  eventGroups = extractEvents(config);
219
209
  executeEventsParameters = {
220
210
  config: {}, componentName: "",
@@ -227,7 +217,16 @@ export default (funcParams: funcParamsProps) => {
227
217
  store: funcParams.store, dynamicData: funcParams.dynamicData, userValue: funcParams.userValue, service: funcParams.service,
228
218
  serviceHolder: this, eventGroups, formDataHolder
229
219
  })
230
-
220
+ funcParams.store.setSchema(
221
+ (pre: any) => {
222
+ return {
223
+ ...schema,...pre, properties:
224
+ { ...schema.properties, ...pre.properties, }
225
+ }
226
+ }
227
+ )
228
+ uiSchema.elements.push(notifyUiSchema);
229
+ funcParams.store.setUiSchema(uiSchema);
231
230
  },
232
231
  onCellRenderer: (cellParams) => {
233
232
  if (eventGroups.onCellRenderer) {