survey-core 1.12.21 → 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 (453) 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 +131 -46
  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/panel.d.ts +2 -1
  324. package/ts3.4/typings/packages/survey-core/src/question_custom.d.ts +3 -0
  325. package/ts3.4/typings/packages/survey-core/src/survey-events-api.d.ts +17 -6
  326. package/ts3.4/typings/packages/survey-core/src/survey.d.ts +11 -6
  327. package/ts3.4/typings/packages/survey-core/src/textPreProcessor.d.ts +1 -0
  328. package/typings/entries/chunks/core-wo-model.d.ts +10 -0
  329. package/typings/entries/chunks/model.d.ts +95 -95
  330. package/typings/entries/index.d.ts +2 -0
  331. package/typings/packages/survey-core/src/panel.d.ts +2 -1
  332. package/typings/packages/survey-core/src/question_custom.d.ts +3 -0
  333. package/typings/packages/survey-core/src/survey-events-api.d.ts +17 -6
  334. package/typings/packages/survey-core/src/survey.d.ts +11 -6
  335. package/typings/packages/survey-core/src/textPreProcessor.d.ts +1 -0
  336. package/typings/src/actions/action.d.ts +300 -0
  337. package/typings/src/actions/adaptive-container.d.ts +29 -0
  338. package/typings/src/actions/container.d.ts +59 -0
  339. package/typings/src/base-interfaces.d.ts +366 -0
  340. package/typings/src/base.d.ts +333 -0
  341. package/typings/src/calculatedValue.d.ts +49 -0
  342. package/typings/src/choicesRestful.d.ts +177 -0
  343. package/typings/src/conditionProcessValue.d.ts +25 -0
  344. package/typings/src/conditions.d.ts +98 -0
  345. package/typings/src/conditionsParser.d.ts +14 -0
  346. package/typings/src/console-warnings.d.ts +6 -0
  347. package/typings/src/defaultCss/defaultCss.d.ts +873 -0
  348. package/typings/src/defaultTitle.d.ts +3 -0
  349. package/typings/src/dragdrop/choices.d.ts +21 -0
  350. package/typings/src/dragdrop/core.d.ts +55 -0
  351. package/typings/src/dragdrop/dom-adapter.d.ts +49 -0
  352. package/typings/src/dragdrop/engine.d.ts +6 -0
  353. package/typings/src/dragdrop/matrix-rows.d.ts +19 -0
  354. package/typings/src/dragdrop/ranking-choices.d.ts +26 -0
  355. package/typings/src/dragdrop/ranking-select-to-rank.d.ts +17 -0
  356. package/typings/src/dropdownListModel.d.ts +97 -0
  357. package/typings/src/dropdownMultiSelectListModel.d.ts +37 -0
  358. package/typings/src/dxSurveyService.d.ts +18 -0
  359. package/typings/src/element-helper.d.ts +8 -0
  360. package/typings/src/error.d.ts +81 -0
  361. package/typings/src/expressionItems.d.ts +57 -0
  362. package/typings/src/expressions/expressionParser.d.ts +54 -0
  363. package/typings/src/expressions/expressions.d.ts +135 -0
  364. package/typings/src/flowpanel.d.ts +34 -0
  365. package/typings/src/functionsfactory.d.ts +14 -0
  366. package/typings/src/global_variables_utils.d.ts +30 -0
  367. package/typings/src/header.d.ts +87 -0
  368. package/typings/src/helpers.d.ts +44 -0
  369. package/typings/src/itemvalue.d.ts +93 -0
  370. package/typings/src/jsonobject.d.ts +378 -0
  371. package/typings/src/list.d.ts +144 -0
  372. package/typings/src/localizablestring.d.ts +125 -0
  373. package/typings/src/localization/english.d.ts +109 -0
  374. package/typings/src/martixBase.d.ts +133 -0
  375. package/typings/src/mask/input_element_adapter.d.ts +16 -0
  376. package/typings/src/mask/mask_base.d.ts +29 -0
  377. package/typings/src/mask/mask_currency.d.ts +41 -0
  378. package/typings/src/mask/mask_datetime.d.ts +91 -0
  379. package/typings/src/mask/mask_numeric.d.ts +90 -0
  380. package/typings/src/mask/mask_pattern.d.ts +78 -0
  381. package/typings/src/mask/mask_utils.d.ts +20 -0
  382. package/typings/src/multiSelectListModel.d.ts +17 -0
  383. package/typings/src/notifier.d.ts +30 -0
  384. package/typings/src/page.d.ts +133 -0
  385. package/typings/src/panel-layout-column.d.ts +9 -0
  386. package/typings/src/panel.d.ts +633 -0
  387. package/typings/src/popup-dropdown-view-model.d.ts +35 -0
  388. package/typings/src/popup-modal-view-model.d.ts +16 -0
  389. package/typings/src/popup-survey.d.ts +132 -0
  390. package/typings/src/popup-utils.d.ts +4 -0
  391. package/typings/src/popup-view-model.d.ts +81 -0
  392. package/typings/src/popup.d.ts +66 -0
  393. package/typings/src/progress-buttons.d.ts +44 -0
  394. package/typings/src/question.d.ts +949 -0
  395. package/typings/src/questionCustomWidgets.d.ts +46 -0
  396. package/typings/src/question_baseselect.d.ts +547 -0
  397. package/typings/src/question_boolean.d.ts +116 -0
  398. package/typings/src/question_buttongroup.d.ts +51 -0
  399. package/typings/src/question_checkbox.d.ts +158 -0
  400. package/typings/src/question_comment.d.ts +59 -0
  401. package/typings/src/question_custom.d.ts +454 -0
  402. package/typings/src/question_dropdown.d.ts +156 -0
  403. package/typings/src/question_empty.d.ts +8 -0
  404. package/typings/src/question_expression.d.ts +110 -0
  405. package/typings/src/question_file.d.ts +303 -0
  406. package/typings/src/question_html.d.ts +26 -0
  407. package/typings/src/question_image.d.ts +86 -0
  408. package/typings/src/question_imagepicker.d.ts +168 -0
  409. package/typings/src/question_matrix.d.ts +198 -0
  410. package/typings/src/question_matrixdropdown.d.ts +56 -0
  411. package/typings/src/question_matrixdropdownbase.d.ts +572 -0
  412. package/typings/src/question_matrixdropdowncolumn.d.ts +344 -0
  413. package/typings/src/question_matrixdropdownrendered.d.ts +171 -0
  414. package/typings/src/question_matrixdynamic.d.ts +299 -0
  415. package/typings/src/question_multipletext.d.ts +361 -0
  416. package/typings/src/question_paneldynamic.d.ts +719 -0
  417. package/typings/src/question_radiogroup.d.ts +40 -0
  418. package/typings/src/question_ranking.d.ts +135 -0
  419. package/typings/src/question_rating.d.ts +300 -0
  420. package/typings/src/question_signaturepad.d.ts +149 -0
  421. package/typings/src/question_tagbox.d.ts +98 -0
  422. package/typings/src/question_text.d.ts +206 -0
  423. package/typings/src/question_textbase.d.ts +62 -0
  424. package/typings/src/questionfactory.d.ts +27 -0
  425. package/typings/src/questionnonvalue.d.ts +22 -0
  426. package/typings/src/rendererFactory.d.ts +11 -0
  427. package/typings/src/settings.d.ts +641 -0
  428. package/typings/src/survey-element.d.ts +471 -0
  429. package/typings/src/survey-error.d.ts +18 -0
  430. package/typings/src/survey-events-api.d.ts +1152 -0
  431. package/typings/src/survey.d.ts +3126 -0
  432. package/typings/src/surveyProgress.d.ts +4 -0
  433. package/typings/src/surveyStrings.d.ts +151 -0
  434. package/typings/src/surveyTaskManager.d.ts +16 -0
  435. package/typings/src/surveyTimerModel.d.ts +47 -0
  436. package/typings/src/surveyToc.d.ts +23 -0
  437. package/typings/src/surveytimer.d.ts +22 -0
  438. package/typings/src/svgbundle.d.ts +23 -0
  439. package/typings/src/template-renderer.d.ts +10 -0
  440. package/typings/src/textPreProcessor.d.ts +43 -0
  441. package/typings/src/themes.d.ts +222 -0
  442. package/typings/src/trigger.d.ts +155 -0
  443. package/typings/src/utils/animation.d.ts +91 -0
  444. package/typings/src/utils/camera.d.ts +27 -0
  445. package/typings/src/utils/cssClassBuilder.d.ts +6 -0
  446. package/typings/src/utils/devices.d.ts +12 -0
  447. package/typings/src/utils/dragOrClickHelper.d.ts +16 -0
  448. package/typings/src/utils/popup.d.ts +45 -0
  449. package/typings/src/utils/responsivity-manager.d.ts +31 -0
  450. package/typings/src/utils/taskmanager.d.ts +28 -0
  451. package/typings/src/utils/text-area.d.ts +58 -0
  452. package/typings/src/utils/utils.d.ts +86 -0
  453. package/typings/src/validator.d.ts +204 -0
