survey-creator-core 2.3.13 → 2.3.14

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 (147) hide show
  1. package/fesm/i18n/arabic.mjs +1 -1
  2. package/fesm/i18n/bulgarian.mjs +1 -1
  3. package/fesm/i18n/burmese.mjs +1 -1
  4. package/fesm/i18n/croatian.mjs +1 -1
  5. package/fesm/i18n/czech.mjs +1 -1
  6. package/fesm/i18n/danish.mjs +1 -1
  7. package/fesm/i18n/dutch.mjs +1 -1
  8. package/fesm/i18n/english.mjs +2 -1
  9. package/fesm/i18n/english.mjs.map +1 -1
  10. package/fesm/i18n/finnish.mjs +1 -1
  11. package/fesm/i18n/french.mjs +1 -1
  12. package/fesm/i18n/german.mjs +1 -1
  13. package/fesm/i18n/greek.mjs +1 -1
  14. package/fesm/i18n/haitian-creole.mjs +1 -1
  15. package/fesm/i18n/hebrew.mjs +1 -1
  16. package/fesm/i18n/hungarian.mjs +1 -1
  17. package/fesm/i18n/index.mjs +1 -1
  18. package/fesm/i18n/indonesian.mjs +1 -1
  19. package/fesm/i18n/italian.mjs +1 -1
  20. package/fesm/i18n/japanese.mjs +1 -1
  21. package/fesm/i18n/korean.mjs +1 -1
  22. package/fesm/i18n/malay.mjs +1 -1
  23. package/fesm/i18n/mongolian.mjs +1 -1
  24. package/fesm/i18n/norwegian.mjs +1 -1
  25. package/fesm/i18n/persian.mjs +1 -1
  26. package/fesm/i18n/polish.mjs +1 -1
  27. package/fesm/i18n/portuguese.mjs +1 -1
  28. package/fesm/i18n/romanian.mjs +1 -1
  29. package/fesm/i18n/russian.mjs +1 -1
  30. package/fesm/i18n/simplified-chinese.mjs +1 -1
  31. package/fesm/i18n/slovak.mjs +1 -1
  32. package/fesm/i18n/slovenian.mjs +1 -1
  33. package/fesm/i18n/spanish.mjs +1 -1
  34. package/fesm/i18n/swedish.mjs +1 -1
  35. package/fesm/i18n/tajik.mjs +1 -1
  36. package/fesm/i18n/thai.mjs +1 -1
  37. package/fesm/i18n/traditional-chinese.mjs +1 -1
  38. package/fesm/i18n/turkish.mjs +1 -1
  39. package/fesm/survey-creator-core.i18n.mjs +1 -1
  40. package/fesm/survey-creator-core.mjs +135 -188
  41. package/fesm/survey-creator-core.mjs.map +1 -1
  42. package/fesm/themes/index.mjs +1 -1
  43. package/fonts.fontless.css +1 -1
  44. package/fonts.fontless.min.css +1 -1
  45. package/i18n/arabic.js +1 -1
  46. package/i18n/arabic.min.js.LICENSE.txt +1 -1
  47. package/i18n/bulgarian.js +1 -1
  48. package/i18n/bulgarian.min.js.LICENSE.txt +1 -1
  49. package/i18n/burmese.js +1 -1
  50. package/i18n/burmese.min.js.LICENSE.txt +1 -1
  51. package/i18n/croatian.js +1 -1
  52. package/i18n/croatian.min.js.LICENSE.txt +1 -1
  53. package/i18n/czech.js +1 -1
  54. package/i18n/czech.min.js.LICENSE.txt +1 -1
  55. package/i18n/danish.js +1 -1
  56. package/i18n/danish.min.js.LICENSE.txt +1 -1
  57. package/i18n/dutch.js +1 -1
  58. package/i18n/dutch.min.js.LICENSE.txt +1 -1
  59. package/i18n/english.js +2 -1
  60. package/i18n/english.js.map +1 -1
  61. package/i18n/english.min.js +1 -1
  62. package/i18n/english.min.js.LICENSE.txt +1 -1
  63. package/i18n/finnish.js +1 -1
  64. package/i18n/finnish.min.js.LICENSE.txt +1 -1
  65. package/i18n/french.js +1 -1
  66. package/i18n/french.min.js.LICENSE.txt +1 -1
  67. package/i18n/german.js +1 -1
  68. package/i18n/german.min.js.LICENSE.txt +1 -1
  69. package/i18n/greek.js +1 -1
  70. package/i18n/greek.min.js.LICENSE.txt +1 -1
  71. package/i18n/haitian-creole.js +1 -1
  72. package/i18n/haitian-creole.min.js.LICENSE.txt +1 -1
  73. package/i18n/hebrew.js +1 -1
  74. package/i18n/hebrew.min.js.LICENSE.txt +1 -1
  75. package/i18n/hungarian.js +1 -1
  76. package/i18n/hungarian.min.js.LICENSE.txt +1 -1
  77. package/i18n/index.js +1 -1
  78. package/i18n/index.min.js.LICENSE.txt +1 -1
  79. package/i18n/indonesian.js +1 -1
  80. package/i18n/indonesian.min.js.LICENSE.txt +1 -1
  81. package/i18n/italian.js +1 -1
  82. package/i18n/italian.min.js.LICENSE.txt +1 -1
  83. package/i18n/japanese.js +1 -1
  84. package/i18n/japanese.min.js.LICENSE.txt +1 -1
  85. package/i18n/korean.js +1 -1
  86. package/i18n/korean.min.js.LICENSE.txt +1 -1
  87. package/i18n/malay.js +1 -1
  88. package/i18n/malay.min.js.LICENSE.txt +1 -1
  89. package/i18n/mongolian.js +1 -1
  90. package/i18n/mongolian.min.js.LICENSE.txt +1 -1
  91. package/i18n/norwegian.js +1 -1
  92. package/i18n/norwegian.min.js.LICENSE.txt +1 -1
  93. package/i18n/persian.js +1 -1
  94. package/i18n/persian.min.js.LICENSE.txt +1 -1
  95. package/i18n/polish.js +1 -1
  96. package/i18n/polish.min.js.LICENSE.txt +1 -1
  97. package/i18n/portuguese.js +1 -1
  98. package/i18n/portuguese.min.js.LICENSE.txt +1 -1
  99. package/i18n/romanian.js +1 -1
  100. package/i18n/romanian.min.js.LICENSE.txt +1 -1
  101. package/i18n/russian.js +1 -1
  102. package/i18n/russian.min.js.LICENSE.txt +1 -1
  103. package/i18n/simplified-chinese.js +1 -1
  104. package/i18n/simplified-chinese.min.js.LICENSE.txt +1 -1
  105. package/i18n/slovak.js +1 -1
  106. package/i18n/slovak.min.js.LICENSE.txt +1 -1
  107. package/i18n/slovenian.js +1 -1
  108. package/i18n/slovenian.min.js.LICENSE.txt +1 -1
  109. package/i18n/spanish.js +1 -1
  110. package/i18n/spanish.min.js.LICENSE.txt +1 -1
  111. package/i18n/swedish.js +1 -1
  112. package/i18n/swedish.min.js.LICENSE.txt +1 -1
  113. package/i18n/tajik.js +1 -1
  114. package/i18n/tajik.min.js.LICENSE.txt +1 -1
  115. package/i18n/thai.js +1 -1
  116. package/i18n/thai.min.js.LICENSE.txt +1 -1
  117. package/i18n/traditional-chinese.js +1 -1
  118. package/i18n/traditional-chinese.min.js.LICENSE.txt +1 -1
  119. package/i18n/turkish.js +1 -1
  120. package/i18n/turkish.min.js.LICENSE.txt +1 -1
  121. package/package.json +2 -2
  122. package/survey-creator-core.css +2 -2
  123. package/survey-creator-core.fontless.css +1 -1
  124. package/survey-creator-core.fontless.min.css +1 -1
  125. package/survey-creator-core.i18n.js +1 -1
  126. package/survey-creator-core.i18n.min.js.LICENSE.txt +1 -1
  127. package/survey-creator-core.js +143 -188
  128. package/survey-creator-core.js.map +1 -1
  129. package/survey-creator-core.min.css +2 -2
  130. package/survey-creator-core.min.js +1 -1
  131. package/survey-creator-core.min.js.LICENSE.txt +1 -1
  132. package/themes/default-contrast.js +1 -1
  133. package/themes/default-contrast.min.js.LICENSE.txt +1 -1
  134. package/themes/default-dark.js +1 -1
  135. package/themes/default-dark.min.js.LICENSE.txt +1 -1
  136. package/themes/index.js +1 -1
  137. package/themes/index.min.js.LICENSE.txt +1 -1
  138. package/themes/sc2020.js +1 -1
  139. package/themes/sc2020.min.js.LICENSE.txt +1 -1
  140. package/typings/components/question-rating.d.ts +1 -1
  141. package/typings/creator-base.d.ts +5 -3
  142. package/typings/creator-events-api.d.ts +1 -1
  143. package/typings/creator-settings.d.ts +16 -34
  144. package/typings/editorLocalization.d.ts +1 -0
  145. package/typings/localization/english.d.ts +1 -0
  146. package/typings/survey-helper.d.ts +0 -1
  147. package/typings/toolbox.d.ts +3 -10
