survey-core 1.9.111 → 1.9.112

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 (281) hide show
  1. package/defaultV2.css +18 -7
  2. package/defaultV2.css.map +1 -1
  3. package/defaultV2.fontless.css +18 -7
  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 +256 -0
  8. package/i18n/arabic.js.map +1 -0
  9. package/i18n/arabic.min.js +6 -0
  10. package/i18n/basque.js +249 -0
  11. package/i18n/basque.js.map +1 -0
  12. package/i18n/basque.min.js +6 -0
  13. package/i18n/bulgarian.js +256 -0
  14. package/i18n/bulgarian.js.map +1 -0
  15. package/i18n/bulgarian.min.js +6 -0
  16. package/i18n/catalan.js +296 -0
  17. package/i18n/catalan.js.map +1 -0
  18. package/i18n/catalan.min.js +6 -0
  19. package/i18n/croatian.js +254 -0
  20. package/i18n/croatian.js.map +1 -0
  21. package/i18n/croatian.min.js +6 -0
  22. package/i18n/czech.js +256 -0
  23. package/i18n/czech.js.map +1 -0
  24. package/i18n/czech.min.js +6 -0
  25. package/i18n/danish.js +256 -0
  26. package/i18n/danish.js.map +1 -0
  27. package/i18n/danish.min.js +6 -0
  28. package/i18n/dutch.js +254 -0
  29. package/i18n/dutch.js.map +1 -0
  30. package/i18n/dutch.min.js +6 -0
  31. package/i18n/english.js +225 -0
  32. package/i18n/english.js.map +1 -0
  33. package/i18n/english.min.js +6 -0
  34. package/i18n/estonian.js +256 -0
  35. package/i18n/estonian.js.map +1 -0
  36. package/i18n/estonian.min.js +6 -0
  37. package/i18n/finnish.js +244 -0
  38. package/i18n/finnish.js.map +1 -0
  39. package/i18n/finnish.min.js +6 -0
  40. package/i18n/french.js +244 -0
  41. package/i18n/french.js.map +1 -0
  42. package/i18n/french.min.js +6 -0
  43. package/i18n/georgian.js +309 -0
  44. package/i18n/georgian.js.map +1 -0
  45. package/i18n/georgian.min.js +6 -0
  46. package/i18n/german.js +242 -0
  47. package/i18n/german.js.map +1 -0
  48. package/i18n/german.min.js +6 -0
  49. package/i18n/greek.js +241 -0
  50. package/i18n/greek.js.map +1 -0
  51. package/i18n/greek.min.js +6 -0
  52. package/i18n/hebrew.js +256 -0
  53. package/i18n/hebrew.js.map +1 -0
  54. package/i18n/hebrew.min.js +6 -0
  55. package/i18n/hindi.js +257 -0
  56. package/i18n/hindi.js.map +1 -0
  57. package/i18n/hindi.min.js +6 -0
  58. package/i18n/hungarian.js +255 -0
  59. package/i18n/hungarian.js.map +1 -0
  60. package/i18n/hungarian.min.js +6 -0
  61. package/i18n/icelandic.js +256 -0
  62. package/i18n/icelandic.js.map +1 -0
  63. package/i18n/icelandic.min.js +6 -0
  64. package/i18n/index.js +6871 -0
  65. package/i18n/index.js.map +1 -0
  66. package/i18n/index.min.js +6 -0
  67. package/i18n/indonesian.js +256 -0
  68. package/i18n/indonesian.js.map +1 -0
  69. package/i18n/indonesian.min.js +6 -0
  70. package/i18n/italian.js +244 -0
  71. package/i18n/italian.js.map +1 -0
  72. package/i18n/italian.min.js +6 -0
  73. package/i18n/japanese.js +256 -0
  74. package/i18n/japanese.js.map +1 -0
  75. package/i18n/japanese.min.js +6 -0
  76. package/i18n/kazakh.js +256 -0
  77. package/i18n/kazakh.js.map +1 -0
  78. package/i18n/kazakh.min.js +6 -0
  79. package/i18n/korean.js +243 -0
  80. package/i18n/korean.js.map +1 -0
  81. package/i18n/korean.min.js +6 -0
  82. package/i18n/latvian.js +244 -0
  83. package/i18n/latvian.js.map +1 -0
  84. package/i18n/latvian.min.js +6 -0
  85. package/i18n/lithuanian.js +256 -0
  86. package/i18n/lithuanian.js.map +1 -0
  87. package/i18n/lithuanian.min.js +6 -0
  88. package/i18n/macedonian.js +250 -0
  89. package/i18n/macedonian.js.map +1 -0
  90. package/i18n/macedonian.min.js +6 -0
  91. package/i18n/malay.js +246 -0
  92. package/i18n/malay.js.map +1 -0
  93. package/i18n/malay.min.js +6 -0
  94. package/i18n/nl-BE.js +279 -0
  95. package/i18n/nl-BE.js.map +1 -0
  96. package/i18n/nl-BE.min.js +6 -0
  97. package/i18n/norwegian.js +256 -0
  98. package/i18n/norwegian.js.map +1 -0
  99. package/i18n/norwegian.min.js +6 -0
  100. package/i18n/persian.js +256 -0
  101. package/i18n/persian.js.map +1 -0
  102. package/i18n/persian.min.js +6 -0
  103. package/i18n/polish.js +244 -0
  104. package/i18n/polish.js.map +1 -0
  105. package/i18n/polish.min.js +6 -0
  106. package/i18n/portuguese-br.js +306 -0
  107. package/i18n/portuguese-br.js.map +1 -0
  108. package/i18n/portuguese-br.min.js +6 -0
  109. package/i18n/portuguese.js +241 -0
  110. package/i18n/portuguese.js.map +1 -0
  111. package/i18n/portuguese.min.js +6 -0
  112. package/i18n/romanian.js +256 -0
  113. package/i18n/romanian.js.map +1 -0
  114. package/i18n/romanian.min.js +6 -0
  115. package/i18n/russian.js +244 -0
  116. package/i18n/russian.js.map +1 -0
  117. package/i18n/russian.min.js +6 -0
  118. package/i18n/serbian.js +251 -0
  119. package/i18n/serbian.js.map +1 -0
  120. package/i18n/serbian.min.js +6 -0
  121. package/i18n/simplified-chinese.js +250 -0
  122. package/i18n/simplified-chinese.js.map +1 -0
  123. package/i18n/simplified-chinese.min.js +6 -0
  124. package/i18n/slovak.js +246 -0
  125. package/i18n/slovak.js.map +1 -0
  126. package/i18n/slovak.min.js +6 -0
  127. package/i18n/spanish.js +244 -0
  128. package/i18n/spanish.js.map +1 -0
  129. package/i18n/spanish.min.js +6 -0
  130. package/i18n/swahili.js +256 -0
  131. package/i18n/swahili.js.map +1 -0
  132. package/i18n/swahili.min.js +6 -0
  133. package/i18n/swedish.js +244 -0
  134. package/i18n/swedish.js.map +1 -0
  135. package/i18n/swedish.min.js +6 -0
  136. package/i18n/tajik.js +225 -0
  137. package/i18n/tajik.js.map +1 -0
  138. package/i18n/tajik.min.js +6 -0
  139. package/i18n/telugu.js +257 -0
  140. package/i18n/telugu.js.map +1 -0
  141. package/i18n/telugu.min.js +6 -0
  142. package/i18n/thai.js +256 -0
  143. package/i18n/thai.js.map +1 -0
  144. package/i18n/thai.min.js +6 -0
  145. package/i18n/traditional-chinese.js +291 -0
  146. package/i18n/traditional-chinese.js.map +1 -0
  147. package/i18n/traditional-chinese.min.js +6 -0
  148. package/i18n/turkish.js +238 -0
  149. package/i18n/turkish.js.map +1 -0
  150. package/i18n/turkish.min.js +6 -0
  151. package/i18n/ukrainian.js +256 -0
  152. package/i18n/ukrainian.js.map +1 -0
  153. package/i18n/ukrainian.min.js +6 -0
  154. package/i18n/urdu.js +249 -0
  155. package/i18n/urdu.js.map +1 -0
  156. package/i18n/urdu.min.js +6 -0
  157. package/i18n/vietnamese.js +257 -0
  158. package/i18n/vietnamese.js.map +1 -0
  159. package/i18n/vietnamese.min.js +6 -0
  160. package/i18n/welsh.js +256 -0
  161. package/i18n/welsh.js.map +1 -0
  162. package/i18n/welsh.min.js +6 -0
  163. package/modern.css +11 -2
  164. package/modern.css.map +1 -1
  165. package/modern.fontless.css +11 -2
  166. package/modern.fontless.css.map +1 -1
  167. package/modern.fontless.min.css +2 -2
  168. package/modern.min.css +2 -2
  169. package/package.json +1 -1
  170. package/plugins/bootstrap-integration.js +1 -1
  171. package/plugins/bootstrap-integration.min.js +1 -1
  172. package/plugins/bootstrap-material-integration.js +1 -1
  173. package/plugins/bootstrap-material-integration.min.js +1 -1
  174. package/survey.core.js +248 -106
  175. package/survey.core.js.map +1 -1
  176. package/survey.core.min.js +3 -3
  177. package/survey.css +1 -1
  178. package/survey.css.map +1 -1
  179. package/survey.i18n.js +1 -1
  180. package/survey.i18n.min.js +2 -2
  181. package/survey.min.css +1 -1
  182. package/themes/borderless-dark-panelless.js +1 -1
  183. package/themes/borderless-dark-panelless.min.js +1 -1
  184. package/themes/borderless-dark.js +1 -1
  185. package/themes/borderless-dark.min.js +1 -1
  186. package/themes/borderless-light-panelless..js +1 -1
  187. package/themes/borderless-light-panelless..min.js +1 -1
  188. package/themes/borderless-light.js +1 -1
  189. package/themes/borderless-light.min.js +1 -1
  190. package/themes/contrast-dark-panelless.js +1 -1
  191. package/themes/contrast-dark-panelless.min.js +1 -1
  192. package/themes/contrast-dark.js +1 -1
  193. package/themes/contrast-dark.min.js +1 -1
  194. package/themes/contrast-light-panelless.js +1 -1
  195. package/themes/contrast-light-panelless.min.js +1 -1
  196. package/themes/contrast-light.js +1 -1
  197. package/themes/contrast-light.min.js +1 -1
  198. package/themes/default-dark-panelless.js +1 -1
  199. package/themes/default-dark-panelless.min.js +1 -1
  200. package/themes/default-dark.js +1 -1
  201. package/themes/default-dark.min.js +1 -1
  202. package/themes/default-light-panelless.js +1 -1
  203. package/themes/default-light-panelless.min.js +1 -1
  204. package/themes/default-light.js +1 -1
  205. package/themes/default-light.min.js +1 -1
  206. package/themes/doubleborder-dark-panelless.js +1 -1
  207. package/themes/doubleborder-dark-panelless.min.js +1 -1
  208. package/themes/doubleborder-dark.js +1 -1
  209. package/themes/doubleborder-dark.min.js +1 -1
  210. package/themes/doubleborder-light-panelles.js +1 -1
  211. package/themes/doubleborder-light-panelles.min.js +1 -1
  212. package/themes/doubleborder-light.js +1 -1
  213. package/themes/doubleborder-light.min.js +1 -1
  214. package/themes/flat-dark-panelless.js +1 -1
  215. package/themes/flat-dark-panelless.min.js +1 -1
  216. package/themes/flat-dark.js +1 -1
  217. package/themes/flat-dark.min.js +1 -1
  218. package/themes/flat-light-panelless.js +1 -1
  219. package/themes/flat-light-panelless.min.js +1 -1
  220. package/themes/flat-light.js +1 -1
  221. package/themes/flat-light.min.js +1 -1
  222. package/themes/index.js +1 -1
  223. package/themes/index.min.js +1 -1
  224. package/themes/layered-dark-panelless.js +1 -1
  225. package/themes/layered-dark-panelless.min.js +1 -1
  226. package/themes/layered-dark.js +1 -1
  227. package/themes/layered-dark.min.js +1 -1
  228. package/themes/layered-light-panelless.js +1 -1
  229. package/themes/layered-light-panelless.min.js +1 -1
  230. package/themes/layered-light.js +1 -1
  231. package/themes/layered-light.min.js +1 -1
  232. package/themes/plain-dark-panelless.js +1 -1
  233. package/themes/plain-dark-panelless.min.js +1 -1
  234. package/themes/plain-dark.js +1 -1
  235. package/themes/plain-dark.min.js +1 -1
  236. package/themes/plain-light-panelless.js +1 -1
  237. package/themes/plain-light-panelless.min.js +1 -1
  238. package/themes/plain-light.js +1 -1
  239. package/themes/plain-light.min.js +1 -1
  240. package/themes/sharp-dark-panelless.js +1 -1
  241. package/themes/sharp-dark-panelless.min.js +1 -1
  242. package/themes/sharp-dark.js +1 -1
  243. package/themes/sharp-dark.min.js +1 -1
  244. package/themes/sharp-light-panelless.js +1 -1
  245. package/themes/sharp-light-panelless.min.js +1 -1
  246. package/themes/sharp-light.js +1 -1
  247. package/themes/sharp-light.min.js +1 -1
  248. package/themes/solid-dark-panelless.js +1 -1
  249. package/themes/solid-dark-panelless.min.js +1 -1
  250. package/themes/solid-dark.js +1 -1
  251. package/themes/solid-dark.min.js +1 -1
  252. package/themes/solid-light-panelless.js +1 -1
  253. package/themes/solid-light-panelless.min.js +1 -1
  254. package/themes/solid-light.js +1 -1
  255. package/themes/solid-light.min.js +1 -1
  256. package/themes/three-dimensional-dark-panelless.js +1 -1
  257. package/themes/three-dimensional-dark-panelless.min.js +1 -1
  258. package/themes/three-dimensional-dark.js +1 -1
  259. package/themes/three-dimensional-dark.min.js +1 -1
  260. package/themes/three-dimensional-light-panelless.js +1 -1
  261. package/themes/three-dimensional-light-panelless.min.js +1 -1
  262. package/themes/three-dimensional-light.js +1 -1
  263. package/themes/three-dimensional-light.min.js +1 -1
  264. package/ts3.4/typings/cover.d.ts +15 -11
  265. package/ts3.4/typings/notifier.d.ts +1 -0
  266. package/ts3.4/typings/question.d.ts +24 -2
  267. package/ts3.4/typings/question_expression.d.ts +0 -1
  268. package/ts3.4/typings/question_matrixdropdowncolumn.d.ts +2 -0
  269. package/ts3.4/typings/survey-element.d.ts +0 -1
  270. package/ts3.4/typings/survey-events-api.d.ts +4 -0
  271. package/ts3.4/typings/survey.d.ts +20 -5
  272. package/ts3.4/typings/themes.d.ts +53 -1
  273. package/typings/cover.d.ts +16 -11
  274. package/typings/notifier.d.ts +1 -0
  275. package/typings/question.d.ts +26 -2
  276. package/typings/question_expression.d.ts +0 -1
  277. package/typings/question_matrixdropdowncolumn.d.ts +4 -0
  278. package/typings/survey-element.d.ts +0 -1
  279. package/typings/survey-events-api.d.ts +4 -0
  280. package/typings/survey.d.ts +20 -5
  281. package/typings/themes.d.ts +53 -1
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * surveyjs - Survey JavaScript library v1.9.111
2
+ * surveyjs - Survey JavaScript library v1.9.112
3
3
  * Copyright (c) 2015-2023 Devsoft Baltic OÜ - http://surveyjs.io/
