survey-creator-angular 2.5.14 → 2.5.15
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-creator-angular.umd.js +9 -2
- package/bundles/survey-creator-angular.umd.js.map +1 -1
- package/esm2015/questions/question-embedded-survey.component.js +11 -4
- package/fesm2015/survey-creator-angular.js +9 -2
- package/fesm2015/survey-creator-angular.js.map +1 -1
- package/package.json +4 -4
- package/questions/question-embedded-survey.component.d.ts +3 -0
|
@@ -1620,6 +1620,10 @@
|
|
|
1620
1620
|
enumerable: false,
|
|
1621
1621
|
configurable: true
|
|
1622
1622
|
});
|
|
1623
|
+
EmbeddedSurveyQuestionComponent.prototype.ngAfterViewInit = function () {
|
|
1624
|
+
_super.prototype.ngAfterViewInit.call(this);
|
|
1625
|
+
this.survey.rootElement = this.container.nativeElement;
|
|
1626
|
+
};
|
|
1623
1627
|
EmbeddedSurveyQuestionComponent.prototype.onModelChanged = function () {
|
|
1624
1628
|
var _this = this;
|
|
1625
1629
|
_super.prototype.onModelChanged.call(this);
|
|
@@ -1632,7 +1636,7 @@
|
|
|
1632
1636
|
return EmbeddedSurveyQuestionComponent;
|
|
1633
1637
|
}(i1.QuestionAngular));
|
|
1634
1638
|
EmbeddedSurveyQuestionComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: EmbeddedSurveyQuestionComponent, deps: null, target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
1635
|
-
EmbeddedSurveyQuestionComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: EmbeddedSurveyQuestionComponent, selector: "svc-embeddedsurvey-question", usesInheritance: true, ngImport: i0__namespace, template: "<ng-template #template>\n <ng-container *ngIf=\"!!model && !!survey && survey.currentPage\">\n
|
|
1639
|
+
EmbeddedSurveyQuestionComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: EmbeddedSurveyQuestionComponent, selector: "svc-embeddedsurvey-question", viewQueries: [{ propertyName: "container", first: true, predicate: ["container"], descendants: true }], usesInheritance: true, ngImport: i0__namespace, template: "<ng-template #template>\n <div #container style=\"display: contents\">\n <ng-container *ngIf=\"!!model && !!survey && survey.currentPage\">\n <page [model]=\"survey.currentPage\" [survey]=\"survey\"></page>\n </ng-container>\n </div>\n</ng-template>", styles: [":host { display: none; }"], components: [{ type: i1__namespace.PageComponent, selector: "sv-page, page, sv-ng-page", inputs: ["model", "survey"] }], directives: [{ type: i2__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
1636
1640
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: EmbeddedSurveyQuestionComponent, decorators: [{
|
|
1637
1641
|
type: i0.Component,
|
|
1638
1642
|
args: [{
|
|
@@ -1640,7 +1644,10 @@
|
|
|
1640
1644
|
templateUrl: "./question-embedded-survey.component.html",
|
|
1641
1645
|
styles: [":host { display: none; }"]
|
|
1642
1646
|
}]
|
|
1643
|
-
}]
|
|
1647
|
+
}], propDecorators: { container: [{
|
|
1648
|
+
type: i0.ViewChild,
|
|
1649
|
+
args: ["container"]
|
|
1650
|
+
}] } });
|
|
1644
1651
|
i1.AngularComponentFactory.Instance.registerComponent("embeddedsurvey-question", EmbeddedSurveyQuestionComponent);
|
|
1645
1652
|
|
|
1646
1653
|
var TranslationTabComponent = /** @class */ (function (_super) {
|