survey-creator-angular 2.5.22 → 2.5.23

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "survey-creator-angular",
3
- "version": "2.5.22",
3
+ "version": "2.5.23",
4
4
  "description": "A white-label drag-and-drop form builder for Angular that lets you design complex, interactive forms and surveys without writing code. It generates JSON schemas used by the SurveyJS Form Library to render dynamic forms in your Angular app.",
5
5
  "author": "DevSoft Baltic OU <info@devsoftbaltic.com>",
6
6
  "homepage": "https://surveyjs.io/",
@@ -40,9 +40,9 @@
40
40
  "@angular/cdk": "*",
41
41
  "@angular/core": "*",
42
42
  "@angular/forms": "*",
43
- "survey-angular-ui": "2.5.22",
44
- "survey-core": "2.5.22",
45
- "survey-creator-core": "2.5.22"
43
+ "survey-angular-ui": "2.5.23",
44
+ "survey-core": "2.5.23",
45
+ "survey-creator-core": "2.5.23"
46
46
  },
47
47
  "overrides": {
48
48
  "stylus": "github:stylus/stylus#0.54.8"
@@ -1,8 +1,19 @@
1
+ import { AfterViewInit, ChangeDetectorRef, OnDestroy, ViewContainerRef } from "@angular/core";
1
2
  import { BaseAngular } from "survey-angular-ui";
2
3
  import { SurveySimulatorModel } from "survey-creator-core";
3
4
  import * as i0 from "@angular/core";
4
- export declare class SimulatorComponent extends BaseAngular<SurveySimulatorModel> {
5
+ export declare class SimulatorComponent extends BaseAngular<SurveySimulatorModel> implements AfterViewInit, OnDestroy {
5
6
  model: SurveySimulatorModel;
7
+ constructor(changeDetectorRef: ChangeDetectorRef, viewContainerRef: ViewContainerRef);
8
+ /**
9
+ * `BaseAngular` defers updates while `model.isRendering` is true during `ngDoCheck`, so
10
+ * `popupOverlayHeight` (and frame-driving props) would not refresh the embedded template in time.
11
+ * These properties must run synchronous `detectChanges` so `[style.--sv-popup-overlay-height]` applies.
12
+ */
13
+ protected getPropertiesToUpdateSync(): Array<string>;
14
+ ngAfterViewInit(): void;
15
+ ngOnDestroy(): void;
16
+ protected afterUpdate(isSync?: boolean): void;
6
17
  protected getModel(): SurveySimulatorModel;
7
18
  get simulatorFrame(): any;
8
19
  activateZoom(): void;