survey-core 2.0.0-rc.0 → 2.0.0-rc.2

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 (211) hide show
  1. package/default.css +11 -1
  2. package/default.css.map +1 -1
  3. package/default.fontless.css +11 -1
  4. package/default.fontless.css.map +1 -1
  5. package/default.fontless.min.css +2 -2
  6. package/default.min.css +2 -2
  7. package/i18n/arabic.js +1 -1
  8. package/i18n/arabic.min.js.LICENSE.txt +1 -1
  9. package/i18n/basque.js +1 -1
  10. package/i18n/basque.min.js.LICENSE.txt +1 -1
  11. package/i18n/bulgarian.js +1 -1
  12. package/i18n/bulgarian.min.js.LICENSE.txt +1 -1
  13. package/i18n/burmese.js +1 -1
  14. package/i18n/burmese.min.js.LICENSE.txt +1 -1
  15. package/i18n/catalan.js +1 -1
  16. package/i18n/catalan.min.js.LICENSE.txt +1 -1
  17. package/i18n/croatian.js +1 -1
  18. package/i18n/croatian.min.js.LICENSE.txt +1 -1
  19. package/i18n/czech.js +1 -1
  20. package/i18n/czech.min.js.LICENSE.txt +1 -1
  21. package/i18n/danish.js +1 -1
  22. package/i18n/danish.min.js.LICENSE.txt +1 -1
  23. package/i18n/dutch.js +1 -1
  24. package/i18n/dutch.min.js.LICENSE.txt +1 -1
  25. package/i18n/english.js +1 -1
  26. package/i18n/english.min.js.LICENSE.txt +1 -1
  27. package/i18n/estonian.js +1 -1
  28. package/i18n/estonian.min.js.LICENSE.txt +1 -1
  29. package/i18n/finnish.js +1 -1
  30. package/i18n/finnish.min.js.LICENSE.txt +1 -1
  31. package/i18n/french.js +1 -1
  32. package/i18n/french.min.js.LICENSE.txt +1 -1
  33. package/i18n/georgian.js +1 -1
  34. package/i18n/georgian.min.js.LICENSE.txt +1 -1
  35. package/i18n/german.js +1 -1
  36. package/i18n/german.min.js.LICENSE.txt +1 -1
  37. package/i18n/greek.js +1 -1
  38. package/i18n/greek.min.js.LICENSE.txt +1 -1
  39. package/i18n/hebrew.js +1 -1
  40. package/i18n/hebrew.min.js.LICENSE.txt +1 -1
  41. package/i18n/hindi.js +1 -1
  42. package/i18n/hindi.min.js.LICENSE.txt +1 -1
  43. package/i18n/hungarian.js +1 -1
  44. package/i18n/hungarian.min.js.LICENSE.txt +1 -1
  45. package/i18n/icelandic.js +1 -1
  46. package/i18n/icelandic.min.js.LICENSE.txt +1 -1
  47. package/i18n/index.js +1 -1
  48. package/i18n/index.min.js.LICENSE.txt +1 -1
  49. package/i18n/indonesian.js +1 -1
  50. package/i18n/indonesian.min.js.LICENSE.txt +1 -1
  51. package/i18n/italian.js +1 -1
  52. package/i18n/italian.min.js.LICENSE.txt +1 -1
  53. package/i18n/japanese.js +1 -1
  54. package/i18n/japanese.min.js.LICENSE.txt +1 -1
  55. package/i18n/kazakh.js +1 -1
  56. package/i18n/kazakh.min.js.LICENSE.txt +1 -1
  57. package/i18n/korean.js +1 -1
  58. package/i18n/korean.min.js.LICENSE.txt +1 -1
  59. package/i18n/latvian.js +1 -1
  60. package/i18n/latvian.min.js.LICENSE.txt +1 -1
  61. package/i18n/lithuanian.js +1 -1
  62. package/i18n/lithuanian.min.js.LICENSE.txt +1 -1
  63. package/i18n/macedonian.js +1 -1
  64. package/i18n/macedonian.min.js.LICENSE.txt +1 -1
  65. package/i18n/malay.js +1 -1
  66. package/i18n/malay.min.js.LICENSE.txt +1 -1
  67. package/i18n/nl-BE.js +1 -1
  68. package/i18n/nl-BE.min.js.LICENSE.txt +1 -1
  69. package/i18n/norwegian.js +1 -1
  70. package/i18n/norwegian.min.js.LICENSE.txt +1 -1
  71. package/i18n/persian.js +1 -1
  72. package/i18n/persian.min.js.LICENSE.txt +1 -1
  73. package/i18n/philippines.js +1 -1
  74. package/i18n/philippines.min.js.LICENSE.txt +1 -1
  75. package/i18n/polish.js +1 -1
  76. package/i18n/polish.min.js.LICENSE.txt +1 -1
  77. package/i18n/portuguese-br.js +1 -1
  78. package/i18n/portuguese-br.min.js.LICENSE.txt +1 -1
  79. package/i18n/portuguese.js +1 -1
  80. package/i18n/portuguese.min.js.LICENSE.txt +1 -1
  81. package/i18n/romanian.js +1 -1
  82. package/i18n/romanian.min.js.LICENSE.txt +1 -1
  83. package/i18n/russian.js +1 -1
  84. package/i18n/russian.min.js.LICENSE.txt +1 -1
  85. package/i18n/serbian.js +1 -1
  86. package/i18n/serbian.min.js.LICENSE.txt +1 -1
  87. package/i18n/simplified-chinese.js +1 -1
  88. package/i18n/simplified-chinese.min.js.LICENSE.txt +1 -1
  89. package/i18n/slovak.js +1 -1
  90. package/i18n/slovak.min.js.LICENSE.txt +1 -1
  91. package/i18n/spanish.js +1 -1
  92. package/i18n/spanish.min.js.LICENSE.txt +1 -1
  93. package/i18n/swahili.js +1 -1
  94. package/i18n/swahili.min.js.LICENSE.txt +1 -1
  95. package/i18n/swedish.js +1 -1
  96. package/i18n/swedish.min.js.LICENSE.txt +1 -1
  97. package/i18n/tajik.js +1 -1
  98. package/i18n/tajik.min.js.LICENSE.txt +1 -1
  99. package/i18n/telugu.js +1 -1
  100. package/i18n/telugu.min.js.LICENSE.txt +1 -1
  101. package/i18n/thai.js +1 -1
  102. package/i18n/thai.min.js.LICENSE.txt +1 -1
  103. package/i18n/traditional-chinese.js +1 -1
  104. package/i18n/traditional-chinese.min.js.LICENSE.txt +1 -1
  105. package/i18n/turkish.js +1 -1
  106. package/i18n/turkish.min.js.LICENSE.txt +1 -1
  107. package/i18n/ukrainian.js +1 -1
  108. package/i18n/ukrainian.min.js.LICENSE.txt +1 -1
  109. package/i18n/urdu.js +1 -1
  110. package/i18n/urdu.min.js.LICENSE.txt +1 -1
  111. package/i18n/vietnamese.js +1 -1
  112. package/i18n/vietnamese.min.js.LICENSE.txt +1 -1
  113. package/i18n/welsh.js +1 -1
  114. package/i18n/welsh.min.js.LICENSE.txt +1 -1
  115. package/icons/iconsV1.js +1 -1
  116. package/icons/iconsV1.min.js.LICENSE.txt +1 -1
  117. package/icons/iconsV2.js +1 -1
  118. package/icons/iconsV2.min.js.LICENSE.txt +1 -1
  119. package/package.json +1 -1
  120. package/survey.core.js +79 -15
  121. package/survey.core.js.map +1 -1
  122. package/survey.core.min.js +1 -1
  123. package/survey.core.min.js.LICENSE.txt +1 -1
  124. package/survey.i18n.js +1 -1
  125. package/survey.i18n.min.js.LICENSE.txt +1 -1
  126. package/themes/borderless-dark-panelless.js +1 -1
  127. package/themes/borderless-dark-panelless.min.js.LICENSE.txt +1 -1
  128. package/themes/borderless-dark.js +1 -1
  129. package/themes/borderless-dark.min.js.LICENSE.txt +1 -1
  130. package/themes/borderless-light-panelless.js +1 -1
  131. package/themes/borderless-light-panelless.min.js.LICENSE.txt +1 -1
  132. package/themes/borderless-light.js +1 -1
  133. package/themes/borderless-light.min.js.LICENSE.txt +1 -1
  134. package/themes/contrast-dark-panelless.js +1 -1
  135. package/themes/contrast-dark-panelless.min.js.LICENSE.txt +1 -1
  136. package/themes/contrast-dark.js +1 -1
  137. package/themes/contrast-dark.min.js.LICENSE.txt +1 -1
  138. package/themes/contrast-light-panelless.js +1 -1
  139. package/themes/contrast-light-panelless.min.js.LICENSE.txt +1 -1
  140. package/themes/contrast-light.js +1 -1
  141. package/themes/contrast-light.min.js.LICENSE.txt +1 -1
  142. package/themes/default-dark-panelless.js +1 -1
  143. package/themes/default-dark-panelless.min.js.LICENSE.txt +1 -1
  144. package/themes/default-dark.js +1 -1
  145. package/themes/default-dark.min.js.LICENSE.txt +1 -1
  146. package/themes/default-light-panelless.js +1 -1
  147. package/themes/default-light-panelless.min.js.LICENSE.txt +1 -1
  148. package/themes/default-light.js +1 -1
  149. package/themes/default-light.min.js.LICENSE.txt +1 -1
  150. package/themes/doubleborder-dark-panelless.js +1 -1
  151. package/themes/doubleborder-dark-panelless.min.js.LICENSE.txt +1 -1
  152. package/themes/doubleborder-dark.js +1 -1
  153. package/themes/doubleborder-dark.min.js.LICENSE.txt +1 -1
  154. package/themes/doubleborder-light-panelles.js +1 -1
  155. package/themes/doubleborder-light-panelles.min.js.LICENSE.txt +1 -1
  156. package/themes/doubleborder-light.js +1 -1
  157. package/themes/doubleborder-light.min.js.LICENSE.txt +1 -1
  158. package/themes/flat-dark-panelless.js +1 -1
  159. package/themes/flat-dark-panelless.min.js.LICENSE.txt +1 -1
  160. package/themes/flat-dark.js +1 -1
  161. package/themes/flat-dark.min.js.LICENSE.txt +1 -1
  162. package/themes/flat-light-panelless.js +1 -1
  163. package/themes/flat-light-panelless.min.js.LICENSE.txt +1 -1
  164. package/themes/flat-light.js +1 -1
  165. package/themes/flat-light.min.js.LICENSE.txt +1 -1
  166. package/themes/index.js +1 -1
  167. package/themes/index.min.js.LICENSE.txt +1 -1
  168. package/themes/layered-dark-panelless.js +1 -1
  169. package/themes/layered-dark-panelless.min.js.LICENSE.txt +1 -1
  170. package/themes/layered-dark.js +1 -1
  171. package/themes/layered-dark.min.js.LICENSE.txt +1 -1
  172. package/themes/layered-light-panelless.js +1 -1
  173. package/themes/layered-light-panelless.min.js.LICENSE.txt +1 -1
  174. package/themes/layered-light.js +1 -1
  175. package/themes/layered-light.min.js.LICENSE.txt +1 -1
  176. package/themes/plain-dark-panelless.js +1 -1
  177. package/themes/plain-dark-panelless.min.js.LICENSE.txt +1 -1
  178. package/themes/plain-dark.js +1 -1
  179. package/themes/plain-dark.min.js.LICENSE.txt +1 -1
  180. package/themes/plain-light-panelless.js +1 -1
  181. package/themes/plain-light-panelless.min.js.LICENSE.txt +1 -1
  182. package/themes/plain-light.js +1 -1
  183. package/themes/plain-light.min.js.LICENSE.txt +1 -1
  184. package/themes/sharp-dark-panelless.js +1 -1
  185. package/themes/sharp-dark-panelless.min.js.LICENSE.txt +1 -1
  186. package/themes/sharp-dark.js +1 -1
  187. package/themes/sharp-dark.min.js.LICENSE.txt +1 -1
  188. package/themes/sharp-light-panelless.js +1 -1
  189. package/themes/sharp-light-panelless.min.js.LICENSE.txt +1 -1
  190. package/themes/sharp-light.js +1 -1
  191. package/themes/sharp-light.min.js.LICENSE.txt +1 -1
  192. package/themes/solid-dark-panelless.js +1 -1
  193. package/themes/solid-dark-panelless.min.js.LICENSE.txt +1 -1
  194. package/themes/solid-dark.js +1 -1
  195. package/themes/solid-dark.min.js.LICENSE.txt +1 -1
  196. package/themes/solid-light-panelless.js +1 -1
  197. package/themes/solid-light-panelless.min.js.LICENSE.txt +1 -1
  198. package/themes/solid-light.js +1 -1
  199. package/themes/solid-light.min.js.LICENSE.txt +1 -1
  200. package/themes/three-dimensional-dark-panelless.js +1 -1
  201. package/themes/three-dimensional-dark-panelless.min.js.LICENSE.txt +1 -1
  202. package/themes/three-dimensional-dark.js +1 -1
  203. package/themes/three-dimensional-dark.min.js.LICENSE.txt +1 -1
  204. package/themes/three-dimensional-light-panelless.js +1 -1
  205. package/themes/three-dimensional-light-panelless.min.js.LICENSE.txt +1 -1
  206. package/themes/three-dimensional-light.js +1 -1
  207. package/themes/three-dimensional-light.min.js.LICENSE.txt +1 -1
  208. package/typings/src/panel.d.ts +16 -2
  209. package/typings/src/question_custom.d.ts +3 -0
  210. package/typings/src/survey-element.d.ts +5 -0
  211. package/typings/src/survey.d.ts +8 -0
