impaktapps-ui-builder 0.0.972 → 0.0.974

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.972",
3
+ "version": "0.0.974",
4
4
  "scripts": {
5
5
  "dev": "vite",
6
6
  "build": "tsc && vite build",
@@ -211,8 +211,8 @@ export default (store: any, dynamicData: any, submitHandler: any, service: any)
211
211
 
212
212
  const copiedConfig = JSON.parse(sessionStorage.getItem("copiedConfig"));
213
213
  const notificationMessages = {
214
- Event: "The pasted content is invalid; the event cannot be integrated into the component section.",
215
- Component: "The pasted content is invalid; the component cannot be integrated into the event section."
214
+ Event: " The event cannot be integrated into the component section.",
215
+ Component: "The component cannot be integrated into the event section."
216
216
  };
217
217
  if(copiedConfig.Handler && elementType === "Component"){
218
218
  store.setNotify({
@@ -248,8 +248,7 @@ export default (store: any, dynamicData: any, submitHandler: any, service: any)
248
248
  },
249
249
  ElementPathSetter: function(uiSchema: any,copiedFormData?: any){
250
250
  const formData = copiedFormData || JSON.parse(sessionStorage.getItem("copiedConfig"));
251
- const elementHeading = formData.name ? `Copied Path: ${formData.pageName}` : `Copied Path: ${formData.pageName}`;
252
- uiSchema.elements[2].elements[1].config.main.heading = elementHeading;
251
+ uiSchema.elements[2].elements[1].config.main.heading = `Copied Path: ${formData.pageName}`;
253
252
  }
254
253
  }
255
254
  };