survey-core 1.9.121 → 1.9.123

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 (382) hide show
  1. package/README.md +4 -0
  2. package/defaultV2.css +126 -26
  3. package/defaultV2.css.map +1 -1
  4. package/defaultV2.fontless.css +126 -26
  5. package/defaultV2.fontless.css.map +1 -1
  6. package/defaultV2.fontless.min.css +2 -2
  7. package/defaultV2.min.css +2 -2
  8. package/i18n/arabic.js +1 -1
  9. package/i18n/arabic.min.js +1 -1
  10. package/i18n/basque.js +1 -1
  11. package/i18n/basque.min.js +1 -1
  12. package/i18n/bulgarian.js +1 -1
  13. package/i18n/bulgarian.min.js +1 -1
  14. package/i18n/catalan.js +1 -1
  15. package/i18n/catalan.min.js +1 -1
  16. package/i18n/croatian.js +1 -1
  17. package/i18n/croatian.min.js +1 -1
  18. package/i18n/czech.js +1 -1
  19. package/i18n/czech.min.js +1 -1
  20. package/i18n/danish.js +1 -1
  21. package/i18n/danish.min.js +1 -1
  22. package/i18n/dutch.js +1 -1
  23. package/i18n/dutch.min.js +1 -1
  24. package/i18n/english.js +1 -1
  25. package/i18n/english.min.js +1 -1
  26. package/i18n/estonian.js +1 -1
  27. package/i18n/estonian.min.js +1 -1
  28. package/i18n/finnish.js +1 -1
  29. package/i18n/finnish.min.js +1 -1
  30. package/i18n/french.js +1 -1
  31. package/i18n/french.min.js +1 -1
  32. package/i18n/georgian.js +1 -1
  33. package/i18n/georgian.min.js +1 -1
  34. package/i18n/german.js +1 -1
  35. package/i18n/german.min.js +1 -1
  36. package/i18n/greek.js +1 -1
  37. package/i18n/greek.min.js +1 -1
  38. package/i18n/hebrew.js +1 -1
  39. package/i18n/hebrew.min.js +1 -1
  40. package/i18n/hindi.js +1 -1
  41. package/i18n/hindi.min.js +1 -1
  42. package/i18n/hungarian.js +1 -1
  43. package/i18n/hungarian.min.js +1 -1
  44. package/i18n/icelandic.js +1 -1
  45. package/i18n/icelandic.min.js +1 -1
  46. package/i18n/index.js +1 -1
  47. package/i18n/index.min.js +1 -1
  48. package/i18n/indonesian.js +1 -1
  49. package/i18n/indonesian.min.js +1 -1
  50. package/i18n/italian.js +1 -1
  51. package/i18n/italian.min.js +1 -1
  52. package/i18n/japanese.js +1 -1
  53. package/i18n/japanese.min.js +1 -1
  54. package/i18n/kazakh.js +1 -1
  55. package/i18n/kazakh.min.js +1 -1
  56. package/i18n/korean.js +1 -1
  57. package/i18n/korean.min.js +1 -1
  58. package/i18n/latvian.js +1 -1
  59. package/i18n/latvian.min.js +1 -1
  60. package/i18n/lithuanian.js +1 -1
  61. package/i18n/lithuanian.min.js +1 -1
  62. package/i18n/macedonian.js +1 -1
  63. package/i18n/macedonian.min.js +1 -1
  64. package/i18n/malay.js +1 -1
  65. package/i18n/malay.min.js +1 -1
  66. package/i18n/nl-BE.js +1 -1
  67. package/i18n/nl-BE.min.js +1 -1
  68. package/i18n/norwegian.js +1 -1
  69. package/i18n/norwegian.min.js +1 -1
  70. package/i18n/persian.js +1 -1
  71. package/i18n/persian.min.js +1 -1
  72. package/i18n/polish.js +1 -1
  73. package/i18n/polish.min.js +1 -1
  74. package/i18n/portuguese-br.js +1 -1
  75. package/i18n/portuguese-br.min.js +1 -1
  76. package/i18n/portuguese.js +1 -1
  77. package/i18n/portuguese.min.js +1 -1
  78. package/i18n/romanian.js +1 -1
  79. package/i18n/romanian.min.js +1 -1
  80. package/i18n/russian.js +1 -1
  81. package/i18n/russian.min.js +1 -1
  82. package/i18n/serbian.js +1 -1
  83. package/i18n/serbian.min.js +1 -1
  84. package/i18n/simplified-chinese.js +1 -1
  85. package/i18n/simplified-chinese.min.js +1 -1
  86. package/i18n/slovak.js +1 -1
  87. package/i18n/slovak.min.js +1 -1
  88. package/i18n/spanish.js +1 -1
  89. package/i18n/spanish.min.js +1 -1
  90. package/i18n/swahili.js +1 -1
  91. package/i18n/swahili.min.js +1 -1
  92. package/i18n/swedish.js +1 -1
  93. package/i18n/swedish.min.js +1 -1
  94. package/i18n/tajik.js +1 -1
  95. package/i18n/tajik.min.js +1 -1
  96. package/i18n/telugu.js +1 -1
  97. package/i18n/telugu.min.js +1 -1
  98. package/i18n/thai.js +1 -1
  99. package/i18n/thai.min.js +1 -1
  100. package/i18n/traditional-chinese.js +1 -1
  101. package/i18n/traditional-chinese.min.js +1 -1
  102. package/i18n/turkish.js +1 -1
  103. package/i18n/turkish.min.js +1 -1
  104. package/i18n/ukrainian.js +1 -1
  105. package/i18n/ukrainian.min.js +1 -1
  106. package/i18n/urdu.js +1 -1
  107. package/i18n/urdu.min.js +1 -1
  108. package/i18n/vietnamese.js +1 -1
  109. package/i18n/vietnamese.min.js +1 -1
  110. package/i18n/welsh.js +1 -1
  111. package/i18n/welsh.min.js +1 -1
  112. package/modern.css +1 -8
  113. package/modern.css.map +1 -1
  114. package/modern.fontless.css +1 -8
  115. package/modern.fontless.css.map +1 -1
  116. package/modern.fontless.min.css +2 -2
  117. package/modern.min.css +2 -2
  118. package/package.json +1 -1
  119. package/plugins/bootstrap-integration.js +1 -1
  120. package/plugins/bootstrap-integration.min.js +1 -1
  121. package/plugins/bootstrap-material-integration.js +1 -1
  122. package/plugins/bootstrap-material-integration.min.js +1 -1
  123. package/survey.core.js +382 -233
  124. package/survey.core.js.map +1 -1
  125. package/survey.core.min.js +3 -3
  126. package/survey.css +1 -1
  127. package/survey.css.map +1 -1
  128. package/survey.i18n.js +1 -1
  129. package/survey.i18n.min.js +1 -1
  130. package/survey.min.css +1 -1
  131. package/themes/borderless-dark-panelless.js +2 -1
  132. package/themes/borderless-dark-panelless.js.map +1 -1
  133. package/themes/borderless-dark-panelless.min.js +2 -2
  134. package/themes/borderless-dark.js +2 -1
  135. package/themes/borderless-dark.js.map +1 -1
  136. package/themes/borderless-dark.min.js +2 -2
  137. package/themes/borderless-light-panelless..js +2 -1
  138. package/themes/borderless-light-panelless..js.map +1 -1
  139. package/themes/borderless-light-panelless..min.js +2 -2
  140. package/themes/borderless-light.js +2 -1
  141. package/themes/borderless-light.js.map +1 -1
  142. package/themes/borderless-light.min.js +2 -2
  143. package/themes/contrast-dark-panelless.js +2 -1
  144. package/themes/contrast-dark-panelless.js.map +1 -1
  145. package/themes/contrast-dark-panelless.min.js +2 -2
  146. package/themes/contrast-dark.js +2 -1
  147. package/themes/contrast-dark.js.map +1 -1
  148. package/themes/contrast-dark.min.js +2 -2
  149. package/themes/contrast-light-panelless.js +2 -1
  150. package/themes/contrast-light-panelless.js.map +1 -1
  151. package/themes/contrast-light-panelless.min.js +2 -2
  152. package/themes/contrast-light.js +2 -1
  153. package/themes/contrast-light.js.map +1 -1
  154. package/themes/contrast-light.min.js +2 -2
  155. package/themes/default-dark-panelless.js +2 -1
  156. package/themes/default-dark-panelless.js.map +1 -1
  157. package/themes/default-dark-panelless.min.js +2 -2
  158. package/themes/default-dark.js +2 -1
  159. package/themes/default-dark.js.map +1 -1
  160. package/themes/default-dark.min.js +2 -2
  161. package/themes/default-light-panelless.js +2 -1
  162. package/themes/default-light-panelless.js.map +1 -1
  163. package/themes/default-light-panelless.min.js +2 -2
  164. package/themes/default-light.js +2 -1
  165. package/themes/default-light.js.map +1 -1
  166. package/themes/default-light.min.js +2 -2
  167. package/themes/doubleborder-dark-panelless.js +2 -1
  168. package/themes/doubleborder-dark-panelless.js.map +1 -1
  169. package/themes/doubleborder-dark-panelless.min.js +2 -2
  170. package/themes/doubleborder-dark.js +2 -1
  171. package/themes/doubleborder-dark.js.map +1 -1
  172. package/themes/doubleborder-dark.min.js +2 -2
  173. package/themes/doubleborder-light-panelles.js +2 -1
  174. package/themes/doubleborder-light-panelles.js.map +1 -1
  175. package/themes/doubleborder-light-panelles.min.js +2 -2
  176. package/themes/doubleborder-light.js +2 -1
  177. package/themes/doubleborder-light.js.map +1 -1
  178. package/themes/doubleborder-light.min.js +2 -2
  179. package/themes/flat-dark-panelless.js +2 -1
  180. package/themes/flat-dark-panelless.js.map +1 -1
  181. package/themes/flat-dark-panelless.min.js +2 -2
  182. package/themes/flat-dark.js +2 -1
  183. package/themes/flat-dark.js.map +1 -1
  184. package/themes/flat-dark.min.js +2 -2
  185. package/themes/flat-light-panelless.js +2 -1
  186. package/themes/flat-light-panelless.js.map +1 -1
  187. package/themes/flat-light-panelless.min.js +2 -2
  188. package/themes/flat-light.js +2 -1
  189. package/themes/flat-light.js.map +1 -1
  190. package/themes/flat-light.min.js +2 -2
  191. package/themes/index.js +41 -1
  192. package/themes/index.js.map +1 -1
  193. package/themes/index.min.js +2 -2
  194. package/themes/layered-dark-panelless.js +2 -1
  195. package/themes/layered-dark-panelless.js.map +1 -1
  196. package/themes/layered-dark-panelless.min.js +2 -2
  197. package/themes/layered-dark.js +2 -1
  198. package/themes/layered-dark.js.map +1 -1
  199. package/themes/layered-dark.min.js +2 -2
  200. package/themes/layered-light-panelless.js +2 -1
  201. package/themes/layered-light-panelless.js.map +1 -1
  202. package/themes/layered-light-panelless.min.js +2 -2
  203. package/themes/layered-light.js +2 -1
  204. package/themes/layered-light.js.map +1 -1
  205. package/themes/layered-light.min.js +2 -2
  206. package/themes/plain-dark-panelless.js +2 -1
  207. package/themes/plain-dark-panelless.js.map +1 -1
  208. package/themes/plain-dark-panelless.min.js +2 -2
  209. package/themes/plain-dark.js +2 -1
  210. package/themes/plain-dark.js.map +1 -1
  211. package/themes/plain-dark.min.js +2 -2
  212. package/themes/plain-light-panelless.js +2 -1
  213. package/themes/plain-light-panelless.js.map +1 -1
  214. package/themes/plain-light-panelless.min.js +2 -2
  215. package/themes/plain-light.js +2 -1
  216. package/themes/plain-light.js.map +1 -1
  217. package/themes/plain-light.min.js +2 -2
  218. package/themes/sharp-dark-panelless.js +2 -1
  219. package/themes/sharp-dark-panelless.js.map +1 -1
  220. package/themes/sharp-dark-panelless.min.js +2 -2
  221. package/themes/sharp-dark.js +2 -1
  222. package/themes/sharp-dark.js.map +1 -1
  223. package/themes/sharp-dark.min.js +2 -2
  224. package/themes/sharp-light-panelless.js +2 -1
  225. package/themes/sharp-light-panelless.js.map +1 -1
  226. package/themes/sharp-light-panelless.min.js +2 -2
  227. package/themes/sharp-light.js +2 -1
  228. package/themes/sharp-light.js.map +1 -1
  229. package/themes/sharp-light.min.js +2 -2
  230. package/themes/solid-dark-panelless.js +2 -1
  231. package/themes/solid-dark-panelless.js.map +1 -1
  232. package/themes/solid-dark-panelless.min.js +2 -2
  233. package/themes/solid-dark.js +2 -1
  234. package/themes/solid-dark.js.map +1 -1
  235. package/themes/solid-dark.min.js +2 -2
  236. package/themes/solid-light-panelless.js +2 -1
  237. package/themes/solid-light-panelless.js.map +1 -1
  238. package/themes/solid-light-panelless.min.js +2 -2
  239. package/themes/solid-light.js +2 -1
  240. package/themes/solid-light.js.map +1 -1
  241. package/themes/solid-light.min.js +2 -2
  242. package/themes/three-dimensional-dark-panelless.js +2 -1
  243. package/themes/three-dimensional-dark-panelless.js.map +1 -1
  244. package/themes/three-dimensional-dark-panelless.min.js +2 -2
  245. package/themes/three-dimensional-dark.js +2 -1
  246. package/themes/three-dimensional-dark.js.map +1 -1
  247. package/themes/three-dimensional-dark.min.js +2 -2
  248. package/themes/three-dimensional-light-panelless.js +2 -1
  249. package/themes/three-dimensional-light-panelless.js.map +1 -1
  250. package/themes/three-dimensional-light-panelless.min.js +2 -2
  251. package/themes/three-dimensional-light.js +2 -1
  252. package/themes/three-dimensional-light.js.map +1 -1
  253. package/themes/three-dimensional-light.min.js +2 -2
  254. package/themes/typings/borderless-dark-panelless.d.ts +2 -0
  255. package/themes/typings/borderless-dark.d.ts +2 -0
  256. package/themes/typings/borderless-light-panelless.d.ts +2 -0
  257. package/themes/typings/borderless-light.d.ts +2 -0
  258. package/themes/typings/contrast-dark-panelless.d.ts +2 -0
  259. package/themes/typings/contrast-dark.d.ts +2 -0
  260. package/themes/typings/contrast-light-panelless.d.ts +2 -0
  261. package/themes/typings/contrast-light.d.ts +2 -0
  262. package/themes/typings/default-dark-panelless.d.ts +2 -0
  263. package/themes/typings/default-dark.d.ts +2 -0
  264. package/themes/typings/default-light-panelless.d.ts +2 -0
  265. package/themes/typings/default-light.d.ts +2 -0
  266. package/themes/typings/doubleborder-dark-panelless.d.ts +2 -0
  267. package/themes/typings/doubleborder-dark.d.ts +2 -0
  268. package/themes/typings/doubleborder-light-panelless.d.ts +2 -0
  269. package/themes/typings/doubleborder-light.d.ts +2 -0
  270. package/themes/typings/flat-dark-panelless.d.ts +2 -0
  271. package/themes/typings/flat-dark.d.ts +2 -0
  272. package/themes/typings/flat-light-panelless.d.ts +2 -0
  273. package/themes/typings/flat-light.d.ts +2 -0
  274. package/themes/typings/index.d.ts +40 -0
  275. package/themes/typings/layered-dark-panelless.d.ts +2 -0
  276. package/themes/typings/layered-dark.d.ts +2 -0
  277. package/themes/typings/layered-light-panelless.d.ts +2 -0
  278. package/themes/typings/layered-light.d.ts +2 -0
  279. package/themes/typings/plain-dark-panelless.d.ts +2 -0
  280. package/themes/typings/plain-dark.d.ts +2 -0
  281. package/themes/typings/plain-light-panelless.d.ts +2 -0
  282. package/themes/typings/plain-light.d.ts +2 -0
  283. package/themes/typings/sharp-dark-panelless.d.ts +2 -0
  284. package/themes/typings/sharp-dark.d.ts +2 -0
  285. package/themes/typings/sharp-light-panelless.d.ts +2 -0
  286. package/themes/typings/sharp-light.d.ts +2 -0
  287. package/themes/typings/solid-dark-panelless.d.ts +2 -0
  288. package/themes/typings/solid-dark.d.ts +2 -0
  289. package/themes/typings/solid-light-panelless.d.ts +2 -0
  290. package/themes/typings/solid-light.d.ts +2 -0
  291. package/themes/typings/threedimensional-dark-panelless.d.ts +2 -0
  292. package/themes/typings/threedimensional-dark.d.ts +2 -0
  293. package/themes/typings/threedimensional-light-panelless.d.ts +2 -0
  294. package/themes/typings/threedimensional-light.d.ts +2 -0
  295. package/ts3.4/themes/typings/borderless-dark-panelless.d.ts +2 -0
  296. package/ts3.4/themes/typings/borderless-dark.d.ts +2 -0
  297. package/ts3.4/themes/typings/borderless-light-panelless.d.ts +2 -0
  298. package/ts3.4/themes/typings/borderless-light.d.ts +2 -0
  299. package/ts3.4/themes/typings/contrast-dark-panelless.d.ts +2 -0
  300. package/ts3.4/themes/typings/contrast-dark.d.ts +2 -0
  301. package/ts3.4/themes/typings/contrast-light-panelless.d.ts +2 -0
  302. package/ts3.4/themes/typings/contrast-light.d.ts +2 -0
  303. package/ts3.4/themes/typings/default-dark-panelless.d.ts +2 -0
  304. package/ts3.4/themes/typings/default-dark.d.ts +2 -0
  305. package/ts3.4/themes/typings/default-light-panelless.d.ts +2 -0
  306. package/ts3.4/themes/typings/default-light.d.ts +2 -0
  307. package/ts3.4/themes/typings/doubleborder-dark-panelless.d.ts +2 -0
  308. package/ts3.4/themes/typings/doubleborder-dark.d.ts +2 -0
  309. package/ts3.4/themes/typings/doubleborder-light-panelless.d.ts +2 -0
  310. package/ts3.4/themes/typings/doubleborder-light.d.ts +2 -0
  311. package/ts3.4/themes/typings/flat-dark-panelless.d.ts +2 -0
  312. package/ts3.4/themes/typings/flat-dark.d.ts +2 -0
  313. package/ts3.4/themes/typings/flat-light-panelless.d.ts +2 -0
  314. package/ts3.4/themes/typings/flat-light.d.ts +2 -0
  315. package/ts3.4/themes/typings/index.d.ts +40 -0
  316. package/ts3.4/themes/typings/layered-dark-panelless.d.ts +2 -0
  317. package/ts3.4/themes/typings/layered-dark.d.ts +2 -0
  318. package/ts3.4/themes/typings/layered-light-panelless.d.ts +2 -0
  319. package/ts3.4/themes/typings/layered-light.d.ts +2 -0
  320. package/ts3.4/themes/typings/plain-dark-panelless.d.ts +2 -0
  321. package/ts3.4/themes/typings/plain-dark.d.ts +2 -0
  322. package/ts3.4/themes/typings/plain-light-panelless.d.ts +2 -0
  323. package/ts3.4/themes/typings/plain-light.d.ts +2 -0
  324. package/ts3.4/themes/typings/sharp-dark-panelless.d.ts +2 -0
  325. package/ts3.4/themes/typings/sharp-dark.d.ts +2 -0
  326. package/ts3.4/themes/typings/sharp-light-panelless.d.ts +2 -0
  327. package/ts3.4/themes/typings/sharp-light.d.ts +2 -0
  328. package/ts3.4/themes/typings/solid-dark-panelless.d.ts +2 -0
  329. package/ts3.4/themes/typings/solid-dark.d.ts +2 -0
  330. package/ts3.4/themes/typings/solid-light-panelless.d.ts +2 -0
  331. package/ts3.4/themes/typings/solid-light.d.ts +2 -0
  332. package/ts3.4/themes/typings/threedimensional-dark-panelless.d.ts +2 -0
  333. package/ts3.4/themes/typings/threedimensional-dark.d.ts +2 -0
  334. package/ts3.4/themes/typings/threedimensional-light-panelless.d.ts +2 -0
  335. package/ts3.4/themes/typings/threedimensional-light.d.ts +2 -0
  336. package/ts3.4/typings/base-interfaces.d.ts +4 -0
  337. package/ts3.4/typings/base.d.ts +8 -6
  338. package/ts3.4/typings/choicesRestful.d.ts +6 -1
  339. package/ts3.4/typings/defaultCss/defaultV2Css.d.ts +3 -0
  340. package/ts3.4/typings/entries/chunks/model.d.ts +1 -1
  341. package/ts3.4/typings/header.d.ts +1 -0
  342. package/ts3.4/typings/itemvalue.d.ts +2 -2
  343. package/ts3.4/typings/jsonobject.d.ts +11 -3
  344. package/ts3.4/typings/localizablestring.d.ts +1 -0
  345. package/ts3.4/typings/question.d.ts +1 -0
  346. package/ts3.4/typings/question_baseselect.d.ts +5 -4
  347. package/ts3.4/typings/question_checkbox.d.ts +1 -0
  348. package/ts3.4/typings/question_custom.d.ts +2 -0
  349. package/ts3.4/typings/question_file.d.ts +3 -0
  350. package/ts3.4/typings/question_imagepicker.d.ts +1 -3
  351. package/ts3.4/typings/question_matrixdropdownbase.d.ts +1 -1
  352. package/ts3.4/typings/question_multipletext.d.ts +1 -1
  353. package/ts3.4/typings/question_paneldynamic.d.ts +20 -4
  354. package/ts3.4/typings/question_rating.d.ts +18 -5
  355. package/ts3.4/typings/question_tagbox.d.ts +2 -1
  356. package/ts3.4/typings/settings.d.ts +15 -85
  357. package/ts3.4/typings/survey-events-api.d.ts +4 -2
  358. package/ts3.4/typings/survey.d.ts +17 -16
  359. package/typings/base-interfaces.d.ts +4 -0
  360. package/typings/base.d.ts +8 -6
  361. package/typings/choicesRestful.d.ts +10 -2
  362. package/typings/defaultCss/defaultV2Css.d.ts +3 -0
  363. package/typings/entries/chunks/model.d.ts +1 -1
  364. package/typings/header.d.ts +1 -0
  365. package/typings/itemvalue.d.ts +2 -2
  366. package/typings/jsonobject.d.ts +11 -3
  367. package/typings/localizablestring.d.ts +1 -0
  368. package/typings/question.d.ts +1 -0
  369. package/typings/question_baseselect.d.ts +5 -4
  370. package/typings/question_checkbox.d.ts +1 -0
  371. package/typings/question_custom.d.ts +2 -0
  372. package/typings/question_file.d.ts +3 -0
  373. package/typings/question_imagepicker.d.ts +1 -3
  374. package/typings/question_matrixdropdownbase.d.ts +1 -1
  375. package/typings/question_multipletext.d.ts +1 -1
  376. package/typings/question_paneldynamic.d.ts +21 -4
  377. package/typings/question_rating.d.ts +18 -5
  378. package/typings/question_tagbox.d.ts +3 -1
  379. package/typings/settings.d.ts +15 -85
  380. package/typings/survey-element.d.ts +2 -1
  381. package/typings/survey-events-api.d.ts +4 -2
  382. package/typings/survey.d.ts +17 -16