package/i18n/romanian.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * surveyjs - Survey JavaScript library v2.0.0-rc.0
2
+ * surveyjs - Survey JavaScript library v2.0.0-rc.2
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.0
2
+ * surveyjs - Survey JavaScript library v2.0.0-rc.2
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
  */
package/i18n/russian.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * surveyjs - Survey JavaScript library v2.0.0-rc.0
2
+ * surveyjs - Survey JavaScript library v2.0.0-rc.2
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.0
2
+ * surveyjs - Survey JavaScript library v2.0.0-rc.2
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
  */
package/i18n/serbian.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * surveyjs - Survey JavaScript library v2.0.0-rc.0
2
+ * surveyjs - Survey JavaScript library v2.0.0-rc.2
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.0
2
+ * surveyjs - Survey JavaScript library v2.0.0-rc.2
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.0
2
+ * surveyjs - Survey JavaScript library v2.0.0-rc.2
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.0
2
+ * surveyjs - Survey JavaScript library v2.0.0-rc.2
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
  */
package/i18n/slovak.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * surveyjs - Survey JavaScript library v2.0.0-rc.0
2
+ * surveyjs - Survey JavaScript library v2.0.0-rc.2
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.0
2
+ * surveyjs - Survey JavaScript library v2.0.0-rc.2
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
  */
