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.
Files changed (81) hide show
  1. package/fonts.fontless.css +1 -1
  2. package/fonts.fontless.min.css +1 -1
  3. package/i18n/arabic.js +1 -1
  4. package/i18n/arabic.min.js +1 -1
  5. package/i18n/bulgarian.js +1 -1
  6. package/i18n/bulgarian.min.js +1 -1
  7. package/i18n/croatian.js +1 -1
  8. package/i18n/croatian.min.js +1 -1
  9. package/i18n/czech.js +1 -1
  10. package/i18n/czech.min.js +1 -1
  11. package/i18n/danish.js +1 -1
  12. package/i18n/danish.min.js +1 -1
  13. package/i18n/dutch.js +1 -1
  14. package/i18n/dutch.min.js +1 -1
  15. package/i18n/english.js +5 -2
  16. package/i18n/english.js.map +1 -1
  17. package/i18n/english.min.js +2 -2
  18. package/i18n/finnish.js +1 -1
  19. package/i18n/finnish.min.js +1 -1
  20. package/i18n/french.js +1 -1
  21. package/i18n/french.min.js +1 -1
  22. package/i18n/german.js +1 -1
  23. package/i18n/german.min.js +1 -1
  24. package/i18n/hebrew.js +1 -1
  25. package/i18n/hebrew.min.js +1 -1
  26. package/i18n/hungarian.js +1 -1
  27. package/i18n/hungarian.min.js +1 -1
  28. package/i18n/index.js +1 -1
  29. package/i18n/index.min.js +1 -1
  30. package/i18n/indonesian.js +1 -1
  31. package/i18n/indonesian.min.js +1 -1
  32. package/i18n/italian.js +1 -1
  33. package/i18n/italian.min.js +1 -1
  34. package/i18n/japanese.js +1 -1
  35. package/i18n/japanese.min.js +1 -1
  36. package/i18n/korean.js +1 -1
  37. package/i18n/korean.min.js +1 -1
  38. package/i18n/malay.js +1 -1
  39. package/i18n/malay.min.js +1 -1
  40. package/i18n/mongolian.js +1 -1
  41. package/i18n/mongolian.min.js +1 -1
  42. package/i18n/norwegian.js +1 -1
  43. package/i18n/norwegian.min.js +1 -1
  44. package/i18n/persian.js +1 -1
  45. package/i18n/persian.min.js +1 -1
  46. package/i18n/polish.js +1 -1
  47. package/i18n/polish.min.js +1 -1
  48. package/i18n/portuguese.js +1 -1
  49. package/i18n/portuguese.min.js +1 -1
  50. package/i18n/russian.js +1 -1
  51. package/i18n/russian.min.js +1 -1
  52. package/i18n/simplified-chinese.js +1 -1
  53. package/i18n/simplified-chinese.min.js +1 -1
  54. package/i18n/slovak.js +1 -1
  55. package/i18n/slovak.min.js +1 -1
  56. package/i18n/spanish.js +1 -1
  57. package/i18n/spanish.min.js +1 -1
  58. package/i18n/swedish.js +1 -1
  59. package/i18n/swedish.min.js +1 -1
  60. package/i18n/tajik.js +1 -1
  61. package/i18n/tajik.min.js +1 -1
  62. package/i18n/traditional-chinese.js +1 -1
  63. package/i18n/traditional-chinese.min.js +1 -1
  64. package/i18n/turkish.js +1 -1
  65. package/i18n/turkish.min.js +1 -1
  66. package/package.json +2 -2
  67. package/survey-creator-core.css +14 -14
  68. package/survey-creator-core.fontless.css +13 -13
  69. package/survey-creator-core.fontless.css.map +1 -1
  70. package/survey-creator-core.fontless.min.css +2 -2
  71. package/survey-creator-core.i18n.js +1 -1
  72. package/survey-creator-core.i18n.min.js +1 -1
  73. package/survey-creator-core.js +107 -74
  74. package/survey-creator-core.js.map +1 -1
  75. package/survey-creator-core.min.css +3 -3
  76. package/survey-creator-core.min.js +5 -5
  77. package/typings/components/question.d.ts +1 -1
  78. package/typings/creator-base.d.ts +7 -1
  79. package/typings/creator-settings.d.ts +2 -0
  80. package/typings/editorLocalization.d.ts +5 -1
  81. 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: any;
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): any;
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: {