survey-core 1.11.12 → 1.11.13

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 (284) hide show
  1. package/defaultV2.css +8 -8
  2. package/defaultV2.css.map +1 -1
  3. package/defaultV2.fontless.css +8 -8
  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 +2 -4
  8. package/i18n/arabic.js.map +1 -1
  9. package/i18n/arabic.min.js +2 -2
  10. package/i18n/basque.js +2 -3
  11. package/i18n/basque.js.map +1 -1
  12. package/i18n/basque.min.js +2 -2
  13. package/i18n/bulgarian.js +2 -3
  14. package/i18n/bulgarian.js.map +1 -1
  15. package/i18n/bulgarian.min.js +2 -2
  16. package/i18n/catalan.js +2 -3
  17. package/i18n/catalan.js.map +1 -1
  18. package/i18n/catalan.min.js +2 -2
  19. package/i18n/croatian.js +2 -3
  20. package/i18n/croatian.js.map +1 -1
  21. package/i18n/croatian.min.js +2 -2
  22. package/i18n/czech.js +2 -3
  23. package/i18n/czech.js.map +1 -1
  24. package/i18n/czech.min.js +2 -2
  25. package/i18n/danish.js +2 -3
  26. package/i18n/danish.js.map +1 -1
  27. package/i18n/danish.min.js +2 -2
  28. package/i18n/dutch.js +2 -3
  29. package/i18n/dutch.js.map +1 -1
  30. package/i18n/dutch.min.js +2 -2
  31. package/i18n/english.js +2 -3
  32. package/i18n/english.js.map +1 -1
  33. package/i18n/english.min.js +1 -1
  34. package/i18n/estonian.js +2 -3
  35. package/i18n/estonian.js.map +1 -1
  36. package/i18n/estonian.min.js +2 -2
  37. package/i18n/finnish.js +2 -3
  38. package/i18n/finnish.js.map +1 -1
  39. package/i18n/finnish.min.js +2 -2
  40. package/i18n/french.js +2 -3
  41. package/i18n/french.js.map +1 -1
  42. package/i18n/french.min.js +2 -2
  43. package/i18n/georgian.js +2 -3
  44. package/i18n/georgian.js.map +1 -1
  45. package/i18n/georgian.min.js +2 -2
  46. package/i18n/german.js +2 -3
  47. package/i18n/german.js.map +1 -1
  48. package/i18n/german.min.js +2 -2
  49. package/i18n/greek.js +2 -3
  50. package/i18n/greek.js.map +1 -1
  51. package/i18n/greek.min.js +2 -2
  52. package/i18n/hebrew.js +2 -3
  53. package/i18n/hebrew.js.map +1 -1
  54. package/i18n/hebrew.min.js +2 -2
  55. package/i18n/hindi.js +2 -3
  56. package/i18n/hindi.js.map +1 -1
  57. package/i18n/hindi.min.js +2 -2
  58. package/i18n/hungarian.js +2 -3
  59. package/i18n/hungarian.js.map +1 -1
  60. package/i18n/hungarian.min.js +2 -2
  61. package/i18n/icelandic.js +2 -3
  62. package/i18n/icelandic.js.map +1 -1
  63. package/i18n/icelandic.min.js +2 -2
  64. package/i18n/index.js +51 -102
  65. package/i18n/index.js.map +1 -1
  66. package/i18n/index.min.js +2 -2
  67. package/i18n/indonesian.js +2 -3
  68. package/i18n/indonesian.js.map +1 -1
  69. package/i18n/indonesian.min.js +2 -2
  70. package/i18n/italian.js +2 -3
  71. package/i18n/italian.js.map +1 -1
  72. package/i18n/italian.min.js +2 -2
  73. package/i18n/japanese.js +2 -3
  74. package/i18n/japanese.js.map +1 -1
  75. package/i18n/japanese.min.js +2 -2
  76. package/i18n/kazakh.js +2 -3
  77. package/i18n/kazakh.js.map +1 -1
  78. package/i18n/kazakh.min.js +2 -2
  79. package/i18n/korean.js +2 -3
  80. package/i18n/korean.js.map +1 -1
  81. package/i18n/korean.min.js +2 -2
  82. package/i18n/latvian.js +2 -3
  83. package/i18n/latvian.js.map +1 -1
  84. package/i18n/latvian.min.js +2 -2
  85. package/i18n/lithuanian.js +2 -3
  86. package/i18n/lithuanian.js.map +1 -1
  87. package/i18n/lithuanian.min.js +2 -2
  88. package/i18n/macedonian.js +2 -3
  89. package/i18n/macedonian.js.map +1 -1
  90. package/i18n/macedonian.min.js +2 -2
  91. package/i18n/malay.js +2 -3
  92. package/i18n/malay.js.map +1 -1
  93. package/i18n/malay.min.js +2 -2
  94. package/i18n/nl-BE.js +3 -5
  95. package/i18n/nl-BE.js.map +1 -1
  96. package/i18n/nl-BE.min.js +2 -2
  97. package/i18n/norwegian.js +2 -3
  98. package/i18n/norwegian.js.map +1 -1
  99. package/i18n/norwegian.min.js +2 -2
  100. package/i18n/persian.js +2 -3
  101. package/i18n/persian.js.map +1 -1
  102. package/i18n/persian.min.js +2 -2
  103. package/i18n/philippines.js +2 -3
  104. package/i18n/philippines.js.map +1 -1
  105. package/i18n/philippines.min.js +2 -2
  106. package/i18n/polish.js +2 -3
  107. package/i18n/polish.js.map +1 -1
  108. package/i18n/polish.min.js +2 -2
  109. package/i18n/portuguese-br.js +2 -3
  110. package/i18n/portuguese-br.js.map +1 -1
  111. package/i18n/portuguese-br.min.js +2 -2
  112. package/i18n/portuguese.js +2 -3
  113. package/i18n/portuguese.js.map +1 -1
  114. package/i18n/portuguese.min.js +2 -2
  115. package/i18n/romanian.js +2 -3
  116. package/i18n/romanian.js.map +1 -1
  117. package/i18n/romanian.min.js +2 -2
  118. package/i18n/russian.js +2 -3
  119. package/i18n/russian.js.map +1 -1
  120. package/i18n/russian.min.js +2 -2
  121. package/i18n/serbian.js +2 -3
  122. package/i18n/serbian.js.map +1 -1
  123. package/i18n/serbian.min.js +2 -2
  124. package/i18n/simplified-chinese.js +2 -3
  125. package/i18n/simplified-chinese.js.map +1 -1
  126. package/i18n/simplified-chinese.min.js +2 -2
  127. package/i18n/slovak.js +2 -3
  128. package/i18n/slovak.js.map +1 -1
  129. package/i18n/slovak.min.js +2 -2
  130. package/i18n/spanish.js +2 -3
  131. package/i18n/spanish.js.map +1 -1
  132. package/i18n/spanish.min.js +2 -2
  133. package/i18n/swahili.js +2 -3
  134. package/i18n/swahili.js.map +1 -1
  135. package/i18n/swahili.min.js +2 -2
  136. package/i18n/swedish.js +2 -3
  137. package/i18n/swedish.js.map +1 -1
  138. package/i18n/swedish.min.js +2 -2
  139. package/i18n/tajik.js +2 -3
  140. package/i18n/tajik.js.map +1 -1
  141. package/i18n/tajik.min.js +2 -2
  142. package/i18n/telugu.js +2 -3
  143. package/i18n/telugu.js.map +1 -1
  144. package/i18n/telugu.min.js +2 -2
  145. package/i18n/thai.js +2 -3
  146. package/i18n/thai.js.map +1 -1
  147. package/i18n/thai.min.js +2 -2
  148. package/i18n/traditional-chinese.js +2 -3
  149. package/i18n/traditional-chinese.js.map +1 -1
  150. package/i18n/traditional-chinese.min.js +2 -2
  151. package/i18n/turkish.js +2 -3
  152. package/i18n/turkish.js.map +1 -1
  153. package/i18n/turkish.min.js +2 -2
  154. package/i18n/ukrainian.js +2 -3
  155. package/i18n/ukrainian.js.map +1 -1
  156. package/i18n/ukrainian.min.js +2 -2
  157. package/i18n/urdu.js +2 -3
  158. package/i18n/urdu.js.map +1 -1
  159. package/i18n/urdu.min.js +2 -2
  160. package/i18n/vietnamese.js +2 -3
  161. package/i18n/vietnamese.js.map +1 -1
  162. package/i18n/vietnamese.min.js +2 -2
  163. package/i18n/welsh.js +2 -3
  164. package/i18n/welsh.js.map +1 -1
  165. package/i18n/welsh.min.js +2 -2
  166. package/modern.css +1 -1
  167. package/modern.fontless.css +1 -1
  168. package/modern.fontless.min.css +1 -1
  169. package/modern.min.css +1 -1
  170. package/package.json +1 -1
  171. package/plugins/bootstrap-integration/index.js +1 -1
  172. package/plugins/bootstrap-integration/index.min.js +1 -1
  173. package/plugins/bootstrap-material-integration/index.js +1 -1
  174. package/plugins/bootstrap-material-integration/index.min.js +1 -1
  175. package/survey.core.js +252 -120
  176. package/survey.core.js.map +1 -1
  177. package/survey.core.min.js +3 -3
  178. package/survey.css +1 -1
  179. package/survey.i18n.js +51 -102
  180. package/survey.i18n.js.map +1 -1
  181. package/survey.i18n.min.js +2 -2
  182. package/survey.min.css +1 -1
  183. package/themes/borderless-dark-panelless.js +1 -1
  184. package/themes/borderless-dark-panelless.min.js +1 -1
  185. package/themes/borderless-dark.js +1 -1
  186. package/themes/borderless-dark.min.js +1 -1
  187. package/themes/borderless-light-panelless..js +1 -1
  188. package/themes/borderless-light-panelless..min.js +1 -1
  189. package/themes/borderless-light.js +1 -1
  190. package/themes/borderless-light.min.js +1 -1
  191. package/themes/contrast-dark-panelless.js +1 -1
  192. package/themes/contrast-dark-panelless.min.js +1 -1
  193. package/themes/contrast-dark.js +1 -1
  194. package/themes/contrast-dark.min.js +1 -1
  195. package/themes/contrast-light-panelless.js +1 -1
  196. package/themes/contrast-light-panelless.min.js +1 -1
  197. package/themes/contrast-light.js +1 -1
  198. package/themes/contrast-light.min.js +1 -1
  199. package/themes/default-dark-panelless.js +1 -1
  200. package/themes/default-dark-panelless.min.js +1 -1
  201. package/themes/default-dark.js +1 -1
  202. package/themes/default-dark.min.js +1 -1
  203. package/themes/default-light-panelless.js +1 -1
  204. package/themes/default-light-panelless.min.js +1 -1
  205. package/themes/default-light.js +1 -1
  206. package/themes/default-light.min.js +1 -1
  207. package/themes/doubleborder-dark-panelless.js +1 -1
  208. package/themes/doubleborder-dark-panelless.min.js +1 -1
  209. package/themes/doubleborder-dark.js +1 -1
  210. package/themes/doubleborder-dark.min.js +1 -1
  211. package/themes/doubleborder-light-panelles.js +1 -1
  212. package/themes/doubleborder-light-panelles.min.js +1 -1
  213. package/themes/doubleborder-light.js +1 -1
  214. package/themes/doubleborder-light.min.js +1 -1
  215. package/themes/flat-dark-panelless.js +1 -1
  216. package/themes/flat-dark-panelless.min.js +1 -1
  217. package/themes/flat-dark.js +1 -1
  218. package/themes/flat-dark.min.js +1 -1
  219. package/themes/flat-light-panelless.js +1 -1
  220. package/themes/flat-light-panelless.min.js +1 -1
  221. package/themes/flat-light.js +1 -1
  222. package/themes/flat-light.min.js +1 -1
  223. package/themes/index.js +1 -1
  224. package/themes/index.min.js +1 -1
  225. package/themes/layered-dark-panelless.js +1 -1
  226. package/themes/layered-dark-panelless.min.js +1 -1
  227. package/themes/layered-dark.js +1 -1
  228. package/themes/layered-dark.min.js +1 -1
  229. package/themes/layered-light-panelless.js +1 -1
  230. package/themes/layered-light-panelless.min.js +1 -1
  231. package/themes/layered-light.js +1 -1
  232. package/themes/layered-light.min.js +1 -1
  233. package/themes/plain-dark-panelless.js +1 -1
  234. package/themes/plain-dark-panelless.min.js +1 -1
  235. package/themes/plain-dark.js +1 -1
  236. package/themes/plain-dark.min.js +1 -1
  237. package/themes/plain-light-panelless.js +1 -1
  238. package/themes/plain-light-panelless.min.js +1 -1
  239. package/themes/plain-light.js +1 -1
  240. package/themes/plain-light.min.js +1 -1
  241. package/themes/sharp-dark-panelless.js +1 -1
  242. package/themes/sharp-dark-panelless.min.js +1 -1
  243. package/themes/sharp-dark.js +1 -1
  244. package/themes/sharp-dark.min.js +1 -1
  245. package/themes/sharp-light-panelless.js +1 -1
  246. package/themes/sharp-light-panelless.min.js +1 -1
  247. package/themes/sharp-light.js +1 -1
  248. package/themes/sharp-light.min.js +1 -1
  249. package/themes/solid-dark-panelless.js +1 -1
  250. package/themes/solid-dark-panelless.min.js +1 -1
  251. package/themes/solid-dark.js +1 -1
  252. package/themes/solid-dark.min.js +1 -1
  253. package/themes/solid-light-panelless.js +1 -1
  254. package/themes/solid-light-panelless.min.js +1 -1
  255. package/themes/solid-light.js +1 -1
  256. package/themes/solid-light.min.js +1 -1
  257. package/themes/three-dimensional-dark-panelless.js +1 -1
  258. package/themes/three-dimensional-dark-panelless.min.js +1 -1
  259. package/themes/three-dimensional-dark.js +1 -1
  260. package/themes/three-dimensional-dark.min.js +1 -1
  261. package/themes/three-dimensional-light-panelless.js +1 -1
  262. package/themes/three-dimensional-light-panelless.min.js +1 -1
  263. package/themes/three-dimensional-light.js +1 -1
  264. package/themes/three-dimensional-light.min.js +1 -1
  265. package/ts3.4/typings/packages/survey-core/src/conditions.d.ts +4 -0
  266. package/ts3.4/typings/packages/survey-core/src/expressions/expressions.d.ts +11 -5
  267. package/ts3.4/typings/packages/survey-core/src/question_baseselect.d.ts +0 -3
  268. package/ts3.4/typings/packages/survey-core/src/question_file.d.ts +1 -0
  269. package/ts3.4/typings/packages/survey-core/src/question_matrixdropdownrendered.d.ts +1 -0
  270. package/ts3.4/typings/packages/survey-core/src/question_multipletext.d.ts +9 -0
  271. package/ts3.4/typings/packages/survey-core/src/question_paneldynamic.d.ts +50 -37
  272. package/ts3.4/typings/packages/survey-core/src/question_text.d.ts +9 -0
  273. package/ts3.4/typings/packages/survey-core/src/surveyStrings.d.ts +7 -0
  274. package/ts3.4/typings/packages/survey-core/src/utils/camera.d.ts +2 -2
  275. package/typings/packages/survey-core/src/conditions.d.ts +4 -0
  276. package/typings/packages/survey-core/src/expressions/expressions.d.ts +11 -5
  277. package/typings/packages/survey-core/src/question_baseselect.d.ts +0 -3
  278. package/typings/packages/survey-core/src/question_file.d.ts +1 -0
  279. package/typings/packages/survey-core/src/question_matrixdropdownrendered.d.ts +1 -0
  280. package/typings/packages/survey-core/src/question_multipletext.d.ts +9 -0
  281. package/typings/packages/survey-core/src/question_paneldynamic.d.ts +49 -36
  282. package/typings/packages/survey-core/src/question_text.d.ts +9 -0
  283. package/typings/packages/survey-core/src/surveyStrings.d.ts +7 -0
  284. package/typings/packages/survey-core/src/utils/camera.d.ts +2 -2
