survey-creator-core 1.9.97 → 1.9.98
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 +36 -22
- package/survey-creator-core.fontless.css +35 -21
- package/survey-creator-core.fontless.css.map +1 -1
- package/survey-creator-core.fontless.min.css +8 -8
- package/survey-creator-core.i18n.js +1 -1
- package/survey-creator-core.i18n.min.js +1 -1
- package/survey-creator-core.js +264 -162
- package/survey-creator-core.js.map +1 -1
- package/survey-creator-core.min.css +9 -9
- package/survey-creator-core.min.js +2 -2
- package/typings/components/page.d.ts +2 -0
- package/typings/components/tabs/theme-custom-questions/element-settings.d.ts +7 -1
- package/typings/components/tabs/theme-custom-questions/font-settings.d.ts +7 -0
- package/typings/creator-base.d.ts +1 -0
- package/typings/editorLocalization.d.ts +1 -0
- package/typings/localization/english.d.ts +1 -0
- package/typings/property-grid/index.d.ts +1 -0
|
@@ -9,8 +9,10 @@ export declare class PageAdorner extends SurveyElementAdornerBase<PageModel> {
|
|
|
9
9
|
questionTypeSelectorModel: any;
|
|
10
10
|
currentAddQuestionType: string;
|
|
11
11
|
dragTypeOverMe: DragTypeOverMeEnum;
|
|
12
|
+
private updateDragTypeOverMe;
|
|
12
13
|
constructor(creator: CreatorBase, page: PageModel);
|
|
13
14
|
protected attachElement(surveyElement: PageModel): void;
|
|
15
|
+
protected detachElement(surveyElement: PageModel): void;
|
|
14
16
|
protected onElementSelectedChanged(isSelected: boolean): void;
|
|
15
17
|
private patchPageForDragDrop;
|
|
16
18
|
dispose(): void;
|
|
@@ -1 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
import { IQuestion } from "survey-core";
|
|
2
|
+
export declare function elementSettingsToCssVariable(question: IQuestion, themeCssVariables: {
|
|
3
|
+
[index: string]: string;
|
|
4
|
+
}): void;
|
|
5
|
+
export declare function elementSettingsFromCssVariable(question: IQuestion, themeCssVariables: {
|
|
6
|
+
[index: string]: string;
|
|
7
|
+
}, defaultBackcolorVariable: string, defaultHovercolorVariable: string): any;
|
|
@@ -1 +1,8 @@
|
|
|
1
|
+
import { IQuestion } from "survey-core";
|
|
1
2
|
export declare const DefaultFonts: string[];
|
|
3
|
+
export declare function fontsettingsToCssVariable(question: IQuestion, themeCssVariables: {
|
|
4
|
+
[index: string]: string;
|
|
5
|
+
}): void;
|
|
6
|
+
export declare function fontsettingsFromCssVariable(question: IQuestion, themeCssVariables: {
|
|
7
|
+
[index: string]: string;
|
|
8
|
+
}, defaultColorVariable?: string): any;
|
|
@@ -162,6 +162,7 @@ export declare class CreatorBase extends Base implements ISurveyCreatorOptions,
|
|
|
162
162
|
* - `"portrait"`
|
|
163
163
|
*/
|
|
164
164
|
previewOrientation: "landscape" | "portrait";
|
|
165
|
+
startEditTitleOnQuestionAdded: boolean;
|
|
165
166
|
private isRTLValue;
|
|
166
167
|
private alwaySaveTextInPropertyEditorsValue;
|
|
167
168
|
private toolbarValue;
|
|
@@ -128,6 +128,7 @@ export declare class PropertyGridModel {
|
|
|
128
128
|
protected createSurvey(json: any): SurveyModel;
|
|
129
129
|
protected getSurveyJSON(): any;
|
|
130
130
|
private validateQuestionValue;
|
|
131
|
+
private getErrorTextOnValidate;
|
|
131
132
|
private onValidateQuestion;
|
|
132
133
|
private onValueChanging;
|
|
133
134
|
private isPropNameInValid;
|