@trudb/tru-common-lib 0.0.322 → 0.0.324

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.
@@ -1,16 +1,16 @@
1
- import { ElementRef } from '@angular/core';
2
- import { TruEditControlBase } from '../../base-classes/tru-edit-control-base';
1
+ import { ElementRef, OnDestroy, OnInit } from '@angular/core';
3
2
  import { TruDataContext } from '../../services/tru-data-context';
4
3
  import * as i0 from "@angular/core";
5
- export declare class TruBreezeValidator {
4
+ export declare class TruBreezeValidator implements OnInit, OnDestroy {
6
5
  private el;
7
- private host;
8
6
  private dataContext;
9
- constructor(el: ElementRef, host: TruEditControlBase, dataContext: TruDataContext);
7
+ constructor(el: ElementRef, dataContext: TruDataContext);
10
8
  configModel: any;
11
9
  mergeData: any;
12
- getValidationErrors: () => boolean;
10
+ private subs;
13
11
  valErrsChanged: (newValue: any) => void;
12
+ ngOnInit(): void;
13
+ ngOnDestroy(): void;
14
14
  static ɵfac: i0.ɵɵFactoryDeclaration<TruBreezeValidator, never>;
15
15
  static ɵdir: i0.ɵɵDirectiveDeclaration<TruBreezeValidator, "[tru-breeze-validator]", never, {}, {}, never, never, false, never>;
16
16
  }
@@ -14,6 +14,7 @@ export declare class TruDataContext {
14
14
  private _pendingDeleteEntities;
15
15
  private _pendingCascadeDeleteEntities;
16
16
  constructor(breezeContextFactory: TruBreezeContextFactory, appEnvironment: TruAppEnvironment, entityAccessor: TruEntityAccessor, uiNotification: TruUiNotification);
17
+ entityManagerChangeDetection: Observable<unknown>;
17
18
  getValidationErrors: (entities?: Array<Entity> | null) => Observable<Array<ValidationError[]>>;
18
19
  private formatValidationErrors;
19
20
  private findCachedCascadeDeleteDescendants;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trudb/tru-common-lib",
3
- "version": "0.0.322",
3
+ "version": "0.0.324",
4
4
  "type": "module",
5
5
  "peerDependencies": {},
6
6
  "dependencies": {