survey-core 2.0.0-rc.3 → 2.0.0-rc.4

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 (318) hide show
  1. package/fesm/i18n/arabic.js +1 -1
  2. package/fesm/i18n/basque.js +1 -1
  3. package/fesm/i18n/bulgarian.js +1 -1
  4. package/fesm/i18n/burmese.js +1 -1
  5. package/fesm/i18n/catalan.js +1 -1
  6. package/fesm/i18n/croatian.js +1 -1
  7. package/fesm/i18n/czech.js +1 -1
  8. package/fesm/i18n/danish.js +1 -1
  9. package/fesm/i18n/dutch.js +1 -1
  10. package/fesm/i18n/english.js +1 -1
  11. package/fesm/i18n/estonian.js +1 -1
  12. package/fesm/i18n/finnish.js +1 -1
  13. package/fesm/i18n/french.js +1 -1
  14. package/fesm/i18n/georgian.js +1 -1
  15. package/fesm/i18n/german.js +1 -1
  16. package/fesm/i18n/greek.js +1 -1
  17. package/fesm/i18n/hebrew.js +1 -1
  18. package/fesm/i18n/hindi.js +1 -1
  19. package/fesm/i18n/hungarian.js +1 -1
  20. package/fesm/i18n/icelandic.js +1 -1
  21. package/fesm/i18n/index.js +1 -1
  22. package/fesm/i18n/indonesian.js +1 -1
  23. package/fesm/i18n/italian.js +1 -1
  24. package/fesm/i18n/japanese.js +1 -1
  25. package/fesm/i18n/kazakh.js +1 -1
  26. package/fesm/i18n/korean.js +1 -1
  27. package/fesm/i18n/latvian.js +1 -1
  28. package/fesm/i18n/lithuanian.js +1 -1
  29. package/fesm/i18n/macedonian.js +1 -1
  30. package/fesm/i18n/malay.js +1 -1
  31. package/fesm/i18n/nl-BE.js +1 -1
  32. package/fesm/i18n/norwegian.js +1 -1
  33. package/fesm/i18n/persian.js +1 -1
  34. package/fesm/i18n/philippines.js +1 -1
  35. package/fesm/i18n/polish.js +1 -1
  36. package/fesm/i18n/portuguese-br.js +1 -1
  37. package/fesm/i18n/portuguese.js +1 -1
  38. package/fesm/i18n/romanian.js +1 -1
  39. package/fesm/i18n/russian.js +1 -1
  40. package/fesm/i18n/serbian.js +1 -1
  41. package/fesm/i18n/simplified-chinese.js +1 -1
  42. package/fesm/i18n/slovak.js +1 -1
  43. package/fesm/i18n/spanish.js +1 -1
  44. package/fesm/i18n/swahili.js +1 -1
  45. package/fesm/i18n/swedish.js +1 -1
  46. package/fesm/i18n/tajik.js +1 -1
  47. package/fesm/i18n/telugu.js +1 -1
  48. package/fesm/i18n/thai.js +1 -1
  49. package/fesm/i18n/traditional-chinese.js +1 -1
  50. package/fesm/i18n/turkish.js +1 -1
  51. package/fesm/i18n/ukrainian.js +1 -1
  52. package/fesm/i18n/urdu.js +1 -1
  53. package/fesm/i18n/vietnamese.js +1 -1
  54. package/fesm/i18n/welsh.js +1 -1
  55. package/fesm/icons/iconsV1.js +1 -1
  56. package/fesm/icons/iconsV2.js +1 -1
  57. package/fesm/survey-core.js +255 -191
  58. package/fesm/survey-core.js.map +1 -1
  59. package/fesm/survey.i18n.js +1 -1
  60. package/fesm/themes/borderless-dark-panelless.js +1 -1
  61. package/fesm/themes/borderless-dark.js +1 -1
  62. package/fesm/themes/borderless-light-panelless.js +1 -1
  63. package/fesm/themes/borderless-light.js +1 -1
  64. package/fesm/themes/contrast-dark-panelless.js +1 -1
  65. package/fesm/themes/contrast-dark.js +1 -1
  66. package/fesm/themes/contrast-light-panelless.js +1 -1
  67. package/fesm/themes/contrast-light.js +1 -1
  68. package/fesm/themes/default-dark-panelless.js +1 -1
  69. package/fesm/themes/default-dark.js +1 -1
  70. package/fesm/themes/default-light-panelless.js +1 -1
  71. package/fesm/themes/default-light.js +1 -1
  72. package/fesm/themes/doubleborder-dark-panelless.js +1 -1
  73. package/fesm/themes/doubleborder-dark.js +1 -1
  74. package/fesm/themes/doubleborder-light-panelles.js +1 -1
  75. package/fesm/themes/doubleborder-light.js +1 -1
  76. package/fesm/themes/flat-dark-panelless.js +1 -1
  77. package/fesm/themes/flat-dark.js +1 -1
  78. package/fesm/themes/flat-light-panelless.js +1 -1
  79. package/fesm/themes/flat-light.js +1 -1
  80. package/fesm/themes/index.js +1 -1
  81. package/fesm/themes/layered-dark-panelless.js +1 -1
  82. package/fesm/themes/layered-dark.js +1 -1
  83. package/fesm/themes/layered-light-panelless.js +1 -1
  84. package/fesm/themes/layered-light.js +1 -1
  85. package/fesm/themes/plain-dark-panelless.js +1 -1
  86. package/fesm/themes/plain-dark.js +1 -1
  87. package/fesm/themes/plain-light-panelless.js +1 -1
  88. package/fesm/themes/plain-light.js +1 -1
  89. package/fesm/themes/sharp-dark-panelless.js +1 -1
  90. package/fesm/themes/sharp-dark.js +1 -1
  91. package/fesm/themes/sharp-light-panelless.js +1 -1
  92. package/fesm/themes/sharp-light.js +1 -1
  93. package/fesm/themes/solid-dark-panelless.js +1 -1
  94. package/fesm/themes/solid-dark.js +1 -1
  95. package/fesm/themes/solid-light-panelless.js +1 -1
  96. package/fesm/themes/solid-light.js +1 -1
  97. package/fesm/themes/three-dimensional-dark-panelless.js +1 -1
  98. package/fesm/themes/three-dimensional-dark.js +1 -1
  99. package/fesm/themes/three-dimensional-light-panelless.js +1 -1
  100. package/fesm/themes/three-dimensional-light.js +1 -1
  101. package/i18n/arabic.js +1 -1
  102. package/i18n/arabic.min.js.LICENSE.txt +1 -1
  103. package/i18n/basque.js +1 -1
  104. package/i18n/basque.min.js.LICENSE.txt +1 -1
  105. package/i18n/bulgarian.js +1 -1
  106. package/i18n/bulgarian.min.js.LICENSE.txt +1 -1
  107. package/i18n/burmese.js +1 -1
  108. package/i18n/burmese.min.js.LICENSE.txt +1 -1
  109. package/i18n/catalan.js +1 -1
  110. package/i18n/catalan.min.js.LICENSE.txt +1 -1
  111. package/i18n/croatian.js +1 -1
  112. package/i18n/croatian.min.js.LICENSE.txt +1 -1
  113. package/i18n/czech.js +1 -1
  114. package/i18n/czech.min.js.LICENSE.txt +1 -1
  115. package/i18n/danish.js +1 -1
  116. package/i18n/danish.min.js.LICENSE.txt +1 -1
  117. package/i18n/dutch.js +1 -1
  118. package/i18n/dutch.min.js.LICENSE.txt +1 -1
  119. package/i18n/english.js +1 -1
  120. package/i18n/english.min.js.LICENSE.txt +1 -1
  121. package/i18n/estonian.js +1 -1
  122. package/i18n/estonian.min.js.LICENSE.txt +1 -1
  123. package/i18n/finnish.js +1 -1
  124. package/i18n/finnish.min.js.LICENSE.txt +1 -1
  125. package/i18n/french.js +1 -1
  126. package/i18n/french.min.js.LICENSE.txt +1 -1
  127. package/i18n/georgian.js +1 -1
  128. package/i18n/georgian.min.js.LICENSE.txt +1 -1
  129. package/i18n/german.js +1 -1
  130. package/i18n/german.min.js.LICENSE.txt +1 -1
  131. package/i18n/greek.js +1 -1
  132. package/i18n/greek.min.js.LICENSE.txt +1 -1
  133. package/i18n/hebrew.js +1 -1
  134. package/i18n/hebrew.min.js.LICENSE.txt +1 -1
  135. package/i18n/hindi.js +1 -1
  136. package/i18n/hindi.min.js.LICENSE.txt +1 -1
  137. package/i18n/hungarian.js +1 -1
  138. package/i18n/hungarian.min.js.LICENSE.txt +1 -1
  139. package/i18n/icelandic.js +1 -1
  140. package/i18n/icelandic.min.js.LICENSE.txt +1 -1
  141. package/i18n/index.js +1 -1
  142. package/i18n/index.min.js.LICENSE.txt +1 -1
  143. package/i18n/indonesian.js +1 -1
  144. package/i18n/indonesian.min.js.LICENSE.txt +1 -1
  145. package/i18n/italian.js +1 -1
  146. package/i18n/italian.min.js.LICENSE.txt +1 -1
  147. package/i18n/japanese.js +1 -1
  148. package/i18n/japanese.min.js.LICENSE.txt +1 -1
  149. package/i18n/kazakh.js +1 -1
  150. package/i18n/kazakh.min.js.LICENSE.txt +1 -1
  151. package/i18n/korean.js +1 -1
  152. package/i18n/korean.min.js.LICENSE.txt +1 -1
  153. package/i18n/latvian.js +1 -1
  154. package/i18n/latvian.min.js.LICENSE.txt +1 -1
  155. package/i18n/lithuanian.js +1 -1
  156. package/i18n/lithuanian.min.js.LICENSE.txt +1 -1
  157. package/i18n/macedonian.js +1 -1
  158. package/i18n/macedonian.min.js.LICENSE.txt +1 -1
  159. package/i18n/malay.js +1 -1
  160. package/i18n/malay.min.js.LICENSE.txt +1 -1
  161. package/i18n/nl-BE.js +1 -1
  162. package/i18n/nl-BE.min.js.LICENSE.txt +1 -1
  163. package/i18n/norwegian.js +1 -1
  164. package/i18n/norwegian.min.js.LICENSE.txt +1 -1
  165. package/i18n/persian.js +1 -1
  166. package/i18n/persian.min.js.LICENSE.txt +1 -1
  167. package/i18n/philippines.js +1 -1
  168. package/i18n/philippines.min.js.LICENSE.txt +1 -1
  169. package/i18n/polish.js +1 -1
  170. package/i18n/polish.min.js.LICENSE.txt +1 -1
  171. package/i18n/portuguese-br.js +1 -1
  172. package/i18n/portuguese-br.min.js.LICENSE.txt +1 -1
  173. package/i18n/portuguese.js +1 -1
  174. package/i18n/portuguese.min.js.LICENSE.txt +1 -1
  175. package/i18n/romanian.js +1 -1
  176. package/i18n/romanian.min.js.LICENSE.txt +1 -1
  177. package/i18n/russian.js +1 -1
  178. package/i18n/russian.min.js.LICENSE.txt +1 -1
  179. package/i18n/serbian.js +1 -1
  180. package/i18n/serbian.min.js.LICENSE.txt +1 -1
  181. package/i18n/simplified-chinese.js +1 -1
  182. package/i18n/simplified-chinese.min.js.LICENSE.txt +1 -1
  183. package/i18n/slovak.js +1 -1
  184. package/i18n/slovak.min.js.LICENSE.txt +1 -1
  185. package/i18n/spanish.js +1 -1
  186. package/i18n/spanish.min.js.LICENSE.txt +1 -1
  187. package/i18n/swahili.js +1 -1
  188. package/i18n/swahili.min.js.LICENSE.txt +1 -1
  189. package/i18n/swedish.js +1 -1
  190. package/i18n/swedish.min.js.LICENSE.txt +1 -1
  191. package/i18n/tajik.js +1 -1
  192. package/i18n/tajik.min.js.LICENSE.txt +1 -1
  193. package/i18n/telugu.js +1 -1
  194. package/i18n/telugu.min.js.LICENSE.txt +1 -1
  195. package/i18n/thai.js +1 -1
  196. package/i18n/thai.min.js.LICENSE.txt +1 -1
  197. package/i18n/traditional-chinese.js +1 -1
  198. package/i18n/traditional-chinese.min.js.LICENSE.txt +1 -1
  199. package/i18n/turkish.js +1 -1
  200. package/i18n/turkish.min.js.LICENSE.txt +1 -1
  201. package/i18n/ukrainian.js +1 -1
  202. package/i18n/ukrainian.min.js.LICENSE.txt +1 -1
  203. package/i18n/urdu.js +1 -1
  204. package/i18n/urdu.min.js.LICENSE.txt +1 -1
  205. package/i18n/vietnamese.js +1 -1
  206. package/i18n/vietnamese.min.js.LICENSE.txt +1 -1
  207. package/i18n/welsh.js +1 -1
  208. package/i18n/welsh.min.js.LICENSE.txt +1 -1
  209. package/icons/iconsV1.js +1 -1
  210. package/icons/iconsV1.min.js.LICENSE.txt +1 -1
  211. package/icons/iconsV2.js +1 -1
  212. package/icons/iconsV2.min.js.LICENSE.txt +1 -1
  213. package/package.json +1 -1
  214. package/survey-core.css +1 -1
  215. package/survey-core.fontless.css +1 -1
  216. package/survey-core.fontless.min.css +1 -1
  217. package/survey-core.min.css +1 -1
  218. package/survey.core.js +374 -201
  219. package/survey.core.js.map +1 -1
  220. package/survey.core.min.js +1 -1
  221. package/survey.core.min.js.LICENSE.txt +1 -1
  222. package/survey.i18n.js +1 -1
  223. package/survey.i18n.min.js.LICENSE.txt +1 -1
  224. package/themes/borderless-dark-panelless.js +1 -1
  225. package/themes/borderless-dark-panelless.min.js.LICENSE.txt +1 -1
  226. package/themes/borderless-dark.js +1 -1
  227. package/themes/borderless-dark.min.js.LICENSE.txt +1 -1
  228. package/themes/borderless-light-panelless.js +1 -1
  229. package/themes/borderless-light-panelless.min.js.LICENSE.txt +1 -1
  230. package/themes/borderless-light.js +1 -1
  231. package/themes/borderless-light.min.js.LICENSE.txt +1 -1
  232. package/themes/contrast-dark-panelless.js +1 -1
  233. package/themes/contrast-dark-panelless.min.js.LICENSE.txt +1 -1
  234. package/themes/contrast-dark.js +1 -1
  235. package/themes/contrast-dark.min.js.LICENSE.txt +1 -1
  236. package/themes/contrast-light-panelless.js +1 -1
  237. package/themes/contrast-light-panelless.min.js.LICENSE.txt +1 -1
  238. package/themes/contrast-light.js +1 -1
  239. package/themes/contrast-light.min.js.LICENSE.txt +1 -1
  240. package/themes/default-dark-panelless.js +1 -1
  241. package/themes/default-dark-panelless.min.js.LICENSE.txt +1 -1
  242. package/themes/default-dark.js +1 -1
  243. package/themes/default-dark.min.js.LICENSE.txt +1 -1
  244. package/themes/default-light-panelless.js +1 -1
  245. package/themes/default-light-panelless.min.js.LICENSE.txt +1 -1
  246. package/themes/default-light.js +1 -1
  247. package/themes/default-light.min.js.LICENSE.txt +1 -1
  248. package/themes/doubleborder-dark-panelless.js +1 -1
  249. package/themes/doubleborder-dark-panelless.min.js.LICENSE.txt +1 -1
  250. package/themes/doubleborder-dark.js +1 -1
  251. package/themes/doubleborder-dark.min.js.LICENSE.txt +1 -1
  252. package/themes/doubleborder-light-panelles.js +1 -1
  253. package/themes/doubleborder-light-panelles.min.js.LICENSE.txt +1 -1
  254. package/themes/doubleborder-light.js +1 -1
  255. package/themes/doubleborder-light.min.js.LICENSE.txt +1 -1
  256. package/themes/flat-dark-panelless.js +1 -1
  257. package/themes/flat-dark-panelless.min.js.LICENSE.txt +1 -1
  258. package/themes/flat-dark.js +1 -1
  259. package/themes/flat-dark.min.js.LICENSE.txt +1 -1
  260. package/themes/flat-light-panelless.js +1 -1
  261. package/themes/flat-light-panelless.min.js.LICENSE.txt +1 -1
  262. package/themes/flat-light.js +1 -1
  263. package/themes/flat-light.min.js.LICENSE.txt +1 -1
  264. package/themes/index.js +1 -1
  265. package/themes/index.min.js.LICENSE.txt +1 -1
  266. package/themes/layered-dark-panelless.js +1 -1
  267. package/themes/layered-dark-panelless.min.js.LICENSE.txt +1 -1
  268. package/themes/layered-dark.js +1 -1
  269. package/themes/layered-dark.min.js.LICENSE.txt +1 -1
  270. package/themes/layered-light-panelless.js +1 -1
  271. package/themes/layered-light-panelless.min.js.LICENSE.txt +1 -1
  272. package/themes/layered-light.js +1 -1
  273. package/themes/layered-light.min.js.LICENSE.txt +1 -1
  274. package/themes/plain-dark-panelless.js +1 -1
  275. package/themes/plain-dark-panelless.min.js.LICENSE.txt +1 -1
  276. package/themes/plain-dark.js +1 -1
  277. package/themes/plain-dark.min.js.LICENSE.txt +1 -1
  278. package/themes/plain-light-panelless.js +1 -1
  279. package/themes/plain-light-panelless.min.js.LICENSE.txt +1 -1
  280. package/themes/plain-light.js +1 -1
  281. package/themes/plain-light.min.js.LICENSE.txt +1 -1
  282. package/themes/sharp-dark-panelless.js +1 -1
  283. package/themes/sharp-dark-panelless.min.js.LICENSE.txt +1 -1
  284. package/themes/sharp-dark.js +1 -1
  285. package/themes/sharp-dark.min.js.LICENSE.txt +1 -1
  286. package/themes/sharp-light-panelless.js +1 -1
  287. package/themes/sharp-light-panelless.min.js.LICENSE.txt +1 -1
  288. package/themes/sharp-light.js +1 -1
  289. package/themes/sharp-light.min.js.LICENSE.txt +1 -1
  290. package/themes/solid-dark-panelless.js +1 -1
  291. package/themes/solid-dark-panelless.min.js.LICENSE.txt +1 -1
  292. package/themes/solid-dark.js +1 -1
  293. package/themes/solid-dark.min.js.LICENSE.txt +1 -1
  294. package/themes/solid-light-panelless.js +1 -1
  295. package/themes/solid-light-panelless.min.js.LICENSE.txt +1 -1
  296. package/themes/solid-light.js +1 -1
  297. package/themes/solid-light.min.js.LICENSE.txt +1 -1
  298. package/themes/three-dimensional-dark-panelless.js +1 -1
  299. package/themes/three-dimensional-dark-panelless.min.js.LICENSE.txt +1 -1
  300. package/themes/three-dimensional-dark.js +1 -1
  301. package/themes/three-dimensional-dark.min.js.LICENSE.txt +1 -1
  302. package/themes/three-dimensional-light-panelless.js +1 -1
  303. package/themes/three-dimensional-light-panelless.min.js.LICENSE.txt +1 -1
  304. package/themes/three-dimensional-light.js +1 -1
  305. package/themes/three-dimensional-light.min.js.LICENSE.txt +1 -1
  306. package/typings/src/base-interfaces.d.ts +1 -0
  307. package/typings/src/base.d.ts +5 -1
  308. package/typings/src/itemvalue.d.ts +7 -2
  309. package/typings/src/jsonobject.d.ts +3 -1
  310. package/typings/src/localizablestring.d.ts +1 -0
  311. package/typings/src/progress-buttons.d.ts +2 -0
  312. package/typings/src/question.d.ts +13 -6
  313. package/typings/src/question_baseselect.d.ts +7 -3
  314. package/typings/src/question_dropdown.d.ts +3 -2
  315. package/typings/src/question_rating.d.ts +2 -2
  316. package/typings/src/survey-element.d.ts +4 -2
  317. package/typings/src/survey.d.ts +15 -16
  318. package/typings/src/svgbundle.d.ts +1 -0
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * surveyjs - Survey JavaScript library v2.0.0-rc.3
2
+ * surveyjs - Survey JavaScript library v2.0.0-rc.4
3
3
  * Copyright (c) 2015-2025 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 v2.0.0-rc.3