package/i18n/spanish.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * surveyjs - Survey JavaScript library v2.0.0-rc.0
2
+ * surveyjs - Survey JavaScript library v2.0.0-rc.2
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.0
2
+ * surveyjs - Survey JavaScript library v2.0.0-rc.2
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
  */
package/i18n/swahili.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * surveyjs - Survey JavaScript library v2.0.0-rc.0
2
+ * surveyjs - Survey JavaScript library v2.0.0-rc.2
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.0
2
+ * surveyjs - Survey JavaScript library v2.0.0-rc.2
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
  */
package/i18n/swedish.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * surveyjs - Survey JavaScript library v2.0.0-rc.0
2
+ * surveyjs - Survey JavaScript library v2.0.0-rc.2
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.0
2
+ * surveyjs - Survey JavaScript library v2.0.0-rc.2
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
  */
package/i18n/tajik.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * surveyjs - Survey JavaScript library v2.0.0-rc.0
2
+ * surveyjs - Survey JavaScript library v2.0.0-rc.2
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.0
2
+ * surveyjs - Survey JavaScript library v2.0.0-rc.2
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
  */
package/i18n/telugu.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * surveyjs - Survey JavaScript library v2.0.0-rc.0
2
+ * surveyjs - Survey JavaScript library v2.0.0-rc.2
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.0
2
+ * surveyjs - Survey JavaScript library v2.0.0-rc.2
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
  */
