survey-creator-core 1.9.110 → 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 +619 -582
- package/survey-creator-core.fontless.css +618 -581
- package/survey-creator-core.fontless.css.map +1 -1
- package/survey-creator-core.fontless.min.css +37 -37
- package/survey-creator-core.i18n.js +2566 -18
- package/survey-creator-core.i18n.js.map +1 -1
- package/survey-creator-core.i18n.min.js +2 -2
- package/survey-creator-core.js +1499 -370
- package/survey-creator-core.js.map +1 -1
- package/survey-creator-core.min.css +38 -38
- package/survey-creator-core.min.js +46 -46
- package/typings/components/tabs/designer-plugin.d.ts +1 -1
- 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 +33 -0
- package/typings/components/tabs/theme-plugin.d.ts +7 -0
- package/typings/components/tabs/themes.d.ts +1 -0
- package/typings/components/tabs/translation-plugin.d.ts +0 -1
- package/typings/components/tabs/translation-theme.d.ts +1 -0
- package/typings/components/tabs/translation.d.ts +36 -1
- package/typings/creator-base.d.ts +172 -110
- package/typings/creator-options.d.ts +14 -2
- package/typings/creator-settings.d.ts +13 -0
- package/typings/custom-questions/question-file.d.ts +5 -0
- package/typings/editorLocalization.d.ts +48 -0
- package/typings/localization/english.d.ts +48 -0
- 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 +6 -3
- package/typings/questionconverter.d.ts +4 -3
- package/typings/survey-elements.d.ts +1 -0
- package/typings/survey-helper.d.ts +2 -1
- package/typings/toolbox.d.ts +2 -0
|
@@ -7,7 +7,12 @@ 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;
|
|
@@ -162,6 +162,8 @@ export declare var defaultStrings: {
|
|
|
162
162
|
translationNoStrings: string;
|
|
163
163
|
translationExportToSCVButton: string;
|
|
164
164
|
translationImportFromSCVButton: string;
|
|
165
|
+
translateUsigAI: string;
|
|
166
|
+
translationDialogTitle: string;
|
|
165
167
|
translationMergeLocaleWithDefault: string;
|
|
166
168
|
translationPlaceHolder: string;
|
|
167
169
|
themeExportButton: string;
|
|
@@ -192,9 +194,13 @@ export declare var defaultStrings: {
|
|
|
192
194
|
question_visibilityName: string;
|
|
193
195
|
question_enableName: string;
|
|
194
196
|
question_requireName: string;
|
|
197
|
+
question_resetValueName: string;
|
|
198
|
+
question_setValueName: string;
|
|
195
199
|
column_visibilityName: string;
|
|
196
200
|
column_enableName: string;
|
|
197
201
|
column_requireName: string;
|
|
202
|
+
column_resetValueName: string;
|
|
203
|
+
column_setValueName: string;
|
|
198
204
|
trigger_completeName: string;
|
|
199
205
|
trigger_setvalueName: string;
|
|
200
206
|
trigger_copyvalueName: string;
|
|
@@ -221,9 +227,14 @@ export declare var defaultStrings: {
|
|
|
221
227
|
question_visibilityText: string;
|
|
222
228
|
question_enableText: string;
|
|
223
229
|
question_requireText: string;
|
|
230
|
+
question_resetValueText: string;
|
|
231
|
+
question_setValueText: string;
|
|
224
232
|
column_visibilityText: string;
|
|
225
233
|
column_enableText: string;
|
|
226
234
|
column_requireText: string;
|
|
235
|
+
column_resetValueText: string;
|
|
236
|
+
column_setValueText: string;
|
|
237
|
+
setValueExpressionPlaceholder: string;
|
|
227
238
|
trigger_completeText: string;
|
|
228
239
|
trigger_setvalueText: string;
|
|
229
240
|
trigger_setvalueEmptyText: string;
|
|
@@ -288,6 +299,7 @@ export declare var defaultStrings: {
|
|
|
288
299
|
fastEntry: string;
|
|
289
300
|
fastEntryNonUniqueError: string;
|
|
290
301
|
fastEntryChoicesCountError: string;
|
|
302
|
+
fastEntryChoicesMinCountError: string;
|
|
291
303
|
fastEntryPlaceholder: string;
|
|
292
304
|
formEntry: string;
|
|
293
305
|
testService: string;
|
|
@@ -352,6 +364,8 @@ export declare var defaultStrings: {
|
|
|
352
364
|
choicesOrder: string;
|
|
353
365
|
visible: string;
|
|
354
366
|
isRequired: string;
|
|
367
|
+
markRequired: string;
|
|
368
|
+
removeRequiredMark: string;
|
|
355
369
|
isAllRowRequired: string;
|
|
356
370
|
requiredErrorText: string;
|
|
357
371
|
startWithNewLine: string;
|
|
@@ -433,7 +447,11 @@ export declare var defaultStrings: {
|
|
|
433
447
|
imageHeight: string;
|
|
434
448
|
imageWidth: string;
|
|
435
449
|
};
|
|
450
|
+
survey: {
|
|
451
|
+
title: string;
|
|
452
|
+
};
|
|
436
453
|
page: {
|
|
454
|
+
title: string;
|
|
437
455
|
maxTimeToFinish: string;
|
|
438
456
|
};
|
|
439
457
|
question: {
|
|
@@ -930,6 +948,8 @@ export declare var defaultStrings: {
|
|
|
930
948
|
descriptionLocation: string;
|
|
931
949
|
defaultValueExpression: string;
|
|
932
950
|
requiredIf: string;
|
|
951
|
+
resetValueIf: string;
|
|
952
|
+
setValueIf: string;
|
|
933
953
|
validators: string;
|
|
934
954
|
bindings: string;
|
|
935
955
|
renderAs: string;
|
|
@@ -1006,6 +1026,9 @@ export declare var defaultStrings: {
|
|
|
1006
1026
|
"--base-unit": string;
|
|
1007
1027
|
groupGeneral: string;
|
|
1008
1028
|
groupAdvanced: string;
|
|
1029
|
+
groupHeader: string;
|
|
1030
|
+
groupBackground: string;
|
|
1031
|
+
groupAppearance: string;
|
|
1009
1032
|
themeName: string;
|
|
1010
1033
|
themeMode: string;
|
|
1011
1034
|
themeModePanels: string;
|
|
@@ -1016,11 +1039,16 @@ export declare var defaultStrings: {
|
|
|
1016
1039
|
primaryDefaultColor: string;
|
|
1017
1040
|
primaryDarkColor: string;
|
|
1018
1041
|
primaryLightColor: string;
|
|
1042
|
+
coverTitleForecolor: string;
|
|
1043
|
+
coverDescriptionForecolor: string;
|
|
1044
|
+
coverOverlapEnabled: string;
|
|
1019
1045
|
backgroundDimColor: string;
|
|
1020
1046
|
backgroundImage: string;
|
|
1021
1047
|
backgroundImageFitAuto: string;
|
|
1022
1048
|
backgroundImageFitCover: string;
|
|
1023
1049
|
backgroundImageFitContain: string;
|
|
1050
|
+
backgroundImageFitFill: string;
|
|
1051
|
+
backgroundImageFitTile: string;
|
|
1024
1052
|
backgroundOpacity: string;
|
|
1025
1053
|
backgroundImageAttachmentFixed: string;
|
|
1026
1054
|
backgroundImageAttachmentScroll: string;
|
|
@@ -1065,6 +1093,26 @@ export declare var defaultStrings: {
|
|
|
1065
1093
|
boxShadowInner: string;
|
|
1066
1094
|
questionShadow: string;
|
|
1067
1095
|
editorShadow: string;
|
|
1096
|
+
headerView: string;
|
|
1097
|
+
headerViewBasic: string;
|
|
1098
|
+
headerViewAdvanced: string;
|
|
1099
|
+
coverInheritWidthFrom: string;
|
|
1100
|
+
coverInheritWidthFromSurvey: string;
|
|
1101
|
+
coverInheritWidthFromPage: string;
|
|
1102
|
+
coverTextAreaWidth: string;
|
|
1103
|
+
coverBackgroundColorSwitch: string;
|
|
1104
|
+
coverBackgroundColorNone: string;
|
|
1105
|
+
coverBackgroundColorAccentColor: string;
|
|
1106
|
+
coverBackgroundColorCustom: string;
|
|
1107
|
+
horizontalAlignmentLeft: string;
|
|
1108
|
+
horizontalAlignmentCenter: string;
|
|
1109
|
+
horizontalAlignmentRight: string;
|
|
1110
|
+
verticalAlignmentTop: string;
|
|
1111
|
+
verticalAlignmentMiddle: string;
|
|
1112
|
+
verticalAlignmentBottom: string;
|
|
1113
|
+
logoPosition: string;
|
|
1114
|
+
coverTitlePosition: string;
|
|
1115
|
+
coverDescriptionPosition: string;
|
|
1068
1116
|
names: {
|
|
1069
1117
|
default: string;
|
|
1070
1118
|
sharp: string;
|
|
@@ -132,6 +132,8 @@ export declare var enStrings: {
|
|
|
132
132
|
translationNoStrings: string;
|
|
133
133
|
translationExportToSCVButton: string;
|
|
134
134
|
translationImportFromSCVButton: string;
|
|
135
|
+
translateUsigAI: string;
|
|
136
|
+
translationDialogTitle: string;
|
|
135
137
|
translationMergeLocaleWithDefault: string;
|
|
136
138
|
translationPlaceHolder: string;
|
|
137
139
|
themeExportButton: string;
|
|
@@ -162,9 +164,13 @@ export declare var enStrings: {
|
|
|
162
164
|
question_visibilityName: string;
|
|
163
165
|
question_enableName: string;
|
|
164
166
|
question_requireName: string;
|
|
167
|
+
question_resetValueName: string;
|
|
168
|
+
question_setValueName: string;
|
|
165
169
|
column_visibilityName: string;
|
|
166
170
|
column_enableName: string;
|
|
167
171
|
column_requireName: string;
|
|
172
|
+
column_resetValueName: string;
|
|
173
|
+
column_setValueName: string;
|
|
168
174
|
trigger_completeName: string;
|
|
169
175
|
trigger_setvalueName: string;
|
|
170
176
|
trigger_copyvalueName: string;
|
|
@@ -191,9 +197,14 @@ export declare var enStrings: {
|
|
|
191
197
|
question_visibilityText: string;
|
|
192
198
|
question_enableText: string;
|
|
193
199
|
question_requireText: string;
|
|
200
|
+
question_resetValueText: string;
|
|
201
|
+
question_setValueText: string;
|
|
194
202
|
column_visibilityText: string;
|
|
195
203
|
column_enableText: string;
|
|
196
204
|
column_requireText: string;
|
|
205
|
+
column_resetValueText: string;
|
|
206
|
+
column_setValueText: string;
|
|
207
|
+
setValueExpressionPlaceholder: string;
|
|
197
208
|
trigger_completeText: string;
|
|
198
209
|
trigger_setvalueText: string;
|
|
199
210
|
trigger_setvalueEmptyText: string;
|
|
@@ -258,6 +269,7 @@ export declare var enStrings: {
|
|
|
258
269
|
fastEntry: string;
|
|
259
270
|
fastEntryNonUniqueError: string;
|
|
260
271
|
fastEntryChoicesCountError: string;
|
|
272
|
+
fastEntryChoicesMinCountError: string;
|
|
261
273
|
fastEntryPlaceholder: string;
|
|
262
274
|
formEntry: string;
|
|
263
275
|
testService: string;
|
|
@@ -322,6 +334,8 @@ export declare var enStrings: {
|
|
|
322
334
|
choicesOrder: string;
|
|
323
335
|
visible: string;
|
|
324
336
|
isRequired: string;
|
|
337
|
+
markRequired: string;
|
|
338
|
+
removeRequiredMark: string;
|
|
325
339
|
isAllRowRequired: string;
|
|
326
340
|
requiredErrorText: string;
|
|
327
341
|
startWithNewLine: string;
|
|
@@ -403,7 +417,11 @@ export declare var enStrings: {
|
|
|
403
417
|
imageHeight: string;
|
|
404
418
|
imageWidth: string;
|
|
405
419
|
};
|
|
420
|
+
survey: {
|
|
421
|
+
title: string;
|
|
422
|
+
};
|
|
406
423
|
page: {
|
|
424
|
+
title: string;
|
|
407
425
|
maxTimeToFinish: string;
|
|
408
426
|
};
|
|
409
427
|
question: {
|
|
@@ -900,6 +918,8 @@ export declare var enStrings: {
|
|
|
900
918
|
descriptionLocation: string;
|
|
901
919
|
defaultValueExpression: string;
|
|
902
920
|
requiredIf: string;
|
|
921
|
+
resetValueIf: string;
|
|
922
|
+
setValueIf: string;
|
|
903
923
|
validators: string;
|
|
904
924
|
bindings: string;
|
|
905
925
|
renderAs: string;
|
|
@@ -976,6 +996,9 @@ export declare var enStrings: {
|
|
|
976
996
|
"--base-unit": string;
|
|
977
997
|
groupGeneral: string;
|
|
978
998
|
groupAdvanced: string;
|
|
999
|
+
groupHeader: string;
|
|
1000
|
+
groupBackground: string;
|
|
1001
|
+
groupAppearance: string;
|
|
979
1002
|
themeName: string;
|
|
980
1003
|
themeMode: string;
|
|
981
1004
|
themeModePanels: string;
|
|
@@ -986,11 +1009,16 @@ export declare var enStrings: {
|
|
|
986
1009
|
primaryDefaultColor: string;
|
|
987
1010
|
primaryDarkColor: string;
|
|
988
1011
|
primaryLightColor: string;
|
|
1012
|
+
coverTitleForecolor: string;
|
|
1013
|
+
coverDescriptionForecolor: string;
|
|
1014
|
+
coverOverlapEnabled: string;
|
|
989
1015
|
backgroundDimColor: string;
|
|
990
1016
|
backgroundImage: string;
|
|
991
1017
|
backgroundImageFitAuto: string;
|
|
992
1018
|
backgroundImageFitCover: string;
|
|
993
1019
|
backgroundImageFitContain: string;
|
|
1020
|
+
backgroundImageFitFill: string;
|
|
1021
|
+
backgroundImageFitTile: string;
|
|
994
1022
|
backgroundOpacity: string;
|
|
995
1023
|
backgroundImageAttachmentFixed: string;
|
|
996
1024
|
backgroundImageAttachmentScroll: string;
|
|
@@ -1035,6 +1063,26 @@ export declare var enStrings: {
|
|
|
1035
1063
|
boxShadowInner: string;
|
|
1036
1064
|
questionShadow: string;
|
|
1037
1065
|
editorShadow: string;
|
|
1066
|
+
headerView: string;
|
|
1067
|
+
headerViewBasic: string;
|
|
1068
|
+
headerViewAdvanced: string;
|
|
1069
|
+
coverInheritWidthFrom: string;
|
|
1070
|
+
coverInheritWidthFromSurvey: string;
|
|
1071
|
+
coverInheritWidthFromPage: string;
|
|
1072
|
+
coverTextAreaWidth: string;
|
|
1073
|
+
coverBackgroundColorSwitch: string;
|
|
1074
|
+
coverBackgroundColorNone: string;
|
|
1075
|
+
coverBackgroundColorAccentColor: string;
|
|
1076
|
+
coverBackgroundColorCustom: string;
|
|
1077
|
+
horizontalAlignmentLeft: string;
|
|
1078
|
+
horizontalAlignmentCenter: string;
|
|
1079
|
+
horizontalAlignmentRight: string;
|
|
1080
|
+
verticalAlignmentTop: string;
|
|
1081
|
+
verticalAlignmentMiddle: string;
|
|
1082
|
+
verticalAlignmentBottom: string;
|
|
1083
|
+
logoPosition: string;
|
|
1084
|
+
coverTitlePosition: string;
|
|
1085
|
+
coverDescriptionPosition: string;
|
|
1038
1086
|
names: {
|
|
1039
1087
|
default: string;
|
|
1040
1088
|
sharp: 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;
|
|
@@ -31,8 +31,9 @@ export declare abstract class PropertyGridEditorMatrix extends PropertyGridEdito
|
|
|
31
31
|
getJSON(obj: Base, prop: JsonObjectProperty, options: ISurveyCreatorOptions): any;
|
|
32
32
|
protected getMatrixJSON(obj: Base, prop: JsonObjectProperty, propNames: Array<string>, options: ISurveyCreatorOptions): any;
|
|
33
33
|
protected getEmptyRowsText(prop: JsonObjectProperty): string;
|
|
34
|
+
protected getMinimumRowCount(obj: Base, prop: JsonObjectProperty, options: ISurveyCreatorOptions): number;
|
|
34
35
|
protected getMaximumRowCount(obj: Base, prop: JsonObjectProperty, options: ISurveyCreatorOptions): number;
|
|
35
|
-
protected filterPropertyNames(propNames: Array<string
|
|
36
|
+
protected filterPropertyNames(propNames: Array<string>, options: ISurveyCreatorOptions): Array<string>;
|
|
36
37
|
protected getColumnsJSON(obj: Base, prop: JsonObjectProperty, propNames: Array<string>, options: ISurveyCreatorOptions): any;
|
|
37
38
|
protected getEditItemAsStandAlone(): boolean;
|
|
38
39
|
protected getShowDetailPanelOnAdding(): boolean;
|
|
@@ -41,7 +42,8 @@ export declare abstract class PropertyGridEditorMatrix extends PropertyGridEdito
|
|
|
41
42
|
}
|
|
42
43
|
export declare class PropertyGridEditorMatrixItemValues extends PropertyGridEditorMatrix {
|
|
43
44
|
fit(prop: JsonObjectProperty): boolean;
|
|
44
|
-
protected
|
|
45
|
+
protected excludeTextPropertyName(propNames: Array<string>, options: ISurveyCreatorOptions): Array<string>;
|
|
46
|
+
protected filterPropertyNames(propNames: Array<string>, options: ISurveyCreatorOptions): Array<string>;
|
|
45
47
|
isPropertyEditorSetupEnabled(obj: Base, prop: JsonObjectProperty, question: Question, options: ISurveyCreatorOptions): boolean;
|
|
46
48
|
protected getAllowRowDragDrop(prop: JsonObjectProperty): boolean;
|
|
47
49
|
createPropertyEditorSetup(obj: Base, prop: JsonObjectProperty, question: Question, options: ISurveyCreatorOptions): IPropertyEditorSetup;
|
|
@@ -51,6 +53,7 @@ export declare class PropertyGridEditorMatrixItemValues extends PropertyGridEdit
|
|
|
51
53
|
protected getDefaulColumnNames(): Array<string>;
|
|
52
54
|
protected getKeyValue(): string;
|
|
53
55
|
protected getMatrixJSON(obj: Base, prop: JsonObjectProperty, propNames: Array<string>, options: ISurveyCreatorOptions): any;
|
|
56
|
+
protected getMinimumRowCount(obj: Base, prop: JsonObjectProperty, options: ISurveyCreatorOptions): number;
|
|
54
57
|
protected getMaximumRowCount(obj: Base, prop: JsonObjectProperty, options: ISurveyCreatorOptions): number;
|
|
55
58
|
private hasMultipleLanguage;
|
|
56
59
|
private hasVisibleIfOrEnableIf;
|
|
@@ -62,7 +65,7 @@ export declare class PropertyGridEditorMatrixRateValues extends PropertyGridEdit
|
|
|
62
65
|
private updateAllowAddRemove;
|
|
63
66
|
onCreated(obj: Base, question: Question, prop: JsonObjectProperty): void;
|
|
64
67
|
onGetQuestionTitleActions(obj: Base, options: any): void;
|
|
65
|
-
protected filterPropertyNames(propNames: Array<string
|
|
68
|
+
protected filterPropertyNames(propNames: Array<string>, options: ISurveyCreatorOptions): Array<string>;
|
|
66
69
|
}
|
|
67
70
|
export declare class PropertyGridEditorMatrixColumns extends PropertyGridEditorMatrix {
|
|
68
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;
|
|
@@ -16,6 +16,7 @@ export declare class DragDropSurveyElements extends DragDropCore<any> {
|
|
|
16
16
|
protected dragOverLocation: DragTypeOverMeEnum;
|
|
17
17
|
protected get draggedElementType(): string;
|
|
18
18
|
protected isDraggedElementSelected: boolean;
|
|
19
|
+
maxNestedPanels: number;
|
|
19
20
|
startDragToolboxItem(event: PointerEvent, draggedElementJson: JsonObject, toolboxItemModel: IQuestionToolboxItem): void;
|
|
20
21
|
startDragSurveyElement(event: PointerEvent, draggedElement: any, isElementSelected?: boolean): void;
|
|
21
22
|
protected getShortcutText(draggedElement: IShortcutText): string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Base, ISurveyElement, ItemValue, JsonObjectProperty, SurveyModel } from "survey-core";
|
|
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
4
|
Unknown = 0,
|
|
@@ -44,4 +44,5 @@ export declare class SurveyHelper {
|
|
|
44
44
|
name: string;
|
|
45
45
|
};
|
|
46
46
|
static isSupportCellEditor(type: string): boolean;
|
|
47
|
+
static getElementDeepLength(element: SurveyElement): number;
|
|
47
48
|
}
|
package/typings/toolbox.d.ts
CHANGED