survey-core 1.9.110 → 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 (315) hide show
  1. package/defaultV2.css +784 -675
  2. package/defaultV2.css.map +1 -1
  3. package/defaultV2.fontless.css +784 -675
  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 +310 -241
  164. package/modern.css.map +1 -1
  165. package/modern.fontless.css +310 -241
  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 +2 -1
  171. package/plugins/bootstrap-integration.js.map +1 -1
  172. package/plugins/bootstrap-integration.min.js +2 -2
  173. package/plugins/bootstrap-material-integration.js +2 -1
  174. package/plugins/bootstrap-material-integration.js.map +1 -1
  175. package/plugins/bootstrap-material-integration.min.js +2 -2
  176. package/survey.core.js +534 -233
  177. package/survey.core.js.map +1 -1
  178. package/survey.core.min.js +3 -3
  179. package/survey.css +66 -53
  180. package/survey.css.map +1 -1
  181. package/survey.i18n.js +1 -1
  182. package/survey.i18n.min.js +2 -2
  183. package/survey.min.css +2 -2
  184. package/themes/borderless-dark-panelless.js +1 -1
  185. package/themes/borderless-dark-panelless.min.js +1 -1
  186. package/themes/borderless-dark.js +1 -1
  187. package/themes/borderless-dark.min.js +1 -1
  188. package/themes/borderless-light-panelless..js +1 -1
  189. package/themes/borderless-light-panelless..min.js +1 -1
  190. package/themes/borderless-light.js +1 -1
  191. package/themes/borderless-light.min.js +1 -1
  192. package/themes/contrast-dark-panelless.js +1 -1
  193. package/themes/contrast-dark-panelless.min.js +1 -1
  194. package/themes/contrast-dark.js +1 -1
  195. package/themes/contrast-dark.min.js +1 -1
  196. package/themes/contrast-light-panelless.js +1 -1
  197. package/themes/contrast-light-panelless.min.js +1 -1
  198. package/themes/contrast-light.js +1 -1
  199. package/themes/contrast-light.min.js +1 -1
  200. package/themes/default-dark-panelless.js +1 -1
  201. package/themes/default-dark-panelless.min.js +1 -1
  202. package/themes/default-dark.js +1 -1
  203. package/themes/default-dark.min.js +1 -1
  204. package/themes/default-light-panelless.js +1 -1
  205. package/themes/default-light-panelless.min.js +1 -1
  206. package/themes/default-light.js +1 -1
  207. package/themes/default-light.min.js +1 -1
  208. package/themes/doubleborder-dark-panelless.js +1 -1
  209. package/themes/doubleborder-dark-panelless.min.js +1 -1
  210. package/themes/doubleborder-dark.js +1 -1
  211. package/themes/doubleborder-dark.min.js +1 -1
  212. package/themes/doubleborder-light-panelles.js +1 -1
  213. package/themes/doubleborder-light-panelles.min.js +1 -1
  214. package/themes/doubleborder-light.js +1 -1
  215. package/themes/doubleborder-light.min.js +1 -1
  216. package/themes/flat-dark-panelless.js +1 -1
  217. package/themes/flat-dark-panelless.min.js +1 -1
  218. package/themes/flat-dark.js +1 -1
  219. package/themes/flat-dark.min.js +1 -1
  220. package/themes/flat-light-panelless.js +1 -1
  221. package/themes/flat-light-panelless.min.js +1 -1
  222. package/themes/flat-light.js +1 -1
  223. package/themes/flat-light.min.js +1 -1
  224. package/themes/index.js +1 -1
  225. package/themes/index.min.js +1 -1
  226. package/themes/layered-dark-panelless.js +1 -1
  227. package/themes/layered-dark-panelless.min.js +1 -1
  228. package/themes/layered-dark.js +1 -1
  229. package/themes/layered-dark.min.js +1 -1
  230. package/themes/layered-light-panelless.js +1 -1
  231. package/themes/layered-light-panelless.min.js +1 -1
  232. package/themes/layered-light.js +1 -1
  233. package/themes/layered-light.min.js +1 -1
  234. package/themes/plain-dark-panelless.js +1 -1
  235. package/themes/plain-dark-panelless.min.js +1 -1
  236. package/themes/plain-dark.js +1 -1
  237. package/themes/plain-dark.min.js +1 -1
  238. package/themes/plain-light-panelless.js +1 -1
  239. package/themes/plain-light-panelless.min.js +1 -1
  240. package/themes/plain-light.js +1 -1
  241. package/themes/plain-light.min.js +1 -1
  242. package/themes/sharp-dark-panelless.js +1 -1
  243. package/themes/sharp-dark-panelless.min.js +1 -1
  244. package/themes/sharp-dark.js +1 -1
  245. package/themes/sharp-dark.min.js +1 -1
  246. package/themes/sharp-light-panelless.js +1 -1
  247. package/themes/sharp-light-panelless.min.js +1 -1
  248. package/themes/sharp-light.js +1 -1
  249. package/themes/sharp-light.min.js +1 -1
  250. package/themes/solid-dark-panelless.js +1 -1
  251. package/themes/solid-dark-panelless.min.js +1 -1
  252. package/themes/solid-dark.js +1 -1
  253. package/themes/solid-dark.min.js +1 -1
  254. package/themes/solid-light-panelless.js +1 -1
  255. package/themes/solid-light-panelless.min.js +1 -1
  256. package/themes/solid-light.js +1 -1
  257. package/themes/solid-light.min.js +1 -1
  258. package/themes/three-dimensional-dark-panelless.js +1 -1
  259. package/themes/three-dimensional-dark-panelless.min.js +1 -1
  260. package/themes/three-dimensional-dark.js +1 -1
  261. package/themes/three-dimensional-dark.min.js +1 -1
  262. package/themes/three-dimensional-light-panelless.js +1 -1
  263. package/themes/three-dimensional-light-panelless.min.js +1 -1
  264. package/themes/three-dimensional-light.js +1 -1
  265. package/themes/three-dimensional-light.min.js +1 -1
  266. package/ts3.4/typings/base.d.ts +2 -2
  267. package/ts3.4/typings/cover.d.ts +17 -11
  268. package/ts3.4/typings/defaultCss/defaultV2Css.d.ts +2 -0
  269. package/ts3.4/typings/dropdownListModel.d.ts +1 -0
  270. package/ts3.4/typings/localization/english.d.ts +2 -0
  271. package/ts3.4/typings/notifier.d.ts +1 -0
  272. package/ts3.4/typings/panel.d.ts +2 -2
  273. package/ts3.4/typings/popup.d.ts +1 -0
  274. package/ts3.4/typings/question.d.ts +46 -22
  275. package/ts3.4/typings/question_custom.d.ts +7 -7
  276. package/ts3.4/typings/question_expression.d.ts +0 -1
  277. package/ts3.4/typings/question_file.d.ts +2 -1
  278. package/ts3.4/typings/question_html.d.ts +1 -0
  279. package/ts3.4/typings/question_matrixdropdowncolumn.d.ts +2 -0
  280. package/ts3.4/typings/question_matrixdynamic.d.ts +2 -2
  281. package/ts3.4/typings/question_paneldynamic.d.ts +10 -6
  282. package/ts3.4/typings/settings.d.ts +44 -33
  283. package/ts3.4/typings/survey-element.d.ts +0 -1
  284. package/ts3.4/typings/survey-events-api.d.ts +4 -0
  285. package/ts3.4/typings/survey.d.ts +37 -20
  286. package/ts3.4/typings/surveyStrings.d.ts +2 -0
  287. package/ts3.4/typings/surveyToc.d.ts +2 -1
  288. package/ts3.4/typings/themes.d.ts +53 -1
  289. package/ts3.4/typings/trigger.d.ts +4 -0
  290. package/ts3.4/typings/utils/utils.d.ts +1 -0
  291. package/typings/base.d.ts +2 -2
  292. package/typings/cover.d.ts +18 -11
  293. package/typings/defaultCss/defaultV2Css.d.ts +2 -0
  294. package/typings/dropdownListModel.d.ts +1 -0
  295. package/typings/localization/english.d.ts +2 -0
  296. package/typings/notifier.d.ts +1 -0
  297. package/typings/panel.d.ts +2 -2
  298. package/typings/popup.d.ts +1 -0
  299. package/typings/question.d.ts +48 -22
  300. package/typings/question_custom.d.ts +7 -7
  301. package/typings/question_expression.d.ts +0 -1
  302. package/typings/question_file.d.ts +2 -1
  303. package/typings/question_html.d.ts +1 -0
  304. package/typings/question_matrixdropdowncolumn.d.ts +4 -0
  305. package/typings/question_matrixdynamic.d.ts +2 -2
  306. package/typings/question_paneldynamic.d.ts +10 -6
  307. package/typings/settings.d.ts +44 -33
  308. package/typings/survey-element.d.ts +0 -1
  309. package/typings/survey-events-api.d.ts +4 -0
  310. package/typings/survey.d.ts +37 -20
  311. package/typings/surveyStrings.d.ts +2 -0
  312. package/typings/surveyToc.d.ts +2 -1
  313. package/typings/themes.d.ts +53 -1
  314. package/typings/trigger.d.ts +4 -0
  315. package/typings/utils/utils.d.ts +1 -0