@@ -6,7 +6,7 @@ License: MIT
6
6
  */
7
7
 
8
8
  /*!
9
- * SurveyJS Creator v2.3.13
9
+ * SurveyJS Creator v2.3.14
10
10
  * (c) 2015-2025 Devsoft Baltic OÜ - http://surveyjs.io/
11
11
  * Github: https://github.com/surveyjs/survey-creator
12
12
  * License: https://surveyjs.io/Licenses#SurveyCreator
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * SurveyJS Creator v2.3.13
2
+ * SurveyJS Creator v2.3.14
3
3
  * (c) 2015-2025 Devsoft Baltic OÜ - http://surveyjs.io/
4
4
  * Github: https://github.com/surveyjs/survey-creator
5
5
  * License: https://surveyjs.io/Licenses#SurveyCreator
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * SurveyJS Creator v2.3.13
2
+ * SurveyJS Creator v2.3.14
3
3
  * (c) 2015-2025 Devsoft Baltic OÜ - http://surveyjs.io/
4
4
  * Github: https://github.com/surveyjs/survey-creator
5
5
  * License: https://surveyjs.io/Licenses#SurveyCreator
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * SurveyJS Creator v2.3.13
2
+ * SurveyJS Creator v2.3.14
3
3
  * (c) 2015-2025 Devsoft Baltic OÜ - http://surveyjs.io/
4
4
  * Github: https://github.com/surveyjs/survey-creator
5
5
  * License: https://surveyjs.io/Licenses#SurveyCreator
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * SurveyJS Creator v2.3.13
2
+ * SurveyJS Creator v2.3.14
3
3
  * (c) 2015-2025 Devsoft Baltic OÜ - http://surveyjs.io/
4
4
  * Github: https://github.com/surveyjs/survey-creator
5
5
  * License: https://surveyjs.io/Licenses#SurveyCreator
package/themes/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * SurveyJS Creator v2.3.13
2
+ * SurveyJS Creator v2.3.14
3
3
  * (c) 2015-2025 Devsoft Baltic OÜ - http://surveyjs.io/
4
4
  * Github: https://github.com/surveyjs/survey-creator
5
5
  * License: https://surveyjs.io/Licenses#SurveyCreator
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * SurveyJS Creator v2.3.13
2
+ * SurveyJS Creator v2.3.14
3
3
  * (c) 2015-2025 Devsoft Baltic OÜ - http://surveyjs.io/
4
4
  * Github: https://github.com/surveyjs/survey-creator
5
5
  * License: https://surveyjs.io/Licenses#SurveyCreator
package/themes/sc2020.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * SurveyJS Creator v2.3.13
2
+ * SurveyJS Creator v2.3.14
3
3
  * (c) 2015-2025 Devsoft Baltic OÜ - http://surveyjs.io/
4
4
  * Github: https://github.com/surveyjs/survey-creator
5
5
  * License: https://surveyjs.io/Licenses#SurveyCreator
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * SurveyJS Creator v2.3.13
2
+ * SurveyJS Creator v2.3.14
3
3
  * (c) 2015-2025 Devsoft Baltic OÜ - http://surveyjs.io/
4
4
  * Github: https://github.com/surveyjs/survey-creator
5
5
  * License: https://surveyjs.io/Licenses#SurveyCreator
@@ -10,7 +10,7 @@ export declare class QuestionRatingAdornerViewModel extends Base {
10
10
  static useRateValues(element: any): boolean;
11
11
  addItem(model: QuestionRatingAdornerViewModel): void;
12
12
  removeItem(model: QuestionRatingAdornerViewModel): void;
13
- static allowAddForElement(element: QuestionRatingModel, maximumRateValues: number): boolean;
13
+ static allowAddForElement(element: QuestionRatingModel, maxRateValues: number): boolean;
14
14
  get allowAdd(): boolean;
15
15
  get enableAdd(): boolean;
16
16
  get addClassNames(): string;
@@ -829,11 +829,13 @@ export declare class SurveyCreatorModel extends Base implements ISurveyCreatorOp
829
829
  /**
830
830
  * @deprecated Use the [`useElementTitles`](https://surveyjs.io/survey-creator/documentation/api-reference/survey-creator#useElementTitles) property instead.
831
831
  */
