survey-core 1.9.118 → 1.9.120

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 (253) hide show
  1. package/defaultV2.css +223 -100
  2. package/defaultV2.css.map +1 -1
  3. package/defaultV2.fontless.css +223 -100
  4. package/defaultV2.fontless.css.map +1 -1
  5. package/defaultV2.fontless.min.css +2 -2
  6. package/defaultV2.min.css +2 -2
  7. package/i18n/arabic.js +1 -1
  8. package/i18n/arabic.min.js +1 -1
  9. package/i18n/basque.js +1 -1
  10. package/i18n/basque.min.js +1 -1
  11. package/i18n/bulgarian.js +1 -1
  12. package/i18n/bulgarian.min.js +1 -1
  13. package/i18n/catalan.js +1 -1
  14. package/i18n/catalan.min.js +1 -1
  15. package/i18n/croatian.js +1 -1
  16. package/i18n/croatian.min.js +1 -1
  17. package/i18n/czech.js +1 -1
  18. package/i18n/czech.min.js +1 -1
  19. package/i18n/danish.js +1 -1
  20. package/i18n/danish.min.js +1 -1
  21. package/i18n/dutch.js +1 -1
  22. package/i18n/dutch.min.js +1 -1
  23. package/i18n/english.js +3 -2
  24. package/i18n/english.js.map +1 -1
  25. package/i18n/english.min.js +2 -2
  26. package/i18n/estonian.js +1 -1
  27. package/i18n/estonian.min.js +1 -1
  28. package/i18n/finnish.js +1 -1
  29. package/i18n/finnish.min.js +1 -1
  30. package/i18n/french.js +1 -1
  31. package/i18n/french.min.js +1 -1
  32. package/i18n/georgian.js +1 -1
  33. package/i18n/georgian.min.js +1 -1
  34. package/i18n/german.js +1 -1
  35. package/i18n/german.min.js +1 -1
  36. package/i18n/greek.js +1 -1
  37. package/i18n/greek.min.js +1 -1
  38. package/i18n/hebrew.js +1 -1
  39. package/i18n/hebrew.min.js +1 -1
  40. package/i18n/hindi.js +1 -1
  41. package/i18n/hindi.min.js +1 -1
  42. package/i18n/hungarian.js +2 -2
  43. package/i18n/hungarian.js.map +1 -1
  44. package/i18n/hungarian.min.js +2 -2
  45. package/i18n/icelandic.js +1 -1
  46. package/i18n/icelandic.min.js +1 -1
  47. package/i18n/index.js +2 -2
  48. package/i18n/index.js.map +1 -1
  49. package/i18n/index.min.js +2 -2
  50. package/i18n/indonesian.js +1 -1
  51. package/i18n/indonesian.min.js +1 -1
  52. package/i18n/italian.js +1 -1
  53. package/i18n/italian.min.js +1 -1
  54. package/i18n/japanese.js +1 -1
  55. package/i18n/japanese.min.js +1 -1
  56. package/i18n/kazakh.js +1 -1
  57. package/i18n/kazakh.min.js +1 -1
  58. package/i18n/korean.js +1 -1
  59. package/i18n/korean.min.js +1 -1
  60. package/i18n/latvian.js +1 -1
  61. package/i18n/latvian.min.js +1 -1
  62. package/i18n/lithuanian.js +1 -1
  63. package/i18n/lithuanian.min.js +1 -1
  64. package/i18n/macedonian.js +1 -1
  65. package/i18n/macedonian.min.js +1 -1
  66. package/i18n/malay.js +1 -1
  67. package/i18n/malay.min.js +1 -1
  68. package/i18n/nl-BE.js +1 -1
  69. package/i18n/nl-BE.min.js +1 -1
  70. package/i18n/norwegian.js +1 -1
  71. package/i18n/norwegian.min.js +1 -1
  72. package/i18n/persian.js +1 -1
  73. package/i18n/persian.min.js +1 -1
  74. package/i18n/polish.js +1 -1
  75. package/i18n/polish.min.js +1 -1
  76. package/i18n/portuguese-br.js +1 -1
  77. package/i18n/portuguese-br.min.js +1 -1
  78. package/i18n/portuguese.js +1 -1
  79. package/i18n/portuguese.min.js +1 -1
  80. package/i18n/romanian.js +1 -1
  81. package/i18n/romanian.min.js +1 -1
  82. package/i18n/russian.js +1 -1
  83. package/i18n/russian.min.js +1 -1
  84. package/i18n/serbian.js +1 -1
  85. package/i18n/serbian.min.js +1 -1
  86. package/i18n/simplified-chinese.js +1 -1
  87. package/i18n/simplified-chinese.min.js +1 -1
  88. package/i18n/slovak.js +1 -1
  89. package/i18n/slovak.min.js +1 -1
  90. package/i18n/spanish.js +1 -1
  91. package/i18n/spanish.min.js +1 -1
  92. package/i18n/swahili.js +1 -1
  93. package/i18n/swahili.min.js +1 -1
  94. package/i18n/swedish.js +1 -1
  95. package/i18n/swedish.min.js +1 -1
  96. package/i18n/tajik.js +1 -1
  97. package/i18n/tajik.min.js +1 -1
  98. package/i18n/telugu.js +1 -1
  99. package/i18n/telugu.min.js +1 -1
  100. package/i18n/thai.js +1 -1
  101. package/i18n/thai.min.js +1 -1
  102. package/i18n/traditional-chinese.js +1 -1
  103. package/i18n/traditional-chinese.min.js +1 -1
  104. package/i18n/turkish.js +1 -1
  105. package/i18n/turkish.min.js +1 -1
  106. package/i18n/ukrainian.js +1 -1
  107. package/i18n/ukrainian.min.js +1 -1
  108. package/i18n/urdu.js +1 -1
  109. package/i18n/urdu.min.js +1 -1
  110. package/i18n/vietnamese.js +1 -1
  111. package/i18n/vietnamese.min.js +1 -1
  112. package/i18n/welsh.js +1 -1
  113. package/i18n/welsh.min.js +1 -1
  114. package/modern.css +9 -6
  115. package/modern.css.map +1 -1
  116. package/modern.fontless.css +9 -6
  117. package/modern.fontless.css.map +1 -1
  118. package/modern.fontless.min.css +2 -2
  119. package/modern.min.css +2 -2
  120. package/package.json +1 -1
  121. package/plugins/bootstrap-integration.js +1 -1
  122. package/plugins/bootstrap-integration.min.js +1 -1
  123. package/plugins/bootstrap-material-integration.js +1 -1
  124. package/plugins/bootstrap-material-integration.min.js +1 -1
  125. package/survey.core.js +585 -250
  126. package/survey.core.js.map +1 -1
  127. package/survey.core.min.js +3 -3
  128. package/survey.css +1 -1
  129. package/survey.css.map +1 -1
  130. package/survey.i18n.js +2 -2
  131. package/survey.i18n.js.map +1 -1
  132. package/survey.i18n.min.js +2 -2
  133. package/survey.min.css +1 -1
  134. package/themes/borderless-dark-panelless.js +1 -1
  135. package/themes/borderless-dark-panelless.min.js +1 -1
  136. package/themes/borderless-dark.js +1 -1
  137. package/themes/borderless-dark.min.js +1 -1
  138. package/themes/borderless-light-panelless..js +1 -1
  139. package/themes/borderless-light-panelless..min.js +1 -1
  140. package/themes/borderless-light.js +1 -1
  141. package/themes/borderless-light.min.js +1 -1
  142. package/themes/contrast-dark-panelless.js +1 -1
  143. package/themes/contrast-dark-panelless.min.js +1 -1
  144. package/themes/contrast-dark.js +1 -1
  145. package/themes/contrast-dark.min.js +1 -1
  146. package/themes/contrast-light-panelless.js +1 -1
  147. package/themes/contrast-light-panelless.min.js +1 -1
  148. package/themes/contrast-light.js +1 -1
  149. package/themes/contrast-light.min.js +1 -1
  150. package/themes/default-dark-panelless.js +1 -1
  151. package/themes/default-dark-panelless.min.js +1 -1
  152. package/themes/default-dark.js +1 -1
  153. package/themes/default-dark.min.js +1 -1
  154. package/themes/default-light-panelless.js +1 -1
  155. package/themes/default-light-panelless.min.js +1 -1
  156. package/themes/default-light.js +1 -1
  157. package/themes/default-light.min.js +1 -1
  158. package/themes/doubleborder-dark-panelless.js +1 -1
  159. package/themes/doubleborder-dark-panelless.min.js +1 -1
  160. package/themes/doubleborder-dark.js +1 -1
  161. package/themes/doubleborder-dark.min.js +1 -1
  162. package/themes/doubleborder-light-panelles.js +1 -1
  163. package/themes/doubleborder-light-panelles.min.js +1 -1
  164. package/themes/doubleborder-light.js +1 -1
  165. package/themes/doubleborder-light.min.js +1 -1
  166. package/themes/flat-dark-panelless.js +1 -1
  167. package/themes/flat-dark-panelless.min.js +1 -1
  168. package/themes/flat-dark.js +1 -1
  169. package/themes/flat-dark.min.js +1 -1
  170. package/themes/flat-light-panelless.js +1 -1
  171. package/themes/flat-light-panelless.min.js +1 -1
  172. package/themes/flat-light.js +1 -1
  173. package/themes/flat-light.min.js +1 -1
  174. package/themes/index.js +1 -1
  175. package/themes/index.min.js +1 -1
  176. package/themes/layered-dark-panelless.js +1 -1
  177. package/themes/layered-dark-panelless.min.js +1 -1
  178. package/themes/layered-dark.js +1 -1
  179. package/themes/layered-dark.min.js +1 -1
  180. package/themes/layered-light-panelless.js +1 -1
  181. package/themes/layered-light-panelless.min.js +1 -1
  182. package/themes/layered-light.js +1 -1
  183. package/themes/layered-light.min.js +1 -1
  184. package/themes/plain-dark-panelless.js +1 -1
  185. package/themes/plain-dark-panelless.min.js +1 -1
  186. package/themes/plain-dark.js +1 -1
  187. package/themes/plain-dark.min.js +1 -1
  188. package/themes/plain-light-panelless.js +1 -1
  189. package/themes/plain-light-panelless.min.js +1 -1
  190. package/themes/plain-light.js +1 -1
  191. package/themes/plain-light.min.js +1 -1
  192. package/themes/sharp-dark-panelless.js +1 -1
  193. package/themes/sharp-dark-panelless.min.js +1 -1
  194. package/themes/sharp-dark.js +1 -1
  195. package/themes/sharp-dark.min.js +1 -1
  196. package/themes/sharp-light-panelless.js +1 -1
  197. package/themes/sharp-light-panelless.min.js +1 -1
  198. package/themes/sharp-light.js +1 -1
  199. package/themes/sharp-light.min.js +1 -1
  200. package/themes/solid-dark-panelless.js +1 -1
  201. package/themes/solid-dark-panelless.min.js +1 -1
  202. package/themes/solid-dark.js +1 -1
  203. package/themes/solid-dark.min.js +1 -1
  204. package/themes/solid-light-panelless.js +1 -1
  205. package/themes/solid-light-panelless.min.js +1 -1
  206. package/themes/solid-light.js +1 -1
  207. package/themes/solid-light.min.js +1 -1
  208. package/themes/three-dimensional-dark-panelless.js +1 -1
  209. package/themes/three-dimensional-dark-panelless.min.js +1 -1
  210. package/themes/three-dimensional-dark.js +1 -1
  211. package/themes/three-dimensional-dark.min.js +1 -1
  212. package/themes/three-dimensional-light-panelless.js +1 -1
  213. package/themes/three-dimensional-light-panelless.min.js +1 -1
  214. package/themes/three-dimensional-light.js +1 -1
  215. package/themes/three-dimensional-light.min.js +1 -1
  216. package/ts3.4/typings/base-interfaces.d.ts +4 -3
  217. package/ts3.4/typings/conditionProcessValue.d.ts +1 -0
  218. package/ts3.4/typings/defaultCss/defaultV2Css.d.ts +9 -3
  219. package/ts3.4/typings/localization/english.d.ts +1 -0
  220. package/ts3.4/typings/page.d.ts +1 -0
  221. package/ts3.4/typings/panel.d.ts +4 -1
  222. package/ts3.4/typings/question.d.ts +3 -1
  223. package/ts3.4/typings/question_baseselect.d.ts +1 -1
  224. package/ts3.4/typings/question_checkbox.d.ts +1 -1
  225. package/ts3.4/typings/question_expression.d.ts +1 -1
  226. package/ts3.4/typings/question_file.d.ts +32 -27
  227. package/ts3.4/typings/question_ranking.d.ts +6 -0
  228. package/ts3.4/typings/question_rating.d.ts +1 -0
  229. package/ts3.4/typings/question_signaturepad.d.ts +13 -2
  230. package/ts3.4/typings/survey-events-api.d.ts +5 -4
  231. package/ts3.4/typings/survey.d.ts +46 -18
  232. package/ts3.4/typings/surveyStrings.d.ts +1 -0
  233. package/ts3.4/typings/surveyTaskManager.d.ts +16 -0
  234. package/ts3.4/typings/themes.d.ts +2 -2
  235. package/typings/base-interfaces.d.ts +4 -3
  236. package/typings/conditionProcessValue.d.ts +1 -0
  237. package/typings/defaultCss/defaultV2Css.d.ts +9 -3
  238. package/typings/localization/english.d.ts +1 -0
  239. package/typings/page.d.ts +1 -0
  240. package/typings/panel.d.ts +4 -1
  241. package/typings/question.d.ts +3 -1
  242. package/typings/question_baseselect.d.ts +1 -1
  243. package/typings/question_checkbox.d.ts +1 -1
  244. package/typings/question_expression.d.ts +1 -1
  245. package/typings/question_file.d.ts +34 -29
  246. package/typings/question_ranking.d.ts +6 -0
  247. package/typings/question_rating.d.ts +1 -0
  248. package/typings/question_signaturepad.d.ts +13 -2
  249. package/typings/survey-events-api.d.ts +5 -4
  250. package/typings/survey.d.ts +47 -17
  251. package/typings/surveyStrings.d.ts +1 -0
  252. package/typings/surveyTaskManager.d.ts +16 -0
  253. package/typings/themes.d.ts +2 -2
