survey-core 1.9.115 → 1.9.117

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 (248) hide show
  1. package/README.md +4 -0
  2. package/defaultV2.css +121 -87
  3. package/defaultV2.css.map +1 -1
  4. package/defaultV2.fontless.css +121 -87
  5. package/defaultV2.fontless.css.map +1 -1
  6. package/defaultV2.fontless.min.css +2 -2
  7. package/defaultV2.min.css +2 -2
  8. package/i18n/arabic.js +1 -1
  9. package/i18n/arabic.min.js +1 -1
  10. package/i18n/basque.js +1 -1
  11. package/i18n/basque.min.js +1 -1
  12. package/i18n/bulgarian.js +1 -1
  13. package/i18n/bulgarian.min.js +1 -1
  14. package/i18n/catalan.js +1 -1
  15. package/i18n/catalan.min.js +1 -1
  16. package/i18n/croatian.js +1 -1
  17. package/i18n/croatian.min.js +1 -1
  18. package/i18n/czech.js +1 -1
  19. package/i18n/czech.min.js +1 -1
  20. package/i18n/danish.js +1 -1
  21. package/i18n/danish.min.js +1 -1
  22. package/i18n/dutch.js +1 -1
  23. package/i18n/dutch.min.js +1 -1
  24. package/i18n/english.js +1 -1
  25. package/i18n/english.min.js +1 -1
  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 +1 -1
  43. package/i18n/hungarian.min.js +1 -1
  44. package/i18n/icelandic.js +1 -1
  45. package/i18n/icelandic.min.js +1 -1
  46. package/i18n/index.js +1 -1
  47. package/i18n/index.min.js +1 -1
  48. package/i18n/indonesian.js +1 -1
  49. package/i18n/indonesian.min.js +1 -1
  50. package/i18n/italian.js +1 -1
  51. package/i18n/italian.min.js +1 -1
  52. package/i18n/japanese.js +1 -1
  53. package/i18n/japanese.min.js +1 -1
  54. package/i18n/kazakh.js +1 -1
  55. package/i18n/kazakh.min.js +1 -1
  56. package/i18n/korean.js +1 -1
  57. package/i18n/korean.min.js +1 -1
  58. package/i18n/latvian.js +1 -1
  59. package/i18n/latvian.min.js +1 -1
  60. package/i18n/lithuanian.js +1 -1
  61. package/i18n/lithuanian.min.js +1 -1
  62. package/i18n/macedonian.js +1 -1
  63. package/i18n/macedonian.min.js +1 -1
  64. package/i18n/malay.js +1 -1
  65. package/i18n/malay.min.js +1 -1
  66. package/i18n/nl-BE.js +1 -1
  67. package/i18n/nl-BE.min.js +1 -1
  68. package/i18n/norwegian.js +1 -1
  69. package/i18n/norwegian.min.js +1 -1
  70. package/i18n/persian.js +1 -1
  71. package/i18n/persian.min.js +1 -1
  72. package/i18n/polish.js +1 -1
  73. package/i18n/polish.min.js +1 -1
  74. package/i18n/portuguese-br.js +1 -1
  75. package/i18n/portuguese-br.min.js +1 -1
  76. package/i18n/portuguese.js +1 -1
  77. package/i18n/portuguese.min.js +1 -1
  78. package/i18n/romanian.js +1 -1
  79. package/i18n/romanian.min.js +1 -1
  80. package/i18n/russian.js +1 -1
  81. package/i18n/russian.min.js +1 -1
  82. package/i18n/serbian.js +1 -1
  83. package/i18n/serbian.min.js +1 -1
  84. package/i18n/simplified-chinese.js +1 -1
  85. package/i18n/simplified-chinese.min.js +1 -1
  86. package/i18n/slovak.js +1 -1
  87. package/i18n/slovak.min.js +1 -1
  88. package/i18n/spanish.js +1 -1
  89. package/i18n/spanish.min.js +1 -1
  90. package/i18n/swahili.js +1 -1
  91. package/i18n/swahili.min.js +1 -1
  92. package/i18n/swedish.js +1 -1
  93. package/i18n/swedish.min.js +1 -1
  94. package/i18n/tajik.js +1 -1
  95. package/i18n/tajik.min.js +1 -1
  96. package/i18n/telugu.js +1 -1
  97. package/i18n/telugu.min.js +1 -1
  98. package/i18n/thai.js +1 -1
  99. package/i18n/thai.min.js +1 -1
  100. package/i18n/traditional-chinese.js +1 -1
  101. package/i18n/traditional-chinese.min.js +1 -1
  102. package/i18n/turkish.js +1 -1
  103. package/i18n/turkish.min.js +1 -1
  104. package/i18n/ukrainian.js +1 -1
  105. package/i18n/ukrainian.min.js +1 -1
  106. package/i18n/urdu.js +1 -1
  107. package/i18n/urdu.min.js +1 -1
  108. package/i18n/vietnamese.js +1 -1
  109. package/i18n/vietnamese.min.js +1 -1
  110. package/i18n/welsh.js +1 -1
  111. package/i18n/welsh.min.js +1 -1
  112. package/modern.css +20 -11
  113. package/modern.css.map +1 -1
  114. package/modern.fontless.css +20 -11
  115. package/modern.fontless.css.map +1 -1
  116. package/modern.fontless.min.css +2 -2
  117. package/modern.min.css +2 -2
  118. package/package.json +1 -1
  119. package/plugins/bootstrap-integration.js +1 -1
  120. package/plugins/bootstrap-integration.min.js +1 -1
  121. package/plugins/bootstrap-material-integration.js +1 -1
  122. package/plugins/bootstrap-material-integration.min.js +1 -1
  123. package/survey.core.js +348 -135
  124. package/survey.core.js.map +1 -1
  125. package/survey.core.min.js +3 -3
  126. package/survey.css +11 -2
  127. package/survey.css.map +1 -1
  128. package/survey.i18n.js +1 -1
  129. package/survey.i18n.min.js +1 -1
  130. package/survey.min.css +2 -2
  131. package/themes/borderless-dark-panelless.js +1 -1
  132. package/themes/borderless-dark-panelless.min.js +1 -1
  133. package/themes/borderless-dark.js +1 -1
  134. package/themes/borderless-dark.min.js +1 -1
  135. package/themes/borderless-light-panelless..js +1 -1
  136. package/themes/borderless-light-panelless..min.js +1 -1
  137. package/themes/borderless-light.js +1 -1
  138. package/themes/borderless-light.min.js +1 -1
  139. package/themes/contrast-dark-panelless.js +1 -1
  140. package/themes/contrast-dark-panelless.min.js +1 -1
  141. package/themes/contrast-dark.js +1 -1
  142. package/themes/contrast-dark.min.js +1 -1
  143. package/themes/contrast-light-panelless.js +1 -1
  144. package/themes/contrast-light-panelless.min.js +1 -1
  145. package/themes/contrast-light.js +1 -1
  146. package/themes/contrast-light.min.js +1 -1
  147. package/themes/default-dark-panelless.js +1 -1
  148. package/themes/default-dark-panelless.min.js +1 -1
  149. package/themes/default-dark.js +1 -1
  150. package/themes/default-dark.min.js +1 -1
  151. package/themes/default-light-panelless.js +1 -1
  152. package/themes/default-light-panelless.min.js +1 -1
  153. package/themes/default-light.js +1 -1
  154. package/themes/default-light.min.js +1 -1
  155. package/themes/doubleborder-dark-panelless.js +1 -1
  156. package/themes/doubleborder-dark-panelless.min.js +1 -1
  157. package/themes/doubleborder-dark.js +1 -1
  158. package/themes/doubleborder-dark.min.js +1 -1
  159. package/themes/doubleborder-light-panelles.js +1 -1
  160. package/themes/doubleborder-light-panelles.min.js +1 -1
  161. package/themes/doubleborder-light.js +1 -1
  162. package/themes/doubleborder-light.min.js +1 -1
  163. package/themes/flat-dark-panelless.js +1 -1
  164. package/themes/flat-dark-panelless.min.js +1 -1
  165. package/themes/flat-dark.js +1 -1
  166. package/themes/flat-dark.min.js +1 -1
  167. package/themes/flat-light-panelless.js +1 -1
  168. package/themes/flat-light-panelless.min.js +1 -1
  169. package/themes/flat-light.js +1 -1
  170. package/themes/flat-light.min.js +1 -1
  171. package/themes/index.js +1 -1
  172. package/themes/index.min.js +1 -1
  173. package/themes/layered-dark-panelless.js +1 -1
  174. package/themes/layered-dark-panelless.min.js +1 -1
  175. package/themes/layered-dark.js +1 -1
  176. package/themes/layered-dark.min.js +1 -1
  177. package/themes/layered-light-panelless.js +1 -1
  178. package/themes/layered-light-panelless.min.js +1 -1
  179. package/themes/layered-light.js +1 -1
  180. package/themes/layered-light.min.js +1 -1
  181. package/themes/plain-dark-panelless.js +1 -1
  182. package/themes/plain-dark-panelless.min.js +1 -1
  183. package/themes/plain-dark.js +1 -1
  184. package/themes/plain-dark.min.js +1 -1
  185. package/themes/plain-light-panelless.js +1 -1
  186. package/themes/plain-light-panelless.min.js +1 -1
  187. package/themes/plain-light.js +1 -1
  188. package/themes/plain-light.min.js +1 -1
  189. package/themes/sharp-dark-panelless.js +1 -1
  190. package/themes/sharp-dark-panelless.min.js +1 -1
  191. package/themes/sharp-dark.js +1 -1
  192. package/themes/sharp-dark.min.js +1 -1
  193. package/themes/sharp-light-panelless.js +1 -1
  194. package/themes/sharp-light-panelless.min.js +1 -1
  195. package/themes/sharp-light.js +1 -1
  196. package/themes/sharp-light.min.js +1 -1
  197. package/themes/solid-dark-panelless.js +1 -1
  198. package/themes/solid-dark-panelless.min.js +1 -1
  199. package/themes/solid-dark.js +1 -1
  200. package/themes/solid-dark.min.js +1 -1
  201. package/themes/solid-light-panelless.js +1 -1
  202. package/themes/solid-light-panelless.min.js +1 -1
  203. package/themes/solid-light.js +1 -1
  204. package/themes/solid-light.min.js +1 -1
  205. package/themes/three-dimensional-dark-panelless.js +1 -1
  206. package/themes/three-dimensional-dark-panelless.min.js +1 -1
  207. package/themes/three-dimensional-dark.js +1 -1
  208. package/themes/three-dimensional-dark.min.js +1 -1
  209. package/themes/three-dimensional-light-panelless.js +1 -1
  210. package/themes/three-dimensional-light-panelless.min.js +1 -1
  211. package/themes/three-dimensional-light.js +1 -1
  212. package/themes/three-dimensional-light.min.js +1 -1
  213. package/ts3.4/typings/actions/action.d.ts +7 -7
  214. package/ts3.4/typings/console-warnings.d.ts +1 -0
  215. package/ts3.4/typings/dropdownListModel.d.ts +2 -1
  216. package/ts3.4/typings/localizablestring.d.ts +0 -1
  217. package/ts3.4/typings/martixBase.d.ts +1 -0
  218. package/ts3.4/typings/question.d.ts +3 -0
  219. package/ts3.4/typings/question_baseselect.d.ts +12 -2
  220. package/ts3.4/typings/question_checkbox.d.ts +5 -2
  221. package/ts3.4/typings/question_comment.d.ts +1 -0
  222. package/ts3.4/typings/question_custom.d.ts +7 -1
  223. package/ts3.4/typings/question_imagepicker.d.ts +2 -1
  224. package/ts3.4/typings/question_multipletext.d.ts +1 -1
  225. package/ts3.4/typings/question_paneldynamic.d.ts +2 -2
  226. package/ts3.4/typings/question_rating.d.ts +8 -8
  227. package/ts3.4/typings/question_signaturepad.d.ts +30 -1
  228. package/ts3.4/typings/settings.d.ts +5 -0
  229. package/ts3.4/typings/survey-events-api.d.ts +3 -3
  230. package/ts3.4/typings/survey.d.ts +13 -13
  231. package/typings/actions/action.d.ts +7 -7
  232. package/typings/console-warnings.d.ts +1 -0
  233. package/typings/dropdownListModel.d.ts +2 -1
  234. package/typings/localizablestring.d.ts +0 -1
  235. package/typings/martixBase.d.ts +1 -0
  236. package/typings/question.d.ts +3 -0
  237. package/typings/question_baseselect.d.ts +12 -2
  238. package/typings/question_checkbox.d.ts +5 -2
  239. package/typings/question_comment.d.ts +1 -0
  240. package/typings/question_custom.d.ts +7 -1
  241. package/typings/question_imagepicker.d.ts +2 -1
  242. package/typings/question_multipletext.d.ts +1 -1
  243. package/typings/question_paneldynamic.d.ts +2 -2
  244. package/typings/question_rating.d.ts +8 -8
  245. package/typings/question_signaturepad.d.ts +30 -1
  246. package/typings/settings.d.ts +5 -0
  247. package/typings/survey-events-api.d.ts +3 -3
  248. package/typings/survey.d.ts +13 -13
