impaktapps-ui-builder 0.0.412-e → 0.0.412-g
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 +9 -0
- package/dist/impaktapps-ui-builder.es.js.map +1 -1
- package/dist/impaktapps-ui-builder.umd.js +3 -3
- package/dist/impaktapps-ui-builder.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/impaktapps-ui-builder/builder/build/buildTreeMap.ts +3 -0
- package/src/impaktapps-ui-builder/builder/build/uischema/buildPropertiesSection.ts +1 -0
- package/src/impaktapps-ui-builder/runtime/services/events.ts +7 -8
- package/src/impaktapps-ui-builder/runtime/services/service.ts +3 -7
|
@@ -6952,6 +6952,7 @@ const buildPropertiesSection = function(type) {
|
|
|
6952
6952
|
getInputField("graphWidth", "Graph Width"),
|
|
6953
6953
|
getInputField("graphZoomHeight", "Zoom Height")
|
|
6954
6954
|
];
|
|
6955
|
+
break;
|
|
6955
6956
|
case "InputSlider":
|
|
6956
6957
|
uiSchema.elements = [
|
|
6957
6958
|
getInputField("max", "Max Limit"),
|
|
@@ -8618,6 +8619,10 @@ function mergeFormdata(handlerResponse, componentName, eventConfig, store2, serv
|
|
|
8618
8619
|
});
|
|
8619
8620
|
} else if (eventConfig.type === "page") {
|
|
8620
8621
|
if (!(_.isEmpty(handlerResponse == null ? void 0 : handlerResponse.data) && (handlerResponse == null ? void 0 : handlerResponse.data))) {
|
|
8622
|
+
store2.newData = {
|
|
8623
|
+
...store2.newData,
|
|
8624
|
+
...handlerResponse == null ? void 0 : handlerResponse.data
|
|
8625
|
+
};
|
|
8621
8626
|
store2.setFormdata((pre) => {
|
|
8622
8627
|
return { ...pre, ...handlerResponse == null ? void 0 : handlerResponse.data };
|
|
8623
8628
|
});
|
|
@@ -8772,6 +8777,7 @@ var service = (funcParams) => {
|
|
|
8772
8777
|
setPage: async function() {
|
|
8773
8778
|
var _a;
|
|
8774
8779
|
funcParams.store.setFormdata({});
|
|
8780
|
+
funcParams.store.newData = {};
|
|
8775
8781
|
const pageBasicDetailString = localStorage.getItem("pagemasterMetaData");
|
|
8776
8782
|
if (pageBasicDetailString) {
|
|
8777
8783
|
pageData = JSON.parse(pageBasicDetailString);
|
|
@@ -10922,6 +10928,9 @@ const buildTreeMap = (config, componentScope) => {
|
|
|
10922
10928
|
if (config.graphZoomWidth) {
|
|
10923
10929
|
treMap.config.main.graphZoomWidth = config.graphZoomWidth;
|
|
10924
10930
|
}
|
|
10931
|
+
if (config.style) {
|
|
10932
|
+
treMap.config.style = JSON.parse(config.style);
|
|
10933
|
+
}
|
|
10925
10934
|
return treMap;
|
|
10926
10935
|
};
|
|
10927
10936
|
let schema = {
|