832
- showObjectTitles: boolean;
832
+ get showObjectTitles(): boolean;
833
+ set showObjectTitles(val: boolean);
833
834
  /**
834
835
  * @deprecated Use the [`useElementTitles`](https://surveyjs.io/survey-creator/documentation/api-reference/survey-creator#useElementTitles) property instead.
835
836
  */
836
- showTitlesInExpressions: boolean;
837
+ get showTitlesInExpressions(): boolean;
838
+ set showTitlesInExpressions(val: boolean);
837
839
  /**
838
840
  * Specifies whether Survey Creator UI elements display survey, page, and question titles instead of their names.
839
841
  *
@@ -1236,7 +1238,7 @@ export declare class SurveyCreatorModel extends Base implements ISurveyCreatorOp
1236
1238
  setShowSidebar(value: boolean, isManualMode?: boolean): void;
1237
1239
  onShowPropertyGridVisiblityChanged: EventBase<SurveyCreatorModel, any>;
1238
1240
  /**
1239
- * @deprecated showPropertyGrid is deprecated, use showSidebar instead.
1241
+ * @deprecated Use the [`showSidebar`](https://surveyjs.io/survey-creator/documentation/api-reference/survey-creator#showSidebar) property instead.
1240
1242
  */
1241
1243
  get showPropertyGrid(): boolean;
