survey-creator-core 1.9.109 → 1.9.110

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.
@@ -316,6 +316,7 @@ export declare var logicCss: {
316
316
  };
317
317
  list: {
318
318
  root: string;
319
+ itemBody: string;
319
320
  };
320
321
  embeddedsurvey: {
321
322
  mainRoot: string;
@@ -325,6 +326,7 @@ export declare var logicCss: {
325
326
  defaultSizeMode: string;
326
327
  smallSizeMode: string;
327
328
  item: string;
329
+ itemWithTitle: string;
328
330
  itemAsIcon: string;
329
331
  itemActive: string;
330
332
  itemPressed: string;
@@ -1,17 +1,21 @@
1
1
  import { SurveySimulatorModel } from "../simulator";
2
2
  import { Base, PageModel, SurveyModel, Action, IAction, ActionContainer, ITheme, EventBase } from "survey-core";
3
3
  import { CreatorBase } from "../../creator-base";
4
+ import { UndoRedoManager } from "../../plugins/undo-redo/undo-redo-manager";
4
5
  export declare class ThemeBuilder extends Base {
5
6
  private surveyProvider;
6
7
  private startThemeClasses;
7
8
  private json;
8
9
  pages: ActionContainer;
9
10
  testAgainAction: Action;
11
+ nextPageAction: Action;
12
+ undoRedoManager: UndoRedoManager;
10
13
  private themeEditorSurveyValue;
11
14
  private themeCssVariablesChanges;
12
15
  private colorCalculator;
13
16
  private blockChanges;
14
17
  private _availableThemes;
18
+ private prevQuestionValues;
15
19
  onSurveyCreatedCallback: (survey: SurveyModel) => any;
16
20
  get themeCssCustomizations(): {
17
21
  [index: string]: string;
@@ -25,6 +29,7 @@ export declare class ThemeBuilder extends Base {
25
29
  backgroundImage: any;
26
30
  backgroundImageFit: any;
27
31
  backgroundImageAttachment: any;
32
+ backgroundOpacity: any;
28
33
  themeName: any;
29
34
  themePalette: any;
30
35
  themeMode: any;
@@ -36,6 +41,9 @@ export declare class ThemeBuilder extends Base {
36
41
  get isPageToolbarVisible(): boolean;
37
42
  get themeEditorSurvey(): SurveyModel;
38
43
  get currentTheme(): ITheme;
44
+ get currentThemeCssVariables(): {
45
+ [index: string]: string;
46
+ };
39
47
  onThemeSelected: EventBase<ThemeBuilder, {
40
48
  theme: ITheme;
41
49
  }>;
@@ -68,6 +76,10 @@ export declare class ThemeBuilder extends Base {
68
76
  private setActivePageItem;
69
77
  private getPageItemByPage;
70
78
  private initializeColorCalculator;
79
+ private generalPropertiesChanged;
80
+ private cssVariablePropertiesChanged;
81
+ private updateDependentQuestionValues;
82
+ private setThemeCssVariablesChanges;
71
83
  protected createThemeEditorSurvey(): SurveyModel;
72
84
  findSuitableTheme(themeName: string): ITheme;
73
85
  private loadThemeIntoPropertyGrid;
@@ -8,6 +8,8 @@ export declare class ThemeTabPlugin implements ICreatorPlugin {
8
8
  private resetTheme;
9
9
  private importAction;
10
10
  private exportAction;
11
+ private undoAction;
12
+ private redoAction;
11
13
  private inputFileElement;
12
14
  private simulatorTheme;
13
15
  private sidebarTab;
@@ -21,6 +23,9 @@ export declare class ThemeTabPlugin implements ICreatorPlugin {
21
23
  exportToFile(fileName: string): void;
22
24
  importFromFile(file: File, callback?: (theme: ITheme) => void): void;
23
25
  createActions(): Array<Action>;
26
+ undo(): void;
27
+ redo(): void;
28
+ private updateUndeRedoActions;
24
29
  addFooterActions(): void;
25
30
  get availableThemes(): string[];
26
31
  set availableThemes(availebleThemes: string[]);
@@ -669,6 +669,9 @@ export declare var defaultStrings: {
669
669
  pv: {
670
670
  true: string;
671
671
  false: string;
672
+ file: string;
673
+ camera: string;
674
+ "file-camera": string;
672
675
  inherit: string;
673
676
  show: string;
674
677
  hide: string;
@@ -639,6 +639,9 @@ export declare var enStrings: {
639
639
  pv: {
640
640
  true: string;
641
641
  false: string;
642
+ file: string;
643
+ camera: string;
644
+ "file-camera": string;
642
645
  inherit: string;
643
646
  show: string;
644
647
  hide: string;