@@ -114,7 +114,7 @@ export declare class QuestionPanelDynamicModel extends Question implements IQues
114
114
  set templateTitle(newValue: string);
115
115
  get locTemplateTitle(): LocalizableString;
116
116
  /**
117
- * A template for tab titles. Applies when [`renderMode`](https://surveyjs.io/form-library/documentation/api-reference/dynamic-panel-model#renderMode) is `"tab"`.
117
+ * A template for tab titles. Applies when [`displayMode`](https://surveyjs.io/form-library/documentation/api-reference/dynamic-panel-model#displayMode) is `"tab"`.
118
118
  *
119
119
  * The template can contain the following placeholders:
120
120
  *
@@ -126,7 +126,7 @@ export declare class QuestionPanelDynamicModel extends Question implements IQues
126
126
  * [View Demo](https://surveyjs.io/form-library/examples/tabbed-interface-for-duplicate-group-option/ (linkStyle))
127
127
  * @see templateTitle
128
128
  * @see tabTitlePlaceholder
129
- * @see renderMode
129
+ * @see displayMode
130
130
  */
131
131
  get templateTabTitle(): string;
132
132
  set templateTabTitle(newValue: string);
@@ -184,22 +184,22 @@ export declare class QuestionPanelDynamicModel extends Question implements IQues
184
184
  /**
185
185
  * A zero-based index of the currently displayed panel.
186
186
  *
187
- * When `renderMode` is `"list"` or Dynamic Panel is empty (`panelCount` is 0), this property contains -1.
187
+ * When `displayMode` is `"list"` or Dynamic Panel is empty (`panelCount` is 0), this property contains -1.
188
188
  * @see currentPanel
189
189
  * @see panels
190
190
  * @see panelCount
191
- * @see renderMode
191
+ * @see displayMode
192
192
  */
