survey-core 1.12.20 → 1.12.22

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 (455) hide show
  1. package/default.css +8715 -0
  2. package/default.css.map +1 -0
  3. package/default.fontless.css +8495 -0
  4. package/default.fontless.css.map +1 -0
  5. package/default.fontless.min.css +6 -0
  6. package/default.min.css +6 -0
  7. package/defaultV2.css +1 -1
  8. package/defaultV2.fontless.css +1 -1
  9. package/defaultV2.fontless.min.css +1 -1
  10. package/defaultV2.min.css +1 -1
  11. package/i18n/arabic.js +1 -1
  12. package/i18n/arabic.min.js +1 -1
  13. package/i18n/arabic.min.js.LICENSE.txt +5 -0
  14. package/i18n/basque.js +1 -1
  15. package/i18n/basque.min.js +1 -1
  16. package/i18n/basque.min.js.LICENSE.txt +5 -0
  17. package/i18n/bulgarian.js +1 -1
  18. package/i18n/bulgarian.min.js +1 -1
  19. package/i18n/bulgarian.min.js.LICENSE.txt +5 -0
  20. package/i18n/burmese.js +1 -1
  21. package/i18n/burmese.min.js +1 -1
  22. package/i18n/burmese.min.js.LICENSE.txt +5 -0
  23. package/i18n/catalan.js +1 -1
  24. package/i18n/catalan.min.js +1 -1
  25. package/i18n/catalan.min.js.LICENSE.txt +5 -0
  26. package/i18n/croatian.js +1 -1
  27. package/i18n/croatian.min.js +1 -1
  28. package/i18n/croatian.min.js.LICENSE.txt +5 -0
  29. package/i18n/czech.js +1 -1
  30. package/i18n/czech.min.js +1 -1
  31. package/i18n/czech.min.js.LICENSE.txt +5 -0
  32. package/i18n/danish.js +1 -1
  33. package/i18n/danish.min.js +1 -1
  34. package/i18n/danish.min.js.LICENSE.txt +5 -0
  35. package/i18n/dutch.js +1 -1
  36. package/i18n/dutch.min.js +1 -1
  37. package/i18n/dutch.min.js.LICENSE.txt +5 -0
  38. package/i18n/english.js +1 -1
  39. package/i18n/english.min.js +1 -1
  40. package/i18n/english.min.js.LICENSE.txt +5 -0
  41. package/i18n/estonian.js +1 -1
  42. package/i18n/estonian.min.js +1 -1
  43. package/i18n/estonian.min.js.LICENSE.txt +5 -0
  44. package/i18n/finnish.js +1 -1
  45. package/i18n/finnish.min.js +1 -1
  46. package/i18n/finnish.min.js.LICENSE.txt +5 -0
  47. package/i18n/french.js +1 -1
  48. package/i18n/french.min.js +1 -1
  49. package/i18n/french.min.js.LICENSE.txt +5 -0
  50. package/i18n/georgian.js +1 -1
  51. package/i18n/georgian.min.js +1 -1
  52. package/i18n/georgian.min.js.LICENSE.txt +5 -0
  53. package/i18n/german.js +1 -1
  54. package/i18n/german.min.js +1 -1
  55. package/i18n/german.min.js.LICENSE.txt +5 -0
  56. package/i18n/greek.js +1 -1
  57. package/i18n/greek.min.js +1 -1
  58. package/i18n/greek.min.js.LICENSE.txt +5 -0
  59. package/i18n/hebrew.js +1 -1
  60. package/i18n/hebrew.min.js +1 -1
  61. package/i18n/hebrew.min.js.LICENSE.txt +5 -0
  62. package/i18n/hindi.js +1 -1
  63. package/i18n/hindi.min.js +1 -1
  64. package/i18n/hindi.min.js.LICENSE.txt +5 -0
  65. package/i18n/hungarian.js +1 -1
  66. package/i18n/hungarian.min.js +1 -1
  67. package/i18n/hungarian.min.js.LICENSE.txt +5 -0
  68. package/i18n/icelandic.js +1 -1
  69. package/i18n/icelandic.min.js +1 -1
  70. package/i18n/icelandic.min.js.LICENSE.txt +5 -0
  71. package/i18n/index.js +1 -1
  72. package/i18n/index.min.js +1 -1
  73. package/i18n/index.min.js.LICENSE.txt +5 -0
  74. package/i18n/indonesian.js +1 -1
  75. package/i18n/indonesian.min.js +1 -1
  76. package/i18n/indonesian.min.js.LICENSE.txt +5 -0
  77. package/i18n/italian.js +1 -1
  78. package/i18n/italian.min.js +1 -1
  79. package/i18n/italian.min.js.LICENSE.txt +5 -0
  80. package/i18n/japanese.js +1 -1
  81. package/i18n/japanese.min.js +1 -1
  82. package/i18n/japanese.min.js.LICENSE.txt +5 -0
  83. package/i18n/kazakh.js +1 -1
  84. package/i18n/kazakh.min.js +1 -1
  85. package/i18n/kazakh.min.js.LICENSE.txt +5 -0
  86. package/i18n/korean.js +1 -1
  87. package/i18n/korean.min.js +1 -1
  88. package/i18n/korean.min.js.LICENSE.txt +5 -0
  89. package/i18n/latvian.js +1 -1
  90. package/i18n/latvian.min.js +1 -1
  91. package/i18n/latvian.min.js.LICENSE.txt +5 -0
  92. package/i18n/lithuanian.js +1 -1
  93. package/i18n/lithuanian.min.js +1 -1
  94. package/i18n/lithuanian.min.js.LICENSE.txt +5 -0
  95. package/i18n/macedonian.js +1 -1
  96. package/i18n/macedonian.min.js +1 -1
  97. package/i18n/macedonian.min.js.LICENSE.txt +5 -0
  98. package/i18n/malay.js +1 -1
  99. package/i18n/malay.min.js +1 -1
  100. package/i18n/malay.min.js.LICENSE.txt +5 -0
  101. package/i18n/nl-BE.js +1 -1
  102. package/i18n/nl-BE.min.js +1 -1
  103. package/i18n/nl-BE.min.js.LICENSE.txt +5 -0
  104. package/i18n/norwegian.js +1 -1
  105. package/i18n/norwegian.min.js +1 -1
  106. package/i18n/norwegian.min.js.LICENSE.txt +5 -0
  107. package/i18n/persian.js +1 -1
  108. package/i18n/persian.min.js +1 -1
  109. package/i18n/persian.min.js.LICENSE.txt +5 -0
  110. package/i18n/philippines.js +1 -1
  111. package/i18n/philippines.min.js +1 -1
  112. package/i18n/philippines.min.js.LICENSE.txt +5 -0
  113. package/i18n/polish.js +1 -1
  114. package/i18n/polish.min.js +1 -1
  115. package/i18n/polish.min.js.LICENSE.txt +5 -0
  116. package/i18n/portuguese-br.js +1 -1
  117. package/i18n/portuguese-br.min.js +1 -1
  118. package/i18n/portuguese-br.min.js.LICENSE.txt +5 -0
  119. package/i18n/portuguese.js +1 -1
  120. package/i18n/portuguese.min.js +1 -1
  121. package/i18n/portuguese.min.js.LICENSE.txt +5 -0
  122. package/i18n/romanian.js +1 -1
  123. package/i18n/romanian.min.js +1 -1
  124. package/i18n/romanian.min.js.LICENSE.txt +5 -0
  125. package/i18n/russian.js +1 -1
  126. package/i18n/russian.min.js +1 -1
  127. package/i18n/russian.min.js.LICENSE.txt +5 -0
  128. package/i18n/serbian.js +1 -1
  129. package/i18n/serbian.min.js +1 -1
  130. package/i18n/serbian.min.js.LICENSE.txt +5 -0
  131. package/i18n/simplified-chinese.js +1 -1
  132. package/i18n/simplified-chinese.min.js +1 -1
  133. package/i18n/simplified-chinese.min.js.LICENSE.txt +5 -0
  134. package/i18n/slovak.js +1 -1
  135. package/i18n/slovak.min.js +1 -1
  136. package/i18n/slovak.min.js.LICENSE.txt +5 -0
  137. package/i18n/spanish.js +1 -1
  138. package/i18n/spanish.min.js +1 -1
  139. package/i18n/spanish.min.js.LICENSE.txt +5 -0
  140. package/i18n/swahili.js +1 -1
  141. package/i18n/swahili.min.js +1 -1
  142. package/i18n/swahili.min.js.LICENSE.txt +5 -0
  143. package/i18n/swedish.js +1 -1
  144. package/i18n/swedish.min.js +1 -1
  145. package/i18n/swedish.min.js.LICENSE.txt +5 -0
  146. package/i18n/tajik.js +1 -1
  147. package/i18n/tajik.min.js +1 -1
  148. package/i18n/tajik.min.js.LICENSE.txt +5 -0
  149. package/i18n/telugu.js +1 -1
  150. package/i18n/telugu.min.js +1 -1
  151. package/i18n/telugu.min.js.LICENSE.txt +5 -0
  152. package/i18n/thai.js +1 -1
  153. package/i18n/thai.min.js +1 -1
  154. package/i18n/thai.min.js.LICENSE.txt +5 -0
  155. package/i18n/traditional-chinese.js +1 -1
  156. package/i18n/traditional-chinese.min.js +1 -1
  157. package/i18n/traditional-chinese.min.js.LICENSE.txt +5 -0
  158. package/i18n/turkish.js +1 -1
  159. package/i18n/turkish.min.js +1 -1
  160. package/i18n/turkish.min.js.LICENSE.txt +5 -0
  161. package/i18n/ukrainian.js +1 -1
  162. package/i18n/ukrainian.min.js +1 -1
  163. package/i18n/ukrainian.min.js.LICENSE.txt +5 -0
  164. package/i18n/urdu.js +1 -1
  165. package/i18n/urdu.min.js +1 -1
  166. package/i18n/urdu.min.js.LICENSE.txt +5 -0
  167. package/i18n/vietnamese.js +1 -1
  168. package/i18n/vietnamese.min.js +1 -1
  169. package/i18n/vietnamese.min.js.LICENSE.txt +5 -0
  170. package/i18n/welsh.js +1 -1
  171. package/i18n/welsh.min.js +1 -1
  172. package/i18n/welsh.min.js.LICENSE.txt +5 -0
  173. package/icons/iconsV1.js +1 -1
  174. package/icons/iconsV1.min.js +1 -1
  175. package/icons/iconsV1.min.js.LICENSE.txt +5 -0
  176. package/icons/iconsV2.js +1 -1
  177. package/icons/iconsV2.min.js +1 -1
  178. package/icons/iconsV2.min.js.LICENSE.txt +5 -0
  179. package/modern.css +1 -1
  180. package/modern.fontless.css +1 -1
  181. package/modern.fontless.min.css +1 -1
  182. package/modern.min.css +1 -1
  183. package/package.json +1 -1
  184. package/plugins/bootstrap-integration/index.js +1 -1
  185. package/plugins/bootstrap-integration/index.min.js +1 -1
  186. package/plugins/bootstrap-material-integration/index.js +1 -1
  187. package/plugins/bootstrap-material-integration/index.min.js +1 -1
  188. package/survey.core.js +155 -59
  189. package/survey.core.js.map +1 -1
  190. package/survey.core.min.js +3 -3
  191. package/survey.core.min.js.LICENSE.txt +10 -0
  192. package/survey.css +1 -1
  193. package/survey.i18n.js +1 -1
  194. package/survey.i18n.min.js +1 -1
  195. package/survey.i18n.min.js.LICENSE.txt +5 -0
  196. package/survey.min.css +1 -1
  197. package/themes/borderless-dark-panelless.js +1 -1
  198. package/themes/borderless-dark-panelless.min.js +1 -1
  199. package/themes/borderless-dark-panelless.min.js.LICENSE.txt +5 -0
  200. package/themes/borderless-dark.js +1 -1
  201. package/themes/borderless-dark.min.js +1 -1
  202. package/themes/borderless-dark.min.js.LICENSE.txt +5 -0
  203. package/themes/borderless-light-panelless..js +1 -1
  204. package/themes/borderless-light-panelless..min.js +1 -1
  205. package/themes/borderless-light-panelless.js +156 -0
  206. package/themes/borderless-light-panelless.js.map +1 -0
  207. package/themes/borderless-light-panelless.min.js +2 -0
  208. package/themes/borderless-light-panelless.min.js.LICENSE.txt +5 -0
  209. package/themes/borderless-light.js +1 -1
  210. package/themes/borderless-light.min.js +1 -1
  211. package/themes/borderless-light.min.js.LICENSE.txt +5 -0
  212. package/themes/contrast-dark-panelless.js +1 -1
  213. package/themes/contrast-dark-panelless.min.js +1 -1
  214. package/themes/contrast-dark-panelless.min.js.LICENSE.txt +5 -0
  215. package/themes/contrast-dark.js +1 -1
  216. package/themes/contrast-dark.min.js +1 -1
  217. package/themes/contrast-dark.min.js.LICENSE.txt +5 -0
  218. package/themes/contrast-light-panelless.js +1 -1
  219. package/themes/contrast-light-panelless.min.js +1 -1
  220. package/themes/contrast-light-panelless.min.js.LICENSE.txt +5 -0
  221. package/themes/contrast-light.js +1 -1
  222. package/themes/contrast-light.min.js +1 -1
  223. package/themes/contrast-light.min.js.LICENSE.txt +5 -0
  224. package/themes/default-dark-panelless.js +1 -1
  225. package/themes/default-dark-panelless.min.js +1 -1
  226. package/themes/default-dark-panelless.min.js.LICENSE.txt +5 -0
  227. package/themes/default-dark.js +1 -1
  228. package/themes/default-dark.min.js +1 -1
  229. package/themes/default-dark.min.js.LICENSE.txt +5 -0
  230. package/themes/default-light-panelless.js +1 -1
  231. package/themes/default-light-panelless.min.js +1 -1
  232. package/themes/default-light-panelless.min.js.LICENSE.txt +5 -0
  233. package/themes/default-light.js +1 -1
  234. package/themes/default-light.min.js +1 -1
  235. package/themes/default-light.min.js.LICENSE.txt +5 -0
  236. package/themes/doubleborder-dark-panelless.js +1 -1
  237. package/themes/doubleborder-dark-panelless.min.js +1 -1
  238. package/themes/doubleborder-dark-panelless.min.js.LICENSE.txt +5 -0
  239. package/themes/doubleborder-dark.js +1 -1
  240. package/themes/doubleborder-dark.min.js +1 -1
  241. package/themes/doubleborder-dark.min.js.LICENSE.txt +5 -0
  242. package/themes/doubleborder-light-panelles.js +1 -1
  243. package/themes/doubleborder-light-panelles.min.js +1 -1
  244. package/themes/doubleborder-light-panelles.min.js.LICENSE.txt +5 -0
  245. package/themes/doubleborder-light.js +1 -1
  246. package/themes/doubleborder-light.min.js +1 -1
  247. package/themes/doubleborder-light.min.js.LICENSE.txt +5 -0
  248. package/themes/flat-dark-panelless.js +1 -1
  249. package/themes/flat-dark-panelless.min.js +1 -1
  250. package/themes/flat-dark-panelless.min.js.LICENSE.txt +5 -0
  251. package/themes/flat-dark.js +1 -1
  252. package/themes/flat-dark.min.js +1 -1
  253. package/themes/flat-dark.min.js.LICENSE.txt +5 -0
  254. package/themes/flat-light-panelless.js +1 -1
  255. package/themes/flat-light-panelless.min.js +1 -1
  256. package/themes/flat-light-panelless.min.js.LICENSE.txt +5 -0
  257. package/themes/flat-light.js +1 -1
  258. package/themes/flat-light.min.js +1 -1
  259. package/themes/flat-light.min.js.LICENSE.txt +5 -0
  260. package/themes/index.js +1 -1
  261. package/themes/index.min.js +1 -1
  262. package/themes/index.min.js.LICENSE.txt +5 -0
  263. package/themes/layered-dark-panelless.js +1 -1
  264. package/themes/layered-dark-panelless.min.js +1 -1
  265. package/themes/layered-dark-panelless.min.js.LICENSE.txt +5 -0
  266. package/themes/layered-dark.js +1 -1
  267. package/themes/layered-dark.min.js +1 -1
  268. package/themes/layered-dark.min.js.LICENSE.txt +5 -0
  269. package/themes/layered-light-panelless.js +1 -1
  270. package/themes/layered-light-panelless.min.js +1 -1
  271. package/themes/layered-light-panelless.min.js.LICENSE.txt +5 -0
  272. package/themes/layered-light.js +1 -1
  273. package/themes/layered-light.min.js +1 -1
  274. package/themes/layered-light.min.js.LICENSE.txt +5 -0
  275. package/themes/plain-dark-panelless.js +1 -1
  276. package/themes/plain-dark-panelless.min.js +1 -1
  277. package/themes/plain-dark-panelless.min.js.LICENSE.txt +5 -0
  278. package/themes/plain-dark.js +1 -1
  279. package/themes/plain-dark.min.js +1 -1
  280. package/themes/plain-dark.min.js.LICENSE.txt +5 -0
  281. package/themes/plain-light-panelless.js +1 -1
  282. package/themes/plain-light-panelless.min.js +1 -1
  283. package/themes/plain-light-panelless.min.js.LICENSE.txt +5 -0
  284. package/themes/plain-light.js +1 -1
  285. package/themes/plain-light.min.js +1 -1
  286. package/themes/plain-light.min.js.LICENSE.txt +5 -0
  287. package/themes/sharp-dark-panelless.js +1 -1
  288. package/themes/sharp-dark-panelless.min.js +1 -1
  289. package/themes/sharp-dark-panelless.min.js.LICENSE.txt +5 -0
  290. package/themes/sharp-dark.js +1 -1
  291. package/themes/sharp-dark.min.js +1 -1
  292. package/themes/sharp-dark.min.js.LICENSE.txt +5 -0
  293. package/themes/sharp-light-panelless.js +1 -1
  294. package/themes/sharp-light-panelless.min.js +1 -1
  295. package/themes/sharp-light-panelless.min.js.LICENSE.txt +5 -0
  296. package/themes/sharp-light.js +1 -1
  297. package/themes/sharp-light.min.js +1 -1
  298. package/themes/sharp-light.min.js.LICENSE.txt +5 -0
  299. package/themes/solid-dark-panelless.js +1 -1
  300. package/themes/solid-dark-panelless.min.js +1 -1
  301. package/themes/solid-dark-panelless.min.js.LICENSE.txt +5 -0
  302. package/themes/solid-dark.js +1 -1
  303. package/themes/solid-dark.min.js +1 -1
  304. package/themes/solid-dark.min.js.LICENSE.txt +5 -0
  305. package/themes/solid-light-panelless.js +1 -1
  306. package/themes/solid-light-panelless.min.js +1 -1
  307. package/themes/solid-light-panelless.min.js.LICENSE.txt +5 -0
  308. package/themes/solid-light.js +1 -1
  309. package/themes/solid-light.min.js +1 -1
  310. package/themes/solid-light.min.js.LICENSE.txt +5 -0
  311. package/themes/three-dimensional-dark-panelless.js +1 -1
  312. package/themes/three-dimensional-dark-panelless.min.js +1 -1
  313. package/themes/three-dimensional-dark-panelless.min.js.LICENSE.txt +5 -0
  314. package/themes/three-dimensional-dark.js +1 -1
  315. package/themes/three-dimensional-dark.min.js +1 -1
  316. package/themes/three-dimensional-dark.min.js.LICENSE.txt +5 -0
  317. package/themes/three-dimensional-light-panelless.js +1 -1
  318. package/themes/three-dimensional-light-panelless.min.js +1 -1
  319. package/themes/three-dimensional-light-panelless.min.js.LICENSE.txt +5 -0
  320. package/themes/three-dimensional-light.js +1 -1
  321. package/themes/three-dimensional-light.min.js +1 -1
  322. package/themes/three-dimensional-light.min.js.LICENSE.txt +5 -0
  323. package/ts3.4/typings/packages/survey-core/src/base-interfaces.d.ts +2 -1
  324. package/ts3.4/typings/packages/survey-core/src/panel.d.ts +2 -1
  325. package/ts3.4/typings/packages/survey-core/src/question_custom.d.ts +3 -0
  326. package/ts3.4/typings/packages/survey-core/src/survey-events-api.d.ts +26 -7
  327. package/ts3.4/typings/packages/survey-core/src/survey.d.ts +16 -5
  328. package/ts3.4/typings/packages/survey-core/src/textPreProcessor.d.ts +1 -0
  329. package/typings/entries/chunks/core-wo-model.d.ts +10 -0
  330. package/typings/entries/chunks/model.d.ts +95 -95
  331. package/typings/entries/index.d.ts +2 -0
  332. package/typings/packages/survey-core/src/base-interfaces.d.ts +2 -1
  333. package/typings/packages/survey-core/src/panel.d.ts +2 -1
  334. package/typings/packages/survey-core/src/question_custom.d.ts +3 -0
  335. package/typings/packages/survey-core/src/survey-events-api.d.ts +26 -7
  336. package/typings/packages/survey-core/src/survey.d.ts +16 -5
  337. package/typings/packages/survey-core/src/textPreProcessor.d.ts +1 -0
  338. package/typings/src/actions/action.d.ts +300 -0
  339. package/typings/src/actions/adaptive-container.d.ts +29 -0
  340. package/typings/src/actions/container.d.ts +59 -0
  341. package/typings/src/base-interfaces.d.ts +366 -0
  342. package/typings/src/base.d.ts +333 -0
  343. package/typings/src/calculatedValue.d.ts +49 -0
  344. package/typings/src/choicesRestful.d.ts +177 -0
  345. package/typings/src/conditionProcessValue.d.ts +25 -0
  346. package/typings/src/conditions.d.ts +98 -0
  347. package/typings/src/conditionsParser.d.ts +14 -0
  348. package/typings/src/console-warnings.d.ts +6 -0
  349. package/typings/src/defaultCss/defaultCss.d.ts +873 -0
  350. package/typings/src/defaultTitle.d.ts +3 -0
  351. package/typings/src/dragdrop/choices.d.ts +21 -0
  352. package/typings/src/dragdrop/core.d.ts +55 -0
  353. package/typings/src/dragdrop/dom-adapter.d.ts +49 -0
  354. package/typings/src/dragdrop/engine.d.ts +6 -0
  355. package/typings/src/dragdrop/matrix-rows.d.ts +19 -0
  356. package/typings/src/dragdrop/ranking-choices.d.ts +26 -0
  357. package/typings/src/dragdrop/ranking-select-to-rank.d.ts +17 -0
  358. package/typings/src/dropdownListModel.d.ts +97 -0
  359. package/typings/src/dropdownMultiSelectListModel.d.ts +37 -0
  360. package/typings/src/dxSurveyService.d.ts +18 -0
  361. package/typings/src/element-helper.d.ts +8 -0
  362. package/typings/src/error.d.ts +81 -0
  363. package/typings/src/expressionItems.d.ts +57 -0
  364. package/typings/src/expressions/expressionParser.d.ts +54 -0
  365. package/typings/src/expressions/expressions.d.ts +135 -0
  366. package/typings/src/flowpanel.d.ts +34 -0
  367. package/typings/src/functionsfactory.d.ts +14 -0
  368. package/typings/src/global_variables_utils.d.ts +30 -0
  369. package/typings/src/header.d.ts +87 -0
  370. package/typings/src/helpers.d.ts +44 -0
  371. package/typings/src/itemvalue.d.ts +93 -0
  372. package/typings/src/jsonobject.d.ts +378 -0
  373. package/typings/src/list.d.ts +144 -0
  374. package/typings/src/localizablestring.d.ts +125 -0
  375. package/typings/src/localization/english.d.ts +109 -0
  376. package/typings/src/martixBase.d.ts +133 -0
  377. package/typings/src/mask/input_element_adapter.d.ts +16 -0
  378. package/typings/src/mask/mask_base.d.ts +29 -0
  379. package/typings/src/mask/mask_currency.d.ts +41 -0
  380. package/typings/src/mask/mask_datetime.d.ts +91 -0
  381. package/typings/src/mask/mask_numeric.d.ts +90 -0
  382. package/typings/src/mask/mask_pattern.d.ts +78 -0
  383. package/typings/src/mask/mask_utils.d.ts +20 -0
  384. package/typings/src/multiSelectListModel.d.ts +17 -0
  385. package/typings/src/notifier.d.ts +30 -0
  386. package/typings/src/page.d.ts +133 -0
  387. package/typings/src/panel-layout-column.d.ts +9 -0
  388. package/typings/src/panel.d.ts +633 -0
  389. package/typings/src/popup-dropdown-view-model.d.ts +35 -0
  390. package/typings/src/popup-modal-view-model.d.ts +16 -0
  391. package/typings/src/popup-survey.d.ts +132 -0
  392. package/typings/src/popup-utils.d.ts +4 -0
  393. package/typings/src/popup-view-model.d.ts +81 -0
  394. package/typings/src/popup.d.ts +66 -0
  395. package/typings/src/progress-buttons.d.ts +44 -0
  396. package/typings/src/question.d.ts +949 -0
  397. package/typings/src/questionCustomWidgets.d.ts +46 -0
  398. package/typings/src/question_baseselect.d.ts +547 -0
  399. package/typings/src/question_boolean.d.ts +116 -0
  400. package/typings/src/question_buttongroup.d.ts +51 -0
  401. package/typings/src/question_checkbox.d.ts +158 -0
  402. package/typings/src/question_comment.d.ts +59 -0
  403. package/typings/src/question_custom.d.ts +454 -0
  404. package/typings/src/question_dropdown.d.ts +156 -0
  405. package/typings/src/question_empty.d.ts +8 -0
  406. package/typings/src/question_expression.d.ts +110 -0
  407. package/typings/src/question_file.d.ts +303 -0
  408. package/typings/src/question_html.d.ts +26 -0
  409. package/typings/src/question_image.d.ts +86 -0
  410. package/typings/src/question_imagepicker.d.ts +168 -0
  411. package/typings/src/question_matrix.d.ts +198 -0
  412. package/typings/src/question_matrixdropdown.d.ts +56 -0
  413. package/typings/src/question_matrixdropdownbase.d.ts +572 -0
  414. package/typings/src/question_matrixdropdowncolumn.d.ts +344 -0
  415. package/typings/src/question_matrixdropdownrendered.d.ts +171 -0
  416. package/typings/src/question_matrixdynamic.d.ts +299 -0
  417. package/typings/src/question_multipletext.d.ts +361 -0
  418. package/typings/src/question_paneldynamic.d.ts +719 -0
  419. package/typings/src/question_radiogroup.d.ts +40 -0
  420. package/typings/src/question_ranking.d.ts +135 -0
  421. package/typings/src/question_rating.d.ts +300 -0
  422. package/typings/src/question_signaturepad.d.ts +149 -0
  423. package/typings/src/question_tagbox.d.ts +98 -0
  424. package/typings/src/question_text.d.ts +206 -0
  425. package/typings/src/question_textbase.d.ts +62 -0
  426. package/typings/src/questionfactory.d.ts +27 -0
  427. package/typings/src/questionnonvalue.d.ts +22 -0
  428. package/typings/src/rendererFactory.d.ts +11 -0
  429. package/typings/src/settings.d.ts +641 -0
  430. package/typings/src/survey-element.d.ts +471 -0
  431. package/typings/src/survey-error.d.ts +18 -0
  432. package/typings/src/survey-events-api.d.ts +1152 -0
  433. package/typings/src/survey.d.ts +3126 -0
  434. package/typings/src/surveyProgress.d.ts +4 -0
  435. package/typings/src/surveyStrings.d.ts +151 -0
  436. package/typings/src/surveyTaskManager.d.ts +16 -0
  437. package/typings/src/surveyTimerModel.d.ts +47 -0
  438. package/typings/src/surveyToc.d.ts +23 -0
  439. package/typings/src/surveytimer.d.ts +22 -0
  440. package/typings/src/svgbundle.d.ts +23 -0
  441. package/typings/src/template-renderer.d.ts +10 -0
  442. package/typings/src/textPreProcessor.d.ts +43 -0
  443. package/typings/src/themes.d.ts +222 -0
  444. package/typings/src/trigger.d.ts +155 -0
  445. package/typings/src/utils/animation.d.ts +91 -0
  446. package/typings/src/utils/camera.d.ts +27 -0
  447. package/typings/src/utils/cssClassBuilder.d.ts +6 -0
  448. package/typings/src/utils/devices.d.ts +12 -0
  449. package/typings/src/utils/dragOrClickHelper.d.ts +16 -0
  450. package/typings/src/utils/popup.d.ts +45 -0
  451. package/typings/src/utils/responsivity-manager.d.ts +31 -0
  452. package/typings/src/utils/taskmanager.d.ts +28 -0
  453. package/typings/src/utils/text-area.d.ts +58 -0
  454. package/typings/src/utils/utils.d.ts +86 -0
  455. package/typings/src/validator.d.ts +204 -0
