survey-angular-ui 2.3.0 → 2.3.1

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.
@@ -1696,6 +1696,7 @@
1696
1696
  };
1697
1697
  SurveyContentComponent.prototype.ngAfterViewChecked = function () {
1698
1698
  if (!!this.model && this.isSurveyUpdated) {
1699
+ this.isSurveyUpdated = false;
1699
1700
  this.model.afterRenderSurvey(this.rootEl.nativeElement);
1700
1701
  this.model.startTimerFromUI();
1701
1702
  }
@@ -5396,12 +5397,28 @@
5396
5397
  var HeaderComponent = /** @class */ (function (_super) {
5397
5398
  __extends(HeaderComponent, _super);
5398
5399
  function HeaderComponent() {
5399
- return _super !== null && _super.apply(this, arguments) || this;
5400
+ var _this = _super.apply(this, __spreadArray([], __read(arguments))) || this;
5401
+ _this.shouldProcessResponsiveness = false;
5402
+ return _this;
5400
5403
  }
5401
5404
  HeaderComponent.prototype.getModel = function () {
5402
5405
  this.model.survey = this.survey;
5403
5406
  return this.model;
5404
5407
  };
5408
+ HeaderComponent.prototype.onModelChanged = function () {
5409
+ _super.prototype.onModelChanged.call(this);
5410
+ this.shouldProcessResponsiveness = true;
5411
+ };
5412
+ HeaderComponent.prototype.ngAfterViewInit = function () {
5413
+ this.shouldProcessResponsiveness = true;
5414
+ };
5415
+ HeaderComponent.prototype.ngAfterViewChecked = function () {
5416
+ _super.prototype.ngAfterViewChecked.call(this);
5417
+ if (this.shouldProcessResponsiveness) {
5418
+ this.model.processResponsiveness();
5419
+ this.shouldProcessResponsiveness = false;
5420
+ }
5421
+ };
5405
5422
  return HeaderComponent;
5406
5423
  }(BaseAngular));
5407
5424
  HeaderComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: HeaderComponent, deps: null, target: i0__namespace.ɵɵFactoryTarget.Component });