survey-core 1.9.138 → 1.10.1

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 (331) hide show
  1. package/defaultV2.css +646 -66
  2. package/defaultV2.css.map +1 -1
  3. package/defaultV2.fontless.css +646 -66
  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 +5 -2
  8. package/i18n/arabic.js.map +1 -1
  9. package/i18n/arabic.min.js +2 -2
  10. package/i18n/basque.js +5 -2
  11. package/i18n/basque.js.map +1 -1
  12. package/i18n/basque.min.js +2 -2
  13. package/i18n/bulgarian.js +5 -2
  14. package/i18n/bulgarian.js.map +1 -1
  15. package/i18n/bulgarian.min.js +2 -2
  16. package/i18n/catalan.js +5 -2
  17. package/i18n/catalan.js.map +1 -1
  18. package/i18n/catalan.min.js +2 -2
  19. package/i18n/croatian.js +5 -2
  20. package/i18n/croatian.js.map +1 -1
  21. package/i18n/croatian.min.js +2 -2
  22. package/i18n/czech.js +5 -2
  23. package/i18n/czech.js.map +1 -1
  24. package/i18n/czech.min.js +2 -2
  25. package/i18n/danish.js +5 -2
  26. package/i18n/danish.js.map +1 -1
  27. package/i18n/danish.min.js +2 -2
  28. package/i18n/dutch.js +5 -2
  29. package/i18n/dutch.js.map +1 -1
  30. package/i18n/dutch.min.js +2 -2
  31. package/i18n/english.js +5 -3
  32. package/i18n/english.js.map +1 -1
  33. package/i18n/english.min.js +2 -2
  34. package/i18n/estonian.js +5 -2
  35. package/i18n/estonian.js.map +1 -1
  36. package/i18n/estonian.min.js +2 -2
  37. package/i18n/finnish.js +5 -2
  38. package/i18n/finnish.js.map +1 -1
  39. package/i18n/finnish.min.js +2 -2
  40. package/i18n/french.js +5 -2
  41. package/i18n/french.js.map +1 -1
  42. package/i18n/french.min.js +2 -2
  43. package/i18n/georgian.js +5 -2
  44. package/i18n/georgian.js.map +1 -1
  45. package/i18n/georgian.min.js +2 -2
  46. package/i18n/german.js +5 -1
  47. package/i18n/german.js.map +1 -1
  48. package/i18n/german.min.js +2 -2
  49. package/i18n/greek.js +5 -2
  50. package/i18n/greek.js.map +1 -1
  51. package/i18n/greek.min.js +2 -2
  52. package/i18n/hebrew.js +5 -1
  53. package/i18n/hebrew.js.map +1 -1
  54. package/i18n/hebrew.min.js +2 -2
  55. package/i18n/hindi.js +5 -2
  56. package/i18n/hindi.js.map +1 -1
  57. package/i18n/hindi.min.js +2 -2
  58. package/i18n/hungarian.js +5 -2
  59. package/i18n/hungarian.js.map +1 -1
  60. package/i18n/hungarian.min.js +2 -2
  61. package/i18n/icelandic.js +5 -2
  62. package/i18n/icelandic.js.map +1 -1
  63. package/i18n/icelandic.min.js +2 -2
  64. package/i18n/index.js +189 -46
  65. package/i18n/index.js.map +1 -1
  66. package/i18n/index.min.js +2 -2
  67. package/i18n/indonesian.js +5 -2
  68. package/i18n/indonesian.js.map +1 -1
  69. package/i18n/indonesian.min.js +2 -2
  70. package/i18n/italian.js +5 -2
  71. package/i18n/italian.js.map +1 -1
  72. package/i18n/italian.min.js +2 -2
  73. package/i18n/japanese.js +5 -2
  74. package/i18n/japanese.js.map +1 -1
  75. package/i18n/japanese.min.js +2 -2
  76. package/i18n/kazakh.js +5 -2
  77. package/i18n/kazakh.js.map +1 -1
  78. package/i18n/kazakh.min.js +2 -2
  79. package/i18n/korean.js +5 -2
  80. package/i18n/korean.js.map +1 -1
  81. package/i18n/korean.min.js +2 -2
  82. package/i18n/latvian.js +5 -2
  83. package/i18n/latvian.js.map +1 -1
  84. package/i18n/latvian.min.js +2 -2
  85. package/i18n/lithuanian.js +5 -2
  86. package/i18n/lithuanian.js.map +1 -1
  87. package/i18n/lithuanian.min.js +2 -2
  88. package/i18n/macedonian.js +5 -2
  89. package/i18n/macedonian.js.map +1 -1
  90. package/i18n/macedonian.min.js +2 -2
  91. package/i18n/malay.js +5 -2
  92. package/i18n/malay.js.map +1 -1
  93. package/i18n/malay.min.js +2 -2
  94. package/i18n/nl-BE.js +5 -2
  95. package/i18n/nl-BE.js.map +1 -1
  96. package/i18n/nl-BE.min.js +2 -2
  97. package/i18n/norwegian.js +5 -2
  98. package/i18n/norwegian.js.map +1 -1
  99. package/i18n/norwegian.min.js +2 -2
  100. package/i18n/persian.js +5 -2
  101. package/i18n/persian.js.map +1 -1
  102. package/i18n/persian.min.js +2 -2
  103. package/i18n/polish.js +5 -2
  104. package/i18n/polish.js.map +1 -1
  105. package/i18n/polish.min.js +2 -2
  106. package/i18n/portuguese-br.js +5 -2
  107. package/i18n/portuguese-br.js.map +1 -1
  108. package/i18n/portuguese-br.min.js +2 -2
  109. package/i18n/portuguese.js +5 -2
  110. package/i18n/portuguese.js.map +1 -1
  111. package/i18n/portuguese.min.js +2 -2
  112. package/i18n/romanian.js +5 -2
  113. package/i18n/romanian.js.map +1 -1
  114. package/i18n/romanian.min.js +2 -2
  115. package/i18n/russian.js +5 -2
  116. package/i18n/russian.js.map +1 -1
  117. package/i18n/russian.min.js +2 -2
  118. package/i18n/serbian.js +5 -2
  119. package/i18n/serbian.js.map +1 -1
  120. package/i18n/serbian.min.js +2 -2
  121. package/i18n/simplified-chinese.js +5 -2
  122. package/i18n/simplified-chinese.js.map +1 -1
  123. package/i18n/simplified-chinese.min.js +2 -2
  124. package/i18n/slovak.js +5 -2
  125. package/i18n/slovak.js.map +1 -1
  126. package/i18n/slovak.min.js +2 -2
  127. package/i18n/spanish.js +5 -2
  128. package/i18n/spanish.js.map +1 -1
  129. package/i18n/spanish.min.js +2 -2
  130. package/i18n/swahili.js +5 -2
  131. package/i18n/swahili.js.map +1 -1
  132. package/i18n/swahili.min.js +2 -2
  133. package/i18n/swedish.js +5 -2
  134. package/i18n/swedish.js.map +1 -1
  135. package/i18n/swedish.min.js +2 -2
  136. package/i18n/tajik.js +1 -1
  137. package/i18n/tajik.min.js +1 -1
  138. package/i18n/telugu.js +5 -2
  139. package/i18n/telugu.js.map +1 -1
  140. package/i18n/telugu.min.js +2 -2
  141. package/i18n/thai.js +5 -2
  142. package/i18n/thai.js.map +1 -1
  143. package/i18n/thai.min.js +2 -2
  144. package/i18n/traditional-chinese.js +5 -2
  145. package/i18n/traditional-chinese.js.map +1 -1
  146. package/i18n/traditional-chinese.min.js +2 -2
  147. package/i18n/turkish.js +5 -2
  148. package/i18n/turkish.js.map +1 -1
  149. package/i18n/turkish.min.js +2 -2
  150. package/i18n/ukrainian.js +5 -2
  151. package/i18n/ukrainian.js.map +1 -1
  152. package/i18n/ukrainian.min.js +2 -2
  153. package/i18n/urdu.js +5 -2
  154. package/i18n/urdu.js.map +1 -1
  155. package/i18n/urdu.min.js +2 -2
  156. package/i18n/vietnamese.js +5 -2
  157. package/i18n/vietnamese.js.map +1 -1
  158. package/i18n/vietnamese.min.js +2 -2
  159. package/i18n/welsh.js +5 -2
  160. package/i18n/welsh.js.map +1 -1
  161. package/i18n/welsh.min.js +2 -2
  162. package/modern.css +20 -3
  163. package/modern.css.map +1 -1
  164. package/modern.fontless.css +20 -3
  165. package/modern.fontless.css.map +1 -1
  166. package/modern.fontless.min.css +2 -2
  167. package/modern.min.css +2 -2
  168. package/package.json +1 -1
  169. package/plugins/bootstrap-integration.js +1 -1
  170. package/plugins/bootstrap-integration.min.js +1 -1
  171. package/plugins/bootstrap-material-integration.js +1 -1
  172. package/plugins/bootstrap-material-integration.min.js +1 -1
  173. package/survey.core.js +1116 -264
  174. package/survey.core.js.map +1 -1
  175. package/survey.core.min.js +3 -3
  176. package/survey.css +1 -1
  177. package/survey.css.map +1 -1
  178. package/survey.i18n.js +189 -46
  179. package/survey.i18n.js.map +1 -1
  180. package/survey.i18n.min.js +2 -2
  181. package/survey.min.css +1 -1
  182. package/themes/borderless-dark-panelless.js +1 -1
  183. package/themes/borderless-dark-panelless.min.js +1 -1
  184. package/themes/borderless-dark.js +1 -1
  185. package/themes/borderless-dark.min.js +1 -1
  186. package/themes/borderless-light-panelless..js +1 -1
  187. package/themes/borderless-light-panelless..min.js +1 -1
  188. package/themes/borderless-light.js +1 -1
  189. package/themes/borderless-light.min.js +1 -1
  190. package/themes/contrast-dark-panelless.js +1 -1
  191. package/themes/contrast-dark-panelless.min.js +1 -1
  192. package/themes/contrast-dark.js +1 -1
  193. package/themes/contrast-dark.min.js +1 -1
  194. package/themes/contrast-light-panelless.js +1 -1
  195. package/themes/contrast-light-panelless.min.js +1 -1
  196. package/themes/contrast-light.js +1 -1
  197. package/themes/contrast-light.min.js +1 -1
  198. package/themes/default-dark-panelless.js +1 -1
  199. package/themes/default-dark-panelless.min.js +1 -1
  200. package/themes/default-dark.js +1 -1
  201. package/themes/default-dark.min.js +1 -1
  202. package/themes/default-light-panelless.js +1 -1
  203. package/themes/default-light-panelless.min.js +1 -1
  204. package/themes/default-light.js +1 -1
  205. package/themes/default-light.min.js +1 -1
  206. package/themes/doubleborder-dark-panelless.js +1 -1
  207. package/themes/doubleborder-dark-panelless.min.js +1 -1
  208. package/themes/doubleborder-dark.js +1 -1
  209. package/themes/doubleborder-dark.min.js +1 -1
  210. package/themes/doubleborder-light-panelles.js +1 -1
  211. package/themes/doubleborder-light-panelles.min.js +1 -1
  212. package/themes/doubleborder-light.js +1 -1
  213. package/themes/doubleborder-light.min.js +1 -1
  214. package/themes/flat-dark-panelless.js +1 -1
  215. package/themes/flat-dark-panelless.min.js +1 -1
  216. package/themes/flat-dark.js +1 -1
  217. package/themes/flat-dark.min.js +1 -1
  218. package/themes/flat-light-panelless.js +1 -1
  219. package/themes/flat-light-panelless.min.js +1 -1
  220. package/themes/flat-light.js +1 -1
  221. package/themes/flat-light.min.js +1 -1
  222. package/themes/index.js +1 -1
  223. package/themes/index.min.js +1 -1
  224. package/themes/layered-dark-panelless.js +1 -1
  225. package/themes/layered-dark-panelless.min.js +1 -1
  226. package/themes/layered-dark.js +1 -1
  227. package/themes/layered-dark.min.js +1 -1
  228. package/themes/layered-light-panelless.js +1 -1
  229. package/themes/layered-light-panelless.min.js +1 -1
  230. package/themes/layered-light.js +1 -1
  231. package/themes/layered-light.min.js +1 -1
  232. package/themes/plain-dark-panelless.js +1 -1
  233. package/themes/plain-dark-panelless.min.js +1 -1
  234. package/themes/plain-dark.js +1 -1
  235. package/themes/plain-dark.min.js +1 -1
  236. package/themes/plain-light-panelless.js +1 -1
  237. package/themes/plain-light-panelless.min.js +1 -1
  238. package/themes/plain-light.js +1 -1
  239. package/themes/plain-light.min.js +1 -1
  240. package/themes/sharp-dark-panelless.js +1 -1
  241. package/themes/sharp-dark-panelless.min.js +1 -1
  242. package/themes/sharp-dark.js +1 -1
  243. package/themes/sharp-dark.min.js +1 -1
  244. package/themes/sharp-light-panelless.js +1 -1
  245. package/themes/sharp-light-panelless.min.js +1 -1
  246. package/themes/sharp-light.js +1 -1
  247. package/themes/sharp-light.min.js +1 -1
  248. package/themes/solid-dark-panelless.js +1 -1
  249. package/themes/solid-dark-panelless.min.js +1 -1
  250. package/themes/solid-dark.js +1 -1
  251. package/themes/solid-dark.min.js +1 -1
  252. package/themes/solid-light-panelless.js +1 -1
  253. package/themes/solid-light-panelless.min.js +1 -1
  254. package/themes/solid-light.js +1 -1
  255. package/themes/solid-light.min.js +1 -1
  256. package/themes/three-dimensional-dark-panelless.js +1 -1
  257. package/themes/three-dimensional-dark-panelless.min.js +1 -1
  258. package/themes/three-dimensional-dark.js +1 -1
  259. package/themes/three-dimensional-dark.min.js +1 -1
  260. package/themes/three-dimensional-light-panelless.js +1 -1
  261. package/themes/three-dimensional-light-panelless.min.js +1 -1
  262. package/themes/three-dimensional-light.js +1 -1
  263. package/themes/three-dimensional-light.min.js +1 -1
  264. package/ts3.4/typings/actions/action.d.ts +6 -1
  265. package/ts3.4/typings/base-interfaces.d.ts +1 -1
  266. package/ts3.4/typings/base.d.ts +5 -0
  267. package/ts3.4/typings/defaultCss/cssmodern.d.ts +1 -1
  268. package/ts3.4/typings/defaultCss/cssstandard.d.ts +1 -1
  269. package/ts3.4/typings/defaultCss/defaultV2Css.d.ts +60 -1
  270. package/ts3.4/typings/dxSurveyService.d.ts +5 -1
  271. package/ts3.4/typings/knockout/kobase.d.ts +8 -0
  272. package/ts3.4/typings/knockout/kopage.d.ts +37 -0
  273. package/ts3.4/typings/localization/english.d.ts +2 -0
  274. package/ts3.4/typings/mask/input_element_adapter.d.ts +1 -1
  275. package/ts3.4/typings/mask/mask_base.d.ts +1 -0
  276. package/ts3.4/typings/mask/mask_datetime.d.ts +16 -1
  277. package/ts3.4/typings/mask/mask_numeric.d.ts +3 -2
  278. package/ts3.4/typings/mask/mask_pattern.d.ts +9 -1
  279. package/ts3.4/typings/mask/mask_utils.d.ts +1 -0
  280. package/ts3.4/typings/panel.d.ts +2 -1
  281. package/ts3.4/typings/popup-view-model.d.ts +2 -0
  282. package/ts3.4/typings/popup.d.ts +1 -0
  283. package/ts3.4/typings/question.d.ts +2 -0
  284. package/ts3.4/typings/question_boolean.d.ts +8 -0
  285. package/ts3.4/typings/question_checkbox.d.ts +1 -0
  286. package/ts3.4/typings/question_custom.d.ts +1 -0
  287. package/ts3.4/typings/question_matrix.d.ts +1 -0
  288. package/ts3.4/typings/question_matrixdropdownrendered.d.ts +10 -0
  289. package/ts3.4/typings/question_paneldynamic.d.ts +18 -0
  290. package/ts3.4/typings/question_ranking.d.ts +7 -1
  291. package/ts3.4/typings/question_rating.d.ts +1 -0
  292. package/ts3.4/typings/question_signaturepad.d.ts +9 -2
  293. package/ts3.4/typings/survey-element.d.ts +8 -3
  294. package/ts3.4/typings/survey.d.ts +1 -1
  295. package/ts3.4/typings/surveyStrings.d.ts +2 -0
  296. package/ts3.4/typings/trigger.d.ts +2 -1
  297. package/ts3.4/typings/utils/animation.d.ts +26 -10
  298. package/typings/actions/action.d.ts +7 -1
  299. package/typings/base-interfaces.d.ts +1 -1
  300. package/typings/base.d.ts +5 -0
  301. package/typings/defaultCss/cssmodern.d.ts +1 -1
  302. package/typings/defaultCss/cssstandard.d.ts +1 -1
  303. package/typings/defaultCss/defaultV2Css.d.ts +60 -1
  304. package/typings/dxSurveyService.d.ts +5 -1
  305. package/typings/knockout/kobase.d.ts +8 -0
  306. package/typings/knockout/kopage.d.ts +37 -0
  307. package/typings/localization/english.d.ts +2 -0
  308. package/typings/mask/input_element_adapter.d.ts +1 -1
  309. package/typings/mask/mask_base.d.ts +1 -0
  310. package/typings/mask/mask_datetime.d.ts +16 -1
  311. package/typings/mask/mask_numeric.d.ts +3 -2
  312. package/typings/mask/mask_pattern.d.ts +9 -1
  313. package/typings/mask/mask_utils.d.ts +1 -0
  314. package/typings/panel.d.ts +2 -1
  315. package/typings/popup-view-model.d.ts +2 -0
  316. package/typings/popup.d.ts +1 -0
  317. package/typings/question.d.ts +2 -0
  318. package/typings/question_boolean.d.ts +8 -0
  319. package/typings/question_checkbox.d.ts +1 -0
  320. package/typings/question_custom.d.ts +1 -0
  321. package/typings/question_matrix.d.ts +1 -0
  322. package/typings/question_matrixdropdownrendered.d.ts +11 -0
  323. package/typings/question_paneldynamic.d.ts +17 -0
  324. package/typings/question_ranking.d.ts +7 -1
  325. package/typings/question_rating.d.ts +1 -0
  326. package/typings/question_signaturepad.d.ts +9 -2
  327. package/typings/survey-element.d.ts +8 -4
  328. package/typings/survey.d.ts +1 -1
  329. package/typings/surveyStrings.d.ts +2 -0
  330. package/typings/trigger.d.ts +2 -1
  331. package/typings/utils/animation.d.ts +18 -10
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * surveyjs - Survey JavaScript library v1.9.138
2
+ * surveyjs - Survey JavaScript library v1.10.1
3
3
  * Copyright (c) 2015-2024 Devsoft Baltic OÜ - http://surveyjs.io/
