@smartbit4all/ng-client 3.3.126 → 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.
@@ -70,7 +70,6 @@ import { MatPaginatorModule } from '@angular/material/paginator';
70
70
  import { FlatTreeControl, NestedTreeControl } from '@angular/cdk/tree';
71
71
  import * as i10 from '@angular/material/tree';
72
72
  import { MatTreeFlattener, MatTreeFlatDataSource, MatTreeModule, MatTreeNestedDataSource } from '@angular/material/tree';
73
- import structuredClone from '@ungap/structured-clone';
74
73
  import * as i1$5 from '@angular/material/toolbar';
75
74
  import { MatToolbarModule } from '@angular/material/toolbar';
76
75
  import { MatBadgeModule } from '@angular/material/badge';
@@ -12908,11 +12907,14 @@ class SmartComponentLayoutUtility {
12908
12907
  return true;
12909
12908
  }
12910
12909
  // both layout1 and layout2 exists
12911
- let l1 = structuredClone(layout1);
12912
- this.setParent(l1, null);
12913
- let l2 = structuredClone(layout1);
12914
- this.setParent(l2, null);
12915
- return deepEqual(l1, l2);
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;
12916
12918
  }
12917
12919
  static getForms(comp) {
12918
12920
  let result = [];