survey-creator-core 1.9.137 → 1.9.138
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 +1 -1
- package/i18n/arabic.min.js +1 -1
- package/i18n/bulgarian.js +1 -1
- package/i18n/bulgarian.min.js +1 -1
- package/i18n/croatian.js +1 -1
- package/i18n/croatian.min.js +1 -1
- package/i18n/czech.js +1 -1
- package/i18n/czech.min.js +1 -1
- package/i18n/danish.js +1 -1
- package/i18n/danish.min.js +1 -1
- package/i18n/dutch.js +1 -1
- package/i18n/dutch.min.js +1 -1
- package/i18n/english.js +5 -2
- package/i18n/english.js.map +1 -1
- package/i18n/english.min.js +2 -2
- package/i18n/finnish.js +1 -1
- package/i18n/finnish.min.js +1 -1
- package/i18n/french.js +1 -1
- package/i18n/french.min.js +1 -1
- package/i18n/german.js +1 -1
- package/i18n/german.min.js +1 -1
- package/i18n/hebrew.js +1 -1
- package/i18n/hebrew.min.js +1 -1
- package/i18n/hungarian.js +1 -1
- package/i18n/hungarian.min.js +1 -1
- package/i18n/index.js +1 -1
- package/i18n/index.min.js +1 -1
- package/i18n/indonesian.js +1 -1
- package/i18n/indonesian.min.js +1 -1
- package/i18n/italian.js +1 -1
- package/i18n/italian.min.js +1 -1
- package/i18n/japanese.js +1 -1
- package/i18n/japanese.min.js +1 -1
- package/i18n/korean.js +1 -1
- package/i18n/korean.min.js +1 -1
- package/i18n/malay.js +1 -1
- package/i18n/malay.min.js +1 -1
- package/i18n/mongolian.js +1 -1
- package/i18n/mongolian.min.js +1 -1
- package/i18n/norwegian.js +1 -1
- package/i18n/norwegian.min.js +1 -1
- package/i18n/persian.js +1 -1
- package/i18n/persian.min.js +1 -1
- package/i18n/polish.js +1 -1
- package/i18n/polish.min.js +1 -1
- package/i18n/portuguese.js +1 -1
- package/i18n/portuguese.min.js +1 -1
- package/i18n/russian.js +1 -1
- package/i18n/russian.min.js +1 -1
- package/i18n/simplified-chinese.js +1 -1
- package/i18n/simplified-chinese.min.js +1 -1
- package/i18n/slovak.js +1 -1
- package/i18n/slovak.min.js +1 -1
- package/i18n/spanish.js +1 -1
- package/i18n/spanish.min.js +1 -1
- package/i18n/swedish.js +1 -1
- package/i18n/swedish.min.js +1 -1
- package/i18n/tajik.js +1 -1
- package/i18n/tajik.min.js +1 -1
- package/i18n/traditional-chinese.js +1 -1
- package/i18n/traditional-chinese.min.js +1 -1
- package/i18n/turkish.js +1 -1
- package/i18n/turkish.min.js +1 -1
- package/package.json +2 -2
- package/survey-creator-core.css +14 -14
- package/survey-creator-core.fontless.css +13 -13
- package/survey-creator-core.fontless.css.map +1 -1
- package/survey-creator-core.fontless.min.css +2 -2
- package/survey-creator-core.i18n.js +1 -1
- package/survey-creator-core.i18n.min.js +1 -1
- package/survey-creator-core.js +107 -74
- 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/question.d.ts +1 -1
- package/typings/creator-base.d.ts +7 -1
- package/typings/creator-settings.d.ts +2 -0
- package/typings/editorLocalization.d.ts +5 -1
- package/typings/localization/english.d.ts +4 -1
|
@@ -54,6 +54,6 @@ export declare class QuestionAdornerViewModel extends SurveyElementAdornerBase {
|
|
|
54
54
|
protected buildActions(items: Array<Action>): void;
|
|
55
55
|
protected duplicate(): void;
|
|
56
56
|
addNewQuestion(): void;
|
|
57
|
-
questionTypeSelectorModel:
|
|
57
|
+
questionTypeSelectorModel: Action;
|
|
58
58
|
get addNewQuestionText(): string;
|
|
59
59
|
}
|
|
@@ -122,6 +122,12 @@ export declare class SurveyCreatorModel extends Base implements ISurveyCreatorOp
|
|
|
122
122
|
* @see showObjectTitles
|
|
123
123
|
*/
|
|
124
124
|
inplaceEditForValues: boolean;
|
|
125
|
+
/**
|
|
126
|
+
* Specifies whether to display a table with survey results after completing a survey in the Preview tab.
|
|
127
|
+
*
|
|
128
|
+
* Default value: `true`
|
|
129
|
+
*/
|
|
130
|
+
previewShowResults: boolean;
|
|
125
131
|
get allowEditSurveyTitle(): boolean;
|
|
126
132
|
set allowEditSurveyTitle(val: boolean);
|
|
127
133
|
/**
|
|
@@ -1281,7 +1287,7 @@ export declare class SurveyCreatorModel extends Base implements ISurveyCreatorOp
|
|
|
1281
1287
|
getAddNewQuestionText(currentAddQuestionType?: string): any;
|
|
1282
1288
|
get addNewQuestionText(): any;
|
|
1283
1289
|
getAvailableToolboxItems(element?: SurveyElement, isAddNew?: boolean): Array<QuestionToolboxItem>;
|
|
1284
|
-
getQuestionTypeSelectorModel(beforeAdd: (type: string) => void, element?: SurveyElement):
|
|
1290
|
+
getQuestionTypeSelectorModel(beforeAdd: (type: string) => void, element?: SurveyElement): Action;
|
|
1285
1291
|
getUpdatedPageAdornerFooterActions(pageAdorner: PageAdorner, actions: Array<IAction>): IAction[];
|
|
1286
1292
|
addNewQuestionInPage(beforeAdd: (string: any) => void, panel?: IPanel, type?: string): void;
|
|
1287
1293
|
createIActionBarItemByClass(className: string, title: string, iconName: string, needSeparator: boolean): Action;
|
|
@@ -192,6 +192,7 @@ export interface ISurveyCreatorOptions {
|
|
|
192
192
|
enableLinkFileEditor: boolean;
|
|
193
193
|
inplaceEditForValues: boolean;
|
|
194
194
|
rootElement?: HTMLElement;
|
|
195
|
+
previewShowResults: boolean;
|
|
195
196
|
getObjectDisplayName(obj: Base, area: string, reason: string, displayName: string): string;
|
|
196
197
|
onCanShowPropertyCallback(object: any, property: JsonObjectProperty, showMode: string, parentObj: any, parentProperty: JsonObjectProperty): boolean;
|
|
197
198
|
onPropertyEditorCreatedCallback(object: any, property: JsonObjectProperty, editor: Question): any;
|
|
@@ -233,6 +234,7 @@ export interface ISurveyCreatorOptions {
|
|
|
233
234
|
}): void;
|
|
234
235
|
}
|
|
235
236
|
export declare class EmptySurveyCreatorOptions implements ISurveyCreatorOptions {
|
|
237
|
+
previewShowResults: boolean;
|
|
236
238
|
rootElement: HTMLElement;
|
|
237
239
|
enableLinkFileEditor: boolean;
|
|
238
240
|
getProcessedTranslationItemText(locale: string, locString: ILocalizableString, newText: string, obj: any): string;
|
|
@@ -12,6 +12,7 @@ export declare class EditorLocalization {
|
|
|
12
12
|
get currentLocale(): string;
|
|
13
13
|
set currentLocale(val: string);
|
|
14
14
|
getString(strName: string, locale?: string): string;
|
|
15
|
+
getStringByPath(path: string[], locale?: string): string;
|
|
15
16
|
hasString(strName: string, locale?: string): boolean;
|
|
16
17
|
private getStringByLocale;
|
|
17
18
|
getLocaleName(loc: string, defaultLocale?: string): string;
|
|
@@ -1231,10 +1232,14 @@ export declare var defaultStrings: {
|
|
|
1231
1232
|
imageHeight: string;
|
|
1232
1233
|
imageWidth: string;
|
|
1233
1234
|
};
|
|
1235
|
+
image: {
|
|
1236
|
+
contentMode: string;
|
|
1237
|
+
};
|
|
1234
1238
|
imagepicker: {
|
|
1235
1239
|
imageHeight: string;
|
|
1236
1240
|
imageWidth: string;
|
|
1237
1241
|
choices: string;
|
|
1242
|
+
contentMode: string;
|
|
1238
1243
|
};
|
|
1239
1244
|
text: {
|
|
1240
1245
|
size: string;
|
|
@@ -1345,7 +1350,6 @@ export declare var defaultStrings: {
|
|
|
1345
1350
|
dataList: string;
|
|
1346
1351
|
itemSize: string;
|
|
1347
1352
|
itemTitleWidth: string;
|
|
1348
|
-
contentMode: string;
|
|
1349
1353
|
altText: string;
|
|
1350
1354
|
rateColorMode: string;
|
|
1351
1355
|
expression: {
|
|
@@ -1191,10 +1191,14 @@ export declare var enStrings: {
|
|
|
1191
1191
|
imageHeight: string;
|
|
1192
1192
|
imageWidth: string;
|
|
1193
1193
|
};
|
|
1194
|
+
image: {
|
|
1195
|
+
contentMode: string;
|
|
1196
|
+
};
|
|
1194
1197
|
imagepicker: {
|
|
1195
1198
|
imageHeight: string;
|
|
1196
1199
|
imageWidth: string;
|
|
1197
1200
|
choices: string;
|
|
1201
|
+
contentMode: string;
|
|
1198
1202
|
};
|
|
1199
1203
|
text: {
|
|
1200
1204
|
size: string;
|
|
@@ -1305,7 +1309,6 @@ export declare var enStrings: {
|
|
|
1305
1309
|
dataList: string;
|
|
1306
1310
|
itemSize: string;
|
|
1307
1311
|
itemTitleWidth: string;
|
|
1308
|
-
contentMode: string;
|
|
1309
1312
|
altText: string;
|
|
1310
1313
|
rateColorMode: string;
|
|
1311
1314
|
expression: {
|