@smartbit4all/ng-client 3.3.126 → 3.3.127

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,9 +12907,9 @@ class SmartComponentLayoutUtility {
12908
12907
  return true;
12909
12908
  }
12910
12909
  // both layout1 and layout2 exists
12911
- let l1 = structuredClone(layout1);
12910
+ let l1 = JSON.parse(JSON.stringify(layout1));
12912
12911
  this.setParent(l1, null);
12913
- let l2 = structuredClone(layout1);
12912
+ let l2 = JSON.parse(JSON.stringify(layout2));
12914
12913
  this.setParent(l2, null);
12915
12914
  return deepEqual(l1, l2);
12916
12915
  }