survey-angular-ui 2.5.45 → 2.5.47

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.
@@ -1438,7 +1438,7 @@
1438
1438
  SurveyContentComponent.prototype.onModelChanged = function () {
1439
1439
  var _this = this;
1440
1440
  if (!!this.previousModel) {
1441
- this.previousModel.destroyResizeObserver();
1441
+ this.previousModel.beforeDestroySurveyElement();
1442
1442
  this.previousModel.renderCallback = undefined;
1443
1443
  }
1444
1444
  if (!!this.model) {
@@ -1451,8 +1451,7 @@
1451
1451
  SurveyContentComponent.prototype.ngOnDestroy = function () {
1452
1452
  _super.prototype.ngOnDestroy.call(this);
1453
1453
  if (!!this.model) {
1454
- this.model.rootElement = undefined;
1455
- this.model.destroyResizeObserver();
1454
+ this.model.beforeDestroySurveyElement();
1456
1455
  this.model.renderCallback = undefined;
1457
1456
  }
1458
1457
  };
@@ -3432,7 +3431,7 @@
3432
3431
  };
3433
3432
  Object.defineProperty(PanelComponent.prototype, "canRender", {
3434
3433
  get: function () {
3435
- return this.model && this.model.survey && this.model.getIsContentVisible();
3434
+ return this.model && this.model.survey && this.model.renderedIsContentVisible;
3436
3435
  },
3437
3436
  enumerable: false,
3438
3437
  configurable: true