4
4
  * License: MIT (http://www.opensource.org/licenses/mit-license.php)
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * surveyjs - Survey JavaScript library v1.9.111
2
+ * surveyjs - Survey JavaScript library v1.9.112
3
3
  * Copyright (c) 2015-2023 Devsoft Baltic OÜ - http://surveyjs.io/
4
4
  * License: MIT (http://www.opensource.org/licenses/mit-license.php)
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * surveyjs - Survey JavaScript library v1.9.111
2
+ * surveyjs - Survey JavaScript library v1.9.112
3
3
  * Copyright (c) 2015-2023 Devsoft Baltic OÜ - http://surveyjs.io/
4
4
  * License: MIT (http://www.opensource.org/licenses/mit-license.php)
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * surveyjs - Survey JavaScript library v1.9.111
2
+ * surveyjs - Survey JavaScript library v1.9.112
3
3
  * Copyright (c) 2015-2023 Devsoft Baltic OÜ - http://surveyjs.io/
4
4
  * License: MIT (http://www.opensource.org/licenses/mit-license.php)
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * surveyjs - Survey JavaScript library v1.9.111
2
+ * surveyjs - Survey JavaScript library v1.9.112
3
3
  * Copyright (c) 2015-2023 Devsoft Baltic OÜ - http://surveyjs.io/
4
4
  * License: MIT (http://www.opensource.org/licenses/mit-license.php)
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * surveyjs - Survey JavaScript library v1.9.111
2
+ * surveyjs - Survey JavaScript library v1.9.112
3
3
  * Copyright (c) 2015-2023 Devsoft Baltic OÜ - http://surveyjs.io/
4
4
  * License: MIT (http://www.opensource.org/licenses/mit-license.php)
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * surveyjs - Survey JavaScript library v1.9.111
2
+ * surveyjs - Survey JavaScript library v1.9.112
3
3
  * Copyright (c) 2015-2023 Devsoft Baltic OÜ - http://surveyjs.io/
4
4
  * License: MIT (http://www.opensource.org/licenses/mit-license.php)
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * surveyjs - Survey JavaScript library v1.9.111
2
+ * surveyjs - Survey JavaScript library v1.9.112
3
3
  * Copyright (c) 2015-2023 Devsoft Baltic OÜ - http://surveyjs.io/
4
4
  * License: MIT (http://www.opensource.org/licenses/mit-license.php)
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * surveyjs - Survey JavaScript library v1.9.111
2
+ * surveyjs - Survey JavaScript library v1.9.112
3
3
  * Copyright (c) 2015-2023 Devsoft Baltic OÜ - http://surveyjs.io/
4
4
  * License: MIT (http://www.opensource.org/licenses/mit-license.php)
5
5
  */
@@ -20,21 +20,23 @@ export declare class CoverCell {
20
20
  readonly showLogo: boolean;
21
21
  readonly showTitle: boolean;
22
22
  readonly showDescription: boolean;
23
- readonly textWidth: string;
23
+ readonly textAreaWidth: string;
24
24
  }
25
25
  export declare class Cover extends Base {
26
+ private _survey;
26
27
  private calcBackgroundSize;
28
+ private updateCoverClasses;
29
+ private updateContentClasses;
30
+ private updateBackgroundImageClasses;
27
31
  fromTheme(theme: ITheme): void;
28
32
  constructor();
29
33
  getType(): string;
30
- survey: SurveyModel;
31
34
  cells: CoverCell[];
32
35
  height: number;
33
- areaWidth: "survey" | "container";
34
- textWidth: number;
35
- invertText: boolean;
36
- glowText: boolean;
37
- overlap: boolean;
36
+ inheritWidthFrom: "survey" | "page";
37
+ textAreaWidth: number;
38
+ textGlowEnabled: boolean;
39
+ overlapEnabled: boolean;
38
40
  backgroundColor: string;
39
41
  backgroundImage: string;
40
42
  renderBackgroundImage: string;
@@ -58,14 +60,16 @@ export declare class Cover extends Base {
58
60
  gridColumn: number;
59
61
  gridRow: number;
60
62
  };
63
+ coverClasses: string;
64
+ contentClasses: string;
65
+ backgroundImageClasses: string;
61
66
  readonly renderedHeight: string;
62
- readonly renderedTextWidth: string;
63
- readonly coverClasses: string;
64
- readonly contentClasses: string;
65
- readonly backgroundImageClasses: string;
67
+ readonly renderedtextAreaWidth: string;
68
+ survey: SurveyModel;
66
69
  readonly backgroundImageStyle: {
67
70
  opacity: number;
68
71
  backgroundImage: string;
69
72
  backgroundSize: string;
70
73
  };
74
+ protected propertyValueChanged(name: string, oldValue: any, newValue: any): void;
71
75
  }
@@ -11,6 +11,7 @@ export declare class Notifier extends Base {
11
11
  timer: any;
12
12
  private actionsVisibility;
13
13
  actionBar: ActionContainer;
14
+ showActions: boolean;
14
15
  constructor(cssClasses: {
15
16
  root: string;
16
17
  info: string;
@@ -216,8 +216,11 @@ export declare class Question extends SurveyElement<Question> implements IQuesti
216
216
  readonly isQuestion: boolean;
217
217
  moveTo(container: IPanel, insertBefore?: any): boolean;
218
218
  getProgressInfo(): IProgressInfo;
219
- private resetValueIfExpression;
220
- private isRunningResetValueIf;
219
+ private setValueExpressionRunner;
220
+ private runSetValueExpression;
221
+ private triggersInfo;
222
+ private addTriggerInfo;
223
+ private runTriggerInfo;
221
224
  runTriggers(name: string, value: any): void;
222
225
  private runConditions;
223
226
  setSurveyImpl(value: ISurveyImpl, isLight?: boolean): void;
@@ -592,6 +595,7 @@ export declare class Question extends SurveyElement<Question> implements IQuesti
592
595
  *
593
596
  * An expression can also include built-in and custom functions for advanced calculations. For example, if the `defaultValue` should be today's date, set the `defaultValueExpression` to `"today()"`, and the corresponding built-in function will be executed each time the survey is loaded. Refer to the following help topic for more information: [Built-In Functions](https://surveyjs.io/form-library/documentation/design-survey-conditional-logic#built-in-functions).
594
597
  * @see defaultValue
598
+ * @see setValueExpression
595
599
  */
596
600
  defaultValueExpression: any;
597
601
  /*
@@ -600,8 +604,26 @@ export declare class Question extends SurveyElement<Question> implements IQuesti
600
604
  * A survey parses and runs all expressions on startup. If any values used in the expression change, the survey re-evaluates it.
601
605
  *
602
606
  * [Expressions](https://surveyjs.io/form-library/documentation/design-survey/conditional-logic#expressions (linkStyle))
607
+ * @see setValueIf
603
608
  */
604
609
  resetValueIf: string;
610
+ /*
611
+ * A Boolean expression. If it evaluates to `true`, the question value is set to a value calculated using the [`setValueExpression`](#setValueExpression).
612
+ *
613
+ * A survey parses and runs all expressions on startup. If any values used in the expression change, the survey re-evaluates it.
614
+ *
615
+ * [Expressions](https://surveyjs.io/form-library/documentation/design-survey/conditional-logic#expressions (linkStyle))
616
+ * @see resetValueIf
617
+ */
618
+ setValueIf: string;
619
+ /*
620
+ * An expression used to calculate the question value. Applies only when the [`setValueIf`](#setValueIf) expression evaluates to `true`.
621
+ *
622
+ * [Expressions](https://surveyjs.io/form-library/documentation/design-survey/conditional-logic#expressions (linkStyle))
623
+ * @see defaultValueExpression
624
+ * @see resetValueIf
625
+ */
626
+ setValueExpression: string;
605
627
  readonly resizeStyle: "none" | "both";
606
628
  /**
607
629
  * Returns the question value as an object in which the question name, title, value, and other parameters are stored as individual properties.
@@ -97,6 +97,5 @@ export declare class QuestionExpressionModel extends Question {
97
97
  precision: number;
98
98
  private roundValue;
99
99
  protected getValueAsStr(val: any): string;
100
- protected convertToCorrectValue(val: any): any;
101
100
  }
102
101
  export declare function getCurrecyCodes(): Array<string>;
@@ -65,6 +65,8 @@ export declare class MatrixDropdownColumn extends Base implements ILocalizableOw
65
65
  requiredIf: string;
66
66
  resetValueIf: string;
67
67
  defaultValueExpression: string;
68
+ setValueIf: string;
69
+ setValueExpession: string;
68
70
  isUnique: boolean;
69
71
  showInMultipleColumns: boolean;
70
72
  readonly isSupportMultipleColumns: boolean;
@@ -368,7 +368,6 @@ export declare class SurveyElement<E = any> extends SurveyElementCore implements
368
368
  paddingLeft: string;
369
369
  paddingRight: string;
370
370
  allowRootStyle: boolean;
371
- renderMinWidth: boolean;
372
371
  readonly rootStyle: {
373
372
  [index: string]: any;
374
373
  };
@@ -13,6 +13,7 @@ import { QuestionMatrixDynamicModel } from "./question_matrixdynamic";
13
13
  import { QuestionPanelDynamicModel } from "./question_paneldynamic";
14
14
  import { SurveyModel } from "./survey";
15
15
  import { SurveyError } from "./survey-error";
16
+ import { ITheme } from "./themes";
16
17
  import { Trigger } from "./trigger";
17
18
  export interface QuestionEventMixin {
18
19
  /**
@@ -960,3 +961,6 @@ export interface PopupVisibleChangedEvent extends QuestionEventMixin {
960
961
  */
961
962
  visible: boolean;
962
963
  }
964
+ export interface ThemeAppliedEvent {
965
+ theme: ITheme;
966
+ }
@@ -18,7 +18,7 @@ import { IAction, Action } from "./actions/action";
18
18
  import { ActionContainer } from "./actions/container";
19
19
  import { QuestionPanelDynamicModel } from "./question_paneldynamic";
20
20
  import { Notifier } from "./notifier";
21
- import { TriggerExecutedEvent, CompletingEvent, CompleteEvent, ShowingPreviewEvent, NavigateToUrlEvent, CurrentPageChangingEvent, CurrentPageChangedEvent, ValueChangingEvent, ValueChangedEvent, VariableChangedEvent, QuestionVisibleChangedEvent, PageVisibleChangedEvent, PanelVisibleChangedEvent, QuestionCreatedEvent, QuestionAddedEvent, QuestionRemovedEvent, PanelAddedEvent, PanelRemovedEvent, PageAddedEvent, ValidateQuestionEvent, SettingQuestionErrorsEvent, ValidatePanelEvent, ErrorCustomTextEvent, ValidatedErrorsOnCurrentPageEvent, ProcessHtmlEvent, GetQuestionTitleEvent, GetTitleTagNameEvent, GetQuestionNoEvent, ProgressTextEvent, TextMarkdownEvent, TextRenderAsEvent, SendResultEvent, GetResultEvent, UploadFilesEvent, DownloadFileEvent, ClearFilesEvent, LoadChoicesFromServerEvent, ProcessTextValueEvent, UpdateQuestionCssClassesEvent, UpdatePanelCssClassesEvent, UpdatePageCssClassesEvent, UpdateChoiceItemCssEvent, AfterRenderSurveyEvent, AfterRenderHeaderEvent, AfterRenderPageEvent, AfterRenderQuestionEvent, AfterRenderQuestionInputEvent, AfterRenderPanelEvent, FocusInQuestionEvent, FocusInPanelEvent, ShowingChoiceItemEvent, ChoicesLazyLoadEvent, GetChoiceDisplayValueEvent, MatrixRowAddedEvent, MatrixBeforeRowAddedEvent, MatrixRowRemovingEvent, MatrixRowRemovedEvent, MatrixAllowRemoveRowEvent, MatrixCellCreatingEvent, MatrixCellCreatedEvent, MatrixAfterCellRenderEvent, MatrixCellValueChangedEvent, MatrixCellValueChangingEvent, MatrixCellValidateEvent, DynamicPanelModifiedEvent, DynamicPanelRemovingEvent, TimerPanelInfoTextEvent, DynamicPanelItemValueChangedEvent, DynamicPanelGetTabTitleEvent, IsAnswerCorrectEvent, DragDropAllowEvent, ScrollingElementToTopEvent, GetQuestionTitleActionsEvent, GetPanelTitleActionsEvent, GetPageTitleActionsEvent, GetPanelFooterActionsEvent, GetMatrixRowActionsEvent, ElementContentVisibilityChangedEvent, GetExpressionDisplayValueEvent, ServerValidateQuestionsEvent, MultipleTextItemAddedEvent, MatrixColumnAddedEvent, GetQuestionDisplayValueEvent, PopupVisibleChangedEvent } from "./survey-events-api";
21
+ import { TriggerExecutedEvent, CompletingEvent, CompleteEvent, ShowingPreviewEvent, NavigateToUrlEvent, CurrentPageChangingEvent, CurrentPageChangedEvent, ValueChangingEvent, ValueChangedEvent, VariableChangedEvent, QuestionVisibleChangedEvent, PageVisibleChangedEvent, PanelVisibleChangedEvent, QuestionCreatedEvent, QuestionAddedEvent, QuestionRemovedEvent, PanelAddedEvent, PanelRemovedEvent, PageAddedEvent, ValidateQuestionEvent, SettingQuestionErrorsEvent, ValidatePanelEvent, ErrorCustomTextEvent, ValidatedErrorsOnCurrentPageEvent, ProcessHtmlEvent, GetQuestionTitleEvent, GetTitleTagNameEvent, GetQuestionNoEvent, ProgressTextEvent, TextMarkdownEvent, TextRenderAsEvent, SendResultEvent, GetResultEvent, UploadFilesEvent, DownloadFileEvent, ClearFilesEvent, LoadChoicesFromServerEvent, ProcessTextValueEvent, UpdateQuestionCssClassesEvent, UpdatePanelCssClassesEvent, UpdatePageCssClassesEvent, UpdateChoiceItemCssEvent, AfterRenderSurveyEvent, AfterRenderHeaderEvent, AfterRenderPageEvent, AfterRenderQuestionEvent, AfterRenderQuestionInputEvent, AfterRenderPanelEvent, FocusInQuestionEvent, FocusInPanelEvent, ShowingChoiceItemEvent, ChoicesLazyLoadEvent, GetChoiceDisplayValueEvent, MatrixRowAddedEvent, MatrixBeforeRowAddedEvent, MatrixRowRemovingEvent, MatrixRowRemovedEvent, MatrixAllowRemoveRowEvent, MatrixCellCreatingEvent, MatrixCellCreatedEvent, MatrixAfterCellRenderEvent, MatrixCellValueChangedEvent, MatrixCellValueChangingEvent, MatrixCellValidateEvent, DynamicPanelModifiedEvent, DynamicPanelRemovingEvent, TimerPanelInfoTextEvent, DynamicPanelItemValueChangedEvent, DynamicPanelGetTabTitleEvent, IsAnswerCorrectEvent, DragDropAllowEvent, ScrollingElementToTopEvent, GetQuestionTitleActionsEvent, GetPanelTitleActionsEvent, GetPageTitleActionsEvent, GetPanelFooterActionsEvent, GetMatrixRowActionsEvent, ElementContentVisibilityChangedEvent, GetExpressionDisplayValueEvent, ServerValidateQuestionsEvent, MultipleTextItemAddedEvent, MatrixColumnAddedEvent, GetQuestionDisplayValueEvent, PopupVisibleChangedEvent, ThemeAppliedEvent } from "./survey-events-api";
22
22
  import { QuestionMatrixDropdownModelBase } from "./question_matrixdropdownbase";
23
23
  import { QuestionMatrixDynamicModel } from "./question_matrixdynamic";
24
24
  import { QuestionFileModel } from "./question_file";
@@ -58,7 +58,11 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
58
58
  private timerModelValue;
59
59
  private navigationBarValue;
60
60
  onThemeApplying: EventBase<SurveyModel>;
61
- onThemeApplied: EventBase<SurveyModel>;
61
+ /**
62
+ * An event that is raised after a [theme](/form-library/documentation/manage-default-themes-and-styles) is [applied](#applyTheme) to the survey.
63
+ * @see applyTheme
64
+ */
65
+ onThemeApplied: EventBase<SurveyModel, ThemeAppliedEvent>;
62
66
  /**
63
67
  * An event that is raised after a [trigger](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#triggers) is executed.
64
68
  *
@@ -648,10 +652,12 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
648
652
  * For information on event handler parameters, refer to descriptions within the interface.
649
653
  *
650
654
  * [View Demo](https://surveyjs.io/form-library/examples/survey-titleactions/ (linkStyle))
655
+ * @see [IAction](https://surveyjs.io/form-library/documentation/api-reference/iaction)
651
656
  */
652
657
  onGetQuestionTitleActions: EventBase<SurveyModel, GetQuestionTitleActionsEvent>;
653
658
  /**
654
659
  * An event that allows you to add, delete, or modify actions in a panel title.
660
+ * @see [IAction](https://surveyjs.io/form-library/documentation/api-reference/iaction)
655
661
  */
656
662
  onGetPanelTitleActions: EventBase<SurveyModel, GetPanelTitleActionsEvent>;
657
663
  /**
@@ -660,10 +666,12 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
660
666
  * For information on event handler parameters, refer to descriptions within the interface.
661
667
  *
662
668
  * [View Demo](https://surveyjs.io/form-library/examples/modify-titles-of-survey-elements/ (linkStyle))
669
+ * @see [IAction](https://surveyjs.io/form-library/documentation/api-reference/iaction)
663
670
  */
664
671
  onGetPageTitleActions: EventBase<SurveyModel, GetPageTitleActionsEvent>;
665
672
  /**
666
673
  * An event that allows you to add, delete, or modify actions in the footer of a [Panel](https://surveyjs.io/form-library/documentation/panelmodel).
674
+ * @see [IAction](https://surveyjs.io/form-library/documentation/api-reference/iaction)
667
675
  */
668
676
  onGetPanelFooterActions: EventBase<SurveyModel, GetPanelFooterActionsEvent>;
669
677
  /**
@@ -672,7 +680,7 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
672
680
  * For information on event handler parameters, refer to descriptions within the interface.
673
681
  *
674
682
  * [View Demo](https://surveyjs.io/form-library/examples/employee-information-form/ (linkStyle))
675
- * @see IAction
683
+ * @see [IAction](https://surveyjs.io/form-library/documentation/api-reference/iaction)
676
684
  */
677
685
  onGetMatrixRowActions: EventBase<SurveyModel, GetMatrixRowActionsEvent>;
678
686
  /**
@@ -734,7 +742,7 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
734
742
  loadingBodyCss: string;
735
743
  containerCss: string;
736
744
  fitToContainer: boolean;
737
- titleView: "cover" | "title";
745
+ headerView: "advanced" | "basic";
738
746
  private getNavigationCss;
739
747
  private lazyRenderingValue;
740
748
  showBrandInfo: boolean;
@@ -1588,7 +1596,7 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
1588
1596
  readonly completedState: string;
1589
1597
  readonly completedStateText: string;
1590
1598
  protected setCompletedState(value: string, text: string): void;
1591
- notify(message: string, type: string): void;
1599
+ notify(message: string, type: string, showActions?: boolean): void;
1592
1600
  /**
1593
1601
  * Resets the survey [`state`](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#state) and, optionally, [`data`](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#data). If `state` is `"completed"`, it becomes `"running"`.
1594
1602
  * @param clearData *(Optional)* Specifies whether to clear survey data. Default value: `true`.
@@ -2589,6 +2597,13 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
2589
2597
  removeLayoutElement(layoutElementId: string): ISurveyLayoutElement;
2590
2598
  getContainerContent(container: LayoutElementContainer): any[];
2591
2599
  processPopupVisiblityChanged(question: Question, popup: PopupModel<any>, visible: boolean): void;
2600
+ /**
2601
+ * Applies a specified theme to the survey.
2602
+ *
2603
+ * [Themes & Styles](/form-library/documentation/manage-default-themes-and-styles (linkStyle))
2604
+ * @param theme An [`ITheme`](/form-library/documentation/api-reference/itheme) object with theme settings.
2605
+ * @see onThemeApplied
2606
+ */
2592
2607
  applyTheme(theme: ITheme): void;
2593
2608
  /**
2594
2609
  * Disposes of the survey model.
@@ -1,16 +1,68 @@
1
1
  export declare type ImageFit = "auto" | "contain" | "cover";
2
2
  export declare type ImageAttachment = "fixed" | "scroll";
3
+ /**
4
+ * A theme configuration interface.
5
+ *
6
+ * `ITheme` objects are used to apply predefined themes or create custom themes. Refer to the following help topic for more information:
7
+ *
8
+ * [Themes & Styles](https://surveyjs.io/form-library/documentation/manage-default-themes-and-styles (linkStyle))
9
+ */
3
10
  export interface ITheme {
11
+ /**
12
+ * A theme name.
13
+ */
4
14
  themeName?: string;
15
+ /**
16
+ * A color palette.
17
+ *
18
+ * Possible values:
19
+ *
20
+ * - `"light"`
21
+ * - `"dark"`
22
+ */
5
23
  colorPalette?: string;
24
+ /**
25
+ * A Boolean value that specifies whether survey questions are displayed within panels (`false`) or without them (`true`).
26
+ */
6
27
  isPanelless?: boolean;
28
+ /**
29
+ * An image to display as survey background. This property accepts a hyperlink or a data URL.
30
+ */
7
31
  backgroundImage?: string;
32
+ /**
33
+ * A string value that specifies how to resize the [background image](#backgroundImage) to fit it into its container.
34
+ *
35
+ * Possible values:
36
+ *
37
+ * - `"auto"`
38
+ * - `"contain"`
39
+ * - `"cover"`
40
+ *
41
+ * Refer to the description of the [`background-size`](https://developer.mozilla.org/en-US/docs/Web/CSS/background-size#values) CSS property values on MDN for detailed information on the possible values.
42
+ */
8
43
  backgroundImageFit?: ImageFit;
44
+ /**
45
+ * A string value that specifies whether the [background image](#backgroundImage) is fixed in its position or scrolled along with the survey.
46
+ *
47
+ * Possible values:
48
+ *
49
+ * - `"fixed"`
50
+ * - `"scroll"`
51
+ */
9
52
  backgroundImageAttachment?: ImageAttachment;
53
+ /**
54
+ * A value from 0 to 1 that specifies how transparent the [background image](#backgroundImage) should be: 0 makes the image completely transparent, and 1 makes it opaque.
55
+ */
10
56
  backgroundOpacity?: number;
11
- cover?: {
57
+ /**
58
+ * An object with survey header settings.
59
+ */
60
+ header?: {
12
61
  [index: string]: any;
13
62
  };
63
+ /**
64
+ * An object with CSS variables.
65
+ */
14
66
  cssVariables?: {
15
67
  [index: string]: string;
16
68
  };
@@ -20,21 +20,23 @@ export declare class CoverCell {
20
20
  get showLogo(): boolean;
21
21
  get showTitle(): boolean;
22
22
  get showDescription(): boolean;
23
- get textWidth(): string;
23
+ get textAreaWidth(): string;
24
24
  }
25
25
  export declare class Cover extends Base {
26
+ private _survey;
26
27
  private calcBackgroundSize;
28
+ private updateCoverClasses;
29
+ private updateContentClasses;
30
+ private updateBackgroundImageClasses;
27
31
  fromTheme(theme: ITheme): void;
28
32
  constructor();
29
33
  getType(): string;
30
- survey: SurveyModel;
31
34
  cells: CoverCell[];
32
35
  height: number;
33
- areaWidth: "survey" | "container";
34
- textWidth: number;
35
- invertText: boolean;
36
- glowText: boolean;
37
- overlap: boolean;
36
+ inheritWidthFrom: "survey" | "page";
37
+ textAreaWidth: number;
38
+ textGlowEnabled: boolean;
39
+ overlapEnabled: boolean;
38
40
  backgroundColor: string;
39
41
  backgroundImage: string;
40
42
  renderBackgroundImage: string;
@@ -58,14 +60,17 @@ export declare class Cover extends Base {
58
60
  gridColumn: number;
59
61
  gridRow: number;
60
62
  };
63
+ coverClasses: string;
64
+ contentClasses: string;
65
+ backgroundImageClasses: string;
61
66
  get renderedHeight(): string;
62
- get renderedTextWidth(): string;
63
- get coverClasses(): string;
64
- get contentClasses(): string;
65
- get backgroundImageClasses(): string;
67
+ get renderedtextAreaWidth(): string;
68
+ get survey(): SurveyModel;
69
+ set survey(newValue: SurveyModel);
66
70
  get backgroundImageStyle(): {
67
71
  opacity: number;
68
72
  backgroundImage: string;
69
73
  backgroundSize: string;
70
74
  };
75
+ protected propertyValueChanged(name: string, oldValue: any, newValue: any): void;
71
76
  }
@@ -11,6 +11,7 @@ export declare class Notifier extends Base {
11
11
  timer: any;
12
12
  private actionsVisibility;
13
13
  actionBar: ActionContainer;
14
+ showActions: boolean;
14
15
  constructor(cssClasses: {
15
16
  root: string;
16
17
  info: string;
@@ -222,8 +222,11 @@ export declare class Question extends SurveyElement<Question> implements IQuesti
222
222
  get isQuestion(): boolean;
223
223
  moveTo(container: IPanel, insertBefore?: any): boolean;
224
224
  getProgressInfo(): IProgressInfo;
225
- private resetValueIfExpression;
226
- private isRunningResetValueIf;
225
+ private setValueExpressionRunner;
226
+ private runSetValueExpression;
227
+ private triggersInfo;
228
+ private addTriggerInfo;
229
+ private runTriggerInfo;
227
230
  runTriggers(name: string, value: any): void;
228
231
  private runConditions;
229
232
  setSurveyImpl(value: ISurveyImpl, isLight?: boolean): void;
@@ -619,6 +622,7 @@ export declare class Question extends SurveyElement<Question> implements IQuesti
619
622
  *
620
623
  * An expression can also include built-in and custom functions for advanced calculations. For example, if the `defaultValue` should be today's date, set the `defaultValueExpression` to `"today()"`, and the corresponding built-in function will be executed each time the survey is loaded. Refer to the following help topic for more information: [Built-In Functions](https://surveyjs.io/form-library/documentation/design-survey-conditional-logic#built-in-functions).
621
624
  * @see defaultValue
625
+ * @see setValueExpression
622
626
  */
623
627
  get defaultValueExpression(): any;
624
628
  set defaultValueExpression(val: any);
@@ -628,9 +632,29 @@ export declare class Question extends SurveyElement<Question> implements IQuesti
628
632
  * A survey parses and runs all expressions on startup. If any values used in the expression change, the survey re-evaluates it.
629
633
  *
630
634
  * [Expressions](https://surveyjs.io/form-library/documentation/design-survey/conditional-logic#expressions (linkStyle))
635
+ * @see setValueIf
631
636
  */
632
637
  get resetValueIf(): string;
633
638
  set resetValueIf(val: string);
639
+ /**
640
+ * A Boolean expression. If it evaluates to `true`, the question value is set to a value calculated using the [`setValueExpression`](#setValueExpression).
641
+ *
642
+ * A survey parses and runs all expressions on startup. If any values used in the expression change, the survey re-evaluates it.
643
+ *
644
+ * [Expressions](https://surveyjs.io/form-library/documentation/design-survey/conditional-logic#expressions (linkStyle))
645
+ * @see resetValueIf
646
+ */
647
+ get setValueIf(): string;
648
+ set setValueIf(val: string);
649
+ /**
650
+ * An expression used to calculate the question value. Applies only when the [`setValueIf`](#setValueIf) expression evaluates to `true`.
651
+ *
652
+ * [Expressions](https://surveyjs.io/form-library/documentation/design-survey/conditional-logic#expressions (linkStyle))
653
+ * @see defaultValueExpression
654
+ * @see resetValueIf
655
+ */
656
+ get setValueExpression(): string;
657
+ set setValueExpression(val: string);
634
658
  get resizeStyle(): "none" | "both";
635
659
  /**
636
660
  * Returns the question value as an object in which the question name, title, value, and other parameters are stored as individual properties.
@@ -106,6 +106,5 @@ export declare class QuestionExpressionModel extends Question {
106
106
  set precision(val: number);
107
107
  private roundValue;
108
108
  protected getValueAsStr(val: any): string;
109
- protected convertToCorrectValue(val: any): any;
110
109
  }
111
110
  export declare function getCurrecyCodes(): Array<string>;
@@ -81,6 +81,10 @@ export declare class MatrixDropdownColumn extends Base implements ILocalizableOw
81
81
  set resetValueIf(val: string);
82
82
  get defaultValueExpression(): string;
83
83
  set defaultValueExpression(val: string);
84
+ get setValueIf(): string;
85
+ set setValueIf(val: string);
86
+ get setValueExpession(): string;
87
+ set setValueExpession(val: string);
84
88
  get isUnique(): boolean;
85
89
  set isUnique(val: boolean);
86
90
  get showInMultipleColumns(): boolean;
@@ -383,7 +383,6 @@ export declare class SurveyElement<E = any> extends SurveyElementCore implements
383
383
  get paddingRight(): string;
384
384
  set paddingRight(val: string);
385
385
  allowRootStyle: boolean;
386
- renderMinWidth: boolean;
387
386
  get rootStyle(): {
388
387
  [index: string]: any;
389
388
  };
@@ -13,6 +13,7 @@ import { QuestionMatrixDynamicModel } from "./question_matrixdynamic";
13
13
  import { QuestionPanelDynamicModel } from "./question_paneldynamic";
14
14
  import { SurveyModel } from "./survey";
15
15
  import { SurveyError } from "./survey-error";
16
+ import { ITheme } from "./themes";
16
17
  import { Trigger } from "./trigger";
17
18
  export interface QuestionEventMixin {
18
19
  /**
@@ -960,3 +961,6 @@ export interface PopupVisibleChangedEvent extends QuestionEventMixin {
960
961
  */
961
962
  visible: boolean;
962
963
  }
964
+ export interface ThemeAppliedEvent {
965
+ theme: ITheme;
966
+ }
@@ -18,7 +18,7 @@ import { IAction, Action } from "./actions/action";
18
18
  import { ActionContainer } from "./actions/container";
19
19
  import { QuestionPanelDynamicModel } from "./question_paneldynamic";
20
20
  import { Notifier } from "./notifier";
21
- import { TriggerExecutedEvent, CompletingEvent, CompleteEvent, ShowingPreviewEvent, NavigateToUrlEvent, CurrentPageChangingEvent, CurrentPageChangedEvent, ValueChangingEvent, ValueChangedEvent, VariableChangedEvent, QuestionVisibleChangedEvent, PageVisibleChangedEvent, PanelVisibleChangedEvent, QuestionCreatedEvent, QuestionAddedEvent, QuestionRemovedEvent, PanelAddedEvent, PanelRemovedEvent, PageAddedEvent, ValidateQuestionEvent, SettingQuestionErrorsEvent, ValidatePanelEvent, ErrorCustomTextEvent, ValidatedErrorsOnCurrentPageEvent, ProcessHtmlEvent, GetQuestionTitleEvent, GetTitleTagNameEvent, GetQuestionNoEvent, ProgressTextEvent, TextMarkdownEvent, TextRenderAsEvent, SendResultEvent, GetResultEvent, UploadFilesEvent, DownloadFileEvent, ClearFilesEvent, LoadChoicesFromServerEvent, ProcessTextValueEvent, UpdateQuestionCssClassesEvent, UpdatePanelCssClassesEvent, UpdatePageCssClassesEvent, UpdateChoiceItemCssEvent, AfterRenderSurveyEvent, AfterRenderHeaderEvent, AfterRenderPageEvent, AfterRenderQuestionEvent, AfterRenderQuestionInputEvent, AfterRenderPanelEvent, FocusInQuestionEvent, FocusInPanelEvent, ShowingChoiceItemEvent, ChoicesLazyLoadEvent, GetChoiceDisplayValueEvent, MatrixRowAddedEvent, MatrixBeforeRowAddedEvent, MatrixRowRemovingEvent, MatrixRowRemovedEvent, MatrixAllowRemoveRowEvent, MatrixCellCreatingEvent, MatrixCellCreatedEvent, MatrixAfterCellRenderEvent, MatrixCellValueChangedEvent, MatrixCellValueChangingEvent, MatrixCellValidateEvent, DynamicPanelModifiedEvent, DynamicPanelRemovingEvent, TimerPanelInfoTextEvent, DynamicPanelItemValueChangedEvent, DynamicPanelGetTabTitleEvent, IsAnswerCorrectEvent, DragDropAllowEvent, ScrollingElementToTopEvent, GetQuestionTitleActionsEvent, GetPanelTitleActionsEvent, GetPageTitleActionsEvent, GetPanelFooterActionsEvent, GetMatrixRowActionsEvent, ElementContentVisibilityChangedEvent, GetExpressionDisplayValueEvent, ServerValidateQuestionsEvent, MultipleTextItemAddedEvent, MatrixColumnAddedEvent, GetQuestionDisplayValueEvent, PopupVisibleChangedEvent } from "./survey-events-api";
21
+ import { TriggerExecutedEvent, CompletingEvent, CompleteEvent, ShowingPreviewEvent, NavigateToUrlEvent, CurrentPageChangingEvent, CurrentPageChangedEvent, ValueChangingEvent, ValueChangedEvent, VariableChangedEvent, QuestionVisibleChangedEvent, PageVisibleChangedEvent, PanelVisibleChangedEvent, QuestionCreatedEvent, QuestionAddedEvent, QuestionRemovedEvent, PanelAddedEvent, PanelRemovedEvent, PageAddedEvent, ValidateQuestionEvent, SettingQuestionErrorsEvent, ValidatePanelEvent, ErrorCustomTextEvent, ValidatedErrorsOnCurrentPageEvent, ProcessHtmlEvent, GetQuestionTitleEvent, GetTitleTagNameEvent, GetQuestionNoEvent, ProgressTextEvent, TextMarkdownEvent, TextRenderAsEvent, SendResultEvent, GetResultEvent, UploadFilesEvent, DownloadFileEvent, ClearFilesEvent, LoadChoicesFromServerEvent, ProcessTextValueEvent, UpdateQuestionCssClassesEvent, UpdatePanelCssClassesEvent, UpdatePageCssClassesEvent, UpdateChoiceItemCssEvent, AfterRenderSurveyEvent, AfterRenderHeaderEvent, AfterRenderPageEvent, AfterRenderQuestionEvent, AfterRenderQuestionInputEvent, AfterRenderPanelEvent, FocusInQuestionEvent, FocusInPanelEvent, ShowingChoiceItemEvent, ChoicesLazyLoadEvent, GetChoiceDisplayValueEvent, MatrixRowAddedEvent, MatrixBeforeRowAddedEvent, MatrixRowRemovingEvent, MatrixRowRemovedEvent, MatrixAllowRemoveRowEvent, MatrixCellCreatingEvent, MatrixCellCreatedEvent, MatrixAfterCellRenderEvent, MatrixCellValueChangedEvent, MatrixCellValueChangingEvent, MatrixCellValidateEvent, DynamicPanelModifiedEvent, DynamicPanelRemovingEvent, TimerPanelInfoTextEvent, DynamicPanelItemValueChangedEvent, DynamicPanelGetTabTitleEvent, IsAnswerCorrectEvent, DragDropAllowEvent, ScrollingElementToTopEvent, GetQuestionTitleActionsEvent, GetPanelTitleActionsEvent, GetPageTitleActionsEvent, GetPanelFooterActionsEvent, GetMatrixRowActionsEvent, ElementContentVisibilityChangedEvent, GetExpressionDisplayValueEvent, ServerValidateQuestionsEvent, MultipleTextItemAddedEvent, MatrixColumnAddedEvent, GetQuestionDisplayValueEvent, PopupVisibleChangedEvent, ThemeAppliedEvent } from "./survey-events-api";
22
22
  import { QuestionMatrixDropdownModelBase } from "./question_matrixdropdownbase";
23
23
  import { QuestionMatrixDynamicModel } from "./question_matrixdynamic";
24
24
  import { QuestionFileModel } from "./question_file";
@@ -61,7 +61,11 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
61
61
  private timerModelValue;
62
62
  private navigationBarValue;
63
63
  onThemeApplying: EventBase<SurveyModel>;
64
- onThemeApplied: EventBase<SurveyModel>;
64
+ /**
65
+ * An event that is raised after a [theme](/form-library/documentation/manage-default-themes-and-styles) is [applied](#applyTheme) to the survey.
66
+ * @see applyTheme
67
+ */
68
+ onThemeApplied: EventBase<SurveyModel, ThemeAppliedEvent>;
65
69
  /**
66
70
  * An event that is raised after a [trigger](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#triggers) is executed.
67
71
  *
@@ -651,10 +655,12 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
651
655
  * For information on event handler parameters, refer to descriptions within the interface.
652
656
  *
653
657
  * [View Demo](https://surveyjs.io/form-library/examples/survey-titleactions/ (linkStyle))
658
+ * @see [IAction](https://surveyjs.io/form-library/documentation/api-reference/iaction)
654
659
  */
655
660
  onGetQuestionTitleActions: EventBase<SurveyModel, GetQuestionTitleActionsEvent>;
656
661
  /**
657
662
  * An event that allows you to add, delete, or modify actions in a panel title.
663
+ * @see [IAction](https://surveyjs.io/form-library/documentation/api-reference/iaction)
658
664
  */
659
665
  onGetPanelTitleActions: EventBase<SurveyModel, GetPanelTitleActionsEvent>;
660
666
  /**
@@ -663,10 +669,12 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
663
669
  * For information on event handler parameters, refer to descriptions within the interface.
664
670
  *
665
671
  * [View Demo](https://surveyjs.io/form-library/examples/modify-titles-of-survey-elements/ (linkStyle))
672
+ * @see [IAction](https://surveyjs.io/form-library/documentation/api-reference/iaction)
666
673
  */
667
674
  onGetPageTitleActions: EventBase<SurveyModel, GetPageTitleActionsEvent>;
668
675
  /**
669
676
  * An event that allows you to add, delete, or modify actions in the footer of a [Panel](https://surveyjs.io/form-library/documentation/panelmodel).
677
+ * @see [IAction](https://surveyjs.io/form-library/documentation/api-reference/iaction)
670
678
  */
671
679
  onGetPanelFooterActions: EventBase<SurveyModel, GetPanelFooterActionsEvent>;
672
680
  /**
@@ -675,7 +683,7 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
675
683
  * For information on event handler parameters, refer to descriptions within the interface.
676
684
  *
677
685
  * [View Demo](https://surveyjs.io/form-library/examples/employee-information-form/ (linkStyle))
678
- * @see IAction
686
+ * @see [IAction](https://surveyjs.io/form-library/documentation/api-reference/iaction)
679
687
  */
680
688
  onGetMatrixRowActions: EventBase<SurveyModel, GetMatrixRowActionsEvent>;
681
689
  /**
@@ -738,7 +746,7 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
738
746
  loadingBodyCss: string;
739
747
  containerCss: string;
740
748
  fitToContainer: boolean;
741
- titleView: "cover" | "title";
749
+ headerView: "advanced" | "basic";
742
750
  private getNavigationCss;
743
751
  private lazyRenderingValue;
744
752
  showBrandInfo: boolean;
@@ -1664,7 +1672,7 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
1664
1672
  get completedState(): string;
1665
1673
  get completedStateText(): string;
1666
1674
  protected setCompletedState(value: string, text: string): void;
1667
- notify(message: string, type: string): void;
1675
+ notify(message: string, type: string, showActions?: boolean): void;
1668
1676
  /**
1669
1677
  * Resets the survey [`state`](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#state) and, optionally, [`data`](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#data). If `state` is `"completed"`, it becomes `"running"`.
1670
1678
  * @param clearData *(Optional)* Specifies whether to clear survey data. Default value: `true`.
@@ -2678,6 +2686,13 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
2678
2686
  removeLayoutElement(layoutElementId: string): ISurveyLayoutElement;
2679
2687
  getContainerContent(container: LayoutElementContainer): any[];
2680
2688
  processPopupVisiblityChanged(question: Question, popup: PopupModel<any>, visible: boolean): void;
2689
+ /**
2690
+ * Applies a specified theme to the survey.
2691
+ *
2692
+ * [Themes & Styles](/form-library/documentation/manage-default-themes-and-styles (linkStyle))
2693
+ * @param theme An [`ITheme`](/form-library/documentation/api-reference/itheme) object with theme settings.
2694
+ * @see onThemeApplied
2695
+ */
2681
2696
  applyTheme(theme: ITheme): void;
2682
2697
  /**
2683
2698
  * Disposes of the survey model.