@@ -168,7 +168,8 @@ export interface ISurvey extends ITextProcessor, ISurveyErrorOwner {
168
168
  dynamicPanelAdded(question: IQuestion, panelIndex?: number, panel?: IPanel): void;
169
169
  dynamicPanelRemoved(question: IQuestion, panelIndex: number, panel: IPanel): void;
170
170
  dynamicPanelRemoving(question: IQuestion, panelIndex: number, panel: IPanel): boolean;
171
- dynamicPanelItemValueChanged(question: IQuestion, options: any): any;
171
+ dynamicPanelItemValueChanged(question: IQuestion, options: any): void;
172
+ dynamicPanelItemValueChanging(question: IQuestion, options: any): void;
172
173
  dynamicPanelGetTabTitle(question: IQuestion, options: any): any;
173
174
  dynamicPanelCurrentIndexChanged(question: IQuestion, options: any): void;
174
175
  dragAndDropAllow(options: DragDropAllowEvent): boolean;
@@ -122,7 +122,7 @@ export declare class PanelModelBase extends SurveyElement<Question> implements I
122
122
  questionsOrder: string;
123
123
  private canRandomize;
124
124
  protected isRandomizing: boolean;
125
- randomizeElements(isRandom: boolean): void;
125
+ randomizeElements(isRandom: boolean): boolean;
126
126
  /*
127
127
  * Returns `true` if elements in this panel/page are arranged in random order.
128
128
  * @see questionsOrder
@@ -254,6 +254,7 @@ export declare class PanelModelBase extends SurveyElement<Question> implements I
254
254
  protected getContainsErrors(): boolean;
255
255
  updateElementVisibility(): void;
256
256
  getFirstQuestionToFocus(withError?: boolean, ignoreCollapseState?: boolean): Question;
257
+ getFirstVisibleQuestion(): Question;
257
258
  /**
258
259
  * Focuses the first question in this panel/page.
259
260
  * @see focusFirstErrorQuestion
@@ -434,6 +434,9 @@ export declare class QuestionCompositeModel extends QuestionCustomModelBase {
434
434
  protected getQuestionByName(name: string): IQuestion;
435
435
  private settingNewValue;
436
436
  setValue(name: string, newValue: any, locNotification: any, allowNotifyValueChanged?: boolean): any;
437
+ setComment(name: string, newValue: string, locNotification: any): any;
438
+ getComment(name: string): string;
439
+ private getCommentName;
437
440
  private runPanelTriggers;
438
441
  getFilteredValues(): any;
439
442
  private updateValueCoreWithPanelValue;
@@ -181,7 +181,7 @@ export interface CurrentPageChangedEvent {
181
181
  */
182
182
  isNextPage: boolean;
183
183
  /**
184
- * Returns `true` if the respondent is going backward, that is, `newCurrentPage` is earlier in the survey than `oldCurrentPage`.
184
+ * Returns `true` if the respondent is going backward, that is, `newCurrentPage` or `newCurrentQuestion` is earlier in the survey than `oldCurrentPage` or `oldCurrentQuestion`.
185
185
  */
186
186
  isGoingBackward: boolean;
187
187
  /**
@@ -197,9 +197,20 @@ export interface CurrentPageChangedEvent {
197
197
  */
198
198
  newCurrentPage: PageModel;
199
199
  /**
200
- * A page that used to be current.
200
+ * A page that used to be current.\
201
+ * In [question-per-page mode](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#questionsOnPageMode), the `oldCurrentPage` and `newCurrentPage` parameters may contain the same `PageModel` instance. This is because the survey doesn't create artificial pages to display only one question per page. If both the previous and current questions belong to the same page in the survey JSON schema, they have the same parent `PageModel` instance.
201
202
  */
202
203
  oldCurrentPage: PageModel;
204
+ /**
205
+ * The current question.\
206
+ * This parameter has a value only in [question-per-page mode](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#questionsOnPageMode).
207
+ */
208
+ oldCurrentQuestion?: Question;
209
+ /**
210
+ * A question that used to be current.\
211
+ * This parameter has a value only in [question-per-page mode](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#questionsOnPageMode).
212
+ */
213
+ newCurrentQuestion?: Question;
203
214
  }
