survey-creator-core 1.9.94 → 1.9.96

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.
@@ -3,6 +3,7 @@ import { CreatorBase } from "../creator-base";
3
3
  export declare class MatrixCellWrapperEditSurvey {
4
4
  private cellQuestion;
5
5
  private surveyValue;
6
+ private creator;
6
7
  constructor(creator: CreatorBase, cellQuestion: Question);
7
8
  get survey(): SurveyModel;
8
9
  get question(): Question;
@@ -40,4 +40,6 @@ export declare class TestSurveyTabViewModel extends Base {
40
40
  setTheme(themeName: string, themeMapper: any): void;
41
41
  protected onPropertyValueChanged(name: string, oldValue: any, newValue: any): void;
42
42
  private updatePrevNextPageActionState;
43
+ private onScrollCallback;
44
+ onScroll(): boolean;
43
45
  }
@@ -37,6 +37,7 @@ export declare class ThemeSurveyTabViewModel extends Base {
37
37
  private themeEditorSurveyValue;
38
38
  private themeChanges;
39
39
  private colorCalculator;
40
+ private blockChanges;
40
41
  onSurveyCreatedCallback: (survey: SurveyModel) => any;
41
42
  simulator: SurveySimulatorModel;
42
43
  showInvisibleElements: any;
@@ -44,6 +45,8 @@ export declare class ThemeSurveyTabViewModel extends Base {
44
45
  isRunning: boolean;
45
46
  pageListItems: Array<IAction>;
46
47
  activePage: PageModel;
48
+ backgroundImage: any;
49
+ backgroundImageFit: any;
47
50
  themeName: any;
48
51
  themePalette: any;
49
52
  themeMode: any;
@@ -56,12 +59,13 @@ export declare class ThemeSurveyTabViewModel extends Base {
56
59
  get isPageToolbarVisible(): boolean;
57
60
  get themeEditorSurvey(): SurveyModel;
58
61
  get currentTheme(): ITheme;
59
- applySelectedTheme(saveChanges?: boolean): void;
62
+ applySelectedTheme(): void;
60
63
  constructor(surveyProvider: CreatorBase, startTheme?: any);
61
64
  private loadTheme;
62
65
  updateSimulatorSurvey(json: any, theme: any): void;
63
66
  exportToFile(fileName: string): void;
64
67
  importFromFile(file: File): void;
68
+ setThemeFromFile(theme: ITheme): void;
65
69
  setJSON(json: any, currTheme: any): void;
66
70
  initialize(json: any, options: any): void;
67
71
  private updatePageItem;
@@ -69,6 +73,7 @@ export declare class ThemeSurveyTabViewModel extends Base {
69
73
  private getSelectPageTitle;
70
74
  private getPageTitle;
71
75
  private updatePageList;
76
+ resetTheme(): void;
72
77
  show(): void;
73
78
  testAgain(): void;
74
79
  buildActions(): void;
@@ -81,6 +86,7 @@ export declare class ThemeSurveyTabViewModel extends Base {
81
86
  initializeColorCalculator(): void;
82
87
  protected createThemeEditorSurvey(): SurveyModel;
83
88
  private loadThemeIntoPropertyGrid;
89
+ private updatePGEditors;
84
90
  private setThemeToSurvey;
85
91
  private getThemeEditorSurveyJSON;
86
92
  }
@@ -22,6 +22,7 @@ export declare class QuestionColorModel extends QuestionTextModel {
22
22
  set choices(newValue: Array<ItemValue>);
23
23
  get showDropdownAction(): boolean;
24
24
  createDropdownAction(): Action;
25
+ protected calcCssClasses(css: any): void;
25
26
  private updateChoices;
26
27
  get itemComponent(): string;
27
28
  }