survey-core 1.9.112 → 1.9.113

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 (378) hide show
  1. package/defaultV2.css +389 -339
  2. package/defaultV2.css.map +1 -1
  3. package/defaultV2.fontless.css +389 -339
  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 +1 -1
  8. package/i18n/arabic.min.js +1 -1
  9. package/i18n/basque.js +1 -1
  10. package/i18n/basque.min.js +1 -1
  11. package/i18n/bulgarian.js +1 -1
  12. package/i18n/bulgarian.min.js +1 -1
  13. package/i18n/catalan.js +1 -1
  14. package/i18n/catalan.min.js +1 -1
  15. package/i18n/croatian.js +1 -1
  16. package/i18n/croatian.min.js +1 -1
  17. package/i18n/czech.js +1 -1
  18. package/i18n/czech.min.js +1 -1
  19. package/i18n/danish.js +1 -1
  20. package/i18n/danish.min.js +1 -1
  21. package/i18n/dutch.js +1 -1
  22. package/i18n/dutch.min.js +1 -1
  23. package/i18n/english.js +1 -1
  24. package/i18n/english.min.js +1 -1
  25. package/i18n/estonian.js +1 -1
  26. package/i18n/estonian.min.js +1 -1
  27. package/i18n/finnish.js +1 -1
  28. package/i18n/finnish.min.js +1 -1
  29. package/i18n/french.js +1 -1
  30. package/i18n/french.min.js +1 -1
  31. package/i18n/georgian.js +1 -1
  32. package/i18n/georgian.min.js +1 -1
  33. package/i18n/german.js +1 -1
  34. package/i18n/german.min.js +1 -1
  35. package/i18n/greek.js +1 -1
  36. package/i18n/greek.min.js +1 -1
  37. package/i18n/hebrew.js +1 -1
  38. package/i18n/hebrew.min.js +1 -1
  39. package/i18n/hindi.js +1 -1
  40. package/i18n/hindi.min.js +1 -1
  41. package/i18n/hungarian.js +1 -1
  42. package/i18n/hungarian.min.js +1 -1
  43. package/i18n/icelandic.js +1 -1
  44. package/i18n/icelandic.min.js +1 -1
  45. package/i18n/index.js +1 -1
  46. package/i18n/index.min.js +1 -1
  47. package/i18n/indonesian.js +1 -1
  48. package/i18n/indonesian.min.js +1 -1
  49. package/i18n/italian.js +1 -1
  50. package/i18n/italian.min.js +1 -1
  51. package/i18n/japanese.js +1 -1
  52. package/i18n/japanese.min.js +1 -1
  53. package/i18n/kazakh.js +1 -1
  54. package/i18n/kazakh.min.js +1 -1
  55. package/i18n/korean.js +1 -1
  56. package/i18n/korean.min.js +1 -1
  57. package/i18n/latvian.js +1 -1
  58. package/i18n/latvian.min.js +1 -1
  59. package/i18n/lithuanian.js +1 -1
  60. package/i18n/lithuanian.min.js +1 -1
  61. package/i18n/macedonian.js +1 -1
  62. package/i18n/macedonian.min.js +1 -1
  63. package/i18n/malay.js +1 -1
  64. package/i18n/malay.min.js +1 -1
  65. package/i18n/nl-BE.js +1 -1
  66. package/i18n/nl-BE.min.js +1 -1
  67. package/i18n/norwegian.js +1 -1
  68. package/i18n/norwegian.min.js +1 -1
  69. package/i18n/persian.js +1 -1
  70. package/i18n/persian.min.js +1 -1
  71. package/i18n/polish.js +1 -1
  72. package/i18n/polish.min.js +1 -1
  73. package/i18n/portuguese-br.js +1 -1
  74. package/i18n/portuguese-br.min.js +1 -1
  75. package/i18n/portuguese.js +1 -1
  76. package/i18n/portuguese.min.js +1 -1
  77. package/i18n/romanian.js +1 -1
  78. package/i18n/romanian.min.js +1 -1
  79. package/i18n/russian.js +1 -1
  80. package/i18n/russian.min.js +1 -1
  81. package/i18n/serbian.js +1 -1
  82. package/i18n/serbian.min.js +1 -1
  83. package/i18n/simplified-chinese.js +1 -1
  84. package/i18n/simplified-chinese.min.js +1 -1
  85. package/i18n/slovak.js +1 -1
  86. package/i18n/slovak.min.js +1 -1
  87. package/i18n/spanish.js +1 -1
  88. package/i18n/spanish.min.js +1 -1
  89. package/i18n/swahili.js +1 -1
  90. package/i18n/swahili.min.js +1 -1
  91. package/i18n/swedish.js +1 -1
  92. package/i18n/swedish.min.js +1 -1
  93. package/i18n/tajik.js +1 -1
  94. package/i18n/tajik.min.js +1 -1
  95. package/i18n/telugu.js +1 -1
  96. package/i18n/telugu.min.js +1 -1
  97. package/i18n/thai.js +1 -1
  98. package/i18n/thai.min.js +1 -1
  99. package/i18n/traditional-chinese.js +1 -1
  100. package/i18n/traditional-chinese.min.js +1 -1
  101. package/i18n/turkish.js +1 -1
  102. package/i18n/turkish.min.js +1 -1
  103. package/i18n/ukrainian.js +1 -1
  104. package/i18n/ukrainian.min.js +1 -1
  105. package/i18n/urdu.js +1 -1
  106. package/i18n/urdu.min.js +1 -1
  107. package/i18n/vietnamese.js +1 -1
  108. package/i18n/vietnamese.min.js +1 -1
  109. package/i18n/welsh.js +1 -1
  110. package/i18n/welsh.min.js +1 -1
  111. package/modern.css +245 -125
  112. package/modern.css.map +1 -1
  113. package/modern.fontless.css +245 -125
  114. package/modern.fontless.css.map +1 -1
  115. package/modern.fontless.min.css +2 -2
  116. package/modern.min.css +2 -2
  117. package/package.json +1 -1
  118. package/plugins/bootstrap-integration.js +1 -1
  119. package/plugins/bootstrap-integration.min.js +1 -1
  120. package/plugins/bootstrap-material-integration.js +1 -1
  121. package/plugins/bootstrap-material-integration.min.js +1 -1
  122. package/survey.core.js +238 -124
  123. package/survey.core.js.map +1 -1
  124. package/survey.core.min.js +3 -3
  125. package/survey.css +1 -1
  126. package/survey.css.map +1 -1
  127. package/survey.i18n.js +1 -1
  128. package/survey.i18n.min.js +1 -1
  129. package/survey.min.css +1 -1
  130. package/themes/borderless-dark-panelless.js +1 -6
  131. package/themes/borderless-dark-panelless.js.map +1 -1
  132. package/themes/borderless-dark-panelless.min.js +2 -2
  133. package/themes/borderless-dark.js +1 -6
  134. package/themes/borderless-dark.js.map +1 -1
  135. package/themes/borderless-dark.min.js +2 -2
  136. package/themes/borderless-light-panelless..js +1 -6
  137. package/themes/borderless-light-panelless..js.map +1 -1
  138. package/themes/borderless-light-panelless..min.js +2 -2
  139. package/themes/borderless-light.js +1 -6
  140. package/themes/borderless-light.js.map +1 -1
  141. package/themes/borderless-light.min.js +2 -2
  142. package/themes/contrast-dark-panelless.js +1 -6
  143. package/themes/contrast-dark-panelless.js.map +1 -1
  144. package/themes/contrast-dark-panelless.min.js +2 -2
  145. package/themes/contrast-dark.js +1 -6
  146. package/themes/contrast-dark.js.map +1 -1
  147. package/themes/contrast-dark.min.js +2 -2
  148. package/themes/contrast-light-panelless.js +1 -6
  149. package/themes/contrast-light-panelless.js.map +1 -1
  150. package/themes/contrast-light-panelless.min.js +2 -2
  151. package/themes/contrast-light.js +1 -6
  152. package/themes/contrast-light.js.map +1 -1
  153. package/themes/contrast-light.min.js +2 -2
  154. package/themes/default-dark-panelless.js +1 -6
  155. package/themes/default-dark-panelless.js.map +1 -1
  156. package/themes/default-dark-panelless.min.js +2 -2
  157. package/themes/default-dark.js +1 -6
  158. package/themes/default-dark.js.map +1 -1
  159. package/themes/default-dark.min.js +2 -2
  160. package/themes/default-light-panelless.js +1 -6
  161. package/themes/default-light-panelless.js.map +1 -1
  162. package/themes/default-light-panelless.min.js +2 -2
  163. package/themes/default-light.js +1 -6
  164. package/themes/default-light.js.map +1 -1
  165. package/themes/default-light.min.js +2 -2
  166. package/themes/doubleborder-dark-panelless.js +1 -6
  167. package/themes/doubleborder-dark-panelless.js.map +1 -1
  168. package/themes/doubleborder-dark-panelless.min.js +2 -2
  169. package/themes/doubleborder-dark.js +1 -6
  170. package/themes/doubleborder-dark.js.map +1 -1
  171. package/themes/doubleborder-dark.min.js +2 -2
  172. package/themes/doubleborder-light-panelles.js +1 -6
  173. package/themes/doubleborder-light-panelles.js.map +1 -1
  174. package/themes/doubleborder-light-panelles.min.js +2 -2
  175. package/themes/doubleborder-light.js +1 -6
  176. package/themes/doubleborder-light.js.map +1 -1
  177. package/themes/doubleborder-light.min.js +2 -2
  178. package/themes/flat-dark-panelless.js +1 -6
  179. package/themes/flat-dark-panelless.js.map +1 -1
  180. package/themes/flat-dark-panelless.min.js +2 -2
  181. package/themes/flat-dark.js +1 -6
  182. package/themes/flat-dark.js.map +1 -1
  183. package/themes/flat-dark.min.js +2 -2
  184. package/themes/flat-light-panelless.js +1 -6
  185. package/themes/flat-light-panelless.js.map +1 -1
  186. package/themes/flat-light-panelless.min.js +2 -2
  187. package/themes/flat-light.js +1 -6
  188. package/themes/flat-light.js.map +1 -1
  189. package/themes/flat-light.min.js +2 -2
  190. package/themes/index.js +1 -201
  191. package/themes/index.js.map +1 -1
  192. package/themes/index.min.js +2 -2
  193. package/themes/layered-dark-panelless.js +1 -6
  194. package/themes/layered-dark-panelless.js.map +1 -1
  195. package/themes/layered-dark-panelless.min.js +2 -2
  196. package/themes/layered-dark.js +1 -6
  197. package/themes/layered-dark.js.map +1 -1
  198. package/themes/layered-dark.min.js +2 -2
  199. package/themes/layered-light-panelless.js +1 -6
  200. package/themes/layered-light-panelless.js.map +1 -1
  201. package/themes/layered-light-panelless.min.js +2 -2
  202. package/themes/layered-light.js +1 -6
  203. package/themes/layered-light.js.map +1 -1
  204. package/themes/layered-light.min.js +2 -2
  205. package/themes/plain-dark-panelless.js +1 -6
  206. package/themes/plain-dark-panelless.js.map +1 -1
  207. package/themes/plain-dark-panelless.min.js +2 -2
  208. package/themes/plain-dark.js +1 -6
  209. package/themes/plain-dark.js.map +1 -1
  210. package/themes/plain-dark.min.js +2 -2
  211. package/themes/plain-light-panelless.js +1 -6
  212. package/themes/plain-light-panelless.js.map +1 -1
  213. package/themes/plain-light-panelless.min.js +2 -2
  214. package/themes/plain-light.js +1 -6
  215. package/themes/plain-light.js.map +1 -1
  216. package/themes/plain-light.min.js +2 -2
  217. package/themes/sharp-dark-panelless.js +1 -6
  218. package/themes/sharp-dark-panelless.js.map +1 -1
  219. package/themes/sharp-dark-panelless.min.js +2 -2
  220. package/themes/sharp-dark.js +1 -6
  221. package/themes/sharp-dark.js.map +1 -1
  222. package/themes/sharp-dark.min.js +2 -2
  223. package/themes/sharp-light-panelless.js +1 -6
  224. package/themes/sharp-light-panelless.js.map +1 -1
  225. package/themes/sharp-light-panelless.min.js +2 -2
  226. package/themes/sharp-light.js +1 -6
  227. package/themes/sharp-light.js.map +1 -1
  228. package/themes/sharp-light.min.js +2 -2
  229. package/themes/solid-dark-panelless.js +1 -6
  230. package/themes/solid-dark-panelless.js.map +1 -1
  231. package/themes/solid-dark-panelless.min.js +2 -2
  232. package/themes/solid-dark.js +1 -6
  233. package/themes/solid-dark.js.map +1 -1
  234. package/themes/solid-dark.min.js +2 -2
  235. package/themes/solid-light-panelless.js +1 -6
  236. package/themes/solid-light-panelless.js.map +1 -1
  237. package/themes/solid-light-panelless.min.js +2 -2
  238. package/themes/solid-light.js +1 -6
  239. package/themes/solid-light.js.map +1 -1
  240. package/themes/solid-light.min.js +2 -2
  241. package/themes/three-dimensional-dark-panelless.js +1 -6
  242. package/themes/three-dimensional-dark-panelless.js.map +1 -1
  243. package/themes/three-dimensional-dark-panelless.min.js +2 -2
  244. package/themes/three-dimensional-dark.js +1 -6
  245. package/themes/three-dimensional-dark.js.map +1 -1
  246. package/themes/three-dimensional-dark.min.js +2 -2
  247. package/themes/three-dimensional-light-panelless.js +1 -6
  248. package/themes/three-dimensional-light-panelless.js.map +1 -1
  249. package/themes/three-dimensional-light-panelless.min.js +2 -2
  250. package/themes/three-dimensional-light.js +1 -6
  251. package/themes/three-dimensional-light.js.map +1 -1
  252. package/themes/three-dimensional-light.min.js +2 -2
  253. package/themes/typings/borderless-dark-panelless.d.ts +0 -10
  254. package/themes/typings/borderless-dark.d.ts +0 -10
  255. package/themes/typings/borderless-light-panelless.d.ts +0 -10
  256. package/themes/typings/borderless-light.d.ts +0 -10
  257. package/themes/typings/contrast-dark-panelless.d.ts +0 -10
  258. package/themes/typings/contrast-dark.d.ts +0 -10
  259. package/themes/typings/contrast-light-panelless.d.ts +0 -10
  260. package/themes/typings/contrast-light.d.ts +0 -10
  261. package/themes/typings/default-dark-panelless.d.ts +0 -10
  262. package/themes/typings/default-dark.d.ts +0 -10
  263. package/themes/typings/default-light-panelless.d.ts +0 -10
  264. package/themes/typings/default-light.d.ts +0 -10
  265. package/themes/typings/doubleborder-dark-panelless.d.ts +0 -10
  266. package/themes/typings/doubleborder-dark.d.ts +0 -10
  267. package/themes/typings/doubleborder-light-panelless.d.ts +0 -10
  268. package/themes/typings/doubleborder-light.d.ts +0 -10
  269. package/themes/typings/flat-dark-panelless.d.ts +0 -10
  270. package/themes/typings/flat-dark.d.ts +0 -10
  271. package/themes/typings/flat-light-panelless.d.ts +0 -10
  272. package/themes/typings/flat-light.d.ts +0 -10
  273. package/themes/typings/index.d.ts +0 -200
  274. package/themes/typings/layered-dark-panelless.d.ts +0 -10
  275. package/themes/typings/layered-dark.d.ts +0 -10
  276. package/themes/typings/layered-light-panelless.d.ts +0 -10
  277. package/themes/typings/layered-light.d.ts +0 -10
  278. package/themes/typings/plain-dark-panelless.d.ts +0 -10
  279. package/themes/typings/plain-dark.d.ts +0 -10
  280. package/themes/typings/plain-light-panelless.d.ts +0 -10
  281. package/themes/typings/plain-light.d.ts +0 -10
  282. package/themes/typings/sharp-dark-panelless.d.ts +0 -10
  283. package/themes/typings/sharp-dark.d.ts +0 -10
  284. package/themes/typings/sharp-light-panelless.d.ts +0 -10
  285. package/themes/typings/sharp-light.d.ts +0 -10
  286. package/themes/typings/solid-dark-panelless.d.ts +0 -10
  287. package/themes/typings/solid-dark.d.ts +0 -10
  288. package/themes/typings/solid-light-panelless.d.ts +0 -10
  289. package/themes/typings/solid-light.d.ts +0 -10
  290. package/themes/typings/threedimensional-dark-panelless.d.ts +0 -10
  291. package/themes/typings/threedimensional-dark.d.ts +0 -10
  292. package/themes/typings/threedimensional-light-panelless.d.ts +0 -10
  293. package/themes/typings/threedimensional-light.d.ts +0 -10
  294. package/ts3.4/themes/typings/borderless-dark-panelless.d.ts +0 -10
  295. package/ts3.4/themes/typings/borderless-dark.d.ts +0 -10
  296. package/ts3.4/themes/typings/borderless-light-panelless.d.ts +0 -10
  297. package/ts3.4/themes/typings/borderless-light.d.ts +0 -10
  298. package/ts3.4/themes/typings/contrast-dark-panelless.d.ts +0 -10
  299. package/ts3.4/themes/typings/contrast-dark.d.ts +0 -10
  300. package/ts3.4/themes/typings/contrast-light-panelless.d.ts +0 -10
  301. package/ts3.4/themes/typings/contrast-light.d.ts +0 -10
  302. package/ts3.4/themes/typings/default-dark-panelless.d.ts +0 -10
  303. package/ts3.4/themes/typings/default-dark.d.ts +0 -10
  304. package/ts3.4/themes/typings/default-light-panelless.d.ts +0 -10
  305. package/ts3.4/themes/typings/default-light.d.ts +0 -10
  306. package/ts3.4/themes/typings/doubleborder-dark-panelless.d.ts +0 -10
  307. package/ts3.4/themes/typings/doubleborder-dark.d.ts +0 -10
  308. package/ts3.4/themes/typings/doubleborder-light-panelless.d.ts +0 -10
  309. package/ts3.4/themes/typings/doubleborder-light.d.ts +0 -10
  310. package/ts3.4/themes/typings/flat-dark-panelless.d.ts +0 -10
  311. package/ts3.4/themes/typings/flat-dark.d.ts +0 -10
  312. package/ts3.4/themes/typings/flat-light-panelless.d.ts +0 -10
  313. package/ts3.4/themes/typings/flat-light.d.ts +0 -10
  314. package/ts3.4/themes/typings/index.d.ts +0 -200
  315. package/ts3.4/themes/typings/layered-dark-panelless.d.ts +0 -10
  316. package/ts3.4/themes/typings/layered-dark.d.ts +0 -10
  317. package/ts3.4/themes/typings/layered-light-panelless.d.ts +0 -10
  318. package/ts3.4/themes/typings/layered-light.d.ts +0 -10
  319. package/ts3.4/themes/typings/plain-dark-panelless.d.ts +0 -10
  320. package/ts3.4/themes/typings/plain-dark.d.ts +0 -10
  321. package/ts3.4/themes/typings/plain-light-panelless.d.ts +0 -10
  322. package/ts3.4/themes/typings/plain-light.d.ts +0 -10
  323. package/ts3.4/themes/typings/sharp-dark-panelless.d.ts +0 -10
  324. package/ts3.4/themes/typings/sharp-dark.d.ts +0 -10
  325. package/ts3.4/themes/typings/sharp-light-panelless.d.ts +0 -10
  326. package/ts3.4/themes/typings/sharp-light.d.ts +0 -10
  327. package/ts3.4/themes/typings/solid-dark-panelless.d.ts +0 -10
  328. package/ts3.4/themes/typings/solid-dark.d.ts +0 -10
  329. package/ts3.4/themes/typings/solid-light-panelless.d.ts +0 -10
  330. package/ts3.4/themes/typings/solid-light.d.ts +0 -10
  331. package/ts3.4/themes/typings/threedimensional-dark-panelless.d.ts +0 -10
  332. package/ts3.4/themes/typings/threedimensional-dark.d.ts +0 -10
  333. package/ts3.4/themes/typings/threedimensional-light-panelless.d.ts +0 -10
  334. package/ts3.4/themes/typings/threedimensional-light.d.ts +0 -10
  335. package/ts3.4/typings/cover.d.ts +2 -1
  336. package/ts3.4/typings/defaultCss/defaultV2Css.d.ts +6 -1
  337. package/ts3.4/typings/dragdrop/ranking-select-to-rank.d.ts +4 -0
  338. package/ts3.4/typings/entries/chunks/model.d.ts +1 -0
  339. package/ts3.4/typings/jsonobject.d.ts +3 -1
  340. package/ts3.4/typings/page.d.ts +4 -1
  341. package/ts3.4/typings/popup.d.ts +1 -0
  342. package/ts3.4/typings/question.d.ts +2 -0
  343. package/ts3.4/typings/question_dropdown.d.ts +1 -0
  344. package/ts3.4/typings/question_matrixdynamic.d.ts +1 -1
  345. package/ts3.4/typings/question_multipletext.d.ts +8 -0
  346. package/ts3.4/typings/question_paneldynamic.d.ts +2 -0
  347. package/ts3.4/typings/question_ranking.d.ts +1 -2
  348. package/ts3.4/typings/question_rating.d.ts +7 -1
  349. package/ts3.4/typings/question_signaturepad.d.ts +2 -2
  350. package/ts3.4/typings/question_tagbox.d.ts +1 -0
  351. package/ts3.4/typings/question_text.d.ts +1 -0
  352. package/ts3.4/typings/settings.d.ts +6 -0
  353. package/ts3.4/typings/survey-events-api.d.ts +0 -4
  354. package/ts3.4/typings/survey.d.ts +15 -8
  355. package/ts3.4/typings/surveytimer.d.ts +1 -0
  356. package/ts3.4/typings/themes.d.ts +137 -4
  357. package/typings/cover.d.ts +2 -1
  358. package/typings/defaultCss/defaultV2Css.d.ts +6 -1
  359. package/typings/dragdrop/ranking-select-to-rank.d.ts +4 -0
  360. package/typings/entries/chunks/model.d.ts +1 -0
  361. package/typings/jsonobject.d.ts +3 -1
  362. package/typings/page.d.ts +4 -1
  363. package/typings/popup.d.ts +1 -0
  364. package/typings/question.d.ts +2 -0
  365. package/typings/question_dropdown.d.ts +1 -0
  366. package/typings/question_matrixdynamic.d.ts +1 -1
  367. package/typings/question_multipletext.d.ts +10 -0
  368. package/typings/question_paneldynamic.d.ts +2 -0
  369. package/typings/question_ranking.d.ts +1 -2
  370. package/typings/question_rating.d.ts +8 -1
  371. package/typings/question_signaturepad.d.ts +2 -2
  372. package/typings/question_tagbox.d.ts +1 -0
  373. package/typings/question_text.d.ts +1 -0
  374. package/typings/settings.d.ts +6 -0
  375. package/typings/survey-events-api.d.ts +0 -4
  376. package/typings/survey.d.ts +15 -8
  377. package/typings/surveytimer.d.ts +1 -0
  378. package/typings/themes.d.ts +137 -4
