@smartbit4all/ng-client 3.3.127 → 3.3.128
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/esm2020/lib/smart-component-layout/smart-component-layout-utility.mjs +9 -6
- package/fesm2015/smartbit4all-ng-client.mjs +8 -5
- package/fesm2015/smartbit4all-ng-client.mjs.map +1 -1
- package/fesm2020/smartbit4all-ng-client.mjs +8 -5
- package/fesm2020/smartbit4all-ng-client.mjs.map +1 -1
- package/package.json +1 -1
- package/smartbit4all-ng-client-3.3.128.tgz +0 -0
- package/smartbit4all-ng-client-3.3.127.tgz +0 -0
|
@@ -12907,11 +12907,14 @@ class SmartComponentLayoutUtility {
|
|
|
12907
12907
|
return true;
|
|
12908
12908
|
}
|
|
12909
12909
|
// both layout1 and layout2 exists
|
|
12910
|
-
let
|
|
12911
|
-
|
|
12912
|
-
|
|
12913
|
-
this.setParent(
|
|
12914
|
-
|
|
12910
|
+
let parent1 = layout1.parentComponent;
|
|
12911
|
+
let parent2 = layout1.parentComponent;
|
|
12912
|
+
this.setParent(layout1, null);
|
|
12913
|
+
this.setParent(layout2, null);
|
|
12914
|
+
const result = deepEqual(layout1, layout2);
|
|
12915
|
+
this.setParent(layout1, parent1);
|
|
12916
|
+
this.setParent(layout2, parent2);
|
|
12917
|
+
return result;
|
|
12915
12918
|
}
|
|
12916
12919
|
static getForms(comp) {
|
|
12917
12920
|
let result = [];
|