survey-core 1.12.27 → 1.12.28

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 (225) hide show
  1. package/defaultV2.css +7 -1
  2. package/defaultV2.css.map +1 -1
  3. package/defaultV2.fontless.css +7 -1
  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 +1 -1
  8. package/i18n/arabic.min.js +1 -1
  9. package/i18n/basque.js +1 -1
  10. package/i18n/basque.min.js +1 -1
  11. package/i18n/bulgarian.js +1 -1
  12. package/i18n/bulgarian.min.js +1 -1
  13. package/i18n/burmese.js +1 -1
  14. package/i18n/burmese.min.js +1 -1
  15. package/i18n/catalan.js +1 -1
  16. package/i18n/catalan.min.js +1 -1
  17. package/i18n/croatian.js +1 -1
  18. package/i18n/croatian.min.js +1 -1
  19. package/i18n/czech.js +1 -1
  20. package/i18n/czech.min.js +1 -1
  21. package/i18n/danish.js +1 -1
  22. package/i18n/danish.min.js +1 -1
  23. package/i18n/dutch.js +1 -1
  24. package/i18n/dutch.min.js +1 -1
  25. package/i18n/english.js +1 -1
  26. package/i18n/english.min.js +1 -1
  27. package/i18n/estonian.js +1 -1
  28. package/i18n/estonian.min.js +1 -1
  29. package/i18n/finnish.js +1 -1
  30. package/i18n/finnish.min.js +1 -1
  31. package/i18n/french.js +1 -1
  32. package/i18n/french.min.js +1 -1
  33. package/i18n/georgian.js +1 -1
  34. package/i18n/georgian.min.js +1 -1
  35. package/i18n/german.js +1 -1
  36. package/i18n/german.min.js +1 -1
  37. package/i18n/greek.js +1 -1
  38. package/i18n/greek.min.js +1 -1
  39. package/i18n/hebrew.js +1 -1
  40. package/i18n/hebrew.min.js +1 -1
  41. package/i18n/hindi.js +1 -1
  42. package/i18n/hindi.min.js +1 -1
  43. package/i18n/hungarian.js +1 -1
  44. package/i18n/hungarian.min.js +1 -1
  45. package/i18n/icelandic.js +1 -1
  46. package/i18n/icelandic.min.js +1 -1
  47. package/i18n/index.js +10 -5
  48. package/i18n/index.js.map +1 -1
  49. package/i18n/index.min.js +2 -2
  50. package/i18n/indonesian.js +1 -1
  51. package/i18n/indonesian.min.js +1 -1
  52. package/i18n/italian.js +1 -1
  53. package/i18n/italian.min.js +1 -1
  54. package/i18n/japanese.js +1 -1
  55. package/i18n/japanese.min.js +1 -1
  56. package/i18n/kazakh.js +1 -1
  57. package/i18n/kazakh.min.js +1 -1
  58. package/i18n/korean.js +1 -1
  59. package/i18n/korean.min.js +1 -1
  60. package/i18n/latvian.js +1 -1
  61. package/i18n/latvian.min.js +1 -1
  62. package/i18n/lithuanian.js +1 -1
  63. package/i18n/lithuanian.min.js +1 -1
  64. package/i18n/macedonian.js +1 -1
  65. package/i18n/macedonian.min.js +1 -1
  66. package/i18n/malay.js +1 -1
  67. package/i18n/malay.min.js +1 -1
  68. package/i18n/nl-BE.js +1 -1
  69. package/i18n/nl-BE.min.js +1 -1
  70. package/i18n/norwegian.js +1 -1
  71. package/i18n/norwegian.min.js +1 -1
  72. package/i18n/persian.js +1 -1
  73. package/i18n/persian.min.js +1 -1
  74. package/i18n/philippines.js +1 -1
  75. package/i18n/philippines.min.js +1 -1
  76. package/i18n/polish.js +1 -1
  77. package/i18n/polish.min.js +1 -1
  78. package/i18n/portuguese-br.js +1 -1
  79. package/i18n/portuguese-br.min.js +1 -1
  80. package/i18n/portuguese.js +1 -1
  81. package/i18n/portuguese.min.js +1 -1
  82. package/i18n/romanian.js +1 -1
  83. package/i18n/romanian.min.js +1 -1
  84. package/i18n/russian.js +1 -1
  85. package/i18n/russian.min.js +1 -1
  86. package/i18n/serbian.js +1 -1
  87. package/i18n/serbian.min.js +1 -1
  88. package/i18n/simplified-chinese.js +10 -5
  89. package/i18n/simplified-chinese.js.map +1 -1
  90. package/i18n/simplified-chinese.min.js +2 -2
  91. package/i18n/slovak.js +1 -1
  92. package/i18n/slovak.min.js +1 -1
  93. package/i18n/slovenian.js +1 -1
  94. package/i18n/slovenian.min.js +1 -1
  95. package/i18n/spanish.js +1 -1
  96. package/i18n/spanish.min.js +1 -1
  97. package/i18n/swahili.js +1 -1
  98. package/i18n/swahili.min.js +1 -1
  99. package/i18n/swedish.js +1 -1
  100. package/i18n/swedish.min.js +1 -1
  101. package/i18n/tajik.js +1 -1
  102. package/i18n/tajik.min.js +1 -1
  103. package/i18n/telugu.js +1 -1
  104. package/i18n/telugu.min.js +1 -1
  105. package/i18n/thai.js +1 -1
  106. package/i18n/thai.min.js +1 -1
  107. package/i18n/traditional-chinese.js +1 -1
  108. package/i18n/traditional-chinese.min.js +1 -1
  109. package/i18n/turkish.js +1 -1
  110. package/i18n/turkish.min.js +1 -1
  111. package/i18n/ukrainian.js +1 -1
  112. package/i18n/ukrainian.min.js +1 -1
  113. package/i18n/urdu.js +1 -1
  114. package/i18n/urdu.min.js +1 -1
  115. package/i18n/vietnamese.js +1 -1
  116. package/i18n/vietnamese.min.js +1 -1
  117. package/i18n/welsh.js +1 -1
  118. package/i18n/welsh.min.js +1 -1
  119. package/icons/iconsV1.js +1 -1
  120. package/icons/iconsV1.min.js +1 -1
  121. package/icons/iconsV2.js +1 -1
  122. package/icons/iconsV2.min.js +1 -1
  123. package/modern.css +1 -1
  124. package/modern.fontless.css +1 -1
  125. package/modern.fontless.min.css +1 -1
  126. package/modern.min.css +1 -1
  127. package/package.json +1 -1
  128. package/plugins/bootstrap-integration/index.js +1 -1
  129. package/plugins/bootstrap-integration/index.min.js +1 -1
  130. package/plugins/bootstrap-material-integration/index.js +1 -1
  131. package/plugins/bootstrap-material-integration/index.min.js +1 -1
  132. package/survey.core.js +90 -56
  133. package/survey.core.js.map +1 -1
  134. package/survey.core.min.js +3 -3
  135. package/survey.css +1 -1
  136. package/survey.i18n.js +10 -5
  137. package/survey.i18n.js.map +1 -1
  138. package/survey.i18n.min.js +2 -2
  139. package/survey.min.css +1 -1
  140. package/themes/borderless-dark-panelless.js +1 -1
  141. package/themes/borderless-dark-panelless.min.js +1 -1
  142. package/themes/borderless-dark.js +1 -1
  143. package/themes/borderless-dark.min.js +1 -1
  144. package/themes/borderless-light-panelless..js +1 -1
  145. package/themes/borderless-light-panelless..min.js +1 -1
  146. package/themes/borderless-light.js +1 -1
  147. package/themes/borderless-light.min.js +1 -1
  148. package/themes/contrast-dark-panelless.js +1 -1
  149. package/themes/contrast-dark-panelless.min.js +1 -1
  150. package/themes/contrast-dark.js +1 -1
  151. package/themes/contrast-dark.min.js +1 -1
  152. package/themes/contrast-light-panelless.js +1 -1
  153. package/themes/contrast-light-panelless.min.js +1 -1
  154. package/themes/contrast-light.js +1 -1
  155. package/themes/contrast-light.min.js +1 -1
  156. package/themes/default-dark-panelless.js +1 -1
  157. package/themes/default-dark-panelless.min.js +1 -1
  158. package/themes/default-dark.js +1 -1
  159. package/themes/default-dark.min.js +1 -1
  160. package/themes/default-light-panelless.js +1 -1
  161. package/themes/default-light-panelless.min.js +1 -1
  162. package/themes/default-light.js +1 -1
  163. package/themes/default-light.min.js +1 -1
  164. package/themes/doubleborder-dark-panelless.js +1 -1
  165. package/themes/doubleborder-dark-panelless.min.js +1 -1
  166. package/themes/doubleborder-dark.js +1 -1
  167. package/themes/doubleborder-dark.min.js +1 -1
  168. package/themes/doubleborder-light-panelles.js +1 -1
  169. package/themes/doubleborder-light-panelles.min.js +1 -1
  170. package/themes/doubleborder-light.js +1 -1
  171. package/themes/doubleborder-light.min.js +1 -1
  172. package/themes/flat-dark-panelless.js +1 -1
  173. package/themes/flat-dark-panelless.min.js +1 -1
  174. package/themes/flat-dark.js +1 -1
  175. package/themes/flat-dark.min.js +1 -1
  176. package/themes/flat-light-panelless.js +1 -1
  177. package/themes/flat-light-panelless.min.js +1 -1
  178. package/themes/flat-light.js +1 -1
  179. package/themes/flat-light.min.js +1 -1
  180. package/themes/index.js +1 -1
  181. package/themes/index.min.js +1 -1
  182. package/themes/layered-dark-panelless.js +1 -1
  183. package/themes/layered-dark-panelless.min.js +1 -1
  184. package/themes/layered-dark.js +1 -1
  185. package/themes/layered-dark.min.js +1 -1
  186. package/themes/layered-light-panelless.js +1 -1
  187. package/themes/layered-light-panelless.min.js +1 -1
  188. package/themes/layered-light.js +1 -1
  189. package/themes/layered-light.min.js +1 -1
  190. package/themes/plain-dark-panelless.js +1 -1
  191. package/themes/plain-dark-panelless.min.js +1 -1
  192. package/themes/plain-dark.js +1 -1
  193. package/themes/plain-dark.min.js +1 -1
  194. package/themes/plain-light-panelless.js +1 -1
  195. package/themes/plain-light-panelless.min.js +1 -1
  196. package/themes/plain-light.js +1 -1
  197. package/themes/plain-light.min.js +1 -1
  198. package/themes/sharp-dark-panelless.js +1 -1
  199. package/themes/sharp-dark-panelless.min.js +1 -1
  200. package/themes/sharp-dark.js +1 -1
  201. package/themes/sharp-dark.min.js +1 -1
  202. package/themes/sharp-light-panelless.js +1 -1
  203. package/themes/sharp-light-panelless.min.js +1 -1
  204. package/themes/sharp-light.js +1 -1
  205. package/themes/sharp-light.min.js +1 -1
  206. package/themes/solid-dark-panelless.js +1 -1
  207. package/themes/solid-dark-panelless.min.js +1 -1
  208. package/themes/solid-dark.js +1 -1
  209. package/themes/solid-dark.min.js +1 -1
  210. package/themes/solid-light-panelless.js +1 -1
  211. package/themes/solid-light-panelless.min.js +1 -1
  212. package/themes/solid-light.js +1 -1
  213. package/themes/solid-light.min.js +1 -1
  214. package/themes/three-dimensional-dark-panelless.js +1 -1
  215. package/themes/three-dimensional-dark-panelless.min.js +1 -1
  216. package/themes/three-dimensional-dark.js +1 -1
  217. package/themes/three-dimensional-dark.min.js +1 -1
  218. package/themes/three-dimensional-light-panelless.js +1 -1
  219. package/themes/three-dimensional-light-panelless.min.js +1 -1
  220. package/themes/three-dimensional-light.js +1 -1
  221. package/themes/three-dimensional-light.min.js +1 -1
  222. package/ts3.4/typings/packages/survey-core/src/base-interfaces.d.ts +2 -1
  223. package/ts3.4/typings/packages/survey-core/src/survey.d.ts +2 -1
  224. package/typings/packages/survey-core/src/base-interfaces.d.ts +2 -1
  225. package/typings/packages/survey-core/src/survey.d.ts +3 -1
