survey-creator-core 1.9.111 → 1.9.112
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/i18n/arabic.js +1717 -0
- package/i18n/arabic.js.map +1 -0
- package/i18n/arabic.min.js +7 -0
- package/i18n/bulgarian.js +1354 -0
- package/i18n/bulgarian.js.map +1 -0
- package/i18n/bulgarian.min.js +7 -0
- package/i18n/croatian.js +1801 -0
- package/i18n/croatian.js.map +1 -0
- package/i18n/croatian.min.js +7 -0
- package/i18n/czech.js +1356 -0
- package/i18n/czech.js.map +1 -0
- package/i18n/czech.min.js +7 -0
- package/i18n/danish.js +1992 -0
- package/i18n/danish.js.map +1 -0
- package/i18n/danish.min.js +7 -0
- package/i18n/dutch.js +1787 -0
- package/i18n/dutch.js.map +1 -0
- package/i18n/dutch.min.js +7 -0
- package/i18n/english.js +1244 -0
- package/i18n/english.js.map +1 -0
- package/i18n/english.min.js +7 -0
- package/i18n/finnish.js +1807 -0
- package/i18n/finnish.js.map +1 -0
- package/i18n/finnish.min.js +7 -0
- package/i18n/french.js +1864 -0
- package/i18n/french.js.map +1 -0
- package/i18n/french.min.js +7 -0
- package/i18n/german.js +1527 -0
- package/i18n/german.js.map +1 -0
- package/i18n/german.min.js +7 -0
- package/i18n/hungarian.js +1961 -0
- package/i18n/hungarian.js.map +1 -0
- package/i18n/hungarian.min.js +7 -0
- package/i18n/index.js +45735 -0
- package/i18n/index.js.map +1 -0
- package/i18n/index.min.js +7 -0
- package/i18n/indonesian.js +1961 -0
- package/i18n/indonesian.js.map +1 -0
- package/i18n/indonesian.min.js +7 -0
- package/i18n/italian.js +1549 -0
- package/i18n/italian.js.map +1 -0
- package/i18n/italian.min.js +7 -0
- package/i18n/japanese.js +1806 -0
- package/i18n/japanese.js.map +1 -0
- package/i18n/japanese.min.js +7 -0
- package/i18n/korean.js +2011 -0
- package/i18n/korean.js.map +1 -0
- package/i18n/korean.min.js +7 -0
- package/i18n/malay.js +1760 -0
- package/i18n/malay.js.map +1 -0
- package/i18n/malay.min.js +7 -0
- package/i18n/mongolian.js +1448 -0
- package/i18n/mongolian.js.map +1 -0
- package/i18n/mongolian.min.js +7 -0
- package/i18n/norwegian.js +1811 -0
- package/i18n/norwegian.js.map +1 -0
- package/i18n/norwegian.min.js +7 -0
- package/i18n/persian.js +1746 -0
- package/i18n/persian.js.map +1 -0
- package/i18n/persian.min.js +7 -0
- package/i18n/polish.js +2079 -0
- package/i18n/polish.js.map +1 -0
- package/i18n/polish.min.js +7 -0
- package/i18n/portuguese.js +1457 -0
- package/i18n/portuguese.js.map +1 -0
- package/i18n/portuguese.min.js +7 -0
- package/i18n/russian.js +1868 -0
- package/i18n/russian.js.map +1 -0
- package/i18n/russian.min.js +7 -0
- package/i18n/simplified-chinese.js +1948 -0
- package/i18n/simplified-chinese.js.map +1 -0
- package/i18n/simplified-chinese.min.js +7 -0
- package/i18n/slovak.js +1760 -0
- package/i18n/slovak.js.map +1 -0
- package/i18n/slovak.min.js +7 -0
- package/i18n/spanish.js +1573 -0
- package/i18n/spanish.js.map +1 -0
- package/i18n/spanish.min.js +7 -0
- package/i18n/swedish.js +1985 -0
- package/i18n/swedish.js.map +1 -0
- package/i18n/swedish.min.js +7 -0
- package/i18n/tajik.js +1037 -0
- package/i18n/tajik.js.map +1 -0
- package/i18n/tajik.min.js +7 -0
- package/i18n/traditional-chinese.js +2084 -0
- package/i18n/traditional-chinese.js.map +1 -0
- package/i18n/traditional-chinese.min.js +7 -0
- package/i18n/turkish.js +1802 -0
- package/i18n/turkish.js.map +1 -0
- package/i18n/turkish.min.js +7 -0
- package/package.json +2 -2
- package/survey-creator-core.css +10 -3
- package/survey-creator-core.fontless.css +9 -2
- package/survey-creator-core.fontless.css.map +1 -1
- package/survey-creator-core.fontless.min.css +2 -2
- package/survey-creator-core.i18n.js +2171 -99
- package/survey-creator-core.i18n.js.map +1 -1
- package/survey-creator-core.i18n.min.js +2 -2
- package/survey-creator-core.js +866 -485
- package/survey-creator-core.js.map +1 -1
- package/survey-creator-core.min.css +3 -3
- package/survey-creator-core.min.js +5 -5
- package/typings/components/tabs/designer-plugin.d.ts +1 -0
- package/typings/components/tabs/logic-actions-model.d.ts +9 -1
- package/typings/components/tabs/test-plugin.d.ts +2 -0
- package/typings/components/tabs/theme-builder.d.ts +7 -0
- package/typings/components/tabs/theme-plugin.d.ts +7 -0
- package/typings/components/tabs/themes.d.ts +1 -0
- package/typings/creator-base.d.ts +134 -109
- package/typings/creator-settings.d.ts +2 -0
- package/typings/custom-questions/question-file.d.ts +5 -0
- package/typings/editorLocalization.d.ts +20 -9
- package/typings/localization/english.d.ts +20 -9
- package/typings/plugins/undo-redo/undo-redo-manager.d.ts +3 -0
- package/typings/property-grid/index.d.ts +1 -5
- package/typings/property-grid/matrices.d.ts +4 -3
- package/typings/questionconverter.d.ts +4 -3
|
@@ -194,11 +194,13 @@ export declare var defaultStrings: {
|
|
|
194
194
|
question_visibilityName: string;
|
|
195
195
|
question_enableName: string;
|
|
196
196
|
question_requireName: string;
|
|
197
|
-
|
|
197
|
+
question_resetValueName: string;
|
|
198
|
+
question_setValueName: string;
|
|
198
199
|
column_visibilityName: string;
|
|
199
200
|
column_enableName: string;
|
|
200
201
|
column_requireName: string;
|
|
201
|
-
|
|
202
|
+
column_resetValueName: string;
|
|
203
|
+
column_setValueName: string;
|
|
202
204
|
trigger_completeName: string;
|
|
203
205
|
trigger_setvalueName: string;
|
|
204
206
|
trigger_copyvalueName: string;
|
|
@@ -225,9 +227,14 @@ export declare var defaultStrings: {
|
|
|
225
227
|
question_visibilityText: string;
|
|
226
228
|
question_enableText: string;
|
|
227
229
|
question_requireText: string;
|
|
230
|
+
question_resetValueText: string;
|
|
231
|
+
question_setValueText: string;
|
|
228
232
|
column_visibilityText: string;
|
|
229
233
|
column_enableText: string;
|
|
230
234
|
column_requireText: string;
|
|
235
|
+
column_resetValueText: string;
|
|
236
|
+
column_setValueText: string;
|
|
237
|
+
setValueExpressionPlaceholder: string;
|
|
231
238
|
trigger_completeText: string;
|
|
232
239
|
trigger_setvalueText: string;
|
|
233
240
|
trigger_setvalueEmptyText: string;
|
|
@@ -942,6 +949,7 @@ export declare var defaultStrings: {
|
|
|
942
949
|
defaultValueExpression: string;
|
|
943
950
|
requiredIf: string;
|
|
944
951
|
resetValueIf: string;
|
|
952
|
+
setValueIf: string;
|
|
945
953
|
validators: string;
|
|
946
954
|
bindings: string;
|
|
947
955
|
renderAs: string;
|
|
@@ -1019,6 +1027,8 @@ export declare var defaultStrings: {
|
|
|
1019
1027
|
groupGeneral: string;
|
|
1020
1028
|
groupAdvanced: string;
|
|
1021
1029
|
groupHeader: string;
|
|
1030
|
+
groupBackground: string;
|
|
1031
|
+
groupAppearance: string;
|
|
1022
1032
|
themeName: string;
|
|
1023
1033
|
themeMode: string;
|
|
1024
1034
|
themeModePanels: string;
|
|
@@ -1030,7 +1040,8 @@ export declare var defaultStrings: {
|
|
|
1030
1040
|
primaryDarkColor: string;
|
|
1031
1041
|
primaryLightColor: string;
|
|
1032
1042
|
coverTitleForecolor: string;
|
|
1033
|
-
|
|
1043
|
+
coverDescriptionForecolor: string;
|
|
1044
|
+
coverOverlapEnabled: string;
|
|
1034
1045
|
backgroundDimColor: string;
|
|
1035
1046
|
backgroundImage: string;
|
|
1036
1047
|
backgroundImageFitAuto: string;
|
|
@@ -1083,12 +1094,12 @@ export declare var defaultStrings: {
|
|
|
1083
1094
|
questionShadow: string;
|
|
1084
1095
|
editorShadow: string;
|
|
1085
1096
|
headerView: string;
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
1097
|
+
headerViewBasic: string;
|
|
1098
|
+
headerViewAdvanced: string;
|
|
1099
|
+
coverInheritWidthFrom: string;
|
|
1100
|
+
coverInheritWidthFromSurvey: string;
|
|
1101
|
+
coverInheritWidthFromPage: string;
|
|
1102
|
+
coverTextAreaWidth: string;
|
|
1092
1103
|
coverBackgroundColorSwitch: string;
|
|
1093
1104
|
coverBackgroundColorNone: string;
|
|
1094
1105
|
coverBackgroundColorAccentColor: string;
|
|
@@ -164,11 +164,13 @@ export declare var enStrings: {
|
|
|
164
164
|
question_visibilityName: string;
|
|
165
165
|
question_enableName: string;
|
|
166
166
|
question_requireName: string;
|
|
167
|
-
|
|
167
|
+
question_resetValueName: string;
|
|
168
|
+
question_setValueName: string;
|
|
168
169
|
column_visibilityName: string;
|
|
169
170
|
column_enableName: string;
|
|
170
171
|
column_requireName: string;
|
|
171
|
-
|
|
172
|
+
column_resetValueName: string;
|
|
173
|
+
column_setValueName: string;
|
|
172
174
|
trigger_completeName: string;
|
|
173
175
|
trigger_setvalueName: string;
|
|
174
176
|
trigger_copyvalueName: string;
|
|
@@ -195,9 +197,14 @@ export declare var enStrings: {
|
|
|
195
197
|
question_visibilityText: string;
|
|
196
198
|
question_enableText: string;
|
|
197
199
|
question_requireText: string;
|
|
200
|
+
question_resetValueText: string;
|
|
201
|
+
question_setValueText: string;
|
|
198
202
|
column_visibilityText: string;
|
|
199
203
|
column_enableText: string;
|
|
200
204
|
column_requireText: string;
|
|
205
|
+
column_resetValueText: string;
|
|
206
|
+
column_setValueText: string;
|
|
207
|
+
setValueExpressionPlaceholder: string;
|
|
201
208
|
trigger_completeText: string;
|
|
202
209
|
trigger_setvalueText: string;
|
|
203
210
|
trigger_setvalueEmptyText: string;
|
|
@@ -912,6 +919,7 @@ export declare var enStrings: {
|
|
|
912
919
|
defaultValueExpression: string;
|
|
913
920
|
requiredIf: string;
|
|
914
921
|
resetValueIf: string;
|
|
922
|
+
setValueIf: string;
|
|
915
923
|
validators: string;
|
|
916
924
|
bindings: string;
|
|
917
925
|
renderAs: string;
|
|
@@ -989,6 +997,8 @@ export declare var enStrings: {
|
|
|
989
997
|
groupGeneral: string;
|
|
990
998
|
groupAdvanced: string;
|
|
991
999
|
groupHeader: string;
|
|
1000
|
+
groupBackground: string;
|
|
1001
|
+
groupAppearance: string;
|
|
992
1002
|
themeName: string;
|
|
993
1003
|
themeMode: string;
|
|
994
1004
|
themeModePanels: string;
|
|
@@ -1000,7 +1010,8 @@ export declare var enStrings: {
|
|
|
1000
1010
|
primaryDarkColor: string;
|
|
1001
1011
|
primaryLightColor: string;
|
|
1002
1012
|
coverTitleForecolor: string;
|
|
1003
|
-
|
|
1013
|
+
coverDescriptionForecolor: string;
|
|
1014
|
+
coverOverlapEnabled: string;
|
|
1004
1015
|
backgroundDimColor: string;
|
|
1005
1016
|
backgroundImage: string;
|
|
1006
1017
|
backgroundImageFitAuto: string;
|
|
@@ -1053,12 +1064,12 @@ export declare var enStrings: {
|
|
|
1053
1064
|
questionShadow: string;
|
|
1054
1065
|
editorShadow: string;
|
|
1055
1066
|
headerView: string;
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1067
|
+
headerViewBasic: string;
|
|
1068
|
+
headerViewAdvanced: string;
|
|
1069
|
+
coverInheritWidthFrom: string;
|
|
1070
|
+
coverInheritWidthFromSurvey: string;
|
|
1071
|
+
coverInheritWidthFromPage: string;
|
|
1072
|
+
coverTextAreaWidth: string;
|
|
1062
1073
|
coverBackgroundColorSwitch: string;
|
|
1063
1074
|
coverBackgroundColorNone: string;
|
|
1064
1075
|
coverBackgroundColorAccentColor: string;
|
|
@@ -72,6 +72,7 @@ export declare class UndoRedoAction implements IUndoRedoAction {
|
|
|
72
72
|
export declare class UndoRedoArrayAction implements IUndoRedoAction {
|
|
73
73
|
private _propertyName;
|
|
74
74
|
private _sender;
|
|
75
|
+
private survey;
|
|
75
76
|
private _index;
|
|
76
77
|
private _itemsToAdd;
|
|
77
78
|
private _deletedItems;
|
|
@@ -84,4 +85,6 @@ export declare class UndoRedoArrayAction implements IUndoRedoAction {
|
|
|
84
85
|
getIndex(): number;
|
|
85
86
|
private getMovedElement;
|
|
86
87
|
tryMerge(sender: Base, propertyName: string, newValue: any): boolean;
|
|
88
|
+
private getSenderElement;
|
|
89
|
+
private getItemsToAdd;
|
|
87
90
|
}
|
|
@@ -183,7 +183,7 @@ export declare class PropertyGridLinkEditor extends PropertyGridEditor {
|
|
|
183
183
|
getJSON(obj: Base, prop: JsonObjectProperty, options: ISurveyCreatorOptions): any;
|
|
184
184
|
onCreated(obj: Base, question: QuestionFileEditorModel, prop: JsonObjectProperty, options: ISurveyCreatorOptions): void;
|
|
185
185
|
}
|
|
186
|
-
export declare class
|
|
186
|
+
export declare class PropertyGridEditorColor extends PropertyGridEditor {
|
|
187
187
|
fit(prop: JsonObjectProperty): boolean;
|
|
188
188
|
getJSON(obj: Base, prop: JsonObjectProperty, options: ISurveyCreatorOptions): any;
|
|
189
189
|
}
|
|
@@ -204,10 +204,6 @@ export declare class PropertyGridEditorHtml extends PropertyGridEditorStringBase
|
|
|
204
204
|
fit(prop: JsonObjectProperty): boolean;
|
|
205
205
|
getJSON(obj: Base, prop: JsonObjectProperty, options: ISurveyCreatorOptions): any;
|
|
206
206
|
}
|
|
207
|
-
export declare class PropertyGridEditorColor extends PropertyGridEditor {
|
|
208
|
-
fit(prop: JsonObjectProperty): boolean;
|
|
209
|
-
getJSON(obj: Base, prop: JsonObjectProperty, options: ISurveyCreatorOptions): any;
|
|
210
|
-
}
|
|
211
207
|
export declare class PropertyGridEditorStringArray extends PropertyGridEditor {
|
|
212
208
|
fit(prop: JsonObjectProperty): boolean;
|
|
213
209
|
getJSON(obj: Base, prop: JsonObjectProperty, options: ISurveyCreatorOptions): any;
|
|
@@ -33,7 +33,7 @@ export declare abstract class PropertyGridEditorMatrix extends PropertyGridEdito
|
|
|
33
33
|
protected getEmptyRowsText(prop: JsonObjectProperty): string;
|
|
34
34
|
protected getMinimumRowCount(obj: Base, prop: JsonObjectProperty, options: ISurveyCreatorOptions): number;
|
|
35
35
|
protected getMaximumRowCount(obj: Base, prop: JsonObjectProperty, options: ISurveyCreatorOptions): number;
|
|
36
|
-
protected filterPropertyNames(propNames: Array<string
|
|
36
|
+
protected filterPropertyNames(propNames: Array<string>, options: ISurveyCreatorOptions): Array<string>;
|
|
37
37
|
protected getColumnsJSON(obj: Base, prop: JsonObjectProperty, propNames: Array<string>, options: ISurveyCreatorOptions): any;
|
|
38
38
|
protected getEditItemAsStandAlone(): boolean;
|
|
39
39
|
protected getShowDetailPanelOnAdding(): boolean;
|
|
@@ -42,7 +42,8 @@ export declare abstract class PropertyGridEditorMatrix extends PropertyGridEdito
|
|
|
42
42
|
}
|
|
43
43
|
export declare class PropertyGridEditorMatrixItemValues extends PropertyGridEditorMatrix {
|
|
44
44
|
fit(prop: JsonObjectProperty): boolean;
|
|
45
|
-
protected
|
|
45
|
+
protected excludeTextPropertyName(propNames: Array<string>, options: ISurveyCreatorOptions): Array<string>;
|
|
46
|
+
protected filterPropertyNames(propNames: Array<string>, options: ISurveyCreatorOptions): Array<string>;
|
|
46
47
|
isPropertyEditorSetupEnabled(obj: Base, prop: JsonObjectProperty, question: Question, options: ISurveyCreatorOptions): boolean;
|
|
47
48
|
protected getAllowRowDragDrop(prop: JsonObjectProperty): boolean;
|
|
48
49
|
createPropertyEditorSetup(obj: Base, prop: JsonObjectProperty, question: Question, options: ISurveyCreatorOptions): IPropertyEditorSetup;
|
|
@@ -64,7 +65,7 @@ export declare class PropertyGridEditorMatrixRateValues extends PropertyGridEdit
|
|
|
64
65
|
private updateAllowAddRemove;
|
|
65
66
|
onCreated(obj: Base, question: Question, prop: JsonObjectProperty): void;
|
|
66
67
|
onGetQuestionTitleActions(obj: Base, options: any): void;
|
|
67
|
-
protected filterPropertyNames(propNames: Array<string
|
|
68
|
+
protected filterPropertyNames(propNames: Array<string>, options: ISurveyCreatorOptions): Array<string>;
|
|
68
69
|
}
|
|
69
70
|
export declare class PropertyGridEditorMatrixColumns extends PropertyGridEditorMatrix {
|
|
70
71
|
fit(prop: JsonObjectProperty): boolean;
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { Question } from "survey-core";
|
|
2
2
|
export declare class QuestionConverter {
|
|
3
|
-
static
|
|
3
|
+
private static convertInfoValue;
|
|
4
|
+
static get convertInfo(): any;
|
|
5
|
+
private static createDefaultQuestionConverterItems;
|
|
4
6
|
static addConvertInfo(className: string, convertToClassName: string): void;
|
|
5
7
|
static getConvertToClasses(className: string, availableTypes?: Array<string>, includeCurrent?: boolean): Array<string>;
|
|
6
|
-
static convertObject(obj: Question, convertToClass: string, defaultJSON?: any): Question;
|
|
8
|
+
static convertObject(obj: Question, convertToClass: string, defaultObjJSON?: any, defaultJSON?: any): Question;
|
|
7
9
|
private static updateJSON;
|
|
8
|
-
private static updateJSONFromQuestionDefaultSettings;
|
|
9
10
|
private static updateJSONForMatrices;
|
|
10
11
|
private static getColumnName;
|
|
11
12
|
private static updateJSONForRating;
|