impaktapps-ui-builder 0.0.101-alpha.85 → 0.0.101-alpha.86
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 +58 -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/package.json +1 -1
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/Component/uiSchema.ts +56 -56
- package/src/impaktapps-ui-builder/builder/services/component.ts +1 -1
|
@@ -6809,6 +6809,62 @@ const componentBasicUiSchema = (theme) => {
|
|
|
6809
6809
|
}
|
|
6810
6810
|
]
|
|
6811
6811
|
},
|
|
6812
|
+
{
|
|
6813
|
+
type: "HorizontalLayout",
|
|
6814
|
+
config: {
|
|
6815
|
+
layout: { xs: 12, sm: 6 }
|
|
6816
|
+
},
|
|
6817
|
+
elements: [
|
|
6818
|
+
{
|
|
6819
|
+
type: "Control",
|
|
6820
|
+
scope: "#/properties/RemoveItemButton",
|
|
6821
|
+
options: {
|
|
6822
|
+
widget: "IconButton"
|
|
6823
|
+
},
|
|
6824
|
+
config: {
|
|
6825
|
+
layout: { xs: 1, sm: 1 },
|
|
6826
|
+
main: {
|
|
6827
|
+
onClick: "RemoveItemButton",
|
|
6828
|
+
size: "large",
|
|
6829
|
+
icon: "RejectIcon",
|
|
6830
|
+
styleDefault: true
|
|
6831
|
+
},
|
|
6832
|
+
style: {
|
|
6833
|
+
marginLeft: "-10px"
|
|
6834
|
+
}
|
|
6835
|
+
}
|
|
6836
|
+
},
|
|
6837
|
+
{
|
|
6838
|
+
type: "Control",
|
|
6839
|
+
scope: "#/properties/copiedElementDetails",
|
|
6840
|
+
options: {
|
|
6841
|
+
widget: "Box"
|
|
6842
|
+
},
|
|
6843
|
+
config: {
|
|
6844
|
+
layout: { xs: 6, sm: 6 },
|
|
6845
|
+
main: {
|
|
6846
|
+
heading: "No element copied"
|
|
6847
|
+
},
|
|
6848
|
+
style: {
|
|
6849
|
+
color: "#535557",
|
|
6850
|
+
marginLeft: "-10px",
|
|
6851
|
+
fontSize: "12px",
|
|
6852
|
+
marginTop: "4px"
|
|
6853
|
+
}
|
|
6854
|
+
}
|
|
6855
|
+
},
|
|
6856
|
+
{
|
|
6857
|
+
type: "Control",
|
|
6858
|
+
scope: "#/properties/EmptyBox",
|
|
6859
|
+
options: {
|
|
6860
|
+
widget: "EmptyBox"
|
|
6861
|
+
},
|
|
6862
|
+
config: {
|
|
6863
|
+
layout: { xs: 1, sm: 5 }
|
|
6864
|
+
}
|
|
6865
|
+
}
|
|
6866
|
+
]
|
|
6867
|
+
},
|
|
6812
6868
|
{
|
|
6813
6869
|
type: "WrapperLayout",
|
|
6814
6870
|
config: {
|
|
@@ -8803,7 +8859,8 @@ var Component = (store2, dynamicData2, submitHandler, service2) => {
|
|
|
8803
8859
|
return parentPath ? `${parentPath}.events[${rowId}]` : `events[${rowId}]`;
|
|
8804
8860
|
},
|
|
8805
8861
|
ElementPathSetter: function(uiSchema, copiedFormData) {
|
|
8806
|
-
copiedFormData || JSON.parse(sessionStorage.getItem("copiedConfig"));
|
|
8862
|
+
const formData = copiedFormData || JSON.parse(sessionStorage.getItem("copiedConfig"));
|
|
8863
|
+
uiSchema.elements[2].elements[1].config.main.heading = `Copied Path: ${formData.pageName}`;
|
|
8807
8864
|
}
|
|
8808
8865
|
};
|
|
8809
8866
|
};
|