package/survey.core.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * surveyjs - Survey JavaScript library v1.9.112
2
+ * surveyjs - Survey JavaScript library v1.9.113
3
3
  * Copyright (c) 2015-2023 Devsoft Baltic OÜ - http://surveyjs.io/
4
4
  * License: MIT (http://www.opensource.org/licenses/mit-license.php)
5
5
  */
@@ -4548,10 +4548,12 @@ var Cover = /** @class */ (function (_super) {
4548
4548
  .toString();
4549
4549
  };
4550
4550
  Cover.prototype.updateContentClasses = function () {
4551
+ var surveyWidthMode = !!this.survey && this.survey.calculateWidthMode();
4552
+ this.maxWidth = this.inheritWidthFrom === "survey" && !!surveyWidthMode && surveyWidthMode === "static" && this.survey.renderedWidth;
4551
4553
  this.contentClasses = new _utils_cssClassBuilder__WEBPACK_IMPORTED_MODULE_2__["CssClassBuilder"]()
4552
4554
  .append("sv-conver__content")
4553
- .append("sv-conver__content--static", this.inheritWidthFrom === "survey" && !!this.survey && this.survey.calculateWidthMode() === "static")
4554
- .append("sv-conver__content--responsive", this.inheritWidthFrom === "page" || (!!this.survey && this.survey.calculateWidthMode() === "responsive"))
4555
+ .append("sv-conver__content--static", this.inheritWidthFrom === "survey" && !!surveyWidthMode && surveyWidthMode === "static")
4556
+ .append("sv-conver__content--responsive", this.inheritWidthFrom === "container" || (!!surveyWidthMode && surveyWidthMode === "responsive"))
4555
4557
  .toString();
4556
4558
  };
4557
4559
  Cover.prototype.updateBackgroundImageClasses = function () {
@@ -4596,7 +4598,7 @@ var Cover = /** @class */ (function (_super) {
4596
4598
  if (!!newValue) {
4597
4599
  this.updateContentClasses();
4598
4600
  this._survey.onPropertyChanged.add(function (sender, options) {
4599
- if (options.name == "widthMode") {
4601
+ if (options.name == "widthMode" || options.name == "width") {
4600
4602
  _this.updateContentClasses();
4601
4603
  }
4602
4604
  });
@@ -4697,6 +4699,9 @@ var Cover = /** @class */ (function (_super) {
4697
4699
  __decorate([
4698
4700
  Object(_jsonobject__WEBPACK_IMPORTED_MODULE_1__["property"])()
4699
4701
  ], Cover.prototype, "contentClasses", void 0);
4702
+ __decorate([
4703
+ Object(_jsonobject__WEBPACK_IMPORTED_MODULE_1__["property"])()
4704
+ ], Cover.prototype, "maxWidth", void 0);
4700
4705
  __decorate([
4701
4706
  Object(_jsonobject__WEBPACK_IMPORTED_MODULE_1__["property"])()
4702
4707
  ], Cover.prototype, "backgroundImageClasses", void 0);
@@ -5692,7 +5697,7 @@ var defaultV2Css = {
5692
5697
  header: "sd-panel__header sd-element__header sd-element__header--location-top",
5693
5698
  collapsed: "sd-element--collapsed",
5694
5699
  expanded: "sd-element--expanded",
5695
- nested: "sd-element--nested",
5700
+ nested: "sd-element--nested sd-element--nested-with-borders",
5696
5701
  invisible: "sd-element--invisible",
5697
5702
  navigationButton: "",
5698
5703
  compact: "sd-element--with-frame sd-element--compact"
@@ -5716,6 +5721,7 @@ var defaultV2Css = {
5716
5721
  progressContainer: "sd-paneldynamic__progress-container",
5717
5722
  progress: "sd-progress",
5718
5723
  progressBar: "sd-progress__bar",
5724
+ nested: "sd-element--nested sd-element--nested-with-borders",
5719
5725
  progressText: "sd-paneldynamic__progress-text",
5720
5726
  separator: "sd-paneldynamic__separator",
5721
5727
  panelWrapper: "sd-paneldynamic__panel-wrapper",
@@ -5782,6 +5788,9 @@ var defaultV2Css = {
5782
5788
  contentLeft: "sd-question__content--left",
5783
5789
  titleNumInline: "sd-element__title--num-inline",
5784
5790
  titleLeftRoot: "sd-question--left",
5791
+ titleTopRoot: "sd-question--title-top",
5792
+ descriptionUnderInputRoot: "sd-question--description-under-input",
5793
+ titleBottomRoot: "sd-question--title-bottom",
5785
5794
  titleOnAnswer: "sd-question__title--answer",
5786
5795
  titleEmpty: "sd-question__title--empty",
5787
5796
  titleOnError: "sd-question__title--error",
@@ -5804,6 +5813,8 @@ var defaultV2Css = {
5804
5813
  commentArea: "sd-question__comment-area",
5805
5814
  formGroup: "sd-question__form-group",
5806
5815
  hasError: "sd-question--error",
5816
+ hasErrorTop: "sd-question--error-top",
5817
+ hasErrorBottom: "sd-question--error-bottom",
5807
5818
  collapsed: "sd-element--collapsed",
5808
5819
  expanded: "sd-element--expanded",
5809
5820
  nested: "sd-element--nested",
@@ -5829,7 +5840,6 @@ var defaultV2Css = {
5829
5840
  root: "sd-question__erbox",
5830
5841
  icon: "",
5831
5842
  item: "",
5832
- tooltip: "sd-question__erbox--tooltip",
5833
5843
  outsideQuestion: "sd-question__erbox--outside-question",
5834
5844
  aboveQuestion: "sd-question__erbox--above-question",
5835
5845
  belowQuestion: "sd-question__erbox--below-question",
@@ -7181,6 +7191,7 @@ var DragDropCore = /** @class */ (function () {
7181
7191
  };
7182
7192
  DragDropCore.prototype.clear = function () {
7183
7193
  this.dropTarget = null;
7194
+ this.prevDropTarget = null;
7184
7195
  this.draggedElement = null;
7185
7196
  this.isBottom = null;
7186
7197
  this.parentElement = null;
@@ -7915,12 +7926,16 @@ var DragDropRankingSelectToRank = /** @class */ (function (_super) {
7915
7926
  };
7916
7927
  DragDropRankingSelectToRank.prototype.doRankBetween = function (dropTargetNode, fromChoicesArray, toChoicesArray, rankFunction) {
7917
7928
  var questionModel = this.parentElement;
7929
+ var _a = this.getIndixies(questionModel, fromChoicesArray, toChoicesArray), fromIndex = _a.fromIndex, toIndex = _a.toIndex;
7930
+ rankFunction(questionModel, fromIndex, toIndex);
7931
+ this.doUIEffects(dropTargetNode, fromIndex, toIndex);
7932
+ };
7933
+ DragDropRankingSelectToRank.prototype.getIndixies = function (model, fromChoicesArray, toChoicesArray) {
7918
7934
  var fromIndex = fromChoicesArray.indexOf(this.draggedElement);
7919
7935
  var toIndex = toChoicesArray.indexOf(this.dropTarget);
7920
7936
  if (toIndex === -1)
7921
- toIndex = toChoicesArray.length;
7922
- rankFunction(questionModel, fromIndex, toIndex);
7923
- this.doUIEffects(dropTargetNode, fromIndex, toIndex);
7937
+ toIndex = model.value.length;
7938
+ return { fromIndex: fromIndex, toIndex: toIndex };
7924
7939
  };
7925
7940
  DragDropRankingSelectToRank.prototype.doUIEffects = function (dropTargetNode, fromIndex, toIndex) {
7926
7941
  var questionModel = this.parentElement;
@@ -9089,7 +9104,7 @@ var ElementHelper = /** @class */ (function () {
9089
9104
  /*!*************************************!*\
9090
9105
  !*** ./src/entries/chunks/model.ts ***!
9091
9106
  \*************************************/
9092
- /*! exports provided: Version, ReleaseDate, checkLibraryVersion, setLicenseKey, hasLicense, settings, Helpers, AnswerCountValidator, EmailValidator, NumericValidator, RegexValidator, SurveyValidator, TextValidator, ValidatorResult, ExpressionValidator, ValidatorRunner, ItemValue, Base, Event, EventBase, ArrayChanges, ComputedUpdater, SurveyError, SurveyElementCore, SurveyElement, DragTypeOverMeEnum, CalculatedValue, CustomError, AnswerRequiredError, OneAnswerRequiredError, RequreNumericError, ExceedSizeError, LocalizableString, LocalizableStrings, HtmlConditionItem, UrlConditionItem, ChoicesRestful, ChoicesRestfull, FunctionFactory, registerFunction, ConditionRunner, ExpressionRunner, ExpressionExecutor, Operand, Const, BinaryOperand, Variable, FunctionOperand, ArrayOperand, UnaryOperand, ConditionsParser, ProcessValue, JsonError, JsonIncorrectTypeError, JsonMetadata, JsonMetadataClass, JsonMissingTypeError, JsonMissingTypeErrorBase, JsonObject, JsonObjectProperty, JsonRequiredPropertyError, JsonUnknownPropertyError, Serializer, property, propertyArray, MatrixDropdownCell, MatrixDropdownRowModelBase, QuestionMatrixDropdownModelBase, MatrixDropdownColumn, matrixDropdownColumnTypes, QuestionMatrixDropdownRenderedCell, QuestionMatrixDropdownRenderedRow, QuestionMatrixDropdownRenderedTable, MatrixDropdownRowModel, QuestionMatrixDropdownModel, MatrixDynamicRowModel, QuestionMatrixDynamicModel, MatrixRowModel, MatrixCells, QuestionMatrixModel, QuestionMatrixBaseModel, MultipleTextItemModel, MultipleTextCell, MultipleTextErrorCell, MutlipleTextErrorRow, MutlipleTextRow, QuestionMultipleTextModel, MultipleTextEditorModel, PanelModel, PanelModelBase, QuestionRowModel, FlowPanelModel, PageModel, DefaultTitleModel, Question, QuestionNonValue, QuestionEmptyModel, QuestionCheckboxBase, QuestionSelectBase, QuestionCheckboxModel, QuestionTagboxModel, QuestionRankingModel, QuestionCommentModel, QuestionDropdownModel, QuestionFactory, ElementFactory, QuestionFileModel, QuestionHtmlModel, QuestionRadiogroupModel, QuestionRatingModel, RenderedRatingItem, QuestionExpressionModel, QuestionTextBase, CharacterCounter, QuestionTextModel, QuestionBooleanModel, QuestionImagePickerModel, ImageItemValue, QuestionImageModel, QuestionSignaturePadModel, QuestionPanelDynamicModel, QuestionPanelDynamicItem, SurveyTimer, SurveyTimerModel, tryNavigateToPage, tryFocusPage, createTOCListModel, getTocRootCss, TOCModel, SurveyProgressModel, SurveyProgressButtonsModel, SurveyModel, SurveyTrigger, SurveyTriggerComplete, SurveyTriggerSetValue, SurveyTriggerVisible, SurveyTriggerCopyValue, SurveyTriggerRunExpression, SurveyTriggerSkip, Trigger, PopupSurveyModel, SurveyWindowModel, TextPreProcessor, Notifier, Cover, CoverCell, dxSurveyService, englishStrings, surveyLocalization, surveyStrings, QuestionCustomWidget, CustomWidgetCollection, QuestionCustomModel, QuestionCompositeModel, ComponentQuestionJSON, ComponentCollection, StylesManager, ListModel, MultiSelectListModel, PopupModel, createDialogOptions, PopupBaseViewModel, PopupDropdownViewModel, PopupModalViewModel, createPopupViewModel, createPopupModalViewModel, DropdownListModel, DropdownMultiSelectListModel, QuestionButtonGroupModel, ButtonGroupItemModel, ButtonGroupItemValue, IsMobile, IsTouch, _setIsTouch, confirmAction, confirmActionAsync, detectIEOrEdge, doKey2ClickUp, doKey2ClickDown, doKey2ClickBlur, loadFileFromBase64, increaseHeightByContent, createSvg, sanitizeEditableContent, CssClassBuilder, surveyCss, defaultV2Css, defaultV2ThemeName, DragDropCore, DragDropChoices, DragDropRankingSelectToRank */
9107
+ /*! exports provided: Version, ReleaseDate, checkLibraryVersion, setLicenseKey, slk, hasLicense, settings, Helpers, AnswerCountValidator, EmailValidator, NumericValidator, RegexValidator, SurveyValidator, TextValidator, ValidatorResult, ExpressionValidator, ValidatorRunner, ItemValue, Base, Event, EventBase, ArrayChanges, ComputedUpdater, SurveyError, SurveyElementCore, SurveyElement, DragTypeOverMeEnum, CalculatedValue, CustomError, AnswerRequiredError, OneAnswerRequiredError, RequreNumericError, ExceedSizeError, LocalizableString, LocalizableStrings, HtmlConditionItem, UrlConditionItem, ChoicesRestful, ChoicesRestfull, FunctionFactory, registerFunction, ConditionRunner, ExpressionRunner, ExpressionExecutor, Operand, Const, BinaryOperand, Variable, FunctionOperand, ArrayOperand, UnaryOperand, ConditionsParser, ProcessValue, JsonError, JsonIncorrectTypeError, JsonMetadata, JsonMetadataClass, JsonMissingTypeError, JsonMissingTypeErrorBase, JsonObject, JsonObjectProperty, JsonRequiredPropertyError, JsonUnknownPropertyError, Serializer, property, propertyArray, MatrixDropdownCell, MatrixDropdownRowModelBase, QuestionMatrixDropdownModelBase, MatrixDropdownColumn, matrixDropdownColumnTypes, QuestionMatrixDropdownRenderedCell, QuestionMatrixDropdownRenderedRow, QuestionMatrixDropdownRenderedTable, MatrixDropdownRowModel, QuestionMatrixDropdownModel, MatrixDynamicRowModel, QuestionMatrixDynamicModel, MatrixRowModel, MatrixCells, QuestionMatrixModel, QuestionMatrixBaseModel, MultipleTextItemModel, MultipleTextCell, MultipleTextErrorCell, MutlipleTextErrorRow, MutlipleTextRow, QuestionMultipleTextModel, MultipleTextEditorModel, PanelModel, PanelModelBase, QuestionRowModel, FlowPanelModel, PageModel, DefaultTitleModel, Question, QuestionNonValue, QuestionEmptyModel, QuestionCheckboxBase, QuestionSelectBase, QuestionCheckboxModel, QuestionTagboxModel, QuestionRankingModel, QuestionCommentModel, QuestionDropdownModel, QuestionFactory, ElementFactory, QuestionFileModel, QuestionHtmlModel, QuestionRadiogroupModel, QuestionRatingModel, RenderedRatingItem, QuestionExpressionModel, QuestionTextBase, CharacterCounter, QuestionTextModel, QuestionBooleanModel, QuestionImagePickerModel, ImageItemValue, QuestionImageModel, QuestionSignaturePadModel, QuestionPanelDynamicModel, QuestionPanelDynamicItem, SurveyTimer, SurveyTimerModel, tryNavigateToPage, tryFocusPage, createTOCListModel, getTocRootCss, TOCModel, SurveyProgressModel, SurveyProgressButtonsModel, SurveyModel, SurveyTrigger, SurveyTriggerComplete, SurveyTriggerSetValue, SurveyTriggerVisible, SurveyTriggerCopyValue, SurveyTriggerRunExpression, SurveyTriggerSkip, Trigger, PopupSurveyModel, SurveyWindowModel, TextPreProcessor, Notifier, Cover, CoverCell, dxSurveyService, englishStrings, surveyLocalization, surveyStrings, QuestionCustomWidget, CustomWidgetCollection, QuestionCustomModel, QuestionCompositeModel, ComponentQuestionJSON, ComponentCollection, StylesManager, ListModel, MultiSelectListModel, PopupModel, createDialogOptions, PopupBaseViewModel, PopupDropdownViewModel, PopupModalViewModel, createPopupViewModel, createPopupModalViewModel, DropdownListModel, DropdownMultiSelectListModel, QuestionButtonGroupModel, ButtonGroupItemModel, ButtonGroupItemValue, IsMobile, IsTouch, _setIsTouch, confirmAction, confirmActionAsync, detectIEOrEdge, doKey2ClickUp, doKey2ClickDown, doKey2ClickBlur, loadFileFromBase64, increaseHeightByContent, createSvg, sanitizeEditableContent, CssClassBuilder, surveyCss, defaultV2Css, defaultV2ThemeName, DragDropCore, DragDropChoices, DragDropRankingSelectToRank */
9093
9108
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
9094
9109
 
9095
9110
  "use strict";
@@ -9098,6 +9113,7 @@ __webpack_require__.r(__webpack_exports__);
9098
9113
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ReleaseDate", function() { return ReleaseDate; });
9099
9114
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "checkLibraryVersion", function() { return checkLibraryVersion; });
9100
9115
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "setLicenseKey", function() { return setLicenseKey; });
9116
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "slk", function() { return slk; });
9101
9117
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "hasLicense", function() { return hasLicense; });
9102
9118
  /* harmony import */ var _settings__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../settings */ "./src/settings.ts");
9103
9119
  /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "settings", function() { return _settings__WEBPACK_IMPORTED_MODULE_0__["settings"]; });
@@ -9565,8 +9581,8 @@ __webpack_require__.r(__webpack_exports__);
9565
9581
  //import "../../modern.scss";
9566
9582
  var Version;
9567
9583
  var ReleaseDate;
9568
- Version = "" + "1.9.112";
9569
- ReleaseDate = "" + "2023-10-10";
9584
+ Version = "" + "1.9.113";
9585
+ ReleaseDate = "" + "2023-10-17";
9570
9586
  function checkLibraryVersion(ver, libraryName) {
9571
9587
  if (Version != ver) {
9572
9588
  var str = "survey-core has version '" + Version + "' and " + libraryName
@@ -9576,13 +9592,16 @@ function checkLibraryVersion(ver, libraryName) {
9576
9592
  }
9577
9593
  }
9578
9594
  function setLicenseKey(key) {
9579
- slk(key, lic, ReleaseDate);
9595
+ slk(key);
9596
+ }
9597
+ function slk(key) {
9598
+ _slk(key, lic, ReleaseDate);
9580
9599
  }
9581
9600
  function hasLicense(index) {
9582
9601
  return lic[index.toString()] === true;
9583
9602
  }
9584
9603
  var lic = {};
9585
- function slk(k, lh, rd) {
9604
+ function _slk(k, lh, rd) {
9586
9605
  if (!k)
9587
9606
  return;
9588
9607
  var en = function (s) {
@@ -9715,7 +9734,7 @@ function slk(k, lh, rd) {
9715
9734
  /*!**************************************!*\
9716
9735
  !*** ./src/entries/core-wo-model.ts ***!
9717
9736
  \**************************************/
9718
- /*! exports provided: Version, ReleaseDate, checkLibraryVersion, setLicenseKey, hasLicense, settings, Helpers, AnswerCountValidator, EmailValidator, NumericValidator, RegexValidator, SurveyValidator, TextValidator, ValidatorResult, ExpressionValidator, ValidatorRunner, ItemValue, Base, Event, EventBase, ArrayChanges, ComputedUpdater, SurveyError, SurveyElementCore, SurveyElement, DragTypeOverMeEnum, CalculatedValue, CustomError, AnswerRequiredError, OneAnswerRequiredError, RequreNumericError, ExceedSizeError, LocalizableString, LocalizableStrings, HtmlConditionItem, UrlConditionItem, ChoicesRestful, ChoicesRestfull, FunctionFactory, registerFunction, ConditionRunner, ExpressionRunner, ExpressionExecutor, Operand, Const, BinaryOperand, Variable, FunctionOperand, ArrayOperand, UnaryOperand, ConditionsParser, ProcessValue, JsonError, JsonIncorrectTypeError, JsonMetadata, JsonMetadataClass, JsonMissingTypeError, JsonMissingTypeErrorBase, JsonObject, JsonObjectProperty, JsonRequiredPropertyError, JsonUnknownPropertyError, Serializer, property, propertyArray, MatrixDropdownCell, MatrixDropdownRowModelBase, QuestionMatrixDropdownModelBase, MatrixDropdownColumn, matrixDropdownColumnTypes, QuestionMatrixDropdownRenderedCell, QuestionMatrixDropdownRenderedRow, QuestionMatrixDropdownRenderedTable, MatrixDropdownRowModel, QuestionMatrixDropdownModel, MatrixDynamicRowModel, QuestionMatrixDynamicModel, MatrixRowModel, MatrixCells, QuestionMatrixModel, QuestionMatrixBaseModel, MultipleTextItemModel, MultipleTextCell, MultipleTextErrorCell, MutlipleTextErrorRow, MutlipleTextRow, QuestionMultipleTextModel, MultipleTextEditorModel, PanelModel, PanelModelBase, QuestionRowModel, FlowPanelModel, PageModel, DefaultTitleModel, Question, QuestionNonValue, QuestionEmptyModel, QuestionCheckboxBase, QuestionSelectBase, QuestionCheckboxModel, QuestionTagboxModel, QuestionRankingModel, QuestionCommentModel, QuestionDropdownModel, QuestionFactory, ElementFactory, QuestionFileModel, QuestionHtmlModel, QuestionRadiogroupModel, QuestionRatingModel, RenderedRatingItem, QuestionExpressionModel, QuestionTextBase, CharacterCounter, QuestionTextModel, QuestionBooleanModel, QuestionImagePickerModel, ImageItemValue, QuestionImageModel, QuestionSignaturePadModel, QuestionPanelDynamicModel, QuestionPanelDynamicItem, SurveyTimer, SurveyTimerModel, tryNavigateToPage, tryFocusPage, createTOCListModel, getTocRootCss, TOCModel, SurveyProgressModel, SurveyProgressButtonsModel, SurveyModel, SurveyTrigger, SurveyTriggerComplete, SurveyTriggerSetValue, SurveyTriggerVisible, SurveyTriggerCopyValue, SurveyTriggerRunExpression, SurveyTriggerSkip, Trigger, PopupSurveyModel, SurveyWindowModel, TextPreProcessor, Notifier, Cover, CoverCell, dxSurveyService, englishStrings, surveyLocalization, surveyStrings, QuestionCustomWidget, CustomWidgetCollection, QuestionCustomModel, QuestionCompositeModel, ComponentQuestionJSON, ComponentCollection, StylesManager, ListModel, MultiSelectListModel, PopupModel, createDialogOptions, PopupBaseViewModel, PopupDropdownViewModel, PopupModalViewModel, createPopupViewModel, createPopupModalViewModel, DropdownListModel, DropdownMultiSelectListModel, QuestionButtonGroupModel, ButtonGroupItemModel, ButtonGroupItemValue, IsMobile, IsTouch, _setIsTouch, confirmAction, confirmActionAsync, detectIEOrEdge, doKey2ClickUp, doKey2ClickDown, doKey2ClickBlur, loadFileFromBase64, increaseHeightByContent, createSvg, sanitizeEditableContent, CssClassBuilder, surveyCss, defaultV2Css, defaultV2ThemeName, DragDropCore, DragDropChoices, DragDropRankingSelectToRank, defaultStandardCss, modernCss, SvgIconRegistry, SvgRegistry, SvgBundleViewModel, RendererFactory, ResponsivityManager, VerticalResponsivityManager, unwrap, getOriginalEvent, getElement, createDropdownActionModel, createDropdownActionModelAdvanced, getActionDropdownButtonTarget, BaseAction, Action, ActionDropdownViewModel, AdaptiveActionContainer, defaultActionBarCss, ActionContainer, DragOrClickHelper */
9737
+ /*! exports provided: Version, ReleaseDate, checkLibraryVersion, setLicenseKey, slk, hasLicense, settings, Helpers, AnswerCountValidator, EmailValidator, NumericValidator, RegexValidator, SurveyValidator, TextValidator, ValidatorResult, ExpressionValidator, ValidatorRunner, ItemValue, Base, Event, EventBase, ArrayChanges, ComputedUpdater, SurveyError, SurveyElementCore, SurveyElement, DragTypeOverMeEnum, CalculatedValue, CustomError, AnswerRequiredError, OneAnswerRequiredError, RequreNumericError, ExceedSizeError, LocalizableString, LocalizableStrings, HtmlConditionItem, UrlConditionItem, ChoicesRestful, ChoicesRestfull, FunctionFactory, registerFunction, ConditionRunner, ExpressionRunner, ExpressionExecutor, Operand, Const, BinaryOperand, Variable, FunctionOperand, ArrayOperand, UnaryOperand, ConditionsParser, ProcessValue, JsonError, JsonIncorrectTypeError, JsonMetadata, JsonMetadataClass, JsonMissingTypeError, JsonMissingTypeErrorBase, JsonObject, JsonObjectProperty, JsonRequiredPropertyError, JsonUnknownPropertyError, Serializer, property, propertyArray, MatrixDropdownCell, MatrixDropdownRowModelBase, QuestionMatrixDropdownModelBase, MatrixDropdownColumn, matrixDropdownColumnTypes, QuestionMatrixDropdownRenderedCell, QuestionMatrixDropdownRenderedRow, QuestionMatrixDropdownRenderedTable, MatrixDropdownRowModel, QuestionMatrixDropdownModel, MatrixDynamicRowModel, QuestionMatrixDynamicModel, MatrixRowModel, MatrixCells, QuestionMatrixModel, QuestionMatrixBaseModel, MultipleTextItemModel, MultipleTextCell, MultipleTextErrorCell, MutlipleTextErrorRow, MutlipleTextRow, QuestionMultipleTextModel, MultipleTextEditorModel, PanelModel, PanelModelBase, QuestionRowModel, FlowPanelModel, PageModel, DefaultTitleModel, Question, QuestionNonValue, QuestionEmptyModel, QuestionCheckboxBase, QuestionSelectBase, QuestionCheckboxModel, QuestionTagboxModel, QuestionRankingModel, QuestionCommentModel, QuestionDropdownModel, QuestionFactory, ElementFactory, QuestionFileModel, QuestionHtmlModel, QuestionRadiogroupModel, QuestionRatingModel, RenderedRatingItem, QuestionExpressionModel, QuestionTextBase, CharacterCounter, QuestionTextModel, QuestionBooleanModel, QuestionImagePickerModel, ImageItemValue, QuestionImageModel, QuestionSignaturePadModel, QuestionPanelDynamicModel, QuestionPanelDynamicItem, SurveyTimer, SurveyTimerModel, tryNavigateToPage, tryFocusPage, createTOCListModel, getTocRootCss, TOCModel, SurveyProgressModel, SurveyProgressButtonsModel, SurveyModel, SurveyTrigger, SurveyTriggerComplete, SurveyTriggerSetValue, SurveyTriggerVisible, SurveyTriggerCopyValue, SurveyTriggerRunExpression, SurveyTriggerSkip, Trigger, PopupSurveyModel, SurveyWindowModel, TextPreProcessor, Notifier, Cover, CoverCell, dxSurveyService, englishStrings, surveyLocalization, surveyStrings, QuestionCustomWidget, CustomWidgetCollection, QuestionCustomModel, QuestionCompositeModel, ComponentQuestionJSON, ComponentCollection, StylesManager, ListModel, MultiSelectListModel, PopupModel, createDialogOptions, PopupBaseViewModel, PopupDropdownViewModel, PopupModalViewModel, createPopupViewModel, createPopupModalViewModel, DropdownListModel, DropdownMultiSelectListModel, QuestionButtonGroupModel, ButtonGroupItemModel, ButtonGroupItemValue, IsMobile, IsTouch, _setIsTouch, confirmAction, confirmActionAsync, detectIEOrEdge, doKey2ClickUp, doKey2ClickDown, doKey2ClickBlur, loadFileFromBase64, increaseHeightByContent, createSvg, sanitizeEditableContent, CssClassBuilder, surveyCss, defaultV2Css, defaultV2ThemeName, DragDropCore, DragDropChoices, DragDropRankingSelectToRank, defaultStandardCss, modernCss, SvgIconRegistry, SvgRegistry, SvgBundleViewModel, RendererFactory, ResponsivityManager, VerticalResponsivityManager, unwrap, getOriginalEvent, getElement, createDropdownActionModel, createDropdownActionModelAdvanced, getActionDropdownButtonTarget, BaseAction, Action, ActionDropdownViewModel, AdaptiveActionContainer, defaultActionBarCss, ActionContainer, DragOrClickHelper */
9719
9738
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
9720
9739
 
9721
9740
  "use strict";
@@ -9729,6 +9748,8 @@ __webpack_require__.r(__webpack_exports__);
9729
9748
 
9730
9749
  /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "setLicenseKey", function() { return _chunks_model__WEBPACK_IMPORTED_MODULE_0__["setLicenseKey"]; });
9731
9750
 
9751
+ /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "slk", function() { return _chunks_model__WEBPACK_IMPORTED_MODULE_0__["slk"]; });
9752
+
9732
9753
  /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "hasLicense", function() { return _chunks_model__WEBPACK_IMPORTED_MODULE_0__["hasLicense"]; });
9733
9754
 
9734
9755
  /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "settings", function() { return _chunks_model__WEBPACK_IMPORTED_MODULE_0__["settings"]; });
@@ -10178,7 +10199,7 @@ __webpack_require__.r(__webpack_exports__);
10178
10199
  /*!*****************************!*\
10179
10200
  !*** ./src/entries/core.ts ***!
10180
10201
  \*****************************/
10181
- /*! exports provided: Version, ReleaseDate, checkLibraryVersion, setLicenseKey, hasLicense, settings, Helpers, AnswerCountValidator, EmailValidator, NumericValidator, RegexValidator, SurveyValidator, TextValidator, ValidatorResult, ExpressionValidator, ValidatorRunner, ItemValue, Base, Event, EventBase, ArrayChanges, ComputedUpdater, SurveyError, SurveyElementCore, SurveyElement, DragTypeOverMeEnum, CalculatedValue, CustomError, AnswerRequiredError, OneAnswerRequiredError, RequreNumericError, ExceedSizeError, LocalizableString, LocalizableStrings, HtmlConditionItem, UrlConditionItem, ChoicesRestful, ChoicesRestfull, FunctionFactory, registerFunction, ConditionRunner, ExpressionRunner, ExpressionExecutor, Operand, Const, BinaryOperand, Variable, FunctionOperand, ArrayOperand, UnaryOperand, ConditionsParser, ProcessValue, JsonError, JsonIncorrectTypeError, JsonMetadata, JsonMetadataClass, JsonMissingTypeError, JsonMissingTypeErrorBase, JsonObject, JsonObjectProperty, JsonRequiredPropertyError, JsonUnknownPropertyError, Serializer, property, propertyArray, MatrixDropdownCell, MatrixDropdownRowModelBase, QuestionMatrixDropdownModelBase, MatrixDropdownColumn, matrixDropdownColumnTypes, QuestionMatrixDropdownRenderedCell, QuestionMatrixDropdownRenderedRow, QuestionMatrixDropdownRenderedTable, MatrixDropdownRowModel, QuestionMatrixDropdownModel, MatrixDynamicRowModel, QuestionMatrixDynamicModel, MatrixRowModel, MatrixCells, QuestionMatrixModel, QuestionMatrixBaseModel, MultipleTextItemModel, MultipleTextCell, MultipleTextErrorCell, MutlipleTextErrorRow, MutlipleTextRow, QuestionMultipleTextModel, MultipleTextEditorModel, PanelModel, PanelModelBase, QuestionRowModel, FlowPanelModel, PageModel, DefaultTitleModel, Question, QuestionNonValue, QuestionEmptyModel, QuestionCheckboxBase, QuestionSelectBase, QuestionCheckboxModel, QuestionTagboxModel, QuestionRankingModel, QuestionCommentModel, QuestionDropdownModel, QuestionFactory, ElementFactory, QuestionFileModel, QuestionHtmlModel, QuestionRadiogroupModel, QuestionRatingModel, RenderedRatingItem, QuestionExpressionModel, QuestionTextBase, CharacterCounter, QuestionTextModel, QuestionBooleanModel, QuestionImagePickerModel, ImageItemValue, QuestionImageModel, QuestionSignaturePadModel, QuestionPanelDynamicModel, QuestionPanelDynamicItem, SurveyTimer, SurveyTimerModel, tryNavigateToPage, tryFocusPage, createTOCListModel, getTocRootCss, TOCModel, SurveyProgressModel, SurveyProgressButtonsModel, SurveyModel, SurveyTrigger, SurveyTriggerComplete, SurveyTriggerSetValue, SurveyTriggerVisible, SurveyTriggerCopyValue, SurveyTriggerRunExpression, SurveyTriggerSkip, Trigger, PopupSurveyModel, SurveyWindowModel, TextPreProcessor, Notifier, Cover, CoverCell, dxSurveyService, englishStrings, surveyLocalization, surveyStrings, QuestionCustomWidget, CustomWidgetCollection, QuestionCustomModel, QuestionCompositeModel, ComponentQuestionJSON, ComponentCollection, StylesManager, ListModel, MultiSelectListModel, PopupModel, createDialogOptions, PopupBaseViewModel, PopupDropdownViewModel, PopupModalViewModel, createPopupViewModel, createPopupModalViewModel, DropdownListModel, DropdownMultiSelectListModel, QuestionButtonGroupModel, ButtonGroupItemModel, ButtonGroupItemValue, IsMobile, IsTouch, _setIsTouch, confirmAction, confirmActionAsync, detectIEOrEdge, doKey2ClickUp, doKey2ClickDown, doKey2ClickBlur, loadFileFromBase64, increaseHeightByContent, createSvg, sanitizeEditableContent, CssClassBuilder, surveyCss, defaultV2Css, defaultV2ThemeName, DragDropCore, DragDropChoices, DragDropRankingSelectToRank, defaultStandardCss, modernCss, SvgIconRegistry, SvgRegistry, SvgBundleViewModel, RendererFactory, ResponsivityManager, VerticalResponsivityManager, unwrap, getOriginalEvent, getElement, createDropdownActionModel, createDropdownActionModelAdvanced, getActionDropdownButtonTarget, BaseAction, Action, ActionDropdownViewModel, AdaptiveActionContainer, defaultActionBarCss, ActionContainer, DragOrClickHelper, Model */
10202
+ /*! exports provided: Version, ReleaseDate, checkLibraryVersion, setLicenseKey, slk, hasLicense, settings, Helpers, AnswerCountValidator, EmailValidator, NumericValidator, RegexValidator, SurveyValidator, TextValidator, ValidatorResult, ExpressionValidator, ValidatorRunner, ItemValue, Base, Event, EventBase, ArrayChanges, ComputedUpdater, SurveyError, SurveyElementCore, SurveyElement, DragTypeOverMeEnum, CalculatedValue, CustomError, AnswerRequiredError, OneAnswerRequiredError, RequreNumericError, ExceedSizeError, LocalizableString, LocalizableStrings, HtmlConditionItem, UrlConditionItem, ChoicesRestful, ChoicesRestfull, FunctionFactory, registerFunction, ConditionRunner, ExpressionRunner, ExpressionExecutor, Operand, Const, BinaryOperand, Variable, FunctionOperand, ArrayOperand, UnaryOperand, ConditionsParser, ProcessValue, JsonError, JsonIncorrectTypeError, JsonMetadata, JsonMetadataClass, JsonMissingTypeError, JsonMissingTypeErrorBase, JsonObject, JsonObjectProperty, JsonRequiredPropertyError, JsonUnknownPropertyError, Serializer, property, propertyArray, MatrixDropdownCell, MatrixDropdownRowModelBase, QuestionMatrixDropdownModelBase, MatrixDropdownColumn, matrixDropdownColumnTypes, QuestionMatrixDropdownRenderedCell, QuestionMatrixDropdownRenderedRow, QuestionMatrixDropdownRenderedTable, MatrixDropdownRowModel, QuestionMatrixDropdownModel, MatrixDynamicRowModel, QuestionMatrixDynamicModel, MatrixRowModel, MatrixCells, QuestionMatrixModel, QuestionMatrixBaseModel, MultipleTextItemModel, MultipleTextCell, MultipleTextErrorCell, MutlipleTextErrorRow, MutlipleTextRow, QuestionMultipleTextModel, MultipleTextEditorModel, PanelModel, PanelModelBase, QuestionRowModel, FlowPanelModel, PageModel, DefaultTitleModel, Question, QuestionNonValue, QuestionEmptyModel, QuestionCheckboxBase, QuestionSelectBase, QuestionCheckboxModel, QuestionTagboxModel, QuestionRankingModel, QuestionCommentModel, QuestionDropdownModel, QuestionFactory, ElementFactory, QuestionFileModel, QuestionHtmlModel, QuestionRadiogroupModel, QuestionRatingModel, RenderedRatingItem, QuestionExpressionModel, QuestionTextBase, CharacterCounter, QuestionTextModel, QuestionBooleanModel, QuestionImagePickerModel, ImageItemValue, QuestionImageModel, QuestionSignaturePadModel, QuestionPanelDynamicModel, QuestionPanelDynamicItem, SurveyTimer, SurveyTimerModel, tryNavigateToPage, tryFocusPage, createTOCListModel, getTocRootCss, TOCModel, SurveyProgressModel, SurveyProgressButtonsModel, SurveyModel, SurveyTrigger, SurveyTriggerComplete, SurveyTriggerSetValue, SurveyTriggerVisible, SurveyTriggerCopyValue, SurveyTriggerRunExpression, SurveyTriggerSkip, Trigger, PopupSurveyModel, SurveyWindowModel, TextPreProcessor, Notifier, Cover, CoverCell, dxSurveyService, englishStrings, surveyLocalization, surveyStrings, QuestionCustomWidget, CustomWidgetCollection, QuestionCustomModel, QuestionCompositeModel, ComponentQuestionJSON, ComponentCollection, StylesManager, ListModel, MultiSelectListModel, PopupModel, createDialogOptions, PopupBaseViewModel, PopupDropdownViewModel, PopupModalViewModel, createPopupViewModel, createPopupModalViewModel, DropdownListModel, DropdownMultiSelectListModel, QuestionButtonGroupModel, ButtonGroupItemModel, ButtonGroupItemValue, IsMobile, IsTouch, _setIsTouch, confirmAction, confirmActionAsync, detectIEOrEdge, doKey2ClickUp, doKey2ClickDown, doKey2ClickBlur, loadFileFromBase64, increaseHeightByContent, createSvg, sanitizeEditableContent, CssClassBuilder, surveyCss, defaultV2Css, defaultV2ThemeName, DragDropCore, DragDropChoices, DragDropRankingSelectToRank, defaultStandardCss, modernCss, SvgIconRegistry, SvgRegistry, SvgBundleViewModel, RendererFactory, ResponsivityManager, VerticalResponsivityManager, unwrap, getOriginalEvent, getElement, createDropdownActionModel, createDropdownActionModelAdvanced, getActionDropdownButtonTarget, BaseAction, Action, ActionDropdownViewModel, AdaptiveActionContainer, defaultActionBarCss, ActionContainer, DragOrClickHelper, Model */
10182
10203
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
10183
10204
 
10184
10205
  "use strict";
@@ -10192,6 +10213,8 @@ __webpack_require__.r(__webpack_exports__);
10192
10213
 
10193
10214
  /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "setLicenseKey", function() { return _core_wo_model__WEBPACK_IMPORTED_MODULE_0__["setLicenseKey"]; });
10194
10215
 
10216
+ /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "slk", function() { return _core_wo_model__WEBPACK_IMPORTED_MODULE_0__["slk"]; });
10217
+
10195
10218
  /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "hasLicense", function() { return _core_wo_model__WEBPACK_IMPORTED_MODULE_0__["hasLicense"]; });
10196
10219
 
10197
10220
  /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "settings", function() { return _core_wo_model__WEBPACK_IMPORTED_MODULE_0__["settings"]; });
@@ -17391,14 +17414,17 @@ var JsonObjectProperty = /** @class */ (function () {
17391
17414
  enumerable: false,
17392
17415
  configurable: true
17393
17416
  });
17417
+ JsonObjectProperty.prototype.getDefaultValue = function (obj) {
17418
+ var result = !!this.defaultValueFunc ? this.defaultValueFunc(obj) : this.defaultValueValue;
17419
+ if (!!JsonObjectProperty.getItemValuesDefaultValue &&
17420
+ JsonObject.metaData.isDescendantOf(this.className, "itemvalue")) {
17421
+ result = JsonObjectProperty.getItemValuesDefaultValue(this.defaultValueValue || [], this.className);
17422
+ }
17423
+ return result;
17424
+ };
17394
17425
  Object.defineProperty(JsonObjectProperty.prototype, "defaultValue", {
17395
17426
  get: function () {
17396
- var result = !!this.defaultValueFunc ? this.defaultValueFunc() : this.defaultValueValue;
17397
- if (!!JsonObjectProperty.getItemValuesDefaultValue &&
17398
- JsonObject.metaData.isDescendantOf(this.className, "itemvalue")) {
17399
- result = JsonObjectProperty.getItemValuesDefaultValue(this.defaultValueValue || [], this.className);
17400
- }
17401
- return result;
17427
+ return this.getDefaultValue(undefined);
17402
17428
  },
17403
17429
  set: function (newValue) {
17404
17430
  this.defaultValueValue = newValue;
@@ -17407,8 +17433,12 @@ var JsonObjectProperty = /** @class */ (function () {
17407
17433
  configurable: true
17408
17434
  });
17409
17435
  JsonObjectProperty.prototype.isDefaultValue = function (value) {
17410
- if (!_helpers__WEBPACK_IMPORTED_MODULE_2__["Helpers"].isValueEmpty(this.defaultValue)) {
17411
- return _helpers__WEBPACK_IMPORTED_MODULE_2__["Helpers"].isTwoValueEquals(value, this.defaultValue, false, true, false);
17436
+ return this.isDefaultValueByObj(undefined, value);
17437
+ };
17438
+ JsonObjectProperty.prototype.isDefaultValueByObj = function (obj, value) {
17439
+ var dValue = this.getDefaultValue(obj);
17440
+ if (!_helpers__WEBPACK_IMPORTED_MODULE_2__["Helpers"].isValueEmpty(dValue)) {
17441
+ return _helpers__WEBPACK_IMPORTED_MODULE_2__["Helpers"].isTwoValueEquals(value, dValue, false, true, false);
17412
17442
  }
17413
17443
  if (this.isLocalizable)
17414
17444
  return value === null || value === undefined;
@@ -18774,7 +18804,7 @@ var JsonObject = /** @class */ (function () {
18774
18804
  (property.isLightSerializable === false && this.lightSerializing))
18775
18805
  return;
18776
18806
  var value = property.getValue(obj);
18777
- if (!storeDefaults && property.isDefaultValue(value))
18807
+ if (!storeDefaults && property.isDefaultValueByObj(obj, value))
18778
18808
  return;
18779
18809
  if (this.isValueArray(value)) {
18780
18810
  var arrValue = [];
@@ -18788,7 +18818,7 @@ var JsonObject = /** @class */ (function () {
18788
18818
  }
18789
18819
  var hasValue = typeof obj["getPropertyValue"] === "function" &&
18790
18820
  obj["getPropertyValue"](property.name, null) !== null;
18791
- if ((storeDefaults && hasValue) || !property.isDefaultValue(value)) {
18821
+ if ((storeDefaults && hasValue) || !property.isDefaultValueByObj(obj, value)) {
18792
18822
  if (!Serializer.onSerializingProperty || !Serializer.onSerializingProperty(obj, property, value, result)) {
18793
18823
  result[property.name] = value;
18794
18824
  }
@@ -20790,7 +20820,7 @@ var PageModel = /** @class */ (function (_super) {
20790
20820
  };
20791
20821
  Object.defineProperty(PageModel.prototype, "navigationTitle", {
20792
20822
  /**
20793
- * A caption displayed on a navigation button in the TOC or progress bar. Applies when [`showTOC`](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#showTOC) is `true` or when [`showProgressBar`](https://surveyjs.io/form-library/documentation/surveymodel#showProgressBar) is `true` and [`progressBarType`](https://surveyjs.io/form-library/documentation/surveymodel#progressBarType) is `"buttons"`.
20823
+ * A caption displayed on a navigation button in the TOC or progress bar. Applies when [`showTOC`](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#showTOC) is `true` or when the [progress bar is visible](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#showProgressBar) and [`progressBarType`](https://surveyjs.io/form-library/documentation/surveymodel#progressBarType) is set to `"buttons"`.
20794
20824
  *
20795
20825
  * If navigation titles are unspecified, the navigation buttons display page [titles](https://surveyjs.io/form-library/documentation/api-reference/page-model#title) or [names](https://surveyjs.io/form-library/documentation/pagemodel#name).
20796
20826
  */
@@ -20811,6 +20841,9 @@ var PageModel = /** @class */ (function (_super) {
20811
20841
  configurable: true
20812
20842
  });
20813
20843
  Object.defineProperty(PageModel.prototype, "navigationDescription", {
20844
+ /**
20845
+ * Explanatory text displayed under a navigation button in the progress bar. Applies when the [progress bar is visible](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#showProgressBar) and `SurveyModel`'s [`progressBarType`](https://surveyjs.io/form-library/documentation/surveymodel#progressBarType) property is set to `"buttons"`.
20846
+ */
20814
20847
  get: function () {
20815
20848
  return this.getLocalizableStringText("navigationDescription");
20816
20849
  },
@@ -23454,6 +23487,7 @@ var PopupDropdownViewModel = /** @class */ (function (_super) {
23454
23487
  PopupDropdownViewModel.prototype.getStyleClass = function () {
23455
23488
  return _super.prototype.getStyleClass.call(this)
23456
23489
  .append("sv-popup--dropdown", !this.isOverlay)
23490
+ .append("sv-popup--dropdown-overlay", this.isOverlay && this.model.overlayDisplayMode !== "overlay")
23457
23491
  .append("sv-popup--tablet", this.isTablet && this.isOverlay)
23458
23492
  .append("sv-popup--show-pointer", !this.isOverlay && this.showHeader)
23459
23493
  .append("sv-popup--" + this.popupDirection, !this.isOverlay && this.showHeader);
@@ -24596,6 +24630,9 @@ var PopupModel = /** @class */ (function (_super) {
24596
24630
  __decorate([
24597
24631
  Object(_jsonobject__WEBPACK_IMPORTED_MODULE_1__["property"])({ defaultValue: "" })
24598
24632
  ], PopupModel.prototype, "title", void 0);
24633
+ __decorate([
24634
+ Object(_jsonobject__WEBPACK_IMPORTED_MODULE_1__["property"])({ defaultValue: "auto" })
24635
+ ], PopupModel.prototype, "overlayDisplayMode", void 0);
24599
24636
  __decorate([
24600
24637
  Object(_jsonobject__WEBPACK_IMPORTED_MODULE_1__["property"])({ defaultValue: "popup" })
24601
24638
  ], PopupModel.prototype, "displayMode", void 0);
@@ -24778,6 +24815,7 @@ var Question = /** @class */ (function (_super) {
24778
24815
  Question.prototype.setIsMobile = function (val) {
24779
24816
  this.isMobile = val && (this.allowMobileInDesignMode() || !this.isDesignMode);
24780
24817
  };
24818
+ Question.prototype.themeChanged = function (theme) { };
24781
24819
  Question.prototype.createLocTitleProperty = function () {
24782
24820
  var _this = this;
24783
24821
  var locTitleValue = _super.prototype.createLocTitleProperty.call(this);
@@ -25771,13 +25809,19 @@ var Question = /** @class */ (function (_super) {
25771
25809
  this.setPropertyValue("cssRoot", val);
25772
25810
  };
25773
25811
  Question.prototype.getCssRoot = function (cssClasses) {
25812
+ var hasError = this.errors.length > 0;
25774
25813
  return new _utils_cssClassBuilder__WEBPACK_IMPORTED_MODULE_10__["CssClassBuilder"]()
25775
25814
  .append(_super.prototype.getCssRoot.call(this, cssClasses))
25776
25815
  .append(this.isFlowLayout && !this.isDesignMode
25777
25816
  ? cssClasses.flowRoot
25778
25817
  : cssClasses.mainRoot)
25779
25818
  .append(cssClasses.titleLeftRoot, !this.isFlowLayout && this.hasTitleOnLeft)
25780
- .append(cssClasses.hasError, this.errors.length > 0)
25819
+ .append(cssClasses.titleTopRoot, !this.isFlowLayout && this.hasTitleOnTop)
25820
+ .append(cssClasses.titleBottomRoot, !this.isFlowLayout && this.hasTitleOnBottom)
25821
+ .append(cssClasses.descriptionUnderInputRoot, !this.isFlowLayout && this.hasDescriptionUnderInput)
25822
+ .append(cssClasses.hasError, hasError)
25823
+ .append(cssClasses.hasErrorTop, hasError && this.getErrorLocation() == "top")
25824
+ .append(cssClasses.hasErrorBottom, hasError && this.getErrorLocation() == "bottom")
25781
25825
  .append(cssClasses.small, !this.width)
25782
25826
  .append(cssClasses.answered, this.isAnswered)
25783
25827
  .toString();
@@ -28407,8 +28451,6 @@ var QuestionSelectBase = /** @class */ (function (_super) {
28407
28451
  };
28408
28452
  QuestionSelectBase.prototype.runCondition = function (values, properties) {
28409
28453
  _super.prototype.runCondition.call(this, values, properties);
28410
- if (this.isUsingCarryForward)
28411
- return;
28412
28454
  this.runItemsEnableCondition(values, properties);
28413
28455
  this.runItemsCondition(values, properties);
28414
28456
  };
@@ -30138,13 +30180,7 @@ _jsonobject__WEBPACK_IMPORTED_MODULE_0__["Serializer"].addClass("selectbase", [
30138
30180
  },
30139
30181
  },
30140
30182
  "hideIfChoicesEmpty:boolean",
30141
- {
30142
- name: "choicesVisibleIf:condition",
30143
- dependsOn: "choicesFromQuestion",
30144
- visibleIf: function (obj) {
30145
- return !obj.choicesFromQuestion;
30146
- },
30147
- },
30183
+ "choicesVisibleIf:condition",
30148
30184
  {
30149
30185
  name: "choicesEnableIf:condition",
30150
30186
  dependsOn: "choicesFromQuestion",
@@ -32775,6 +32811,13 @@ var QuestionDropdownModel = /** @class */ (function (_super) {
32775
32811
  enumerable: false,
32776
32812
  configurable: true
32777
32813
  });
32814
+ Object.defineProperty(QuestionDropdownModel.prototype, "showClearButton", {
32815
+ get: function () {
32816
+ return this.allowClear && !this.isEmpty() && (!this.isDesignMode || _settings__WEBPACK_IMPORTED_MODULE_5__["settings"].supportCreatorV2);
32817
+ },
32818
+ enumerable: false,
32819
+ configurable: true
32820
+ });
32778
32821
  Object.defineProperty(QuestionDropdownModel.prototype, "optionsCaption", {
32779
32822
  get: function () {
32780
32823
  return this.placeholder;
@@ -42012,7 +42055,7 @@ var QuestionMatrixDynamicModel = /** @class */ (function (_super) {
42012
42055
  };
42013
42056
  Object.defineProperty(QuestionMatrixDynamicModel.prototype, "allowRowsDragAndDrop", {
42014
42057
  /**
42015
- * Specifies whether users can drag and drop matrix rows to reorder them.
42058
+ * Specifies whether users can drag and drop matrix rows to reorder them. Applies only if [`columnLayout`](#columnLayout) is `"horizontal"`.
42016
42059
  *
42017
42060
  * Default value: `false`
42018
42061
  */
@@ -43116,6 +43159,32 @@ var MultipleTextItemModel = /** @class */ (function (_super) {
43116
43159
  enumerable: false,
43117
43160
  configurable: true
43118
43161
  });
43162
+ Object.defineProperty(MultipleTextItemModel.prototype, "minValueExpression", {
43163
+ /**
43164
+ * The minimum value specified as an expression. For example, `"minValueExpression": "today(-1)"` sets the minimum value to yesterday.
43165
+ */
43166
+ get: function () {
43167
+ return this.editor.minValueExpression;
43168
+ },
43169
+ set: function (val) {
43170
+ this.editor.minValueExpression = val;
43171
+ },
43172
+ enumerable: false,
43173
+ configurable: true
43174
+ });
43175
+ Object.defineProperty(MultipleTextItemModel.prototype, "maxValueExpression", {
43176
+ /**
43177
+ * The maximum value specified as an expression. For example, `"maxValueExpression": "today(1)"` sets the maximum value to tomorrow.
43178
+ */
43179
+ get: function () {
43180
+ return this.editor.maxValueExpression;
43181
+ },
43182
+ set: function (val) {
43183
+ this.editor.maxValueExpression = val;
43184
+ },
43185
+ enumerable: false,
43186
+ configurable: true
43187
+ });
43119
43188
  Object.defineProperty(MultipleTextItemModel.prototype, "validators", {
43120
43189
  /**
43121
43190
  * The list of question validators.
@@ -43804,6 +43873,22 @@ _jsonobject__WEBPACK_IMPORTED_MODULE_4__["Serializer"].addClass("multipletextite
43804
43873
  name: "requiredErrorText:text",
43805
43874
  serializationProperty: "locRequiredErrorText",
43806
43875
  },
43876
+ {
43877
+ name: "minValueExpression:expression",
43878
+ category: "logic",
43879
+ dependsOn: "inputType",
43880
+ visibleIf: function (obj) {
43881
+ return Object(_question_text__WEBPACK_IMPORTED_MODULE_3__["isMinMaxType"])(obj);
43882
+ },
43883
+ },
43884
+ {
43885
+ name: "maxValueExpression:expression",
43886
+ category: "logic",
43887
+ dependsOn: "inputType",
43888
+ visibleIf: function (obj) {
43889
+ return Object(_question_text__WEBPACK_IMPORTED_MODULE_3__["isMinMaxType"])(obj);
43890
+ },
43891
+ },
43807
43892
  {
43808
43893
  name: "validators:validators",
43809
43894
  baseClassName: "surveyvalidator",
@@ -44778,6 +44863,14 @@ var QuestionPanelDynamicModel = /** @class */ (function (_super) {
44778
44863
  question.setIsMobile(val);
44779
44864
  }); });
44780
44865
  };
44866
+ QuestionPanelDynamicModel.prototype.themeChanged = function (theme) {
44867
+ _super.prototype.themeChanged.call(this, theme);
44868
+ (this.panels || []).forEach(function (panel) {
44869
+ return panel.getQuestions(true).forEach(function (question) {
44870
+ question.themeChanged(theme);
44871
+ });
44872
+ });
44873
+ };
44781
44874
  Object.defineProperty(QuestionPanelDynamicModel.prototype, "panelCount", {
44782
44875
  /**
44783
44876
  * The number of panels in Dynamic Panel.
@@ -46781,31 +46874,23 @@ var QuestionRankingModel = /** @class */ (function (_super) {
46781
46874
  return;
46782
46875
  }
46783
46876
  if (key === "ArrowUp" && index) {
46784
- _this.handleArrowUp(index, choice);
46877
+ _this.handleArrowKeys(index, choice, false);
46785
46878
  event.preventDefault();
46786
46879
  }
46787
46880
  if (key === "ArrowDown" && index !== _this.rankingChoices.length - 1) {
46788
- _this.handleArrowDown(index, choice);
46881
+ _this.handleArrowKeys(index, choice, true);
46789
46882
  event.preventDefault();
46790
46883
  }
46791
46884
  }
46792
46885
  };
46793
- _this.handleArrowUp = function (index, choice) {
46886
+ _this.handleArrowKeys = function (index, choice, isDown) {
46887
+ var delta = isDown ? 1 : -1;
46794
46888
  var choices = _this.rankingChoices;
46795
46889
  choices.splice(index, 1);
46796
- choices.splice(index - 1, 0, choice);
46890
+ choices.splice(index + delta, 0, choice);
46797
46891
  _this.setValue();
46798
46892
  setTimeout(function () {
46799
- _this.focusItem(index - 1);
46800
- }, 1);
46801
- };
46802
- _this.handleArrowDown = function (index, choice) {
46803
- var choices = _this.rankingChoices;
46804
- choices.splice(index, 1);
46805
- choices.splice(index + 1, 0, choice);
46806
- _this.setValue();
46807
- setTimeout(function () {
46808
- _this.focusItem(index + 1);
46893
+ _this.focusItem(index + delta);
46809
46894
  }, 1);
46810
46895
  };
46811
46896
  _this.focusItem = function (index, container) {
@@ -47089,46 +47174,39 @@ var QuestionRankingModel = /** @class */ (function (_super) {
47089
47174
  QuestionRankingModel.prototype.handleKeydownSelectToRank = function (event, movedElement) {
47090
47175
  if (this.isDesignMode)
47091
47176
  return;
47092
- var dnd = this.dragDropRankingChoices; //????
47093
47177
  var key = event.key;
47178
+ if (key !== " " && key !== "ArrowUp" && key !== "ArrowDown")
47179
+ return;
47180
+ var dnd = this.dragDropRankingChoices; //????
47094
47181
  var rankingChoices = this.rankingChoices;
47095
- var unRankingChoices = this.unRankingChoices;
47096
47182
  var isMovedElementRanked = rankingChoices.indexOf(movedElement) !== -1;
47097
- var isMovedElementUnRanked = !isMovedElementRanked;
47098
- var fromIndex;
47183
+ var choices = isMovedElementRanked ? rankingChoices : this.unRankingChoices;
47184
+ var fromIndex = choices.indexOf(movedElement);
47185
+ if (fromIndex < 0)
47186
+ return;
47099
47187
  var toIndex;
47100
- if ((key === " " || key === "Enter") && isMovedElementUnRanked) {
47101
- fromIndex = unRankingChoices.indexOf(movedElement);
47188
+ if (key === " " && !isMovedElementRanked) {
47102
47189
  toIndex = 0;
47103
47190
  dnd.selectToRank(this, fromIndex, toIndex);
47104
47191
  this.setValueAfterKeydown(toIndex, "to-container");
47105
47192
  return;
47106
47193
  }
47107
- if ((key === " " || key === "Enter") && isMovedElementRanked) {
47108
- fromIndex = rankingChoices.indexOf(movedElement);
47194
+ if (!isMovedElementRanked)
47195
+ return;
47196
+ if (key === " ") {
47109
47197
  dnd.unselectFromRank(this, fromIndex);
47110
47198
  toIndex = this.unRankingChoices.indexOf(movedElement); //'this.' leads to actual array after the 'unselectFromRank' method
47111
47199
  this.setValueAfterKeydown(toIndex, "from-container");
47112
47200
  return;
47113
47201
  }
47114
- if (key === "ArrowUp" && isMovedElementRanked) {
47115
- fromIndex = rankingChoices.indexOf(movedElement);
47116
- toIndex = fromIndex - 1;
47117
- if (fromIndex < 0)
47118
- return;
47119
- dnd.reorderRankedItem(this, fromIndex, toIndex);
47120
- this.setValueAfterKeydown(toIndex, "to-container");
47202
+ var delta = key === "ArrowUp" ? -1 : (key === "ArrowDown" ? 1 : 0);
47203
+ if (delta === 0)
47121
47204
  return;
47122
- }
47123
- if (key === "ArrowDown" && isMovedElementRanked) {
47124
- fromIndex = rankingChoices.indexOf(movedElement);
47125
- toIndex = fromIndex + 1;
47126
- if (toIndex >= rankingChoices.length)
47127
- return;
47128
- dnd.reorderRankedItem(this, fromIndex, toIndex);
47129
- this.setValueAfterKeydown(toIndex, "to-container");
47205
+ toIndex = fromIndex + delta;
47206
+ if (toIndex < 0 || toIndex >= rankingChoices.length)
47130
47207
  return;
47131
- }
47208
+ dnd.reorderRankedItem(this, fromIndex, toIndex);
47209
+ this.setValueAfterKeydown(toIndex, "to-container");
47132
47210
  };
47133
47211
  QuestionRankingModel.prototype.setValueAfterKeydown = function (index, container) {
47134
47212
  var _this = this;
@@ -47836,13 +47914,24 @@ var QuestionRatingModel = /** @class */ (function (_super) {
47836
47914
  enumerable: false,
47837
47915
  configurable: true
47838
47916
  });
47839
- Object.defineProperty(QuestionRatingModel.prototype, "itemComponentName", {
47917
+ QuestionRatingModel.prototype.getDefaultItemComponent = function () {
47918
+ if (this.renderAs == "dropdown")
47919
+ return "";
47920
+ if (this.isStar)
47921
+ return "sv-rating-item-star";
47922
+ if (this.isSmiley)
47923
+ return "sv-rating-item-smiley";
47924
+ return "sv-rating-item";
47925
+ };
47926
+ Object.defineProperty(QuestionRatingModel.prototype, "itemComponent", {
47927
+ /**
47928
+ * The name of a component used to render items.
47929
+ */
47840
47930
  get: function () {
47841
- if (this.isStar)
47842
- return "sv-rating-item-star";
47843
- if (this.isSmiley)
47844
- return "sv-rating-item-smiley";
47845
- return "sv-rating-item";
47931
+ return this.getPropertyValue("itemComponent", this.getDefaultItemComponent());
47932
+ },
47933
+ set: function (value) {
47934
+ this.setPropertyValue("itemComponent", value);
47846
47935
  },
47847
47936
  enumerable: false,
47848
47937
  configurable: true
@@ -48177,17 +48266,16 @@ var QuestionRatingModel = /** @class */ (function (_super) {
48177
48266
  }
48178
48267
  return classes;
48179
48268
  };
48269
+ QuestionRatingModel.prototype.themeChanged = function (theme) {
48270
+ this.colorsCalculated = false;
48271
+ this.updateColors(theme.cssVariables);
48272
+ this.createRenderedRateItems();
48273
+ };
48180
48274
  QuestionRatingModel.prototype.setSurveyImpl = function (value, isLight) {
48181
- var _this = this;
48182
48275
  _super.prototype.setSurveyImpl.call(this, value, isLight);
48183
48276
  if (!this.survey)
48184
48277
  return;
48185
48278
  this.updateColors(this.survey.themeVariables);
48186
- this.survey.onThemeApplied.add(function (survey, options) {
48187
- _this.colorsCalculated = false;
48188
- _this.updateColors(options.theme.cssVariables);
48189
- _this.createRenderedRateItems();
48190
- });
48191
48279
  };
48192
48280
  QuestionRatingModel.prototype.dispose = function () {
48193
48281
  _super.prototype.dispose.call(this);
@@ -48366,7 +48454,14 @@ _jsonobject__WEBPACK_IMPORTED_MODULE_2__["Serializer"].addClass("rating", [
48366
48454
  default: "auto",
48367
48455
  choices: ["auto", "buttons", "dropdown"],
48368
48456
  visibleIndex: 20
48369
- }
48457
+ },
48458
+ { name: "itemComponent", visible: false, defaultFunc: function (obj) {
48459
+ if (!obj)
48460
+ return "sv-rating-item";
48461
+ if (!!obj.getOriginalObj)
48462
+ obj = obj.getOriginalObj();
48463
+ return obj.getDefaultItemComponent();
48464
+ } }
48370
48465
  ], function () {
48371
48466
  return new QuestionRatingModel("");
48372
48467
  }, "question");
@@ -48491,16 +48586,10 @@ var QuestionSignaturePadModel = /** @class */ (function (_super) {
48491
48586
  this.destroySignaturePad(el);
48492
48587
  }
48493
48588
  };
48494
- QuestionSignaturePadModel.prototype.setSurveyImpl = function (value, isLight) {
48495
- var _this = this;
48496
- _super.prototype.setSurveyImpl.call(this, value, isLight);
48497
- if (!this.survey)
48498
- return;
48499
- this.survey.onThemeApplied.add(function (survey, options) {
48500
- if (!!_this.signaturePad) {
48501
- _this.updateColors(_this.signaturePad);
48502
- }
48503
- });
48589
+ QuestionSignaturePadModel.prototype.themeChanged = function (theme) {
48590
+ if (!!this.signaturePad) {
48591
+ this.updateColors(this.signaturePad);
48592
+ }
48504
48593
  };
48505
48594
  QuestionSignaturePadModel.prototype.initSignaturePad = function (el) {
48506
48595
  var _this = this;
@@ -49022,6 +49111,13 @@ var QuestionTagboxModel = /** @class */ (function (_super) {
49022
49111
  _super.prototype.clearValue.call(this);
49023
49112
  this.dropdownListModel.clear();
49024
49113
  };
49114
+ Object.defineProperty(QuestionTagboxModel.prototype, "showClearButton", {
49115
+ get: function () {
49116
+ return this.allowClear && !this.isEmpty() && (!this.isDesignMode || _settings__WEBPACK_IMPORTED_MODULE_5__["settings"].supportCreatorV2);
49117
+ },
49118
+ enumerable: false,
49119
+ configurable: true
49120
+ });
49025
49121
  Object.defineProperty(QuestionTagboxModel.prototype, "isNewA11yStructure", {
49026
49122
  //a11y
49027
49123
  get: function () {
@@ -49092,12 +49188,13 @@ _questionfactory__WEBPACK_IMPORTED_MODULE_1__["QuestionFactory"].Instance.regist
49092
49188
  /*!******************************!*\
49093
49189
  !*** ./src/question_text.ts ***!
49094
49190
  \******************************/
49095
- /*! exports provided: QuestionTextModel */
49191
+ /*! exports provided: QuestionTextModel, isMinMaxType */
49096
49192
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
49097
49193
 
49098
49194
  "use strict";
49099
49195
  __webpack_require__.r(__webpack_exports__);
49100
49196
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "QuestionTextModel", function() { return QuestionTextModel; });
49197
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "isMinMaxType", function() { return isMinMaxType; });
49101
49198
  /* harmony import */ var _questionfactory__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./questionfactory */ "./src/questionfactory.ts");
49102
49199
  /* harmony import */ var _jsonobject__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./jsonobject */ "./src/jsonobject.ts");
49103
49200
  /* harmony import */ var _localizablestring__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./localizablestring */ "./src/localizablestring.ts");
@@ -50902,6 +50999,12 @@ var settings = {
50902
50999
  notifications: {
50903
51000
  lifetime: 2000
50904
51001
  },
51002
+ /**
51003
+ * Specifies how many milliseconds a survey should wait before it automatically switches to the next page. Applies only when [auto-advance](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#goNextPageAutomatic) is enabled.
51004
+ *
51005
+ * Default value: 300
51006
+ */
51007
+ autoAdvanceDelay: 300,
50905
51008
  /**
50906
51009
  * Specifies the direction in which to lay out Checkbox and Radiogroup items. This setting affects the resulting UI when items are arranged in [more than one column](https://surveyjs.io/form-library/documentation/api-reference/checkbox-question-model#colCount).
50907
51010
  *
@@ -52860,6 +52963,7 @@ __webpack_require__.r(__webpack_exports__);
52860
52963
  /* harmony import */ var _utils_cssClassBuilder__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ./utils/cssClassBuilder */ "./src/utils/cssClassBuilder.ts");
52861
52964
  /* harmony import */ var _notifier__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ./notifier */ "./src/notifier.ts");
52862
52965
  /* harmony import */ var _cover__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ./cover */ "./src/cover.ts");
52966
+ /* harmony import */ var _surveytimer__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ./surveytimer */ "./src/surveytimer.ts");
52863
52967
  var __extends = (undefined && undefined.__extends) || (function () {
52864
52968
  var extendStatics = function (d, b) {
52865
52969
  extendStatics = Object.setPrototypeOf ||
@@ -52900,6 +53004,7 @@ var __decorate = (undefined && undefined.__decorate) || function (decorators, ta
52900
53004
 
52901
53005
 
52902
53006
 
53007
+
52903
53008
 
52904
53009
 
52905
53010
  /**
@@ -52916,12 +53021,6 @@ var SurveyModel = /** @class */ (function (_super) {
52916
53021
  var _this = _super.call(this) || this;
52917
53022
  _this.valuesHash = {};
52918
53023
  _this.variablesHash = {};
52919
- _this.onThemeApplying = new _base__WEBPACK_IMPORTED_MODULE_2__["EventBase"]();
52920
- /**
52921
- * An event that is raised after a [theme](/form-library/documentation/manage-default-themes-and-styles) is [applied](#applyTheme) to the survey.
52922
- * @see applyTheme
52923
- */
52924
- _this.onThemeApplied = new _base__WEBPACK_IMPORTED_MODULE_2__["EventBase"]();
52925
53024
  //#region Event declarations
52926
53025
  /**
52927
53026
  * An event that is raised after a [trigger](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#triggers) is executed.
@@ -54512,6 +54611,7 @@ var SurveyModel = /** @class */ (function (_super) {
54512
54611
  * > If any of the following questions is answered last, the survey does not switch to the next page: Checkboxes, Yes/No (Boolean) (rendered as Checkbox), Long Text, Signature, Image Picker (with Multi Select), File Upload, Single-Select Matrix (not all rows are answered), Dynamic Matrix, Dynamic Panel.
54513
54612
  *
54514
54613
  * [View Demo](https://surveyjs.io/form-library/examples/automatically-move-to-next-page-if-answer-selected/ (linkStyle))
54614
+ * @see [`settings.autoAdvanceDelay`](https://surveyjs.io/form-library/documentation/api-reference/settings#autoAdvanceDelay)
54515
54615
  */
54516
54616
  get: function () {
54517
54617
  return this.getPropertyValue("goNextPageAutomatic");
@@ -54527,6 +54627,7 @@ var SurveyModel = /** @class */ (function (_super) {
54527
54627
  * Specifies whether to complete the survey automatically after a user answers all questions on the last page. Applies only if the [`goNextPageAutomatic`](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#goNextPageAutomatic) property is `true`.
54528
54628
  *
54529
54629
  * Default value: `true`
54630
+ * @see [`settings.autoAdvanceDelay`](https://surveyjs.io/form-library/documentation/api-reference/settings#autoAdvanceDelay)
54530
54631
  */
54531
54632
  get: function () {
54532
54633
  return this.getPropertyValue("allowCompleteSurveyAutomatic", true);
@@ -55089,7 +55190,7 @@ var SurveyModel = /** @class */ (function (_super) {
55089
55190
  if (this._isMobile !== newVal) {
55090
55191
  this._isMobile = newVal;
55091
55192
  this.updateCss();
55092
- this.getAllQuestions().map(function (q) { return q.setIsMobile(newVal); });
55193
+ this.getAllQuestions().forEach(function (q) { return q.setIsMobile(newVal); });
55093
55194
  }
55094
55195
  };
55095
55196
  Object.defineProperty(SurveyModel.prototype, "isMobile", {
@@ -59687,6 +59788,7 @@ var SurveyModel = /** @class */ (function (_super) {
59687
59788
  return baseName + index;
59688
59789
  };
59689
59790
  SurveyModel.prototype.tryGoNextPageAutomatic = function (name) {
59791
+ var _this = this;
59690
59792
  if (!!this.isEndLoadingFromJson ||
59691
59793
  !this.goNextPageAutomatic ||
59692
59794
  !this.currentPage)
@@ -59705,22 +59807,24 @@ var SurveyModel = /** @class */ (function (_super) {
59705
59807
  if (questions[i].hasInput && questions[i].isEmpty())
59706
59808
  return;
59707
59809
  }
59708
- if (!this.checkIsCurrentPageHasErrors(false)) {
59709
- if (!this.isLastPage) {
59710
- this.nextPage();
59810
+ if (this.isLastPage && (this.goNextPageAutomatic !== true || !this.allowCompleteSurveyAutomatic))
59811
+ return;
59812
+ if (this.checkIsCurrentPageHasErrors(false))
59813
+ return;
59814
+ var goNextPage = function () {
59815
+ if (!_this.isLastPage) {
59816
+ _this.nextPage();
59711
59817
  }
59712
59818
  else {
59713
- if (this.goNextPageAutomatic === true &&
59714
- this.allowCompleteSurveyAutomatic) {
59715
- if (this.isShowPreviewBeforeComplete) {
59716
- this.showPreview();
59717
- }
59718
- else {
59719
- this.completeLastPage();
59720
- }
59819
+ if (_this.isShowPreviewBeforeComplete) {
59820
+ _this.showPreview();
59821
+ }
59822
+ else {
59823
+ _this.completeLastPage();
59721
59824
  }
59722
59825
  }
59723
- }
59826
+ };
59827
+ _surveytimer__WEBPACK_IMPORTED_MODULE_21__["surveyTimerFunctions"].safeTimeOut(goNextPage, _settings__WEBPACK_IMPORTED_MODULE_14__["settings"].autoAdvanceDelay);
59724
59828
  };
59725
59829
  /**
59726
59830
  * Returns a comment value from a question with a specified `name`.
@@ -60726,7 +60830,6 @@ var SurveyModel = /** @class */ (function (_super) {
60726
60830
  *
60727
60831
  * [Themes & Styles](/form-library/documentation/manage-default-themes-and-styles (linkStyle))
60728
60832
  * @param theme An [`ITheme`](/form-library/documentation/api-reference/itheme) object with theme settings.
60729
- * @see onThemeApplied
60730
60833
  */
60731
60834
  SurveyModel.prototype.applyTheme = function (theme) {
60732
60835
  var _this = this;
@@ -60751,7 +60854,10 @@ var SurveyModel = /** @class */ (function (_super) {
60751
60854
  _this[key] = theme[key];
60752
60855
  }
60753
60856
  });
60754
- this.onThemeApplied.fire(this, { theme: theme });
60857
+ this.themeChanged(theme);
60858
+ };
60859
+ SurveyModel.prototype.themeChanged = function (theme) {
60860
+ this.getAllQuestions().forEach(function (q) { return q.themeChanged(theme); });
60755
60861
  };
60756
60862
  /**
60757
60863
  * Disposes of the survey model.
@@ -61649,6 +61755,7 @@ var TOCModel = /** @class */ (function () {
61649
61755
  };
61650
61756
  this.listModel = createTOCListModel(survey, function () { _this.popupModel.isVisible = false; });
61651
61757
  this.popupModel = new _popup__WEBPACK_IMPORTED_MODULE_4__["PopupModel"]("sv-list", { model: this.listModel });
61758
+ this.popupModel.overlayDisplayMode = "overlay";
61652
61759
  this.popupModel.displayMode = new _base__WEBPACK_IMPORTED_MODULE_1__["ComputedUpdater"](function () { return _this.isMobile ? "overlay" : "popup"; });
61653
61760
  }
61654
61761
  Object.defineProperty(TOCModel.prototype, "isMobile", {
@@ -61691,15 +61798,22 @@ __webpack_require__.r(__webpack_exports__);
61691
61798
 
61692
61799
  var surveyTimerFunctions = {
61693
61800
  setTimeout: function (func) {
61694
- if (typeof window === "undefined")
61695
- return 0;
61696
- return window.setTimeout(func, 1000);
61801
+ return surveyTimerFunctions.safeTimeOut(func, 1000);
61697
61802
  },
61698
61803
  clearTimeout: function (timerId) {
61699
61804
  if (typeof window === "undefined")
61700
61805
  return;
61701
61806
  window.clearTimeout(timerId);
61702
61807
  },
61808
+ safeTimeOut: function (func, delay) {
61809
+ if (typeof window === "undefined" || delay <= 0) {
61810
+ func();
61811
+ return 0;
61812
+ }
61813
+ else {
61814
+ return window.setTimeout(func, delay);
61815
+ }
61816
+ }
61703
61817
  };
61704
61818
  var SurveyTimer = /** @class */ (function () {
61705
61819
  function SurveyTimer() {