@@ -25,6 +25,8 @@ import { QuestionFileModel } from "./question_file";
25
25
  import { QuestionMultipleTextModel } from "./question_multipletext";
26
26
  import { ITheme, ImageFit, ImageAttachment } from "./themes";
27
27
  import { PopupModel } from "./popup";
28
+ import { Cover } from "./header";
29
+ import { QuestionSignaturePadModel } from "./question_signaturepad";
28
30
  /**
29
31
  * The `SurveyModel` object contains properties and methods that allow you to control the survey and access its elements.
30
32
  *
@@ -319,6 +321,8 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
319
321
  * For information on event handler parameters, refer to descriptions within the interface.
320
322
  *
321
323
  * If you want to specify heading levels for all titles, use the [`titleTags`](https://surveyjs.io/form-library/documentation/api-reference/settings#titleTags) object in [global settings](https://surveyjs.io/form-library/documentation/api-reference/settings).
324
+ *
325
+ * [View Demo](https://surveyjs.io/form-library/examples/survey-titletagnames/ (linkStyle))
322
326
  * @see onGetQuestionTitle
323
327
  * @see onGetQuestionNo
324
328
  */
@@ -358,7 +362,7 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
358
362
  */
359
363
  onGetResult: EventBase<SurveyModel, GetResultEvent>;