@@ -20,7 +20,7 @@ export declare class QuestionFileModel extends Question {
20
20
  *
21
21
  * - `sender`: `SurveyModel`\
22
22
  * A survey instance that raised the event.
23
- * - `options.state`: `String`\
23
+ * - `options.state`: `string`\
24
24
  * The current upload state: `"empty"`, `"loading"`, `"loaded"`, or `"error"`.
25
25
  */
26
26
  onUploadStateChanged: EventBase<QuestionFileModel>;
@@ -171,6 +171,7 @@ export declare class QuestionFileModel extends Question {
171
171
  get showFileDecorator(): boolean;
172
172
  get showLoadingIndicator(): boolean;
173
173
  get allowShowPreview(): boolean;
174
+ get showPreviewContainer(): boolean;
174
175
  get showRemoveButtonCore(): boolean;
175
176
  get showRemoveButton(): boolean;
176
177
  get showRemoveButtonBottom(): boolean;
@@ -21,4 +21,5 @@ export declare class QuestionHtmlModel extends QuestionNonValue {
21
21
  get locHtml(): LocalizableString;
22
22
  get processedHtml(): string;
23
23
  private processHtml;
24
+ get isNewA11yStructure(): boolean;
24
25
  }
@@ -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;
@@ -165,7 +165,7 @@ export declare class QuestionMatrixDynamicModel extends QuestionMatrixDropdownMo
165
165
  private getQuestionToFocusOnAddingRow;
166
166
  /**
167
167
  * Creates and adds a new row to the matrix.
168
- * @param setFocus *Optional.* Pass `true` to focus the cell in the first column.
168
+ * @param setFocus *(Optional)* Pass `true` to focus the cell in the first column.
169
169
  */
170
170
  addRow(setFocus?: boolean): void;
171
171
  /**
@@ -184,7 +184,7 @@ export declare class QuestionMatrixDynamicModel extends QuestionMatrixDropdownMo
184
184
  /**
185
185
  * Removes a matrix row with a specified index.
186
186
  * @param index A zero-based row index.
187
- * @param confirmDelete *Optional.* A Boolean value that specifies whether to display a confirmation dialog. If you do not specify this parameter, the [`confirmDelete`](https://surveyjs.io/form-library/documentation/api-reference/dynamic-matrix-table-question-model#confirmDelete) property value is used.
187
+ * @param confirmDelete *(Optional)* A Boolean value that specifies whether to display a confirmation dialog. If you do not specify this parameter, the [`confirmDelete`](https://surveyjs.io/form-library/documentation/api-reference/dynamic-matrix-table-question-model#confirmDelete) property value is used.
188
188
  */
189
189
  removeRow(index: number, confirmDelete?: boolean): void;
190
190
  private removeRowAsync;
@@ -98,8 +98,8 @@ export declare class QuestionPanelDynamicModel extends Question implements IQues
98
98
  *
99
99
  * The template can contain the following placeholders:
100
100
  *
101
- * - `{panelIndex}` - A zero-based index of a panel in the [`panels`](https://surveyjs.io/form-library/documentation/api-reference/dynamic-panel-model#panels) array.
102
- * - `{visiblePanelIndex}` - A zero-based index of a panel in the [`visiblePanels`](https://surveyjs.io/form-library/documentation/api-reference/dynamic-panel-model#visiblePanels) array.
101
+ * - `{panelIndex}` - A panel index within the collection of all panels. Starts with 1.
102
+ * - `{visiblePanelIndex}` - A panel index within the collection of visible panels. Starts with 1.
103
103
  * @see template
104
104
  * @see templateDescription
105
105
  * @see templateElements
@@ -114,8 +114,12 @@ export declare class QuestionPanelDynamicModel extends Question implements IQues
114
114
  *
115
115
  * The template can contain the following placeholders:
116
116
  *
117
- * - `{panelIndex}` - A zero-based index of a panel in the [`panels`](https://surveyjs.io/form-library/documentation/api-reference/dynamic-panel-model#panels) array.
118
- * - `{visiblePanelIndex}` - A zero-based index of a panel in the [`visiblePanels`](https://surveyjs.io/form-library/documentation/api-reference/dynamic-panel-model#visiblePanels) array.
117
+ * - `{panelIndex}` - A panel index within the collection of all panels. Starts with 1.
118
+ * - `{visiblePanelIndex}` - A panel index within the collection of visible panels. Starts with 1.
119
+ *
120
+ * If you want to customize individual tab titles, handle `SurveyModel`'s [`onGetDynamicPanelTabTitle`](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#onGetDynamicPanelTabTitle) event.
121
+ *
122
+ * [View Demo](/form-library/examples/tabbed-interface-for-duplicate-group-option/ (linkStyle))
119
123
  * @see templateTitle
120
124
  * @see renderMode
121
125
  */
@@ -399,11 +403,11 @@ export declare class QuestionPanelDynamicModel extends Question implements IQues
399
403
  *
400
404
  * Possible values:
401
405
  *
402
- * - `"list"` - Renders panels one under the other. [View Demo](https://surveyjs.io/form-library/examples/how-to-use-expressions-in-dynamic-panel/)
406
+ * - `"list"` (default) - Renders panels one under the other. [View Demo](https://surveyjs.io/form-library/examples/how-to-use-expressions-in-dynamic-panel/)
403
407
  * - `"progressTop"` - Renders each panel as a card and displays a progress bar at the top. [View Demo](https://surveyjs.io/form-library/examples/questiontype-paneldynamic/)
404
408
  * - `"progressBottom"` - Renders each panel panel as a card and displays a progress bar at the bottom.
405
409
  * - `"progressTopBottom"` - Renders each panel as a card and displays a progress bar at the top and bottom.
406
- * - `"tab"` - Renders each panel within a tab. Use the [`templateTabTitle`](https://surveyjs.io/form-library/documentation/api-reference/dynamic-panel-model#templateTabTitle) to specify a template for tab titles.
410
+ * - `"tab"` - Renders each panel within a tab. Use the [`templateTabTitle`](https://surveyjs.io/form-library/documentation/api-reference/dynamic-panel-model#templateTabTitle) to specify a template for tab titles. [View Demo](/form-library/examples/tabbed-interface-for-duplicate-group-option/)
407
411
  */
408
412
  get renderMode(): string;
409
413
  set renderMode(val: string);
@@ -21,10 +21,10 @@ export declare var settings: {
21
21
  *
22
22
  * Nested properties:
23
23
  *
24
- * - `showEmptyDescriptions`: `Boolean`\
24
+ * - `showEmptyDescriptions`: `boolean`\
25
25
  * Specifies whether to display an empty description for pages and panels. Default value: `true`.
26
26
  *
27
- * - `showEmptyTitles`: `Boolean`\
27
+ * - `showEmptyTitles`: `boolean`\
28
28
  * Specifies whether to display an empty title for pages and panels. Default value: `true`.
29
29
  */
30
30
  designMode: {
@@ -44,13 +44,13 @@ export declare var settings: {
44
44
  *
45
45
  * Nested properties:
46
46
  *
47
- * - `useLocalTimeZone`: `Boolean`\
47
+ * - `useLocalTimeZone`: `boolean`\
48
48
  * Disable this property if you want internal SurveyJS functions to use methods that work with UTC date and time (`setUTCDate()` `setUTCHours()`, etc.) instead of methods that work with local date and time (`setYear`, `setHours()`, etc.). Default value: `true`.
49
49
  *
50
- * - `defaultLocaleName`: `String`\
50
+ * - `defaultLocaleName`: `string`\
51
51
  * A property key that stores a translation for the default locale. Default value: `"default"`.
52
52
  *
53
- * - `storeDuplicatedTranslations`: `Boolean`\
53
+ * - `storeDuplicatedTranslations`: `boolean`\
54
54
  * Specifies whether surveys should store translation strings that equal the translation strings in the default locale. Default value: `false`.
55
55
  */
56
56
  localization: {
@@ -75,16 +75,16 @@ export declare var settings: {
75
75
  *
76
76
  * Nested properties:
77
77
  *
78
- * - `encodeUrlParams`: `Boolean`\
78
+ * - `encodeUrlParams`: `boolean`\
79
79
  * Specifies whether to encode URL parameters when you access a web service. Default value: `true`.
80
80
  *
81
- * - `cacheLoadedChoices`: `Boolean`\
81
+ * - `cacheLoadedChoices`: `boolean`\
82
82
  * Specifies whether to cache [choices](https://surveyjs.io/form-library/documentation/api-reference/checkbox-question-model#choicesByUrl) loaded from a web service. Default value: `true`.
83
83
  *
84
- * - `disableQuestionWhileLoadingChoices`: `Boolean`\
84
+ * - `disableQuestionWhileLoadingChoices`: `boolean`\
85
85
  * Disables a question while its choices are being loaded from a web service. Default value: `false`.
86
86
  *
87
- * - `surveyServiceUrl`: `String`\
87
+ * - `surveyServiceUrl`: `string`\
88
88
  * The URL of the SurveyJS Service API endpoint.
89
89
  */
90
90
  web: {
@@ -115,14 +115,14 @@ export declare var settings: {
115
115
  *
116
116
  * Nested properties:
117
117
  *
118
- * - `changeNavigationButtonsOnComplete`: `Boolean`\
118
+ * - `changeNavigationButtonsOnComplete`: `boolean`\
119
119
  * Specifies whether to re-evaluate an expression associated with the [Complete trigger](https://surveyjs.io/form-library/documentation/design-survey/conditional-logic#complete) immediately when a question value changes. If the expression evaluates to `true`, the trigger is executed. Default value: `false`.\
120
120
  * Keep this property set to `false` if you want to re-evaluate the Complete trigger's expression only when the respondents navigate to another page.
121
121
  *
122
- * - `executeCompleteOnValueChanged`: `Boolean`\
122
+ * - `executeCompleteOnValueChanged`: `boolean`\
123
123
  * Specifies whether to replace the Next button with the Complete button when the [Complete trigger](https://surveyjs.io/form-library/documentation/design-survey/conditional-logic#complete) is going to be executed. Default value: `true`.
124
124
  *
125
- * - `executeSkipOnValueChanged`: `Boolean`\
125
+ * - `executeSkipOnValueChanged`: `boolean`\
126
126
  * Specifies whether to re-evaluate an expression associated with the [Skip trigger](https://surveyjs.io/form-library/documentation/design-survey/conditional-logic#skip) immediately when a question value changes. If the expression evaluates to `true`, the trigger is executed. Default value: `true`.\
127
127
  * Disable this property if you want to re-evaluate the Skip trigger's expression only when respondents navigate to another page.
128
128
  */
@@ -148,13 +148,13 @@ export declare var settings: {
148
148
  *
149
149
  * Nested properties:
150
150
  *
151
- * - `itemValueSerializeAsObject`: `Boolean`\
151
+ * - `itemValueSerializeAsObject`: `boolean`\
152
152
  * Enable this property if you want to serialize [`ItemValue`](https://surveyjs.io/form-library/documentation/api-reference/itemvalue) instances as objects even when they include only the `value` property. Default value: `false`. View an example below.
153
153
  *
154
- * - `itemValueSerializeDisplayText`: `Boolean`\
154
+ * - `itemValueSerializeDisplayText`: `boolean`\
155
155
  * Enable this property if you want to serialize the `text` property of [`ItemValue`](https://surveyjs.io/form-library/documentation/api-reference/itemvalue) objects even when it is empty or equal to the `value` property. Default value: `false`. View an example below.
156
156
  *
157
- * - `localizableStringSerializeAsObject`: `Boolean`\
157
+ * - `localizableStringSerializeAsObject`: `boolean`\
158
158
  * Enable this property if you want to serialize [`LocalizableString`](https://surveyjs.io/form-library/documentation/api-reference/localizablestring) instances as objects even when they include only a translation string for the default locale. For example, `"Custom String"` will be serialized as `{ default: "Custom String" }`. Default value: `false`.
159
159
  *
160
160
  * ```js
@@ -193,7 +193,7 @@ export declare var settings: {
193
193
  *
194
194
  * Nested properties:
195
195
  *
196
- * - `enabled`: `Boolean`\
196
+ * - `enabled`: `boolean`\
197
197
  * Specifies whether to add questions to the DOM only when they get into the viewport. Default value: `false`.
198
198
  *
199
199
  * > Lazy rendering is an experimental feature that may not work as expected in all use cases.
@@ -212,28 +212,28 @@ export declare var settings: {
212
212
  *
213
213
  * Nested properties:
214
214
  *
215
- * - `defaultRowName`: `String`\
215
+ * - `defaultRowName`: `string`\
216
216
  * A property key that stores an object with default cell values. Default value: "default".
217
217
  *
218
- * - `defaultCellType`: `String`\
218
+ * - `defaultCellType`: `string`\
219
219
  * The default type of matrix cells. Default value: `"dropdown"`.\
220
220
  * You can specify this setting for individual questions or matrix columns: [`cellType`](https://surveyjs.io/form-library/documentation/api-reference/dynamic-matrix-table-question-model#cellType). Refer to the `cellType` property description for information on possible values.
221
221
  *
222
- * - `totalsSuffix`: `String`\
222
+ * - `totalsSuffix`: `string`\
223
223
  * A suffix added to the name of the property that stores total values. The resulting property name consists of the matrix name and the suffix. Default value: `"-total"`.
224
224
  *
225
- * - `maxRowCount`: `Number`\
225
+ * - `maxRowCount`: `number`\
226
226
  * A maximum number of rows in a Dynamic Matrix. Default value: 1000.\
227
227
  * You can specify this setting for an individual Dynamic Matrix: [`maxRowCount`](https://surveyjs.io/form-library/documentation/api-reference/dynamic-matrix-table-question-model#maxRowCount).
228
228
  *
229
- * - `maxRowCountInCondition`: `Number`\
229
+ * - `maxRowCountInCondition`: `number`\
230
230
  * A maximum number of matrix rows included in the Condition drop-down menu in Survey Creator. This menu is used to configure conditional survey logic. Default value: 1.\
231
231
  * If you set this property to 0, the Condition menu does not include any matrix rows. Users still can specify conditions that use matrix rows but only with Manual Entry.
232
232
  *
233
- * - `renderRemoveAsIcon`: `Boolean`\
233
+ * - `renderRemoveAsIcon`: `boolean`\
234
234
  * Disable this property if you want to render the Remove action in Dynamic Matrix as a button. Otherwise, the action is rendered as an icon. Default value: `true`.
235
235
  *
236
- * - `columnWidthsByType`: `Object`\
236
+ * - `columnWidthsByType`: `object`\
237
237
  * An object that specifies fixed and minimum column width based on the column type.\
238
238
  * Example: `settings.matrix.columnWidthsByType = { "tagbox": { minWidth: "240px", width: "300px" } }`
239
239
  *
@@ -284,11 +284,11 @@ export declare var settings: {
284
284
  *
285
285
  * Nested properties:
286
286
  *
287
- * - `maxPanelCount`: `Number`\
287
+ * - `maxPanelCount`: `number`\
288
288
  * A maximum number of panels in Dynamic Panel. Default value: 100.\
289
289
  * You can specify this setting for an individual Dynamic Panel: [`maxPanelCount`](https://surveyjs.io/form-library/documentation/api-reference/dynamic-panel-model#maxPanelCount).
290
290
  *
291
- * - `maxPanelCountInCondition`: `Number`\
291
+ * - `maxPanelCountInCondition`: `number`\
292
292
  * A maximum number of Dynamic Panel panels included in the Condition drop-down menu in Survey Creator. This menu is used to configure conditional survey logic. Default value: 1.\
293
293
  * If you set this property to 0, the Condition menu does not include any panel questions. Users still can specify conditions that use panel questions but only with Manual Entry.
294
294
  */
@@ -333,10 +333,10 @@ export declare var settings: {
333
333
  *
334
334
  * Nested properties:
335
335
  *
336
- * - `includeQuestionsWithHiddenNumber`: `Boolean`\
336
+ * - `includeQuestionsWithHiddenNumber`: `boolean`\
337
337
  * Specifies whether to number questions whose [`hideNumber`](https://surveyjs.io/form-library/documentation/api-reference/question#hideNumber) property is enabled. Default value: `false`.
338
338
  *
339
- * - `includeQuestionsWithHiddenTitle`: `Boolean`\
339
+ * - `includeQuestionsWithHiddenTitle`: `boolean`\
340
340
  * Specifies whether to number questions whose [`titleLocation`](https://surveyjs.io/form-library/documentation/api-reference/question#titleLocation) property is set to `"hidden"`. Default value: `false`.
341
341
  */
342
342
  numbering: {
@@ -366,10 +366,10 @@ export declare var settings: {
366
366
  *
367
367
  * Nested properties:
368
368
  *
369
- * - `trimStrings`: `Boolean`\
369
+ * - `trimStrings`: `boolean`\
370
370
  * Specifies whether to remove whitespace from both ends of a string before the comparison. Default value: `true`.
371
371
  *
372
- * - `caseSensitive`: `Boolean`\
372
+ * - `caseSensitive`: `boolean`\
373
373
  * Specifies whether to differentiate between capital and lower-case letters. Default value: `false`.
374
374
  */
375
375
  comparator: {
@@ -406,16 +406,27 @@ export declare var settings: {
406
406
  */
407
407
  tagboxCloseOnSelect: boolean;
408
408
  /**
409
- * A property that allows you to display a custom confirm dialog instead of the standard browser dialog.
409
+ * A property that allows you to display a custom confirm dialog.
410
410
  *
411
411
  * Set this property to a function that renders your custom dialog window. This function should return `true` if a user confirms an action or `false` otherwise.
412
412
  * @param message A message to be displayed in the confirm dialog window.
413
413
  */
414
414
  confirmActionFunc: (message: string) => boolean;
415
415
  /**
416
- * A property that allows you to display a custom confirm dialog instead of the standard browser dialog in async mode.
416
+ * A property that allows you to display a custom confirm dialog in async mode or activate the standard browser dialog.
417
417
  *
418
- * Set this property to a function that renders your custom dialog window. This function should return `true` to be enabled; otherwise, a survey executes the [`confirmActionFunc`](#confirmActionFunc) function. Pass the dialog result as the `callback` parameter: `true` if a user confirms an action, `false` otherwise.
418
+ * To display a custom confirm dialog, set this property to a function that renders it. This function should return `true` to be enabled; otherwise, a survey executes the [`confirmActionFunc`](#confirmActionFunc) function. Pass the dialog result as the `callback` parameter: `true` if a user confirms an action, `false` otherwise.
419
+ *
420
+ * To activate the standard browser dialog, set the `confirmActionAsync` property to a function that returns `false`. With this configuration, a survey falls back to the [`confirmActionFunc`](#confirmActionFunc) function, which renders the standard browser dialog by default.
421
+ *
422
+ * ```js
423
+ * import { settings } from "survey-core";
424
+ *
425
+ * // Display the standard browser dialog
426
+ * settings.confirmActionAsync = () => {
427
+ * return false;
428
+ * }
429
+ * ```
419
430
  * @param message A message to be displayed in the confirm dialog window.
420
431
  * @param callback A callback function that should be called with `true` if a user confirms an action or `false` otherwise.
421
432
  */
@@ -447,7 +458,7 @@ export declare var settings: {
447
458
  *
448
459
  * Nested properties:
449
460
  *
450
- * - `lifetime`: `Number`\
461
+ * - `lifetime`: `number`\
451
462
  * Specifies a time period during which a notification is displayed; measured in milliseconds.
452
463
  */
453
464
  notifications: {
@@ -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
  *
@@ -625,6 +629,10 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
625
629
  onDynamicPanelItemValueChanged: EventBase<SurveyModel, DynamicPanelItemValueChangedEvent>;
626
630
  /**
627
631
  * An event that is raised before a [Dynamic Panel](https://surveyjs.io/form-library/examples/questiontype-paneldynamic/) renders [tab titles](https://surveyjs.io/form-library/documentation/api-reference/dynamic-panel-model#templateTabTitle). Use this event to change individual tab titles.
632
+ *
633
+ * For information on event handler parameters, refer to descriptions within the interface.
634
+ *
635
+ * [View Demo](/form-library/examples/tabbed-interface-for-duplicate-group-option/ (linkStyle))
628
636
  */
629
637
  onGetDynamicPanelTabTitle: EventBase<SurveyModel, DynamicPanelGetTabTitleEvent>;
630
638
  /**
@@ -647,10 +655,12 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
647
655
  * For information on event handler parameters, refer to descriptions within the interface.
648
656
  *
649
657
  * [View Demo](https://surveyjs.io/form-library/examples/survey-titleactions/ (linkStyle))
658
+ * @see [IAction](https://surveyjs.io/form-library/documentation/api-reference/iaction)
650
659
  */
651
660
  onGetQuestionTitleActions: EventBase<SurveyModel, GetQuestionTitleActionsEvent>;
652
661
  /**
653
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)
654
664
  */
655
665
  onGetPanelTitleActions: EventBase<SurveyModel, GetPanelTitleActionsEvent>;
656
666
  /**
@@ -659,10 +669,12 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
659
669
  * For information on event handler parameters, refer to descriptions within the interface.
660
670
  *
661
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)
662
673
  */
663
674
  onGetPageTitleActions: EventBase<SurveyModel, GetPageTitleActionsEvent>;
664
675
  /**
665
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)
666
678
  */
667
679
  onGetPanelFooterActions: EventBase<SurveyModel, GetPanelFooterActionsEvent>;
668
680
  /**
@@ -671,7 +683,7 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
671
683
  * For information on event handler parameters, refer to descriptions within the interface.
672
684
  *
673
685
  * [View Demo](https://surveyjs.io/form-library/examples/employee-information-form/ (linkStyle))
674
- * @see IAction
686
+ * @see [IAction](https://surveyjs.io/form-library/documentation/api-reference/iaction)
675
687
  */
676
688
  onGetMatrixRowActions: EventBase<SurveyModel, GetMatrixRowActionsEvent>;
677
689
  /**
@@ -734,7 +746,7 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
734
746
  loadingBodyCss: string;
735
747
  containerCss: string;
736
748
  fitToContainer: boolean;
737
- titleView: "cover" | "title";
749
+ headerView: "advanced" | "basic";
738
750
  private getNavigationCss;
739
751
  private lazyRenderingValue;
740
752
  showBrandInfo: boolean;
@@ -1221,12 +1233,10 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
1221
1233
  */
1222
1234
  get backgroundOpacity(): number;
1223
1235
  set backgroundOpacity(val: number);
1224
- get backgroundImageStyle(): {
1225
- opacity: number;
1226
- backgroundImage: string;
1227
- backgroundSize: ImageFit;
1228
- backgroundAttachment: ImageAttachment;
1229
- };
1236
+ backgroundImageStyle: any;
1237
+ updateBackgroundImageStyle(): void;
1238
+ wrapperFormCss: string;
1239
+ updateWrapperFormCss(): void;
1230
1240
  /**
1231
1241
  * HTML content displayed on the [complete page](https://surveyjs.io/form-library/documentation/design-survey/create-a-multi-page-survey#complete-page).
1232
1242
  *
@@ -1662,11 +1672,11 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
1662
1672
  get completedState(): string;
1663
1673
  get completedStateText(): string;
1664
1674
  protected setCompletedState(value: string, text: string): void;
1665
- notify(message: string, type: string): void;
1675
+ notify(message: string, type: string, showActions?: boolean): void;
1666
1676
  /**
1667
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"`.
1668
- * @param clearData *Optional.* Specifies whether to clear survey data. Default value: `true`.
1669
- * @param goToFirstPage *Optional.* Specifies whether to switch the survey to the first page. Default value: `true`.
1678
+ * @param clearData *(Optional)* Specifies whether to clear survey data. Default value: `true`.
1679
+ * @param goToFirstPage *(Optional)* Specifies whether to switch the survey to the first page. Default value: `true`.
1670
1680
  */
1671
1681
  clear(clearData?: boolean, goToFirstPage?: boolean): void;
1672
1682
  mergeValues(src: any, dest: any): void;
@@ -1762,7 +1772,7 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
1762
1772
  * Validates all questions on the current page and returns `false` if the validation fails.
1763
1773
  *
1764
1774
  * If you use validation expressions and at least one of them calls an async function, the `validateCurrentPage` method returns `undefined`. In this case, you should pass a callback function as the `onAsyncValidation` parameter. The function's `hasErrors` Boolean parameter will contain the validation result.
1765
- * @param onAsyncValidation *Optional.* Pass a callback function. It accepts a Boolean `hasErrors` parameter that equals `true` if the validation fails or `false` otherwise.
1775
+ * @param onAsyncValidation *(Optional)* Pass a callback function. It accepts a Boolean `hasErrors` parameter that equals `true` if the validation fails or `false` otherwise.
1766
1776
  * @see currentPage
1767
1777
  * @see validate
1768
1778
  * @see validateCurrentPage
@@ -1774,7 +1784,7 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
1774
1784
  *
1775
1785
  * If you use validation expressions and at least one of them calls an async function, the `validatePage` method returns `undefined`. In this case, you should pass a callback function as the `onAsyncValidation` parameter. The function's `hasErrors` Boolean parameter will contain the validation result.
1776
1786
  * @param page Pass the `PageModel` that you want to validate. You can pass `undefined` to validate the [`activePage`](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#activePage).
1777
- * @param onAsyncValidation *Optional.* Pass a callback function. It accepts a Boolean `hasErrors` parameter that equals `true` if the validation fails or `false` otherwise.
1787
+ * @param onAsyncValidation *(Optional)* Pass a callback function. It accepts a Boolean `hasErrors` parameter that equals `true` if the validation fails or `false` otherwise.
1778
1788
  * @see validate
1779
1789
  * @see validateCurrentPage
1780
1790
  */
@@ -1784,9 +1794,9 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
1784
1794
  * Validates all questions and returns `false` if the validation fails.
1785
1795
  *
1786
1796
  * If you use validation expressions and at least one of them calls an async function, the `validate` method returns `undefined`. In this case, you should pass a callback function as the `onAsyncValidation` parameter. The function's `hasErrors` Boolean parameter will contain the validation result.
1787
- * @param fireCallback *Optional.* Pass `false` if you do not want to show validation errors in the UI.
1788
- * @param focusOnFirstError *Optional.* Pass `true` if you want to focus the first question with a validation error. The survey will be switched to the page that contains this question if required.
1789
- * @param onAsyncValidation *Optional.* Pass a callback function. It accepts a Boolean `hasErrors` parameter that equals `true` if the validation fails or `false` otherwise.
1797
+ * @param fireCallback *(Optional)* Pass `false` if you do not want to show validation errors in the UI.
1798
+ * @param focusOnFirstError *(Optional)* Pass `true` if you want to focus the first question with a validation error. The survey will be switched to the page that contains this question if required.
1799
+ * @param onAsyncValidation *(Optional)* Pass a callback function. It accepts a Boolean `hasErrors` parameter that equals `true` if the validation fails or `false` otherwise.
1790
1800
  * @see validateCurrentPage
1791
1801
  * @see validatePage
1792
1802
  */
@@ -2656,13 +2666,13 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
2656
2666
  *
2657
2667
  * This method accepts an object with the following layout element properties:
2658
2668
  *
2659
- * - `id`: `String` | `"timerpanel"` | `"progress-buttons"` | `"progress-questions"` | `"progress-pages"` | `"progress-correctquestions"` | `"progress-requiredquestions"` | `"toc-navigation"` | `"navigationbuttons"`\
2669
+ * - `id`: `string` | `"timerpanel"` | `"progress-buttons"` | `"progress-questions"` | `"progress-pages"` | `"progress-correctquestions"` | `"progress-requiredquestions"` | `"toc-navigation"` | `"navigationbuttons"`\
2660
2670
  * A layout element identifier. You can use possible values to access and relocate or customize predefined layout elements.
2661
2671
  *
2662
2672
  * - `container`: `"header"` | `"footer"` | `"left"` | `"right"` | `"contentTop"` | `"contentBottom"`\
2663
2673
  * A layout container that holds the element. If you want to display the element within multiple containers, set this property to an array of possible values.
2664
2674
  *
2665
- * - `component`: `String`\
2675
+ * - `component`: `string`\
2666
2676
  * The name of the component that renders the layout element.
2667
2677
  *
2668
2678
  * - `data`: `any`\
@@ -2676,6 +2686,13 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
2676
2686
  removeLayoutElement(layoutElementId: string): ISurveyLayoutElement;
2677
2687
  getContainerContent(container: LayoutElementContainer): any[];
2678
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
+ */
2679
2696
  applyTheme(theme: ITheme): void;
2680
2697
  /**
2681
2698
  * Disposes of the survey model.
@@ -110,4 +110,6 @@ export declare var surveyStrings: {
110
110
  tagboxDoneButtonCaption: string;
111
111
  selectToRankEmptyRankedAreaText: string;
112
112
  selectToRankEmptyUnrankedAreaText: string;
113
+ ok: string;
114
+ cancel: string;
113
115
  };
@@ -11,10 +11,11 @@ export declare function getTocRootCss(survey: SurveyModel, isMobile?: boolean):
11
11
  export declare class TOCModel {
12
12
  survey: SurveyModel;
13
13
  constructor(survey: SurveyModel);
14
- isMobile: boolean;
14
+ get isMobile(): boolean;
15
15
  get containerCss(): string;
16
16
  listModel: ListModel<Action>;
17
17
  popupModel: PopupModel;
18
18
  icon: string;
19
19
  togglePopup: () => void;
20
+ dispose(): void;
20
21
  }
@@ -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
  };
@@ -28,6 +28,7 @@ export declare class Trigger extends Base {
28
28
  protected canBeExecutedOnComplete(): boolean;
29
29
  protected isExecutingOnNextPage: boolean;
30
30
  checkExpression(isOnNextPage: boolean, isOnComplete: boolean, keys: any, values: HashTable<any>, properties?: HashTable<any>): void;
31
+ protected canSuccessOnEmptyExpression(): boolean;
31
32
  check(value: any): void;
32
33
  get requireValidQuestion(): boolean;
33
34
  private perform;
@@ -40,6 +41,7 @@ export declare class Trigger extends Base {
40
41
  private onExpressionChanged;
41
42
  buildExpression(): string;
42
43
  private isCheckRequired;
44
+ protected getUsedVariables(): string[];
43
45
  private createConditionRunner;
44
46
  private get isRequireValue();
45
47
  }
@@ -145,4 +147,6 @@ export declare class SurveyTriggerCopyValue extends SurveyTrigger {
145
147
  set copyDisplayValue(val: boolean);
146
148
  getType(): string;
147
149
  protected onSuccess(values: HashTable<any>, properties: HashTable<any>): void;
150
+ protected canSuccessOnEmptyExpression(): boolean;
151
+ protected getUsedVariables(): string[];
148
152
  }
@@ -40,4 +40,5 @@ export declare class Logger {
40
40
  log(action: string): void;
41
41
  get result(): string;
42
42
  }
43
+ export declare function showConfirmDialog(message: string, callback: (res: boolean) => void): boolean;
43
44
  export { mergeValues, getElementWidth, isContainerVisible, classesToSelector, compareVersions, confirmAction, confirmActionAsync, detectIEOrEdge, detectIEBrowser, loadFileFromBase64, isMobile, isShadowDOM, getElement, isElementVisible, findScrollableParent, scrollElementByChildId, navigateToUrl, wrapUrlForBackgroundImage, createSvg, getIconNameFromProxy, increaseHeightByContent, getOriginalEvent, preventDefaults, findParentByClassNames, getFirstVisibleChild, };