@sumaris-net/ngx-components 1.23.0-rc5 → 1.23.0-rc6

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.
@@ -25831,15 +25831,43 @@
25831
25831
  return _this;
25832
25832
  }
25833
25833
  Object.defineProperty(EntitiesTableDataSource.prototype, "serviceOptions", {
25834
+ /**
25835
+ * @deprecated Use watchAllOptions or saveAllOptions
25836
+ */
25834
25837
  get: function () {
25835
- return this.config.dataServiceOptions;
25838
+ return this.config.dataServiceOptions
25839
+ || Object.assign(Object.assign({}, this.watchAllOptions), this.saveAllOptions);
25836
25840
  },
25841
+ /**
25842
+ * @deprecated Use watchAllOptions or saveAllOptions
25843
+ */
25837
25844
  set: function (value) {
25845
+ console.warn('dataSource.serviceOptions is deprecated! Please use \'watchAllOptions\' or \'saveAllOptions\' instead');
25838
25846
  this.config.dataServiceOptions = value;
25839
25847
  },
25840
25848
  enumerable: false,
25841
25849
  configurable: true
25842
25850
  });
25851
+ Object.defineProperty(EntitiesTableDataSource.prototype, "watchAllOptions", {
25852
+ get: function () {
25853
+ return this.config.watchAllOptions;
25854
+ },
25855
+ set: function (value) {
25856
+ this.config.watchAllOptions = value;
25857
+ },
25858
+ enumerable: false,
25859
+ configurable: true
25860
+ });
25861
+ Object.defineProperty(EntitiesTableDataSource.prototype, "saveAllOptions", {
25862
+ get: function () {
25863
+ return this.config.saveAllOptions;
25864
+ },
25865
+ set: function (value) {
25866
+ this.config.saveAllOptions = value;
25867
+ },
25868
+ enumerable: false,
25869
+ configurable: true
25870
+ });
25843
25871
  Object.defineProperty(EntitiesTableDataSource.prototype, "loaded", {
25844
25872
  get: function () {
25845
25873
  return this.loadingSubject.value === false; // Should be false when undefined (initial state)