survey-angular-ui 1.12.34 → 1.12.36
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 +3 -2
- package/bundles/survey-angular-ui.umd.js.map +1 -1
- package/esm2015/page.component.js +2 -2
- package/esm2015/row.component.js +3 -2
- package/fesm2015/survey-angular-ui.js +3 -2
- package/fesm2015/survey-angular-ui.js.map +1 -1
- package/package.json +2 -2
- package/row.component.d.ts +1 -0
|
@@ -1464,7 +1464,7 @@
|
|
|
1464
1464
|
this.row.setRootElement(el);
|
|
1465
1465
|
if (!this.row.isNeedRender) {
|
|
1466
1466
|
this.ngZone.runOutsideAngular(function () {
|
|
1467
|
-
setTimeout(function () {
|
|
1467
|
+
_this.lazyRenderingTimeout = setTimeout(function () {
|
|
1468
1468
|
_this.row.startLazyRendering(el);
|
|
1469
1469
|
}, 10);
|
|
1470
1470
|
});
|
|
@@ -1487,6 +1487,7 @@
|
|
|
1487
1487
|
}
|
|
1488
1488
|
};
|
|
1489
1489
|
RowComponent.prototype.stopLazyRendering = function () {
|
|
1490
|
+
clearTimeout(this.lazyRenderingTimeout);
|
|
1490
1491
|
this.row.stopLazyRendering();
|
|
1491
1492
|
this.row.isNeedRender = !this.row.isLazyRendering();
|
|
1492
1493
|
};
|
|
@@ -1535,7 +1536,7 @@
|
|
|
1535
1536
|
return PageComponent;
|
|
1536
1537
|
}(BaseAngular));
|
|
1537
1538
|
PageComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: PageComponent, deps: null, target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
1538
|
-
PageComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: PageComponent, selector: "page, sv-ng-page", inputs: { model: "model", survey: "survey" }, viewQueries: [{ propertyName: "pageContainerRef", first: true, predicate: ["pageContainer"], descendants: true, read: i0.ElementRef }], usesInheritance: true, ngImport: i0__namespace, template: "<ng-template #template>\n <ng-container *ngIf=\"!!this.survey && !!this.model && this.model.isVisible && !!this.model.survey\">\n <div [class]=\"model.cssRoot\" #pageContainer>\n <sv-ng-element-title [element]=\"model\"></sv-ng-element-title>\n <div *ngIf=\"model._showDescription\" [class]=\"model.cssClasses.page
|
|
1539
|
+
PageComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: PageComponent, selector: "page, sv-ng-page", inputs: { model: "model", survey: "survey" }, viewQueries: [{ propertyName: "pageContainerRef", first: true, predicate: ["pageContainer"], descendants: true, read: i0.ElementRef }], usesInheritance: true, ngImport: i0__namespace, template: "<ng-template #template>\n <ng-container *ngIf=\"!!this.survey && !!this.model && this.model.isVisible && !!this.model.survey\">\n <div [class]=\"model.cssRoot\" #pageContainer>\n <sv-ng-element-title [element]=\"model\"></sv-ng-element-title>\n <div *ngIf=\"model._showDescription\" [class]=\"model.cssClasses.page?.description\">\n <sv-ng-string [model]=\"model.locDescription\"></sv-ng-string>\n </div>\n <div *ngIf=\"model.hasVisibleErrors\" [element]=\"model\" sv-ng-errors></div>\n <ng-container *ngFor=\"let row of model.visibleRows\">\n <ng-template [component]=\"{ name: $any(model.survey).getRowWrapperComponentName(row), data: { componentData: $any(model.survey).getRowWrapperComponentData(row) } }\">\n <sv-ng-row [row]=\"row\"></sv-ng-row>\n </ng-template>\n </ng-container>\n </div>\n </ng-container> \n</ng-template>", styles: [":host{display:none}\n"], components: [{ type: ElementTitleComponent, selector: "sv-ng-element-title", inputs: ["element"] }, { type: SurveyStringComponent, selector: "sv-ng-string, '[sv-ng-string]'", inputs: ["model"] }, { type: ErrorsComponent, selector: "'[sv-ng-errors]'", inputs: ["element", "location"] }, { type: RowComponent, selector: "sv-ng-row", inputs: ["row"] }], directives: [{ type: i2__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: DynamicComponentDirective, selector: "[component]", inputs: ["component"] }] });
|
|
1539
1540
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: PageComponent, decorators: [{
|
|
1540
1541
|
type: i0.Component,
|
|
1541
1542
|
args: [{
|