survey-creator-core 1.9.104 → 1.9.105
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 +8 -9
- package/survey-creator-core.fontless.css +7 -8
- package/survey-creator-core.fontless.css.map +1 -1
- package/survey-creator-core.fontless.min.css +5 -5
- package/survey-creator-core.i18n.js +99 -99
- package/survey-creator-core.i18n.js.map +1 -1
- package/survey-creator-core.i18n.min.js +2 -2
- package/survey-creator-core.js +138 -73
- package/survey-creator-core.js.map +1 -1
- package/survey-creator-core.min.css +6 -6
- package/survey-creator-core.min.js +2 -2
- package/typings/components/tabs/test.d.ts +1 -0
- package/typings/components/tabs/theme.d.ts +1 -0
- package/typings/components/tabs/translation.d.ts +7 -1
- package/typings/editorLocalization.d.ts +2 -0
- package/typings/localization/english.d.ts +1 -0
- package/typings/property-grid/matrices.d.ts +0 -1
- package/typings/survey-elements.d.ts +2 -1
- package/typings/toolbox.d.ts +2 -0
|
@@ -93,6 +93,7 @@ export declare class ThemeSurveyTabViewModel extends Base {
|
|
|
93
93
|
protected createThemeEditorSurvey(): SurveyModel;
|
|
94
94
|
private loadThemeIntoPropertyGrid;
|
|
95
95
|
private updatePGEditors;
|
|
96
|
+
private raiseThemeChanged;
|
|
96
97
|
private setThemeToSurvey;
|
|
97
98
|
private getThemeEditorSurveyJSON;
|
|
98
99
|
}
|
|
@@ -71,6 +71,7 @@ export declare class TranslationGroup extends TranslationItemBase {
|
|
|
71
71
|
hasIndent: boolean;
|
|
72
72
|
private isRootValue;
|
|
73
73
|
private itemValues;
|
|
74
|
+
private parentValue;
|
|
74
75
|
constructor(name: any, obj: any, translation?: ITranslationLocales, text?: string, hasIndent?: boolean);
|
|
75
76
|
getType(): string;
|
|
76
77
|
showHeader: boolean;
|
|
@@ -78,6 +79,11 @@ export declare class TranslationGroup extends TranslationItemBase {
|
|
|
78
79
|
get locItems(): Array<TranslationItem>;
|
|
79
80
|
get isRoot(): boolean;
|
|
80
81
|
setAsRoot(): void;
|
|
82
|
+
setParent(parent: TranslationGroup): void;
|
|
83
|
+
get parent(): TranslationGroup;
|
|
84
|
+
get fullName(): string;
|
|
85
|
+
protected getNameForChild(): string;
|
|
86
|
+
protected get isFinalNameObj(): boolean;
|
|
81
87
|
getItemByName(name: string): TranslationItemBase;
|
|
82
88
|
get groups(): Array<TranslationGroup>;
|
|
83
89
|
get isGroup(): boolean;
|
|
@@ -103,6 +109,7 @@ export declare class TranslationGroup extends TranslationItemBase {
|
|
|
103
109
|
private getDefaultValue;
|
|
104
110
|
private isItemValueArray;
|
|
105
111
|
private createGroups;
|
|
112
|
+
private addNewGroup;
|
|
106
113
|
private createItemValuesLocale;
|
|
107
114
|
private addCustomPropertiesForItemValue;
|
|
108
115
|
}
|
|
@@ -156,7 +163,6 @@ export declare class Translation extends Base implements ITranslationLocales {
|
|
|
156
163
|
private createStringsHeaderSurvey;
|
|
157
164
|
private addTranslationGroupIntoStringsSurvey;
|
|
158
165
|
private addLocaleColumns;
|
|
159
|
-
private getStringsSurveyQuestionName;
|
|
160
166
|
private getStringsSurveyData;
|
|
161
167
|
private getStringsQuestionData;
|
|
162
168
|
private updateHeaderStringsSurveyColumns;
|
|
@@ -7,6 +7,7 @@ export declare class EditorLocalization {
|
|
|
7
7
|
reset(): void;
|
|
8
8
|
getString(strName: string, locale?: string): string;
|
|
9
9
|
hasString(strName: string, locale?: string): boolean;
|
|
10
|
+
private getStringByLocale;
|
|
10
11
|
getLocaleName(loc: string, defaultLocale?: string): string;
|
|
11
12
|
getPropertyName(strName: string, defaultName?: string): string;
|
|
12
13
|
getPropertyTitle(strName: string): string;
|
|
@@ -162,6 +163,7 @@ export declare var defaultStrings: {
|
|
|
162
163
|
translationPlaceHolder: string;
|
|
163
164
|
themeExportButton: string;
|
|
164
165
|
themeImportButton: string;
|
|
166
|
+
themeResetButton: string;
|
|
165
167
|
bold: string;
|
|
166
168
|
italic: string;
|
|
167
169
|
underline: string;
|
|
@@ -5,7 +5,6 @@ export declare abstract class PropertyGridEditorMatrix extends PropertyGridEdito
|
|
|
5
5
|
static getNewColumnName(objs: Array<any>, keyPropName: string, baseName: string): string | number;
|
|
6
6
|
onCreated(obj: Base, question: Question, prop: JsonObjectProperty): void;
|
|
7
7
|
onSetup(obj: Base, question: Question, prop: JsonObjectProperty, options: ISurveyCreatorOptions): void;
|
|
8
|
-
private initializeAcceptedTypes;
|
|
9
8
|
private initializePlaceholder;
|
|
10
9
|
onMatrixCellCreated(obj: Base, options: any): void;
|
|
11
10
|
onMatrixCellValueChanged(obj: Base, options: any): void;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { DragDropCore, DragTypeOverMeEnum, IElement, IPanel, IShortcutText, ISurveyElement, JsonObject, PageModel, QuestionRowModel } from "survey-core";
|
|
2
|
+
import { IQuestionToolboxItem } from "./toolbox";
|
|
2
3
|
export declare function calculateIsEdge(dropTargetNode: HTMLElement, clientY: number): boolean;
|
|
3
4
|
export declare function calculateIsSide(dropTargetNode: HTMLElement, clientX: number): boolean;
|
|
4
5
|
export declare function calculateDragOverLocation(clientX: number, clientY: number, dropTargetNode: HTMLElement): DragTypeOverMeEnum;
|
|
@@ -15,7 +16,7 @@ export declare class DragDropSurveyElements extends DragDropCore<any> {
|
|
|
15
16
|
protected dragOverLocation: DragTypeOverMeEnum;
|
|
16
17
|
protected get draggedElementType(): string;
|
|
17
18
|
protected isDraggedElementSelected: boolean;
|
|
18
|
-
startDragToolboxItem(event: PointerEvent, draggedElementJson: JsonObject,
|
|
19
|
+
startDragToolboxItem(event: PointerEvent, draggedElementJson: JsonObject, toolboxItemModel: IQuestionToolboxItem): void;
|
|
19
20
|
startDragSurveyElement(event: PointerEvent, draggedElement: any, isElementSelected?: boolean): void;
|
|
20
21
|
protected getShortcutText(draggedElement: IShortcutText): string;
|
|
21
22
|
protected createDraggedElementShortcut(text: string, draggedElementNode?: HTMLElement, event?: PointerEvent): HTMLElement;
|
package/typings/toolbox.d.ts
CHANGED
|
@@ -20,6 +20,7 @@ export interface IQuestionToolboxItem extends IAction {
|
|
|
20
20
|
* Toolbox item title
|
|
21
21
|
*/
|
|
22
22
|
title: string;
|
|
23
|
+
className: string;
|
|
23
24
|
/**
|
|
24
25
|
* Toolbox item tooltip. It equals to title if it is empty
|
|
25
26
|
*/
|
|
@@ -47,6 +48,7 @@ export declare class QuestionToolboxCategory extends Base {
|
|
|
47
48
|
export declare class QuestionToolboxItem extends Action implements IQuestionToolboxItem {
|
|
48
49
|
private item;
|
|
49
50
|
constructor(item: IQuestionToolboxItem);
|
|
51
|
+
className: string;
|
|
50
52
|
iconName: string;
|
|
51
53
|
name: string;
|
|
52
54
|
json: any;
|