2
+ * surveyjs - Survey JavaScript library v2.0.0-rc.4
3
3
  * Copyright (c) 2015-2025 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 v2.0.0-rc.3
2
+ * surveyjs - Survey JavaScript library v2.0.0-rc.4
3
3
  * Copyright (c) 2015-2025 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 v2.0.0-rc.3
2
+ * surveyjs - Survey JavaScript library v2.0.0-rc.4
3
3
  * Copyright (c) 2015-2025 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 v2.0.0-rc.3
2
+ * surveyjs - Survey JavaScript library v2.0.0-rc.4
3
3
  * Copyright (c) 2015-2025 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 v2.0.0-rc.3
2
+ * surveyjs - Survey JavaScript library v2.0.0-rc.4
3
3
  * Copyright (c) 2015-2025 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 v2.0.0-rc.3
2
+ * surveyjs - Survey JavaScript library v2.0.0-rc.4
3
3
  * Copyright (c) 2015-2025 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 v2.0.0-rc.3
2
+ * surveyjs - Survey JavaScript library v2.0.0-rc.4
3
3
  * Copyright (c) 2015-2025 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 v2.0.0-rc.3
2
+ * surveyjs - Survey JavaScript library v2.0.0-rc.4
3
3
  * Copyright (c) 2015-2025 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 v2.0.0-rc.3
