survey-core 1.11.12 → 1.11.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (310) hide show
  1. package/defaultV2.css +209 -210
  2. package/defaultV2.css.map +1 -1
  3. package/defaultV2.fontless.css +209 -210
  4. package/defaultV2.fontless.css.map +1 -1
  5. package/defaultV2.fontless.min.css +2 -2
  6. package/defaultV2.min.css +2 -2
  7. package/i18n/arabic.js +2 -4
  8. package/i18n/arabic.js.map +1 -1
  9. package/i18n/arabic.min.js +2 -2
  10. package/i18n/basque.js +2 -3
  11. package/i18n/basque.js.map +1 -1
  12. package/i18n/basque.min.js +2 -2
  13. package/i18n/bulgarian.js +2 -3
  14. package/i18n/bulgarian.js.map +1 -1
  15. package/i18n/bulgarian.min.js +2 -2
  16. package/i18n/catalan.js +2 -3
  17. package/i18n/catalan.js.map +1 -1
  18. package/i18n/catalan.min.js +2 -2
  19. package/i18n/croatian.js +2 -3
  20. package/i18n/croatian.js.map +1 -1
  21. package/i18n/croatian.min.js +2 -2
  22. package/i18n/czech.js +2 -3
  23. package/i18n/czech.js.map +1 -1
  24. package/i18n/czech.min.js +2 -2
  25. package/i18n/danish.js +2 -3
  26. package/i18n/danish.js.map +1 -1
  27. package/i18n/danish.min.js +2 -2
  28. package/i18n/dutch.js +2 -3
  29. package/i18n/dutch.js.map +1 -1
  30. package/i18n/dutch.min.js +2 -2
  31. package/i18n/english.js +3 -3
  32. package/i18n/english.js.map +1 -1
  33. package/i18n/english.min.js +2 -2
  34. package/i18n/estonian.js +2 -3
  35. package/i18n/estonian.js.map +1 -1
  36. package/i18n/estonian.min.js +2 -2
  37. package/i18n/finnish.js +2 -3
  38. package/i18n/finnish.js.map +1 -1
  39. package/i18n/finnish.min.js +2 -2
  40. package/i18n/french.js +2 -3
  41. package/i18n/french.js.map +1 -1
  42. package/i18n/french.min.js +2 -2
  43. package/i18n/georgian.js +2 -3
  44. package/i18n/georgian.js.map +1 -1
  45. package/i18n/georgian.min.js +2 -2
  46. package/i18n/german.js +2 -3
  47. package/i18n/german.js.map +1 -1
  48. package/i18n/german.min.js +2 -2
  49. package/i18n/greek.js +2 -3
  50. package/i18n/greek.js.map +1 -1
  51. package/i18n/greek.min.js +2 -2
  52. package/i18n/hebrew.js +2 -3
  53. package/i18n/hebrew.js.map +1 -1
  54. package/i18n/hebrew.min.js +2 -2
  55. package/i18n/hindi.js +2 -3
  56. package/i18n/hindi.js.map +1 -1
  57. package/i18n/hindi.min.js +2 -2
  58. package/i18n/hungarian.js +2 -3
  59. package/i18n/hungarian.js.map +1 -1
  60. package/i18n/hungarian.min.js +2 -2
  61. package/i18n/icelandic.js +2 -3
  62. package/i18n/icelandic.js.map +1 -1
  63. package/i18n/icelandic.min.js +2 -2
  64. package/i18n/index.js +51 -102
  65. package/i18n/index.js.map +1 -1
  66. package/i18n/index.min.js +2 -2
  67. package/i18n/indonesian.js +2 -3
  68. package/i18n/indonesian.js.map +1 -1
  69. package/i18n/indonesian.min.js +2 -2
  70. package/i18n/italian.js +2 -3
  71. package/i18n/italian.js.map +1 -1
  72. package/i18n/italian.min.js +2 -2
  73. package/i18n/japanese.js +2 -3
  74. package/i18n/japanese.js.map +1 -1
  75. package/i18n/japanese.min.js +2 -2
  76. package/i18n/kazakh.js +2 -3
  77. package/i18n/kazakh.js.map +1 -1
  78. package/i18n/kazakh.min.js +2 -2
  79. package/i18n/korean.js +2 -3
  80. package/i18n/korean.js.map +1 -1
  81. package/i18n/korean.min.js +2 -2
  82. package/i18n/latvian.js +2 -3
  83. package/i18n/latvian.js.map +1 -1
  84. package/i18n/latvian.min.js +2 -2
  85. package/i18n/lithuanian.js +2 -3
  86. package/i18n/lithuanian.js.map +1 -1
  87. package/i18n/lithuanian.min.js +2 -2
  88. package/i18n/macedonian.js +2 -3
  89. package/i18n/macedonian.js.map +1 -1
  90. package/i18n/macedonian.min.js +2 -2
  91. package/i18n/malay.js +2 -3
  92. package/i18n/malay.js.map +1 -1
  93. package/i18n/malay.min.js +2 -2
  94. package/i18n/nl-BE.js +3 -5
  95. package/i18n/nl-BE.js.map +1 -1
  96. package/i18n/nl-BE.min.js +2 -2
  97. package/i18n/norwegian.js +2 -3
  98. package/i18n/norwegian.js.map +1 -1
  99. package/i18n/norwegian.min.js +2 -2
  100. package/i18n/persian.js +2 -3
  101. package/i18n/persian.js.map +1 -1
  102. package/i18n/persian.min.js +2 -2
  103. package/i18n/philippines.js +2 -3
  104. package/i18n/philippines.js.map +1 -1
  105. package/i18n/philippines.min.js +2 -2
  106. package/i18n/polish.js +2 -3
  107. package/i18n/polish.js.map +1 -1
  108. package/i18n/polish.min.js +2 -2
  109. package/i18n/portuguese-br.js +2 -3
  110. package/i18n/portuguese-br.js.map +1 -1
  111. package/i18n/portuguese-br.min.js +2 -2
  112. package/i18n/portuguese.js +2 -3
  113. package/i18n/portuguese.js.map +1 -1
  114. package/i18n/portuguese.min.js +2 -2
  115. package/i18n/romanian.js +2 -3
  116. package/i18n/romanian.js.map +1 -1
  117. package/i18n/romanian.min.js +2 -2
  118. package/i18n/russian.js +2 -3
  119. package/i18n/russian.js.map +1 -1
  120. package/i18n/russian.min.js +2 -2
  121. package/i18n/serbian.js +2 -3
  122. package/i18n/serbian.js.map +1 -1
  123. package/i18n/serbian.min.js +2 -2
  124. package/i18n/simplified-chinese.js +2 -3
  125. package/i18n/simplified-chinese.js.map +1 -1
  126. package/i18n/simplified-chinese.min.js +2 -2
  127. package/i18n/slovak.js +2 -3
  128. package/i18n/slovak.js.map +1 -1
  129. package/i18n/slovak.min.js +2 -2
  130. package/i18n/spanish.js +2 -3
  131. package/i18n/spanish.js.map +1 -1
  132. package/i18n/spanish.min.js +2 -2
  133. package/i18n/swahili.js +2 -3
  134. package/i18n/swahili.js.map +1 -1
  135. package/i18n/swahili.min.js +2 -2
  136. package/i18n/swedish.js +2 -3
  137. package/i18n/swedish.js.map +1 -1
  138. package/i18n/swedish.min.js +2 -2
  139. package/i18n/tajik.js +2 -3
  140. package/i18n/tajik.js.map +1 -1
  141. package/i18n/tajik.min.js +2 -2
  142. package/i18n/telugu.js +2 -3
  143. package/i18n/telugu.js.map +1 -1
  144. package/i18n/telugu.min.js +2 -2
  145. package/i18n/thai.js +2 -3
  146. package/i18n/thai.js.map +1 -1
  147. package/i18n/thai.min.js +2 -2
  148. package/i18n/traditional-chinese.js +2 -3
  149. package/i18n/traditional-chinese.js.map +1 -1
  150. package/i18n/traditional-chinese.min.js +2 -2
  151. package/i18n/turkish.js +2 -3
  152. package/i18n/turkish.js.map +1 -1
  153. package/i18n/turkish.min.js +2 -2
  154. package/i18n/ukrainian.js +2 -3
  155. package/i18n/ukrainian.js.map +1 -1
  156. package/i18n/ukrainian.min.js +2 -2
  157. package/i18n/urdu.js +2 -3
  158. package/i18n/urdu.js.map +1 -1
  159. package/i18n/urdu.min.js +2 -2
  160. package/i18n/vietnamese.js +2 -3
  161. package/i18n/vietnamese.js.map +1 -1
  162. package/i18n/vietnamese.min.js +2 -2
  163. package/i18n/welsh.js +2 -3
  164. package/i18n/welsh.js.map +1 -1
  165. package/i18n/welsh.min.js +2 -2
  166. package/modern.css +1 -1
  167. package/modern.fontless.css +1 -1
  168. package/modern.fontless.min.css +1 -1
  169. package/modern.min.css +1 -1
  170. package/package.json +1 -1
  171. package/plugins/bootstrap-integration/index.js +1 -1
  172. package/plugins/bootstrap-integration/index.min.js +1 -1
  173. package/plugins/bootstrap-material-integration/index.js +1 -1
  174. package/plugins/bootstrap-material-integration/index.min.js +1 -1
  175. package/survey.core.js +454 -219
  176. package/survey.core.js.map +1 -1
  177. package/survey.core.min.js +3 -3
  178. package/survey.css +1 -1
  179. package/survey.i18n.js +51 -102
  180. package/survey.i18n.js.map +1 -1
  181. package/survey.i18n.min.js +2 -2
  182. package/survey.min.css +1 -1
  183. package/themes/borderless-dark-panelless.js +1 -1
  184. package/themes/borderless-dark-panelless.min.js +1 -1
  185. package/themes/borderless-dark.js +1 -1
  186. package/themes/borderless-dark.min.js +1 -1
  187. package/themes/borderless-light-panelless..js +1 -1
  188. package/themes/borderless-light-panelless..min.js +1 -1
  189. package/themes/borderless-light.js +1 -1
  190. package/themes/borderless-light.min.js +1 -1
  191. package/themes/contrast-dark-panelless.js +1 -1
  192. package/themes/contrast-dark-panelless.min.js +1 -1
  193. package/themes/contrast-dark.js +1 -1
  194. package/themes/contrast-dark.min.js +1 -1
  195. package/themes/contrast-light-panelless.js +1 -1
  196. package/themes/contrast-light-panelless.min.js +1 -1
  197. package/themes/contrast-light.js +1 -1
  198. package/themes/contrast-light.min.js +1 -1
  199. package/themes/default-dark-panelless.js +1 -1
  200. package/themes/default-dark-panelless.min.js +1 -1
  201. package/themes/default-dark.js +1 -1
  202. package/themes/default-dark.min.js +1 -1
  203. package/themes/default-light-panelless.js +1 -1
  204. package/themes/default-light-panelless.min.js +1 -1
  205. package/themes/default-light.js +1 -1
  206. package/themes/default-light.min.js +1 -1
  207. package/themes/doubleborder-dark-panelless.js +1 -1
  208. package/themes/doubleborder-dark-panelless.min.js +1 -1
  209. package/themes/doubleborder-dark.js +1 -1
  210. package/themes/doubleborder-dark.min.js +1 -1
  211. package/themes/doubleborder-light-panelles.js +1 -1
  212. package/themes/doubleborder-light-panelles.min.js +1 -1
  213. package/themes/doubleborder-light.js +1 -1
  214. package/themes/doubleborder-light.min.js +1 -1
  215. package/themes/flat-dark-panelless.js +1 -1
  216. package/themes/flat-dark-panelless.min.js +1 -1
  217. package/themes/flat-dark.js +1 -1
  218. package/themes/flat-dark.min.js +1 -1
  219. package/themes/flat-light-panelless.js +1 -1
  220. package/themes/flat-light-panelless.min.js +1 -1
  221. package/themes/flat-light.js +1 -1
  222. package/themes/flat-light.min.js +1 -1
  223. package/themes/index.js +1 -1
  224. package/themes/index.min.js +1 -1
  225. package/themes/layered-dark-panelless.js +1 -1
  226. package/themes/layered-dark-panelless.min.js +1 -1
  227. package/themes/layered-dark.js +1 -1
  228. package/themes/layered-dark.min.js +1 -1
  229. package/themes/layered-light-panelless.js +1 -1
  230. package/themes/layered-light-panelless.min.js +1 -1
  231. package/themes/layered-light.js +1 -1
  232. package/themes/layered-light.min.js +1 -1
  233. package/themes/plain-dark-panelless.js +1 -1
  234. package/themes/plain-dark-panelless.min.js +1 -1
  235. package/themes/plain-dark.js +1 -1
  236. package/themes/plain-dark.min.js +1 -1
  237. package/themes/plain-light-panelless.js +1 -1
  238. package/themes/plain-light-panelless.min.js +1 -1
  239. package/themes/plain-light.js +1 -1
  240. package/themes/plain-light.min.js +1 -1
  241. package/themes/sharp-dark-panelless.js +1 -1
  242. package/themes/sharp-dark-panelless.min.js +1 -1
  243. package/themes/sharp-dark.js +1 -1
  244. package/themes/sharp-dark.min.js +1 -1
  245. package/themes/sharp-light-panelless.js +1 -1
  246. package/themes/sharp-light-panelless.min.js +1 -1
  247. package/themes/sharp-light.js +1 -1
  248. package/themes/sharp-light.min.js +1 -1
  249. package/themes/solid-dark-panelless.js +1 -1
  250. package/themes/solid-dark-panelless.min.js +1 -1
  251. package/themes/solid-dark.js +1 -1
  252. package/themes/solid-dark.min.js +1 -1
  253. package/themes/solid-light-panelless.js +1 -1
  254. package/themes/solid-light-panelless.min.js +1 -1
  255. package/themes/solid-light.js +1 -1
  256. package/themes/solid-light.min.js +1 -1
  257. package/themes/three-dimensional-dark-panelless.js +1 -1
  258. package/themes/three-dimensional-dark-panelless.min.js +1 -1
  259. package/themes/three-dimensional-dark.js +1 -1
  260. package/themes/three-dimensional-dark.min.js +1 -1
  261. package/themes/three-dimensional-light-panelless.js +1 -1
  262. package/themes/three-dimensional-light-panelless.min.js +1 -1
  263. package/themes/three-dimensional-light.js +1 -1
  264. package/themes/three-dimensional-light.min.js +1 -1
  265. package/ts3.4/typings/packages/survey-core/src/actions/action.d.ts +1 -1
  266. package/ts3.4/typings/packages/survey-core/src/conditions.d.ts +4 -0
  267. package/ts3.4/typings/packages/survey-core/src/defaultCss/defaultV2Css.d.ts +1 -0
  268. package/ts3.4/typings/packages/survey-core/src/expressions/expressions.d.ts +11 -5
  269. package/ts3.4/typings/packages/survey-core/src/jsonobject.d.ts +1 -0
  270. package/ts3.4/typings/packages/survey-core/src/list.d.ts +1 -0
  271. package/ts3.4/typings/packages/survey-core/src/localization/english.d.ts +1 -0
  272. package/ts3.4/typings/packages/survey-core/src/martixBase.d.ts +11 -0
  273. package/ts3.4/typings/packages/survey-core/src/question.d.ts +6 -3
  274. package/ts3.4/typings/packages/survey-core/src/question_baseselect.d.ts +0 -3
  275. package/ts3.4/typings/packages/survey-core/src/question_checkbox.d.ts +2 -0
  276. package/ts3.4/typings/packages/survey-core/src/question_file.d.ts +1 -0
  277. package/ts3.4/typings/packages/survey-core/src/question_matrixdropdownbase.d.ts +1 -0
  278. package/ts3.4/typings/packages/survey-core/src/question_matrixdropdownrendered.d.ts +1 -0
  279. package/ts3.4/typings/packages/survey-core/src/question_multipletext.d.ts +9 -0
  280. package/ts3.4/typings/packages/survey-core/src/question_paneldynamic.d.ts +61 -51
  281. package/ts3.4/typings/packages/survey-core/src/question_tagbox.d.ts +3 -0
  282. package/ts3.4/typings/packages/survey-core/src/question_text.d.ts +9 -0
  283. package/ts3.4/typings/packages/survey-core/src/settings.d.ts +1 -1
  284. package/ts3.4/typings/packages/survey-core/src/survey-events-api.d.ts +22 -12
  285. package/ts3.4/typings/packages/survey-core/src/survey.d.ts +11 -36
  286. package/ts3.4/typings/packages/survey-core/src/surveyStrings.d.ts +8 -0
  287. package/ts3.4/typings/packages/survey-core/src/utils/camera.d.ts +2 -2
  288. package/typings/packages/survey-core/src/actions/action.d.ts +1 -1
  289. package/typings/packages/survey-core/src/conditions.d.ts +4 -0
  290. package/typings/packages/survey-core/src/defaultCss/defaultV2Css.d.ts +1 -0
  291. package/typings/packages/survey-core/src/expressions/expressions.d.ts +11 -5
  292. package/typings/packages/survey-core/src/jsonobject.d.ts +1 -0
  293. package/typings/packages/survey-core/src/list.d.ts +1 -0
  294. package/typings/packages/survey-core/src/localization/english.d.ts +1 -0
  295. package/typings/packages/survey-core/src/martixBase.d.ts +12 -0
  296. package/typings/packages/survey-core/src/question.d.ts +7 -3
  297. package/typings/packages/survey-core/src/question_baseselect.d.ts +0 -3
  298. package/typings/packages/survey-core/src/question_checkbox.d.ts +2 -0
  299. package/typings/packages/survey-core/src/question_file.d.ts +1 -0
  300. package/typings/packages/survey-core/src/question_matrixdropdownbase.d.ts +1 -0
  301. package/typings/packages/survey-core/src/question_matrixdropdownrendered.d.ts +1 -0
  302. package/typings/packages/survey-core/src/question_multipletext.d.ts +9 -0
  303. package/typings/packages/survey-core/src/question_paneldynamic.d.ts +60 -50
  304. package/typings/packages/survey-core/src/question_tagbox.d.ts +3 -0
  305. package/typings/packages/survey-core/src/question_text.d.ts +9 -0
  306. package/typings/packages/survey-core/src/settings.d.ts +1 -1
  307. package/typings/packages/survey-core/src/survey-events-api.d.ts +22 -12
  308. package/typings/packages/survey-core/src/survey.d.ts +11 -36
  309. package/typings/packages/survey-core/src/surveyStrings.d.ts +8 -0
  310. package/typings/packages/survey-core/src/utils/camera.d.ts +2 -2
