impaktapps-ui-builder 0.0.963-copyElement.1011 → 0.0.963-copyElement.1012

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.963-copyElement.1011",
3
+ "version": "0.0.963-copyElement.1012",
4
4
  "scripts": {
5
5
  "dev": "vite",
6
6
  "build": "tsc && vite build",
@@ -208,7 +208,7 @@ export default (store: any, dynamicData: any, submitHandler: any, service: any)
208
208
  }
209
209
  },
210
210
 
211
- PasteComponent: function(paramStore = store,setPage = this.setPage){
211
+ PasteComponent: function(paramStore = store, setPage = this.setPage.bind(this)){
212
212
  // const schema = cloneDeep(store.schema);
213
213
 
214
214
  const path = store.searchParams?.get("path");
@@ -114,7 +114,9 @@ export default (funcParams: funcParamsProps) => {
114
114
 
115
115
 
116
116
  PasteComponent: function(){
117
- Component(store, dynamicData, submitHandler, service).PasteComponent(store,this.setPage)
117
+ // Component(store, dynamicData, submitHandler, service).PasteComponent(store,this.setPage)
118
+ const component = Component(store, dynamicData, submitHandler, service);
119
+ component.PasteComponent(store, this.setPage.bind(this));
118
120
  },
119
121
 
120
122
  RemoveItemButton: function(){