survey-core 1.12.10 → 1.12.12

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 (322) hide show
  1. package/defaultV2.css +5 -5
  2. package/defaultV2.css.map +1 -1
  3. package/defaultV2.fontless.css +5 -5
  4. package/defaultV2.fontless.css.map +1 -1
  5. package/defaultV2.fontless.min.css +2 -2
  6. package/defaultV2.min.css +2 -2
  7. package/i18n/arabic.js +2 -2
  8. package/i18n/arabic.js.map +1 -1
  9. package/i18n/arabic.min.js +2 -2
  10. package/i18n/basque.js +2 -2
  11. package/i18n/basque.js.map +1 -1
  12. package/i18n/basque.min.js +2 -2
  13. package/i18n/bulgarian.js +2 -2
  14. package/i18n/bulgarian.js.map +1 -1
  15. package/i18n/bulgarian.min.js +2 -2
  16. package/i18n/catalan.js +2 -2
  17. package/i18n/catalan.js.map +1 -1
  18. package/i18n/catalan.min.js +2 -2
  19. package/i18n/croatian.js +2 -2
  20. package/i18n/croatian.js.map +1 -1
  21. package/i18n/croatian.min.js +2 -2
  22. package/i18n/czech.js +2 -2
  23. package/i18n/czech.js.map +1 -1
  24. package/i18n/czech.min.js +2 -2
  25. package/i18n/danish.js +2 -2
  26. package/i18n/danish.js.map +1 -1
  27. package/i18n/danish.min.js +2 -2
  28. package/i18n/dutch.js +2 -2
  29. package/i18n/dutch.js.map +1 -1
  30. package/i18n/dutch.min.js +2 -2
  31. package/i18n/english.js +3 -3
  32. package/i18n/english.js.map +1 -1
  33. package/i18n/english.min.js +1 -1
  34. package/i18n/estonian.js +2 -2
  35. package/i18n/estonian.js.map +1 -1
  36. package/i18n/estonian.min.js +2 -2
  37. package/i18n/finnish.js +2 -2
  38. package/i18n/finnish.js.map +1 -1
  39. package/i18n/finnish.min.js +2 -2
  40. package/i18n/french.js +2 -2
  41. package/i18n/french.js.map +1 -1
  42. package/i18n/french.min.js +2 -2
  43. package/i18n/georgian.js +2 -2
  44. package/i18n/georgian.js.map +1 -1
  45. package/i18n/georgian.min.js +2 -2
  46. package/i18n/german.js +2 -2
  47. package/i18n/german.js.map +1 -1
  48. package/i18n/german.min.js +2 -2
  49. package/i18n/greek.js +2 -2
  50. package/i18n/greek.js.map +1 -1
  51. package/i18n/greek.min.js +2 -2
  52. package/i18n/hebrew.js +2 -2
  53. package/i18n/hebrew.js.map +1 -1
  54. package/i18n/hebrew.min.js +2 -2
  55. package/i18n/hindi.js +2 -2
  56. package/i18n/hindi.js.map +1 -1
  57. package/i18n/hindi.min.js +2 -2
  58. package/i18n/hungarian.js +2 -2
  59. package/i18n/hungarian.js.map +1 -1
  60. package/i18n/hungarian.min.js +2 -2
  61. package/i18n/icelandic.js +2 -2
  62. package/i18n/icelandic.js.map +1 -1
  63. package/i18n/icelandic.min.js +2 -2
  64. package/i18n/index.js +51 -53
  65. package/i18n/index.js.map +1 -1
  66. package/i18n/index.min.js +2 -2
  67. package/i18n/indonesian.js +2 -2
  68. package/i18n/indonesian.js.map +1 -1
  69. package/i18n/indonesian.min.js +2 -2
  70. package/i18n/italian.js +2 -2
  71. package/i18n/italian.js.map +1 -1
  72. package/i18n/italian.min.js +2 -2
  73. package/i18n/japanese.js +2 -2
  74. package/i18n/japanese.js.map +1 -1
  75. package/i18n/japanese.min.js +2 -2
  76. package/i18n/kazakh.js +2 -2
  77. package/i18n/kazakh.js.map +1 -1
  78. package/i18n/kazakh.min.js +2 -2
  79. package/i18n/korean.js +2 -2
  80. package/i18n/korean.js.map +1 -1
  81. package/i18n/korean.min.js +2 -2
  82. package/i18n/latvian.js +2 -2
  83. package/i18n/latvian.js.map +1 -1
  84. package/i18n/latvian.min.js +2 -2
  85. package/i18n/lithuanian.js +2 -2
  86. package/i18n/lithuanian.js.map +1 -1
  87. package/i18n/lithuanian.min.js +2 -2
  88. package/i18n/macedonian.js +2 -2
  89. package/i18n/macedonian.js.map +1 -1
  90. package/i18n/macedonian.min.js +2 -2
  91. package/i18n/malay.js +2 -2
  92. package/i18n/malay.js.map +1 -1
  93. package/i18n/malay.min.js +2 -2
  94. package/i18n/nl-BE.js +3 -3
  95. package/i18n/nl-BE.js.map +1 -1
  96. package/i18n/nl-BE.min.js +2 -2
  97. package/i18n/norwegian.js +2 -2
  98. package/i18n/norwegian.js.map +1 -1
  99. package/i18n/norwegian.min.js +2 -2
  100. package/i18n/persian.js +2 -2
  101. package/i18n/persian.js.map +1 -1
  102. package/i18n/persian.min.js +2 -2
  103. package/i18n/philippines.js +2 -2
  104. package/i18n/philippines.js.map +1 -1
  105. package/i18n/philippines.min.js +2 -2
  106. package/i18n/polish.js +2 -2
  107. package/i18n/polish.js.map +1 -1
  108. package/i18n/polish.min.js +2 -2
  109. package/i18n/portuguese-br.js +2 -2
  110. package/i18n/portuguese-br.js.map +1 -1
  111. package/i18n/portuguese-br.min.js +2 -2
  112. package/i18n/portuguese.js +2 -2
  113. package/i18n/portuguese.js.map +1 -1
  114. package/i18n/portuguese.min.js +2 -2
  115. package/i18n/romanian.js +2 -2
  116. package/i18n/romanian.js.map +1 -1
  117. package/i18n/romanian.min.js +2 -2
  118. package/i18n/russian.js +2 -2
  119. package/i18n/russian.js.map +1 -1
  120. package/i18n/russian.min.js +2 -2
  121. package/i18n/serbian.js +2 -3
  122. package/i18n/serbian.js.map +1 -1
  123. package/i18n/serbian.min.js +2 -2
  124. package/i18n/simplified-chinese.js +2 -2
  125. package/i18n/simplified-chinese.js.map +1 -1
  126. package/i18n/simplified-chinese.min.js +2 -2
  127. package/i18n/slovak.js +2 -2
  128. package/i18n/slovak.js.map +1 -1
  129. package/i18n/slovak.min.js +2 -2
  130. package/i18n/spanish.js +2 -2
  131. package/i18n/spanish.js.map +1 -1
  132. package/i18n/spanish.min.js +2 -2
  133. package/i18n/swahili.js +2 -2
  134. package/i18n/swahili.js.map +1 -1
  135. package/i18n/swahili.min.js +2 -2
  136. package/i18n/swedish.js +2 -2
  137. package/i18n/swedish.js.map +1 -1
  138. package/i18n/swedish.min.js +2 -2
  139. package/i18n/tajik.js +2 -2
  140. package/i18n/tajik.js.map +1 -1
  141. package/i18n/tajik.min.js +2 -2
  142. package/i18n/telugu.js +2 -2
  143. package/i18n/telugu.js.map +1 -1
  144. package/i18n/telugu.min.js +2 -2
  145. package/i18n/thai.js +2 -2
  146. package/i18n/thai.js.map +1 -1
  147. package/i18n/thai.min.js +2 -2
  148. package/i18n/traditional-chinese.js +2 -2
  149. package/i18n/traditional-chinese.js.map +1 -1
  150. package/i18n/traditional-chinese.min.js +2 -2
  151. package/i18n/turkish.js +2 -2
  152. package/i18n/turkish.js.map +1 -1
  153. package/i18n/turkish.min.js +2 -2
  154. package/i18n/ukrainian.js +2 -2
  155. package/i18n/ukrainian.js.map +1 -1
  156. package/i18n/ukrainian.min.js +2 -2
  157. package/i18n/urdu.js +2 -3
  158. package/i18n/urdu.js.map +1 -1
  159. package/i18n/urdu.min.js +2 -2
  160. package/i18n/vietnamese.js +2 -3
  161. package/i18n/vietnamese.js.map +1 -1
  162. package/i18n/vietnamese.min.js +2 -2
  163. package/i18n/welsh.js +2 -2
  164. package/i18n/welsh.js.map +1 -1
  165. package/i18n/welsh.min.js +2 -2
  166. package/icons/iconsV1.d.ts +4 -0
  167. package/icons/iconsV1.js +927 -0
  168. package/icons/iconsV1.js.map +1 -0
  169. package/icons/iconsV1.min.js +6 -0
  170. package/icons/iconsV2.d.ts +4 -0
  171. package/icons/iconsV2.js +927 -0
  172. package/icons/iconsV2.js.map +1 -0
  173. package/icons/iconsV2.min.js +6 -0
  174. package/modern.css +9 -1
  175. package/modern.css.map +1 -1
  176. package/modern.fontless.css +9 -1
  177. package/modern.fontless.css.map +1 -1
  178. package/modern.fontless.min.css +2 -2
  179. package/modern.min.css +2 -2
  180. package/package.json +1 -1
  181. package/plugins/bootstrap-integration/index.js +1 -1
  182. package/plugins/bootstrap-integration/index.min.js +1 -1
  183. package/plugins/bootstrap-material-integration/index.js +1 -1
  184. package/plugins/bootstrap-material-integration/index.min.js +1 -1
  185. package/survey.core.js +414 -1920
  186. package/survey.core.js.map +1 -1
  187. package/survey.core.min.js +3 -3
  188. package/survey.css +1 -1
  189. package/survey.i18n.js +51 -53
  190. package/survey.i18n.js.map +1 -1
  191. package/survey.i18n.min.js +2 -2
  192. package/survey.min.css +1 -1
  193. package/themes/borderless-dark-panelless.js +1 -1
  194. package/themes/borderless-dark-panelless.min.js +1 -1
  195. package/themes/borderless-dark.js +1 -1
  196. package/themes/borderless-dark.min.js +1 -1
  197. package/themes/borderless-light-panelless..js +1 -1
  198. package/themes/borderless-light-panelless..min.js +1 -1
  199. package/themes/borderless-light.js +1 -1
  200. package/themes/borderless-light.min.js +1 -1
  201. package/themes/contrast-dark-panelless.js +1 -1
  202. package/themes/contrast-dark-panelless.min.js +1 -1
  203. package/themes/contrast-dark.js +1 -1
  204. package/themes/contrast-dark.min.js +1 -1
  205. package/themes/contrast-light-panelless.js +1 -1
  206. package/themes/contrast-light-panelless.min.js +1 -1
  207. package/themes/contrast-light.js +1 -1
  208. package/themes/contrast-light.min.js +1 -1
  209. package/themes/default-dark-panelless.js +1 -1
  210. package/themes/default-dark-panelless.min.js +1 -1
  211. package/themes/default-dark.js +1 -1
  212. package/themes/default-dark.min.js +1 -1
  213. package/themes/default-light-panelless.js +1 -1
  214. package/themes/default-light-panelless.min.js +1 -1
  215. package/themes/default-light.js +1 -1
  216. package/themes/default-light.min.js +1 -1
  217. package/themes/doubleborder-dark-panelless.js +1 -1
  218. package/themes/doubleborder-dark-panelless.min.js +1 -1
  219. package/themes/doubleborder-dark.js +1 -1
  220. package/themes/doubleborder-dark.min.js +1 -1
  221. package/themes/doubleborder-light-panelles.js +1 -1
  222. package/themes/doubleborder-light-panelles.min.js +1 -1
  223. package/themes/doubleborder-light.js +1 -1
  224. package/themes/doubleborder-light.min.js +1 -1
  225. package/themes/flat-dark-panelless.js +1 -1
  226. package/themes/flat-dark-panelless.min.js +1 -1
  227. package/themes/flat-dark.js +1 -1
  228. package/themes/flat-dark.min.js +1 -1
  229. package/themes/flat-light-panelless.js +1 -1
  230. package/themes/flat-light-panelless.min.js +1 -1
  231. package/themes/flat-light.js +1 -1
  232. package/themes/flat-light.min.js +1 -1
  233. package/themes/index.js +1 -1
  234. package/themes/index.min.js +1 -1
  235. package/themes/layered-dark-panelless.js +1 -1
  236. package/themes/layered-dark-panelless.min.js +1 -1
  237. package/themes/layered-dark.js +1 -1
  238. package/themes/layered-dark.min.js +1 -1
  239. package/themes/layered-light-panelless.js +1 -1
  240. package/themes/layered-light-panelless.min.js +1 -1
  241. package/themes/layered-light.js +1 -1
  242. package/themes/layered-light.min.js +1 -1
  243. package/themes/plain-dark-panelless.js +1 -1
  244. package/themes/plain-dark-panelless.min.js +1 -1
  245. package/themes/plain-dark.js +1 -1
  246. package/themes/plain-dark.min.js +1 -1
  247. package/themes/plain-light-panelless.js +1 -1
  248. package/themes/plain-light-panelless.min.js +1 -1
  249. package/themes/plain-light.js +1 -1
  250. package/themes/plain-light.min.js +1 -1
  251. package/themes/sharp-dark-panelless.js +1 -1
  252. package/themes/sharp-dark-panelless.min.js +1 -1
  253. package/themes/sharp-dark.js +1 -1
  254. package/themes/sharp-dark.min.js +1 -1
  255. package/themes/sharp-light-panelless.js +1 -1
  256. package/themes/sharp-light-panelless.min.js +1 -1
  257. package/themes/sharp-light.js +1 -1
  258. package/themes/sharp-light.min.js +1 -1
  259. package/themes/solid-dark-panelless.js +1 -1
  260. package/themes/solid-dark-panelless.min.js +1 -1
  261. package/themes/solid-dark.js +1 -1
  262. package/themes/solid-dark.min.js +1 -1
  263. package/themes/solid-light-panelless.js +1 -1
  264. package/themes/solid-light-panelless.min.js +1 -1
  265. package/themes/solid-light.js +1 -1
  266. package/themes/solid-light.min.js +1 -1
  267. package/themes/three-dimensional-dark-panelless.js +1 -1
  268. package/themes/three-dimensional-dark-panelless.min.js +1 -1
  269. package/themes/three-dimensional-dark.js +1 -1
  270. package/themes/three-dimensional-dark.min.js +1 -1
  271. package/themes/three-dimensional-light-panelless.js +1 -1
  272. package/themes/three-dimensional-light-panelless.min.js +1 -1
  273. package/themes/three-dimensional-light.js +1 -1
  274. package/themes/three-dimensional-light.min.js +1 -1
  275. package/ts3.4/icons/iconsV1.d.ts +4 -0
  276. package/ts3.4/icons/iconsV2.d.ts +4 -0
  277. package/ts3.4/typings/packages/survey-core/entries/chunks/model.d.ts +1 -1
  278. package/ts3.4/typings/packages/survey-core/src/actions/container.d.ts +4 -1
  279. package/ts3.4/typings/packages/survey-core/src/helpers.d.ts +1 -0
  280. package/ts3.4/typings/packages/survey-core/src/list.d.ts +1 -0
  281. package/ts3.4/typings/packages/survey-core/src/localizablestring.d.ts +1 -0
  282. package/ts3.4/typings/packages/survey-core/src/page.d.ts +2 -2
  283. package/ts3.4/typings/packages/survey-core/src/panel.d.ts +3 -1
  284. package/ts3.4/typings/packages/survey-core/src/popup-dropdown-view-model.d.ts +2 -4
  285. package/ts3.4/typings/packages/survey-core/src/popup-utils.d.ts +1 -1
  286. package/ts3.4/typings/packages/survey-core/src/popup-view-model.d.ts +1 -1
  287. package/ts3.4/typings/packages/survey-core/src/popup.d.ts +4 -0
  288. package/ts3.4/typings/packages/survey-core/src/question_checkbox.d.ts +2 -0
  289. package/ts3.4/typings/packages/survey-core/src/question_matrixdropdowncolumn.d.ts +2 -2
  290. package/ts3.4/typings/packages/survey-core/src/question_signaturepad.d.ts +1 -1
  291. package/ts3.4/typings/packages/survey-core/src/question_tagbox.d.ts +1 -1
  292. package/ts3.4/typings/packages/survey-core/src/question_text.d.ts +1 -0
  293. package/ts3.4/typings/packages/survey-core/src/settings.d.ts +6 -16
  294. package/ts3.4/typings/packages/survey-core/src/survey-events-api.d.ts +3 -3
  295. package/ts3.4/typings/packages/survey-core/src/survey.d.ts +3 -4
  296. package/ts3.4/typings/packages/survey-core/src/surveyStrings.d.ts +8 -0
  297. package/ts3.4/typings/packages/survey-core/src/svgbundle.d.ts +9 -6
  298. package/ts3.4/typings/packages/survey-core/src/utils/popup.d.ts +4 -1
  299. package/ts3.4/typings/packages/survey-core/src/utils/text-area.d.ts +1 -0
  300. package/typings/packages/survey-core/entries/chunks/model.d.ts +1 -1
  301. package/typings/packages/survey-core/src/actions/container.d.ts +4 -1
  302. package/typings/packages/survey-core/src/helpers.d.ts +1 -0
  303. package/typings/packages/survey-core/src/list.d.ts +1 -0
  304. package/typings/packages/survey-core/src/localizablestring.d.ts +1 -0
  305. package/typings/packages/survey-core/src/page.d.ts +2 -2
  306. package/typings/packages/survey-core/src/panel.d.ts +3 -1
  307. package/typings/packages/survey-core/src/popup-dropdown-view-model.d.ts +2 -4
  308. package/typings/packages/survey-core/src/popup-utils.d.ts +1 -1
  309. package/typings/packages/survey-core/src/popup-view-model.d.ts +1 -1
  310. package/typings/packages/survey-core/src/popup.d.ts +4 -0
  311. package/typings/packages/survey-core/src/question_checkbox.d.ts +2 -0
  312. package/typings/packages/survey-core/src/question_matrixdropdowncolumn.d.ts +2 -2
  313. package/typings/packages/survey-core/src/question_signaturepad.d.ts +1 -1
  314. package/typings/packages/survey-core/src/question_tagbox.d.ts +1 -1
  315. package/typings/packages/survey-core/src/question_text.d.ts +1 -0
  316. package/typings/packages/survey-core/src/settings.d.ts +6 -16
  317. package/typings/packages/survey-core/src/survey-events-api.d.ts +3 -3
  318. package/typings/packages/survey-core/src/survey.d.ts +3 -4
  319. package/typings/packages/survey-core/src/surveyStrings.d.ts +8 -0
  320. package/typings/packages/survey-core/src/svgbundle.d.ts +9 -6
  321. package/typings/packages/survey-core/src/utils/popup.d.ts +4 -1
  322. package/typings/packages/survey-core/src/utils/text-area.d.ts +1 -0