193
193
  get currentIndex(): number;
194
194
  set currentIndex(val: number);
195
195
  /**
196
196
  * A `PanelModel` object that is the currently displayed panel.
197
197
  *
198
- * When `renderMode` is `"list"` or Dynamic Panel is empty (`panelCount` is 0), this property contains `null`.
198
+ * When `displayMode` is `"list"` or Dynamic Panel is empty (`panelCount` is 0), this property contains `null`.
199
199
  * @see currentIndex
200
200
  * @see panels
201
201
  * @see panelCount
202
- * @see renderMode
202
+ * @see displayMode
203
203
  */
204
204
  get currentPanel(): PanelModel;
205
205
  set currentPanel(val: PanelModel);
@@ -244,16 +244,16 @@ export declare class QuestionPanelDynamicModel extends Question implements IQues
244
244
  set keyDuplicationError(val: string);
245
245
  get locKeyDuplicationError(): LocalizableString;
246
246
  /**
247
- * A caption for the Previous button. Applies only if `renderMode` is different from `"list"`.
248
- * @see renderMode
247
+ * A caption for the Previous button. Applies only if `displayMode` is different from `"list"`.
248
+ * @see displayMode
249
249
  * @see isPrevButtonVisible
250
250
  */
251
251
  get panelPrevText(): string;