4
4
  * License: MIT (http://www.opensource.org/licenses/mit-license.php)
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * surveyjs - Survey JavaScript library v1.9.138
2
+ * surveyjs - Survey JavaScript library v1.10.1
3
3
  * Copyright (c) 2015-2024 Devsoft Baltic OÜ - http://surveyjs.io/
4
4
  * License: MIT (http://www.opensource.org/licenses/mit-license.php)
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * surveyjs - Survey JavaScript library v1.9.138
2
+ * surveyjs - Survey JavaScript library v1.10.1
3
3
  * Copyright (c) 2015-2024 Devsoft Baltic OÜ - http://surveyjs.io/
4
4
  * License: MIT (http://www.opensource.org/licenses/mit-license.php)
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * surveyjs - Survey JavaScript library v1.9.138
2
+ * surveyjs - Survey JavaScript library v1.10.1
3
3
  * Copyright (c) 2015-2024 Devsoft Baltic OÜ - http://surveyjs.io/
4
4
  * License: MIT (http://www.opensource.org/licenses/mit-license.php)
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * surveyjs - Survey JavaScript library v1.9.138
2
+ * surveyjs - Survey JavaScript library v1.10.1
3
3
  * Copyright (c) 2015-2024 Devsoft Baltic OÜ - http://surveyjs.io/
4
4
  * License: MIT (http://www.opensource.org/licenses/mit-license.php)
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * surveyjs - Survey JavaScript library v1.9.138
2
+ * surveyjs - Survey JavaScript library v1.10.1
3
3
  * Copyright (c) 2015-2024 Devsoft Baltic OÜ - http://surveyjs.io/
4
4
  * License: MIT (http://www.opensource.org/licenses/mit-license.php)
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * surveyjs - Survey JavaScript library v1.9.138
2
+ * surveyjs - Survey JavaScript library v1.10.1
3
3
  * Copyright (c) 2015-2024 Devsoft Baltic OÜ - http://surveyjs.io/
4
4
  * License: MIT (http://www.opensource.org/licenses/mit-license.php)
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * surveyjs - Survey JavaScript library v1.9.138
2
+ * surveyjs - Survey JavaScript library v1.10.1
3
3
  * Copyright (c) 2015-2024 Devsoft Baltic OÜ - http://surveyjs.io/
4
4
  * License: MIT (http://www.opensource.org/licenses/mit-license.php)
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * surveyjs - Survey JavaScript library v1.9.138
2
+ * surveyjs - Survey JavaScript library v1.10.1
3
3
  * Copyright (c) 2015-2024 Devsoft Baltic OÜ - http://surveyjs.io/
4
4
  * License: MIT (http://www.opensource.org/licenses/mit-license.php)
5
5
  */
@@ -153,7 +153,11 @@ export declare function createDropdownActionModel(actionOptions: IAction, dropdo
153
153
  export declare function createDropdownActionModelAdvanced(actionOptions: IAction, listOptions: IListModel, popupOptions?: IPopupOptionsBase, locOwner?: ILocalizableOwner): Action;
154
154
  export declare function getActionDropdownButtonTarget(container: HTMLElement): HTMLElement;
155
155
  export declare abstract class BaseAction extends Base implements IAction {
156
+ private static renderedId;
157
+ private static getNextRendredId;
156
158
  private cssClassesValue;
159
+ private rendredIdValue;
160
+ private ownerValue;
157
161
  tooltip: string;
158
162
  showTitle: boolean;
159
163
  innerCss: string;
@@ -164,7 +168,6 @@ export declare abstract class BaseAction extends Base implements IAction {
164
168
  needSeparator: boolean;
165
169
  template: string;
166
170
  mode: actionModeType;
167
- owner: ILocalizableOwner;
168
171
  visibleIndex: number;
169
172
  disableTabStop: boolean;
170
173
  disableShrink: boolean;
@@ -180,6 +183,8 @@ export declare abstract class BaseAction extends Base implements IAction {
180
183
  css?: string;
181
184
  minDimension: number;
182
185
  maxDimension: number;
186
+ readonly renderedId: number;
187
+ owner: ILocalizableOwner;
183
188
  visible: boolean;
184
189
  enabled: boolean;
185
190
  component: string;
@@ -42,7 +42,7 @@ export interface ISurvey extends ITextProcessor, ISurveyErrorOwner {
42
42
  getQuestionByName(name: string): IQuestion;
43
43
  pageVisibilityChanged(page: IPage, newValue: boolean): any;
44
44
  panelVisibilityChanged(panel: IPanel, newValue: boolean): any;
45
- questionVisibilityChanged(question: IQuestion, newValue: boolean): any;
45
+ questionVisibilityChanged(question: IQuestion, newValue: boolean, resetIndexes: boolean): any;
46
46
  isEditingSurveyElement: boolean;
47
47
  getQuestionClearIfInvisible(questionClearIf: string): string;
48
48
  questionsOrder: string;
@@ -291,6 +291,11 @@ export declare class Base {
291
291
  protected copyCssClasses(dest: any, source: any): void;
292
292
  private getValueInLowCase;
293
293
  getElementsInDesign(includeHidden?: boolean): Array<IElement>;
294
+ readonly animationAllowed: boolean;
295
+ protected getIsAnimationAllowed(): boolean;
296
+ private animationAllowedLock;
297
+ blockAnimations(): void;
298
+ releaseAnimations(): void;
294
299
  }
295
300
  export declare class ArrayChanges<T = any> {
296
301
  index: number;
@@ -390,7 +390,7 @@ export declare var modernCss: {
390
390
  root: string;
391
391
  other: string;
392
392
  placeholderInput: string;
393
- preview: string;
393
+ previewItem: string;
394
394
  fileSignBottom: string;
395
395
  fileDecorator: string;
396
396
  fileInput: string;
@@ -330,7 +330,7 @@ export declare var defaultStandardCss: {
330
330
  file: {
331
331
  root: string;
332
332
  placeholderInput: string;
333
- preview: string;
333
+ previewItem: string;
334
334
  removeButton: string;
335
335
  fileInput: string;
336
336
  removeFile: string;
@@ -105,7 +105,11 @@ export declare var defaultV2Css: {
105
105
  footer: string;
106
106
  panelFooter: string;
107
107
  footerButtonsContainer: string;
108
+ panelsContainer: string;
108
109
  panelWrapperInRow: string;
110
+ panelWrapperFadeIn: string;
111
+ panelWrapperFadeOut: string;
112
+ panelWrapperList: string;
109
113
  progressBtnIcon: string;
110
114
  noEntriesPlaceholder: string;
111
115
  compact: string;
@@ -193,6 +197,7 @@ export declare var defaultV2Css: {
193
197
  titleExpanded: string;
194
198
  titleCollapsed: string;
195
199
  titleDisabled: string;
200
+ titleReadOnly: string;
196
201
  titleBar: string;
197
202
  requiredText: string;
198
203
  number: string;
@@ -217,6 +222,8 @@ export declare var defaultV2Css: {
217
222
  invisible: string;
218
223
  composite: string;
219
224
  disabled: string;
225
+ readOnly: string;
226
+ preview: string;
220
227
  errorsContainer: string;
221
228
  errorsContainerTop: string;
222
229
  errorsContainerBottom: string;
@@ -253,6 +260,9 @@ export declare var defaultV2Css: {
253
260
  itemSelectAll: string;
254
261
  itemNone: string;
255
262
  itemDisabled: string;
263
+ itemReadOnly: string;
264
+ itemPreview: string;
265
+ itemPreviewSvgIconId: string;
256
266
  itemChecked: string;
257
267
  itemHover: string;
258
268
  itemInline: string;
@@ -277,6 +287,9 @@ export declare var defaultV2Css: {
277
287
  label: string;
278
288
  labelChecked: string;
279
289
  itemDisabled: string;
290
+ itemReadOnly: string;
291
+ itemPreview: string;
292
+ itemPreviewSvgIconId: string;
280
293
  itemChecked: string;
281
294
  itemHover: string;
282
295
  itemControl: string;
@@ -298,17 +311,25 @@ export declare var defaultV2Css: {
298
311
  itemExchanged: string;
299
312
  itemIndeterminate: string;
300
313
  itemDisabled: string;
314
+ itemReadOnly: string;
315
+ itemPreview: string;
301
316
  itemHover: string;
302
317
  label: string;
303
318
  labelTrue: string;
304
319
  labelFalse: string;
305
320
  switch: string;
306
321
  disabledLabel: string;
322
+ labelReadOnly: string;
323
+ labelPreview: string;
307
324
  sliderText: string;
308
325
  slider: string;
309
326
  sliderGhost: string;
310
327
  radioItem: string;
311
328
  radioItemChecked: string;
329
+ radioItemDisabled: string;
330
+ radioItemReadOnly: string;
331
+ radioItemPreview: string;
332
+ itemPreviewSvgIconId: string;
312
333
  radioLabel: string;
313
334
  radioControlLabel: string;
314
335
  radioFieldset: string;
@@ -323,6 +344,8 @@ export declare var defaultV2Css: {
323
344
  checkboxItemChecked: string;
324
345
  checkboxItemDecorator: string;
325
346
  checkboxItemDisabled: string;
347
+ checkboxItemReadOnly: string;
348
+ checkboxItemPreview: string;
326
349
  controlCheckbox: string;
327
350
  checkboxMaterialDecorator: string;
328
351
  checkboxControlLabel: string;
@@ -332,6 +355,8 @@ export declare var defaultV2Css: {
332
355
  root: string;
333
356
  small: string;
334
357
  controlDisabled: string;
358
+ controlReadOnly: string;
359
+ controlPreview: string;
335
360
  constrolWithCharacterCounter: string;
336
361
  characterCounterBig: string;
337
362
  content: string;
@@ -342,6 +367,9 @@ export declare var defaultV2Css: {
342
367
  root: string;
343
368
  rootMobile: string;
344
369
  itemLabel: string;
370
+ itemLabelReadOnly: string;
371
+ itemLabelDisabled: string;
372
+ itemLabelPreview: string;
345
373
  itemLabelOnError: string;
346
374
  itemLabelAllowFocus: string;
347
375
  itemLabelAnswered: string;
@@ -379,6 +407,8 @@ export declare var defaultV2Css: {
379
407
  controlInputFieldComponent: string;
380
408
  controlValue: string;
381
409
  controlDisabled: string;
410
+ controlReadOnly: string;
411
+ controlPreview: string;
382
412
  controlEmpty: string;
383
413
  controlLabel: string;
384
414
  filterStringInput: string;
@@ -395,6 +425,8 @@ export declare var defaultV2Css: {
395
425
  itemInline: string;
396
426
  itemChecked: string;
397
427
  itemDisabled: string;
428
+ itemReadOnly: string;
429
+ itemPreview: string;
398
430
  itemHover: string;
399
431
  label: string;
400
432
  itemDecorator: string;
@@ -424,6 +456,7 @@ export declare var defaultV2Css: {
424
456
  cell: string;
425
457
  row: string;
426
458
  rowDisabled: string;
459
+ rowReadOnly: string;
427
460
  headerCell: string;
428
461
  rowTextCell: string;
429
462
  label: string;
@@ -431,6 +464,9 @@ export declare var defaultV2Css: {
431
464
  itemValue: string;
432
465
  itemChecked: string;
433
466
  itemDisabled: string;
467
+ itemReadOnly: string;
468
+ itemPreview: string;
469
+ itemPreviewSvgIconId: string;
434
470
  itemHover: string;
435
471
  materialDecorator: string;
436
472
  itemDecorator: string;
@@ -457,6 +493,8 @@ export declare var defaultV2Css: {
457
493
  errorsCellBottom: string;
458
494
  itemCell: string;
459
495
  row: string;
496
+ rowFadeIn: string;
497
+ rowFadeOut: string;
460
498
  expandedRow: string;
461
499
  rowHasPanel: string;
462
500
  rowHasEndActions: string;
@@ -495,6 +533,8 @@ export declare var defaultV2Css: {
495
533
  content: string;
496
534
  cell: string;
497
535
  row: string;
536
+ rowFadeIn: string;
537
+ rowFadeOut: string;
498
538
  rowHasPanel: string;
499
539
  rowHasEndActions: string;
500
540
  expandedRow: string;
@@ -551,6 +591,8 @@ export declare var defaultV2Css: {
551
591
  itemStarHover: string;
552
592
  itemStarSelected: string;
553
593
  itemStarDisabled: string;
594
+ itemStarReadOnly: string;
595
+ itemStarPreview: string;
554
596
  itemStarHighlighted: string;
555
597
  itemStarUnhighlighted: string;
556
598
  itemStarSmall: string;
@@ -559,6 +601,8 @@ export declare var defaultV2Css: {
559
601
  itemSmileyHover: string;
560
602
  itemSmileySelected: string;
561
603
  itemSmileyDisabled: string;
604
+ itemSmileyReadOnly: string;
605
+ itemSmileyPreview: string;
562
606
  itemSmileyHighlighted: string;
563
607
  itemSmileyScaleColored: string;
564
608
  itemSmileyRateColored: string;
@@ -567,6 +611,8 @@ export declare var defaultV2Css: {
567
611
  itemText: string;
568
612
  maxText: string;
569
613
  itemDisabled: string;
614
+ itemReadOnly: string;
615
+ itemPreview: string;
570
616
  itemFixedSize: string;
571
617
  control: string;
572
618
  itemSmall: string;
@@ -585,6 +631,8 @@ export declare var defaultV2Css: {
585
631
  root: string;
586
632
  small: string;
587
633
  controlDisabled: string;
634
+ controlReadOnly: string;
635
+ controlPreview: string;
588
636
  content: string;
589
637
  remainingCharacterCounter: string;
590
638
  onError: string;
@@ -594,9 +642,12 @@ export declare var defaultV2Css: {
594
642
  root: string;
595
643
  rootDragging: string;
596
644
  rootAnswered: string;
645
+ rootDisabled: string;
646
+ rootReadOnly: string;
647
+ rootPreview: string;
597
648
  other: string;
598
649
  placeholderInput: string;
599
- preview: string;
650
+ previewItem: string;
600
651
  fileSign: string;
601
652
  fileList: string;
602
653
  fileSignBottom: string;
@@ -685,9 +736,12 @@ export declare var defaultV2Css: {
685
736
  rootMobileMod: string;
686
737
  rootDragMod: string;
687
738
  rootDisabled: string;
739
+ rootReadOnly: string;
740
+ rootPreview: string;
688
741
  rootDesignMode: string;
689
742
  rootDragHandleAreaIcon: string;
690
743
  rootSelectToRankMod: string;
744
+ rootSelectToRankEmptyValueMod: string;
691
745
  rootSelectToRankAlignVertical: string;
692
746
  rootSelectToRankAlignHorizontal: string;
693
747
  item: string;
@@ -695,6 +749,8 @@ export declare var defaultV2Css: {
695
749
  itemIndex: string;
696
750
  itemIndexEmptyMode: string;
697
751
  itemDisabled: string;
752
+ itemReadOnly: string;
753
+ itemPreview: string;
698
754
  controlLabel: string;
699
755
  itemGhostNode: string;
700
756
  itemIconContainer: string;
@@ -771,7 +827,10 @@ export declare var defaultV2Css: {
771
827
  controlValue: string;
772
828
  controlValueItems: string;
773
829
  placeholderInput: string;
830
+ controlEditable: string;
774
831
  controlDisabled: string;
832
+ controlReadOnly: string;
833
+ controlPreview: string;
775
834
  controlEmpty: string;
776
835
  controlLabel: string;
777
836
  filterStringInput: string;
@@ -2,12 +2,16 @@
2
2
  * The class contains methods to work with api.surveyjs.io service.
3
3
  */
4
4
  export declare class dxSurveyService {
5
+ locale: string;
5
6
  static serviceUrl: string;
6
- constructor();
7
7
  loadSurvey(surveyId: string, onLoad: (success: boolean, result: string, response: any) => void): void;
8
8
  getSurveyJsonAndIsCompleted(surveyId: string, clientId: string, onLoad: (success: boolean, surveyJson: any, result: string, response: any) => void): void;
9
+ canSendResult(result: JSON): boolean;
10
+ readonly isSurveJSIOService: boolean;
9
11
  sendResult(postId: string, result: JSON, onSendResult: (success: boolean, response: any, request?: any) => void, clientId?: string, isPartialCompleted?: boolean): void;
12
+ protected sendResultCore(postId: string, result: JSON, onSendResult: (success: boolean, response: any, request?: any) => void, clientId?: string, isPartialCompleted?: boolean): void;
10
13
  sendFile(postId: string, file: File, onSendFile: (success: boolean, response: any) => void): void;
11
14
  getResult(resultId: string, name: string, onGetResult: (success: boolean, data: any, dataList: Array<any>, response: any) => void): void;
12
15
  isCompleted(resultId: string, clientId: string, onIsCompleted: (success: boolean, result: string, response: any) => void): void;
16
+ private serviceUrl: any;
13
17
  }
@@ -0,0 +1,8 @@
1
+ import { Base } from "survey-core";
2
+ export declare class ImplementorBase {
3
+ element: Base;
4
+ private static doIterateProperties;
5
+ readonly implementedMark = "__surveyImplementedKo";
6
+ constructor(element: Base);
7
+ dispose(): void;
8
+ }
@@ -0,0 +1,37 @@
1
+ import { PageModel } from "survey-core";
2
+ import { PanelModelBase, PanelModel, QuestionRowModel } from "survey-core";
3
+ import { SurveyElement } from "survey-core";
4
+ import { ImplementorBase } from "./kobase";
5
+ export declare class QuestionRow extends QuestionRowModel {
6
+ panel: PanelModelBase;
7
+ koElementAfterRender: any;
8
+ constructor(panel: PanelModelBase);
9
+ getElementType(el: any): "survey-panel" | "survey-question";
10
+ koAfterRender(htmlElements: any, element: SurveyElement): void;
11
+ private elementAfterRender;
12
+ rowAfterRender(elements: HTMLElement[], model: QuestionRow): void;
13
+ dispose(): void;
14
+ }
15
+ export declare class PanelImplementorBase extends ImplementorBase {
16
+ panel: PanelModelBase;
17
+ constructor(panel: PanelModelBase);
18
+ }
19
+ export declare class Panel extends PanelModel {
20
+ private _implementor;
21
+ koElementType: any;
22
+ constructor(name?: string);
23
+ protected onBaseCreating(): void;
24
+ createRow(): QuestionRowModel;
25
+ protected onCreating(): void;
26
+ protected onNumChanged(value: number): void;
27
+ dispose(): void;
28
+ }
29
+ export declare class Page extends PageModel {
30
+ private _implementor;
31
+ constructor(name?: string);
32
+ protected onBaseCreating(): void;
33
+ createRow(): QuestionRowModel;
34
+ protected onCreating(): void;
35
+ protected onNumChanged(value: number): void;
36
+ dispose(): void;
37
+ }
@@ -67,6 +67,7 @@ export declare var englishStrings: {
67
67
  savingData: string;
68
68
  savingDataError: string;
69
69
  savingDataSuccess: string;
70
+ savingExceedSize: string;
70
71
  saveAgainButton: string;
71
72
  timerMin: string;
72
73
  timerSec: string;
@@ -78,6 +79,7 @@ export declare var englishStrings: {
78
79
  timerLimitSurvey: string;
79
80
  clearCaption: string;
80
81
  signaturePlaceHolder: string;
82
+ signaturePlaceHolderReadOnly: string;
81
83
  chooseFileCaption: string;
82
84
  takePhotoCaption: string;
83
85
  photoPlaceholder: string;
@@ -4,7 +4,7 @@ export declare class InputElementAdapter {
4
4
  private inputMaskInstance;
5
5
  private inputElement;
6
6
  private prevUnmaskedValue;
7
- constructor(inputMaskInstance: InputMaskBase, inputElement: HTMLInputElement, value?: string);
7
+ constructor(inputMaskInstance: InputMaskBase, inputElement: HTMLInputElement, value?: any);
8
8
  inputMaskInstancePropertyChangedHandler: (sender: any, options: any) => void;
9
9
  clickHandler: (event: any) => void;
10
10
  beforeInputHandler: (event: any) => void;
@@ -21,4 +21,5 @@ export declare class InputMaskBase extends Base implements IInputMask {
21
21
  processInput(args: ITextInputParams): IMaskedInputResult;
22
22
  getUnmaskedValue(src: string): any;
23
23
  getMaskedValue(src: any): string;
24
+ getTextAlignment(): "left" | "right" | "auto";
24
25
  }
@@ -1,10 +1,12 @@
1
1
  import { InputMaskPattern } from "./mask_pattern";
2
2
  import { IMaskedInputResult, ITextInputParams } from "./mask_utils";
3
+ declare type DateTimeMaskLexemType = "month" | "day" | "year" | "hour" | "minute" | "second" | "timeMarker" | "separator";
3
4
  export interface IDateTimeMaskLexem {
4
- type: "month" | "day" | "year" | "separator";
5
+ type: DateTimeMaskLexemType;
5
6
  value: any;
6
7
  count: number;
7
8
  maxCount: number;
9
+ upperCase: boolean;
8
10
  }
9
11
  interface IDateTimeComposition {
10
12
  day: number;
@@ -13,6 +15,7 @@ interface IDateTimeComposition {
13
15
  hour?: number;
14
16
  minute?: number;
15
17
  second?: number;
18
+ timeMarker?: string;
16
19
  min?: Date;
17
20
  max?: Date;
18
21
  }
@@ -38,9 +41,12 @@ export declare function getDateTimeLexems(pattern: string): Array<IDateTimeMaskL
38
41
  * [View Demo](https://surveyjs.io/form-library/examples/masked-input-fields/ (linkStyle))
39
42
  */
40
43
  export declare class InputMaskDateTime extends InputMaskPattern {
44
+ private defaultDate;
41
45
  private turnOfTheCentury;
46
+ private twelve;
42
47
  private lexems;
43
48
  private inputDateTimeData;
49
+ private validBeginningOfNumbers;
44
50
  /**
45
51
  * A minimum date and time value that respondents can enter.
46
52
  * @see max
@@ -51,6 +57,9 @@ export declare class InputMaskDateTime extends InputMaskPattern {
51
57
  * @see min
52
58
  */
53
59
  max: string;
60
+ readonly hasDatePart: boolean;
61
+ readonly hasTimePart: boolean;
62
+ private readonly is12Hours: any;
54
63
  getType(): string;
55
64
  protected updateLiterals(): void;
56
65
  private leaveOnlyNumbers;
@@ -58,13 +67,19 @@ export declare class InputMaskDateTime extends InputMaskPattern {
58
67
  private initInputDateTimeData;
59
68
  getISO_8601Format(dateTime: IDateTimeComposition): string;
60
69
  private isYearValid;
70
+ private createIDateTimeCompositionWithDefaults;
71
+ private getMaxDateForMonth;
61
72
  private isDateValid;
62
73
  private getPlaceholder;
74
+ private isDateValid12;
75
+ private updateTimeMarkerInputDateTimeData;
63
76
  private updateInputDateTimeData;
77
+ private checkValidationDateTimePart;
64
78
  private getCorrectDatePartFormat;
65
79
  private createIDateTimeComposition;
66
80
  private parseTwoDigitYear;
67
81
  private getFormatedString;
82
+ private cleanTimeMarker;
68
83
  private setInputDateTimeData;
69
84
  _getMaskedValue(src: string, matchWholeMask?: boolean): string;
70
85
  private getParts;
@@ -76,9 +76,10 @@ export declare class InputMaskNumeric extends InputMaskBase {
76
76
  displayNumber(parsedNumber: INumericalComposition, insertThousandsSeparator?: boolean, matchWholeMask?: boolean): string;
77
77
  convertNumber(parsedNumber: INumericalComposition): number;
78
78
  validateNumber(number: INumericalComposition, matchWholeMask: boolean): boolean;
79
- parseNumber(src: string | number): INumericalComposition;
80
- getNumberMaskedValue(src: string | number, matchWholeMask?: boolean): string;
79
+ parseNumber(src: string): INumericalComposition;
80
+ getNumberMaskedValue(src: string, matchWholeMask?: boolean): string;
81
81
  private getNumberUnmaskedValue;
82
+ getTextAlignment(): "left" | "right" | "auto";
82
83
  getMaskedValue(src: any): string;
83
84
  getUnmaskedValue(src: string): any;
84
85
  processInput(args: ITextInputParams): IMaskedInputResult;
@@ -51,8 +51,16 @@ export declare class InputMaskPattern extends InputMaskBase {
51
51
  * - `dd` - Day of the month, with leading zero for single-digit values.
52
52
  * - `yy` - Last two digits of the year.
53
53
  * - `yyyy` - A four-digit year.
54
+ * - `H` - Hours in 24-hour format.
55
+ * - `HH` - Hours in 24-hour format, with leading zero for single-digit values.
56
+ * - `h` - Hours in 12-hour format.
57
+ * - `hh` - Hours in 12-hour format, with leading zero for single-digit values.
58
+ * - `MM` - Minutes.
59
+ * - `ss` - Seconds.
60
+ * - `TT` - 12-hour clock period in upper case (AM/PM).
61
+ * - `tt` - 12-hour clock period in lower case (am/pm).
54
62
  *
55
- * Example: `mm/dd/yyyy`
63
+ * Example: `mm/dd/yyyy HH:MM:ss`
56
64
  *
57
65
  * [View Demo](https://surveyjs.io/form-library/examples/masked-input-fields/ (linkStyle))
58
66
  * @see [settings.maskSettings](https://surveyjs.io/form-library/documentation/api-reference/settings#maskSettings)
@@ -15,4 +15,5 @@ export interface IInputMask {
15
15
  getMaskedValue(src: any): string;
16
16
  getUnmaskedValue(src: string): any;
17
17
  processInput(args: ITextInputParams): IMaskedInputResult;
18
+ getTextAlignment(): "left" | "right" | "auto";
18
19
  }
@@ -27,6 +27,7 @@ export declare class QuestionRowModel extends Base {
27
27
  readonly id: string;
28
28
  protected equalsCore(obj: Base): boolean;
29
29
  readonly elements: Array<IElement>;
30
+ protected getIsAnimationAllowed(): boolean;
30
31
  private getVisibleElementsAnimationOptions;
31
32
  visibleElementsAnimation: AnimationGroup<IElement>;
32
33
  visibleElements: Array<IElement>;
@@ -532,7 +533,7 @@ export declare class PanelModel extends PanelModelBase implements IElement {
532
533
  focusIn(): void;
533
534
  protected getHasFrameV2(): boolean;
534
535
  protected getIsNested(): boolean;
535
- private readonly showPanelAsPage: any;
536
+ readonly showPanelAsPage: boolean;
536
537
  protected getCssRoot(cssClasses: {
537
538
  [index: string]: string;
538
539
  }): string;
@@ -60,6 +60,8 @@ export declare class PopupBaseViewModel extends Base implements IAnimationConsum
60
60
  onKeyDown(event: any): void;
61
61
  private trapFocus;
62
62
  switchFocus(): void;
63
+ protected _isPositionSetValue: boolean;
64
+ readonly isPositionSet: boolean;
63
65
  updateOnShowing(): void;
64
66
  updateOnHiding(): void;
65
67
  private focusContainer;
@@ -28,6 +28,7 @@ export declare class PopupModel<T = any> extends Base {
28
28
  private onDispose;
29
29
  setWidthByTarget: boolean;
30
30
  focusFirstInputSelector: string;
31
+ locale: string;
31
32
  contentComponentName: string;
32
33
  contentComponentData: T;
33
34
  verticalPosition: VerticalPosition;
@@ -263,6 +263,7 @@ export declare class Question extends SurveyElement<Question> implements IQuesti
263
263
  titleLocation: string;
264
264
  getTitleOwner(): ITitleOwner;
265
265
  protected getIsTitleRenderedAsString(): boolean;
266
+ protected notifySurveyOnChildrenVisibilityChanged(): boolean;
266
267
  private notifySurveyVisibilityChanged;
267
268
  protected clearValueOnHidding(isClearOnHidden: boolean): void;
268
269
  /**
@@ -537,6 +538,7 @@ export declare class Question extends SurveyElement<Question> implements IQuesti
537
538
  value: any;
538
539
  readonly hasFilteredValue: boolean;
539
540
  getFilteredValue(): any;
541
+ getFilteredName(): any;
540
542
  readonly valueForSurvey: any;
541
543
  /**
542
544
  * Sets the question's `value` and `comment` properties to `undefined`.
@@ -42,6 +42,13 @@ export declare class QuestionBooleanModel extends Question {
42
42
  labelTrue: string;
43
43
  readonly locLabelTrue: LocalizableString;
44
44
  readonly isDeterminated: boolean;
45
+ /**
46
+ * Specifies whether to swap the order of the Yes and No answers.
47
+ *
48
+ * Default value: `false`
49
+ *
50
+ * By default, the order is [ "No", "Yes"]. Enable this property to reorder the answers as follows: [ "Yes", "No" ].
51
+ */
45
52
  swapOrder: boolean;
46
53
  readonly locLabelLeft: LocalizableString;
47
54
  readonly locLabelRight: LocalizableString;
@@ -80,6 +87,7 @@ export declare class QuestionBooleanModel extends Question {
80
87
  getCheckboxItemCss(): string;
81
88
  getLabelCss(checked: boolean): string;
82
89
  readonly svgIcon: string;
90
+ readonly itemSvgIcon: string;
83
91
  readonly allowClick: boolean;
84
92
  getCheckedLabel(): LocalizableString;
85
93
  protected setQuestionValue(newValue: any, updateIsAnswered?: boolean): void;