impaktapps-ui-builder 0.0.412-mtreemap.14 → 0.0.412-mtreemap.16
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 +109 -4
- package/dist/impaktapps-ui-builder.es.js.map +1 -1
- package/dist/impaktapps-ui-builder.umd.js +6 -6
- package/dist/impaktapps-ui-builder.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/impaktapps-ui-builder/builder/build/buildConfig.ts +1 -1
- package/src/impaktapps-ui-builder/builder/build/buildWrapperSection.ts +1 -1
- package/src/impaktapps-ui-builder/runtime/services/service.ts +105 -104
|
@@ -7400,7 +7400,7 @@ const createLayoutFormat = (config) => {
|
|
|
7400
7400
|
}
|
|
7401
7401
|
let data = {};
|
|
7402
7402
|
config.map((e) => {
|
|
7403
|
-
data[e.key || "xs"] = +e.value ||
|
|
7403
|
+
data[e.key || "xs"] = +e.value || 5.5;
|
|
7404
7404
|
});
|
|
7405
7405
|
return data;
|
|
7406
7406
|
};
|
|
@@ -8791,7 +8791,7 @@ var service = (funcParams) => {
|
|
|
8791
8791
|
};
|
|
8792
8792
|
return {
|
|
8793
8793
|
setPage: async function() {
|
|
8794
|
-
var _a;
|
|
8794
|
+
var _a, _b;
|
|
8795
8795
|
funcParams.store.setFormdata({});
|
|
8796
8796
|
funcParams.store.newData = {};
|
|
8797
8797
|
const pageBasicDetailString = localStorage.getItem("pagemasterMetaData");
|
|
@@ -8809,7 +8809,112 @@ var service = (funcParams) => {
|
|
|
8809
8809
|
const uiSchema = pageData == null ? void 0 : pageData.uiSchema;
|
|
8810
8810
|
window.localStorage.setItem("pageName", config.label);
|
|
8811
8811
|
window.dispatchEvent(new Event("pageNameChanged"));
|
|
8812
|
-
const
|
|
8812
|
+
const theme = funcParams.store.theme.myTheme;
|
|
8813
|
+
uiSchema.elements.push(
|
|
8814
|
+
{
|
|
8815
|
+
type: "HorizontalLayout",
|
|
8816
|
+
config: {
|
|
8817
|
+
main: {
|
|
8818
|
+
direction: "row"
|
|
8819
|
+
},
|
|
8820
|
+
style: {
|
|
8821
|
+
flexDirection: "row",
|
|
8822
|
+
position: "absolute",
|
|
8823
|
+
bottom: 0,
|
|
8824
|
+
marginBottom: "-8px",
|
|
8825
|
+
height: "fit-content",
|
|
8826
|
+
overflow: "hidden",
|
|
8827
|
+
zIndex: 1e3,
|
|
8828
|
+
width: "inherit"
|
|
8829
|
+
}
|
|
8830
|
+
},
|
|
8831
|
+
elements: [
|
|
8832
|
+
{
|
|
8833
|
+
type: "Control",
|
|
8834
|
+
scope: "#/properties/FooterText",
|
|
8835
|
+
options: {
|
|
8836
|
+
widget: "Box"
|
|
8837
|
+
},
|
|
8838
|
+
config: {
|
|
8839
|
+
main: {
|
|
8840
|
+
heading: "Copywriter@ACT21.IO"
|
|
8841
|
+
},
|
|
8842
|
+
style: {
|
|
8843
|
+
color: ((_a = theme == null ? void 0 : theme.palette) == null ? void 0 : _a.text.disabled) || "#AFAFAF",
|
|
8844
|
+
fontSize: "12px",
|
|
8845
|
+
textAlign: "center",
|
|
8846
|
+
lineHeight: 1,
|
|
8847
|
+
width: "fit-content",
|
|
8848
|
+
left: "50%",
|
|
8849
|
+
position: "relative",
|
|
8850
|
+
margin: 0,
|
|
8851
|
+
flexGrow: 1,
|
|
8852
|
+
height: 0
|
|
8853
|
+
}
|
|
8854
|
+
}
|
|
8855
|
+
},
|
|
8856
|
+
{
|
|
8857
|
+
type: "Control",
|
|
8858
|
+
scope: "#/properties/backIcon",
|
|
8859
|
+
options: {
|
|
8860
|
+
widget: "Box"
|
|
8861
|
+
},
|
|
8862
|
+
config: {
|
|
8863
|
+
main: {
|
|
8864
|
+
iconName: "PrevIcon",
|
|
8865
|
+
onClick: "backHandler",
|
|
8866
|
+
width: "fit-content"
|
|
8867
|
+
},
|
|
8868
|
+
style: {
|
|
8869
|
+
fill: theme.palette.primary.main,
|
|
8870
|
+
width: 20,
|
|
8871
|
+
height: 0,
|
|
8872
|
+
margin: 0,
|
|
8873
|
+
top: 0,
|
|
8874
|
+
right: "82px",
|
|
8875
|
+
position: "absolute",
|
|
8876
|
+
fontSize: "12px",
|
|
8877
|
+
cursor: "pointer",
|
|
8878
|
+
":hover": {
|
|
8879
|
+
fill: theme.palette.primary.dark
|
|
8880
|
+
}
|
|
8881
|
+
}
|
|
8882
|
+
}
|
|
8883
|
+
},
|
|
8884
|
+
{
|
|
8885
|
+
type: "Control",
|
|
8886
|
+
scope: "#/properties/text",
|
|
8887
|
+
options: {
|
|
8888
|
+
widget: "Box"
|
|
8889
|
+
},
|
|
8890
|
+
config: {
|
|
8891
|
+
main: {
|
|
8892
|
+
heading: "Previous Page",
|
|
8893
|
+
onClick: "backHandler"
|
|
8894
|
+
},
|
|
8895
|
+
style: {
|
|
8896
|
+
textAlign: "left",
|
|
8897
|
+
lineHeight: 1,
|
|
8898
|
+
height: 0,
|
|
8899
|
+
width: "fit-content",
|
|
8900
|
+
color: theme.palette.primary.main,
|
|
8901
|
+
fontSize: "12px",
|
|
8902
|
+
cursor: "pointer",
|
|
8903
|
+
marginLeft: "2px",
|
|
8904
|
+
marginRight: 0,
|
|
8905
|
+
top: 3,
|
|
8906
|
+
right: "12px",
|
|
8907
|
+
position: "absolute",
|
|
8908
|
+
":hover": {
|
|
8909
|
+
color: theme.palette.primary.dark
|
|
8910
|
+
}
|
|
8911
|
+
}
|
|
8912
|
+
}
|
|
8913
|
+
}
|
|
8914
|
+
]
|
|
8915
|
+
}
|
|
8916
|
+
);
|
|
8917
|
+
const schema2 = (_b = pageData == null ? void 0 : pageData.schema) != null ? _b : { type: "object", properties: {} };
|
|
8813
8918
|
eventGroups = {};
|
|
8814
8919
|
eventGroups = extractEvents(config);
|
|
8815
8920
|
executeEventsParameters = {
|
|
@@ -9719,7 +9824,7 @@ const buildWrapperSection = (config, componentScope) => {
|
|
|
9719
9824
|
wrapper.scope = componentScope;
|
|
9720
9825
|
wrapper.config.main.label = config.label;
|
|
9721
9826
|
wrapper.config.main.divider = config.divider === "YES" ? true : false;
|
|
9722
|
-
wrapper.config.main.isAccordion = config.isAccordion === "
|
|
9827
|
+
wrapper.config.main.isAccordion = config.isAccordion === "NO" ? false : true;
|
|
9723
9828
|
if (config.defaultStyle) {
|
|
9724
9829
|
wrapper.config.defaultStyle = config.defaultStyle === "YES" ? true : false;
|
|
9725
9830
|
}
|