package/i18n/thai.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * surveyjs - Survey JavaScript library v2.0.0-rc.0
2
+ * surveyjs - Survey JavaScript library v2.0.0-rc.2
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.0
2
+ * surveyjs - Survey JavaScript library v2.0.0-rc.2
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.0
2
+ * surveyjs - Survey JavaScript library v2.0.0-rc.2
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.0
2
+ * surveyjs - Survey JavaScript library v2.0.0-rc.2
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
  */
package/i18n/turkish.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * surveyjs - Survey JavaScript library v2.0.0-rc.0
2
+ * surveyjs - Survey JavaScript library v2.0.0-rc.2
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.0
2
+ * surveyjs - Survey JavaScript library v2.0.0-rc.2
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
  */
package/i18n/ukrainian.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * surveyjs - Survey JavaScript library v2.0.0-rc.0
2
+ * surveyjs - Survey JavaScript library v2.0.0-rc.2
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.0
2
+ * surveyjs - Survey JavaScript library v2.0.0-rc.2
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
  */
package/i18n/urdu.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * surveyjs - Survey JavaScript library v2.0.0-rc.0
2
+ * surveyjs - Survey JavaScript library v2.0.0-rc.2
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.0
2
+ * surveyjs - Survey JavaScript library v2.0.0-rc.2
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.0
2
+ * surveyjs - Survey JavaScript library v2.0.0-rc.2
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.0
2
+ * surveyjs - Survey JavaScript library v2.0.0-rc.2
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
  */
