survey-angular-ui 1.9.54 → 1.9.56

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.
Files changed (29) hide show
  1. package/angular-ui.d.ts +2 -0
  2. package/angular-ui.module.d.ts +58 -55
  3. package/components/element-title/title-actions.component.d.ts +7 -0
  4. package/components/list/list-item.component.d.ts +3 -1
  5. package/components/list/list.component.d.ts +6 -1
  6. package/components/skeleton/skeleton.component.d.ts +7 -0
  7. package/components/timer-panel/timer-panel.component.d.ts +10 -0
  8. package/esm2020/angular-ui.mjs +3 -1
  9. package/esm2020/angular-ui.module.mjs +15 -12
  10. package/esm2020/components/element-title/element-title.component.mjs +5 -6
  11. package/esm2020/components/element-title/title-actions.component.mjs +17 -0
  12. package/esm2020/components/list/list-item.component.mjs +6 -3
  13. package/esm2020/components/list/list.component.mjs +18 -4
  14. package/esm2020/components/renderAs/boolean-checkbox/boolean-checkbox.component.mjs +7 -6
  15. package/esm2020/components/renderAs/dropdown-select/dropdown-select.component.mjs +3 -3
  16. package/esm2020/components/skeleton/skeleton.component.mjs +16 -0
  17. package/esm2020/components/timer-panel/timer-panel.component.mjs +23 -0
  18. package/esm2020/popup.survey.component.mjs +20 -9
  19. package/esm2020/questions/file.component.mjs +3 -3
  20. package/esm2020/questions/text.component.mjs +3 -3
  21. package/esm2020/row.component.mjs +42 -6
  22. package/esm2020/survey-content.component.mjs +10 -9
  23. package/fesm2015/survey-angular-ui.mjs +157 -49
  24. package/fesm2015/survey-angular-ui.mjs.map +1 -1
  25. package/fesm2020/survey-angular-ui.mjs +154 -49
  26. package/fesm2020/survey-angular-ui.mjs.map +1 -1
  27. package/package.json +1 -3
  28. package/popup.survey.component.d.ts +9 -7
  29. package/row.component.d.ts +9 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "survey-angular-ui",
3
- "version": "1.9.54",
3
+ "version": "1.9.56",
4
4
  "description": "survey.js is a JavaScript Survey Library. It is a modern way to add a survey to your website. It uses JSON for survey metadata and results.",
5
5
  "keywords": [
6
6
  "Survey",
@@ -21,8 +21,6 @@
21
21
  "@angular/cdk": "*",
22
22
  "@angular/core": "*",
23
23
  "@angular/forms": "*",
24
- "rxjs": "~7.4.0",
25
- "zone.js": "~0.11.4",
26
24
  "survey-core": "^1.9.46"
27
25
  },
28
26
  "module": "fesm2015/survey-angular-ui.mjs",
@@ -1,13 +1,15 @@
1
- import { ChangeDetectorRef } from "@angular/core";
1
+ import { ChangeDetectorRef, OnChanges, SimpleChanges } from "@angular/core";
2
2
  import { PopupSurveyModel, SurveyModel } from "survey-core";
3
3
  import { BaseAngular } from "./base-angular";
4
4
  import * as i0 from "@angular/core";
5
- export declare class PopupSurveyComponent extends BaseAngular<PopupSurveyModel> {
6
- model: PopupSurveyModel;
7
- protected getModel(): PopupSurveyModel;
8
- get survey(): SurveyModel;
5
+ export declare class PopupSurveyComponent extends BaseAngular<PopupSurveyModel> implements OnChanges {
6
+ model: SurveyModel;
7
+ isExpanded?: boolean;
8
+ closeOnCompleteTimeout?: number;
9
+ popup: PopupSurveyModel;
9
10
  constructor(changeDetectorRef: ChangeDetectorRef);
10
- protected onModelChanged(): void;
11
+ protected getModel(): PopupSurveyModel;
12
+ ngOnChanges(changes: SimpleChanges): void;
11
13
  static ɵfac: i0.ɵɵFactoryDeclaration<PopupSurveyComponent, never>;
12
- static ɵcmp: i0.ɵɵComponentDeclaration<PopupSurveyComponent, "popup-survey", never, { "model": "model"; }, {}, never, never>;
14
+ static ɵcmp: i0.ɵɵComponentDeclaration<PopupSurveyComponent, "popup-survey", never, { "model": "model"; "isExpanded": "isExpanded"; "closeOnCompleteTimeout": "closeOnCompleteTimeout"; }, {}, never, never>;
13
15
  }
@@ -1,10 +1,18 @@
1
+ import { AfterViewInit, ChangeDetectorRef, ElementRef, NgZone, ViewContainerRef } from "@angular/core";
1
2
  import { IElement, QuestionRowModel } from "survey-core";
2
3
  import { BaseAngular } from "./base-angular";
3
4
  import * as i0 from "@angular/core";
4
- export declare class RowComponent extends BaseAngular<QuestionRowModel> {
5
+ export declare class RowComponent extends BaseAngular<QuestionRowModel> implements AfterViewInit {
6
+ private ngZone;
5
7
  row: QuestionRowModel;
8
+ container?: ElementRef<HTMLDivElement>;
9
+ constructor(cdr: ChangeDetectorRef, vcr: ViewContainerRef, ngZone: NgZone);
6
10
  protected getModel(): QuestionRowModel;
7
11
  trackElementBy(index: number, element: IElement): string;
12
+ ngAfterViewInit(): void;
13
+ protected onModelChanged(): void;
14
+ private stopLazyRendering;
15
+ ngOnDestroy(): void;
8
16
  static ɵfac: i0.ɵɵFactoryDeclaration<RowComponent, never>;
9
17
  static ɵcmp: i0.ɵɵComponentDeclaration<RowComponent, "sv-ng-row", never, { "row": "row"; }, {}, never, never>;
10
18
  }