@@ -1,4 +1,5 @@
1
1
  import { Base } from "./base";
2
+ import { ILoadFromJSONOptions } from "./base-interfaces";
2
3
  export interface IPropertyDecoratorOptions<T = any> {
3
4
  defaultValue?: T;
4
5
  defaultSource?: string;
@@ -101,6 +102,7 @@ export declare class JsonObjectProperty implements IObject {
101
102
  get hasToUseSetValue(): string | ((obj: any, value: any, jsonConv: JsonObject) => any);
102
103
  settingValue(obj: any, value: any): any;
103
104
  setValue(obj: any, value: any, jsonConv: JsonObject): void;
105
+ validateValue(value: any): boolean;
104
106
  getObjType(objType: string): string;
105
107
  /**
106
108
  * Depricated, please use getChoices
@@ -257,6 +259,11 @@ export declare class JsonRequiredArrayPropertyError extends JsonError {
257
259
  className: string;
258
260
  constructor(propertyName: string, className: string);
259
261
  }
262
+ export declare class JsonIncorrectPropertyValueError extends JsonError {
263
+ property: JsonObjectProperty;
264
+ value: any;
265
+ constructor(property: JsonObjectProperty, value: any);
266
+ }
260
267
  export declare class JsonObject {
261
268
  private static typePropertyName;
262
269
  private static positionPropertyName;
@@ -264,15 +271,16 @@ export declare class JsonObject {
264
271
  static get metaData(): JsonMetadata;
265
272
  errors: JsonError[];
266
273
  lightSerializing: boolean;
274
+ options: ILoadFromJSONOptions;
267
275
  toJsonObject(obj: any, storeDefaults?: boolean): any;
268
- toObject(jsonObj: any, obj: any): void;
269
- toObjectCore(jsonObj: any, obj: any): void;
276
+ toObject(jsonObj: any, obj: any, options?: ILoadFromJSONOptions): void;
277
+ toObjectCore(jsonObj: any, obj: any, options?: ILoadFromJSONOptions): void;
270
278
  toJsonObjectCore(obj: any, property: JsonObjectProperty, storeDefaults?: boolean): any;
271
279
  private getDynamicProperties;
272
280
  private addDynamicProperties;
273
281
  private propertiesToJson;
274
282
  valueToJson(obj: any, result: any, property: JsonObjectProperty, storeDefaults?: boolean): void;
275
- valueToObj(value: any, obj: any, property: JsonObjectProperty, jsonObj?: any): void;
283
+ valueToObj(value: any, obj: any, property: JsonObjectProperty, jsonObj?: any, options?: ILoadFromJSONOptions): void;
276
284
  private removePos;
277
285
  private removePosFromObj;
278
286
  private isValueArray;
@@ -82,6 +82,7 @@ export declare class LocalizableString implements ILocalizableString {
82
82
  onStringChanged: EventBase<LocalizableString>;
83
83
  protected onCreating(): void;
84
84
  private hasHtmlValue;
85
+ private setHtmlValue;
85
86
  getHtmlValue(): string;
86
87
  private deleteValuesEqualsToDefault;
87
88
  private getValue;
@@ -811,6 +811,7 @@ export declare class Question extends SurveyElement<Question> implements IQuesti
811
811
  protected isMouseDown: boolean;
812
812
  onMouseDown(): void;
813
813
  protected setNewComment(newValue: string): void;
814
+ protected setCommentIntoData(newValue: string): void;
814
815
  protected getValidName(name: string): string;
815
816
  updateValueFromSurvey(newValue: any, clearData?: boolean): void;
816
817
  private updateValueFromSurveyCore;
@@ -145,7 +145,9 @@ export declare class QuestionSelectBase extends Question {
145
145
  updateCommentFromSurvey(newValue: any): any;
146
146
  get renderedValue(): any;
147
147
  set renderedValue(val: any);
148
+ private makeCommentEmpty;
148
149
  protected setQuestionValue(newValue: any, updateIsAnswered?: boolean, updateComment?: boolean): void;
150
+ protected setValueCore(newValue: any): void;
149
151
  protected setNewValue(newValue: any): void;
150
152
  protected valueFromData(val: any): any;
151
153
  protected rendredValueFromData(val: any): any;
@@ -163,9 +165,9 @@ export declare class QuestionSelectBase extends Question {
163
165
  */
164
166
  clearIncorrectValuesCallback: () => void;
165
167
  /**
166
- * Configures access to a RESTful service that returns choice items. Refer to the [ChoicesRestful](https://surveyjs.io/form-library/documentation/choicesrestful) class description for more information.
168
+ * Configures access to a RESTful service that returns choice items. Refer to the [`ChoicesRestful`](https://surveyjs.io/form-library/documentation/choicesrestful) class description for more information. You can also specify additional application-wide settings using the [`settings.web`](https://surveyjs.io/form-library/documentation/api-reference/settings#web) object.
167
169
  *
168
- * [View Demo](https://surveyjs.io/form-library/examples/questiontype-dropdownrestfull/ (linkStyle))
170
+ * [View Demo](https://surveyjs.io/form-library/examples/dropdown-menu-load-data-from-restful-service/ (linkStyle))
169
171
  * @see choices
170
172
  * @see [settings.specialChoicesOrder](https://surveyjs.io/form-library/documentation/api-reference/settings#specialChoicesOrder)
171
173
  */
@@ -432,7 +434,7 @@ export declare class QuestionSelectBase extends Question {
432
434
  getAriaItemLabel(item: ItemValue): string;
433
435
  getItemId(item: ItemValue): string;
434
436
  get questionName(): string;
435
- getItemEnabled(item: ItemValue): any;
437
+ getItemEnabled(item: ItemValue): boolean;
436
438
  protected rootElement: HTMLElement;
437
439
  afterRender(el: HTMLElement): void;
438
440
  beforeDestroyQuestionElement(el: HTMLElement): void;
@@ -462,7 +464,6 @@ export declare class QuestionCheckboxBase extends QuestionSelectBase {
462
464
  */
463
465
  get colCount(): number;
464
466
  set colCount(value: number);
465
- clickItemHandler(item: ItemValue, checked: boolean): void;
466
467
  protected onParentChanged(): void;
467
468
  protected onParentQuestionChanged(): void;
468
469
  protected getSearchableItemValueKeys(keys: Array<string>): void;
@@ -61,6 +61,7 @@ export declare class QuestionCheckboxModel extends QuestionCheckboxBase {
61
61
  * @see clearValue
62
62
  */
63
63
  selectAll(): void;
64
+ clickItemHandler(item: ItemValue, checked?: boolean): void;
64
65
  protected isItemSelectedCore(item: ItemValue): boolean;
65
66
  private getRealValue;
66
67
  get isValueArray(): boolean;
@@ -235,6 +235,8 @@ export declare abstract class QuestionCustomModelBase extends Question implement
235
235
  getType(): string;
236
236
  locStrsChanged(): void;
237
237
  localeChanged(): void;
238
+ addUsedLocales(locales: Array<string>): void;
239
+ needResponsiveWidth(): boolean;
238
240
  protected createWrapper(): void;
239
241
  protected onPropertyValueChanged(name: string, oldValue: any, newValue: any): void;
240
242
  itemValuePropertyChanged(item: ItemValue, name: string, oldValue: any, newValue: any): void;
@@ -7,6 +7,9 @@ import { Action } from "./actions/action";
7
7
  import { Camera } from "./utils/camera";
8
8
  import { LocalizableString } from "./localizablestring";
9
9
  export declare function dataUrl2File(dataUrl: string, fileName: string, type: string): File;
10
+ /**
11
+ * A base class for question types that support file upload: `QuestionFileModel` and `QuestionSignaturePadModel`.
12
+ */
10
13
  export declare class QuestionFileModelBase extends Question {
11
14
  isUploading: boolean;
12
15
  currentState: string;
@@ -100,10 +100,8 @@ export declare class QuestionImagePickerModel extends QuestionCheckboxBase {
100
100
  *
101
101
  * Possible values:
102
102
  *
103
- * - `"image"` - Images in one of the following formats: JPEG, GIF, PNG, APNG, SVG, BMP, ICO.
103
+ * - `"image"` (default) - Images in one of the following formats: JPEG, GIF, PNG, APNG, SVG, BMP, ICO.
104
104
  * - `"video"` - Videos in one of the following formats: MP4, MOV, WMV, FLV, AVI, MKV.
105
- * - `"youtube"` - Links to YouTube videos.
106
- * - `"auto"` (default) - Selects one of the above based on the `imageLink` property value of each choice item.
107
105
  */
108
106
  get contentMode(): string;
109
107
  set contentMode(val: string);
@@ -291,7 +291,7 @@ export declare class QuestionMatrixDropdownModelBase extends QuestionMatrixBaseM
291
291
  private get renderedTableValue();
292
292
  private set renderedTableValue(value);
293
293
  protected clearRowsAndResetRenderedTable(): void;
294
- protected resetRenderedTable(): void;
294
+ resetRenderedTable(): void;
295
295
  protected clearGeneratedRows(): void;
296
296
  protected get isRendredTableCreated(): boolean;
297
297
  get renderedTable(): QuestionMatrixDropdownRenderedTable;
@@ -180,7 +180,7 @@ export declare class QuestionMultipleTextModel extends Question implements IMult
180
180
  /**
181
181
  * Adds a new input item.
182
182
  * @param name An item name.
183
- * @param title (Optional) An item title.
183
+ * @param title *(Optional)* An item title.
184
184
  * @see items
185
185
  */
186
186
  addItem(name: string, title?: string): MultipleTextItemModel;
@@ -339,11 +339,25 @@ export declare class QuestionPanelDynamicModel extends Question implements IQues
339
339
  * Specifies whether users are allowed to add new panels.
340
340
  *
341
341
  * Default value: `true`
342
+ *
343
+ * By default, users add new panels to the end. If you want to let users insert a new panel after the current panel, set the [`newPanelPosition`](https://surveyjs.io/form-library/documentation/api-reference/dynamic-panel-model#newPanelPosition) property to `"next"`.
342
344
  * @see canAddPanel
343
345
  * @see allowRemovePanel
344
346
  */
345
347
  get allowAddPanel(): boolean;
346
348
  set allowAddPanel(val: boolean);
349
+ /**
350
+ * Specifies the position of newly added panels.
351
+ *
352
+ * Possible values:
353
+ *
354
+ * - `"last"` (default) - New panels are added to the end.
355
+ * - `"next"` - New panels are inserted after the current panel.
356
+ * @see allowAddPanel
357
+ * @see addPanel
358
+ */
359
+ get newPanelPosition(): string;
360
+ set newPanelPosition(val: string);
347
361
  /**
348
362
  * Specifies whether users are allowed to delete panels.
349
363
  *
@@ -482,13 +496,15 @@ export declare class QuestionPanelDynamicModel extends Question implements IQues
482
496
  */
483
497
  addPanelUI(): PanelModel;
484
498
  /**
485
- * Add a new dynamic panel based on the template Panel.
486
- * @see template
499
+ * Adds a new panel based on the [template](https://surveyjs.io/form-library/documentation/api-reference/dynamic-panel-model#template).
500
+ * @param index *(Optional)* An index at which to insert the new panel. `undefined` adds the panel to the end or inserts it after the current panel if [`renderMode`](https://surveyjs.io/form-library/documentation/api-reference/dynamic-panel-model#renderMode) is `"tab"`. A negative index (for instance, -1) adds the panel to the end in all cases, regardless of the `renderMode` value.
487
501
  * @see panelCount
488
502
  * @see panels
489
- * @see renderMode
503
+ * @see allowAddPanel
504
+ * @see newPanelPosition
490
505
  */
491
- addPanel(): PanelModel;
506
+ addPanel(index?: number): PanelModel;
507
+ private updateValueOnAddingPanel;
492
508
  private canLeaveCurrentPanel;
493
509
  private copyValue;
494
510
  /**
@@ -501,6 +517,7 @@ export declare class QuestionPanelDynamicModel extends Question implements IQues
501
517
  *
502
518
  */
503
519
  removePanelUI(value: any): void;
520
+ isRequireConfirmOnDelete(val: any): boolean;
504
521
  /**
505
522
  * Switches Dynamic Panel to the next panel. Returns `true` in case of success, or `false` if `renderMode` is `"list"` or the current panel contains validation errors.
506
523
  * @see renderMode
@@ -128,18 +128,20 @@ export declare class QuestionRatingModel extends Question {
128
128
  protected getPlainDataCalculatedValue(propName: string): any;
129
129
  /**
130
130
  * Specifies a description for the minimum (first) rate value.
131
+ * @see rateDescriptionLocation
132
+ * @see displayRateDescriptionsAsExtremeItems
131
133
  * @see rateValues
132
134
  * @see rateMin
133
- * @see displayRateDescriptionsAsExtremeItems
134
135
  */
135
136
  get minRateDescription(): string;
136
137
  set minRateDescription(val: string);
137
138
  get locMinRateDescription(): LocalizableString;
138
139
  /**
139
140
  * Specifies a description for the maximum (last) rate value.
141
+ * @see rateDescriptionLocation
142
+ * @see displayRateDescriptionsAsExtremeItems
140
143
  * @see rateValues
141
144
  * @see rateMax
142
- * @see displayRateDescriptionsAsExtremeItems
143
145
  */
144
146
  get maxRateDescription(): string;
145
147
  set maxRateDescription(val: string);
@@ -149,15 +151,14 @@ export declare class QuestionRatingModel extends Question {
149
151
  get hasMinLabel(): boolean;
150
152
  get hasMaxLabel(): boolean;
151
153
  /**
152
- * Specifies whether to display `minRateDescription` and `maxRateDescription` values as captions for buttons that correspond to the extreme (first and last) rate values.
154
+ * Specifies whether to display [`minRateDescription`](https://surveyjs.io/form-library/documentation/api-reference/rating-scale-question-model#minRateDescription) and [`maxRateDescription`](https://surveyjs.io/form-library/documentation/api-reference/rating-scale-question-model#maxRateDescription) values as captions for buttons that correspond to the extreme (first and last) rate values.
153
155
  *
154
156
  * Default value: `false`
155
157
  *
156
158
  * If this property is disabled, the `minRateDescription` and `maxRateDescription` values are displayed as plain non-clickable texts.
157
159
  *
158
160
  * If any of the `minRateDescription` and `maxRateDescription` properties is empty, the corresponding rate value's `value` or `text` is displayed as a button caption.
159
- * @see minRateDescription
160
- * @see maxRateDescription
161
+ * @see rateDescriptionLocation
161
162
  * @see rateMin
162
163
  * @see rateMax
163
164
  * @see rateValues
@@ -176,6 +177,18 @@ export declare class QuestionRatingModel extends Question {
176
177
  * @see rateType
177
178
  */
178
179
  displayMode: "dropdown" | "buttons" | "auto";
180
+ /**
181
+ * Specifies the alignment of [`minRateDescription`](https://surveyjs.io/form-library/documentation/api-reference/rating-scale-question-model#minRateDescription) and [`maxRateDescription`](https://surveyjs.io/form-library/documentation/api-reference/rating-scale-question-model#maxRateDescription) texts.
182
+ *
183
+ * Possible values:
184
+ *
185
+ * - `"leftRight"` (default) - Aligns `minRateDescription` to the left of rate values and `maxRateDescription` to their right.
186
+ * - `"top"` - Displays the descriptions above the minimum and maximum rate values.
187
+ * - `"bottom"` - Displays both descriptions below the minimum and maximum rate values.
188
+ * - `"topBottom"` - Displays `minRateDescription` above the minimum rate value and `maxRateDescription` below the maximum rate value.
189
+ * @see displayRateDescriptionsAsExtremeItems
190
+ */
191
+ rateDescriptionLocation: "leftRight" | "top" | "bottom" | "topBottom";
179
192
  /**
180
193
  * Specifies the visual representation of rate values.
181
194
  *
@@ -14,7 +14,6 @@ export declare class QuestionTagboxModel extends QuestionCheckboxModel {
14
14
  private itemDisplayNameMap;
15
15
  constructor(name: string);
16
16
  locStrsChanged(): void;
17
- readOnlyText: string;
18
17
  private updateReadOnlyText;
19
18
  protected getDefaultItemComponent(): string;
20
19
  onSurveyLoad(): void;
@@ -55,6 +54,9 @@ export declare class QuestionTagboxModel extends QuestionCheckboxModel {
55
54
  get clearCaption(): string;
56
55
  set clearCaption(value: string);
57
56
  get locClearCaption(): LocalizableString;
57
+ get readOnlyText(): string;
58
+ set readOnlyText(val: string);
59
+ get locReadOnlyText(): LocalizableString;
58
60
  getType(): string;
59
61
  get ariaRole(): string;
60
62
  get popupModel(): PopupModel;
@@ -34,13 +34,7 @@ export declare var settings: {
34
34
  showEmptyDescriptions: boolean;
35
35
  showEmptyTitles: boolean;
36
36
  };
37
- /**
38
- * This property is obsolete. Use the [`settings.designMode.showEmptyDescriptions`](https://surveyjs.io/form-library/documentation/api-reference/settings#designMode) property instead.
39
- */
40
37
  allowShowEmptyDescriptionInDesignMode: boolean;
41
- /**
42
- * This property is obsolete. Use the [`settings.designMode.showEmptyTitles`](https://surveyjs.io/form-library/documentation/api-reference/settings#designMode) property instead.
43
- */
44
38
  allowShowEmptyTitleInDesignMode: boolean;
45
39
  /**
46
40
  * An object that contains properties related to localization.
@@ -61,17 +55,8 @@ export declare var settings: {
61
55
  storeDuplicatedTranslations: boolean;
62
56
  defaultLocaleName: string;
63
57
  };
64
- /**
65
- * This property is obsolete. Use the [`settings.localization.useLocalTimeZone`](https://surveyjs.io/form-library/documentation/api-reference/settings#localization) property instead.
66
- */
67
58
  useLocalTimeZone: boolean;
68
- /**
69
- * This property is obsolete. Use the [`settings.localization.storeDuplicatedTranslations`](https://surveyjs.io/form-library/documentation/api-reference/settings#localization) property instead.
70
- */
71
59
  storeDuplicatedTranslations: boolean;
72
- /**
73
- * This property is obsolete. Use the [`settings.localization.defaultLocaleName`](https://surveyjs.io/form-library/documentation/api-reference/settings#localization) property instead.
74
- */
75
60
  defaultLocaleName: string;
76
61
  /**
77
62
  * An object with properties that configure surveys when they work with a web service.
@@ -82,36 +67,38 @@ export declare var settings: {
82
67
  * Specifies whether to encode URL parameters when you access a web service. Default value: `true`.
83
68
  *
84
69
  * - `cacheLoadedChoices`: `boolean`\
85
- * Specifies whether to cache [choices](https://surveyjs.io/form-library/documentation/api-reference/checkbox-question-model#choicesByUrl) loaded from a web service. Default value: `true`.
70
+ * Specifies whether to cache [choices loaded from a web service](https://surveyjs.io/form-library/documentation/api-reference/questionselectbase#choicesByUrl). Default value: `true`.
86
71
  *
87
72
  * - `disableQuestionWhileLoadingChoices`: `boolean`\
88
73
  * Disables a question while its choices are being loaded from a web service. Default value: `false`.
89
74
  *
90
75
  * - `surveyServiceUrl`: `string`\
91
76
  * The URL of the SurveyJS Service API endpoint.
77
+ *
78
+ * - `onBeforeRequestChoices`: `(sender: ChoicesRestful, options: { request: XMLHttpRequest })`\
79
+ * An event that is raised before a request for choices is send. Applies to questions with a specified [`choiceByUrl`](https://surveyjs.io/form-library/documentation/api-reference/questionselectbase#choicesByUrl) property. Use the `options.request` parameter to access and modify the `XMLHttpRequest` object. For instance, you can add authentication headers to it:
80
+ *
81
+ * ```js
82
+ * import { settings } from "survey-core";
83
+ *
84
+ * settings.web.onBeforeSendRequest = (sender, options) => {
85
+ * options.request.setRequestHeader('RequestVerificationToken', requestVerificationToken);
86
+ * };
87
+ * ```
92
88
  */
93
89
  web: {
90
+ onBeforeRequestChoices: (sender: any, options: {
91
+ request: XMLHttpRequest;
92
+ }) => void;
94
93
  encodeUrlParams: boolean;
95
94
  cacheLoadedChoices: boolean;
96
95
  disableQuestionWhileLoadingChoices: boolean;
97
96
  surveyServiceUrl: string;
98
97
  };
99
- /**
100
- * This property is obsolete. Use the [`settings.web.encodeUrlParams`](https://surveyjs.io/form-library/documentation/api-reference/settings#web) property instead.
101
- */
102
98
  webserviceEncodeParameters: boolean;
103
- /**
104
- * This property is obsolete. Use the [`settings.web.cacheLoadedChoices`](https://surveyjs.io/form-library/documentation/api-reference/settings#web) property instead.
105
- */
106
99
  useCachingForChoicesRestful: boolean;
107
100
  useCachingForChoicesRestfull: boolean;
108
- /**
109
- * This property is obsolete. Use the [`settings.web.disableQuestionWhileLoadingChoices`](https://surveyjs.io/form-library/documentation/api-reference/settings#web) property instead.
110
- */
111
101
  disableOnGettingChoicesFromWeb: boolean;
112
- /**
113
- * This property is obsolete. Use the [`settings.web.surveyServiceUrl`](https://surveyjs.io/form-library/documentation/api-reference/settings#web) property instead.
114
- */
115
102
  surveyServiceUrl: string;
116
103
  /**
117
104
  * An object that contains properties related to [triggers](https://surveyjs.io/form-library/documentation/design-survey/conditional-logic#conditional-survey-logic-triggers).
@@ -134,17 +121,8 @@ export declare var settings: {
134
121
  executeCompleteOnValueChanged: boolean;
135
122
  executeSkipOnValueChanged: boolean;
136
123
  };
137
- /**
138
- * This property is obsolete. Use the [`settings.triggers.executeCompleteOnValueChanged`](https://surveyjs.io/form-library/documentation/api-reference/settings#triggers) property instead.
139
- */
140
124
  executeCompleteTriggerOnValueChanged: boolean;
141
- /**
142
- * This property is obsolete. Use the [`settings.triggers.changeNavigationButtonsOnComplete`](https://surveyjs.io/form-library/documentation/api-reference/settings#triggers) property instead.
143
- */
144
125
  changeNavigationButtonsOnCompleteTrigger: boolean;
145
- /**
146
- * This property is obsolete. Use the [`settings.triggers.executeSkipOnValueChanged`](https://surveyjs.io/form-library/documentation/api-reference/settings#triggers) property instead.
147
- */
148
126
  executeSkipTriggerOnValueChanged: boolean;
149
127
  /**
150
128
  * An object that contains properties related to JSON serialization.
@@ -179,17 +157,8 @@ export declare var settings: {
179
157
  itemValueSerializeDisplayText: boolean;
180
158
  localizableStringSerializeAsObject: boolean;
181
159
  };
182
- /**
183
- * This property is obsolete. Use the [`settings.serialization.itemValueSerializeAsObject`](https://surveyjs.io/form-library/documentation/api-reference/settings#serialization) property instead.
184
- */
185
160
  itemValueAlwaysSerializeAsObject: boolean;
186
- /**
187
- * This property is obsolete. Use the [`settings.serialization.itemValueSerializeDisplayText`](https://surveyjs.io/form-library/documentation/api-reference/settings#serialization) property instead.
188
- */
189
161
  itemValueAlwaysSerializeText: boolean;
190
- /**
191
- * This property is obsolete. Use the [`settings.serialization.localizableStringSerializeAsObject`](https://surveyjs.io/form-library/documentation/api-reference/settings#serialization) property instead.
192
- */
193
162
  serializeLocalizableStringAsObject: boolean;
194
163
  /**
195
164
  * An object that configures lazy rendering.
@@ -205,9 +174,6 @@ export declare var settings: {
205
174
  enabled: boolean;
206
175
  firstBatchSize: number;
207
176
  };
208
- /**
209
- * This property is obsolete. Use the [`settings.lazyRender.enabled`](https://surveyjs.io/form-library/documentation/api-reference/settings#lazyRender) property instead.
210
- */
211
177
  lazyRowsRendering: boolean;
212
178
  lazyRowsRenderingStartRow: number;
213
179
  /**
@@ -258,29 +224,11 @@ export declare var settings: {
258
224
  };
259
225
  rateSize: "small" | "normal";
260
226
  };
261
- /**
262
- * This property is obsolete. Use the [`settings.matrix.defaultRowName`](https://surveyjs.io/form-library/documentation/api-reference/settings#matrix) property instead.
263
- */
264
227
  matrixDefaultRowName: string;
265
- /**
266
- * This property is obsolete. Use the [`settings.matrix.defaultCellType`](https://surveyjs.io/form-library/documentation/api-reference/settings#matrix) property instead.
267
- */
268
228
  matrixDefaultCellType: string;
269
- /**
270
- * This property is obsolete. Use the [`settings.matrix.totalsSuffix`](https://surveyjs.io/form-library/documentation/api-reference/settings#matrix) property instead.
271
- */
272
229
  matrixTotalValuePostFix: string;
273
- /**
274
- * This property is obsolete. Use the [`settings.matrix.maxRowCount`](https://surveyjs.io/form-library/documentation/api-reference/settings#matrix) property instead.
275
- */
276
230
  matrixMaximumRowCount: number;
277
- /**
278
- * This property is obsolete. Use the [`settings.matrix.maxRowCountInCondition`](https://surveyjs.io/form-library/documentation/api-reference/settings#matrix) property instead.
279
- */
280
231
  matrixMaxRowCountInCondition: number;
281
- /**
282
- * This property is obsolete. Use the [`settings.matrix.renderRemoveAsIcon`](https://surveyjs.io/form-library/documentation/api-reference/settings#matrix) property instead.
283
- */
284
232
  matrixRenderRemoveAsIcon: boolean;
285
233
  /**
286
234
  * An object with properties that apply to [Dynamic Panel](https://surveyjs.io/form-library/documentation/api-reference/dynamic-panel-model) questions.
@@ -299,13 +247,7 @@ export declare var settings: {
299
247
  maxPanelCount: number;
300
248
  maxPanelCountInCondition: number;
301
249
  };
302
- /**
303
- * This property is obsolete. Use the [`settings.panel.maxPanelCountInCondition`](https://surveyjs.io/form-library/documentation/api-reference/settings#panel) property instead.
304
- */
305
250
  panelDynamicMaxPanelCountInCondition: number;
306
- /**
307
- * This property is obsolete. Use the [`settings.panel.maxPanelCount`](https://surveyjs.io/form-library/documentation/api-reference/settings#panel) property instead.
308
- */
309
251
  panelMaximumPanelCount: number;
310
252
  /**
311
253
  * An object with properties that configure questions in read-only mode.
@@ -323,13 +265,7 @@ export declare var settings: {
323
265
  commentRenderMode: string;
324
266
  textRenderMode: string;
325
267
  };
326
- /**
327
- * This property is obsolete. Use the [`settings.readOnly.commentRenderMode`](https://surveyjs.io/form-library/documentation/api-reference/settings#readOnly) property instead.
328
- */
329
268
  readOnlyCommentRenderMode: string;
330
- /**
331
- * This property is obsolete. Use the [`settings.readOnly.textRenderMode`](https://surveyjs.io/form-library/documentation/api-reference/settings#readOnly) property instead.
332
- */
333
269
  readOnlyTextRenderMode: string;
334
270
  /**
335
271
  * An object with properties that configure question numbering.
@@ -346,13 +282,7 @@ export declare var settings: {
346
282
  includeQuestionsWithHiddenNumber: boolean;
347
283
  includeQuestionsWithHiddenTitle: boolean;
348
284
  };
349
- /**
350
- * This property is obsolete. Use the [`settings.numbering.includeQuestionsWithHiddenTitle`](https://surveyjs.io/form-library/documentation/api-reference/settings#numbering) property instead.
351
- */
352
285
  setQuestionVisibleIndexForHiddenTitle: boolean;
353
- /**
354
- * This property is obsolete. Use the [`settings.numbering.includeQuestionsWithHiddenNumber`](https://surveyjs.io/form-library/documentation/api-reference/settings#numbering) property instead.
355
- */
356
286
  setQuestionVisibleIndexForHiddenNumber: boolean;
357
287
  /**
358
288
  * Specifies an action to perform when users press the Enter key within a survey.
@@ -219,7 +219,8 @@ export declare class SurveyElement<E = any> extends SurveyElementCore implements
219
219
  set readOnly(val: boolean);
220
220
  protected onReadOnlyChanged(): void;
221
221
  private get css();
222
- cssClassesValue: any;
222
+ get cssClassesValue(): any;
223
+ set cssClassesValue(val: any);
223
224
  private ensureCssClassesValue;
224
225
  /**
225
226
  * Returns an object in which keys are UI elements and values are CSS classes applied to them.
@@ -827,15 +827,17 @@ export interface DynamicPanelItemValueChangedEvent extends PanelDynamicQuestionE
827
827
  */
828
828
  panel: PanelModel;
829
829
  }
830
- export interface DynamicPanelGetTabTitleEvent extends PanelDynamicQuestionEventMixin {
830
+ export interface DynamicPanelCurrentIndexChangedEvent extends PanelDynamicQuestionEventMixin {
831
831
  /**
832
- * A panel whose tab title is being rendered.
832
+ * A panel for which the event is raised.
833
833
  */
834
834
  panel: PanelModel;
835
835
  /**
836
836
  * The panel's index in the [`visiblePanels`](https://surveyjs.io/form-library/documentation/api-reference/dynamic-panel-model#visiblePanels) array of the Dynamic Panel.
837
837
  */
838
838
  visiblePanelIndex: number;
839
+ }
840
+ export interface DynamicPanelGetTabTitleEvent extends DynamicPanelCurrentIndexChangedEvent {
839
841
  /**
840
842
  * A tab title. You can change this parameter's value.
841
843
  */