2
+ * surveyjs - Survey JavaScript library v2.0.0-rc.4
3
3
  * Copyright (c) 2015-2025 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 v2.0.0-rc.3
2
+ * surveyjs - Survey JavaScript library v2.0.0-rc.4
3
3
  * Copyright (c) 2015-2025 Devsoft Baltic OÜ - http://surveyjs.io/
4
4
  * License: MIT (http://www.opensource.org/licenses/mit-license.php)
5
5
  */
@@ -341,6 +341,7 @@ export interface ISurveyLayoutElement {
341
341
  template?: string;
342
342
  data?: any;
343
343
  index?: number;
344
+ getData?: () => any;
344
345
  processResponsiveness?: (width: number) => void;
345
346
  }
346
347
  export interface IPlainDataOptions {
@@ -10,6 +10,7 @@ export declare class Bindings {
10
10
  private values;
11
11
  constructor(obj: Base);
12
12
  getType(): string;
13
+ get isSurveyObj(): boolean;
13
14
  getNames(): Array<string>;
14
15
  getProperties(): Array<JsonObjectProperty>;
15
16
  setBinding(propertyName: string, valueName: string): void;
@@ -83,7 +84,6 @@ export declare class Base {
83
84
  private arraysInfo;
84
85
  private eventList;
85
86
  private expressionInfo;
86
- private bindingsValue;
87
87
  private isDisposedValue;
88
88
  private classMetaData;
89
89
  private onPropChangeFunctions;
@@ -132,6 +132,7 @@ export declare class Base {
132
132
  constructor();
133
133
  dispose(): void;
134
134
  get isDisposed(): boolean;
135
+ get isSurveyObj(): boolean;
135
136
  protected addEvent<T, Options = any>(): EventBase<T, Options>;
136
137
  protected onBaseCreating(): void;
137
138
  /**
@@ -157,7 +158,9 @@ export declare class Base {
157
158
  * This property may return `false`, for example, when you [create a survey model dynamically](https://surveyjs.io/form-library/documentation/design-survey-create-a-simple-survey#create-or-change-a-survey-model-dynamically).
158
159
  */
159
160
  get inSurvey(): boolean;
161
+ private bindingsValue;
160
162
  get bindings(): Bindings;
163
+ protected isBindingEmpty(): boolean;
161
164
  checkBindings(valueName: string, value: any): void;
162
165
  protected updateBindings(propertyName: string, value: any): void;
163
166
  protected updateBindingValue(valueName: string, value: any): void;
@@ -275,6 +278,7 @@ export declare class Base {
275
278
  getLocalizationString(strName: string): string;
276
279
  getLocalizationFormatString(strName: string, ...args: any[]): string;
277
280
  protected createLocalizableString(name: string, owner: ILocalizableOwner, useMarkDown?: boolean, defaultStr?: boolean | string): LocalizableString;
281
+ protected removeLocalizableString(name: string): void;
278
282
  getLocalizableString(name: string): LocalizableString;
279
283
  getLocalizableStringText(name: string, defaultStr?: string): string;
280
284
  setLocalizableStringText(name: string, value: string): void;
@@ -28,7 +28,6 @@ export declare class ItemValue extends BaseAction implements ILocalizableOwner,
28
28
  static runEnabledConditionsForItems(items: Array<ItemValue>, runner: ConditionRunner, values: any, properties: any, onItemCallBack?: (item: ItemValue, val: boolean) => boolean): boolean;
29
29
  private static runConditionsForItemsCore;
30
30
  ownerPropertyName: string;
31
- private _visible;
32
31
  private locTextValue;
33
32
  private visibleConditionRunner;
34
33
  private enableConditionRunner;
@@ -39,6 +38,8 @@ export declare class ItemValue extends BaseAction implements ILocalizableOwner,
39
38
  getLocale(): string;
40
39
  isGhost: boolean;
41
40
  protected get isInternal(): boolean;
41
+ private createLocText;
42
+ private getValueText;
42
43
  get locText(): LocalizableString;
43
44
  setLocText(locText: LocalizableString): void;
44
45
  private _locOwner;
@@ -52,6 +53,7 @@ export declare class ItemValue extends BaseAction implements ILocalizableOwner,
52
53
  set pureText(val: string);
53
54
  get text(): string;
54
55
  set text(newText: string);
56
+ get textOrHtml(): string;
55
57
  get calculatedText(): string;
56
58
  get shortcutText(): string;
57
59
  private canSerializeValue;
@@ -85,9 +87,12 @@ export declare class ItemValue extends BaseAction implements ILocalizableOwner,
85
87
  protected setEnabled(val: boolean): void;
86
88
  protected getVisible(): boolean;
87
89
  protected setVisible(val: boolean): void;
90
+ private get _visible();
91
+ private set _visible(value);
88
92
  protected getLocTitle(): LocalizableString;
89
93
  protected getTitle(): string;
90
94
  protected setLocTitle(val: LocalizableString): void;
91
95
  protected setTitle(val: string): void;
92
- icon: string;
96
+ get icon(): string;
97
+ set icon(val: string);
93
98
  }
@@ -38,6 +38,7 @@ export interface IJsonPropertyInfo {
38
38
  dataList?: Array<string>;
39
39
  isLocalizable?: boolean;
40
40
  isSerializable?: boolean;
41
+ isSerializableFunc?: (obj: any) => boolean;
41
42
  isLightSerializable?: boolean;
42
43
  readOnly?: boolean;
43
44
  availableInMatrixColumn?: boolean;
@@ -96,6 +97,7 @@ export declare class JsonObjectProperty implements IObject, IJsonPropertyInfo {
96
97
  private choicesfunc;
97
98
  private dependedProperties;
98
99
  isSerializable: boolean;
100
+ isSerializableFunc: (obj: any) => boolean;
99
101
  isLightSerializable: boolean;
100
102
  isCustom: boolean;
101
103
  isDynamicChoices: boolean;
@@ -150,7 +152,7 @@ export declare class JsonObjectProperty implements IObject, IJsonPropertyInfo {
150
152
  set isUnique(val: boolean);
151
153
  get uniquePropertyName(): string;
152
154
  set uniquePropertyName(val: string);
153
- get hasToUseGetValue(): string | ((obj: any) => any);
155
+ isPropertySerializable(obj: any): boolean;
154
156
  getDefaultValue(obj: Base): any;
155
157
  get defaultValue(): any;
156
158
  set defaultValue(newValue: any);
@@ -54,6 +54,7 @@ export declare class LocalizableString implements ILocalizableString {
54
54
  set text(value: string);
55
55
  get calculatedText(): string;
56
56
  private calcText;
57
+ private isTextRequested;
57
58
  get pureText(): string;
58
59
  private getRootDialect;
59
60
  private getLocalizationName;
@@ -20,6 +20,8 @@ export declare class ProgressButtons extends Base {
20
20
  getItemNumber(page: PageModel): string;
21
21
  get headerText(): string;
22
22
  get footerText(): string;
23
+ get progressText(): string;
24
+ resetProgressText(): void;
23
25
  onResize: EventBase<ProgressButtons, any>;
24
26
  processResponsiveness(width: number): void;
25
27
  }
@@ -86,9 +86,12 @@ export declare class Question extends SurveyElement<Question> implements IQuesti
86
86
  get isMobile(): boolean;
87
87
  set isMobile(val: boolean);
88
88
  themeChanged(theme: ITheme): void;
89
- private _isMobile;
90
- forceIsInputReadOnly: boolean;
91
- ariaExpanded: "true" | "false";
89
+ private get _isMobile();
90
+ private set _isMobile(value);
91
+ get forceIsInputReadOnly(): boolean;
92
+ set forceIsInputReadOnly(val: boolean);
93
+ get ariaExpanded(): "true" | "false";
94
+ set ariaExpanded(val: "true" | "false");
92
95
  constructor(name: string);
93
96
  protected getDefaultTitle(): string;
94
97
  protected createLocTitleProperty(): LocalizableString;
@@ -367,7 +370,9 @@ export declare class Question extends SurveyElement<Question> implements IQuesti
367
370
  * @see comment
368
371
  * @see commentText
369
372
  */
370
- commentPlaceholder: string;
373
+ get commentPlaceholder(): string;
374
+ set commentPlaceholder(val: string);
375
+ get locCommentPlaceholder(): LocalizableString;
371
376
  get commentPlaceHolder(): string;
372
377
  set commentPlaceHolder(newValue: string);
373
378
  get renderedCommentPlaceholder(): string;
@@ -900,8 +905,10 @@ export declare class Question extends SurveyElement<Question> implements IQuesti
900
905
  protected updateBindingProp(propName: string, value: any): void;
901
906
  getComponentName(): string;
902
907
  isDefaultRendering(): boolean;
903
- renderAs: string;
904
- inMatrixMode: boolean;
908
+ get renderAs(): string;
909
+ set renderAs(val: string);
910
+ get inMatrixMode(): boolean;
911
+ set inMatrixMode(val: boolean);
905
912
  getErrorCustomText(text: string, error: SurveyError): string;
906
913
  getValidatorTitle(): string;
907
914
  get validatedValue(): any;
@@ -30,7 +30,8 @@ export declare class QuestionSelectBase extends Question {
30
30
  private canShowOptionItemCallback;
31
31
  private waitingGetChoiceDisplayValueResponse;
32
32
  private get waitingChoicesByURL();
33
- protected selectedItemValues: any;
33
+ protected get selectedItemValues(): any;
34
+ protected set selectedItemValues(val: any);
34
35
  constructor(name: string);
35
36
  getType(): string;
36
37
  dispose(): void;
@@ -339,13 +340,16 @@ export declare class QuestionSelectBase extends Question {
339
340
  * @see showOtherItem
340
341
  * @see [settings.specialChoicesOrder](https://surveyjs.io/form-library/documentation/api-reference/settings#specialChoicesOrder)
341
342
  */
342
- separateSpecialChoices: boolean;
343
+ get separateSpecialChoices(): boolean;
344
+ set separateSpecialChoices(val: boolean);
343
345
  /**
344
346
  * A placeholder for the comment area. Applies when the `showOtherItem` or `showCommentArea` property is `true`.
345
347
  * @see showOtherItem
346
348
  * @see showCommentArea
347
349
  */
348
- otherPlaceholder: string;
350
+ get otherPlaceholder(): string;
351
+ set otherPlaceholder(val: string);
352
+ get locOtherPlaceholder(): LocalizableString;
349
353
  get otherPlaceHolder(): string;
350
354
  set otherPlaceHolder(newValue: string);
351
355
  /**
@@ -12,7 +12,6 @@ import { DropdownListModel } from "./dropdownListModel";
12
12
  export declare class QuestionDropdownModel extends QuestionSelectBase {
13
13
  dropdownListModelValue: DropdownListModel;
14
14
  lastSelectedItemValue: ItemValue;
15
- updateReadOnlyText(): void;
16
15
  constructor(name: string);
17
16
  locStrsChanged(): void;
18
17
  get showOptionsCaption(): boolean;
@@ -110,7 +109,9 @@ export declare class QuestionDropdownModel extends QuestionSelectBase {
110
109
  */
111
110
  textWrapEnabled: boolean;
112
111
  inputHasValue: boolean;
113
- readOnlyText: string;
112
+ get readOnlyText(): string;
113
+ protected calculateReadOnlyText(): string;
114
+ protected resetReadOnlyText(): void;
114
115
  /**
115
116
  * Enables lazy loading. If you set this property to `true`, you should implement the Survey's [`onChoicesLazyLoad`](https://surveyjs.io/form-library/documentation/surveymodel#onChoicesLazyLoad) event handler.
116
117
  * @see choicesLazyLoadPageSize
@@ -158,8 +158,8 @@ export declare class QuestionRatingModel extends Question {
158
158
  get maxRateDescription(): string;
159
159
  set maxRateDescription(val: string);
160
160
  get locMaxRateDescription(): LocalizableString;
161
- hasMinRateDescription: boolean;
162
- hasMaxRateDescription: boolean;
161
+ get hasMinRateDescription(): boolean;
162
+ get hasMaxRateDescription(): boolean;
163
163
  get hasMinLabel(): boolean;
164
164
  get hasMaxLabel(): boolean;
165
165
  /**
@@ -57,13 +57,15 @@ export declare abstract class SurveyElementCore extends Base implements ILocaliz
57
57
  * Returns `true` if the survey element has a description.
58
58
  * @see description
59
59
  */
60
- hasDescription: boolean;
60
+ get hasDescription(): boolean;
61
+ set hasDescription(val: boolean);
62
+ protected calcDescriptionVisibility(): boolean;
63
+ protected resetDescriptionVisibility(): void;
61
64
  /**
62
65
  * Explanatory text displayed under the title.
63
66
  * @see hasDescription
64
67
  */
65
68
  description: string;
66
- updateDescriptionVisibility(newDescription: any): void;
67
69
  get locDescription(): LocalizableString;
68
70
  get titleTagName(): string;
69
71
  protected getDefaultTitleTagName(): string;
@@ -773,6 +773,8 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
773
773
  onElementWrapperComponentName: EventBase<SurveyModel, any>;
774
774
  onElementWrapperComponentData: EventBase<SurveyModel, any>;
775
775
  constructor(jsonObj?: any, renderedElement?: any);
776
+ private tocModelValue;
777
+ private get tocModel();
776
778
  get sjsVersion(): string;
777
779
  set sjsVersion(val: string);
778
780
  processClosedPopup(question: IQuestion, popupModel: PopupModel<any>): void;
@@ -1371,11 +1373,11 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
1371
1373
  get logoPosition(): string;
1372
1374
  set logoPosition(value: string);
1373
1375
  get hasLogo(): boolean;
1374
- private updateHasLogo;
1376
+ private resetHasLogo;
1375
1377
  get isLogoBefore(): boolean;
1376
1378
  get isLogoAfter(): boolean;
1377
1379
  get logoClassNames(): string;
1378
- private titleIsEmpty;
1380
+ get titleIsEmpty(): boolean;
1379
1381
  get renderedHasTitle(): boolean;
1380
1382
  get renderedHasDescription(): boolean;
1381
1383
  get hasTitle(): boolean;
@@ -1416,8 +1418,7 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
1416
1418
  * @see backgroundOpacity
1417
1419
  */
1418
1420
  backgroundImage: string;
1419
- renderBackgroundImage: string;
1420
- private updateRenderBackgroundImage;
1421
+ get renderBackgroundImage(): string;
1421
1422
  backgroundImageFit: ImageFit;
1422
1423
  backgroundImageAttachment: ImageAttachment;
1423
1424
  /**
@@ -1425,8 +1426,8 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
1425
1426
  */
1426
1427
  get backgroundOpacity(): number;
1427
1428
  set backgroundOpacity(val: number);
1428
- backgroundImageStyle: any;
1429
- updateBackgroundImageStyle(): void;
1429
+ get backgroundImageStyle(): any;
1430
+ private calcBackgroundImageStyle;
1430
1431
  wrapperFormCss: string;
1431
1432
  updateWrapperFormCss(): void;
1432
1433
  /**
@@ -1993,13 +1994,6 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
1993
1994
  private notifyQuestionsOnHidingContent;
1994
1995
  private createPageChangeEventOptions;
1995
1996
  getProgress(): number;
1996
- /**
1997
- * Returns a percentage value that indicates user progress in the survey.
1998
- * @see showProgressBar
1999
- * @see progressBarType
2000
- * @see progressText
2001
- */
2002
- get progressValue(): number;
2003
1997
  get isNavigationButtonsShowing(): string;
2004
1998
  get isNavigationButtonsShowingOnTop(): boolean;
2005
1999
  get isNavigationButtonsShowingOnBottom(): boolean;
@@ -2348,7 +2342,13 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
2348
2342
  * @see progressBarType
2349
2343
  */
2350
2344
  get progressText(): string;
2351
- private isCalculatingProgressText;
2345
+ /**
2346
+ * Returns a percentage value that indicates user progress in the survey.
2347
+ * @see showProgressBar
2348
+ * @see progressBarType
2349
+ * @see progressText
2350
+ */
2351
+ get progressValue(): number;
2352
2352
  updateProgressText(onValueChanged?: boolean): void;
2353
2353
  getProgressText(): string;
2354
2354
  private getProgressTextCore;
@@ -2664,7 +2664,6 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
2664
2664
  endLoadingFromJson(): void;
2665
2665
  private updateNavigationCss;
2666
2666
  private updateNavigationItemCssCallback;
2667
- private updateNavigationBarCss;
2668
2667
  protected createNavigationBar(): ActionContainer;
2669
2668
  protected createNavigationActions(): Array<IAction>;
2670
2669
  protected onBeforeRunConstructor(): void;
@@ -3079,7 +3078,7 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
3079
3078
  addLayoutElement(layoutElement: ISurveyLayoutElement): ISurveyLayoutElement;
3080
3079
  findLayoutElement(layoutElementId: string): ISurveyLayoutElement;
3081
3080
  removeLayoutElement(layoutElementId: string): ISurveyLayoutElement;
3082
- getContainerContent(container: LayoutElementContainer): any[];
3081
+ getContainerContent(container: LayoutElementContainer): Array<ISurveyLayoutElement>;
3083
3082
  processPopupVisiblityChanged(question: Question, popup: PopupModel<any>, visible: boolean): void;
3084
3083
  processOpenDropdownMenu(question: Question, options: IDropdownMenuOptions): void;
3085
3084
  getCssTitleExpandableSvg(): string;
@@ -11,6 +11,7 @@ export declare class SvgIconRegistry {
11
11
  registerIconFromSvg(iconId: string, iconSvg: string, iconPrefix?: string): boolean;
12
12
  registerIconsFromFolder(r: any): void;
13
13
  registerIcons(icons: SvgIconData): void;
14
+ registerIcon(id: string, svg: string, iconSetVersion?: string): void;
14
15
  iconsRenderedHtml(): string;
15
16
  updateMarkup(): void;
16
17
  onIconsChanged: EventBase<SvgIconRegistry, {}>;