252
252
  set panelPrevText(val: string);
253
253
  get locPanelPrevText(): LocalizableString;
254
254
  /**
255
- * A caption for the Next button. Applies only if `renderMode` is different from `"list"`.
256
- * @see renderMode
255
+ * A caption for the Next button. Applies only if `displayMode` is different from `"list"`.
256
+ * @see displayMode
257
257
  * @see isNextButtonVisible
258
258
  */
259
259
  get panelNextText(): string;
@@ -272,13 +272,7 @@ export declare class QuestionPanelDynamicModel extends Question implements IQues
272
272
  get panelRemoveText(): string;
273
273
  set panelRemoveText(val: string);
274
274
  get locPanelRemoveText(): LocalizableString;
275
- /**
276
- * Returns true when the renderMode equals to "progressTop" or "progressTopBottom"
277
- */
278
275
  get isProgressTopShowing(): boolean;
279
- /**
280
- * Returns true when the renderMode equals to "progressBottom" or "progressTopBottom"
281
- */
282
276
  get isProgressBottomShowing(): boolean;
283
277
  /**
284
278
  * Indicates whether the Previous button is visible.
@@ -296,9 +290,6 @@ export declare class QuestionPanelDynamicModel extends Question implements IQues
296
290
  */
297
291
  get isNextButtonVisible(): boolean;