package/i18n/welsh.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * surveyjs - Survey JavaScript library v2.0.0-rc.0
2
+ * surveyjs - Survey JavaScript library v2.0.0-rc.2
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.0
2
+ * surveyjs - Survey JavaScript library v2.0.0-rc.2
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
  */
package/icons/iconsV1.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * surveyjs - Survey JavaScript library v2.0.0-rc.0
2
+ * surveyjs - Survey JavaScript library v2.0.0-rc.2
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.0
2
+ * surveyjs - Survey JavaScript library v2.0.0-rc.2
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
  */
package/icons/iconsV2.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * surveyjs - Survey JavaScript library v2.0.0-rc.0
2
+ * surveyjs - Survey JavaScript library v2.0.0-rc.2
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.0
2
+ * surveyjs - Survey JavaScript library v2.0.0-rc.2
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
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "survey-core",
3
- "version": "2.0.0-rc.0",
3
+ "version": "2.0.0-rc.2",
4
4
  "description": "survey.js is a JavaScript Survey Library. It is a modern way to add a survey to your website. It uses JSON for survey metadata and results.",
5
5
  "keywords": [
6
6
  "Survey",
package/survey.core.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * surveyjs - Survey JavaScript library v2.0.0-rc.0
2
+ * surveyjs - Survey JavaScript library v2.0.0-rc.2
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
  */
@@ -1187,9 +1187,9 @@ __webpack_require__.r(__webpack_exports__);
1187
1187
 
1188
1188
  var Version;
1189
1189
  var ReleaseDate;
1190
- Version = "".concat("2.0.0-rc.0");
1190
+ Version = "".concat("2.0.0-rc.2");
1191
1191
  _src_settings__WEBPACK_IMPORTED_MODULE_1__.settings.version = Version;
1192
- ReleaseDate = "".concat("2025-01-29");
1192
+ ReleaseDate = "".concat("2025-02-03");
1193
1193
  function checkLibraryVersion(ver, libraryName) {
1194
1194
  if (Version != ver) {
1195
1195
  var str = "survey-core has version '" + Version + "' and " + libraryName
@@ -3169,6 +3169,8 @@ var Base = /** @class */ (function () {
3169
3169
  * @param val A new value for the property.
3170
3170
  */
3171
3171
  Base.prototype.setPropertyValue = function (name, val) {
3172
+ if (this.isDisposedValue)
3173
+ return;
3172
3174
  if (!this.isLoadingFromJson) {
3173
3175
  var prop = this.getPropertyByName(name);
3174
3176
  if (!!prop) {
@@ -3185,9 +3187,11 @@ var Base = /** @class */ (function () {
3185
3187
  }
3186
3188
  }
3187
3189
  else {
3188
- this.setPropertyValueDirectly(name, val);
3189
- if (!this.isDisposedValue && !this.isTwoValueEquals(oldValue, val)) {
3190
- this.propertyValueChanged(name, oldValue, val);
3190
+ if (val !== oldValue) {
3191
+ this.setPropertyValueDirectly(name, val);
3192
+ if (!this.isTwoValueEquals(oldValue, val)) {
3193
+ this.propertyValueChanged(name, oldValue, val);
3194
+ }
3191
3195
  }
3192
3196
  }
3193
3197
  };
@@ -6511,7 +6515,7 @@ var DragDropChoices = /** @class */ (function (_super) {
6511
6515
  var draggedElementShortcut = _global_variables_utils__WEBPACK_IMPORTED_MODULE_1__.DomDocumentHelper.createElement("div");
6512
6516
  if (!draggedElementShortcut)
6513
6517
  return;
6514
- draggedElementShortcut.style.cssText = " \n cursor: grabbing;\n position: absolute;\n z-index: 10000;\n box-shadow: var(--sjs-shadow-large, 0px 8px 16px 0px rgba(0, 0, 0, 0.1)), var(--sjs-shadow-medium, 0px 2px 6px 0px rgba(0, 0, 0, 0.1));\n background-color: var(--sjs-general-backcolor, var(--background, #fff));\n padding: calc(0.5 * var(--sjs-base-unit, var(--base-unit, 8px)));\n border-radius: calc(0.5 * var(--sjs-base-unit, var(--base-unit, 8px)));\n ";
6518
+ draggedElementShortcut.classList.add("sv-drag-drop-image-picker-shortcut");
6515
6519
  var itemValueNode = draggedElementNode.closest("[data-sv-drop-target-item-value]");
6516
6520
  this.imagepickerControlsNode = itemValueNode.querySelector(".svc-image-item-value-controls");
6517
6521
  var imageContainerNode = itemValueNode.querySelector(".sd-imagepicker__image-container");
@@ -21589,6 +21593,7 @@ var PageModel = /** @class */ (function (_super) {
21589
21593
  configurable: true
21590
21594
  });
21591
21595
  PageModel.prototype.setWasShown = function (val) {
21596
+ var _a;
21592
21597
  if (val == this.hasShownValue)
21593
21598
  return;
21594
21599
  this.hasShownValue = val;
@@ -21600,7 +21605,12 @@ var PageModel = /** @class */ (function (_super) {
21600
21605
  els[i].randomizeElements(this.areQuestionsRandomized);
21601
21606
  }
21602
21607
  }
21603
- this.randomizeElements(this.areQuestionsRandomized);
21608
+ if (this.randomizeElements(this.areQuestionsRandomized)) {
21609
+ var singleQuestion = (_a = this.survey) === null || _a === void 0 ? void 0 : _a.currentSingleQuestion;
21610
+ if ((singleQuestion === null || singleQuestion === void 0 ? void 0 : singleQuestion.page) === this) {
21611
+ this.survey.currentSingleQuestion = this.getFirstVisibleQuestion();
21612
+ }
21613
+ }
21604
21614
  };
21605
21615
  /**
21606
21616
  * Scrolls this page to the top.
@@ -22189,7 +22199,7 @@ var QuestionRowModel = /** @class */ (function (_super) {
22189
22199
  }(_base__WEBPACK_IMPORTED_MODULE_2__.Base));
22190
22200
 
22191
22201
  /**
22192
- * A base class for the [PanelModel](https://surveyjs.io/form-library/documentation/panelmodel) and [PageModel](https://surveyjs.io/form-library/documentation/pagemodel) classes.
22202
+ * A base class for the [`PanelModel`](https://surveyjs.io/form-library/documentation/panelmodel) and [`PageModel`](https://surveyjs.io/form-library/documentation/pagemodel) classes.
22193
22203
  */
22194
22204
  var PanelModelBase = /** @class */ (function (_super) {
22195
22205
  __extends(PanelModelBase, _super);
@@ -22501,7 +22511,7 @@ var PanelModelBase = /** @class */ (function (_super) {
22501
22511
  };
22502
22512
  PanelModelBase.prototype.randomizeElements = function (isRandom) {
22503
22513
  if (!this.canRandomize(isRandom) || this.isRandomizing)
22504
- return;
22514
+ return false;
22505
22515
  this.isRandomizing = true;
22506
22516
  var oldElements = [];
22507
22517
  var elements = this.elements;
@@ -22513,6 +22523,7 @@ var PanelModelBase = /** @class */ (function (_super) {
22513
22523
  this.updateRows();
22514
22524
  this.updateVisibleIndexes();
22515
22525
  this.isRandomizing = false;
22526
+ return true;
22516
22527
  };
22517
22528
  Object.defineProperty(PanelModelBase.prototype, "areQuestionsRandomized", {
22518
22529
  /**
@@ -23067,6 +23078,14 @@ var PanelModelBase = /** @class */ (function (_super) {
23067
23078
  }
23068
23079
  return null;
23069
23080
  };
23081
+ PanelModelBase.prototype.getFirstVisibleQuestion = function () {
23082
+ var qs = this.questions;
23083
+ for (var i = 0; i < qs.length; i++) {
23084
+ if (qs[i].isVisible)
23085
+ return qs[i];
23086
+ }
23087
+ return null;
23088
+ };
23070
23089
  /**
23071
23090
  * Focuses the first question in this panel/page.
23072
23091
  * @see focusFirstErrorQuestion
@@ -34747,6 +34766,7 @@ __webpack_require__.r(__webpack_exports__);
34747
34766
  /* harmony import */ var _utils_cssClassBuilder__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./utils/cssClassBuilder */ "./src/utils/cssClassBuilder.ts");
34748
34767
  /* harmony import */ var _error__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./error */ "./src/error.ts");
34749
34768
  /* harmony import */ var _console_warnings__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./console-warnings */ "./src/console-warnings.ts");
34769
+ /* harmony import */ var _settings__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./settings */ "./src/settings.ts");
34750
34770
  var __extends = (undefined && undefined.__extends) || (function () {
34751
34771
  var extendStatics = function (d, b) {
34752
34772
  extendStatics = Object.setPrototypeOf ||
@@ -34770,6 +34790,7 @@ var __extends = (undefined && undefined.__extends) || (function () {
34770
34790
 
34771
34791
 
34772
34792
 
34793
+
34773
34794
  var ComponentQuestionJSON = /** @class */ (function () {
34774
34795
  function ComponentQuestionJSON(name, json) {
34775
34796
  this.name = name;
@@ -35772,6 +35793,36 @@ var QuestionCompositeModel = /** @class */ (function (_super) {
35772
35793
  this.settingNewValue = false;
35773
35794
  this.runPanelTriggers(QuestionCompositeModel.ItemVariableName + "." + name, newValue);
35774
35795
  };
35796
+ QuestionCompositeModel.prototype.setComment = function (name, newValue, locNotification) {
35797
+ var val = this.getUnbindValue(this.value);
35798
+ var commentName = this.getCommentName(name);
35799
+ if (!val && !newValue || !!newValue && !!val && val[commentName] === newValue)
35800
+ return;
35801
+ if (!!newValue) {
35802
+ if (!val) {
35803
+ val = {};
35804
+ }
35805
+ val[commentName] = newValue;
35806
+ }
35807
+ else {
35808
+ delete val[commentName];
35809
+ }
35810
+ var q = this.getQuestionByName(name);
35811
+ if (!!q && q.comment !== newValue) {
35812
+ q.comment = newValue;
35813
+ }
35814
+ this.value = val;
35815
+ };
35816
+ QuestionCompositeModel.prototype.getComment = function (name) {
35817
+ var q = this.getQuestionByName(name);
35818
+ if (!!q)
35819
+ return q.comment;
35820
+ var val = this.value;
35821
+ return !!val && val[this.getCommentName(name)] || "";
35822
+ };
35823
+ QuestionCompositeModel.prototype.getCommentName = function (name) {
35824
+ return name + _settings__WEBPACK_IMPORTED_MODULE_8__.settings.commentSuffix;
35825
+ };
35775
35826
  QuestionCompositeModel.prototype.runPanelTriggers = function (name, value) {
35776
35827
  if (!!this.contentPanel) {
35777
35828
  this.contentPanel.questions.forEach(function (q) {
@@ -35851,19 +35902,24 @@ var QuestionCompositeModel = /** @class */ (function (_super) {
35851
35902
  _super.prototype.setQuestionValue.call(this, newValue, updateIsAnswered);
35852
35903
  };
35853
35904
  QuestionCompositeModel.prototype.setValuesIntoQuestions = function (newValue) {
35854
- if (!this.contentPanel)
35905
+ if (!this.contentPanel || this.settingNewValue)
35855
35906
  return;
35856
35907
  newValue = this.getValueForContentPanel(newValue);
35857
35908
  var oldSettingNewValue = this.settingNewValue;
35858
35909
  this.settingNewValue = true;
35859
35910
  var questions = this.contentPanel.questions;
35860
35911
  for (var i = 0; i < questions.length; i++) {
35861
- var key = questions[i].getValueName();
35862
- var val = !!newValue ? newValue[key] : undefined;
35863
35912
  var q = questions[i];
35913
+ var key = q.getValueName();
35914
+ var commentKey = this.getCommentName(key);
35915
+ var val = !!newValue ? newValue[key] : undefined;
35916
+ var commentVal = !!newValue && newValue[commentKey] || "";
35864
35917
  if (!this.isTwoValueEquals(q.value, val) && (val !== undefined || !q.isEmpty())) {
35865
35918
  q.value = val;
35866
35919
  }
35920
+ if (q.comment !== commentVal) {
35921
+ q.comment = commentVal;
35922
+ }
35867
35923
  }
35868
35924
  this.settingNewValue = oldSettingNewValue;
35869
35925
  };
@@ -58105,6 +58161,11 @@ var SurveyElement = /** @class */ (function (_super) {
58105
58161
  return false;
58106
58162
  };
58107
58163
  Object.defineProperty(SurveyElement.prototype, "colSpan", {
58164
+ /**
58165
+ * 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.
58166
+ *
58167
+ * Default value: 1
58168
+ */
58108
58169
  get: function () {
58109
58170
  return this.getPropertyValue("colSpan", 1);
58110
58171
  },
@@ -58127,7 +58188,7 @@ var SurveyElement = /** @class */ (function (_super) {
58127
58188
  if (this.survey) {
58128
58189
  return this.survey.getSkeletonComponentName(this);
58129
58190
  }
58130
- return "";
58191
+ return "sv-skeleton";
58131
58192
  };
58132
58193
  Object.defineProperty(SurveyElement.prototype, "parentQuestion", {
58133
58194
  /**
@@ -63490,6 +63551,8 @@ var SurveyModel = /** @class */ (function (_super) {
63490
63551
  SurveyModel.prototype.performValidationOnPageChanging = function (page) {
63491
63552
  if (this.isDesignMode)
63492
63553
  return false;
63554
+ if (this.canGoTroughValidation())
63555
+ return true;
63493
63556
  var index = this.visiblePages.indexOf(page);
63494
63557
  if (index < 0 || index >= this.visiblePageCount)
63495
63558
  return false;
@@ -64161,7 +64224,7 @@ var SurveyModel = /** @class */ (function (_super) {
64161
64224
  };
64162
64225
  SurveyModel.prototype.hasErrorsOnNavigate = function (doComplete) {
64163
64226
  var _this = this;
64164
- if (!this.isEditMode || this.ignoreValidation)
64227
+ if (this.canGoTroughValidation())
64165
64228
  return false;
64166
64229
  var skipValidation = doComplete && this.validationAllowComplete || !doComplete && this.validationAllowSwitchPages;
64167
64230
  var func = function (hasErrors) {
@@ -64176,6 +64239,7 @@ var SurveyModel = /** @class */ (function (_super) {
64176
64239
  }
64177
64240
  return this.validateCurrentPage(func) !== true && !skipValidation;
64178
64241
  };
64242
+ SurveyModel.prototype.canGoTroughValidation = function () { return !this.isEditMode || !this.validationEnabled; };
64179
64243
  SurveyModel.prototype.checkForAsyncQuestionValidation = function (questions, func) {
64180
64244
  var _this = this;
64181
64245
  this.clearAsyncValidationQuesitons();