@sumaris-net/ngx-components 2.6.4-alpha1 → 2.6.4-alpha2

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.
@@ -21669,6 +21669,21 @@ class EntityFilter extends Entity {
21669
21669
  asPodObject() {
21670
21670
  return this.asObject(MINIFY_ENTITY_FOR_POD);
21671
21671
  }
21672
+ asObject(opts) {
21673
+ const target = super.asObject(opts);
21674
+ target.filterName = this.filterName;
21675
+ target.filterType = this.filterType;
21676
+ target.filterRecorderPerson = this.filterRecorderPerson?.asObject(opts);
21677
+ target.filterRecorderDepartement = this.filterRecorderDepartment?.fromObject(opts);
21678
+ return target;
21679
+ }
21680
+ fromObject(source, opts) {
21681
+ super.fromObject(source, opts);
21682
+ this.filterName = source.filterName;
21683
+ this.filterType = source.filterType;
21684
+ this.filterRecorderPerson = Person.fromObject(source.filterRecorderPerson, opts);
21685
+ this.filterRecorderDepartment = Department.fromObject(source.filterRecorderDepartement, opts);
21686
+ }
21672
21687
  isEmpty() {
21673
21688
  return this.countNotEmptyCriteria() === 0;
21674
21689
  }