@smartsoft001/angular 1.1.783 → 1.1.786

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.
@@ -748,7 +748,7 @@
748
748
  }
749
749
  (rootCheck ? rootCheck : result).valueChanges.pipe(operators.tap(function () {
750
750
  enabledDefinitions.forEach(function (def) {
751
- var enabled = utils.SpecificationService.valid(result.value, def.enabled, {
751
+ var enabled = utils.SpecificationService.valid(Object.assign(Object.assign({}, (obj ? obj : {})), result.value), def.enabled, {
752
752
  $root: rootCheck === null || rootCheck === void 0 ? void 0 : rootCheck.value
753
753
  });
754
754
  def.control['__smartDisabled'] = !enabled;
@@ -4764,10 +4764,17 @@
4764
4764
  return _this;
4765
4765
  }
4766
4766
  InputPossibilitiesBaseComponent.prototype.afterSetOptionsHandler = function () {
4767
+ var _this = this;
4767
4768
  _super.prototype.afterSetOptionsHandler.call(this);
4768
- var possibilitiesFromProvider$ = this.getPossibilitiesFromProvider();
4769
- if (possibilitiesFromProvider$)
4770
- this.possibilities$ = possibilitiesFromProvider$;
4769
+ var refreshPossibilities = function () {
4770
+ var possibilitiesFromProvider$ = _this.getPossibilitiesFromProvider();
4771
+ if (possibilitiesFromProvider$)
4772
+ _this.possibilities$ = possibilitiesFromProvider$;
4773
+ };
4774
+ refreshPossibilities();
4775
+ this.internalOptions.control.parent.valueChanges.pipe(operators.debounceTime(500)).subscribe(function () {
4776
+ refreshPossibilities();
4777
+ });
4771
4778
  };
4772
4779
  InputPossibilitiesBaseComponent.prototype.getPossibilitiesFromProvider = function () {
4773
4780
  var _a, _b, _c;