298
292
  get isNextButtonShowing(): boolean;
299
- /**
300
- * Returns true when showRangeInProgress equals to true, renderMode doesn't equal to "list" and visiblePanelCount is >= 2.
301
- */
302
293
  get isRangeShowing(): boolean;
303
294
  getElementsInDesign(includeHidden?: boolean): Array<IElement>;
304
295
  private isAddingNewPanels;
@@ -323,7 +314,7 @@ export declare class QuestionPanelDynamicModel extends Question implements IQues
323
314
  */
324
315
  get visiblePanelCount(): number;
325
316
  /**
326
- * Specifies whether users can expand and collapse panels. Applies if `renderMode` is `"list"` and the `templateTitle` property is specified.
317
+ * Specifies whether users can expand and collapse panels. Applies if `displayMode` is `"list"` and the `templateTitle` property is specified.
327
318
  *
328
319
  * Possible values:
329
320
  *
@@ -331,7 +322,7 @@ export declare class QuestionPanelDynamicModel extends Question implements IQues
331
322
  * - `"expanded"` - All panels are displayed in full and can be collapsed in the UI.
332
323
  * - `"collapsed"` - All panels display only their titles and descriptions and can be expanded in the UI.
333
324
  * - `"firstExpanded"` - Only the first panel is displayed in full; other panels are collapsed and can be expanded in the UI.
334
- * @see renderMode
325
+ * @see displayMode
335
326
  * @see templateTitle
336
327
  */