204
215
  export interface CurrentPageChangingEvent extends CurrentPageChangedEvent {
205
216
  /**
@@ -891,7 +902,7 @@ export interface TimerPanelInfoTextEvent {
891
902
  */
892
903
  text: string;
893
904
  }
894
- export interface DynamicPanelItemValueChangedEvent extends PanelDynamicQuestionEventMixin {
905
+ export interface DynamicPanelValueChangedEvent extends PanelDynamicQuestionEventMixin {
895
906
  /**
896
907
  * The panel's data object that includes all item values.
897
908
  */
@@ -902,10 +913,6 @@ export interface DynamicPanelItemValueChangedEvent extends PanelDynamicQuestionE
902
913
  * The panel's index within Dynamic Panel.
903
914
  */
904
915
  panelIndex: number;
905
- /**
906
- * The item's new value.
907
- */
908
- value: any;
909
916
  /**
910
917
  * The item's name.
911
918
  */
@@ -914,6 +921,18 @@ export interface DynamicPanelItemValueChangedEvent extends PanelDynamicQuestionE
914
921
  * A panel that nests the item with a changed value.
915
922
  */
916
923
  panel: PanelModel;
924
+ /**
925
+ * The item's new value.
926
+ */
927
+ value: any;
928
+ }
929
+ export interface DynamicPanelValueChangingEvent extends DynamicPanelValueChangedEvent {
930
+ /**
931
+ * The item's old value.
932
+ */
933
+ oldValue: any;
934
+ }
935
+ export interface DynamicPanelItemValueChangedEvent extends DynamicPanelValueChangedEvent {
917
936
  }
918
937
  export interface DynamicPanelCurrentIndexChangedEvent extends PanelDynamicQuestionEventMixin {
919
938
  /**
@@ -18,7 +18,7 @@ import { IAction, Action } from "./actions/action";
18
18
  import { ActionContainer } from "./actions/container";
19
19
  import { QuestionPanelDynamicModel } from "./question_paneldynamic";
20
20
  import { Notifier } from "./notifier";
21
- import { TriggerExecutedEvent, CompletingEvent, CompleteEvent, ShowingPreviewEvent, NavigateToUrlEvent, CurrentPageChangingEvent, CurrentPageChangedEvent, ValueChangingEvent, ValueChangedEvent, VariableChangedEvent, QuestionVisibleChangedEvent, PageVisibleChangedEvent, PanelVisibleChangedEvent, QuestionCreatedEvent, QuestionAddedEvent, QuestionRemovedEvent, PanelAddedEvent, PanelRemovedEvent, PageAddedEvent, ValidateQuestionEvent, SettingQuestionErrorsEvent, ValidatePanelEvent, ErrorCustomTextEvent, ValidatedErrorsOnCurrentPageEvent, ProcessHtmlEvent, GetQuestionTitleEvent, GetTitleTagNameEvent, GetQuestionNumberEvent, GetPageNumberEvent, GetPanelNumberEvent, GetProgressTextEvent, TextMarkdownEvent, SendResultEvent, GetResultEvent, UploadFilesEvent, DownloadFileEvent, ClearFilesEvent, LoadChoicesFromServerEvent, ProcessTextValueEvent, UpdateQuestionCssClassesEvent, UpdatePanelCssClassesEvent, UpdatePageCssClassesEvent, UpdateChoiceItemCssEvent, AfterRenderSurveyEvent, AfterRenderPageEvent, AfterRenderQuestionEvent, AfterRenderQuestionInputEvent, AfterRenderPanelEvent, FocusInQuestionEvent, FocusInPanelEvent, ShowingChoiceItemEvent, ChoicesLazyLoadEvent, GetChoiceDisplayValueEvent, MatrixRowAddedEvent, MatrixBeforeRowAddedEvent, MatrixRowRemovingEvent, MatrixRowRemovedEvent, MatrixAllowRemoveRowEvent, MatrixDetailPanelVisibleChangedEvent, MatrixCellCreatingEvent, MatrixCellCreatedEvent, MatrixAfterCellRenderEvent, MatrixCellValueChangedEvent, MatrixCellValueChangingEvent, MatrixCellValidateEvent, DynamicPanelModifiedEvent, DynamicPanelRemovingEvent, DynamicPanelItemValueChangedEvent, DynamicPanelGetTabTitleEvent, DynamicPanelCurrentIndexChangedEvent, CheckAnswerCorrectEvent, DragDropAllowEvent, ScrollToTopEvent, GetQuestionTitleActionsEvent, GetPanelTitleActionsEvent, GetPageTitleActionsEvent, GetPanelFooterActionsEvent, GetMatrixRowActionsEvent, GetExpressionDisplayValueEvent, ServerValidateQuestionsEvent, MultipleTextItemAddedEvent, MatrixColumnAddedEvent, GetQuestionDisplayValueEvent, PopupVisibleChangedEvent, ChoicesSearchEvent, OpenFileChooserEvent, OpenDropdownMenuEvent, ResizeEvent, ProgressTextEvent, ScrollingElementToTopEvent, IsAnswerCorrectEvent } from "./survey-events-api";
21
+ import { TriggerExecutedEvent, CompletingEvent, CompleteEvent, ShowingPreviewEvent, NavigateToUrlEvent, CurrentPageChangingEvent, CurrentPageChangedEvent, ValueChangingEvent, ValueChangedEvent, VariableChangedEvent, QuestionVisibleChangedEvent, PageVisibleChangedEvent, PanelVisibleChangedEvent, QuestionCreatedEvent, QuestionAddedEvent, QuestionRemovedEvent, PanelAddedEvent, PanelRemovedEvent, PageAddedEvent, ValidateQuestionEvent, SettingQuestionErrorsEvent, ValidatePanelEvent, ErrorCustomTextEvent, ValidatedErrorsOnCurrentPageEvent, ProcessHtmlEvent, GetQuestionTitleEvent, GetTitleTagNameEvent, GetQuestionNumberEvent, GetPageNumberEvent, GetPanelNumberEvent, GetProgressTextEvent, TextMarkdownEvent, SendResultEvent, GetResultEvent, UploadFilesEvent, DownloadFileEvent, ClearFilesEvent, LoadChoicesFromServerEvent, ProcessTextValueEvent, UpdateQuestionCssClassesEvent, UpdatePanelCssClassesEvent, UpdatePageCssClassesEvent, UpdateChoiceItemCssEvent, AfterRenderSurveyEvent, AfterRenderPageEvent, AfterRenderQuestionEvent, AfterRenderQuestionInputEvent, AfterRenderPanelEvent, FocusInQuestionEvent, FocusInPanelEvent, ShowingChoiceItemEvent, ChoicesLazyLoadEvent, GetChoiceDisplayValueEvent, MatrixRowAddedEvent, MatrixBeforeRowAddedEvent, MatrixRowRemovingEvent, MatrixRowRemovedEvent, MatrixAllowRemoveRowEvent, MatrixDetailPanelVisibleChangedEvent, MatrixCellCreatingEvent, MatrixCellCreatedEvent, MatrixAfterCellRenderEvent, MatrixCellValueChangedEvent, MatrixCellValueChangingEvent, MatrixCellValidateEvent, DynamicPanelModifiedEvent, DynamicPanelRemovingEvent, DynamicPanelItemValueChangedEvent, DynamicPanelValueChangingEvent, DynamicPanelGetTabTitleEvent, DynamicPanelCurrentIndexChangedEvent, CheckAnswerCorrectEvent, DragDropAllowEvent, ScrollToTopEvent, GetQuestionTitleActionsEvent, GetPanelTitleActionsEvent, GetPageTitleActionsEvent, GetPanelFooterActionsEvent, GetMatrixRowActionsEvent, GetExpressionDisplayValueEvent, ServerValidateQuestionsEvent, MultipleTextItemAddedEvent, MatrixColumnAddedEvent, GetQuestionDisplayValueEvent, PopupVisibleChangedEvent, ChoicesSearchEvent, OpenFileChooserEvent, OpenDropdownMenuEvent, ResizeEvent, ProgressTextEvent, ScrollingElementToTopEvent, IsAnswerCorrectEvent } from "./survey-events-api";
22
22
  import { QuestionMatrixDropdownModelBase } from "./question_matrixdropdownbase";
23
23
  import { QuestionMatrixDynamicModel } from "./question_matrixdynamic";
24
24
  import { QuestionFileModel } from "./question_file";
@@ -139,7 +139,7 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
139
139
  *
140
140
  * For information on event handler parameters, refer to descriptions within the interface.
141
141
  *
142
- * To handle value changes in matrix cells or panels within a [Dynamic Panel](https://surveyjs.io/form-library/documentation/api-reference/dynamic-panel-model), use the [`onMatrixCellValueChanged`](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#onMatrixCellValueChanged) or [`onDynamicPanelItemValueChanged`](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#onDynamicPanelItemValueChanged) event.
142
+ * To handle value changes in matrix cells or panels within a [Dynamic Panel](https://surveyjs.io/form-library/documentation/api-reference/dynamic-panel-model), use the [`onMatrixCellValueChanged`](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#onMatrixCellValueChanged) or [`onDynamicPanelValueChanged`](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#onDynamicPanelValueChanged) event.
143
143
  * @see setValue
144
144
  */
145
145
  onValueChanged: EventBase<SurveyModel, ValueChangedEvent>;
@@ -667,9 +667,17 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
667
667
  onTimer: EventBase<SurveyModel, {}>;
668
668
  onTimerPanelInfoText: EventBase<SurveyModel, any>;
669
669
  /**
670
- * An event that is raised after an item value is changed in a panel within a [Dynamic Panel](https://surveyjs.io/form-library/examples/questiontype-paneldynamic/) question.
670
+ * An event that is raised after a value is changed in a panel within a [Dynamic Panel](https://surveyjs.io/form-library/examples/questiontype-paneldynamic/) question.
671
+ */
672
+ onDynamicPanelValueChanged: EventBase<SurveyModel, DynamicPanelItemValueChangedEvent>;
673
+ /**
674
+ * @deprecated Use the [`onDynamicPanelValueChanged`](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#onDynamicPanelValueChanged) event instead.
671
675
  */
672
676
  onDynamicPanelItemValueChanged: EventBase<SurveyModel, DynamicPanelItemValueChangedEvent>;
677
+ /**
678
+ * An event that is raised before a value is changed in a panel within a [Dynamic Panel](https://surveyjs.io/form-library/examples/questiontype-paneldynamic/) question.
679
+ */
680
+ onDynamicPanelValueChanging: EventBase<SurveyModel, DynamicPanelValueChangingEvent>;
673
681
  /**
674
682
  * An event that is raised before a [Dynamic Panel](https://surveyjs.io/form-library/examples/questiontype-paneldynamic/) renders [tab titles](https://surveyjs.io/form-library/documentation/api-reference/dynamic-panel-model#templateTabTitle). Use this event to change individual tab titles.
675
683
  *
@@ -1822,7 +1830,8 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
1822
1830
  mergeValues(src: any, dest: any): void;
1823
1831
  private updateValuesWithDefaults;
1824
1832
  protected updateCustomWidgets(page: PageModel): void;
1825
- protected currentPageChanging(newValue: PageModel, oldValue: PageModel): boolean;
1833
+ protected currentPageChanging(newValue: PageModel, oldValue: PageModel, newQuestion?: Question, oldQuestion?: Question): boolean;
1834
+ private currentPageChangingFromOptions;
1826
1835
  protected currentPageChanged(newValue: PageModel, oldValue: PageModel): void;
1827
1836
  private notifyQuestionsOnHidingContent;
1828
1837
  private createPageChangeEventOptions;
@@ -1915,6 +1924,7 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
1915
1924
  performNext(): boolean;
1916
1925
  performPrevious(): boolean;
1917
1926
  private hasErrorsOnNavigate;
1927
+ private canGoTroughValidation;
1918
1928
  private asyncValidationQuesitons;
1919
1929
  private checkForAsyncQuestionValidation;
1920
1930
  private clearAsyncValidationQuesitons;
@@ -2027,7 +2037,7 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
2027
2037
  * Possible values:
2028
2038
  *
2029
2039
  * - `"singlePage"` - Combines all survey pages into a single page.
2030
- * - `"questionPerPage"` - Creates a separate page for every question.
2040
+ * - `"questionPerPage"` - Displays each question on a separate page.
2031
2041
  * - `"standard"` (default) - Retains the original structure specified in the JSON schema.
2032
2042
  */
2033
2043
  questionsOnPageMode: string;
@@ -2233,6 +2243,7 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
2233
2243
  private hasQuestionVisibleIndeces;
2234
2244
  dynamicPanelRemoving(question: QuestionPanelDynamicModel, panelIndex: number, panel: PanelModel): boolean;
2235
2245
  dynamicPanelItemValueChanged(question: IQuestion, options: any): void;
2246
+ dynamicPanelItemValueChanging(question: IQuestion, options: any): void;
2236
2247
  dynamicPanelGetTabTitle(question: IQuestion, options: any): void;
2237
2248
  dynamicPanelCurrentIndexChanged(question: IQuestion, options: any): void;
2238
2249
  dragAndDropAllow(options: DragDropAllowEvent): boolean;
@@ -21,6 +21,7 @@ export declare class TextPreProcessor {
21
21
  processValue(name: string, returnDisplayValue: boolean): TextPreProcessorValue;
22
22
  readonly hasAllValuesOnLastRun: boolean;
23
23
  private getItems;
24
+ private isValidItemName;
24
25
  private getName;
25
26
  }
26
27
  export declare class QuestionTextProcessor implements ITextProcessor {
@@ -0,0 +1,10 @@
1
+ export * from "./model";
2
+ export * from "../../src/svgbundle";
3
+ export * from "../../src/rendererFactory";
4
+ export * from "../../src/utils/responsivity-manager";
5
+ export { unwrap, getOriginalEvent, getElement, activateLazyRenderingChecks } from "../../src/utils/utils";
6
+ export * from "../../src/actions/action";
7
+ export * from "../../src/utils/animation";
8
+ export * from "../../src/actions/adaptive-container";
9
+ export * from "../../src/actions/container";
10
+ export * from "../../src/utils/dragOrClickHelper";
@@ -4,98 +4,98 @@ export declare function checkLibraryVersion(ver: string, libraryName: string): v
4
4
  export declare function setLicenseKey(key: string): void;
5
5
  export declare function slk(key: string): void;
6
6
  export declare function hasLicense(index: number): boolean;
7
- export { settings, ISurveyEnvironment } from "../../settings";
8
- export { Helpers, HashTable } from "../../helpers";
9
- export { AnswerCountValidator, EmailValidator, NumericValidator, RegexValidator, SurveyValidator, TextValidator, ValidatorResult, ExpressionValidator, ValidatorRunner } from "../../validator";
10
- export { ItemValue } from "../../itemvalue";
11
- export { Base, Event, EventBase, ArrayChanges, ComputedUpdater } from "../../base";
12
- export { ISurvey, ISurveyElement, IElement, IQuestion, IPage, IPanel, ISurveyData, ITitleOwner, ISurveyLayoutElement, IPlainDataOptions as IPlainData, IShortcutText, ILoadFromJSONOptions, ISaveToJSONOptions, HorizontalAlignment, VerticalAlignment } from "../../base-interfaces";
13
- export { SurveyError } from "../../survey-error";
14
- export { SurveyElementCore, SurveyElement, DragTypeOverMeEnum } from "../../survey-element";
15
- export { CalculatedValue } from "../../calculatedValue";
16
- export { CustomError, AnswerRequiredError, OneAnswerRequiredError, RequreNumericError, ExceedSizeError } from "../../error";
17
- export { ILocalizableOwner, ILocalizableString, LocalizableString, LocalizableStrings } from "../../localizablestring";
18
- export { HtmlConditionItem, UrlConditionItem } from "../../expressionItems";
19
- export { ChoicesRestful, ChoicesRestfull } from "../../choicesRestful";
20
- export { FunctionFactory, registerFunction } from "../../functionsfactory";
21
- export { ConditionRunner, ExpressionRunner, IExpresionExecutor, ExpressionExecutor } from "../../conditions";
22
- export { Operand, Const, BinaryOperand, Variable, FunctionOperand, ArrayOperand, UnaryOperand } from "../../expressions/expressions";
23
- export { ConditionsParser } from "../../conditionsParser";
24
- export { ProcessValue } from "../../conditionProcessValue";
25
- export { JsonError, JsonIncorrectTypeError, JsonMetadata, JsonMetadataClass, JsonMissingTypeError, JsonMissingTypeErrorBase, JsonObject, IJsonPropertyInfo, JsonObjectProperty, JsonRequiredPropertyError, JsonUnknownPropertyError, Serializer, property, propertyArray } from "../../jsonobject";
26
- export { IMatrixDropdownData, MatrixDropdownCell, MatrixDropdownRowModelBase, QuestionMatrixDropdownModelBase } from "../../question_matrixdropdownbase";
27
- export { MatrixDropdownColumn, matrixDropdownColumnTypes } from "../../question_matrixdropdowncolumn";
28
- export { QuestionMatrixDropdownRenderedCell, QuestionMatrixDropdownRenderedRow, QuestionMatrixDropdownRenderedErrorRow, QuestionMatrixDropdownRenderedTable } from "../../question_matrixdropdownrendered";
29
- export { MatrixDropdownRowModel, QuestionMatrixDropdownModel } from "../../question_matrixdropdown";
30
- export { MatrixDynamicRowModel, QuestionMatrixDynamicModel } from "../../question_matrixdynamic";
31
- export { MatrixRowModel, MatrixCells, QuestionMatrixModel, IMatrixData } from "../../question_matrix";
32
- export { QuestionMatrixBaseModel } from "../../martixBase";
33
- export { MultipleTextItemModel, MultipleTextCell, MultipleTextErrorCell, MutlipleTextErrorRow, MutlipleTextRow, QuestionMultipleTextModel, MultipleTextEditorModel } from "../../question_multipletext";
34
- export { PanelModel, PanelModelBase, QuestionRowModel } from "../../panel";
35
- export { FlowPanelModel } from "../../flowpanel";
36
- export { PageModel } from "../../page";
37
- export * from "../../template-renderer";
38
- export { DefaultTitleModel } from "../../defaultTitle";
39
- export { Question } from "../../question";
40
- export { QuestionNonValue } from "../../questionnonvalue";
41
- export { QuestionEmptyModel } from "../../question_empty";
42
- export { QuestionCheckboxBase, QuestionSelectBase } from "../../question_baseselect";
43
- export { QuestionCheckboxModel } from "../../question_checkbox";
44
- export { QuestionTagboxModel } from "../../question_tagbox";
45
- export { QuestionRankingModel } from "../../question_ranking";
46
- export { QuestionCommentModel } from "../../question_comment";
47
- export { QuestionDropdownModel } from "../../question_dropdown";
48
- export { QuestionFactory, ElementFactory } from "../../questionfactory";
49
- export { QuestionFileModel } from "../../question_file";
50
- export { QuestionHtmlModel } from "../../question_html";
51
- export { QuestionRadiogroupModel } from "../../question_radiogroup";
52
- export { QuestionRatingModel, RenderedRatingItem } from "../../question_rating";
53
- export { QuestionExpressionModel } from "../../question_expression";
54
- export { QuestionTextBase, CharacterCounter } from "../../question_textbase";
55
- export { QuestionTextModel } from "../../question_text";
56
- export { QuestionBooleanModel } from "../../question_boolean";
57
- export { QuestionImagePickerModel, ImageItemValue } from "../../question_imagepicker";
58
- export { QuestionImageModel } from "../../question_image";
59
- export { QuestionSignaturePadModel } from "../../question_signaturepad";
60
- export { QuestionPanelDynamicModel, QuestionPanelDynamicItem } from "../../question_paneldynamic";
61
- export { SurveyTimer } from "../../surveytimer";
62
- export { SurveyTimerModel } from "../../surveyTimerModel";
63
- export * from "../../surveyToc";
64
- export { SurveyProgressModel } from "../../surveyProgress";
65
- export { ProgressButtons, ProgressButtonsResponsivityManager, IProgressButtonsViewModel } from "../../progress-buttons";
66
- export * from "../../themes";
67
- export { SurveyModel } from "../../survey";
68
- export * from "../../survey-events-api";
69
- export { SurveyTrigger, SurveyTriggerComplete, SurveyTriggerSetValue, SurveyTriggerVisible, SurveyTriggerCopyValue, SurveyTriggerRunExpression, SurveyTriggerSkip, Trigger } from "../../trigger";
70
- export { PopupSurveyModel, SurveyWindowModel } from "../../popup-survey";
71
- export { TextPreProcessor } from "../../textPreProcessor";
72
- export { Notifier } from "../../notifier";
73
- export { Cover, CoverCell } from "../../header";
74
- export { dxSurveyService } from "../../dxSurveyService";
75
- export { englishStrings } from "../../localization/english";
76
- export { surveyLocalization, surveyStrings } from "../../surveyStrings";
77
- export { QuestionCustomWidget, CustomWidgetCollection, } from "../../questionCustomWidgets";
78
- export { QuestionCustomModel, QuestionCompositeModel, ComponentQuestionJSON, ComponentCollection, ICustomQuestionTypeConfiguration } from "../../question_custom";
79
- export { StylesManager } from "../../stylesmanager";
80
- export { ListModel } from "../../list";
81
- export { MultiSelectListModel } from "../../multiSelectListModel";
82
- export { PopupModel, createDialogOptions, IDialogOptions } from "../../popup";
83
- export { PopupBaseViewModel } from "../../popup-view-model";
84
- export { PopupDropdownViewModel } from "../../popup-dropdown-view-model";
85
- export { PopupModalViewModel } from "../../popup-modal-view-model";
86
- export { createPopupViewModel, createPopupModalViewModel } from "../../popup-utils";
87
- export { DropdownListModel } from "../../dropdownListModel";
88
- export { DropdownMultiSelectListModel } from "../../dropdownMultiSelectListModel";
89
- export { QuestionButtonGroupModel, ButtonGroupItemModel, ButtonGroupItemValue } from "../../question_buttongroup";
90
- export { IsMobile, IsTouch, _setIsTouch } from "../../utils/devices";
91
- export { confirmAction, confirmActionAsync, detectIEOrEdge, doKey2ClickUp, doKey2ClickDown, doKey2ClickBlur, loadFileFromBase64, increaseHeightByContent, createSvg, chooseFiles, sanitizeEditableContent, IAttachKey2clickOptions } from "../../utils/utils";
92
- export { InputMaskBase } from "../../mask/mask_base";
93
- export { InputMaskPattern } from "../../mask/mask_pattern";
94
- export { InputMaskNumeric } from "../../mask/mask_numeric";
95
- export { InputMaskDateTime } from "../../mask/mask_datetime";
96
- export { InputMaskCurrency } from "../../mask/mask_currency";
97
- export * from "../../utils/cssClassBuilder";
98
- export { surveyCss, defaultV2Css, defaultV2ThemeName } from "../../defaultCss/defaultV2Css";
99
- export { DragDropCore } from "../../dragdrop/core";
100
- export { DragDropChoices } from "../../dragdrop/choices";
101
- export { DragDropRankingSelectToRank } from "../../dragdrop/ranking-select-to-rank";
7
+ export { settings, ISurveyEnvironment } from "../../src/settings";
8
+ export { Helpers, HashTable } from "../../src/helpers";
9
+ export { AnswerCountValidator, EmailValidator, NumericValidator, RegexValidator, SurveyValidator, TextValidator, ValidatorResult, ExpressionValidator, ValidatorRunner } from "../../src/validator";
10
+ export { ItemValue } from "../../src/itemvalue";
11
+ export { Base, Event, EventBase, ArrayChanges, ComputedUpdater } from "../../src/base";
12
+ export { ISurvey, ISurveyElement, IElement, IQuestion, IPage, IPanel, ISurveyData, ITitleOwner, ISurveyLayoutElement, IPlainDataOptions as IPlainData, IShortcutText, ILoadFromJSONOptions, ISaveToJSONOptions, HorizontalAlignment, VerticalAlignment } from "../../src/base-interfaces";
13
+ export { SurveyError } from "../../src/survey-error";
14
+ export { SurveyElementCore, SurveyElement, DragTypeOverMeEnum } from "../../src/survey-element";
15
+ export { CalculatedValue } from "../../src/calculatedValue";
16
+ export { CustomError, AnswerRequiredError, OneAnswerRequiredError, RequreNumericError, ExceedSizeError } from "../../src/error";
17
+ export { ILocalizableOwner, ILocalizableString, LocalizableString, LocalizableStrings } from "../../src/localizablestring";
18
+ export { HtmlConditionItem, UrlConditionItem } from "../../src/expressionItems";
19
+ export { ChoicesRestful, ChoicesRestfull } from "../../src/choicesRestful";
20
+ export { FunctionFactory, registerFunction } from "../../src/functionsfactory";
21
+ export { ConditionRunner, ExpressionRunner, IExpresionExecutor, ExpressionExecutor } from "../../src/conditions";
22
+ export { Operand, Const, BinaryOperand, Variable, FunctionOperand, ArrayOperand, UnaryOperand } from "../../src/expressions/expressions";
23
+ export { ConditionsParser } from "../../src/conditionsParser";
24
+ export { ProcessValue } from "../../src/conditionProcessValue";
25
+ export { JsonError, JsonIncorrectTypeError, JsonMetadata, JsonMetadataClass, JsonMissingTypeError, JsonMissingTypeErrorBase, JsonObject, IJsonPropertyInfo, JsonObjectProperty, JsonRequiredPropertyError, JsonUnknownPropertyError, Serializer, property, propertyArray } from "../../src/jsonobject";
26
+ export { IMatrixDropdownData, MatrixDropdownCell, MatrixDropdownRowModelBase, QuestionMatrixDropdownModelBase } from "../../src/question_matrixdropdownbase";
27
+ export { MatrixDropdownColumn, matrixDropdownColumnTypes } from "../../src/question_matrixdropdowncolumn";
28
+ export { QuestionMatrixDropdownRenderedCell, QuestionMatrixDropdownRenderedRow, QuestionMatrixDropdownRenderedErrorRow, QuestionMatrixDropdownRenderedTable } from "../../src/question_matrixdropdownrendered";
29
+ export { MatrixDropdownRowModel, QuestionMatrixDropdownModel } from "../../src/question_matrixdropdown";
30
+ export { MatrixDynamicRowModel, QuestionMatrixDynamicModel } from "../../src/question_matrixdynamic";
31
+ export { MatrixRowModel, MatrixCells, QuestionMatrixModel, IMatrixData } from "../../src/question_matrix";
32
+ export { QuestionMatrixBaseModel } from "../../src/martixBase";
33
+ export { MultipleTextItemModel, MultipleTextCell, MultipleTextErrorCell, MutlipleTextErrorRow, MutlipleTextRow, QuestionMultipleTextModel, MultipleTextEditorModel } from "../../src/question_multipletext";
34
+ export { PanelModel, PanelModelBase, QuestionRowModel } from "../../src/panel";
35
+ export { FlowPanelModel } from "../../src/flowpanel";
36
+ export { PageModel } from "../../src/page";
37
+ export * from "../../src/template-renderer";
38
+ export { DefaultTitleModel } from "../../src/defaultTitle";
39
+ export { Question } from "../../src/question";
40
+ export { QuestionNonValue } from "../../src/questionnonvalue";
41
+ export { QuestionEmptyModel } from "../../src/question_empty";
42
+ export { QuestionCheckboxBase, QuestionSelectBase } from "../../src/question_baseselect";
43
+ export { QuestionCheckboxModel } from "../../src/question_checkbox";
44
+ export { QuestionTagboxModel } from "../../src/question_tagbox";
45
+ export { QuestionRankingModel } from "../../src/question_ranking";
46
+ export { QuestionCommentModel } from "../../src/question_comment";
47
+ export { QuestionDropdownModel } from "../../src/question_dropdown";
48
+ export { QuestionFactory, ElementFactory } from "../../src/questionfactory";
49
+ export { QuestionFileModel, QuestionFilePage } from "../../src/question_file";
50
+ export { QuestionHtmlModel } from "../../src/question_html";
51
+ export { QuestionRadiogroupModel } from "../../src/question_radiogroup";
52
+ export { QuestionRatingModel, RenderedRatingItem } from "../../src/question_rating";
53
+ export { QuestionExpressionModel } from "../../src/question_expression";
54
+ export { QuestionTextBase, CharacterCounter } from "../../src/question_textbase";
55
+ export { QuestionTextModel } from "../../src/question_text";
56
+ export { QuestionBooleanModel } from "../../src/question_boolean";
57
+ export { QuestionImagePickerModel, ImageItemValue } from "../../src/question_imagepicker";
58
+ export { QuestionImageModel } from "../../src/question_image";
59
+ export { QuestionSignaturePadModel } from "../../src/question_signaturepad";
60
+ export { QuestionPanelDynamicModel, QuestionPanelDynamicItem } from "../../src/question_paneldynamic";
61
+ export { SurveyTimer } from "../../src/surveytimer";
62
+ export { SurveyTimerModel } from "../../src/surveyTimerModel";
63
+ export * from "../../src/surveyToc";
64
+ export { SurveyProgressModel } from "../../src/surveyProgress";
65
+ export { ProgressButtons, ProgressButtonsResponsivityManager, IProgressButtonsViewModel } from "../../src/progress-buttons";
66
+ export * from "../../src/themes";
67
+ export { SurveyModel } from "../../src/survey";
68
+ export * from "../../src/survey-events-api";
69
+ export { SurveyTrigger, SurveyTriggerComplete, SurveyTriggerSetValue, SurveyTriggerVisible, SurveyTriggerCopyValue, SurveyTriggerRunExpression, SurveyTriggerSkip, Trigger } from "../../src/trigger";
70
+ export { PopupSurveyModel, SurveyWindowModel } from "../../src/popup-survey";
71
+ export { TextPreProcessor } from "../../src/textPreProcessor";
72
+ export { Notifier } from "../../src/notifier";
73
+ export { Cover, CoverCell } from "../../src/header";
74
+ export { dxSurveyService } from "../../src/dxSurveyService";
75
+ export { englishStrings } from "../../src/localization/english";
76
+ export { surveyLocalization, surveyStrings, getLocaleString, getLocaleStrings, setupLocale } from "../../src/surveyStrings";
77
+ export { QuestionCustomWidget, CustomWidgetCollection, } from "../../src/questionCustomWidgets";
78
+ export { QuestionCustomModel, QuestionCompositeModel, ComponentQuestionJSON, ComponentCollection, ICustomQuestionTypeConfiguration } from "../../src/question_custom";
79
+ export { ListModel } from "../../src/list";
80
+ export { MultiSelectListModel } from "../../src/multiSelectListModel";
81
+ export { PopupModel, IDialogOptions } from "../../src/popup";
82
+ export { PopupBaseViewModel } from "../../src/popup-view-model";
83
+ export { PopupDropdownViewModel } from "../../src/popup-dropdown-view-model";
84
+ export { PopupModalViewModel } from "../../src/popup-modal-view-model";
85
+ export { createPopupViewModel, createPopupModalViewModel } from "../../src/popup-utils";
86
+ export { DropdownListModel } from "../../src/dropdownListModel";
87
+ export { DropdownMultiSelectListModel } from "../../src/dropdownMultiSelectListModel";
88
+ export { QuestionButtonGroupModel, ButtonGroupItemModel, ButtonGroupItemValue } from "../../src/question_buttongroup";
89
+ export { IsMobile, IsTouch, _setIsTouch } from "../../src/utils/devices";
90
+ export { confirmAction, confirmActionAsync, detectIEOrEdge, doKey2ClickUp, doKey2ClickDown, doKey2ClickBlur, loadFileFromBase64, increaseHeightByContent, createSvg, chooseFiles, sanitizeEditableContent, prepareElementForVerticalAnimation, cleanHtmlElementAfterAnimation, classesToSelector, IAttachKey2clickOptions, renamedIcons, getIconNameFromProxy } from "../../src/utils/utils";
91
+ export { InputMaskBase } from "../../src/mask/mask_base";
92
+ export { InputMaskPattern } from "../../src/mask/mask_pattern";
93
+ export { InputMaskNumeric } from "../../src/mask/mask_numeric";
94
+ export { InputMaskDateTime } from "../../src/mask/mask_datetime";
95
+ export { InputMaskCurrency } from "../../src/mask/mask_currency";
96
+ export * from "../../src/utils/cssClassBuilder";
97
+ export * from "../../src/utils/text-area";
98
+ export { surveyCss, defaultCss, defaultThemeName } from "../../src/defaultCss/defaultCss";
99
+ export { DragDropCore } from "../../src/dragdrop/core";
100
+ export { DragDropChoices } from "../../src/dragdrop/choices";
101
+ export { DragDropRankingSelectToRank } from "../../src/dragdrop/ranking-select-to-rank";
@@ -0,0 +1,2 @@
1
+ export * from "./chunks/core-wo-model";
2
+ export { SurveyModel as Model } from "../src/survey";
@@ -168,7 +168,8 @@ export interface ISurvey extends ITextProcessor, ISurveyErrorOwner {
168
168
  dynamicPanelAdded(question: IQuestion, panelIndex?: number, panel?: IPanel): void;
169
169
  dynamicPanelRemoved(question: IQuestion, panelIndex: number, panel: IPanel): void;
170
170
  dynamicPanelRemoving(question: IQuestion, panelIndex: number, panel: IPanel): boolean;
171
- dynamicPanelItemValueChanged(question: IQuestion, options: any): any;
171
+ dynamicPanelItemValueChanged(question: IQuestion, options: any): void;
172
+ dynamicPanelItemValueChanging(question: IQuestion, options: any): void;
172
173
  dynamicPanelGetTabTitle(question: IQuestion, options: any): any;
173
174
  dynamicPanelCurrentIndexChanged(question: IQuestion, options: any): void;
174
175
  dragAndDropAllow(options: DragDropAllowEvent): boolean;
@@ -128,7 +128,7 @@ export declare class PanelModelBase extends SurveyElement<Question> implements I
128
128
  set questionsOrder(val: string);
129
129
  private canRandomize;
130
130
  protected isRandomizing: boolean;
131
- randomizeElements(isRandom: boolean): void;
131
+ randomizeElements(isRandom: boolean): boolean;
132
132
  /**
133
133
  * Returns `true` if elements in this panel/page are arranged in random order.
134
134
  * @see questionsOrder
@@ -265,6 +265,7 @@ export declare class PanelModelBase extends SurveyElement<Question> implements I
265
265
  protected getContainsErrors(): boolean;
266
266
  updateElementVisibility(): void;
267
267
  getFirstQuestionToFocus(withError?: boolean, ignoreCollapseState?: boolean): Question;
268
+ getFirstVisibleQuestion(): Question;
268
269
  /**
269
270
  * Focuses the first question in this panel/page.
270
271
  * @see focusFirstErrorQuestion
@@ -434,6 +434,9 @@ export declare class QuestionCompositeModel extends QuestionCustomModelBase {
434
434
  protected getQuestionByName(name: string): IQuestion;
435
435
  private settingNewValue;
436
436
  setValue(name: string, newValue: any, locNotification: any, allowNotifyValueChanged?: boolean): any;
437
+ setComment(name: string, newValue: string, locNotification: any): any;
438
+ getComment(name: string): string;
439
+ private getCommentName;
437
440
  private runPanelTriggers;
438
441
  getFilteredValues(): any;
439
442
  private updateValueCoreWithPanelValue;
@@ -181,7 +181,7 @@ export interface CurrentPageChangedEvent {
181
181
  */
182
182
  isNextPage: boolean;
183
183
  /**
184
- * Returns `true` if the respondent is going backward, that is, `newCurrentPage` is earlier in the survey than `oldCurrentPage`.
184
+ * Returns `true` if the respondent is going backward, that is, `newCurrentPage` or `newCurrentQuestion` is earlier in the survey than `oldCurrentPage` or `oldCurrentQuestion`.
185
185
  */
186
186
  isGoingBackward: boolean;
187
187
  /**
@@ -197,9 +197,20 @@ export interface CurrentPageChangedEvent {
197
197
  */
198
198
  newCurrentPage: PageModel;
199
199
  /**
200
- * A page that used to be current.
200
+ * A page that used to be current.\
201
+ * In [question-per-page mode](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#questionsOnPageMode), the `oldCurrentPage` and `newCurrentPage` parameters may contain the same `PageModel` instance. This is because the survey doesn't create artificial pages to display only one question per page. If both the previous and current questions belong to the same page in the survey JSON schema, they have the same parent `PageModel` instance.
201
202
  */
202
203
  oldCurrentPage: PageModel;
204
+ /**
205
+ * The current question.\
206
+ * This parameter has a value only in [question-per-page mode](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#questionsOnPageMode).
207
+ */
208
+ oldCurrentQuestion?: Question;
209
+ /**
210
+ * A question that used to be current.\
211
+ * This parameter has a value only in [question-per-page mode](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#questionsOnPageMode).
212
+ */
213
+ newCurrentQuestion?: Question;
203
214
  }
204
215
  export interface CurrentPageChangingEvent extends CurrentPageChangedEvent {
205
216
  /**
@@ -891,7 +902,7 @@ export interface TimerPanelInfoTextEvent {
891
902
  */
892
903
  text: string;
893
904
  }
894
- export interface DynamicPanelItemValueChangedEvent extends PanelDynamicQuestionEventMixin {
905
+ export interface DynamicPanelValueChangedEvent extends PanelDynamicQuestionEventMixin {
895
906
  /**
896
907
  * The panel's data object that includes all item values.
897
908
  */
@@ -902,10 +913,6 @@ export interface DynamicPanelItemValueChangedEvent extends PanelDynamicQuestionE
902
913
  * The panel's index within Dynamic Panel.
903
914
  */
904
915
  panelIndex: number;
905
- /**
906
- * The item's new value.
907
- */
908
- value: any;
909
916
  /**
910
917
  * The item's name.
911
918
  */
@@ -914,6 +921,18 @@ export interface DynamicPanelItemValueChangedEvent extends PanelDynamicQuestionE
914
921
  * A panel that nests the item with a changed value.
915
922
  */
916
923
  panel: PanelModel;
924
+ /**
925
+ * The item's new value.
926
+ */
927
+ value: any;
928
+ }
929
+ export interface DynamicPanelValueChangingEvent extends DynamicPanelValueChangedEvent {
930
+ /**
931
+ * The item's old value.
932
+ */
933
+ oldValue: any;
934
+ }
935
+ export interface DynamicPanelItemValueChangedEvent extends DynamicPanelValueChangedEvent {
917
936
  }
918
937
  export interface DynamicPanelCurrentIndexChangedEvent extends PanelDynamicQuestionEventMixin {
919
938
  /**
@@ -18,7 +18,7 @@ import { IAction, Action } from "./actions/action";
18
18
  import { ActionContainer } from "./actions/container";
19
19
  import { QuestionPanelDynamicModel } from "./question_paneldynamic";
20
20
  import { Notifier } from "./notifier";
21
- import { TriggerExecutedEvent, CompletingEvent, CompleteEvent, ShowingPreviewEvent, NavigateToUrlEvent, CurrentPageChangingEvent, CurrentPageChangedEvent, ValueChangingEvent, ValueChangedEvent, VariableChangedEvent, QuestionVisibleChangedEvent, PageVisibleChangedEvent, PanelVisibleChangedEvent, QuestionCreatedEvent, QuestionAddedEvent, QuestionRemovedEvent, PanelAddedEvent, PanelRemovedEvent, PageAddedEvent, ValidateQuestionEvent, SettingQuestionErrorsEvent, ValidatePanelEvent, ErrorCustomTextEvent, ValidatedErrorsOnCurrentPageEvent, ProcessHtmlEvent, GetQuestionTitleEvent, GetTitleTagNameEvent, GetQuestionNumberEvent, GetPageNumberEvent, GetPanelNumberEvent, GetProgressTextEvent, TextMarkdownEvent, SendResultEvent, GetResultEvent, UploadFilesEvent, DownloadFileEvent, ClearFilesEvent, LoadChoicesFromServerEvent, ProcessTextValueEvent, UpdateQuestionCssClassesEvent, UpdatePanelCssClassesEvent, UpdatePageCssClassesEvent, UpdateChoiceItemCssEvent, AfterRenderSurveyEvent, AfterRenderPageEvent, AfterRenderQuestionEvent, AfterRenderQuestionInputEvent, AfterRenderPanelEvent, FocusInQuestionEvent, FocusInPanelEvent, ShowingChoiceItemEvent, ChoicesLazyLoadEvent, GetChoiceDisplayValueEvent, MatrixRowAddedEvent, MatrixBeforeRowAddedEvent, MatrixRowRemovingEvent, MatrixRowRemovedEvent, MatrixAllowRemoveRowEvent, MatrixDetailPanelVisibleChangedEvent, MatrixCellCreatingEvent, MatrixCellCreatedEvent, MatrixAfterCellRenderEvent, MatrixCellValueChangedEvent, MatrixCellValueChangingEvent, MatrixCellValidateEvent, DynamicPanelModifiedEvent, DynamicPanelRemovingEvent, DynamicPanelItemValueChangedEvent, DynamicPanelGetTabTitleEvent, DynamicPanelCurrentIndexChangedEvent, CheckAnswerCorrectEvent, DragDropAllowEvent, ScrollToTopEvent, GetQuestionTitleActionsEvent, GetPanelTitleActionsEvent, GetPageTitleActionsEvent, GetPanelFooterActionsEvent, GetMatrixRowActionsEvent, GetExpressionDisplayValueEvent, ServerValidateQuestionsEvent, MultipleTextItemAddedEvent, MatrixColumnAddedEvent, GetQuestionDisplayValueEvent, PopupVisibleChangedEvent, ChoicesSearchEvent, OpenFileChooserEvent, OpenDropdownMenuEvent, ResizeEvent, ProgressTextEvent, ScrollingElementToTopEvent, IsAnswerCorrectEvent } from "./survey-events-api";
21
+ import { TriggerExecutedEvent, CompletingEvent, CompleteEvent, ShowingPreviewEvent, NavigateToUrlEvent, CurrentPageChangingEvent, CurrentPageChangedEvent, ValueChangingEvent, ValueChangedEvent, VariableChangedEvent, QuestionVisibleChangedEvent, PageVisibleChangedEvent, PanelVisibleChangedEvent, QuestionCreatedEvent, QuestionAddedEvent, QuestionRemovedEvent, PanelAddedEvent, PanelRemovedEvent, PageAddedEvent, ValidateQuestionEvent, SettingQuestionErrorsEvent, ValidatePanelEvent, ErrorCustomTextEvent, ValidatedErrorsOnCurrentPageEvent, ProcessHtmlEvent, GetQuestionTitleEvent, GetTitleTagNameEvent, GetQuestionNumberEvent, GetPageNumberEvent, GetPanelNumberEvent, GetProgressTextEvent, TextMarkdownEvent, SendResultEvent, GetResultEvent, UploadFilesEvent, DownloadFileEvent, ClearFilesEvent, LoadChoicesFromServerEvent, ProcessTextValueEvent, UpdateQuestionCssClassesEvent, UpdatePanelCssClassesEvent, UpdatePageCssClassesEvent, UpdateChoiceItemCssEvent, AfterRenderSurveyEvent, AfterRenderPageEvent, AfterRenderQuestionEvent, AfterRenderQuestionInputEvent, AfterRenderPanelEvent, FocusInQuestionEvent, FocusInPanelEvent, ShowingChoiceItemEvent, ChoicesLazyLoadEvent, GetChoiceDisplayValueEvent, MatrixRowAddedEvent, MatrixBeforeRowAddedEvent, MatrixRowRemovingEvent, MatrixRowRemovedEvent, MatrixAllowRemoveRowEvent, MatrixDetailPanelVisibleChangedEvent, MatrixCellCreatingEvent, MatrixCellCreatedEvent, MatrixAfterCellRenderEvent, MatrixCellValueChangedEvent, MatrixCellValueChangingEvent, MatrixCellValidateEvent, DynamicPanelModifiedEvent, DynamicPanelRemovingEvent, DynamicPanelItemValueChangedEvent, DynamicPanelValueChangingEvent, DynamicPanelGetTabTitleEvent, DynamicPanelCurrentIndexChangedEvent, CheckAnswerCorrectEvent, DragDropAllowEvent, ScrollToTopEvent, GetQuestionTitleActionsEvent, GetPanelTitleActionsEvent, GetPageTitleActionsEvent, GetPanelFooterActionsEvent, GetMatrixRowActionsEvent, GetExpressionDisplayValueEvent, ServerValidateQuestionsEvent, MultipleTextItemAddedEvent, MatrixColumnAddedEvent, GetQuestionDisplayValueEvent, PopupVisibleChangedEvent, ChoicesSearchEvent, OpenFileChooserEvent, OpenDropdownMenuEvent, ResizeEvent, ProgressTextEvent, ScrollingElementToTopEvent, IsAnswerCorrectEvent } from "./survey-events-api";
22
22
  import { QuestionMatrixDropdownModelBase } from "./question_matrixdropdownbase";
23
23
  import { QuestionMatrixDynamicModel } from "./question_matrixdynamic";
24
24
  import { QuestionFileModel } from "./question_file";
@@ -141,7 +141,7 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
141
141
  *
142
142
  * For information on event handler parameters, refer to descriptions within the interface.
143
143
  *
144
- * To handle value changes in matrix cells or panels within a [Dynamic Panel](https://surveyjs.io/form-library/documentation/api-reference/dynamic-panel-model), use the [`onMatrixCellValueChanged`](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#onMatrixCellValueChanged) or [`onDynamicPanelItemValueChanged`](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#onDynamicPanelItemValueChanged) event.
144
+ * To handle value changes in matrix cells or panels within a [Dynamic Panel](https://surveyjs.io/form-library/documentation/api-reference/dynamic-panel-model), use the [`onMatrixCellValueChanged`](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#onMatrixCellValueChanged) or [`onDynamicPanelValueChanged`](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#onDynamicPanelValueChanged) event.
145
145
  * @see setValue
146
146
  */
147
147
  onValueChanged: EventBase<SurveyModel, ValueChangedEvent>;
@@ -669,9 +669,17 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
669
669
  onTimer: EventBase<SurveyModel, {}>;
670
670
  onTimerPanelInfoText: EventBase<SurveyModel, any>;
671
671
  /**
672
- * An event that is raised after an item value is changed in a panel within a [Dynamic Panel](https://surveyjs.io/form-library/examples/questiontype-paneldynamic/) question.
672
+ * An event that is raised after a value is changed in a panel within a [Dynamic Panel](https://surveyjs.io/form-library/examples/questiontype-paneldynamic/) question.
673
+ */
674
+ onDynamicPanelValueChanged: EventBase<SurveyModel, DynamicPanelItemValueChangedEvent>;
675
+ /**
676
+ * @deprecated Use the [`onDynamicPanelValueChanged`](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#onDynamicPanelValueChanged) event instead.
673
677
  */
674
678
  onDynamicPanelItemValueChanged: EventBase<SurveyModel, DynamicPanelItemValueChangedEvent>;
679
+ /**
680
+ * An event that is raised before a value is changed in a panel within a [Dynamic Panel](https://surveyjs.io/form-library/examples/questiontype-paneldynamic/) question.
681
+ */
682
+ onDynamicPanelValueChanging: EventBase<SurveyModel, DynamicPanelValueChangingEvent>;
675
683
  /**
676
684
  * An event that is raised before a [Dynamic Panel](https://surveyjs.io/form-library/examples/questiontype-paneldynamic/) renders [tab titles](https://surveyjs.io/form-library/documentation/api-reference/dynamic-panel-model#templateTabTitle). Use this event to change individual tab titles.
677
685
  *
@@ -1903,7 +1911,8 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
1903
1911
  mergeValues(src: any, dest: any): void;
1904
1912
  private updateValuesWithDefaults;
1905
1913
  protected updateCustomWidgets(page: PageModel): void;
1906
- protected currentPageChanging(newValue: PageModel, oldValue: PageModel): boolean;
1914
+ protected currentPageChanging(newValue: PageModel, oldValue: PageModel, newQuestion?: Question, oldQuestion?: Question): boolean;
1915
+ private currentPageChangingFromOptions;
1907
1916
  protected currentPageChanged(newValue: PageModel, oldValue: PageModel): void;
1908
1917
  private notifyQuestionsOnHidingContent;
1909
1918
  private createPageChangeEventOptions;
@@ -1998,6 +2007,7 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
1998
2007
  performNext(): boolean;
1999
2008
  performPrevious(): boolean;
2000
2009
  private hasErrorsOnNavigate;
2010
+ private canGoTroughValidation;
2001
2011
  private asyncValidationQuesitons;
2002
2012
  private checkForAsyncQuestionValidation;
2003
2013
  private clearAsyncValidationQuesitons;
@@ -2111,7 +2121,7 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
2111
2121
  * Possible values:
2112
2122
  *
2113
2123
  * - `"singlePage"` - Combines all survey pages into a single page.
2114
- * - `"questionPerPage"` - Creates a separate page for every question.
2124
+ * - `"questionPerPage"` - Displays each question on a separate page.
2115
2125
  * - `"standard"` (default) - Retains the original structure specified in the JSON schema.
2116
2126
  */
2117
2127
  get questionsOnPageMode(): string;
@@ -2321,6 +2331,7 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
2321
2331
  private hasQuestionVisibleIndeces;
2322
2332
  dynamicPanelRemoving(question: QuestionPanelDynamicModel, panelIndex: number, panel: PanelModel): boolean;
2323
2333
  dynamicPanelItemValueChanged(question: IQuestion, options: any): void;
2334
+ dynamicPanelItemValueChanging(question: IQuestion, options: any): void;
2324
2335
  dynamicPanelGetTabTitle(question: IQuestion, options: any): void;
2325
2336
  dynamicPanelCurrentIndexChanged(question: IQuestion, options: any): void;
2326
2337
  dragAndDropAllow(options: DragDropAllowEvent): boolean;