@sumaris-net/ngx-components 2.7.2-rc11 → 2.7.2-rc13

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@sumaris-net/ngx-components",
3
3
  "description": "SUMARiS Angular components",
4
- "version": "2.7.2-rc11",
4
+ "version": "2.7.2-rc13",
5
5
  "author": "contact@e-is.pro",
6
6
  "license": "AGPL-3.0",
7
7
  "readmeFilename": "README.md",
@@ -62,7 +62,9 @@ export declare class SharedFormGroupValidators {
62
62
  static dateMinDuration(startDateField: string, endDateField: string, minDuration: number, durationUnit?: moment.unitOfTime.Diff): ValidatorFn;
63
63
  static requiredIf(fieldName: string, anotherFieldToCheck: string | AbstractControl): ValidatorFn;
64
64
  static requiredIfTrue(fieldName: string, anotherFieldToCheck: string | AbstractControl): ValidatorFn;
65
- static requiredIfEmpty(fieldName: string, anotherFieldToCheck: string): ValidatorFn;
65
+ static requiredIfEmpty(fieldName: string, anotherFieldToCheck: string, opts?: {
66
+ fieldOnly?: boolean;
67
+ }): ValidatorFn;
66
68
  static propagateIfDirty(fieldName: string, fieldNameToPropagate: string, valueToPropagate: any): ValidatorFn;
67
69
  /**
68
70
  * Same as compose, but keep only the first errors (instead of the union)
@@ -29,6 +29,7 @@ export declare class UserEventTestingPage implements OnDestroy {
29
29
  addRandom(value: number): void;
30
30
  addNotificationWithDefaultAction(): void;
31
31
  protected showMessage(text: string): Promise<void>;
32
+ replaceLastEvent(): void;
32
33
  static ɵfac: i0.ɵɵFactoryDeclaration<UserEventTestingPage, never>;
33
34
  static ɵcmp: i0.ɵɵComponentDeclaration<UserEventTestingPage, "job-progression-testing", never, {}, {}, never, never, false, never>;
34
35
  }
@@ -21,6 +21,7 @@ export declare class UserEventTestService extends AbstractUserEventService<UserE
21
21
  constructor(graphql: GraphqlService, accountService: AccountService, network: NetworkService, translate: TranslateService, environment: Environment);
22
22
  fromObject(source: any): UserEventTest;
23
23
  add(entity: UserEventTest): Promise<UserEventTest>;
24
+ replaceLast(entity: UserEventTest): Promise<void>;
24
25
  asFilter(filter: Partial<any>): any;
25
26
  count(filter: any, options?: {
26
27
  fetchPolicy?: FetchPolicy;