@@ -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, GetQuestionNoEvent, ProgressTextEvent, TextMarkdownEvent, TextRenderAsEvent, SendResultEvent, GetResultEvent, UploadFilesEvent, DownloadFileEvent, ClearFilesEvent, LoadChoicesFromServerEvent, ProcessTextValueEvent, UpdateQuestionCssClassesEvent, UpdatePanelCssClassesEvent, UpdatePageCssClassesEvent, UpdateChoiceItemCssEvent, AfterRenderSurveyEvent, AfterRenderHeaderEvent, AfterRenderPageEvent, AfterRenderQuestionEvent, AfterRenderQuestionInputEvent, AfterRenderPanelEvent, FocusInQuestionEvent, FocusInPanelEvent, ShowingChoiceItemEvent, ChoicesLazyLoadEvent, GetChoiceDisplayValueEvent, MatrixRowAddedEvent, MatrixBeforeRowAddedEvent, MatrixRowRemovingEvent, MatrixRowRemovedEvent, MatrixAllowRemoveRowEvent, MatrixDetailPanelVisibleChangedEvent, MatrixCellCreatingEvent, MatrixCellCreatedEvent, MatrixAfterCellRenderEvent, MatrixCellValueChangedEvent, MatrixCellValueChangingEvent, MatrixCellValidateEvent, DynamicPanelModifiedEvent, DynamicPanelRemovingEvent, TimerPanelInfoTextEvent, DynamicPanelItemValueChangedEvent, DynamicPanelGetTabTitleEvent, DynamicPanelCurrentIndexChangedEvent, IsAnswerCorrectEvent, DragDropAllowEvent, ScrollingElementToTopEvent, GetQuestionTitleActionsEvent, GetPanelTitleActionsEvent, GetPageTitleActionsEvent, GetPanelFooterActionsEvent, GetMatrixRowActionsEvent, ElementContentVisibilityChangedEvent, GetExpressionDisplayValueEvent, ServerValidateQuestionsEvent, MultipleTextItemAddedEvent, MatrixColumnAddedEvent, GetQuestionDisplayValueEvent, PopupVisibleChangedEvent, ChoicesSearchEvent, OpenFileChooserEvent, ElementWrapperComponentNameEvent, ElementWrapperComponentDataEvent, OpenDropdownMenuEvent } 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, GetQuestionNoEvent, ProgressTextEvent, 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, IsAnswerCorrectEvent, DragDropAllowEvent, ScrollingElementToTopEvent, GetQuestionTitleActionsEvent, GetPanelTitleActionsEvent, GetPageTitleActionsEvent, GetPanelFooterActionsEvent, GetMatrixRowActionsEvent, ElementContentVisibilityChangedEvent, GetExpressionDisplayValueEvent, ServerValidateQuestionsEvent, MultipleTextItemAddedEvent, MatrixColumnAddedEvent, GetQuestionDisplayValueEvent, PopupVisibleChangedEvent, ChoicesSearchEvent, OpenFileChooserEvent, OpenDropdownMenuEvent, ResizeEvent } 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";
@@ -346,7 +346,7 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
346
346
  * [View Demo](https://surveyjs.io/form-library/examples/edit-survey-questions-markdown/ (linkStyle))
347
347
  */
348
348
  onTextMarkdown: EventBase<SurveyModel, TextMarkdownEvent>;
349
- onTextRenderAs: EventBase<SurveyModel, TextRenderAsEvent>;
349
+ onTextRenderAs: EventBase<SurveyModel, any>;
350
350
  /**
351
351
  * An event that is raised after a request to save survey results on [SurveyJS Service](https://api.surveyjs.io/) has been completed. Use this event to find out if the results have been saved successfully.
352
352
  */
@@ -454,7 +454,7 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
454
454
  * [View Demo](https://surveyjs.io/form-library/examples/survey-animation/ (linkStyle))
455
455
  */
456
456
  onAfterRenderSurvey: EventBase<SurveyModel, AfterRenderSurveyEvent>;
457
- onAfterRenderHeader: EventBase<SurveyModel, AfterRenderHeaderEvent>;
457
+ onAfterRenderHeader: EventBase<SurveyModel, any>;
458
458
  /**
459
459
  * An event that is raised after a page is rendered to the DOM. Use it to modify page markup.
460
460
  *
@@ -631,7 +631,7 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
631
631
  * @see startTimer
632
632
  */
633
633
  onTimer: EventBase<SurveyModel, {}>;
634
- onTimerPanelInfoText: EventBase<SurveyModel, TimerPanelInfoTextEvent>;
634
+ onTimerPanelInfoText: EventBase<SurveyModel, any>;
635
635
  /**
636
636
  * 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.
637
637
  */
@@ -719,8 +719,8 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
719
719
  * This event can be raised for [Single-](https://surveyjs.io/form-library/documentation/api-reference/dropdown-menu-model) and [Multi-Select Dropdown](https://surveyjs.io/form-library/documentation/api-reference/dropdown-tag-box-model) questions, [Rating Scale](https://surveyjs.io/form-library/documentation/api-reference/rating-scale-question-model) questions [rendered as drop-down menus](https://surveyjs.io/form-library/documentation/api-reference/rating-scale-question-model#displayMode), and [Multi-Select Matrix](https://surveyjs.io/form-library/documentation/api-reference/matrix-table-with-dropdown-list) questions that contain columns of the `"dropdown"` or `"tagbox"` [`cellType`](https://surveyjs.io/form-library/documentation/api-reference/matrix-table-with-dropdown-list#cellType). Handle this event to change the drop-down menu type for specific questions or device types.
720
720
  */
721
721
  onOpenDropdownMenu: EventBase<SurveyModel, OpenDropdownMenuEvent>;
722
- onElementWrapperComponentName: EventBase<SurveyModel, ElementWrapperComponentNameEvent>;
723
- onElementWrapperComponentData: EventBase<SurveyModel, ElementWrapperComponentDataEvent>;
722
+ onElementWrapperComponentName: EventBase<SurveyModel, any>;
723
+ onElementWrapperComponentData: EventBase<SurveyModel, any>;
724
724
  constructor(jsonObj?: any, renderedElement?: any);
725
725
  processClosedPopup(question: IQuestion, popupModel: PopupModel<any>): void;
726
726
  protected createTryAgainAction(): IAction;
@@ -2090,6 +2090,10 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
2090
2090
  getRootCss(): string;
2091
2091
  private resizeObserver;
2092
2092
  afterRenderSurvey(htmlElement: any): void;
2093
+ /**
2094
+ * An event that is raised when the survey's width or height is changed.
2095
+ */
2096
+ onResize: EventBase<SurveyModel, ResizeEvent>;
2093
2097
  private processResponsiveness;
2094
2098
  triggerResponsiveness(hard: boolean): void;
2095
2099
  destroyResizeObserver(): void;
@@ -2192,36 +2196,6 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
2192
2196
  * @see downloadFile
2193
2197
  */
2194
2198
  uploadFiles(question: QuestionFileModel | QuestionSignaturePadModel, name: string, files: File[], callback: (data: any | Array<any>, errors?: any | Array<any>) => any): void;
2195
- /**
2196
- * Downloads a file from a server.
2197
- *
2198
- * The following code shows how to call this method:
2199
- *
2200
- * ```js
2201
- * const question = survey.getQuestionByName("myFileQuestion");
2202
- * survey.downloadFile(
2203
- * question,
2204
- * question.name,
2205
- * // Download the first uploaded file
2206
- * question.value[0],
2207
- * (status, data) => {
2208
- * if (status === "success") {
2209
- * // Use `data` to retrieve the file
2210
- * }
2211
- * if (status === "error") {
2212
- * // Handle error
2213
- * }
2214
- * }
2215
- * );
2216
- * ```
2217
- *
2218
- * @param question A [File Upload question instance](https://surveyjs.io/form-library/documentation/api-reference/file-model).
2219
- * @param questionName The File Upload question's [`name`](https://surveyjs.io/form-library/documentation/api-reference/file-model#name).
2220
- * @param fileValue An object from File Upload's [`value`](https://surveyjs.io/form-library/documentation/api-reference/file-model#value) array. This object contains metadata about the file you want to download.
2221
- * @param callback A callback function that allows you to get the download status (`"success"` or `"error"`) and the file identifier (URL, file name, etc.) that you can use to retrieve the file.
2222
- * @see onDownloadFile
2223
- * @see uploadFiles
2224
- */
2225
2199
  downloadFile(question: QuestionFileModel, questionName: string, fileValue: any, callback: (status: string, data: any) => any): void;
2226
2200
  clearFiles(question: QuestionFileModel | QuestionSignaturePadModel, name: string, value: any, fileName: string, callback: (status: string, data: any) => any): void;
2227
2201
  updateChoicesFromServer(question: QuestionSelectBase, choices: Array<ItemValue>, serverResult: any): Array<ItemValue>;
@@ -2646,6 +2620,7 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
2646
2620
  * A survey width in CSS values.
2647
2621
  *
2648
2622
  * Default value: `undefined` (the survey inherits the width from its container)
2623
+ * @see onResize
2649
2624
  */
2650
2625
  width: string;
2651
2626
  readonly renderedWidth: string;
@@ -7,14 +7,21 @@ export declare var surveyLocalization: {
7
7
  localeNames: {
8
8
  [index: string]: any;
9
9
  };
10
+ localeNamesInEnglish: {
11
+ [index: string]: any;
12
+ };
10
13
  localeDirections: {
11
14
  [index: string]: any;
12
15
  };
13
16
  supportedLocales: any[];
17
+ useEnglishNames: boolean;
18
+ showNamesInEnglish: boolean;
19
+ setupLocale(loc: string, strings: any, name: string, nameInEngish: string, direction?: string): void;
14
20
  currentLocale: string;
15
21
  defaultLocale: string;
16
22
  getLocaleStrings(loc: string): any;
17
23
  getString: (strName: string, locale?: string) => any;
24
+ getLocaleName(loc: string, inEnglish?: boolean): string;
18
25
  getLocales: (removeDefaultLoc?: boolean) => Array<string>;
19
26
  onGetExternalString: (name: string, locale: string) => string;
20
27
  };
@@ -30,6 +37,7 @@ export declare var surveyStrings: {
30
37
  refuseItemText: string;
31
38
  dontKnowItemText: string;
32
39
  selectAllItemText: string;
40
+ deselectAllItemText: string;
33
41
  progressText: string;
34
42
  indexText: string;
35
43
  panelDynamicProgressText: string;
@@ -11,12 +11,12 @@ export declare class Camera {
11
11
  width?: number;
12
12
  height?: number;
13
13
  }): MediaStreamConstraints;
14
- startVideo(videoElementId: string, callback: (stream: MediaStream) => void, imageWidth?: number, imageHeight?: number): void;
14
+ startVideo(videoElement: HTMLVideoElement, callback: (stream: MediaStream) => void, imageWidth?: number, imageHeight?: number): void;
15
15
  getImageSize(videoEl: HTMLVideoElement): {
16
16
  width: number;
17
17
  height: number;
18
18
  };
19
- snap(videoElementId: string, callback: BlobCallback): boolean;
19
+ snap(videoElement: HTMLVideoElement, callback: BlobCallback): boolean;
20
20
  private canFlipValue;
21
21
  private updateCanFlipValue;
22
22
  private onCanFlipChangedCallback?;
@@ -265,7 +265,7 @@ export declare class Action extends BaseAction implements IAction, ILocalizableO
265
265
  locStrsChanged(): void;
266
266
  doAction(args: any): boolean;
267
267
  private isMouseDown;
268
- doMouseDown(): void;
268
+ doMouseDown(args: any): void;
269
269
  doFocus(args: any): void;
270
270
  private locStrChangedInPopupModel;
271
271
  private locTitleChanged;
@@ -53,7 +53,11 @@ export declare class ExpressionExecutor implements IExpresionExecutor {
53
53
  get isAsync(): boolean;
54
54
  canRun(): boolean;
55
55
  run(values: HashTable<any>, properties?: HashTable<any>): any;
56
+ private runAsyncItem;
57
+ private runAsyncItemCore;
56
58
  private doAsyncFunctionReady;
59
+ private isAsyncFuncReady;
60
+ private isAsyncChildrenReady;
57
61
  private runValues;
58
62
  }
59
63
  export declare class ExpressionRunnerBase {
@@ -175,6 +175,7 @@ export declare var defaultV2Css: {
175
175
  question: {
176
176
  contentFadeIn: string;
177
177
  contentFadeOut: string;
178
+ mobile: string;
178
179
  fadeIn: string;
179
180
  fadeOut: string;
180
181
  mainRoot: string;
@@ -1,5 +1,10 @@
1
1
  import { HashTable } from "../helpers";
2
2
  import { ProcessValue } from "../conditionProcessValue";
3
+ export interface AsyncFunctionItem {
4
+ operand?: FunctionOperand;
5
+ parent?: AsyncFunctionItem;
6
+ children?: Array<AsyncFunctionItem>;
7
+ }
3
8
  export declare abstract class Operand {
4
9
  toString(func?: (op: Operand) => string): string;
5
10
  abstract getType(): string;
@@ -7,7 +12,7 @@ export declare abstract class Operand {
7
12
  abstract setVariables(variables: Array<string>): any;
8
13
  hasFunction(): boolean;
9
14
  hasAsyncFunction(): boolean;
10
- addToAsyncList(list: Array<FunctionOperand>): void;
15
+ addToAsyncList(list: Array<AsyncFunctionItem>): void;
11
16
  isEqual(op: Operand): boolean;
12
17
  protected abstract isContentEqual(op: Operand): boolean;
13
18
  protected areOperatorsEquals(op1: Operand, op2: Operand): boolean;
@@ -35,7 +40,7 @@ export declare class BinaryOperand extends Operand {
35
40
  setVariables(variables: Array<string>): void;
36
41
  hasFunction(): boolean;
37
42
  hasAsyncFunction(): boolean;
38
- addToAsyncList(list: Array<FunctionOperand>): void;
43
+ addToAsyncList(list: Array<AsyncFunctionItem>): void;
39
44
  }
40
45
  export declare class UnaryOperand extends Operand {
41
46
  private expressionValue;
@@ -49,7 +54,7 @@ export declare class UnaryOperand extends Operand {
49
54
  protected isContentEqual(op: Operand): boolean;
50
55
  hasFunction(): boolean;
51
56
  hasAsyncFunction(): boolean;
52
- addToAsyncList(list: Array<FunctionOperand>): void;
57
+ addToAsyncList(list: Array<AsyncFunctionItem>): void;
53
58
  evaluate(processValue?: ProcessValue): boolean;
54
59
  setVariables(variables: Array<string>): void;
55
60
  }
@@ -62,7 +67,7 @@ export declare class ArrayOperand extends Operand {
62
67
  setVariables(variables: Array<string>): void;
63
68
  hasFunction(): boolean;
64
69
  hasAsyncFunction(): boolean;
65
- addToAsyncList(list: Array<FunctionOperand>): void;
70
+ addToAsyncList(list: Array<AsyncFunctionItem>): void;
66
71
  protected isContentEqual(op: Operand): boolean;
67
72
  }
68
73
  export declare class Const extends Operand {
@@ -110,7 +115,8 @@ export declare class FunctionOperand extends Operand {
110
115
  get isReady(): boolean;
111
116
  hasFunction(): boolean;
112
117
  hasAsyncFunction(): boolean;
113
- addToAsyncList(list: Array<FunctionOperand>): void;
118
+ private isAsyncFunction;
119
+ addToAsyncList(list: Array<AsyncFunctionItem>): void;
114
120
  protected isContentEqual(op: Operand): boolean;
115
121
  }
116
122
  export declare class OperandMaker {
@@ -255,6 +255,7 @@ export declare class JsonMetadata {
255
255
  private addDynamicPropertyIntoObj;
256
256
  getDynamicPropertiesByObj(obj: any, dynamicType?: string): Array<JsonObjectProperty>;
257
257
  getDynamicPropertiesByTypes(objType: string, dynamicType: string, invalidNames?: Array<string>): Array<JsonObjectProperty>;
258
+ private canAddDybamicProp;
258
259
  hasOriginalProperty(obj: Base, propName: string): boolean;
259
260
  getOriginalProperty(obj: Base, propName: string): JsonObjectProperty;
260
261
  getProperty(className: string, propertyName: string): JsonObjectProperty;
@@ -56,6 +56,7 @@ export declare class ListModel<T extends BaseAction = Action> extends ActionCont
56
56
  showSearchClearButton: boolean;
57
57
  renderElements: boolean;
58
58
  textWrapEnabled: boolean;
59
+ itemComponent: string;
59
60
  static INDENT: number;
60
61
  static MINELEMENTCOUNT: number;
61
62
  scrollHandler: (e?: any) => void;
@@ -10,6 +10,7 @@ export declare var englishStrings: {
10
10
  refuseItemText: string;
11
11
  dontKnowItemText: string;
12
12
  selectAllItemText: string;
13
+ deselectAllItemText: string;
13
14
  progressText: string;
14
15
  indexText: string;
15
16
  panelDynamicProgressText: string;
@@ -115,6 +115,18 @@ export declare class QuestionMatrixBaseModel<TRow, TColumn> extends Question {
115
115
  */
116
116
  get rowTitleWidth(): string;
117
117
  set rowTitleWidth(val: string);
118
+ /**
119
+ * Specifies how to arrange matrix questions.
120
+ *
121
+ * Possible values:
122
+ *
123
+ * - `"table"` - Displays matrix questions in a table.
124
+ * - `"list"` - Displays matrix questions one under another as a list.
125
+ * - `"auto"` (default) - Uses the `"table"` mode if the survey has sufficient width to fit the table or the `"list"` mode otherwise.
126
+ */
127
+ set displayMode(val: "auto" | "table" | "list");
128
+ get displayMode(): "auto" | "table" | "list";
118
129
  getCellAriaLabel(rowTitle: string, columnTitle: string): string;
119
130
  get isNewA11yStructure(): boolean;
131
+ protected getIsMobile(): boolean;
120
132
  }
@@ -80,8 +80,11 @@ export declare class Question extends SurveyElement<Question> implements IQuesti
80
80
  protected allowMobileInDesignMode(): boolean;
81
81
  updateIsMobileFromSurvey(): void;
82
82
  setIsMobile(val: boolean): void;
83
+ protected getIsMobile(): boolean;
84
+ get isMobile(): boolean;
85
+ set isMobile(val: boolean);
83
86
  themeChanged(theme: ITheme): void;
84
- isMobile: boolean;
87
+ private _isMobile;
85
88
  forceIsInputReadOnly: boolean;
86
89
  ariaExpanded: "true" | "false";
87
90
  constructor(name: string);
@@ -764,7 +767,8 @@ export declare class Question extends SurveyElement<Question> implements IQuesti
764
767
  protected getIsAnswered(): boolean;
765
768
  /**
766
769
  * Question validators.
767
- * @see [Data Validation](https://surveyjs.io/form-library/documentation/data-validation)
770
+ *
771
+ * [Data Validation](https://surveyjs.io/form-library/documentation/data-validation (linkStyle))
768
772
  */
769
773
  get validators(): Array<SurveyValidator>;
770
774
  set validators(val: Array<SurveyValidator>);
@@ -890,7 +894,7 @@ export declare class Question extends SurveyElement<Question> implements IQuesti
890
894
  protected checkForResponsiveness(el: HTMLElement): void;
891
895
  private resizeObserver;
892
896
  protected getObservedElementSelector(): string;
893
- private onMobileChanged;
897
+ protected onMobileChanged(): void;
894
898
  private onMobileChangedCallback;
895
899
  triggerResponsiveness(hard?: boolean): void;
896
900
  private triggerResponsivenessCallback;
@@ -215,9 +215,6 @@ export declare class QuestionSelectBase extends Question {
215
215
  protected hasUnknownValue(val: any, includeOther?: boolean, isFilteredChoices?: boolean, checkEmptyValue?: boolean): boolean;
216
216
  protected hasUnknownValueItem(val: any, includeOther?: boolean, isFilteredChoices?: boolean, checkEmptyValue?: boolean): boolean;
217
217
  protected isValueDisabled(val: any): boolean;
218
- /**
219
- * If the clearIncorrectValuesCallback is set, it is used to clear incorrect values instead of default behaviour.
220
- */
221
218
  clearIncorrectValuesCallback: () => void;
222
219
  /**
223
220
  * Configures access to a RESTful service that returns choice items. Refer to the [`ChoicesRestful`](https://surveyjs.io/form-library/documentation/choicesrestful) class description for more information. You can also specify additional application-wide settings using the [`settings.web`](https://surveyjs.io/form-library/documentation/api-reference/settings#web) object.
@@ -10,6 +10,7 @@ import { SurveyError } from "./survey-error";
10
10
  */
11
11
  export declare class QuestionCheckboxModel extends QuestionCheckboxBase {
12
12
  private selectAllItemValue;
13
+ protected selectAllItemText: LocalizableString;
13
14
  private invisibleOldValues;
14
15
  protected defaultSelectedItemValues: Array<ItemValue>;
15
16
  constructor(name: string);
@@ -54,6 +55,7 @@ export declare class QuestionCheckboxModel extends QuestionCheckboxBase {
54
55
  get isAllSelected(): boolean;
55
56
  set isAllSelected(val: boolean);
56
57
  toggleSelectAll(): void;
58
+ protected allElementsSelected(): boolean;
57
59
  /**
58
60
  * Selects all choice items, except "Other" and "None".
59
61
  *
@@ -96,6 +96,7 @@ export declare class QuestionFileModel extends QuestionFileModelBase {
96
96
  get hasFileUI(): boolean;
97
97
  private videoStream;
98
98
  startVideo(): void;
99
+ private get videoHtmlElement();
99
100
  private startVideoInCamera;
100
101
  stopVideo(): void;
101
102
  snapPicture(): void;
@@ -532,5 +532,6 @@ export declare class QuestionMatrixDropdownModelBase extends QuestionMatrixBaseM
532
532
  getRowHeaderWrapperComponentName(cell: MatrixDropdownCell): string;
533
533
  getRowHeaderWrapperComponentData(cell: MatrixDropdownCell): any;
534
534
  get showHorizontalScroll(): boolean;
535
+ protected onMobileChanged(): void;
535
536
  getRootCss(): string;
536
537
  }
@@ -47,6 +47,7 @@ export declare class QuestionMatrixDropdownRenderedCell {
47
47
  set className(val: string);
48
48
  get className(): string;
49
49
  get cellQuestionWrapperClassName(): string;
50
+ get isVisible(): boolean;
50
51
  get showResponsiveTitle(): boolean;
51
52
  get responsiveTitleCss(): string;
52
53
  get responsiveLocTitle(): LocalizableString;
@@ -161,6 +161,15 @@ export declare class MultipleTextItemModel extends Base implements IValidatorOwn
161
161
  */
162
162
  get maskSettings(): InputMaskBase;
163
163
  set maskSettings(val: InputMaskBase);
164
+ /**
165
+ * Specifies text alignment within the input field.
166
+ *
167
+ * Possible values:
168
+ *
169
+ * - `"left"` - Aligns input text to the left side.
170
+ * - `"right"` - Aligns input text to the right side.
171
+ * - `"auto"` (default) - Applies right alignment if a [numeric or currency input mask](https://surveyjs.io/form-library/documentation/api-reference/multipletextitemmodel#maskType) is specified. Otherwise, applies left alignment.
172
+ */
164
173
  get inputTextAlignment(): "left" | "right" | "auto";
165
174
  set inputTextAlignment(val: "left" | "right" | "auto");
166
175
  /**
@@ -114,7 +114,7 @@ export declare class QuestionPanelDynamicModel extends Question implements IQues
114
114
  set templateTitle(newValue: string);
115
115
  get locTemplateTitle(): LocalizableString;
116
116
  /**
117
- * A template for tab titles. Applies when [`renderMode`](https://surveyjs.io/form-library/documentation/api-reference/dynamic-panel-model#renderMode) is `"tab"`.
117
+ * A template for tab titles. Applies when [`displayMode`](https://surveyjs.io/form-library/documentation/api-reference/dynamic-panel-model#displayMode) is `"tab"`.
118
118
  *
119
119
  * The template can contain the following placeholders:
120
120
  *
@@ -126,7 +126,7 @@ export declare class QuestionPanelDynamicModel extends Question implements IQues
126
126
  * [View Demo](https://surveyjs.io/form-library/examples/tabbed-interface-for-duplicate-group-option/ (linkStyle))
127
127
  * @see templateTitle
128
128
  * @see tabTitlePlaceholder
129
- * @see renderMode
129
+ * @see displayMode
130
130
  */
131
131
  get templateTabTitle(): string;
132
132
  set templateTabTitle(newValue: string);
@@ -184,22 +184,22 @@ export declare class QuestionPanelDynamicModel extends Question implements IQues
184
184
  /**
185
185
  * A zero-based index of the currently displayed panel.
186
186
  *
187
- * When `renderMode` is `"list"` or Dynamic Panel is empty (`panelCount` is 0), this property contains -1.
187
+ * When `displayMode` is `"list"` or Dynamic Panel is empty (`panelCount` is 0), this property contains -1.
188
188
  * @see currentPanel
189
189
  * @see panels
190
190
  * @see panelCount
191
- * @see renderMode
191
+ * @see displayMode
192
192
  */
193
193
  get currentIndex(): number;
194
194
  set currentIndex(val: number);
195
195
  /**
196
196
  * A `PanelModel` object that is the currently displayed panel.
197
197
  *
198
- * When `renderMode` is `"list"` or Dynamic Panel is empty (`panelCount` is 0), this property contains `null`.
198
+ * When `displayMode` is `"list"` or Dynamic Panel is empty (`panelCount` is 0), this property contains `null`.
199
199
  * @see currentIndex
200
200
  * @see panels
201
201
  * @see panelCount
202
- * @see renderMode
202
+ * @see displayMode
203
203
  */
204
204
  get currentPanel(): PanelModel;
205
205
  set currentPanel(val: PanelModel);
@@ -244,16 +244,16 @@ export declare class QuestionPanelDynamicModel extends Question implements IQues
244
244
  set keyDuplicationError(val: string);
245
245
  get locKeyDuplicationError(): LocalizableString;
246
246
  /**
247
- * A caption for the Previous button. Applies only if `renderMode` is different from `"list"`.
248
- * @see renderMode
247
+ * A caption for the Previous button. Applies only if `displayMode` is different from `"list"`.
248
+ * @see displayMode
249
249
  * @see isPrevButtonVisible
250
250
  */
251
251
  get panelPrevText(): string;
252
252
  set panelPrevText(val: string);
253
253
  get locPanelPrevText(): LocalizableString;
254
254
  /**
255
- * A caption for the Next button. Applies only if `renderMode` is different from `"list"`.
256
- * @see renderMode
255
+ * A caption for the Next button. Applies only if `displayMode` is different from `"list"`.
256
+ * @see displayMode
257
257
  * @see isNextButtonVisible
258
258
  */
259
259
  get panelNextText(): string;
@@ -272,13 +272,7 @@ export declare class QuestionPanelDynamicModel extends Question implements IQues
272
272
  get panelRemoveText(): string;
273
273
  set panelRemoveText(val: string);
274
274
  get locPanelRemoveText(): LocalizableString;
275
- /**
276
- * Returns true when the renderMode equals to "progressTop" or "progressTopBottom"
277
- */
278
275
  get isProgressTopShowing(): boolean;
279
- /**
280
- * Returns true when the renderMode equals to "progressBottom" or "progressTopBottom"
281
- */
282
276
  get isProgressBottomShowing(): boolean;
283
277
  /**
284
278
  * Indicates whether the Previous button is visible.
@@ -296,9 +290,6 @@ export declare class QuestionPanelDynamicModel extends Question implements IQues
296
290
  */
297
291
  get isNextButtonVisible(): boolean;
298
292
  get isNextButtonShowing(): boolean;
299
- /**
300
- * Returns true when showRangeInProgress equals to true, renderMode doesn't equal to "list" and visiblePanelCount is >= 2.
301
- */
302
293
  get isRangeShowing(): boolean;
303
294
  getElementsInDesign(includeHidden?: boolean): Array<IElement>;
304
295
  private isAddingNewPanels;
@@ -323,7 +314,7 @@ export declare class QuestionPanelDynamicModel extends Question implements IQues
323
314
  */
324
315
  get visiblePanelCount(): number;
325
316
  /**
326
- * Specifies whether users can expand and collapse panels. Applies if `renderMode` is `"list"` and the `templateTitle` property is specified.
317
+ * Specifies whether users can expand and collapse panels. Applies if `displayMode` is `"list"` and the `templateTitle` property is specified.
327
318
  *
328
319
  * Possible values:
329
320
  *
@@ -331,7 +322,7 @@ export declare class QuestionPanelDynamicModel extends Question implements IQues
331
322
  * - `"expanded"` - All panels are displayed in full and can be collapsed in the UI.
332
323
  * - `"collapsed"` - All panels display only their titles and descriptions and can be expanded in the UI.
333
324
  * - `"firstExpanded"` - Only the first panel is displayed in full; other panels are collapsed and can be expanded in the UI.
334
- * @see renderMode
325
+ * @see displayMode
335
326
  * @see templateTitle
336
327
  */
337
328
  get panelsState(): string;
@@ -434,25 +425,47 @@ export declare class QuestionPanelDynamicModel extends Question implements IQues
434
425
  get panelRemoveButtonLocation(): string;
435
426
  set panelRemoveButtonLocation(val: string);
436
427
  /**
437
- * Shows the range from 1 to panelCount when renderMode doesn't equal to "list". Set to false to hide this element.
438
- * @see panelCount
439
- * @see renderMode
428
+ * Obsolete. Use the [`showProgressBar`](https://surveyjs.io/form-library/documentation/api-reference/dynamic-panel-model#showProgressBar) property instead.
429
+ * @deprecated
440
430
  */
441
431
  get showRangeInProgress(): boolean;
442
432
  set showRangeInProgress(val: boolean);
443
433
  /**
444
- * Specifies how to render panels.
434
+ * Obsolete. Use the [`displayMode`](https://surveyjs.io/form-library/documentation/api-reference/dynamic-panel-model#displayMode) property instead.
435
+ * @deprecated
436
+ */
437
+ get renderMode(): string;
438
+ set renderMode(val: string);
439
+ private updatePanelView;
440
+ /**
441
+ * Specifies how to display panels.
445
442
  *
446
443
  * Possible values:
447
444
  *
448
- * - `"list"` (default) - Renders panels one under the other. [View Demo](https://surveyjs.io/form-library/examples/how-to-use-expressions-in-dynamic-panel/)
449
- * - `"progressTop"` - Renders each panel as a card and displays a progress bar at the top. [View Demo](https://surveyjs.io/form-library/examples/questiontype-paneldynamic/)
450
- * - `"progressBottom"` - Renders each panel panel as a card and displays a progress bar at the bottom.
451
- * - `"progressTopBottom"` - Renders each panel as a card and displays a progress bar at the top and bottom.
452
- * - `"tab"` - Renders each panel within a tab. Use the [`templateTabTitle`](https://surveyjs.io/form-library/documentation/api-reference/dynamic-panel-model#templateTabTitle) to specify a template for tab titles. [View Demo](https://surveyjs.io/form-library/examples/tabbed-interface-for-duplicate-group-option/)
445
+ * - `"list"` (default) - Displays panels one under the other. [View Demo](https://surveyjs.io/form-library/examples/duplicate-group-of-fields-in-form/)
446
+ * - `"carousel"` - Displays panels in a carousel. Users can switch between panels using navigation buttons.
447
+ * - `"tab"` - Displays each panel within a tab. Use the [`templateTabTitle`](https://surveyjs.io/form-library/documentation/api-reference/dynamic-panel-model#templateTabTitle) to specify a template for tab titles. [View Demo](https://surveyjs.io/form-library/examples/tabbed-interface-for-duplicate-group-option/)
448
+ * @see showProgressBar
449
+ * @see progressBarLocation
453
450
  */
454
- get renderMode(): string;
455
- set renderMode(val: string);
451
+ displayMode: "list" | "carousel" | "tab";
452
+ /**
453
+ * Specifies whether to display the progress bar. Applies only if [`displayMode`](https://surveyjs.io/form-library/documentation/api-reference/dynamic-panel-model#displayMode) is `"carousel"`.
454
+ *
455
+ * Default value: `true`
456
+ * @see progressBarLocation
457
+ */
458
+ showProgressBar: true | false;
459
+ /**
460
+ * Specifies the alignment of the [progress bar](https://surveyjs.io/form-library/documentation/api-reference/dynamic-panel-model#showProgressBar) relative to the currently displayed panel. Applies only if [`displayMode`](https://surveyjs.io/form-library/documentation/api-reference/dynamic-panel-model#displayMode) is `"carousel"`.
461
+ *
462
+ * Possible values:
463
+ *
464
+ * - `"top"` (default) - Displays the progress bar at the top of the current panel.
465
+ * - `"bottom"` - Displays the progress bar at the bottom of the current panel.
466
+ * - `"topBottom"` - Displays the progress bar at the top and bottom of the current panel.
467
+ */
468
+ progressBarLocation: "top" | "bottom" | "topBottom";
456
469
  get tabAlign(): "center" | "left" | "right";
457
470
  set tabAlign(val: "center" | "left" | "right");
458
471
  get isRenderModeList(): boolean;
@@ -513,19 +526,18 @@ export declare class QuestionPanelDynamicModel extends Question implements IQues
513
526
  getProgressInfo(): IProgressInfo;
514
527
  private isRowEmpty;
515
528
  /**
516
- * Add a new dynamic panel based on the template Panel. It checks if canAddPanel returns true and then calls addPanel method.
517
- * If a renderMode is different from "list" and the current panel has erros, then
518
- * @see template
529
+ * Adds a new panel based on the [template](https://surveyjs.io/form-library/documentation/api-reference/dynamic-panel-model#template).
530
+ *
531
+ * Unlike the [`addPanel()`](https://surveyjs.io/form-library/documentation/api-reference/dynamic-panel-model#addPanel) method, `addPanelUI()` performs additional actions: checks whether a new panel [can be added](https://surveyjs.io/form-library/documentation/api-reference/dynamic-panel-model#canAddPanel), expands and focuses the new panel, and runs animated effects.
519
532
  * @see panelCount
520
533
  * @see panels
521
- * @see canAddPanel
522
534
  */
523
535
  addPanelUI(): PanelModel;
524
536
  private focusNewPanelCallback;
525
537
  private focusNewPanel;
526
538
  /**
527
539
  * Adds a new panel based on the [template](https://surveyjs.io/form-library/documentation/api-reference/dynamic-panel-model#template).
528
- * @param index *(Optional)* An index at which to insert the new panel. `undefined` adds the panel to the end or inserts it after the current panel if [`renderMode`](https://surveyjs.io/form-library/documentation/api-reference/dynamic-panel-model#renderMode) is `"tab"`. A negative index (for instance, -1) adds the panel to the end in all cases, regardless of the `renderMode` value.
540
+ * @param index *(Optional)* An index at which to insert the new panel. `undefined` adds the panel to the end or inserts it after the current panel if [`displayMode`](https://surveyjs.io/form-library/documentation/api-reference/dynamic-panel-model#renderMode) is `"tab"`. A negative index (for instance, -1) adds the panel to the end in all cases, regardless of the `displayMode` value.
529
541
  * @see panelCount
530
542
  * @see panels
531
543
  * @see allowAddPanel
@@ -536,32 +548,29 @@ export declare class QuestionPanelDynamicModel extends Question implements IQues
536
548
  private canLeaveCurrentPanel;
537
549
  private copyValue;
538
550
  /**
539
- * Call removePanel function. Do nothing is canRemovePanel returns false. If confirmDelete set to true, it shows the confirmation dialog first.
540
- * @param value a panel or panel index
541
- * @see removePanel
542
- * @see confirmDelete
543
- * @see confirmDeleteText
544
- * @see canRemovePanel
551
+ * Deletes a panel from the [`panels`](https://surveyjs.io/form-library/documentation/api-reference/dynamic-panel-model#panels) array.
545
552
  *
553
+ * Unlike the [`removePanel()`](https://surveyjs.io/form-library/documentation/api-reference/dynamic-panel-model#removePanel) method, `removePanelUI()` performs additional actions: checks whether the panel [can be removed](https://surveyjs.io/form-library/documentation/api-reference/dynamic-panel-model#canRemovePanel) and displays a confirmation dialog (if the [`confirmDelete`](https://surveyjs.io/form-library/documentation/api-reference/dynamic-panel-model#confirmDelete) property is enabled).
554
+ * @param value A `PanelModel` instance or zero-based panel index.
555
+ * @see addPanelUI
546
556
  */
547
557
  removePanelUI(value: any): void;
548
558
  isRequireConfirmOnDelete(val: any): boolean;
549
559
  /**
550
- * Switches Dynamic Panel to the next panel. Returns `true` in case of success, or `false` if `renderMode` is `"list"` or the current panel contains validation errors.
551
- * @see renderMode
560
+ * Switches Dynamic Panel to the next panel. Returns `true` in case of success, or `false` if `displayMode` is `"list"` or the current panel contains validation errors.
561
+ * @see displayMode
552
562
  */
553
563
  goToNextPanel(): boolean;
554
564
  /**
555
565
  * Switches Dynamic Panel to the previous panel.
556
566
  */
557
567
  goToPrevPanel(): void;
568
+ private removedPanelIndex;
558
569
  /**
559
- * Removes a dynamic panel from the panels array.
560
- * @param value a panel or panel index
561
- * @see panels
562
- * @see template
570
+ * Deletes a panel from the [`panels`](https://surveyjs.io/form-library/documentation/api-reference/dynamic-panel-model#panels) array.
571
+ * @param value A `PanelModel` instance or zero-based panel index.
572
+ * @see addPanel
563
573
  */
564
- private removedPanelIndex;
565
574
  removePanel(value: any): void;
566
575
  private getVisualPanelIndex;
567
576
  private getPanelVisibleIndexById;
@@ -665,4 +674,5 @@ export declare class QuestionPanelDynamicModel extends Question implements IQues
665
674
  get showNavigation(): boolean;
666
675
  showSeparator(index: number): boolean;
667
676
  protected calcCssClasses(css: any): any;
677
+ protected onMobileChanged(): void;
668
678
  }