impaktapps-ui-builder 0.0.382-alpha.324 → 0.0.382-alpha.325

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.382-alpha.324",
3
+ "version": "0.0.382-alpha.325",
4
4
  "scripts": {
5
5
  "dev": "vite",
6
6
  "build": "tsc && vite build",
@@ -66,40 +66,33 @@ export default (funcParams: funcParamsProps) => {
66
66
  };
67
67
  return {
68
68
  setPage: async function () {
69
- // funcParams.store.setFormdata({});
69
+ funcParams.store.setFormdata({});
70
70
  executeEventsParameters = {
71
71
  config: {}, componentName: "",
72
72
  store: funcParams.store, dynamicData: funcParams.dynamicData, userValue: funcParams.userValue, service: funcParams.service,
73
73
  serviceHolder: this, eventGroups
74
74
  }
75
- funcParams.store.setSchema(
76
- (pre: any) => {
77
- return {
78
- ...funcParams.schema, properties:
79
- { ...funcParams.schema.properties, ...pre.properties, }
80
- }
81
- }
82
- )
75
+ // funcParams.store.setSchema(
76
+ // (pre: any) => {
77
+ // return {
78
+ // ...funcParams.schema, properties:
79
+ // { ...funcParams.schema.properties, ...pre.properties, }
80
+ // }
81
+ // }
82
+ // )
83
+ funcParams.store.setFormdata({ testKey: 'testValue' });
84
+ console.log("After Setting Specific Value:", funcParams.store.formData);
85
+
86
+ funcParams.store.setSchema(funcParams.schema);
83
87
  funcParams.uiSchema.elements.push(notifyUiSchema);
84
88
  funcParams.store.setUiSchema(funcParams.uiSchema);
85
- funcParams.store.setFormdata({});
86
- setTimeout(() => {
87
- executeRefreshHandler({
88
- config: {},
89
- componentName: "",
90
- store: funcParams.store,
91
- dynamicData: funcParams.dynamicData,
92
- userValue: funcParams.userValue,
93
- service: funcParams.service,
94
- serviceHolder: this,
95
- eventGroups,
96
- });
97
- }, 5000);
98
- // await executeRefreshHandler({
99
- // config: {}, componentName: "",
100
- // store: funcParams.store, dynamicData: funcParams.dynamicData, userValue: funcParams.userValue, service: funcParams.service,
101
- // serviceHolder: this, eventGroups
102
- // })
89
+
90
+
91
+ await executeRefreshHandler({
92
+ config: {}, componentName: "",
93
+ store: funcParams.store, dynamicData: funcParams.dynamicData, userValue: funcParams.userValue, service: funcParams.service,
94
+ serviceHolder: this, eventGroups
95
+ })
103
96
  },
104
97
  onClick: async function () {
105
98
  await this.callHandler("onClick")