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.
- package/fonts.fontless.css +1 -1
- package/fonts.fontless.min.css +1 -1
- package/package.json +2 -2
- package/survey-creator-core.css +20 -9
- package/survey-creator-core.fontless.css +19 -8
- package/survey-creator-core.fontless.css.map +1 -1
- package/survey-creator-core.fontless.min.css +8 -8
- package/survey-creator-core.i18n.js +373 -39
- package/survey-creator-core.i18n.js.map +1 -1
- package/survey-creator-core.i18n.min.js +2 -2
- package/survey-creator-core.js +242 -107
- package/survey-creator-core.js.map +1 -1
- package/survey-creator-core.min.css +9 -9
- package/survey-creator-core.min.js +5 -5
- package/typings/components/tabs/logic-theme.d.ts +2 -0
- package/typings/components/tabs/theme-builder.d.ts +12 -0
- package/typings/components/tabs/theme-plugin.d.ts +5 -0
- package/typings/editorLocalization.d.ts +3 -0
- package/typings/localization/english.d.ts +3 -0
|
@@ -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[]);
|