impaktapps-ui-builder 0.0.101-alpha.97 → 0.0.101-alpha.99
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.
|
@@ -8688,6 +8688,10 @@ var Component = (store2, dynamicData2, submitHandler, service2) => {
|
|
|
8688
8688
|
const copiedFormData = getFormdataFromSessionStorage(copiedElementPath);
|
|
8689
8689
|
this.ElementPathSetter(uiSchema, copiedFormData);
|
|
8690
8690
|
sessionStorage.setItem("copiedConfig", JSON.stringify(copiedFormData));
|
|
8691
|
+
store2.setNotify({
|
|
8692
|
+
SuccessMessage: `Copied ${elementType} successfully`,
|
|
8693
|
+
Success: true
|
|
8694
|
+
});
|
|
8691
8695
|
store2.setSchema(schema2);
|
|
8692
8696
|
store2.setUiSchema(uiSchema);
|
|
8693
8697
|
},
|
|
@@ -8757,7 +8761,7 @@ var Component = (store2, dynamicData2, submitHandler, service2) => {
|
|
|
8757
8761
|
if ((_t = (_s = (_r = (_q = (_p = (_o = uiSchema == null ? void 0 : uiSchema.elements) == null ? void 0 : _o[1]) == null ? void 0 : _p.elements) == null ? void 0 : _q[1]) == null ? void 0 : _r.config) == null ? void 0 : _s.main) == null ? void 0 : _t.headerIcons) {
|
|
8758
8762
|
uiSchema.elements[1].elements[1].config.main.headerIcons.elements[1].widget.config.main.tooltipMessage = `Copied Event: ${formData.eventType}`;
|
|
8759
8763
|
} else if ((_z = (_y = (_x = (_w = (_v = (_u = uiSchema == null ? void 0 : uiSchema.elements) == null ? void 0 : _u[0]) == null ? void 0 : _v.elements) == null ? void 0 : _w[1]) == null ? void 0 : _x.config) == null ? void 0 : _y.main) == null ? void 0 : _z.headerIcons) {
|
|
8760
|
-
uiSchema.elements[0].elements[1].config.main.headerIcons.elements[1].widget.config.main.tooltipMessage = `Copied Component: ${formData.
|
|
8764
|
+
uiSchema.elements[0].elements[1].config.main.headerIcons.elements[1].widget.config.main.tooltipMessage = `Copied Component: ${formData.eventType}`;
|
|
8761
8765
|
}
|
|
8762
8766
|
}
|
|
8763
8767
|
};
|