package/i18n/thai.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * surveyjs - Survey JavaScript library v1.12.27
2
+ * surveyjs - Survey JavaScript library v1.12.28
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.min.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * surveyjs - Survey JavaScript library v1.12.27
2
+ * surveyjs - Survey JavaScript library v1.12.28
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 v1.12.27
2
+ * surveyjs - Survey JavaScript library v1.12.28
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 v1.12.27
2
+ * surveyjs - Survey JavaScript library v1.12.28
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 v1.12.27
2
+ * surveyjs - Survey JavaScript library v1.12.28
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 v1.12.27
2
+ * surveyjs - Survey JavaScript library v1.12.28
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 v1.12.27
2
+ * surveyjs - Survey JavaScript library v1.12.28
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 v1.12.27
2
+ * surveyjs - Survey JavaScript library v1.12.28
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 v1.12.27
2
+ * surveyjs - Survey JavaScript library v1.12.28
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.min.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * surveyjs - Survey JavaScript library v1.12.27
2
+ * surveyjs - Survey JavaScript library v1.12.28
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 v1.12.27
2
+ * surveyjs - Survey JavaScript library v1.12.28
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 v1.12.27
2
+ * surveyjs - Survey JavaScript library v1.12.28
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 v1.12.27
2
+ * surveyjs - Survey JavaScript library v1.12.28
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.min.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * surveyjs - Survey JavaScript library v1.12.27
2
+ * surveyjs - Survey JavaScript library v1.12.28
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 v1.12.27
2
+ * surveyjs - Survey JavaScript library v1.12.28
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 v1.12.27
2
+ * surveyjs - Survey JavaScript library v1.12.28
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 v1.12.27
2
+ * surveyjs - Survey JavaScript library v1.12.28
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 v1.12.27
2
+ * surveyjs - Survey JavaScript library v1.12.28
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/modern.css CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * surveyjs - Survey JavaScript library v1.12.27
2
+ * surveyjs - Survey JavaScript library v1.12.28
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 v1.12.27
2
+ * surveyjs - Survey JavaScript library v1.12.28
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 v1.12.27
2
+ * surveyjs - Survey JavaScript library v1.12.28
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/modern.min.css CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * surveyjs - Survey JavaScript library v1.12.27
2
+ * surveyjs - Survey JavaScript library v1.12.28
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": "1.12.27",
3
+ "version": "1.12.28",
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",
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * surveyjs - Survey JavaScript library v1.12.27
2
+ * surveyjs - Survey JavaScript library v1.12.28
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 v1.12.27
2
+ * surveyjs - Survey JavaScript library v1.12.28
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 v1.12.27
2
+ * surveyjs - Survey JavaScript library v1.12.28
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 v1.12.27
2
+ * surveyjs - Survey JavaScript library v1.12.28
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/survey.core.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * surveyjs - Survey JavaScript library v1.12.27
2
+ * surveyjs - Survey JavaScript library v1.12.28
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
  */
