impaktapps-ui-builder 0.0.101-alpha.55 → 0.0.101-alpha.56
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.
|
@@ -8516,18 +8516,18 @@ var Component = (store2, dynamicData2, submitHandler, service2) => {
|
|
|
8516
8516
|
return getFormdataFromSessionStorage(path);
|
|
8517
8517
|
},
|
|
8518
8518
|
getSchema: function() {
|
|
8519
|
-
var _a
|
|
8519
|
+
var _a;
|
|
8520
8520
|
const schema2 = _.cloneDeep(ComponentSchema);
|
|
8521
8521
|
if (sessionStorage.getItem("copiedConfig")) {
|
|
8522
8522
|
schema2.properties.RemoveItemButton.disabled = false;
|
|
8523
8523
|
}
|
|
8524
8524
|
const currentConfig = JSON.parse(sessionStorage.getItem("pageFormdata"));
|
|
8525
8525
|
const path = (_a = store2.searchParams) == null ? void 0 : _a.get("path");
|
|
8526
|
-
const
|
|
8527
|
-
|
|
8528
|
-
|
|
8529
|
-
|
|
8530
|
-
|
|
8526
|
+
const pathArrayAll = path.split(".");
|
|
8527
|
+
pathArrayAll.reduce((elem, i) => {
|
|
8528
|
+
const currObj = _.get(currentConfig, elem);
|
|
8529
|
+
console.log("currObj>>", currObj, "index>>", i);
|
|
8530
|
+
}, currentConfig);
|
|
8531
8531
|
return schema2;
|
|
8532
8532
|
},
|
|
8533
8533
|
okHandler: () => okHandler(store2),
|