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.
- package/bundles/survey-angular-ui.umd.js +18 -1
- package/bundles/survey-angular-ui.umd.js.map +1 -1
- package/components/header/header.component.d.ts +4 -0
- package/esm2015/components/header/header.component.js +19 -1
- package/esm2015/survey-content.component.js +2 -1
- package/fesm2015/survey-angular-ui.js +19 -0
- package/fesm2015/survey-angular-ui.js.map +1 -1
- package/package.json +2 -2
|
@@ -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
|
-
|
|
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 });
|