@@ -8250,24 +8250,31 @@ var base_Bindings = /** @class */ (function () {
8250
8250
  return res;
8251
8251
  };
8252
8252
  Bindings.prototype.getJson = function () {
8253
+ var _this = this;
8253
8254
  if (this.isEmpty())
8254
8255
  return undefined;
8255
8256
  var res = {};
8256
- for (var key in this.values) {
8257
- res[key] = this.values[key];
8258
- }
8257
+ this.getNames().forEach(function (key) {
8258
+ if (_this.values[key] !== undefined) {
8259
+ res[key] = _this.values[key];
8260
+ }
8261
+ });
8259
8262
  return res;
8260
8263
  };
8261
8264
  Bindings.prototype.setJson = function (value, isLoading) {
8265
+ var _this = this;
8262
8266
  var oldValue = this.getJson();
8263
8267
  this.values = null;
8264
8268
  if (!!value) {
8265
- this.values = {};
8266
- for (var key in value) {
8267
- this.values[key] = value[key];
8268
- }
8269
+ this.getNames().forEach(function (key) {
8270
+ if (value[key] !== undefined) {
8271
+ if (!_this.values)
8272
+ _this.values = {};
8273
+ _this.values[key] = value[key];
8274
+ }
8275
+ });
8269
8276
  }
8270
- if (!isLoading) {
8277
+ if (!isLoading && !helpers_Helpers.isTwoValueEquals(oldValue, this.values)) {
8271
8278
  this.onChangedJSON(oldValue);
8272
8279
  }
8273
8280
  };
@@ -13121,7 +13128,7 @@ var survey_element_SurveyElement = /** @class */ (function (_super) {
13121
13128
  });
13122
13129
  SurveyElement.prototype.canHaveFrameStyles = function () {
13123
13130
  var _a;
13124
- if (((_a = this.survey) === null || _a === void 0 ? void 0 : _a.currentSingleQuestion) === this)
13131
+ if (((_a = this.survey) === null || _a === void 0 ? void 0 : _a.currentSingleElement) === this)
13125
13132
  return true;
13126
13133
  return (this.parent !== undefined && (!this.hasParent || this.parent && this.parent.showPanelAsPage));
13127
13134
  };
@@ -37783,7 +37790,7 @@ var page_PageModel = /** @class */ (function (_super) {
37783
37790
  PageModel.prototype.getElementsForRows = function () {
37784
37791
  var _a;
37785
37792
  if (!this.isStartPage) {
37786
- var q = (_a = this.survey) === null || _a === void 0 ? void 0 : _a.currentSingleQuestion;
37793
+ var q = (_a = this.survey) === null || _a === void 0 ? void 0 : _a.currentSingleElement;
37787
37794
  if (!!q) {
37788
37795
  if (q.page === this)
37789
37796
  return [q];
@@ -37821,7 +37828,7 @@ var page_PageModel = /** @class */ (function (_super) {
37821
37828
  });
37822
37829
  Object.defineProperty(PageModel.prototype, "cssTitleNumber", {
37823
37830
  get: function () {
37824
- return this.cssClasses.page.number;
37831
+ return this.isPanel ? this.cssClasses.panel.number : this.cssClasses.page.number;
37825
37832
  },
37826
37833
  enumerable: false,
37827
37834
  configurable: true
@@ -38071,9 +38078,9 @@ var page_PageModel = /** @class */ (function (_super) {
38071
38078
  }
38072
38079
  }
38073
38080
  if (this.randomizeElements(this.areQuestionsRandomized)) {
38074
- var singleQuestion = (_a = this.survey) === null || _a === void 0 ? void 0 : _a.currentSingleQuestion;
38081
+ var singleQuestion = (_a = this.survey) === null || _a === void 0 ? void 0 : _a.currentSingleElement;
38075
38082
  if ((singleQuestion === null || singleQuestion === void 0 ? void 0 : singleQuestion.page) === this) {
38076
- this.survey.currentSingleQuestion = this.getFirstVisibleQuestion();
38083
+ this.survey.currentSingleElement = this.elements[0];
38077
38084
  }
38078
38085
  }
38079
38086
  };
@@ -42408,7 +42415,7 @@ var survey_SurveyModel = /** @class */ (function (_super) {
42408
42415
  if (newPage == this.currentPage)
42409
42416
  return;
42410
42417
  var oldValue = this.currentPage;
42411
- if (!this.isShowingPreview && !this.currentSingleQuestion && !this.currentPageChanging(newPage, oldValue))
42418
+ if (!this.isShowingPreview && !this.currentSingleElement && !this.currentPageChanging(newPage, oldValue))
42412
42419
  return;
42413
42420
  this.setPropertyValue("currentPage", newPage);
42414
42421
  if (!!newPage) {
@@ -42775,9 +42782,9 @@ var survey_SurveyModel = /** @class */ (function (_super) {
42775
42782
  this.onFirstPageIsStartedChanged();
42776
42783
  if (goToFirstPage) {
42777
42784
  this.currentPage = this.firstVisiblePage;
42778
- if (this.currentSingleQuestion) {
42785
+ if (this.currentSingleElement) {
42779
42786
  var questions = this.getSingleQuestions();
42780
- this.currentSingleQuestion = questions.length > 0 ? questions[0] : undefined;
42787
+ this.currentSingleElement = questions.length > 0 ? questions[0] : undefined;
42781
42788
  }
42782
42789
  }
42783
42790
  if (clearData) {
@@ -42826,7 +42833,7 @@ var survey_SurveyModel = /** @class */ (function (_super) {
42826
42833
  if (this.isCurrentPageRendered === true) {
42827
42834
  this.isCurrentPageRendered = false;
42828
42835
  }
42829
- if (!this.currentSingleQuestion) {
42836
+ if (!this.currentSingleElement) {
42830
42837
  var options = this.createPageChangeEventOptions(newValue, oldValue);
42831
42838
  this.onCurrentPageChanged.fire(this, options);
42832
42839
  }
@@ -43073,14 +43080,14 @@ var survey_SurveyModel = /** @class */ (function (_super) {
43073
43080
  * @see completeLastPage
43074
43081
  */
43075
43082
  SurveyModel.prototype.nextPage = function () {
43076
- if (this.currentSingleQuestion)
43083
+ if (this.currentSingleElement)
43077
43084
  return this.performNext();
43078
43085
  if (this.isLastPage)
43079
43086
  return false;
43080
43087
  return this.doCurrentPageComplete(false);
43081
43088
  };
43082
43089
  SurveyModel.prototype.performNext = function () {
43083
- var q = this.currentSingleQuestion;
43090
+ var q = this.currentSingleElement;
43084
43091
  if (!q)
43085
43092
  return this.nextPage();
43086
43093
  if (this.validationEnabled && !q.validate(true))
@@ -43089,21 +43096,28 @@ var survey_SurveyModel = /** @class */ (function (_super) {
43089
43096
  var index = questions.indexOf(q);
43090
43097
  if (index < 0 || index === questions.length - 1)
43091
43098
  return false;
43092
- var key = {};
43093
- key[q.name] = q.value;
43094
- this.checkTriggers(key, false, false, true, q.name);
43095
- this.currentSingleQuestion = questions[index + 1];
43099
+ var keys = {};
43100
+ if (q.isQuestion) {
43101
+ keys[q.name] = q.value;
43102
+ }
43103
+ else {
43104
+ if (q.isPanel) {
43105
+ keys = q.getValue();
43106
+ }
43107
+ }
43108
+ this.checkTriggers(keys, false, false, true, q.name);
43109
+ this.currentSingleElement = questions[index + 1];
43096
43110
  return true;
43097
43111
  };
43098
43112
  SurveyModel.prototype.performPrevious = function () {
43099
- var q = this.currentSingleQuestion;
43113
+ var q = this.currentSingleElement;
43100
43114
  if (!q)
43101
43115
  return this.prevPage();
43102
43116
  var questions = this.getSingleQuestions();
43103
43117
  var index = questions.indexOf(q);
43104
43118
  if (index === 0)
43105
43119
  return false;
43106
- this.currentSingleQuestion = questions[index - 1];
43120
+ this.currentSingleElement = questions[index - 1];
43107
43121
  return true;
43108
43122
  };
43109
43123
  SurveyModel.prototype.hasErrorsOnNavigate = function (doComplete) {
@@ -43361,8 +43375,8 @@ var survey_SurveyModel = /** @class */ (function (_super) {
43361
43375
  if (!page)
43362
43376
  return true;
43363
43377
  var res = false;
43364
- if (this.currentSingleQuestion) {
43365
- res = !this.currentSingleQuestion.validate(true);
43378
+ if (this.currentSingleElement) {
43379
+ res = !this.currentSingleElement.validate(true);
43366
43380
  }
43367
43381
  else {
43368
43382
  res = !page.validate(true, isFocuseOnFirstError);
@@ -43401,7 +43415,7 @@ var survey_SurveyModel = /** @class */ (function (_super) {
43401
43415
  */
43402
43416
  SurveyModel.prototype.prevPage = function () {
43403
43417
  var _this = this;
43404
- if (this.currentSingleQuestion)
43418
+ if (this.currentSingleElement)
43405
43419
  return this.performPrevious();
43406
43420
  if (this.isFirstPage || this.state === "starting")
43407
43421
  return false;
@@ -43490,15 +43504,16 @@ var survey_SurveyModel = /** @class */ (function (_super) {
43490
43504
  * @see state
43491
43505
  */
43492
43506
  SurveyModel.prototype.cancelPreview = function (currentPage) {
43507
+ var _a;
43493
43508
  if (currentPage === void 0) { currentPage = null; }
43494
43509
  if (!this.isShowingPreview)
43495
43510
  return;
43496
43511
  this.gotoPageFromPreview = currentPage;
43497
43512
  this.isShowingPreview = false;
43498
- var q = this.currentSingleQuestion;
43499
- if (!!(q === null || q === void 0 ? void 0 : q.page)) {
43500
- q.page.updateRows();
43501
- this.currentPage = q.page;
43513
+ var page = (_a = this.currentSingleElement) === null || _a === void 0 ? void 0 : _a.page;
43514
+ if (!!page) {
43515
+ page.updateRows();
43516
+ this.currentPage = page;
43502
43517
  }
43503
43518
  };
43504
43519
  SurveyModel.prototype.cancelPreviewByPage = function (panel) {
@@ -43662,7 +43677,7 @@ var survey_SurveyModel = /** @class */ (function (_super) {
43662
43677
  rootPage.setSurveyImpl(this);
43663
43678
  this.pageContainerValue = rootPage;
43664
43679
  this.currentPage = rootPage;
43665
- if (!!this.currentSingleQuestionValue) {
43680
+ if (!!this.currentSingleElementValue) {
43666
43681
  this.visiblePages.forEach(function (page) { return page.updateRows(); });
43667
43682
  }
43668
43683
  }
@@ -43692,37 +43707,44 @@ var survey_SurveyModel = /** @class */ (function (_super) {
43692
43707
  SurveyModel.prototype.getSingleQuestions = function () {
43693
43708
  var res = new Array();
43694
43709
  var pages = this.pages;
43695
- for (var i = 0; i < pages.length; i++) {
43710
+ var _loop_3 = function () {
43696
43711
  var p = pages[i];
43697
43712
  if (!p.isStartPage && p.isVisible) {
43698
- var qs = [];
43699
- p.addQuestionsToList(qs, true);
43700
- qs.forEach(function (q) { if (q.isVisible)
43713
+ var qs_1 = [];
43714
+ //p.addQuestionsToList(qs, true);
43715
+ p.elements.forEach(function (el) { return qs_1.push(el); });
43716
+ qs_1.forEach(function (q) { if (q.isVisible)
43701
43717
  res.push(q); });
43702
43718
  }
43719
+ };
43720
+ for (var i = 0; i < pages.length; i++) {
43721
+ _loop_3();
43703
43722
  }
43704
43723
  return res;
43705
43724
  };
43706
- Object.defineProperty(SurveyModel.prototype, "currentSingleQuestion", {
43725
+ Object.defineProperty(SurveyModel.prototype, "currentSingleElement", {
43707
43726
  get: function () {
43708
- return !this.isShowingPreview ? this.currentSingleQuestionValue : undefined;
43727
+ return !this.isShowingPreview ? this.currentSingleElementValue : undefined;
43709
43728
  },
43710
43729
  set: function (val) {
43711
- var oldVal = this.currentSingleQuestion;
43730
+ var _a;
43731
+ var oldVal = this.currentSingleElement;
43712
43732
  if (val !== oldVal && !this.isCompleted) {
43713
- var options = !!val && !!oldVal ? this.createPageChangeEventOptions(val.page, oldVal.page, val, oldVal) : undefined;
43733
+ var valQuestion = (val === null || val === void 0 ? void 0 : val.isQuestion) ? val : undefined;
43734
+ var oldValQuestion = (oldVal === null || oldVal === void 0 ? void 0 : oldVal.isQuestion) ? oldVal : undefined;
43735
+ var page = (_a = val) === null || _a === void 0 ? void 0 : _a.page;
43736
+ var options = !!page && !!oldVal ? this.createPageChangeEventOptions(page, oldVal.page, valQuestion, oldValQuestion) : undefined;
43714
43737
  if (!!options && !this.currentPageChangingFromOptions(options))
43715
43738
  return;
43716
- this.currentSingleQuestionValue = val;
43739
+ this.currentSingleElementValue = val;
43717
43740
  if (!!val) {
43718
- var page = val.page;
43719
43741
  page.updateRows();
43720
43742
  if (page !== this.currentPage) {
43721
43743
  this.currentPage = page;
43722
43744
  }
43723
43745
  else {
43724
- if (this.focusFirstQuestionAutomatic) {
43725
- val.focus();
43746
+ if (!!valQuestion && this.focusFirstQuestionAutomatic) {
43747
+ valQuestion.focus();
43726
43748
  }
43727
43749
  }
43728
43750
  this.updateButtonsVisibility();
@@ -43738,10 +43760,21 @@ var survey_SurveyModel = /** @class */ (function (_super) {
43738
43760
  enumerable: false,
43739
43761
  configurable: true
43740
43762
  });
43763
+ Object.defineProperty(SurveyModel.prototype, "currentSingleQuestion", {
43764
+ get: function () {
43765
+ var res = this.currentSingleElement;
43766
+ return !!res && res.isQuestion ? res : undefined;
43767
+ },
43768
+ set: function (val) {
43769
+ this.currentSingleElement = val;
43770
+ },
43771
+ enumerable: false,
43772
+ configurable: true
43773
+ });
43741
43774
  SurveyModel.prototype.onQuestionsOnPageModeChanged = function (oldValue) {
43742
43775
  if (this.isShowingPreview || this.isDesignMode)
43743
43776
  return;
43744
- this.currentSingleQuestion = undefined;
43777
+ this.currentSingleElement = undefined;
43745
43778
  if (oldValue === "singlePage") {
43746
43779
  this.updatePagesContainer();
43747
43780
  }
@@ -43751,7 +43784,7 @@ var survey_SurveyModel = /** @class */ (function (_super) {
43751
43784
  if (this.isSingleVisibleQuestion) {
43752
43785
  var questions = this.getSingleQuestions();
43753
43786
  if (questions.length > 0) {
43754
- this.currentSingleQuestion = questions[0];
43787
+ this.currentSingleElement = questions[0];
43755
43788
  }
43756
43789
  }
43757
43790
  };
@@ -43843,7 +43876,7 @@ var survey_SurveyModel = /** @class */ (function (_super) {
43843
43876
  this.setPropertyValue("isLastPage", !!curPage && curPage === this.lastVisiblePage);
43844
43877
  var fVal = undefined;
43845
43878
  var lVal = undefined;
43846
- var q = this.currentSingleQuestion;
43879
+ var q = this.currentSingleElement;
43847
43880
  if (!!q) {
43848
43881
  var questions = this.getSingleQuestions();
43849
43882
  var index = questions.indexOf(q);
@@ -46127,10 +46160,10 @@ var survey_SurveyModel = /** @class */ (function (_super) {
46127
46160
  return;
46128
46161
  if (!question.validate(false) && !question.supportGoNextPageError())
46129
46162
  return;
46130
- if (!!this.currentSingleQuestion) {
46131
- var curQuestion_1 = this.currentSingleQuestion;
46163
+ if (!!this.currentSingleElement) {
46164
+ var curQuestion_1 = this.currentSingleElement;
46132
46165
  var goNextQuestion = function () {
46133
- if (curQuestion_1 !== _this.currentSingleQuestion)
46166
+ if (curQuestion_1 !== _this.currentSingleElement)
46134
46167
  return;
46135
46168
  if (!_this.isLastElement) {
46136
46169
  _this.performNext();
@@ -47146,7 +47179,7 @@ var survey_SurveyModel = /** @class */ (function (_super) {
47146
47179
  if (isNeedWaitForPageRendered) {
47147
47180
  this.currentPage = question.page;
47148
47181
  if (this.isSingleVisibleQuestion && !this.isDesignMode) {
47149
- this.currentSingleQuestion = question;
47182
+ this.currentSingleElement = question;
47150
47183
  }
47151
47184
  }
47152
47185
  if (!isNeedWaitForPageRendered) {
@@ -52855,7 +52888,8 @@ var question_matrix_MatrixCells = /** @class */ (function (_super) {
52855
52888
  var rowValues = this.values[row];
52856
52889
  for (var col in rowValues) {
52857
52890
  if (row === this.defaultRowValue || !defaultRow || defaultRow[col] !== rowValues[col]) {
52858
- resRow[col] = rowValues[col];
52891
+ var loc = this.getCellLocCore(row, col);
52892
+ resRow[col] = loc ? loc.getJson() : rowValues[col];
52859
52893
  }
52860
52894
  }
52861
52895
  res[row] = resRow;
@@ -71129,9 +71163,9 @@ Serializer.addClass("currencymask", [
71129
71163
 
71130
71164
  var Version;
71131
71165
  var ReleaseDate;
71132
- Version = "" + "1.12.27";
71166
+ Version = "" + "1.12.28";
71133
71167
  settings.version = Version;
71134
- ReleaseDate = "" + "2025-03-12";
71168
+ ReleaseDate = "" + "2025-03-18";
71135
71169
  function checkLibraryVersion(ver, libraryName) {
71136
71170
  if (Version != ver) {
71137
71171
  var str = "survey-core has version '" + Version + "' and " + libraryName