360
364
  /**
361
- * An event that is raised when a File Upload question starts to upload a file. Applies only if [`storeDataAsText`](https://surveyjs.io/form-library/documentation/api-reference/file-model#storeDataAsText) is `false`. Use this event to upload files to your server.
365
+ * An event that is raised when a File Upload or Signature Pad question starts to upload a file. Applies only if [`storeDataAsText`](https://surveyjs.io/form-library/documentation/api-reference/file-model#storeDataAsText) is `false`. Use this event to upload files to your server.
362
366
  *
363
367
  * For information on event handler parameters, refer to descriptions within the interface.
364
368
  *
@@ -380,7 +384,7 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
380
384
  */
381
385
  onDownloadFile: EventBase<SurveyModel, DownloadFileEvent>;
382
386
  /**
383
- * An event that is raised when users clear files in a [File Upload](https://surveyjs.io/form-library/documentation/api-reference/file-model) question. Use this event to delete files from your server.
387
+ * An event that is raised when users clear files in a [File Upload](https://surveyjs.io/form-library/documentation/api-reference/file-model) question or clear signature in a [Signature Pad](https://surveyjs.io/form-library/documentation/api-reference/signature-pad-model) question. Use this event to delete files from your server.
384
388
  *
385
389
  * For information on event handler parameters, refer to descriptions within the interface.
386
390
  *
@@ -754,6 +758,7 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
754
758
  * [View Demo](https://surveyjs.io/form-library/examples/brand-your-survey-header/ (linkStyle))
755
759
  */
