impaktapps-ui-builder 0.0.101-alpha.212 → 0.0.101-alpha.214
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/dist/impaktapps-ui-builder.es.js +17 -1
- package/dist/impaktapps-ui-builder.es.js.map +1 -1
- package/dist/impaktapps-ui-builder.umd.js +1 -1
- package/dist/impaktapps-ui-builder.umd.js.map +1 -1
- package/dist/src/impaktapps-ui-builder/builder/services/component.d.ts +2 -0
- package/package.json +1 -1
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/Component/uiSchema.ts +2 -0
- package/src/impaktapps-ui-builder/builder/services/component.ts +16 -0
|
@@ -7066,7 +7066,10 @@ const componentBasicUiSchema = (theme) => {
|
|
|
7066
7066
|
},
|
|
7067
7067
|
config: {
|
|
7068
7068
|
layout: 12,
|
|
7069
|
-
main: {
|
|
7069
|
+
main: {
|
|
7070
|
+
onNavigatePopupNo: "onNavigatePopupNo",
|
|
7071
|
+
onNavigatePopupYes: "onNavigatePopupYes"
|
|
7072
|
+
},
|
|
7070
7073
|
style: {
|
|
7071
7074
|
paddingLeft: theme.spacing(3),
|
|
7072
7075
|
color: theme.palette.grey[600],
|
|
@@ -8763,6 +8766,19 @@ var Component = (store2, dynamicData2, submitHandler, service2) => {
|
|
|
8763
8766
|
} 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) {
|
|
8764
8767
|
uiSchema.elements[0].elements[1].config.main.headerIcons.elements[1].widget.config.main.tooltipMessage = `Copied Component: ${formData.eventType}`;
|
|
8765
8768
|
}
|
|
8769
|
+
},
|
|
8770
|
+
onNavigatePopupYes: function() {
|
|
8771
|
+
try {
|
|
8772
|
+
store2.navigate(sessionStorage.getItem("pendingNavigatePath"));
|
|
8773
|
+
} catch (e) {
|
|
8774
|
+
store2.setNotify({
|
|
8775
|
+
FailMessage: "Couldn't navigate page",
|
|
8776
|
+
Fail: true
|
|
8777
|
+
});
|
|
8778
|
+
}
|
|
8779
|
+
},
|
|
8780
|
+
onNavigatePopupNo: function() {
|
|
8781
|
+
store2.updateDialog(`${store2.path}popup`);
|
|
8766
8782
|
}
|
|
8767
8783
|
};
|
|
8768
8784
|
};
|