1242
1244
  set showPropertyGrid(val: boolean);
@@ -49,7 +49,7 @@ export interface PropertyGetReadOnlyEvent extends GetPropertyReadOnlyEvent {
49
49
  */
50
50
  element: Base;
51
51
  /**
52
- * A survey element that contains `options.parentProperty`. `options.parentObj` has a value only for nested properties.
52
+ * A survey element that contains `options.parentProperty`. `options.parentElement` has a value only for nested properties.
53
53
  */
54
54
  parentElement: Base;
55
55
  }
@@ -169,30 +169,21 @@ export interface ISurveyCreatorOptions {
169
169
  isMobileView: boolean;
170
170
  alwaySaveTextInPropertyEditors: boolean;
171
171
  readOnly: boolean;
172
- maxLogicItemsInCondition: number;
173
- /**
174
- * @deprecated
175
- */
176
- showObjectTitles: boolean;
177
- /**
178
- * @deprecated
179
- */
180
- showTitlesInExpressions: boolean;
172
+ logicMaxItemsInCondition: number;
173
+ logicAllowTextEditExpressions: boolean;
181
174
  useElementTitles: boolean;
182
- allowEditExpressionsInTextEditor: boolean;
183
- maximumColumnsCount: number;
184
- minimumChoicesCount: number;
185
- maximumChoicesCount: number;
186
- maximumRowsCount: number;
187
- maximumRateValues: number;
188
- maxNestedPanels: number;
175
+ maxColumns: number;
176
+ minChoices: number;
177
+ maxChoices: number;
178
+ maxRows: number;
179
+ maxRateValues: number;
189
180
  maxPanelNestingLevel: number;
190
181
  forbiddenNestedElements: {
191
182
  panel: string[];
192
183
  paneldynamic: string[];
193
184
  };
194
185
  enableLinkFileEditor: boolean;
195
- inplaceEditForValues: boolean;
186
+ inplaceEditChoiceValues: boolean;
196
187
  rootElement?: HTMLElement;
197
188
  previewShowResults: boolean;
198
189
  showOneCategoryInPropertyGrid: boolean;
@@ -241,6 +232,7 @@ export interface ISurveyCreatorOptions {
241
232
  canAddPage(pageToAdd?: PageModel): boolean;
242
233
  }
243
234
  export declare class EmptySurveyCreatorOptions implements ISurveyCreatorOptions, ILocalizableOwner {
235
+ logicMaxItemsInCondition: number;
244
236
  previewShowResults: boolean;
245
237
  rootElement: HTMLElement;
246
238
  enableLinkFileEditor: boolean;
@@ -248,25 +240,15 @@ export declare class EmptySurveyCreatorOptions implements ISurveyCreatorOptions,
248
240
  isMobileView: boolean;
249
241
  alwaySaveTextInPropertyEditors: boolean;
250
242
  readOnly: boolean;
251
- maxLogicItemsInCondition: number;
252
- /**
253
- * @deprecated
254
- */
255
- showObjectTitles: boolean;
256
- /**
257
- * @deprecated
258
- */
259
- showTitlesInExpressions: boolean;
260
243
  useElementTitles: boolean;
261
- allowEditExpressionsInTextEditor: boolean;
262
- maximumColumnsCount: number;
263
- minimumChoicesCount: number;
264
- maximumChoicesCount: number;
265
- maximumRowsCount: number;
266
- maximumRateValues: number;
244
+ logicAllowTextEditExpressions: boolean;
245
+ maxColumns: number;
246
+ minChoices: number;
247
+ maxChoices: number;
248
+ maxRows: number;
249
+ maxRateValues: number;
267
250
  machineTranslationValue: boolean;
268
- inplaceEditForValues: boolean;
269
- maxNestedPanels: number;
251
+ inplaceEditChoiceValues: boolean;
270
252
  maxPanelNestingLevel: number;
271
253
  forbiddenNestedElements: {
272
254
  panel: string[];
@@ -635,6 +635,7 @@ export declare var defaultStrings: {
635
635
  showPreview: string;
636
636
  storeDataAsText: string;
637
637
  maxSize: string;
638
+ maxFiles: string;
638
639
  rowCount: string;
639
640
  columnLayout: string;
640
641
  addRowButtonLocation: string;
@@ -587,6 +587,7 @@ export declare var enStrings: {
587
587
  showPreview: string;
588
588
  storeDataAsText: string;
589
589
  maxSize: string;
590
+ maxFiles: string;
590
591
  rowCount: string;
591
592
  columnLayout: string;
592
593
  addRowButtonLocation: string;
@@ -54,5 +54,4 @@ export declare class SurveyHelper {
54
54
  static getElementDeepLength(element: SurveyElement): number;
55
55
  static getMaximumNestedPanelDepth(panel: PanelModel, currentDepth: number): number;
56
56
  static getElementParentContainers(element: SurveyElement, includingPage?: boolean): SurveyElement[];
57
- static isPanelDynamic(element: any): boolean;
58
57
  }
@@ -32,9 +32,6 @@ export interface IQuestionToolboxItem extends IAction {
32
32
  * A user-friendly toolbox item title.
33
33
  */
34
34
  title?: string;
35
- titles?: {
36
- [locale: string]: string;
37
- };
38
35
  className?: string;
39
36
  /**
40
37
  * A toolbox item tooltip.
@@ -62,6 +59,8 @@ export interface IQuestionToolboxItem extends IAction {
62
59
  clearSubitems?(): void;
63
60
  addSubitem?(subitem: IQuestionToolboxItem, index: number): void;
64
61
  removeSubitem?(subitem: IQuestionToolboxItem | string): void;
62
+ propName?: string;
63
+ propValue?: any;
65
64
  }
66
65
  export interface IQuestionToolbox {
67
66
  toggleCategoryState(name: string): any;
@@ -103,15 +102,13 @@ export declare class QuestionToolboxItem extends Action implements IQuestionTool
103
102
  isDisabledByRestriction: boolean;
104
103
  static getItemClassNames(iconName?: string): string;
105
104
  constructor(item: IQuestionToolboxItem);
106
- titles: {
107
- [locale: string]: string;
108
- };
109
105
  elementId?: string;
110
106
  /**
111
107
  * A user-friendly toolbox item title.
112
108
  */
113
109
  get title(): string;
114
110
  set title(val: string);
111
+ protected getId(): string;
115
112
  /**
116
113
  * Specifies whether users can interact with the toolbox item.
117
114
  *
@@ -361,7 +358,6 @@ export declare class QuestionToolbox extends AdaptiveActionContainer<QuestionToo
361
358
  * @see items
362
359
  */
363
360
  addItem(item: IQuestionToolboxItem, index?: number): void;
364
- private correctItem;
365
361
  private get dragDropHelper();
366
362
  /**
367
363
  * Adds a new toolbox item and deletes an existing item with the same name (if there is any).
@@ -428,8 +424,6 @@ export declare class QuestionToolbox extends AdaptiveActionContainer<QuestionToo
428
424
  get showCategoryTitles(): boolean;
429
425
  set showCategoryTitles(val: boolean);
430
426
  updateTitles(): void;
431
- private updateToolboxItemTitle;
432
- private updateActionTitle;
433
427
  private updateCategoriesState;
434
428
  /**
435
429
  * Changes the category of a toolbox item.
@@ -529,7 +523,6 @@ export declare class QuestionToolbox extends AdaptiveActionContainer<QuestionToo
529
523
  private addToolBoxItem;
530
524
  private getActionByIdFromArray;
531
525
  private createToolboxItemFromJSON;
532
- private getTitleFromJsonTitle;
533
526
  private getQuestionJSON;
534
527
  private isHiddenCustomWidget;
535
528
  private getQuestionTypes;