@trudb/tru-common-lib 0.0.575 → 0.0.576

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.
@@ -856,6 +856,7 @@ class TruDataContext {
856
856
  this.appEnvironment = appEnvironment;
857
857
  this.entityAccessor = entityAccessor;
858
858
  this.uiNotification = uiNotification;
859
+ this._propertyChanged$ = new Subject();
859
860
  this._dataChanged$ = new Subject();
860
861
  this._pendingDeleteEntities = [];
861
862
  this._pendingCascadeDeleteEntities = [];
@@ -1048,6 +1049,15 @@ class TruDataContext {
1048
1049
  };
1049
1050
  this._breezeContext = this.breezeContextFactory.createContext();
1050
1051
  this.entityAccessor.context = this;
1052
+ this.entityManager.entityChanged.subscribe((changeArgs) => {
1053
+ this.propertyChanged(undefined);
1054
+ });
1055
+ }
1056
+ onPropertyChanged() {
1057
+ return this._propertyChanged$;
1058
+ }
1059
+ propertyChanged(change) {
1060
+ this._propertyChanged$.next(change);
1051
1061
  }
1052
1062
  onDataChanged() {
1053
1063
  return this._dataChanged$;