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.
- package/defaultV2.css +8 -8
- package/defaultV2.css.map +1 -1
- package/defaultV2.fontless.css +8 -8
- package/defaultV2.fontless.css.map +1 -1
- package/defaultV2.fontless.min.css +2 -2
- package/defaultV2.min.css +2 -2
- package/i18n/arabic.js +2 -4
- package/i18n/arabic.js.map +1 -1
- package/i18n/arabic.min.js +2 -2
- package/i18n/basque.js +2 -3
- package/i18n/basque.js.map +1 -1
- package/i18n/basque.min.js +2 -2
- package/i18n/bulgarian.js +2 -3
- package/i18n/bulgarian.js.map +1 -1
- package/i18n/bulgarian.min.js +2 -2
- package/i18n/catalan.js +2 -3
- package/i18n/catalan.js.map +1 -1
- package/i18n/catalan.min.js +2 -2
- package/i18n/croatian.js +2 -3
- package/i18n/croatian.js.map +1 -1
- package/i18n/croatian.min.js +2 -2
- package/i18n/czech.js +2 -3
- package/i18n/czech.js.map +1 -1
- package/i18n/czech.min.js +2 -2
- package/i18n/danish.js +2 -3
- package/i18n/danish.js.map +1 -1
- package/i18n/danish.min.js +2 -2
- package/i18n/dutch.js +2 -3
- package/i18n/dutch.js.map +1 -1
- package/i18n/dutch.min.js +2 -2
- package/i18n/english.js +2 -3
- package/i18n/english.js.map +1 -1
- package/i18n/english.min.js +1 -1
- package/i18n/estonian.js +2 -3
- package/i18n/estonian.js.map +1 -1
- package/i18n/estonian.min.js +2 -2
- package/i18n/finnish.js +2 -3
- package/i18n/finnish.js.map +1 -1
- package/i18n/finnish.min.js +2 -2
- package/i18n/french.js +2 -3
- package/i18n/french.js.map +1 -1
- package/i18n/french.min.js +2 -2
- package/i18n/georgian.js +2 -3
- package/i18n/georgian.js.map +1 -1
- package/i18n/georgian.min.js +2 -2
- package/i18n/german.js +2 -3
- package/i18n/german.js.map +1 -1
- package/i18n/german.min.js +2 -2
- package/i18n/greek.js +2 -3
- package/i18n/greek.js.map +1 -1
- package/i18n/greek.min.js +2 -2
- package/i18n/hebrew.js +2 -3
- package/i18n/hebrew.js.map +1 -1
- package/i18n/hebrew.min.js +2 -2
- package/i18n/hindi.js +2 -3
- package/i18n/hindi.js.map +1 -1
- package/i18n/hindi.min.js +2 -2
- package/i18n/hungarian.js +2 -3
- package/i18n/hungarian.js.map +1 -1
- package/i18n/hungarian.min.js +2 -2
- package/i18n/icelandic.js +2 -3
- package/i18n/icelandic.js.map +1 -1
- package/i18n/icelandic.min.js +2 -2
- package/i18n/index.js +51 -102
- package/i18n/index.js.map +1 -1
- package/i18n/index.min.js +2 -2
- package/i18n/indonesian.js +2 -3
- package/i18n/indonesian.js.map +1 -1
- package/i18n/indonesian.min.js +2 -2
- package/i18n/italian.js +2 -3
- package/i18n/italian.js.map +1 -1
- package/i18n/italian.min.js +2 -2
- package/i18n/japanese.js +2 -3
- package/i18n/japanese.js.map +1 -1
- package/i18n/japanese.min.js +2 -2
- package/i18n/kazakh.js +2 -3
- package/i18n/kazakh.js.map +1 -1
- package/i18n/kazakh.min.js +2 -2
- package/i18n/korean.js +2 -3
- package/i18n/korean.js.map +1 -1
- package/i18n/korean.min.js +2 -2
- package/i18n/latvian.js +2 -3
- package/i18n/latvian.js.map +1 -1
- package/i18n/latvian.min.js +2 -2
- package/i18n/lithuanian.js +2 -3
- package/i18n/lithuanian.js.map +1 -1
- package/i18n/lithuanian.min.js +2 -2
- package/i18n/macedonian.js +2 -3
- package/i18n/macedonian.js.map +1 -1
- package/i18n/macedonian.min.js +2 -2
- package/i18n/malay.js +2 -3
- package/i18n/malay.js.map +1 -1
- package/i18n/malay.min.js +2 -2
- package/i18n/nl-BE.js +3 -5
- package/i18n/nl-BE.js.map +1 -1
- package/i18n/nl-BE.min.js +2 -2
- package/i18n/norwegian.js +2 -3
- package/i18n/norwegian.js.map +1 -1
- package/i18n/norwegian.min.js +2 -2
- package/i18n/persian.js +2 -3
- package/i18n/persian.js.map +1 -1
- package/i18n/persian.min.js +2 -2
- package/i18n/philippines.js +2 -3
- package/i18n/philippines.js.map +1 -1
- package/i18n/philippines.min.js +2 -2
- package/i18n/polish.js +2 -3
- package/i18n/polish.js.map +1 -1
- package/i18n/polish.min.js +2 -2
- package/i18n/portuguese-br.js +2 -3
- package/i18n/portuguese-br.js.map +1 -1
- package/i18n/portuguese-br.min.js +2 -2
- package/i18n/portuguese.js +2 -3
- package/i18n/portuguese.js.map +1 -1
- package/i18n/portuguese.min.js +2 -2
- package/i18n/romanian.js +2 -3
- package/i18n/romanian.js.map +1 -1
- package/i18n/romanian.min.js +2 -2
- package/i18n/russian.js +2 -3
- package/i18n/russian.js.map +1 -1
- package/i18n/russian.min.js +2 -2
- package/i18n/serbian.js +2 -3
- package/i18n/serbian.js.map +1 -1
- package/i18n/serbian.min.js +2 -2
- package/i18n/simplified-chinese.js +2 -3
- package/i18n/simplified-chinese.js.map +1 -1
- package/i18n/simplified-chinese.min.js +2 -2
- package/i18n/slovak.js +2 -3
- package/i18n/slovak.js.map +1 -1
- package/i18n/slovak.min.js +2 -2
- package/i18n/spanish.js +2 -3
- package/i18n/spanish.js.map +1 -1
- package/i18n/spanish.min.js +2 -2
- package/i18n/swahili.js +2 -3
- package/i18n/swahili.js.map +1 -1
- package/i18n/swahili.min.js +2 -2
- package/i18n/swedish.js +2 -3
- package/i18n/swedish.js.map +1 -1
- package/i18n/swedish.min.js +2 -2
- package/i18n/tajik.js +2 -3
- package/i18n/tajik.js.map +1 -1
- package/i18n/tajik.min.js +2 -2
- package/i18n/telugu.js +2 -3
- package/i18n/telugu.js.map +1 -1
- package/i18n/telugu.min.js +2 -2
- package/i18n/thai.js +2 -3
- package/i18n/thai.js.map +1 -1
- package/i18n/thai.min.js +2 -2
- package/i18n/traditional-chinese.js +2 -3
- package/i18n/traditional-chinese.js.map +1 -1
- package/i18n/traditional-chinese.min.js +2 -2
- package/i18n/turkish.js +2 -3
- package/i18n/turkish.js.map +1 -1
- package/i18n/turkish.min.js +2 -2
- package/i18n/ukrainian.js +2 -3
- package/i18n/ukrainian.js.map +1 -1
- package/i18n/ukrainian.min.js +2 -2
- package/i18n/urdu.js +2 -3
- package/i18n/urdu.js.map +1 -1
- package/i18n/urdu.min.js +2 -2
- package/i18n/vietnamese.js +2 -3
- package/i18n/vietnamese.js.map +1 -1
- package/i18n/vietnamese.min.js +2 -2
- package/i18n/welsh.js +2 -3
- package/i18n/welsh.js.map +1 -1
- package/i18n/welsh.min.js +2 -2
- package/modern.css +1 -1
- package/modern.fontless.css +1 -1
- package/modern.fontless.min.css +1 -1
- package/modern.min.css +1 -1
- package/package.json +1 -1
- package/plugins/bootstrap-integration/index.js +1 -1
- package/plugins/bootstrap-integration/index.min.js +1 -1
- package/plugins/bootstrap-material-integration/index.js +1 -1
- package/plugins/bootstrap-material-integration/index.min.js +1 -1
- package/survey.core.js +252 -120
- package/survey.core.js.map +1 -1
- package/survey.core.min.js +3 -3
- package/survey.css +1 -1
- package/survey.i18n.js +51 -102
- package/survey.i18n.js.map +1 -1
- package/survey.i18n.min.js +2 -2
- package/survey.min.css +1 -1
- package/themes/borderless-dark-panelless.js +1 -1
- package/themes/borderless-dark-panelless.min.js +1 -1
- package/themes/borderless-dark.js +1 -1
- package/themes/borderless-dark.min.js +1 -1
- package/themes/borderless-light-panelless..js +1 -1
- package/themes/borderless-light-panelless..min.js +1 -1
- package/themes/borderless-light.js +1 -1
- package/themes/borderless-light.min.js +1 -1
- package/themes/contrast-dark-panelless.js +1 -1
- package/themes/contrast-dark-panelless.min.js +1 -1
- package/themes/contrast-dark.js +1 -1
- package/themes/contrast-dark.min.js +1 -1
- package/themes/contrast-light-panelless.js +1 -1
- package/themes/contrast-light-panelless.min.js +1 -1
- package/themes/contrast-light.js +1 -1
- package/themes/contrast-light.min.js +1 -1
- package/themes/default-dark-panelless.js +1 -1
- package/themes/default-dark-panelless.min.js +1 -1
- package/themes/default-dark.js +1 -1
- package/themes/default-dark.min.js +1 -1
- package/themes/default-light-panelless.js +1 -1
- package/themes/default-light-panelless.min.js +1 -1
- package/themes/default-light.js +1 -1
- package/themes/default-light.min.js +1 -1
- package/themes/doubleborder-dark-panelless.js +1 -1
- package/themes/doubleborder-dark-panelless.min.js +1 -1
- package/themes/doubleborder-dark.js +1 -1
- package/themes/doubleborder-dark.min.js +1 -1
- package/themes/doubleborder-light-panelles.js +1 -1
- package/themes/doubleborder-light-panelles.min.js +1 -1
- package/themes/doubleborder-light.js +1 -1
- package/themes/doubleborder-light.min.js +1 -1
- package/themes/flat-dark-panelless.js +1 -1
- package/themes/flat-dark-panelless.min.js +1 -1
- package/themes/flat-dark.js +1 -1
- package/themes/flat-dark.min.js +1 -1
- package/themes/flat-light-panelless.js +1 -1
- package/themes/flat-light-panelless.min.js +1 -1
- package/themes/flat-light.js +1 -1
- package/themes/flat-light.min.js +1 -1
- package/themes/index.js +1 -1
- package/themes/index.min.js +1 -1
- package/themes/layered-dark-panelless.js +1 -1
- package/themes/layered-dark-panelless.min.js +1 -1
- package/themes/layered-dark.js +1 -1
- package/themes/layered-dark.min.js +1 -1
- package/themes/layered-light-panelless.js +1 -1
- package/themes/layered-light-panelless.min.js +1 -1
- package/themes/layered-light.js +1 -1
- package/themes/layered-light.min.js +1 -1
- package/themes/plain-dark-panelless.js +1 -1
- package/themes/plain-dark-panelless.min.js +1 -1
- package/themes/plain-dark.js +1 -1
- package/themes/plain-dark.min.js +1 -1
- package/themes/plain-light-panelless.js +1 -1
- package/themes/plain-light-panelless.min.js +1 -1
- package/themes/plain-light.js +1 -1
- package/themes/plain-light.min.js +1 -1
- package/themes/sharp-dark-panelless.js +1 -1
- package/themes/sharp-dark-panelless.min.js +1 -1
- package/themes/sharp-dark.js +1 -1
- package/themes/sharp-dark.min.js +1 -1
- package/themes/sharp-light-panelless.js +1 -1
- package/themes/sharp-light-panelless.min.js +1 -1
- package/themes/sharp-light.js +1 -1
- package/themes/sharp-light.min.js +1 -1
- package/themes/solid-dark-panelless.js +1 -1
- package/themes/solid-dark-panelless.min.js +1 -1
- package/themes/solid-dark.js +1 -1
- package/themes/solid-dark.min.js +1 -1
- package/themes/solid-light-panelless.js +1 -1
- package/themes/solid-light-panelless.min.js +1 -1
- package/themes/solid-light.js +1 -1
- package/themes/solid-light.min.js +1 -1
- package/themes/three-dimensional-dark-panelless.js +1 -1
- package/themes/three-dimensional-dark-panelless.min.js +1 -1
- package/themes/three-dimensional-dark.js +1 -1
- package/themes/three-dimensional-dark.min.js +1 -1
- package/themes/three-dimensional-light-panelless.js +1 -1
- package/themes/three-dimensional-light-panelless.min.js +1 -1
- package/themes/three-dimensional-light.js +1 -1
- package/themes/three-dimensional-light.min.js +1 -1
- package/ts3.4/typings/packages/survey-core/src/conditions.d.ts +4 -0
- package/ts3.4/typings/packages/survey-core/src/expressions/expressions.d.ts +11 -5
- package/ts3.4/typings/packages/survey-core/src/question_baseselect.d.ts +0 -3
- package/ts3.4/typings/packages/survey-core/src/question_file.d.ts +1 -0
- package/ts3.4/typings/packages/survey-core/src/question_matrixdropdownrendered.d.ts +1 -0
- package/ts3.4/typings/packages/survey-core/src/question_multipletext.d.ts +9 -0
- package/ts3.4/typings/packages/survey-core/src/question_paneldynamic.d.ts +50 -37
- package/ts3.4/typings/packages/survey-core/src/question_text.d.ts +9 -0
- package/ts3.4/typings/packages/survey-core/src/surveyStrings.d.ts +7 -0
- package/ts3.4/typings/packages/survey-core/src/utils/camera.d.ts +2 -2
- package/typings/packages/survey-core/src/conditions.d.ts +4 -0
- package/typings/packages/survey-core/src/expressions/expressions.d.ts +11 -5
- package/typings/packages/survey-core/src/question_baseselect.d.ts +0 -3
- package/typings/packages/survey-core/src/question_file.d.ts +1 -0
- package/typings/packages/survey-core/src/question_matrixdropdownrendered.d.ts +1 -0
- package/typings/packages/survey-core/src/question_multipletext.d.ts +9 -0
- package/typings/packages/survey-core/src/question_paneldynamic.d.ts +49 -36
- package/typings/packages/survey-core/src/question_text.d.ts +9 -0
- package/typings/packages/survey-core/src/surveyStrings.d.ts +7 -0
- 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 [`
|
|
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
|
|
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 `
|
|
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
|
|
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 `
|
|
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
|
|
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 `
|
|
248
|
-
* @see
|
|
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 `
|
|
256
|
-
* @see
|
|
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 `
|
|
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
|
|
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
|
-
*
|
|
438
|
-
* @
|
|
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
|
-
*
|
|
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) -
|
|
449
|
-
* - `"
|
|
450
|
-
* - `"
|
|
451
|
-
*
|
|
452
|
-
*
|
|
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
|
-
|
|
455
|
-
|
|
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
|
|
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 [`
|
|
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 `
|
|
551
|
-
* @see
|
|
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(
|
|
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(
|
|
19
|
+
snap(videoElement: HTMLVideoElement, callback: BlobCallback): boolean;
|
|
20
20
|
private canFlipValue;
|
|
21
21
|
private updateCanFlipValue;
|
|
22
22
|
private onCanFlipChangedCallback?;
|