337
328
  get panelsState(): string;
@@ -434,25 +425,47 @@ export declare class QuestionPanelDynamicModel extends Question implements IQues
434
425
  get panelRemoveButtonLocation(): string;
435
426
  set panelRemoveButtonLocation(val: string);
436
427
  /**
437
- * Shows the range from 1 to panelCount when renderMode doesn't equal to "list". Set to false to hide this element.
438
- * @see panelCount
439
- * @see renderMode
428
+ * Obsolete. Use the [`showProgressBar`](https://surveyjs.io/form-library/documentation/api-reference/dynamic-panel-model#showProgressBar) property instead.
429
+ * @deprecated
440
430
  */
441
431
  get showRangeInProgress(): boolean;
442
432
  set showRangeInProgress(val: boolean);
443
433
  /**
444
- * Specifies how to render panels.
434
+ * Obsolete. Use the [`displayMode`](https://surveyjs.io/form-library/documentation/api-reference/dynamic-panel-model#displayMode) property instead.
435
+ * @deprecated
436
+ */
437
+ get renderMode(): string;
438
+ set renderMode(val: string);
439
+ private updatePanelView;
440
+ /**
441
+ * Specifies how to display panels.
445
442
  *
446
443
  * Possible values:
447
444
  *
448
- * - `"list"` (default) - Renders panels one under the other. [View Demo](https://surveyjs.io/form-library/examples/how-to-use-expressions-in-dynamic-panel/)
449
- * - `"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/)
450
- * - `"progressBottom"` - Renders each panel panel as a card and displays a progress bar at the bottom.
451
- * - `"progressTopBottom"` - Renders each panel as a card and displays a progress bar at the top and bottom.
452
- * - `"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/)
445
+ * - `"list"` (default) - Displays panels one under the other. [View Demo](https://surveyjs.io/form-library/examples/duplicate-group-of-fields-in-form/)
446
+ * - `"carousel"` - Displays panels in a carousel. Users can switch between panels using navigation buttons.
447
+ * - `"tab"` - Displays 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/)
448
+ * @see showProgressBar
449
+ * @see progressBarLocation
453
450
  */