@@ -22,7 +22,7 @@ export declare class MultipleTextEditorModel extends QuestionTextModel {
22
22
  /**
23
23
  * A class that describes an item in a [Multiple Textboxes](https://surveyjs.io/form-library/documentation/api-reference/multiple-text-entry-question-model) question.
24
24
  *
25
- * [View Demo](/form-library/examples/multiple-text-box-question/)
25
+ * [View Demo](https://surveyjs.io/form-library/examples/multiple-text-box-question/)
26
26
  */
27
27
  export declare class MultipleTextItemModel extends Base implements IValidatorOwner, ISurveyData, ISurveyImpl {
28
28
  private editorValue;
@@ -120,7 +120,7 @@ export declare class QuestionPanelDynamicModel extends Question implements IQues
120
120
  *
121
121
  * 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.
122
122
  *
123
- * [View Demo](/form-library/examples/tabbed-interface-for-duplicate-group-option/ (linkStyle))
123
+ * [View Demo](https://surveyjs.io/form-library/examples/tabbed-interface-for-duplicate-group-option/ (linkStyle))
124
124
  * @see templateTitle
125
125
  * @see renderMode
126
126
  */
@@ -409,7 +409,7 @@ export declare class QuestionPanelDynamicModel extends Question implements IQues
409
409
  * - `"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/)
410
410
  * - `"progressBottom"` - Renders each panel panel as a card and displays a progress bar at the bottom.
411
411
  * - `"progressTopBottom"` - Renders each panel as a card and displays a progress bar at the top and bottom.
412
- * - `"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/)
412
+ * - `"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](https://surveyjs.io/form-library/examples/tabbed-interface-for-duplicate-group-option/)
413
413
  */
414
414
  get renderMode(): string;
415
415
  set renderMode(val: string);
@@ -57,7 +57,7 @@ export declare class QuestionRatingModel extends Question {
57
57
  *
58
58
  * If you do not specify the `rateValues` property, rate values are generated automatically based upon the [`rateMin`](https://surveyjs.io/form-library/documentation/api-reference/rating-scale-question-model#rateMin), [`rateMax`](https://surveyjs.io/form-library/documentation/api-reference/rating-scale-question-model#rateMax), [`rateStep`](https://surveyjs.io/form-library/documentation/api-reference/rating-scale-question-model#rateStep), and [`rateCount`](https://surveyjs.io/form-library/documentation/api-reference/rating-scale-question-model#rateCount) property values.
59
59
  *
60
- * [View Demo](/form-library/examples/rating-scale/ (linkStyle))
60
+ * [View Demo](https://surveyjs.io/form-library/examples/rating-scale/ (linkStyle))
61
61
  */
62
62
  get rateValues(): Array<any>;
63
63
  set rateValues(val: Array<any>);
@@ -66,7 +66,7 @@ export declare class QuestionRatingModel extends Question {
66
66
  *
67
67
  * Default value: 1
68
68
  *
69
- * [View Demo](/form-library/examples/rating-scale/ (linkStyle))
69
+ * [View Demo](https://surveyjs.io/form-library/examples/rating-scale/ (linkStyle))
70
70
  * @see rateMax
71
71
  * @see rateStep
72
72
  * @see rateCount
@@ -78,7 +78,7 @@ export declare class QuestionRatingModel extends Question {
78
78
  *
79
79
  * Default value: 5
80
80
  *
81
- * [View Demo](/form-library/examples/rating-scale/ (linkStyle))
81
+ * [View Demo](https://surveyjs.io/form-library/examples/rating-scale/ (linkStyle))
82
82
  * @see rateMin
83
83
  * @see rateStep
84
84
  * @see rateCount
@@ -90,7 +90,7 @@ export declare class QuestionRatingModel extends Question {
90
90
  *
91
91
  * Default value: 1
92
92
  *
93
- * [View Demo](/form-library/examples/rating-scale/ (linkStyle))
93
+ * [View Demo](https://surveyjs.io/form-library/examples/rating-scale/ (linkStyle))
94
94
  * @see rateMin
95
95
  * @see rateMax
96
96
  * @see rateCount
@@ -102,7 +102,7 @@ export declare class QuestionRatingModel extends Question {
102
102
  *
103
103
  * Set the [`rateMin`](https://surveyjs.io/form-library/documentation/api-reference/rating-scale-question-model#rateMin) or [`rateMax`](https://surveyjs.io/form-library/documentation/api-reference/rating-scale-question-model#rateMax) property to specify the first or the last rate value. Use the [`rateStep`](https://surveyjs.io/form-library/documentation/api-reference/rating-scale-question-model#rateStep) property to specify a step with which to generate rate values.
104
104
  *
105
- * [View Demo](/form-library/examples/rating-scale/ (linkStyle))
105
+ * [View Demo](https://surveyjs.io/form-library/examples/rating-scale/ (linkStyle))
106
106
  */
107
107
  rateCount: number;
108
108
  private static colorsCalculated;
@@ -171,7 +171,7 @@ export declare class QuestionRatingModel extends Question {
171
171
  * - `"dropdown"` - Displays rate values as items in a drop-down list.
172
172
  * - `"auto"` (default) - Selects between the `"buttons"` and `"dropdown"` modes based on the available width. When the width is insufficient to display buttons, the question displays a dropdown.
173
173
  *
174
- * [View Demo](/form-library/examples/ui-adaptation-modes-for-rating-scale/ (linkStyle))
174
+ * [View Demo](https://surveyjs.io/form-library/examples/ui-adaptation-modes-for-rating-scale/ (linkStyle))
175
175
  * @see rateType
176
176
  */
177
177
  displayMode: "dropdown" | "buttons" | "auto";
@@ -184,7 +184,7 @@ export declare class QuestionRatingModel extends Question {
184
184
  * - `"stars"` - Displays rate values as stars.
185
185
  * - `"smileys"` - Displays rate values as smiley faces.
186
186
  *
187
- * [View Demo](/form-library/examples/rating-scale/ (linkStyle))
187
+ * [View Demo](https://surveyjs.io/form-library/examples/rating-scale/ (linkStyle))
188
188
  * @see scaleColorMode
189
189
  * @see rateColorMode
190
190
  * @see displayMode
@@ -200,7 +200,7 @@ export declare class QuestionRatingModel extends Question {
200
200
  * - `"monochrome"` (default) - Displays emojis in monochrome.
201
201
  * - `"colored"` - Displays emojis in color.
202
202
  *
203
- * [View Demo](/form-library/examples/rating-scale/ (linkStyle))
203
+ * [View Demo](https://surveyjs.io/form-library/examples/rating-scale/ (linkStyle))
204
204
  * @see rateColorMode
205
205
  */
206
206
  scaleColorMode: "monochrome" | "colored";
@@ -1,6 +1,5 @@
1
1
  import { Question } from "./question";
2
2
  import { ITheme } from "./themes";
3
- export declare function getCanvasRatio(canvas: HTMLCanvasElement): number;
4
3
  /**
5
4
  * A class that describes the Signature question type.
6
5
  *
@@ -17,6 +16,13 @@ export declare class QuestionSignaturePadModel extends Question {
17
16
  afterRenderQuestionElement(el: HTMLElement): void;
18
17
  beforeDestroyQuestionElement(el: HTMLElement): void;
19
18
  themeChanged(theme: ITheme): void;
19
+ private canvas;
20
+ private scale;
21
+ private valueIsUpdatingInternally;
22
+ private resizeCanvas;
23
+ private scaleCanvas;
24
+ private refreshCanvas;
25
+ private updateValueHandler;
20
26
  initSignaturePad(el: HTMLElement): void;
21
27
  destroySignaturePad(el: HTMLElement): void;
22
28
  /**
@@ -40,6 +46,29 @@ export declare class QuestionSignaturePadModel extends Question {
40
46
  */
41
47
  get signatureHeight(): number;
42
48
  set signatureHeight(val: number);
49
+ /**
50
+ * Specifies whether the signature area should be scaled to fit into the question width.
51
+ *
52
+ * Default value: `false`
53
+ *
54
+ * > The signature area is scaled only for display. The resulting image will have dimensions specified by the [`signatureHeight`](#signatureHeight) and [`signatureWidth`](#signatureWidth) properties.
55
+ */
56
+ signatureAutoScaleEnabled: boolean;
57
+ /**
58
+ * Speicifies the minimum width of pen strokes, measured in pixels.
59
+ *
60
+ * Default value: 0.5
61
+ */
62
+ penMinWidth: number;
63
+ /**
64
+ * Speicifies the maximum width of pen strokes, measured in pixels.
65
+ *
66
+ * Default value: 2.5
67
+ */
68
+ penMaxWidth: number;
69
+ private get containerHeight();
70
+ private get containerWidth();
71
+ get renderedCanvasWidth(): string;
43
72
  get height(): number;
44
73
  set height(val: number);
45
74
  /**
@@ -485,6 +485,11 @@ export declare var settings: {
485
485
  * Default value: `"none"`
486
486
  */
487
487
  noneItemValue: string;
488
+ specialChoicesOrder: {
489
+ selectAllItem: number[];
490
+ noneItem: number[];
491
+ otherItem: number[];
492
+ };
488
493
  /**
489
494
  * A list of supported validators by question type.
490
495
  */
@@ -499,7 +499,7 @@ export interface LoadFilesEvent extends FileQuestionEventMixin {
499
499
  }
500
500
  export interface UploadFilesEvent extends LoadFilesEvent {
501
501
  /**
502
- * A callback function that you should call when a file is uploaded successfully or when file upload fails. Pass `"success"` or `"error"` to indicate the operation status and, optionally, the downloaded file's data.
502
+ * A callback function that you should call when a file is uploaded successfully or when file upload fails. Pass `"success"` or `"error"` as the first argument to indicate the operation status. As the second argument, you can pass the uploaded file's data if file upload was successful or an error message if file upload failed.
503
503
  */
504
504
  callback: (status: string, data?: any) => any;
505
505
  /**
@@ -509,7 +509,7 @@ export interface UploadFilesEvent extends LoadFilesEvent {
509
509
  }
510
510
  export interface DownloadFileEvent extends LoadFilesEvent {
511
511
  /**
512
- * A callback function that you should call when a file is downloaded successfully or when deletion fails. Pass `"success"` or `"error"` to indicate the operation status and, optionally, the downloaded file's data as a Base64 string.
512
+ * A callback function that you should call when a file is downloaded successfully or when deletion fails. Pass `"success"` or `"error"` as the first argument to indicate the operation status. As the second argument, you can pass the downloaded file's data as a Base64 string if file download was successful or an error message if file download failed.
513
513
  */
514
514
  callback: (status: string, data?: any) => any;
515
515
  /**
@@ -523,7 +523,7 @@ export interface DownloadFileEvent extends LoadFilesEvent {
523
523
  }
524
524
  export interface ClearFilesEvent extends LoadFilesEvent {
525
525
  /**
526
- * A callback function that you should call when files are deleted successfully or when deletion fails. Pass `"success"` or `"error"` to indicate the operation status and, optionally, deleted files' data (`options.value`).
526
+ * A callback function that you should call when files are deleted successfully or when deletion fails. Pass `"success"` or `"error"` as the first argument to indicate the operation status. As the second argument, you can pass deleted files' data (`options.value`) if file deletion was successful or an error message if file deletion failed.
527
527
  */
528
528
  callback: (status: string, data?: any) => any;
529
529
  /**
@@ -410,16 +410,16 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
410
410
  *
411
411
  * For information on event handler parameters, refer to descriptions within the interface.
412
412
  *
413
- * [View Demo](/form-library/examples/customize-survey-with-css/ (linkStyle))
413
+ * [View Demo](https://surveyjs.io/form-library/examples/customize-survey-with-css/ (linkStyle))
414
414
  * @see css
415
415
  */
416
416
  onUpdateQuestionCssClasses: EventBase<SurveyModel, UpdateQuestionCssClassesEvent>;
417
417
  /**
418
- * An event that is raised before rendering a standalone panel and panels within [Dynamic Panel](/form-library/examples/duplicate-group-of-fields-in-form/). Use it to override default panel CSS classes.
418
+ * An event that is raised before rendering a standalone panel and panels within [Dynamic Panel](https://surveyjs.io/form-library/examples/duplicate-group-of-fields-in-form/). Use it to override default panel CSS classes.
419
419
  *
420
420
  * For information on event handler parameters, refer to descriptions within the interface.
421
421
  *
422
- * [View Demo](/form-library/examples/customize-survey-with-css/ (linkStyle))
422
+ * [View Demo](https://surveyjs.io/form-library/examples/customize-survey-with-css/ (linkStyle))
423
423
  * @see css
424
424
  */
425
425
  onUpdatePanelCssClasses: EventBase<SurveyModel, UpdatePanelCssClassesEvent>;
@@ -428,7 +428,7 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
428
428
  *
429
429
  * For information on event handler parameters, refer to descriptions within the interface.
430
430
  *
431
- * [View Demo](/form-library/examples/customize-survey-with-css/ (linkStyle))
431
+ * [View Demo](https://surveyjs.io/form-library/examples/customize-survey-with-css/ (linkStyle))
432
432
  * @see css
433
433
  */
434
434
  onUpdatePageCssClasses: EventBase<SurveyModel, UpdatePageCssClassesEvent>;
@@ -437,7 +437,7 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
437
437
  *
438
438
  * For information on event handler parameters, refer to descriptions within the interface.
439
439
  *
440
- * [View Demo](/form-library/examples/customize-survey-with-css/ (linkStyle))
440
+ * [View Demo](https://surveyjs.io/form-library/examples/customize-survey-with-css/ (linkStyle))
441
441
  * @see css
442
442
  */
443
443
  onUpdateChoiceItemCss: EventBase<SurveyModel, UpdateChoiceItemCssEvent>;
@@ -529,7 +529,7 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
529
529
  */
530
530
  onMatrixRowAdding: EventBase<SurveyModel, MatrixBeforeRowAddedEvent>;
531
531
  /**
532
- * This event is obsolete. Use the [`onMatrixRowAdding`](/form-library/documentation/api-reference/survey-data-model#onMatrixRowAdding) event instead.
532
+ * This event is obsolete. Use the [`onMatrixRowAdding`](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#onMatrixRowAdding) event instead.
533
533
  */
534
534
  onMatrixBeforeRowAdded: EventBase<SurveyModel, MatrixBeforeRowAddedEvent>;
535
535
  /**
@@ -549,7 +549,7 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
549
549
  */
550
550
  onMatrixRenderRemoveButton: EventBase<SurveyModel, MatrixAllowRemoveRowEvent>;
551
551
  /**
552
- * This event is obsolete. Use the [`onMatrixRenderRemoveButton`](/form-library/documentation/api-reference/survey-data-model#onMatrixRenderRemoveButton) event instead.
552
+ * This event is obsolete. Use the [`onMatrixRenderRemoveButton`](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#onMatrixRenderRemoveButton) event instead.
553
553
  */
554
554
  onMatrixAllowRemoveRow: EventBase<SurveyModel, MatrixAllowRemoveRowEvent>;
555
555
  /**
@@ -568,7 +568,7 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
568
568
  */
569
569
  onAfterRenderMatrixCell: EventBase<SurveyModel, MatrixAfterCellRenderEvent>;
570
570
  /**
571
- * This event is obsolete. Use the [`onAfterRenderMatrixCell`](/form-library/documentation/api-reference/survey-data-model#onAfterRenderMatrixCell) event instead.
571
+ * This event is obsolete. Use the [`onAfterRenderMatrixCell`](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#onAfterRenderMatrixCell) event instead.
572
572
  */
573
573
  onMatrixAfterCellRender: EventBase<SurveyModel, MatrixAfterCellRenderEvent>;
574
574
  /**
@@ -626,7 +626,7 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
626
626
  *
627
627
  * For information on event handler parameters, refer to descriptions within the interface.
628
628
  *
629
- * [View Demo](/form-library/examples/tabbed-interface-for-duplicate-group-option/ (linkStyle))
629
+ * [View Demo](https://surveyjs.io/form-library/examples/tabbed-interface-for-duplicate-group-option/ (linkStyle))
630
630
  */
631
631
  onGetDynamicPanelTabTitle: EventBase<SurveyModel, DynamicPanelGetTabTitleEvent>;
632
632
  /**
@@ -720,7 +720,7 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
720
720
  /**
721
721
  * Gets or sets an object in which keys are UI elements and values are CSS classes applied to them.
722
722
  *
723
- * [View Demo](/form-library/examples/customize-survey-with-css/ (linkStyle))
723
+ * [View Demo](https://surveyjs.io/form-library/examples/customize-survey-with-css/ (linkStyle))
724
724
  */
725
725
  get css(): any;
726
726
  set css(value: any);
@@ -1907,7 +1907,7 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
1907
1907
  private changeCurrentPageFromPreview;
1908
1908
  private origionalPages;
1909
1909
  protected onQuestionsOnPageModeChanged(oldValue: string): void;
1910
- private restoreOrigionalPages;
1910
+ private restoreOriginalPages;
1911
1911
  private getPageStartIndex;
1912
1912
  private setupPagesForPageModes;
1913
1913
  private createPagesForQuestionOnPageMode;
@@ -2696,8 +2696,8 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
2696
2696
  /**
2697
2697
  * Applies a specified theme to the survey.
2698
2698
  *
2699
- * [Themes & Styles](/form-library/documentation/manage-default-themes-and-styles (linkStyle))
2700
- * @param theme An [`ITheme`](/form-library/documentation/api-reference/itheme) object with theme settings.
2699
+ * [Themes & Styles](https://surveyjs.io/form-library/documentation/manage-default-themes-and-styles (linkStyle))
2700
+ * @param theme An [`ITheme`](https://surveyjs.io/form-library/documentation/api-reference/itheme) object with theme settings.
2701
2701
  */
2702
2702
  applyTheme(theme: ITheme): void;
2703
2703
  themeChanged(theme: ITheme): void;