756
760
  headerView: "advanced" | "basic";
761
+ protected insertAdvancedHeader(advHeader: Cover): void;
757
762
  private getNavigationCss;
758
763
  private lazyRenderingValue;
759
764
  showBrandInfo: boolean;
@@ -949,7 +954,8 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
949
954
  * Specifies whether to hide validation errors thrown by the Required validation in the UI.
950
955
  *
951
956
  * [Built-In Client-Side Validators](https://surveyjs.io/form-library/documentation/data-validation#built-in-client-side-validators (linkStyle))
952
- * @see ignoreValidation
957
+ * @see validationEnabled
958
+ * @see validationAllowSwitchPages
953
959
  */
954
960
  hideRequiredErrors: boolean;
955
961
  beforeSettingQuestionErrors(question: Question, errors: Array<SurveyError>): void;
@@ -1022,6 +1028,10 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
1022
1028
  * - `"onComplete"` - Triggers validation when a user clicks the Complete button. If previous pages contain errors, the survey switches to the page with the first error.
1023
1029
  *
1024
1030
  * Refer to the following help topic for more information: [Data Validation](https://surveyjs.io/form-library/documentation/data-validation).
1031
+ * @see validationEnabled
1032
+ * @see validationAllowSwitchPages
1033
+ * @see validationAllowComplete
1034
+ * @see validate
1025
1035
  */
1026
1036
  get checkErrorsMode(): string;
1027
1037
  set checkErrorsMode(val: string);
@@ -1129,10 +1139,11 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
1129
1139
  getSurveyErrorCustomText(obj: PanelModel | Question | SurveyModel, text: string, error: SurveyError): string;
1130
1140
  getQuestionDisplayValue(question: Question, displayValue: any): any;
1131
1141
  /**
1132
- * Returns a message that is displayed when a survey does not contain visible pages or questions.
1142
+ * A message that is displayed when a survey does not contain visible pages or questions.
1133
1143
  * @see [Localization & Globalization](https://surveyjs.io/form-library/documentation/survey-localization)
1134
1144
  */
1135
1145
  get emptySurveyText(): string;
1146
+ set emptySurveyText(val: string);
1136
1147
  /**
1137
1148
  * An image URL or a Base64-encoded image to use as a survey logo.
1138
1149
  *
@@ -1507,7 +1518,7 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
1507
1518
  * @see setValue
1508
1519
  */
1509
1520
  mergeData(data: any): void;
1510
- setDataCore(data: any): void;
1521
+ setDataCore(data: any, clearData?: boolean): void;
1511
1522
  getStructuredData(includePages?: boolean, level?: number): any;
1512
1523
  setStructuredData(data: any, doMerge?: boolean): void;
1513
1524
  private collectDataFromPanel;
@@ -1756,15 +1767,32 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
1756
1767
  */
1757
1768
  deleteCookie(): void;
1758
1769
  /**
1759
- * Specifies whether to skip validation when you switch between pages or complete the survey programmatically or when users do that in the UI.
1770
+ * This property is obsolete. Use the [`validationEnabled`](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#validationEnabled) property instead.
1771
+ */
1772
+ get ignoreValidation(): boolean;
1773
+ set ignoreValidation(val: boolean);
1774
+ /**
1775
+ * Specifies whether data validation is enabled.
1760
1776
  *
1761
- * Default value: `false`
1777
+ * Default value: `true`
1778
+ * @see checkErrorsMode
1762
1779
  * @see hideRequiredErrors
1763
- * @see nextPage
1764
- * @see isPrevPage
1765
- * @see completeLastPage
1766
1780
  */
1767
- ignoreValidation: boolean;
1781
+ validationEnabled: boolean;
1782
+ /**
1783
+ * Specifies whether respondents can switch the current page even if it contains validation errors.
1784
+ *
1785
+ * Default value: `false`
1786
+ * @see checkErrorsMode
1787
+ */
1788
+ validationAllowSwitchPages: boolean;
1789
+ /**
1790
+ * Specifies whether respondents can end a survey with validation errors.
1791
+ *
1792
+ * Default value: `false`
1793
+ * @see checkErrorsMode
1794
+ */
1795
+ validationAllowComplete: boolean;
1768
1796
  /**
1769
1797
  * Switches the survey to the next page.
1770
1798
  *
@@ -2109,14 +2137,14 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
2109
2137
  * }
2110
2138
  * );
2111
2139
  * ```
2112
- * @param question A [File Upload question instance](https://surveyjs.io/form-library/documentation/api-reference/file-model).
2113
- * @param name The File Upload question's [`name`](https://surveyjs.io/form-library/documentation/api-reference/file-model#name).
2140
+ * @param question A [File Upload question instance](https://surveyjs.io/form-library/documentation/api-reference/file-model) or [Signature Pad question instance](https://surveyjs.io/form-library/documentation/api-reference/signature-pad-model).
2141
+ * @param name The File Upload question's [`name`](https://surveyjs.io/form-library/documentation/api-reference/file-model#name) or Signature Pad question's [`name`](https://surveyjs.io/form-library/documentation/api-reference/signature-pad-model#name).
2114
2142
  * @param files An array of JavaScript <a href="https://developer.mozilla.org/en-US/docs/Web/API/File" target="_blank">File</a> objects that represent files to upload.
2115
- * @param callback A callback function that allows you to get the upload status (`"success"` or `"error"`) and file data.
2143
+ * @param callback A callback function that allows you to access successfully uploaded files as the first argument. If any files fail to upload, the second argument contains an array of error messages.
2116
2144
  * @see onUploadFiles
2117
2145
  * @see downloadFile
2118
2146
  */
2119
- uploadFiles(question: QuestionFileModel, name: string, files: File[], callback: (status: string, data: any) => any): void;
2147
+ uploadFiles(question: QuestionFileModel | QuestionSignaturePadModel, name: string, files: File[], callback: (data: any | Array<any>, errors?: any | Array<any>) => any): void;
2120
2148
  /**
2121
2149
  * Downloads a file from a server.
2122
2150
  *
@@ -2148,11 +2176,11 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
2148
2176
  * @see uploadFiles
2149
2177
  */
2150
2178
  downloadFile(question: QuestionFileModel, questionName: string, fileValue: any, callback: (status: string, data: any) => any): void;
2151
- clearFiles(question: QuestionFileModel, name: string, value: any, fileName: string, callback: (status: string, data: any) => any): void;
2179
+ clearFiles(question: QuestionFileModel | QuestionSignaturePadModel, name: string, value: any, fileName: string, callback: (status: string, data: any) => any): void;
2152
2180
  updateChoicesFromServer(question: QuestionSelectBase, choices: Array<ItemValue>, serverResult: any): Array<ItemValue>;
2153
2181
  loadedChoicesFromServer(question: IQuestion): void;
2154
2182
  protected createSurveyService(): dxSurveyService;
2155
- protected uploadFilesCore(name: string, files: File[], uploadingCallback: (status: string, data: any) => any): void;
2183
+ protected uploadFilesCore(name: string, files: File[], uploadingCallback: (data: any | Array<any>, errors?: any | Array<any>) => any): void;
2156
2184
  getPage(index: number): PageModel;
2157
2185
  /**
2158
2186
  * Adds an existing page to the survey.
@@ -2655,6 +2683,7 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
2655
2683
  private isMovingQuestion;
2656
2684
  startMovingQuestion(): void;
2657
2685
  stopMovingQuestion(): void;
2686
+ get isQuestionDragging(): boolean;
2658
2687
  private needRenderIcons;
2659
2688
  private skippedPages;
2660
2689
  /**
@@ -2713,6 +2742,7 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
2713
2742
  */
2714
2743
  applyTheme(theme: ITheme): void;
2715
2744
  themeChanged(theme: ITheme): void;
2745
+ private taskManager;
2716
2746
  /**
2717
2747
  * Disposes of the survey model.
2718
2748
  *
@@ -57,6 +57,7 @@ export declare var surveyStrings: {
57
57
  urlRequestError: string;
58
58
  urlGetChoicesError: string;
59
59
  exceedMaxSize: string;
60
+ noUploadFilesHandler: string;
60
61
  otherRequiredError: string;
61
62
  uploadingFile: string;
62
63
  loadingFile: string;
@@ -0,0 +1,16 @@
1
+ import { Base } from "./base";
2
+ declare class SurveyTaskModel {
3
+ type: string;
4
+ private timestamp;
5
+ constructor(type: string);
6
+ }
7
+ export declare class SurveyTaskManagerModel extends Base {
8
+ private taskList;
9
+ constructor();
10
+ private onAllTasksCompleted;
11
+ hasActiveTasks: boolean;
12
+ runTask(type: string, func: (done: any) => void): SurveyTaskModel;
13
+ waitAndExecute(action: any): void;
14
+ private taskFinished;
15
+ }
16
+ export {};
@@ -83,9 +83,9 @@ export interface IHeader {
83
83
  *
84
84
  * Possible values:
85
85
  *
86
- * - `"survey"` (default)\
86
+ * - `"survey"`\
87
87
  * The header width is the same as the survey width.
88
- * - `"container"`\
88
+ * - `"container"` (default)\
89
89
  * The header width is the same as the survey container width.
90
90
  *
91
91
  * @see [SurveyModel.width](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#width)