454
- get renderMode(): string;
455
- set renderMode(val: string);
451
+ displayMode: "list" | "carousel" | "tab";
452
+ /**
453
+ * Specifies whether to display the progress bar. Applies only if [`displayMode`](https://surveyjs.io/form-library/documentation/api-reference/dynamic-panel-model#displayMode) is `"carousel"`.
454
+ *
455
+ * Default value: `true`
456
+ * @see progressBarLocation
457
+ */
458
+ showProgressBar: true | false;
459
+ /**
460
+ * Specifies the alignment of the [progress bar](https://surveyjs.io/form-library/documentation/api-reference/dynamic-panel-model#showProgressBar) relative to the currently displayed panel. Applies only if [`displayMode`](https://surveyjs.io/form-library/documentation/api-reference/dynamic-panel-model#displayMode) is `"carousel"`.
461
+ *
462
+ * Possible values:
463
+ *
464
+ * - `"top"` (default) - Displays the progress bar at the top of the current panel.
465
+ * - `"bottom"` - Displays the progress bar at the bottom of the current panel.
466
+ * - `"topBottom"` - Displays the progress bar at the top and bottom of the current panel.
467
+ */
468
+ progressBarLocation: "top" | "bottom" | "topBottom";
456
469
  get tabAlign(): "center" | "left" | "right";
457
470
  set tabAlign(val: "center" | "left" | "right");
458
471
  get isRenderModeList(): boolean;
@@ -514,7 +527,7 @@ export declare class QuestionPanelDynamicModel extends Question implements IQues
514
527
  private isRowEmpty;
