survey-creator-core 1.9.111 → 1.9.113
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 +1247 -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 +14 -10
- package/survey-creator-core.fontless.css +13 -9
- package/survey-creator-core.fontless.css.map +1 -1
- package/survey-creator-core.fontless.min.css +4 -4
- 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 +1456 -990
- package/survey-creator-core.js.map +1 -1
- package/survey-creator-core.min.css +5 -5
- package/survey-creator-core.min.js +45 -45
- package/typings/components/tabs/designer-plugin.d.ts +1 -0
- package/typings/components/tabs/json-editor-plugin.d.ts +12 -2
- 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/test.d.ts +2 -0
- package/typings/components/tabs/theme-builder.d.ts +29 -2
- package/typings/components/tabs/theme-custom-questions/element-settings.d.ts +4 -4
- package/typings/components/tabs/theme-custom-questions/font-settings.d.ts +4 -4
- package/typings/components/tabs/theme-plugin.d.ts +13 -3
- package/typings/components/tabs/themes.d.ts +1 -0
- package/typings/creator-base.d.ts +299 -244
- package/typings/creator-options.d.ts +0 -6
- package/typings/creator-settings.d.ts +5 -0
- package/typings/custom-questions/question-file.d.ts +8 -0
- package/typings/editorLocalization.d.ts +24 -9
- package/typings/localization/english.d.ts +23 -9
- package/typings/plugins/undo-redo/undo-redo-controller.d.ts +0 -10
- 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/property-grid-theme/property-grid.d.ts +1 -0
- package/typings/questionconverter.d.ts +4 -3
- package/typings/survey-helper.d.ts +6 -6
- package/typings/utils/utils.d.ts +1 -0
|
@@ -31,12 +31,6 @@ export interface ICreatorOptions {
|
|
|
31
31
|
* Default value: `false`
|
|
32
32
|
*/
|
|
33
33
|
showLogicTab?: boolean;
|
|
34
|
-
/**
|
|
35
|
-
* Specifies whether to display the Embed Survey tab.
|
|
36
|
-
*
|
|
37
|
-
* Default value: `false`
|
|
38
|
-
*/
|
|
39
|
-
showEmbeddedSurveyTab?: boolean;
|
|
40
34
|
/**
|
|
41
35
|
* Specifies whether to display the Translation tab.
|
|
42
36
|
*
|
|
@@ -148,6 +148,7 @@ export declare var settings: {
|
|
|
148
148
|
};
|
|
149
149
|
jsonEditor: {
|
|
150
150
|
indentation: number;
|
|
151
|
+
exportFileName: string;
|
|
151
152
|
};
|
|
152
153
|
};
|
|
153
154
|
export interface ICollectionItemAllowOperations {
|
|
@@ -170,6 +171,7 @@ export interface ISurveyCreatorOptions {
|
|
|
170
171
|
maximumRateValues: number;
|
|
171
172
|
maxNestedPanels: number;
|
|
172
173
|
enableLinkFileEditor: boolean;
|
|
174
|
+
inplaceEditForValues: boolean;
|
|
173
175
|
rootElement?: HTMLElement;
|
|
174
176
|
getObjectDisplayName(obj: Base, area: string, reason: string, displayName: string): string;
|
|
175
177
|
onCanShowPropertyCallback(object: any, property: JsonObjectProperty, showMode: string, parentObj: any, parentProperty: JsonObjectProperty): boolean;
|
|
@@ -199,6 +201,7 @@ export interface ISurveyCreatorOptions {
|
|
|
199
201
|
uploadFiles(files: File[], question: Question, uploadingCallback: (status: string, data: any) => any): void;
|
|
200
202
|
getHasMachineTranslation(): boolean;
|
|
201
203
|
doMachineTranslation(fromLocale: string, toLocale: string, strings: Array<string>, callback: (translated: Array<string>) => void): void;
|
|
204
|
+
chooseFiles(input: HTMLInputElement, onFilesChosen: (files: File[]) => void): void;
|
|
202
205
|
}
|
|
203
206
|
export declare class EmptySurveyCreatorOptions implements ISurveyCreatorOptions {
|
|
204
207
|
rootElement: HTMLElement;
|
|
@@ -217,6 +220,7 @@ export declare class EmptySurveyCreatorOptions implements ISurveyCreatorOptions
|
|
|
217
220
|
maximumRowsCount: number;
|
|
218
221
|
maximumRateValues: number;
|
|
219
222
|
machineTranslationValue: boolean;
|
|
223
|
+
inplaceEditForValues: boolean;
|
|
220
224
|
maxNestedPanels: number;
|
|
221
225
|
getObjectDisplayName(obj: Base, area: string, reason: string, displayName: string): string;
|
|
222
226
|
onCanShowPropertyCallback(object: any, property: JsonObjectProperty, showMode: string, parentObj: any, parentProperty: JsonObjectProperty): boolean;
|
|
@@ -245,4 +249,5 @@ export declare class EmptySurveyCreatorOptions implements ISurveyCreatorOptions
|
|
|
245
249
|
uploadFiles(files: File[], question: Question, uploadingCallback: (status: string, data: any) => any): void;
|
|
246
250
|
getHasMachineTranslation(): boolean;
|
|
247
251
|
doMachineTranslation(fromLocale: string, toLocale: string, strings: Array<string>, callback: (translated: Array<string>) => void): void;
|
|
252
|
+
chooseFiles(input: HTMLInputElement, onFilesChosen: (files: File[]) => void): void;
|
|
248
253
|
}
|
|
@@ -7,11 +7,19 @@ export declare class QuestionFileEditorModel extends QuestionFileModel {
|
|
|
7
7
|
get allowMultiple(): boolean;
|
|
8
8
|
set allowMultiple(val: boolean);
|
|
9
9
|
clear(doneCallback?: () => void, shouldClearValue?: boolean): void;
|
|
10
|
+
private _renderedValue;
|
|
11
|
+
placeholder: string;
|
|
12
|
+
protected updateRenderedValue(value: string): void;
|
|
13
|
+
get renderedValue(): string;
|
|
10
14
|
protected updateValueFromInputEvent(event: Event): void;
|
|
15
|
+
onSurveyValueChanged(newValue: any): void;
|
|
11
16
|
onInputChange(event: Event): void;
|
|
12
17
|
onInputBlur(event: Event): void;
|
|
13
18
|
getType(): string;
|
|
14
19
|
getIsClearButtonDisabled(): boolean;
|
|
15
20
|
getChooseButtonCss(): string;
|
|
16
21
|
onKeyDown: (event: KeyboardEvent) => void;
|
|
22
|
+
onFileInputChange: (event: Event) => boolean;
|
|
23
|
+
onChooseFilesCallback: (input: HTMLInputElement, onFilesChosen: (files: File[]) => void) => void;
|
|
24
|
+
chooseFiles(event: Event): boolean;
|
|
17
25
|
}
|
|
@@ -25,6 +25,7 @@ export declare class EditorLocalization {
|
|
|
25
25
|
getLocale(locale?: string): any;
|
|
26
26
|
private getValueInternal;
|
|
27
27
|
getLocales(): Array<string>;
|
|
28
|
+
private stringsDiff;
|
|
28
29
|
}
|
|
29
30
|
export declare var editorLocalization: EditorLocalization;
|
|
30
31
|
export declare function getLocString(strName: string, locale?: string): string;
|
|
@@ -168,6 +169,9 @@ export declare var defaultStrings: {
|
|
|
168
169
|
translationPlaceHolder: string;
|
|
169
170
|
themeExportButton: string;
|
|
170
171
|
themeImportButton: string;
|
|
172
|
+
surveyJsonExportButton: string;
|
|
173
|
+
surveyJsonImportButton: string;
|
|
174
|
+
surveyJsonCopyButton: string;
|
|
171
175
|
themeResetButton: string;
|
|
172
176
|
bold: string;
|
|
173
177
|
italic: string;
|
|
@@ -194,11 +198,13 @@ export declare var defaultStrings: {
|
|
|
194
198
|
question_visibilityName: string;
|
|
195
199
|
question_enableName: string;
|
|
196
200
|
question_requireName: string;
|
|
197
|
-
|
|
201
|
+
question_resetValueName: string;
|
|
202
|
+
question_setValueName: string;
|
|
198
203
|
column_visibilityName: string;
|
|
199
204
|
column_enableName: string;
|
|
200
205
|
column_requireName: string;
|
|
201
|
-
|
|
206
|
+
column_resetValueName: string;
|
|
207
|
+
column_setValueName: string;
|
|
202
208
|
trigger_completeName: string;
|
|
203
209
|
trigger_setvalueName: string;
|
|
204
210
|
trigger_copyvalueName: string;
|
|
@@ -225,9 +231,14 @@ export declare var defaultStrings: {
|
|
|
225
231
|
question_visibilityText: string;
|
|
226
232
|
question_enableText: string;
|
|
227
233
|
question_requireText: string;
|
|
234
|
+
question_resetValueText: string;
|
|
235
|
+
question_setValueText: string;
|
|
228
236
|
column_visibilityText: string;
|
|
229
237
|
column_enableText: string;
|
|
230
238
|
column_requireText: string;
|
|
239
|
+
column_resetValueText: string;
|
|
240
|
+
column_setValueText: string;
|
|
241
|
+
setValueExpressionPlaceholder: string;
|
|
231
242
|
trigger_completeText: string;
|
|
232
243
|
trigger_setvalueText: string;
|
|
233
244
|
trigger_setvalueEmptyText: string;
|
|
@@ -942,6 +953,7 @@ export declare var defaultStrings: {
|
|
|
942
953
|
defaultValueExpression: string;
|
|
943
954
|
requiredIf: string;
|
|
944
955
|
resetValueIf: string;
|
|
956
|
+
setValueIf: string;
|
|
945
957
|
validators: string;
|
|
946
958
|
bindings: string;
|
|
947
959
|
renderAs: string;
|
|
@@ -1019,6 +1031,8 @@ export declare var defaultStrings: {
|
|
|
1019
1031
|
groupGeneral: string;
|
|
1020
1032
|
groupAdvanced: string;
|
|
1021
1033
|
groupHeader: string;
|
|
1034
|
+
groupBackground: string;
|
|
1035
|
+
groupAppearance: string;
|
|
1022
1036
|
themeName: string;
|
|
1023
1037
|
themeMode: string;
|
|
1024
1038
|
themeModePanels: string;
|
|
@@ -1030,7 +1044,8 @@ export declare var defaultStrings: {
|
|
|
1030
1044
|
primaryDarkColor: string;
|
|
1031
1045
|
primaryLightColor: string;
|
|
1032
1046
|
coverTitleForecolor: string;
|
|
1033
|
-
|
|
1047
|
+
coverDescriptionForecolor: string;
|
|
1048
|
+
coverOverlapEnabled: string;
|
|
1034
1049
|
backgroundDimColor: string;
|
|
1035
1050
|
backgroundImage: string;
|
|
1036
1051
|
backgroundImageFitAuto: string;
|
|
@@ -1083,12 +1098,12 @@ export declare var defaultStrings: {
|
|
|
1083
1098
|
questionShadow: string;
|
|
1084
1099
|
editorShadow: string;
|
|
1085
1100
|
headerView: string;
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
1101
|
+
headerViewBasic: string;
|
|
1102
|
+
headerViewAdvanced: string;
|
|
1103
|
+
coverInheritWidthFrom: string;
|
|
1104
|
+
coverInheritWidthFromSurvey: string;
|
|
1105
|
+
coverInheritWidthFromContainer: string;
|
|
1106
|
+
coverTextAreaWidth: string;
|
|
1092
1107
|
coverBackgroundColorSwitch: string;
|
|
1093
1108
|
coverBackgroundColorNone: string;
|
|
1094
1109
|
coverBackgroundColorAccentColor: string;
|
|
@@ -138,6 +138,9 @@ export declare var enStrings: {
|
|
|
138
138
|
translationPlaceHolder: string;
|
|
139
139
|
themeExportButton: string;
|
|
140
140
|
themeImportButton: string;
|
|
141
|
+
surveyJsonExportButton: string;
|
|
142
|
+
surveyJsonImportButton: string;
|
|
143
|
+
surveyJsonCopyButton: string;
|
|
141
144
|
themeResetButton: string;
|
|
142
145
|
bold: string;
|
|
143
146
|
italic: string;
|
|
@@ -164,11 +167,13 @@ export declare var enStrings: {
|
|
|
164
167
|
question_visibilityName: string;
|
|
165
168
|
question_enableName: string;
|
|
166
169
|
question_requireName: string;
|
|
167
|
-
|
|
170
|
+
question_resetValueName: string;
|
|
171
|
+
question_setValueName: string;
|
|
168
172
|
column_visibilityName: string;
|
|
169
173
|
column_enableName: string;
|
|
170
174
|
column_requireName: string;
|
|
171
|
-
|
|
175
|
+
column_resetValueName: string;
|
|
176
|
+
column_setValueName: string;
|
|
172
177
|
trigger_completeName: string;
|
|
173
178
|
trigger_setvalueName: string;
|
|
174
179
|
trigger_copyvalueName: string;
|
|
@@ -195,9 +200,14 @@ export declare var enStrings: {
|
|
|
195
200
|
question_visibilityText: string;
|
|
196
201
|
question_enableText: string;
|
|
197
202
|
question_requireText: string;
|
|
203
|
+
question_resetValueText: string;
|
|
204
|
+
question_setValueText: string;
|
|
198
205
|
column_visibilityText: string;
|
|
199
206
|
column_enableText: string;
|
|
200
207
|
column_requireText: string;
|
|
208
|
+
column_resetValueText: string;
|
|
209
|
+
column_setValueText: string;
|
|
210
|
+
setValueExpressionPlaceholder: string;
|
|
201
211
|
trigger_completeText: string;
|
|
202
212
|
trigger_setvalueText: string;
|
|
203
213
|
trigger_setvalueEmptyText: string;
|
|
@@ -912,6 +922,7 @@ export declare var enStrings: {
|
|
|
912
922
|
defaultValueExpression: string;
|
|
913
923
|
requiredIf: string;
|
|
914
924
|
resetValueIf: string;
|
|
925
|
+
setValueIf: string;
|
|
915
926
|
validators: string;
|
|
916
927
|
bindings: string;
|
|
917
928
|
renderAs: string;
|
|
@@ -989,6 +1000,8 @@ export declare var enStrings: {
|
|
|
989
1000
|
groupGeneral: string;
|
|
990
1001
|
groupAdvanced: string;
|
|
991
1002
|
groupHeader: string;
|
|
1003
|
+
groupBackground: string;
|
|
1004
|
+
groupAppearance: string;
|
|
992
1005
|
themeName: string;
|
|
993
1006
|
themeMode: string;
|
|
994
1007
|
themeModePanels: string;
|
|
@@ -1000,7 +1013,8 @@ export declare var enStrings: {
|
|
|
1000
1013
|
primaryDarkColor: string;
|
|
1001
1014
|
primaryLightColor: string;
|
|
1002
1015
|
coverTitleForecolor: string;
|
|
1003
|
-
|
|
1016
|
+
coverDescriptionForecolor: string;
|
|
1017
|
+
coverOverlapEnabled: string;
|
|
1004
1018
|
backgroundDimColor: string;
|
|
1005
1019
|
backgroundImage: string;
|
|
1006
1020
|
backgroundImageFitAuto: string;
|
|
@@ -1053,12 +1067,12 @@ export declare var enStrings: {
|
|
|
1053
1067
|
questionShadow: string;
|
|
1054
1068
|
editorShadow: string;
|
|
1055
1069
|
headerView: string;
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1070
|
+
headerViewBasic: string;
|
|
1071
|
+
headerViewAdvanced: string;
|
|
1072
|
+
coverInheritWidthFrom: string;
|
|
1073
|
+
coverInheritWidthFromSurvey: string;
|
|
1074
|
+
coverInheritWidthFromContainer: string;
|
|
1075
|
+
coverTextAreaWidth: string;
|
|
1062
1076
|
coverBackgroundColorSwitch: string;
|
|
1063
1077
|
coverBackgroundColorNone: string;
|
|
1064
1078
|
coverBackgroundColorAccentColor: string;
|
|
@@ -28,14 +28,4 @@ export declare class UndoRedoController extends Base {
|
|
|
28
28
|
* options.canRedo a boolean value. It is true by default. Set it false to hide prevent redo operation.
|
|
29
29
|
*/
|
|
30
30
|
onBeforeRedo: CreatorEvent;
|
|
31
|
-
/**
|
|
32
|
-
* The event is called after undo happens.
|
|
33
|
-
* options.state is an undo/redo item.
|
|
34
|
-
*/
|
|
35
|
-
onAfterUndo: CreatorEvent;
|
|
36
|
-
/**
|
|
37
|
-
* The event is called after redo happens.
|
|
38
|
-
* options.state is an undo/redo item.
|
|
39
|
-
*/
|
|
40
|
-
onAfterRedo: CreatorEvent;
|
|
41
31
|
}
|
|
@@ -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;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { Base, ISurveyElement, ItemValue, JsonObjectProperty, SurveyElement, SurveyModel } from "survey-core";
|
|
2
2
|
import { ISurveyCreatorOptions } from "./creator-settings";
|
|
3
3
|
export declare enum ObjType {
|
|
4
|
-
Unknown =
|
|
5
|
-
Survey =
|
|
6
|
-
Page =
|
|
7
|
-
Panel =
|
|
8
|
-
Question =
|
|
9
|
-
Column =
|
|
4
|
+
Unknown = "unknown",
|
|
5
|
+
Survey = "survey",
|
|
6
|
+
Page = "page",
|
|
7
|
+
Panel = "panel",
|
|
8
|
+
Question = "question",
|
|
9
|
+
Column = "column"
|
|
10
10
|
}
|
|
11
11
|
export declare class SurveyHelper {
|
|
12
12
|
static getNewElementName(el: ISurveyElement): string;
|
package/typings/utils/utils.d.ts
CHANGED