@@ -65,6 +65,7 @@ export declare class QuestionCheckboxModel extends QuestionCheckboxBase {
65
65
  selectAll(): void;
66
66
  clickItemHandler(item: ItemValue, checked?: boolean): void;
67
67
  protected isItemSelectedCore(item: ItemValue): boolean;
68
+ protected hasUnknownValueItem(val: any, includeOther?: boolean, isFilteredChoices?: boolean, checkEmptyValue?: boolean): boolean;
68
69
  protected convertFuncValuetoQuestionValue(val: any): any;
69
70
  private getRealValue;
70
71
  get isValueArray(): boolean;
@@ -118,6 +119,7 @@ export declare class QuestionCheckboxModel extends QuestionCheckboxBase {
118
119
  protected setNewValue(newValue: any): void;
119
120
  protected getIsMultipleValue(): boolean;
120
121
  protected getCommentFromValue(newValue: any): string;
122
+ getStoreOthersAsComment(): boolean;
121
123
  protected setOtherValueIntoValue(newValue: any): any;
122
124
  private getFirstUnknownIndex;
123
125
  protected removeNoneItemsValues(value: Array<any>, newValue: Array<any>): void;
@@ -30,7 +30,7 @@ export declare class MatrixDropdownColumn extends Base implements ILocalizableOw
30
30
  private indexValue;
31
31
  private _hasVisibleCell;
32
32
  private _visiblechoices;
33
- constructor(name: string, title?: string);
33
+ constructor(name: string, title?: string, colOwner?: IMatrixColumnOwner);
34
34
  getOriginalObj(): Base;
35
35
  getClassNameProperty(): string;
36
36
  getSurvey(live?: boolean): ISurvey;
@@ -330,7 +330,7 @@ export declare class MatrixDropdownColumn extends Base implements ILocalizableOw
330
330
  defaultCellTypeChanged(): void;
331
331
  protected calcCellQuestionType(row: MatrixDropdownRowModelBase): string;
332
332
  private getDefaultCellQuestionType;
333
- protected updateTemplateQuestion(newCellType?: string): void;
333
+ protected updateTemplateQuestion(newCellType?: string, name?: string, title?: string): void;
334
334
  protected createNewQuestion(cellType: string): Question;
335
335
  private setParentQuestionToTemplate;
336
336
  private previousChoicesId;
@@ -11,7 +11,7 @@ export declare class QuestionSignaturePadModel extends QuestionFileModelBase {
11
11
  private getPenColorFromTheme;
12
12
  private updateColors;
13
13
  protected getCssRoot(cssClasses: any): string;
14
- protected getFormat(): "" | "image/jpeg" | "image/svg+xml";
14
+ protected getFormat(): "" | "image/svg+xml" | "image/jpeg";
15
15
  protected updateValue(): void;
16
16
  constructor(name: string);
17
17
  getType(): string;
@@ -77,7 +77,7 @@ export declare class QuestionTagboxModel extends QuestionCheckboxModel {
77
77
  getControlClass(): string;
78
78
  onOpened: EventBase<QuestionTagboxModel>;
79
79
  onOpenedCallBack(): void;
80
- protected hasUnknownValue(val: any, includeOther: boolean, isFilteredChoices: boolean, checkEmptyValue: boolean): boolean;
80
+ protected hasUnknownValue(val: any, includeOther?: boolean, isFilteredChoices?: boolean, checkEmptyValue?: boolean): boolean;
81
81
  protected needConvertRenderedOtherToDataValue(): boolean;
82
82
  protected onVisibleChoicesChanged(): void;
83
83
  protected getItemIfChoicesNotContainThisValue(value: any, text?: string): any;
@@ -148,6 +148,7 @@ export declare class QuestionTextModel extends QuestionTextBase {
148
148
  protected onChangeQuestionValue(newValue: any): void;
149
149
  private updateInputValue;
150
150
  private hasToConvertToUTC;
151
+ private createDate;
151
152
  protected valueForSurveyCore(val: any): any;
152
153
  protected valueFromDataCore(val: any): any;
153
154
  private dateValidationMessage;
@@ -130,33 +130,23 @@ export declare var settings: {
130
130
  * Nested properties:
131
131
  *
132
132
  * - `itemValueSerializeAsObject`: `boolean`\
133
- * Enable this property if you want to serialize [`ItemValue`](https://surveyjs.io/form-library/documentation/api-reference/itemvalue) instances as objects even when they include only the `value` property. Default value: `false`. View an example below.
133
+ * Enable this property if you want to serialize [`ItemValue`](https://surveyjs.io/form-library/documentation/api-reference/itemvalue) instances (choice options, matrix rows, columns in a [Single-Select Matrix](https://surveyjs.io/form-library/documentation/api-reference/matrix-table-question-model)) as objects even when they include only the `value` property. Default value: `false`.
134
134
  *
135
135
  * - `itemValueSerializeDisplayText`: `boolean`\
136
- * Enable this property if you want to serialize the `text` property of [`ItemValue`](https://surveyjs.io/form-library/documentation/api-reference/itemvalue) objects even when it is empty or equal to the `value` property. Default value: `false`. View an example below.
136
+ * Enable this property if you want to serialize the `text` property of [`ItemValue`](https://surveyjs.io/form-library/documentation/api-reference/itemvalue) objects even when it is empty or equal to the `value` property. Default value: `false`.
137
137
  *
138
138
  * - `localizableStringSerializeAsObject`: `boolean`\
139
139
  * Enable this property if you want to serialize [`LocalizableString`](https://surveyjs.io/form-library/documentation/api-reference/localizablestring) instances as objects even when they include only a translation string for the default locale. For example, `"Custom String"` will be serialized as `{ default: "Custom String" }`. Default value: `false`.
140
140
  *
141
- * ```js
142
- * import { ItemValue, settings } from "survey-core";
143
- *
144
- * // `itemValueSerializeAsObject` example
145
- * settings.serialization.itemValueSerializeAsObject = true;
146
- * const item = new ItemValue(5);
147
- * const itemString = item.toJSON(); // Produces { value: 5 } instead of 5
148
- *
149
- * // `itemValueSerializeDisplayText` example
150
- * settings.serialization.itemValueSerializeDisplayText = true;
151
- * const item = new ItemValue("item1");
152
- * const itemString = item.toJSON(); // Produces { value: "item1", text: "item1" } instead of "item1"
153
- * ```
141
+ * - `matrixDropdownColumnSerializeTitle`: `boolean`\
142
+ * Enable this property if you want to serialize the `title` property of [`MatrixDropdownColumn`](https://surveyjs.io/form-library/documentation/api-reference/multi-select-matrix-column-values) objects even when it is empty or equal to the `name` property. Default value: `false`.
154
143
  * @see [settings.parseNumber](https://surveyjs.io/form-library/documentation/api-reference/settings#parseNumber)
155
144
  */
156
145
  serialization: {
157
146
  itemValueSerializeAsObject: boolean;
158
147
  itemValueSerializeDisplayText: boolean;
159
148
  localizableStringSerializeAsObject: boolean;
149
+ matrixDropdownColumnSerializeTitle: boolean;
160
150
  };
161
151
  itemValueAlwaysSerializeAsObject: boolean;
162
152
  itemValueAlwaysSerializeText: boolean;
@@ -619,6 +609,7 @@ export declare var settings: {
619
609
  * ```
620
610
  */
621
611
  storeUtcDates: boolean;
612
+ onDateCreated: (newDate: Date, reason: string, val?: number | string | Date) => Date;
622
613
  /**
623
614
  * A function that allows you to define custom parsing rules for numbers represented as string values.
624
615
  *
@@ -643,5 +634,4 @@ export declare var settings: {
643
634
  * @see [settings.serialization](https://surveyjs.io/form-library/documentation/api-reference/settings#serialization)
644
635
  */
645
636
  parseNumber: (stringValue: any, numericValue: number) => number;
646
- useLegacyIcons: boolean;
647
637
  };
@@ -530,16 +530,16 @@ export interface OpenFileChooserEvent {
530
530
  */
531
531
  input: HTMLInputElement;
532
532
  /**
533
- * A survey element (question, panel, page, or survey) or a theme JSON schema for which this event is raised.
533
+ * A question for which this event is raised.
534
534
  */
535
535
  element: Base;
536
536
  /**
537
537
  * The type of the element passed as the `options.element` parameter.\
538
- * Possible values: `"theme"`, `"header"`, or any value returned from the [`getType()`](https://surveyjs.io/form-library/documentation/api-reference/question#getType) method.
538
+ * Possible values: any value returned from the [`getType()`](https://surveyjs.io/form-library/documentation/api-reference/question#getType) method.
539
539
  */
540
540
  elementType: String;
541
541
  /**
542
- * The name of the survey element property or theme property for which files are being selected.
542
+ * The name of the survey element property for which files are being selected.
543
543
  */
544
544
  propertyName: String;
545
545
  /**
@@ -373,9 +373,8 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
373
373
  */
374
374
  onGetResult: EventBase<SurveyModel, GetResultEvent>;
375
375
  /**
376
- * An event that is raised when Survey Creator opens a dialog window for users to select files.
377
- * @see onUploadFile
378
- * @see uploadFiles
376
+ * An event that is raised when a respondent opens a dialog window to select files.
377
+ * @see chooseFiles
379
378
  */
380
379
  onOpenFileChooser: EventBase<SurveyModel, OpenFileChooserEvent>;
381
380
  /**
@@ -2221,6 +2220,7 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
2221
2220
  private isSmoothScrollEnabled;
2222
2221
  private resizeObserver;
2223
2222
  afterRenderSurvey(htmlElement: any): void;
2223
+ beforeDestroySurveyElement(): void;
2224
2224
  /**
2225
2225
  * An event that is raised when the survey's width or height is changed.
2226
2226
  */
@@ -2966,5 +2966,4 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
2966
2966
  addScrollEventListener(): void;
2967
2967
  removeScrollEventListener(): void;
2968
2968
  questionErrorComponent: string;
2969
- protected registerIcons(): void;
2970
2969
  }
@@ -25,6 +25,14 @@ export declare var surveyLocalization: {
25
25
  getLocales: (removeDefaultLoc?: boolean) => Array<string>;
26
26
  onGetExternalString: (name: string, locale: string) => string;
27
27
  };
28
+ export declare function getLocaleString(strName: string, locale?: string): string;
29
+ export declare function setupLocale(localeConfig: {
30
+ localeCode: string;
31
+ strings: any;
32
+ nativeName: string;
33
+ englishName: string;
34
+ rtl?: boolean;
35
+ }): void;
28
36
  export declare var surveyStrings: {
29
37
  pagePrevText: string;
30
38
  pageNextText: string;
@@ -1,4 +1,5 @@
1
- declare class SvgIconData {
1
+ import { EventBase } from "./base";
2
+ interface SvgIconData {
2
3
  [key: string]: string;
3
4
  }
4
5
  export declare class SvgIconRegistry {
@@ -9,12 +10,14 @@ export declare class SvgIconRegistry {
9
10
  registerIconFromSvgViaElement(iconId: string, iconSvg: string, iconPrefix?: string): void;
10
11
  registerIconFromSvg(iconId: string, iconSvg: string, iconPrefix?: string): boolean;
11
12
  registerIconsFromFolder(r: any): void;
13
+ registerIcons(icons: SvgIconData): void;
12
14
  iconsRenderedHtml(): string;
15
+ updateMarkup(): void;
16
+ onIconsChanged: EventBase<SvgIconRegistry, {}>;
13
17
  }
14
- export declare var SvgRegistry: SvgIconRegistry;
15
- export declare var SvgBundleViewModel: any;
16
- export declare var svgBundle: {
17
- V1?: string;
18
- V2?: string;
18
+ export declare const SvgRegistry: SvgIconRegistry;
19
+ export declare const SvgThemeSets: {
20
+ [index: string]: SvgIconData;
19
21
  };
22
+ export declare function addIconsToThemeSet(name: string, iconsData: SvgIconData): void;
20
23
  export {};
@@ -27,7 +27,10 @@ export declare class Rect implements ISize, INumberPosition {
27
27
  export declare class PopupUtils {
28
28
  static bottomIndent: number;
29
29
  static calculatePosition(targetRect: Rect, height: number, width: number, verticalPosition: VerticalPosition, horizontalPosition: HorizontalPosition, positionMode?: PositionMode): INumberPosition;
30
- static getCorrectedVerticalDimensions(top: number, height: number, windowHeight: number, verticalPosition: VerticalPosition, canShrink?: boolean): {
30
+ static getCorrectedVerticalDimensions(top: number, height: number, windowHeight: number, verticalPosition: VerticalPosition, canShrink?: boolean, margins?: {
31
+ top: number;
32
+ bottom: number;
33
+ }): {
31
34
  height: number;
32
35
  top: number;
33
36
  };
@@ -31,6 +31,7 @@ export declare class TextAreaModel {
31
31
  private onPropertyChangedCallback;
32
32
  constructor(options: ITextArea);
33
33
  setElement(element: HTMLTextAreaElement | null): void;
34
+ resetElement(): void;
34
35
  getTextValue(): string;
35
36
  onTextAreaChange(event: any): void;
36
37
  onTextAreaInput(event: any): void;