515
528
  /**
516
529
  * Add a new dynamic panel based on the template Panel. It checks if canAddPanel returns true and then calls addPanel method.
517
- * If a renderMode is different from "list" and the current panel has erros, then
530
+ * If a displayMode is different from "list" and the current panel has erros, then
518
531
  * @see template
519
532
  * @see panelCount
520
533
  * @see panels
@@ -525,7 +538,7 @@ export declare class QuestionPanelDynamicModel extends Question implements IQues
525
538
  private focusNewPanel;
526
539
  /**
527
540
  * Adds a new panel based on the [template](https://surveyjs.io/form-library/documentation/api-reference/dynamic-panel-model#template).
528
- * @param index *(Optional)* An index at which to insert the new panel. `undefined` adds the panel to the end or inserts it after the current panel if [`renderMode`](https://surveyjs.io/form-library/documentation/api-reference/dynamic-panel-model#renderMode) is `"tab"`. A negative index (for instance, -1) adds the panel to the end in all cases, regardless of the `renderMode` value.
541
+ * @param index *(Optional)* An index at which to insert the new panel. `undefined` adds the panel to the end or inserts it after the current panel if [`displayMode`](https://surveyjs.io/form-library/documentation/api-reference/dynamic-panel-model#renderMode) is `"tab"`. A negative index (for instance, -1) adds the panel to the end in all cases, regardless of the `displayMode` value.
529
542
  * @see panelCount
530
543
  * @see panels
531
544
  * @see allowAddPanel
@@ -547,8 +560,8 @@ export declare class QuestionPanelDynamicModel extends Question implements IQues
547
560
  removePanelUI(value: any): void;
548
561
  isRequireConfirmOnDelete(val: any): boolean;
549
562
  /**
550
- * Switches Dynamic Panel to the next panel. Returns `true` in case of success, or `false` if `renderMode` is `"list"` or the current panel contains validation errors.
551
- * @see renderMode
563
+ * Switches Dynamic Panel to the next panel. Returns `true` in case of success, or `false` if `displayMode` is `"list"` or the current panel contains validation errors.
564
+ * @see displayMode
552
565
  */
553
566
  goToNextPanel(): boolean;
554
567
  /**
@@ -34,6 +34,15 @@ export declare class QuestionTextModel extends QuestionTextBase {
34
34
  * @see maskSettings
35
35
  */
36
36
  maskType: string;
37
+ /**
38
+ * Specifies text alignment within the input field.
39
+ *
40
+ * Possible values:
41
+ *
42
+ * - `"left"` - Aligns input text to the left side.
43
+ * - `"right"` - Aligns input text to the right side.
44
+ * - `"auto"` (default) - Applies right alignment if a [numeric or currency input mask](https://surveyjs.io/form-library/documentation/api-reference/text-entry-question-model#maskType) is specified. Otherwise, applies left alignment.
45
+ */
37
46
  inputTextAlignment: "left" | "right" | "auto";
38
47
  get maskTypeIsEmpty(): boolean;
39
48
  /**
@@ -7,14 +7,21 @@ export declare var surveyLocalization: {
7
7
  localeNames: {
8
8
  [index: string]: any;
9
9
  };
10
+ localeNamesInEnglish: {
11
+ [index: string]: any;
12
+ };
10
13
  localeDirections: {
11
14
  [index: string]: any;
12
15
  };
13
16
  supportedLocales: any[];
17
+ useEnglishNames: boolean;
18
+ showNamesInEnglish: boolean;
19
+ setupLocale(loc: string, strings: any, name: string, nameInEngish: string, direction?: string): void;
14
20
  currentLocale: string;
15
21
  defaultLocale: string;
16
22
  getLocaleStrings(loc: string): any;
17
23
  getString: (strName: string, locale?: string) => any;
24
+ getLocaleName(loc: string, inEnglish?: boolean): string;
18
25
  getLocales: (removeDefaultLoc?: boolean) => Array<string>;
19
26
  onGetExternalString: (name: string, locale: string) => string;
20
27
  };
@@ -11,12 +11,12 @@ export declare class Camera {
11
11
  width?: number;
12
12
  height?: number;
13
13
  }): MediaStreamConstraints;
14
- startVideo(videoElementId: string, callback: (stream: MediaStream) => void, imageWidth?: number, imageHeight?: number): void;
14
+ startVideo(videoElement: HTMLVideoElement, callback: (stream: MediaStream) => void, imageWidth?: number, imageHeight?: number): void;
15
15
  getImageSize(videoEl: HTMLVideoElement): {
16
16
  width: number;
17
17
  height: number;
18
18
  };
19
- snap(videoElementId: string, callback: BlobCallback): boolean;
19
+ snap(videoElement: HTMLVideoElement, callback: BlobCallback): boolean;
20
20
  private canFlipValue;
21
21
  private updateCanFlipValue;
22
22
  private onCanFlipChangedCallback?;