@@ -0,0 +1,471 @@
1
+ import { Base, EventBase } from "./base";
2
+ import { IAction } from "./actions/action";
3
+ import { AdaptiveActionContainer } from "./actions/adaptive-container";
4
+ import { ISurveyElement, IPage, IPanel, IProgressInfo, ISurvey, ISurveyData, ISurveyImpl, ITextProcessor, ITitleOwner } from "./base-interfaces";
5
+ import { SurveyError } from "./survey-error";
6
+ import { ILocalizableOwner, LocalizableString } from "./localizablestring";
7
+ import { ActionContainer } from "./actions/container";
8
+ /**
9
+ * A base class for the [`SurveyElement`](https://surveyjs.io/form-library/documentation/surveyelement) and [`SurveyModel`](https://surveyjs.io/form-library/documentation/surveymodel) classes.
10
+ */
11
+ export declare abstract class SurveyElementCore extends Base implements ILocalizableOwner {
12
+ constructor();
13
+ protected createLocTitleProperty(): LocalizableString;
14
+ /**
15
+ * Returns `true` if the survey element is a page.
16
+ *
17
+ * This property returns `false` for [`PageModel`](https://surveyjs.io/form-library/documentation/api-reference/page-model) objects in the following cases:
18
+ *
19
+ * - `SurveyModel`'s [`questionsOnPageMode`](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#questionsOnPageMode) is set to `"singlePage"`.
20
+ * - The page is included in a [preview of given answers](https://surveyjs.io/form-library/documentation/design-survey/create-a-multi-page-survey#preview-page).
21
+ *
22
+ * In those cases, the survey creates an internal `PageModel` object to show all questions on one page, and all regular pages become panels.
23
+ */
24
+ get isPage(): boolean;
25
+ /**
26
+ * Returns `true` if the survey element is a panel or acts as one.
27
+ *
28
+ * This property returns `true` for `PageModel` objects in the following cases:
29
+ *
30
+ * - `SurveyModel`'s [`questionsOnPageMode`](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#questionsOnPageMode) is set to `"singlePage"`.
31
+ * - The page is included in a [preview of given answers](https://surveyjs.io/form-library/documentation/design-survey/create-a-multi-page-survey#preview-page).
32
+ *
33
+ * In those cases, the survey creates an internal `PageModel` object to show all questions on one page, and all regular pages become panels.
34
+ */
35
+ get isPanel(): boolean;
36
+ /**
37
+ * Returns `true` if the survey element is a question.
38
+ */
39
+ get isQuestion(): boolean;
40
+ /**
41
+ * Returns `true` if the element is a survey.
42
+ */
43
+ get isSurvey(): boolean;
44
+ /**
45
+ * A title for the survey element. If `title` is undefined, the `name` property value is displayed instead.
46
+ *
47
+ * Empty pages and panels do not display their titles or names.
48
+ *
49
+ * @see [Configure Question Titles](https://surveyjs.io/form-library/documentation/design-survey-question-titles)
50
+ */
51
+ get title(): string;
52
+ set title(val: string);
53
+ get locTitle(): LocalizableString;
54
+ protected getDefaultTitleValue(): string;
55
+ protected setTitleValue(val: string): void;
56
+ /**
57
+ * Returns `true` if the survey element has a description.
58
+ * @see description
59
+ */
60
+ hasDescription: boolean;
61
+ /**
62
+ * Explanatory text displayed under the title.
63
+ * @see hasDescription
64
+ */
65
+ description: string;
66
+ updateDescriptionVisibility(newDescription: any): void;
67
+ get locDescription(): LocalizableString;
68
+ get titleTagName(): string;
69
+ protected getDefaultTitleTagName(): string;
70
+ get hasTitle(): boolean;
71
+ get hasTitleActions(): boolean;
72
+ get hasTitleEvents(): boolean;
73
+ getTitleToolbar(): AdaptiveActionContainer;
74
+ getTitleOwner(): ITitleOwner;
75
+ get isTitleOwner(): boolean;
76
+ get isTitleRenderedAsString(): boolean;
77
+ toggleState(): boolean;
78
+ get cssClasses(): any;
79
+ get cssTitle(): string;
80
+ get ariaTitleId(): string;
81
+ get ariaDescriptionId(): string;
82
+ get titleTabIndex(): number;
83
+ get titleAriaExpanded(): any;
84
+ get titleAriaRole(): any;
85
+ get ariaLabel(): string;
86
+ get titleAriaLabel(): string | null;
87
+ protected getIsTitleRenderedAsString(): boolean;
88
+ abstract getLocale(): string;
89
+ abstract getMarkdownHtml(text: string, name: string): string;
90
+ abstract getRenderer(name: string): string;
91
+ abstract getRendererContext(locStr: LocalizableString): any;
92
+ abstract getProcessedText(text: string): string;
93
+ }
94
+ export declare enum DragTypeOverMeEnum {
95
+ InsideEmptyPanel = 1,
96
+ MultilineRight = 2,
97
+ MultilineLeft = 3,
98
+ Top = 4,
99
+ Right = 5,
100
+ Bottom = 6,
101
+ Left = 7
102
+ }
103
+ /**
104
+ * A base class for all survey elements.
105
+ */
106
+ export declare class SurveyElement<E = any> extends SurveyElementCore implements ISurveyElement {
107
+ stateChangedCallback: () => void;
108
+ static getProgressInfoByElements(children: Array<SurveyElement>, isRequired: boolean): IProgressInfo;
109
+ private surveyImplValue;
110
+ private surveyDataValue;
111
+ private surveyValue;
112
+ private textProcessorValue;
113
+ private selectedElementInDesignValue;
114
+ dragTypeOverMe: DragTypeOverMeEnum;
115
+ isDragMe: boolean;
116
+ readOnlyChangedCallback: () => void;
117
+ private static IsNeedScrollIntoView;
118
+ static ScrollIntoView(el: HTMLElement, scrollIntoViewOptions?: ScrollIntoViewOptions, doneCallback?: () => void): void;
119
+ static ScrollElementToTop(elementId: string, scrollIfVisible?: boolean, scrollIntoViewOptions?: ScrollIntoViewOptions, doneCallback?: () => void): boolean;
120
+ static ScrollElementToViewCore(el: HTMLElement, checkLeft: boolean, scrollIfVisible?: boolean, scrollIntoViewOptions?: ScrollIntoViewOptions, doneCallback?: () => void): boolean;
121
+ static GetFirstNonTextElement(elements: any, removeSpaces?: boolean): any;
122
+ static FocusElement(elementId: string, isTimeOut?: boolean, containerEl?: HTMLElement): boolean;
123
+ private static focusElementCore;
124
+ static CreateDisabledDesignElements: boolean;
125
+ disableDesignActions: boolean;
126
+ effectiveColSpan: number;
127
+ /**
128
+ * Specifies how many columns this survey element spans in the grid layout. Applies only if you set the `SurveyModel`'s [`gridLayoutEnabled`](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#gridLayoutEnabled) property to `true` and define the [`gridLayoutColumns`](https://surveyjs.io/form-library/documentation/api-reference/page-model#gridLayoutColumns) array for the parent page or panel.
129
+ *
130
+ * Default value: 1
131
+ */
132
+ get colSpan(): number;
133
+ set colSpan(val: number);
134
+ constructor(name: string);
135
+ protected onPropertyValueChanged(name: string, oldValue: any, newValue: any): void;
136
+ protected getSkeletonComponentNameCore(): string;
137
+ private parentQuestionValue;
138
+ /**
139
+ * A Dynamic Panel, Dynamic Matrix, or Dropdown Matrix that includes the current question.
140
+ *
141
+ * This property is `null` for standalone questions.
142
+ */
143
+ get parentQuestion(): E;
144
+ setParentQuestion(val: E): void;
145
+ protected onParentQuestionChanged(): void;
146
+ updateElementVisibility(): void;
147
+ get skeletonComponentName(): string;
148
+ /**
149
+ * Gets and sets the survey element's expand state.
150
+ *
151
+ * Possible values:
152
+ *
153
+ * - `"default"` (default) - The survey element is displayed in full and cannot be collapsed in the UI.
154
+ * - `"expanded"` - The survey element is displayed in full and can be collapsed in the UI.
155
+ * - `"collapsed"` - The survey element displays only `title` and `description` and can be expanded in the UI.
156
+ *
157
+ * @see toggleState
158
+ * @see collapse
159
+ * @see expand
160
+ * @see isCollapsed
161
+ * @see isExpanded
162
+ */
163
+ get state(): string;
164
+ set state(val: string);
165
+ protected notifyStateChanged(prevState: string): void;
166
+ /**
167
+ * Returns `true` if the survey element is collapsed.
168
+ * @see state
169
+ * @see toggleState
170
+ * @see collapse
171
+ * @see expand
172
+ * @see isExpanded
173
+ */
174
+ get isCollapsed(): boolean;
175
+ /**
176
+ * Returns `true` if the survey element is expanded.
177
+ * @see state
178
+ * @see toggleState
179
+ * @see collapse
180
+ * @see expand
181
+ * @see isCollapsed
182
+ */
183
+ get isExpanded(): boolean;
184
+ /**
185
+ * Collapses the survey element.
186
+ *
187
+ * In collapsed state, the element displays only `title` and `description`.
188
+ * @see title
189
+ * @see description
190
+ * @see state
191
+ * @see toggleState
192
+ * @see expand
193
+ * @see isCollapsed
194
+ * @see isExpanded
195
+ */
196
+ collapse(): void;
197
+ /**
198
+ * Expands the survey element.
199
+ * @see state
200
+ * @see toggleState
201
+ * @see collapse
202
+ * @see isCollapsed
203
+ * @see isExpanded
204
+ */
205
+ expand(): void;
206
+ /**
207
+ * Toggles the survey element's `state` between collapsed and expanded.
208
+ * @see state
209
+ * @see collapse
210
+ * @see expand
211
+ * @see isCollapsed
212
+ * @see isExpanded
213
+ */
214
+ toggleState(): boolean;
215
+ get hasStateButton(): boolean;
216
+ get shortcutText(): string;
217
+ private titleToolbarValue;
218
+ getTitleToolbar(): AdaptiveActionContainer;
219
+ protected createActionContainer(allowAdaptiveActions?: boolean): ActionContainer;
220
+ get titleActions(): Array<any>;
221
+ private isTitleActionRequested;
222
+ getTitleActions(): Array<any>;
223
+ protected getDefaultTitleActions(): Array<IAction>;
224
+ private updateTitleActions;
225
+ locStrsChanged(): void;
226
+ get hasTitleActions(): boolean;
227
+ get hasTitleEvents(): boolean;
228
+ get titleTabIndex(): number;
229
+ get titleAriaExpanded(): any;
230
+ get titleAriaRole(): any;
231
+ setSurveyImpl(value: ISurveyImpl, isLight?: boolean): void;
232
+ protected canRunConditions(): boolean;
233
+ getDataFilteredValues(): any;
234
+ getDataFilteredProperties(): any;
235
+ protected get surveyImpl(): ISurveyImpl;
236
+ __setData(data: ISurveyData): void;
237
+ get data(): ISurveyData;
238
+ /**
239
+ * Returns the survey object.
240
+ */
241
+ get survey(): ISurvey;
242
+ getSurvey(live?: boolean): ISurvey;
243
+ protected setSurveyCore(value: ISurvey): void;
244
+ get skeletonHeight(): string;
245
+ isContentElement: boolean;
246
+ isEditableTemplateElement: boolean;
247
+ isInteractiveDesignElement: boolean;
248
+ protected get isInternal(): boolean;
249
+ get areInvisibleElementsShowing(): boolean;
250
+ get isVisible(): boolean;
251
+ /**
252
+ * Returns `true` if the survey element or its parent element is read-only.
253
+ *
254
+ * If you want to switch a survey element to the read-only state based on a condition, specify the [`enableIf`](https://surveyjs.io/form-library/documentation/question#enableIf) property. Refer to the following help topic for information: [Conditional Visibility](https://surveyjs.io/form-library/documentation/design-survey-conditional-logic#conditional-visibility).
255
+ * @see readOnly
256
+ */
257
+ get isReadOnly(): boolean;
258
+ /**
259
+ * Makes the survey element read-only.
260
+ *
261
+ * If you want to switch a survey element to the read-only state based on a condition, specify the [`enableIf`](https://surveyjs.io/form-library/documentation/question#enableIf) property. Refer to the following help topic for information: [Conditional Visibility](https://surveyjs.io/form-library/documentation/design-survey-conditional-logic#conditional-visibility).
262
+ * @see isReadOnly
263
+ */
264
+ get readOnly(): boolean;
265
+ set readOnly(val: boolean);
266
+ protected onReadOnlyChanged(): void;
267
+ private get css();
268
+ private isCssValueCalculating;
269
+ get cssClassesValue(): any;
270
+ private ensureCssClassesValue;
271
+ private createCssClassesValue;
272
+ protected onCalcCssClasses(classes: any): void;
273
+ /**
274
+ * Returns an object in which keys are UI elements and values are CSS classes applied to them.
275
+ *
276
+ * Use the following events of the [`SurveyModel`](https://surveyjs.io/form-library/documentation/surveymodel) object to override CSS classes:
277
+ *
278
+ * - [`onUpdateQuestionCssClasses`](https://surveyjs.io/form-library/documentation/surveymodel#onUpdateQuestionCssClasses)
279
+ * - [`onUpdatePanelCssClasses`](https://surveyjs.io/form-library/documentation/surveymodel#onUpdatePanelCssClasses)
280
+ * - [`onUpdatePageCssClasses`](https://surveyjs.io/form-library/documentation/surveymodel#onUpdatePageCssClasses)
281
+ * - [`onUpdateChoiceItemCss`](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#onUpdateChoiceItemCss)
282
+ */
283
+ get cssClasses(): any;
284
+ get cssTitleNumber(): any;
285
+ get cssRequiredMark(): any;
286
+ getCssTitleExpandableSvg(): string;
287
+ protected calcCssClasses(css: any): any;
288
+ protected updateElementCssCore(cssClasses: any): void;
289
+ get cssError(): string;
290
+ updateElementCss(reNew?: boolean): void;
291
+ protected clearCssClasses(): void;
292
+ protected getIsLoadingFromJson(): boolean;
293
+ /**
294
+ * A survey element identifier.
295
+ *
296
+ * > Question names must be unique.
297
+ */
298
+ get name(): string;
299
+ set name(val: string);
300
+ protected getValidName(name: string): string;
301
+ protected onNameChanged(oldValue: string): void;
302
+ protected updateBindingValue(valueName: string, value: any): void;
303
+ /**
304
+ * Validation errors. Call the `validate()` method to validate survey element data.
305
+ * @see validate
306
+ */
307
+ get errors(): Array<SurveyError>;
308
+ set errors(val: Array<SurveyError>);
309
+ hasVisibleErrors: boolean;
310
+ private updateVisibleErrors;
311
+ /**
312
+ * Returns `true` if the survey element or its child elements have validation errors.
313
+ *
314
+ * This property contains the result of the most recent validation. This result may be outdated. Call the `validate` method to get an up-to-date value.
315
+ * @see errors
316
+ */
317
+ get containsErrors(): boolean;
318
+ updateContainsErrors(): void;
319
+ protected getContainsErrors(): boolean;
320
+ get selectedElementInDesign(): SurveyElement;
321
+ set selectedElementInDesign(val: SurveyElement);
322
+ updateCustomWidgets(): void;
323
+ onSurveyLoad(): void;
324
+ private wasRenderedValue;
325
+ get wasRendered(): boolean;
326
+ onFirstRendering(): void;
327
+ protected onFirstRenderingCore(): void;
328
+ endLoadingFromJson(): void;
329
+ setVisibleIndex(index: number): number;
330
+ delete(doDispose: boolean): void;
331
+ locOwner: ILocalizableOwner;
332
+ /**
333
+ * Returns the survey's [locale](https://surveyjs.io/form-library/documentation/surveymodel#locale).
334
+ *
335
+ * If a default locale is used, this method returns an empty string. To get the applied locale in this case, use the following code:
336
+ *
337
+ * ```js
338
+ * import { surveyLocalization } from 'survey-core';
339
+ * const defaultLocale = surveyLocalization.defaultLocale;
340
+ * ```
341
+ *
342
+ * @see [Localization & Globalization](https://surveyjs.io/form-library/documentation/localization)
343
+ */
344
+ getLocale(): string;
345
+ getMarkdownHtml(text: string, name: string): string;
346
+ getRenderer(name: string): string;
347
+ getRendererContext(locStr: LocalizableString): any;
348
+ getProcessedText(text: string): string;
349
+ protected getUseDisplayValuesInDynamicTexts(): boolean;
350
+ protected removeSelfFromList(list: Array<any>): void;
351
+ protected get textProcessor(): ITextProcessor;
352
+ protected getProcessedHtml(html: string): string;
353
+ protected onSetData(): void;
354
+ get parent(): IPanel;
355
+ set parent(val: IPanel);
356
+ protected getPage(parent: IPanel): IPage;
357
+ protected moveToBase(parent: IPanel, container: IPanel, insertBefore?: any): boolean;
358
+ protected setPage(parent: IPanel, newPage: IPage): void;
359
+ protected getSearchableLocKeys(keys: Array<string>): void;
360
+ get isDefaultV2Theme(): boolean;
361
+ get hasParent(): boolean;
362
+ isSingleInRow: boolean;
363
+ private shouldAddRunnerStyles;
364
+ protected get isCompact(): boolean;
365
+ private canHaveFrameStyles;
366
+ protected getHasFrameV2(): boolean;
367
+ protected getIsNested(): boolean;
368
+ protected getCssRoot(cssClasses: {
369
+ [index: string]: string;
370
+ }): string;
371
+ /**
372
+ * Sets survey element width in CSS values.
373
+ *
374
+ * Default value: ""
375
+ * @see minWidth
376
+ * @see maxWidth
377
+ */
378
+ get width(): string;
379
+ set width(val: string);
380
+ /**
381
+ * Gets or sets minimum survey element width in CSS values.
382
+ *
383
+ * Default value: "300px" (taken from [`settings.minWidth`](https://surveyjs.io/form-library/documentation/settings#minWidth))
384
+ * @see maxWidth
385
+ * @see renderWidth
386
+ * @see width
387
+ */
388
+ get minWidth(): string;
389
+ set minWidth(val: string);
390
+ /**
391
+ * Gets or sets maximum survey element width in CSS values.
392
+ *
393
+ * Default value: "100%" (taken from [`settings.maxWidth`](https://surveyjs.io/form-library/documentation/settings#maxWidth))
394
+ * @see minWidth
395
+ * @see renderWidth
396
+ * @see width
397
+ */
398
+ get maxWidth(): string;
399
+ set maxWidth(val: string);
400
+ /**
401
+ * Returns a calculated width of the rendered survey element in CSS values.
402
+ * @see width
403
+ * @see minWidth
404
+ * @see maxWidth
405
+ */
406
+ get renderWidth(): string;
407
+ set renderWidth(val: string);
408
+ /**
409
+ * Increases or decreases an indent of survey element content from the left edge. Accepts positive integer values and 0. Does not apply in the Default V2 theme.
410
+ * @see rightIndent
411
+ */
412
+ get indent(): number;
413
+ set indent(val: number);
414
+ /**
415
+ * Increases or decreases an indent of survey element content from the right edge. Accepts positive integer values and 0. Does not apply in the Default V2 theme.
416
+ * @see indent
417
+ */
418
+ get rightIndent(): number;
419
+ set rightIndent(val: number);
420
+ getRootStyle(): object;
421
+ get paddingLeft(): string;
422
+ protected calcPaddingLeft(): string;
423
+ get paddingRight(): string;
424
+ set paddingRight(val: string);
425
+ protected calcPaddingRight(): string;
426
+ protected resetIndents(): void;
427
+ allowRootStyle: boolean;
428
+ rootStyle: any;
429
+ updateRootStyle(): void;
430
+ private isContainsSelection;
431
+ get clickTitleFunction(): any;
432
+ protected needClickTitleFunction(): boolean;
433
+ protected processTitleClick(): void;
434
+ get hasAdditionalTitleToolbar(): boolean;
435
+ get additionalTitleToolbar(): ActionContainer;
436
+ protected getAdditionalTitleToolbar(): ActionContainer | null;
437
+ protected getCssTitle(cssClasses: any): string;
438
+ get isDisabledStyle(): boolean;
439
+ get isReadOnlyStyle(): boolean;
440
+ protected getIsDisableAndReadOnlyStyles(itemReadOnly: boolean): Array<boolean>;
441
+ get isPreviewStyle(): boolean;
442
+ localeChanged(): void;
443
+ private wrapperElement?;
444
+ setWrapperElement(element?: HTMLElement): void;
445
+ getWrapperElement(): HTMLElement;
446
+ private _renderedIsExpanded;
447
+ private _isAnimatingCollapseExpand;
448
+ private set isAnimatingCollapseExpand(value);
449
+ private get isAnimatingCollapseExpand();
450
+ protected onElementExpanded(elementIsRendered: boolean): void;
451
+ private getExpandCollapseAnimationOptions;
452
+ private get isExpandCollapseAnimationEnabled();
453
+ private animationCollapsed;
454
+ set renderedIsExpanded(val: boolean);
455
+ get renderedIsExpanded(): boolean;
456
+ protected getIsAnimationAllowed(): boolean;
457
+ onAfterRenderElement: EventBase<SurveyElement<E>, any>;
458
+ afterRenderCore(element: HTMLElement): void;
459
+ dispose(): void;
460
+ }
461
+ export declare class RenderingCompletedAwaiter {
462
+ private _elements;
463
+ private _renderedHandler;
464
+ constructor(_elements: Array<SurveyElement>, _renderedHandler: () => void, waitingTimeout?: number);
465
+ private _elementsToRenderCount;
466
+ private _elementsToRenderTimer;
467
+ private _elementRenderedHandler;
468
+ private stopWaitingForElementsRendering;
469
+ private visibleElementsRendered;
470
+ dispose(): void;
471
+ }
@@ -0,0 +1,18 @@
1
+ import { ISurveyErrorOwner } from "./base-interfaces";
2
+ import { LocalizableString } from "./localizablestring";
3
+ export declare class SurveyError {
4
+ text: string;
5
+ protected errorOwner: ISurveyErrorOwner;
6
+ private locTextValue;
7
+ visible: boolean;
8
+ constructor(text?: string, errorOwner?: ISurveyErrorOwner);
9
+ equals(error: SurveyError): boolean;
10
+ get locText(): LocalizableString;
11
+ getText(): string;
12
+ getErrorType(): string;
13
+ protected getDefaultText(): string;
14
+ protected getLocale(): string;
15
+ protected getLocalizationString(locStrName: string): string;
16
+ onUpdateErrorTextCallback: (error: SurveyError) => void;
17
+ updateText(): void;
18
+ }