survey-core 1.9.123 → 1.9.125
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 +12 -10
- package/defaultV2.css.map +1 -1
- package/defaultV2.fontless.css +12 -10
- package/defaultV2.fontless.css.map +1 -1
- package/defaultV2.fontless.min.css +3 -3
- package/defaultV2.min.css +3 -3
- package/i18n/arabic.js +15 -4
- package/i18n/arabic.js.map +1 -1
- package/i18n/arabic.min.js +3 -3
- package/i18n/basque.js +15 -4
- package/i18n/basque.js.map +1 -1
- package/i18n/basque.min.js +3 -3
- package/i18n/bulgarian.js +15 -4
- package/i18n/bulgarian.js.map +1 -1
- package/i18n/bulgarian.min.js +3 -3
- package/i18n/catalan.js +15 -4
- package/i18n/catalan.js.map +1 -1
- package/i18n/catalan.min.js +3 -3
- package/i18n/croatian.js +15 -4
- package/i18n/croatian.js.map +1 -1
- package/i18n/croatian.min.js +3 -3
- package/i18n/czech.js +15 -4
- package/i18n/czech.js.map +1 -1
- package/i18n/czech.min.js +3 -3
- package/i18n/danish.js +15 -4
- package/i18n/danish.js.map +1 -1
- package/i18n/danish.min.js +3 -3
- package/i18n/dutch.js +15 -4
- package/i18n/dutch.js.map +1 -1
- package/i18n/dutch.min.js +3 -3
- package/i18n/english.js +3 -2
- package/i18n/english.js.map +1 -1
- package/i18n/english.min.js +3 -3
- package/i18n/estonian.js +15 -4
- package/i18n/estonian.js.map +1 -1
- package/i18n/estonian.min.js +3 -3
- package/i18n/finnish.js +15 -4
- package/i18n/finnish.js.map +1 -1
- package/i18n/finnish.min.js +3 -3
- package/i18n/french.js +15 -4
- package/i18n/french.js.map +1 -1
- package/i18n/french.min.js +3 -3
- package/i18n/georgian.js +15 -4
- package/i18n/georgian.js.map +1 -1
- package/i18n/georgian.min.js +3 -3
- package/i18n/german.js +15 -4
- package/i18n/german.js.map +1 -1
- package/i18n/german.min.js +3 -3
- package/i18n/greek.js +15 -4
- package/i18n/greek.js.map +1 -1
- package/i18n/greek.min.js +3 -3
- package/i18n/hebrew.js +15 -4
- package/i18n/hebrew.js.map +1 -1
- package/i18n/hebrew.min.js +3 -3
- package/i18n/hindi.js +15 -4
- package/i18n/hindi.js.map +1 -1
- package/i18n/hindi.min.js +3 -3
- package/i18n/hungarian.js +15 -4
- package/i18n/hungarian.js.map +1 -1
- package/i18n/hungarian.min.js +3 -3
- package/i18n/icelandic.js +15 -4
- package/i18n/icelandic.js.map +1 -1
- package/i18n/icelandic.min.js +3 -3
- package/i18n/index.js +613 -96
- package/i18n/index.js.map +1 -1
- package/i18n/index.min.js +3 -3
- package/i18n/indonesian.js +15 -4
- package/i18n/indonesian.js.map +1 -1
- package/i18n/indonesian.min.js +3 -3
- package/i18n/italian.js +15 -4
- package/i18n/italian.js.map +1 -1
- package/i18n/italian.min.js +3 -3
- package/i18n/japanese.js +15 -4
- package/i18n/japanese.js.map +1 -1
- package/i18n/japanese.min.js +3 -3
- package/i18n/kazakh.js +15 -4
- package/i18n/kazakh.js.map +1 -1
- package/i18n/kazakh.min.js +3 -3
- package/i18n/korean.js +15 -4
- package/i18n/korean.js.map +1 -1
- package/i18n/korean.min.js +3 -3
- package/i18n/latvian.js +15 -4
- package/i18n/latvian.js.map +1 -1
- package/i18n/latvian.min.js +3 -3
- package/i18n/lithuanian.js +15 -4
- package/i18n/lithuanian.js.map +1 -1
- package/i18n/lithuanian.min.js +3 -3
- package/i18n/macedonian.js +15 -4
- package/i18n/macedonian.js.map +1 -1
- package/i18n/macedonian.min.js +3 -3
- package/i18n/malay.js +15 -4
- package/i18n/malay.js.map +1 -1
- package/i18n/malay.min.js +3 -3
- package/i18n/nl-BE.js +15 -4
- package/i18n/nl-BE.js.map +1 -1
- package/i18n/nl-BE.min.js +3 -3
- package/i18n/norwegian.js +15 -4
- package/i18n/norwegian.js.map +1 -1
- package/i18n/norwegian.min.js +3 -3
- package/i18n/persian.js +15 -4
- package/i18n/persian.js.map +1 -1
- package/i18n/persian.min.js +3 -3
- package/i18n/polish.js +15 -4
- package/i18n/polish.js.map +1 -1
- package/i18n/polish.min.js +3 -3
- package/i18n/portuguese-br.js +15 -4
- package/i18n/portuguese-br.js.map +1 -1
- package/i18n/portuguese-br.min.js +3 -3
- package/i18n/portuguese.js +15 -4
- package/i18n/portuguese.js.map +1 -1
- package/i18n/portuguese.min.js +3 -3
- package/i18n/romanian.js +15 -4
- package/i18n/romanian.js.map +1 -1
- package/i18n/romanian.min.js +3 -3
- package/i18n/russian.js +15 -4
- package/i18n/russian.js.map +1 -1
- package/i18n/russian.min.js +3 -3
- package/i18n/serbian.js +15 -4
- package/i18n/serbian.js.map +1 -1
- package/i18n/serbian.min.js +3 -3
- package/i18n/simplified-chinese.js +15 -4
- package/i18n/simplified-chinese.js.map +1 -1
- package/i18n/simplified-chinese.min.js +3 -3
- package/i18n/slovak.js +15 -4
- package/i18n/slovak.js.map +1 -1
- package/i18n/slovak.min.js +3 -3
- package/i18n/spanish.js +15 -4
- package/i18n/spanish.js.map +1 -1
- package/i18n/spanish.min.js +3 -3
- package/i18n/swahili.js +15 -4
- package/i18n/swahili.js.map +1 -1
- package/i18n/swahili.min.js +3 -3
- package/i18n/swedish.js +15 -4
- package/i18n/swedish.js.map +1 -1
- package/i18n/swedish.min.js +3 -3
- package/i18n/tajik.js +2 -2
- package/i18n/tajik.min.js +2 -2
- package/i18n/telugu.js +15 -4
- package/i18n/telugu.js.map +1 -1
- package/i18n/telugu.min.js +3 -3
- package/i18n/thai.js +15 -4
- package/i18n/thai.js.map +1 -1
- package/i18n/thai.min.js +3 -3
- package/i18n/traditional-chinese.js +15 -4
- package/i18n/traditional-chinese.js.map +1 -1
- package/i18n/traditional-chinese.min.js +3 -3
- package/i18n/turkish.js +15 -4
- package/i18n/turkish.js.map +1 -1
- package/i18n/turkish.min.js +3 -3
- package/i18n/ukrainian.js +15 -4
- package/i18n/ukrainian.js.map +1 -1
- package/i18n/ukrainian.min.js +3 -3
- package/i18n/urdu.js +15 -4
- package/i18n/urdu.js.map +1 -1
- package/i18n/urdu.min.js +3 -3
- package/i18n/vietnamese.js +15 -4
- package/i18n/vietnamese.js.map +1 -1
- package/i18n/vietnamese.min.js +3 -3
- package/i18n/welsh.js +15 -4
- package/i18n/welsh.js.map +1 -1
- package/i18n/welsh.min.js +3 -3
- package/modern.css +2 -2
- package/modern.fontless.css +2 -2
- package/modern.fontless.min.css +2 -2
- package/modern.min.css +2 -2
- package/package.json +1 -1
- package/plugins/bootstrap-integration.js +2 -2
- package/plugins/bootstrap-integration.min.js +2 -2
- package/plugins/bootstrap-material-integration.js +2 -2
- package/plugins/bootstrap-material-integration.min.js +2 -2
- package/survey.core.js +605 -188
- package/survey.core.js.map +1 -1
- package/survey.core.min.js +4 -4
- package/survey.css +2 -2
- package/survey.i18n.js +613 -96
- package/survey.i18n.js.map +1 -1
- package/survey.i18n.min.js +3 -3
- package/survey.min.css +2 -2
- package/themes/borderless-dark-panelless.js +2 -2
- package/themes/borderless-dark-panelless.min.js +2 -2
- package/themes/borderless-dark.js +2 -2
- package/themes/borderless-dark.min.js +2 -2
- package/themes/borderless-light-panelless..js +2 -2
- package/themes/borderless-light-panelless..min.js +2 -2
- package/themes/borderless-light.js +2 -2
- package/themes/borderless-light.min.js +2 -2
- package/themes/contrast-dark-panelless.js +2 -2
- package/themes/contrast-dark-panelless.min.js +2 -2
- package/themes/contrast-dark.js +2 -2
- package/themes/contrast-dark.min.js +2 -2
- package/themes/contrast-light-panelless.js +2 -2
- package/themes/contrast-light-panelless.min.js +2 -2
- package/themes/contrast-light.js +2 -2
- package/themes/contrast-light.min.js +2 -2
- package/themes/default-dark-panelless.js +2 -2
- package/themes/default-dark-panelless.min.js +2 -2
- package/themes/default-dark.js +2 -2
- package/themes/default-dark.min.js +2 -2
- package/themes/default-light-panelless.js +2 -2
- package/themes/default-light-panelless.min.js +2 -2
- package/themes/default-light.js +2 -2
- package/themes/default-light.min.js +2 -2
- package/themes/doubleborder-dark-panelless.js +2 -2
- package/themes/doubleborder-dark-panelless.min.js +2 -2
- package/themes/doubleborder-dark.js +2 -2
- package/themes/doubleborder-dark.min.js +2 -2
- package/themes/doubleborder-light-panelles.js +2 -2
- package/themes/doubleborder-light-panelles.min.js +2 -2
- package/themes/doubleborder-light.js +2 -2
- package/themes/doubleborder-light.min.js +2 -2
- package/themes/flat-dark-panelless.js +2 -2
- package/themes/flat-dark-panelless.min.js +2 -2
- package/themes/flat-dark.js +2 -2
- package/themes/flat-dark.min.js +2 -2
- package/themes/flat-light-panelless.js +2 -2
- package/themes/flat-light-panelless.min.js +2 -2
- package/themes/flat-light.js +2 -2
- package/themes/flat-light.min.js +2 -2
- package/themes/index.js +2 -2
- package/themes/index.min.js +2 -2
- package/themes/layered-dark-panelless.js +2 -2
- package/themes/layered-dark-panelless.min.js +2 -2
- package/themes/layered-dark.js +2 -2
- package/themes/layered-dark.min.js +2 -2
- package/themes/layered-light-panelless.js +2 -2
- package/themes/layered-light-panelless.min.js +2 -2
- package/themes/layered-light.js +2 -2
- package/themes/layered-light.min.js +2 -2
- package/themes/plain-dark-panelless.js +2 -2
- package/themes/plain-dark-panelless.min.js +2 -2
- package/themes/plain-dark.js +2 -2
- package/themes/plain-dark.min.js +2 -2
- package/themes/plain-light-panelless.js +2 -2
- package/themes/plain-light-panelless.min.js +2 -2
- package/themes/plain-light.js +2 -2
- package/themes/plain-light.min.js +2 -2
- package/themes/sharp-dark-panelless.js +2 -2
- package/themes/sharp-dark-panelless.min.js +2 -2
- package/themes/sharp-dark.js +2 -2
- package/themes/sharp-dark.min.js +2 -2
- package/themes/sharp-light-panelless.js +2 -2
- package/themes/sharp-light-panelless.min.js +2 -2
- package/themes/sharp-light.js +2 -2
- package/themes/sharp-light.min.js +2 -2
- package/themes/solid-dark-panelless.js +2 -2
- package/themes/solid-dark-panelless.min.js +2 -2
- package/themes/solid-dark.js +2 -2
- package/themes/solid-dark.min.js +2 -2
- package/themes/solid-light-panelless.js +2 -2
- package/themes/solid-light-panelless.min.js +2 -2
- package/themes/solid-light.js +2 -2
- package/themes/solid-light.min.js +2 -2
- package/themes/three-dimensional-dark-panelless.js +2 -2
- package/themes/three-dimensional-dark-panelless.min.js +2 -2
- package/themes/three-dimensional-dark.js +2 -2
- package/themes/three-dimensional-dark.min.js +2 -2
- package/themes/three-dimensional-light-panelless.js +2 -2
- package/themes/three-dimensional-light-panelless.min.js +2 -2
- package/themes/three-dimensional-light.js +2 -2
- package/themes/three-dimensional-light.min.js +2 -2
- package/ts3.4/typings/actions/action.d.ts +3 -3
- package/ts3.4/typings/base-interfaces.d.ts +1 -0
- package/ts3.4/typings/base.d.ts +2 -1
- package/ts3.4/typings/error.d.ts +6 -0
- package/ts3.4/typings/jsonobject.d.ts +4 -0
- package/ts3.4/typings/localizablestring.d.ts +1 -0
- package/ts3.4/typings/localization/english.d.ts +1 -0
- package/ts3.4/typings/martixBase.d.ts +6 -2
- package/ts3.4/typings/panel.d.ts +3 -3
- package/ts3.4/typings/question.d.ts +3 -3
- package/ts3.4/typings/question_baseselect.d.ts +5 -2
- package/ts3.4/typings/question_boolean.d.ts +2 -2
- package/ts3.4/typings/question_custom.d.ts +28 -1
- package/ts3.4/typings/question_matrix.d.ts +20 -1
- package/ts3.4/typings/question_matrixdropdownbase.d.ts +9 -8
- package/ts3.4/typings/question_matrixdropdowncolumn.d.ts +179 -0
- package/ts3.4/typings/question_matrixdropdownrendered.d.ts +2 -4
- package/ts3.4/typings/question_matrixdynamic.d.ts +1 -0
- package/ts3.4/typings/settings.d.ts +2 -2
- package/ts3.4/typings/survey-events-api.d.ts +3 -3
- package/ts3.4/typings/survey.d.ts +12 -0
- package/ts3.4/typings/surveyStrings.d.ts +1 -0
- package/ts3.4/typings/surveyToc.d.ts +0 -2
- package/ts3.4/typings/utils/devices.d.ts +5 -0
- package/ts3.4/typings/validator.d.ts +2 -0
- package/typings/actions/action.d.ts +3 -3
- package/typings/base-interfaces.d.ts +1 -0
- package/typings/base.d.ts +2 -1
- package/typings/error.d.ts +6 -0
- package/typings/jsonobject.d.ts +4 -0
- package/typings/localizablestring.d.ts +1 -0
- package/typings/localization/english.d.ts +1 -0
- package/typings/martixBase.d.ts +6 -2
- package/typings/panel.d.ts +3 -3
- package/typings/question.d.ts +3 -3
- package/typings/question_baseselect.d.ts +5 -2
- package/typings/question_boolean.d.ts +4 -4
- package/typings/question_custom.d.ts +28 -1
- package/typings/question_matrix.d.ts +22 -2
- package/typings/question_matrixdropdownbase.d.ts +9 -8
- package/typings/question_matrixdropdowncolumn.d.ts +179 -0
- package/typings/question_matrixdropdownrendered.d.ts +2 -4
- package/typings/question_matrixdynamic.d.ts +1 -0
- package/typings/settings.d.ts +2 -2
- package/typings/survey-events-api.d.ts +3 -3
- package/typings/survey.d.ts +14 -0
- package/typings/surveyStrings.d.ts +1 -0
- package/typings/surveyToc.d.ts +0 -2
- package/typings/utils/devices.d.ts +5 -0
- package/typings/validator.d.ts +3 -0
|
@@ -18,6 +18,11 @@ export interface IMatrixColumnOwner extends ILocalizableOwner {
|
|
|
18
18
|
getCellAriaLabel(rowTitle: string, columnTitle: string): string;
|
|
19
19
|
}
|
|
20
20
|
export declare var matrixDropdownColumnTypes: any;
|
|
21
|
+
/**
|
|
22
|
+
* An auxiliary class that describes a column in a [Multi-Select Matrix](https://surveyjs.io/form-library/documentation/api-reference/matrix-table-with-dropdown-list) or [Dynamic Matrix](https://surveyjs.io/form-library/documentation/api-reference/dynamic-matrix-table-question-model).
|
|
23
|
+
*
|
|
24
|
+
* You can get an object of this class from the [`columns`](https://surveyjs.io/form-library/documentation/api-reference/matrix-table-with-dropdown-list#columns) array or by calling the [`getColumnByName()`](https://surveyjs.io/form-library/documentation/api-reference/matrix-table-with-dropdown-list#getColumnByName) method on a matrix instance.
|
|
25
|
+
*/
|
|
21
26
|
export declare class MatrixDropdownColumn extends Base implements ILocalizableOwner, IWrapperObject {
|
|
22
27
|
static getColumnTypes(): Array<string>;
|
|
23
28
|
private templateQuestionValue;
|
|
@@ -38,44 +43,186 @@ export declare class MatrixDropdownColumn extends Base implements ILocalizableOw
|
|
|
38
43
|
readonly index: number;
|
|
39
44
|
setIndex(val: number): void;
|
|
40
45
|
getType(): string;
|
|
46
|
+
/*
|
|
47
|
+
* Specifies the type of column cells.
|
|
48
|
+
*
|
|
49
|
+
* Possible values:
|
|
50
|
+
*
|
|
51
|
+
* - [`"dropdown"`](https://surveyjs.io/form-library/documentation/api-reference/dropdown-menu-model)
|
|
52
|
+
* - [`"checkbox"`](https://surveyjs.io/form-library/documentation/api-reference/checkbox-question-model)
|
|
53
|
+
* - [`"radiogroup"`](https://surveyjs.io/form-library/documentation/api-reference/radio-button-question-model)
|
|
54
|
+
* - [`"tagbox"`](https://surveyjs.io/form-library/documentation/api-reference/dropdown-tag-box-model)
|
|
55
|
+
* - [`"text"`](https://surveyjs.io/form-library/documentation/api-reference/text-entry-question-model)
|
|
56
|
+
* - [`"comment"`](https://surveyjs.io/form-library/documentation/api-reference/comment-field-model)
|
|
57
|
+
* - [`"boolean"`](https://surveyjs.io/form-library/documentation/api-reference/boolean-question-model)
|
|
58
|
+
* - [`"expression"`](https://surveyjs.io/form-library/documentation/api-reference/expression-model)
|
|
59
|
+
* - [`"rating"`](https://surveyjs.io/form-library/documentation/api-reference/rating-scale-question-model)
|
|
60
|
+
* - `"default"` (default) - Inherits the input type from the [`cellType`](https://surveyjs.io/form-library/documentation/api-reference/matrix-table-with-dropdown-list#cellType) property specified for the parent matrix.
|
|
61
|
+
*
|
|
62
|
+
* The input types are based upon standalone question types. Depending on the selected input type, the matrix column can have additional configuration properties inherited from the corresponding question type. For instance, Dropdown, Checkboxes, Radio Button Group, and Tag Box columns can specify the [`choices`](https://surveyjs.io/form-library/documentation/api-reference/radio-button-question-model#choices) array, similar to the question types upon which they are based. Refer to the API Reference of these question types for a full list of available properties.
|
|
63
|
+
*
|
|
64
|
+
* [View Demo](https://surveyjs.io/form-library/examples/aggregate-data-within-form/ (linkStyle))
|
|
65
|
+
*/
|
|
41
66
|
cellType: string;
|
|
42
67
|
readonly templateQuestion: Question;
|
|
43
68
|
readonly value: string;
|
|
44
69
|
readonly isVisible: boolean;
|
|
45
70
|
readonly isColumnVisible: boolean;
|
|
71
|
+
/*
|
|
72
|
+
* Gets or sets column visibility.
|
|
73
|
+
*
|
|
74
|
+
* If you want to display or hide a column based on a condition, specify the [`visibleIf`](#visibleIf) property.
|
|
75
|
+
* @see isRequired
|
|
76
|
+
* @see readOnly
|
|
77
|
+
*/
|
|
46
78
|
visible: boolean;
|
|
47
79
|
hasVisibleCell: boolean;
|
|
48
80
|
getVisibleMultipleChoices(): Array<ItemValue>;
|
|
49
81
|
readonly getVisibleChoicesInCell: Array<any>;
|
|
50
82
|
setVisibleChoicesInCell(val: Array<any>): void;
|
|
51
83
|
readonly isFilteredMultipleColumns: boolean;
|
|
84
|
+
/*
|
|
85
|
+
* A column ID that is not visible to respondents.
|
|
86
|
+
*
|
|
87
|
+
* > Column IDs must be unique.
|
|
88
|
+
* @see title
|
|
89
|
+
*/
|
|
52
90
|
name: string;
|
|
91
|
+
/*
|
|
92
|
+
* A user-friendly column caption to display. If `title` is undefined, [`name`](#name) is displayed instead.
|
|
93
|
+
*/
|
|
53
94
|
title: string;
|
|
54
95
|
readonly locTitle: LocalizableString;
|
|
55
96
|
readonly fullTitle: string;
|
|
97
|
+
/*
|
|
98
|
+
* Marks the column as required. If a respondent skips any cell in a required column, the matrix displays a validation error.
|
|
99
|
+
*
|
|
100
|
+
* If you want to mark the column as required based on a condition, specify the [`requiredIf`](#requiredIf) property.
|
|
101
|
+
* @see requiredErrorText
|
|
102
|
+
* @see visible
|
|
103
|
+
* @see readOnly
|
|
104
|
+
*/
|
|
56
105
|
isRequired: boolean;
|
|
57
106
|
isRenderedRequired: boolean;
|
|
58
107
|
updateIsRenderedRequired(val: boolean): void;
|
|
59
108
|
readonly requiredText: string;
|
|
109
|
+
/*
|
|
110
|
+
* Specifies a custom error message for a required column.
|
|
111
|
+
* @see isRequired
|
|
112
|
+
*/
|
|
60
113
|
requiredErrorText: string;
|
|
61
114
|
readonly locRequiredErrorText: LocalizableString;
|
|
115
|
+
/*
|
|
116
|
+
* Makes the column read-only.
|
|
117
|
+
*
|
|
118
|
+
* If you want to switch the column to the read-only state based on a condition, specify the [`enableIf`](#enableIf) property.
|
|
119
|
+
* @see visible
|
|
120
|
+
* @see isRequired
|
|
121
|
+
*/
|
|
62
122
|
readOnly: boolean;
|
|
63
123
|
hasOther: boolean;
|
|
124
|
+
/*
|
|
125
|
+
* A Boolean expression. If it evaluates to `false`, this column becomes hidden.
|
|
126
|
+
*
|
|
127
|
+
* Refer to the following help topic for more information: [Conditional Visibility](https://surveyjs.io/form-library/documentation/design-survey-conditional-logic#conditional-visibility).
|
|
128
|
+
* @see visible
|
|
129
|
+
*/
|
|
64
130
|
visibleIf: string;
|
|
131
|
+
/*
|
|
132
|
+
* A Boolean expression. If it evaluates to `false`, this column becomes read-only.
|
|
133
|
+
*
|
|
134
|
+
* Refer to the following help topic for more information: [Conditional Visibility](https://surveyjs.io/form-library/documentation/design-survey-conditional-logic#conditional-visibility).
|
|
135
|
+
* @see readOnly
|
|
136
|
+
*/
|
|
65
137
|
enableIf: string;
|
|
138
|
+
/*
|
|
139
|
+
* A Boolean expression. If it evaluates to `true`, this column becomes required.
|
|
140
|
+
*
|
|
141
|
+
* Refer to the following help topic for more information: [Conditional Visibility](https://surveyjs.io/form-library/documentation/design-survey-conditional-logic#conditional-visibility).
|
|
142
|
+
* @see isRequired
|
|
143
|
+
*/
|
|
66
144
|
requiredIf: string;
|
|
145
|
+
/*
|
|
146
|
+
* A Boolean expression. If it evaluates to `true`, all cells in this column are set to a value calculated using the [`defaultValueExpression`](#defaultValueExpression).
|
|
147
|
+
*
|
|
148
|
+
* [Expressions](https://surveyjs.io/form-library/documentation/design-survey/conditional-logic#expressions (linkStyle))
|
|
149
|
+
* @see setValueIf
|
|
150
|
+
*/
|
|
67
151
|
resetValueIf: string;
|
|
152
|
+
/*
|
|
153
|
+
* An expression used to calculate the column's default value. This expression applies to all cells of this column until the cell value is specified by an end user or programmatically.
|
|
154
|
+
*
|
|
155
|
+
* [Expressions](https://surveyjs.io/form-library/documentation/design-survey/conditional-logic#expressions (linkStyle))
|
|
156
|
+
* @see setValueExpression
|
|
157
|
+
*/
|
|
68
158
|
defaultValueExpression: string;
|
|
159
|
+
/*
|
|
160
|
+
* A Boolean expression. If it evaluates to `true`, all cells in this column are set to a value calculated using the [`setValueExpression`](#setValueExpression).
|
|
161
|
+
*
|
|
162
|
+
* [Expressions](https://surveyjs.io/form-library/documentation/design-survey/conditional-logic#expressions (linkStyle))
|
|
163
|
+
* @see resetValueIf
|
|
164
|
+
*/
|
|
69
165
|
setValueIf: string;
|
|
166
|
+
/*
|
|
167
|
+
* An expression used to calculate a value for all column cells.
|
|
168
|
+
*
|
|
169
|
+
* You can use `setValueExpression` as a standalone property or in conjunction with the [`setValueIf`](#setValueIf) expression, in which case the calculated cell value applies only when `setValueIf` evaluates to `true`.
|
|
170
|
+
*
|
|
171
|
+
* [Expressions](https://surveyjs.io/form-library/documentation/design-survey/conditional-logic#expressions (linkStyle))
|
|
172
|
+
* @see defaultValueExpression
|
|
173
|
+
* @see resetValueIf
|
|
174
|
+
*/
|
|
70
175
|
setValueExpession: string;
|
|
176
|
+
/*
|
|
177
|
+
* Specifies whether a respondent is required to provide a unique response for each question within this column.
|
|
178
|
+
*
|
|
179
|
+
* Default value: `false`
|
|
180
|
+
*/
|
|
71
181
|
isUnique: boolean;
|
|
182
|
+
/*
|
|
183
|
+
* Specifies whether to create an individual column for each choice option. Applies only to columns of `"checkbox"` or `"radiogroup"` [`cellType`](#cellType).
|
|
184
|
+
*/
|
|
72
185
|
showInMultipleColumns: boolean;
|
|
73
186
|
readonly isSupportMultipleColumns: boolean;
|
|
74
187
|
readonly isShowInMultipleColumns: boolean;
|
|
188
|
+
/*
|
|
189
|
+
* Column validators.
|
|
190
|
+
*
|
|
191
|
+
* [Data Validation](https://surveyjs.io/form-library/documentation/data-validation (linkStyle))
|
|
192
|
+
* @see isRequired
|
|
193
|
+
*/
|
|
75
194
|
validators: Array<SurveyValidator>;
|
|
195
|
+
/*
|
|
196
|
+
* An aggregation method used to calculate the column total.
|
|
197
|
+
*
|
|
198
|
+
* Possible values:
|
|
199
|
+
*
|
|
200
|
+
* - `"none"` (default) - Disables total calculations.
|
|
201
|
+
* - `"sum"`
|
|
202
|
+
* - `"count"`
|
|
203
|
+
* - `"min"`
|
|
204
|
+
* - `"max"`
|
|
205
|
+
* - `"avg"`
|
|
206
|
+
*
|
|
207
|
+
* [View Demo](https://surveyjs.io/form-library/examples/aggregate-data-within-form/ (linkStyle))
|
|
208
|
+
* @see totalFormat
|
|
209
|
+
* @see totalDisplayStyle
|
|
210
|
+
*/
|
|
76
211
|
totalType: string;
|
|
212
|
+
/*
|
|
213
|
+
* An expression used to calculate total values. Overrides the [`totalType`](#totalType) property.
|
|
214
|
+
*
|
|
215
|
+
* [Expressions](https://surveyjs.io/form-library/documentation/design-survey/conditional-logic#expressions (linkStyle))
|
|
216
|
+
*/
|
|
77
217
|
totalExpression: string;
|
|
78
218
|
readonly hasTotal: boolean;
|
|
219
|
+
/*
|
|
220
|
+
* A string pattern used to display column totals. To reference a total value within this pattern, use the `{0}` placeholder.
|
|
221
|
+
*
|
|
222
|
+
* [View Demo](https://surveyjs.io/form-library/examples/aggregate-data-within-form/ (linkStyle))
|
|
223
|
+
* @see totalType
|
|
224
|
+
* @see totalDisplayStyle
|
|
225
|
+
*/
|
|
79
226
|
totalFormat: string;
|
|
80
227
|
readonly locTotalFormat: LocalizableString;
|
|
81
228
|
cellHint: string;
|
|
@@ -83,10 +230,42 @@ export declare class MatrixDropdownColumn extends Base implements ILocalizableOw
|
|
|
83
230
|
renderAs: string;
|
|
84
231
|
totalMaximumFractionDigits: number;
|
|
85
232
|
totalMinimumFractionDigits: number;
|
|
233
|
+
/*
|
|
234
|
+
* A format for calculated total values.
|
|
235
|
+
*
|
|
236
|
+
* Possible values:
|
|
237
|
+
*
|
|
238
|
+
* - `"none"` (default)
|
|
239
|
+
* - `"decimal"`
|
|
240
|
+
* - `"currency"`
|
|
241
|
+
* - `"percent"`
|
|
242
|
+
*
|
|
243
|
+
* [View Demo](https://surveyjs.io/form-library/examples/aggregate-data-within-form/ (linkStyle))
|
|
244
|
+
* @see totalType
|
|
245
|
+
* @see totalFormat
|
|
246
|
+
* @see totalCurrency
|
|
247
|
+
*/
|
|
86
248
|
totalDisplayStyle: string;
|
|
249
|
+
/*
|
|
250
|
+
* Specifies a currency used to display calculated total values. Applies only if [`totalDisplayStyle`](#totalDisplayStyle) is set to `"currency"`.
|
|
251
|
+
* @see totalType
|
|
252
|
+
*/
|
|
87
253
|
totalCurrency: string;
|
|
254
|
+
/*
|
|
255
|
+
* Gets or sets minimum column width in CSS values. By default, the matrix calculates column widths to optimally fit the content of all columns.
|
|
256
|
+
* @see width
|
|
257
|
+
*/
|
|
88
258
|
minWidth: string;
|
|
259
|
+
/*
|
|
260
|
+
* Gets or sets column width in CSS values. By default, the matrix calculates column widths to optimally fit the content of all columns.
|
|
261
|
+
* @see minWidth
|
|
262
|
+
*/
|
|
89
263
|
width: string;
|
|
264
|
+
/*
|
|
265
|
+
* Gets or sets the number of columns used to arrange choice options. Applies only to columns of `"checkbox"` or `"radiogroup"` [`cellType`](#cellType).
|
|
266
|
+
*
|
|
267
|
+
* Default value: -1 (inherits the actual value from the parent matrix's [`columnColCount`](https://surveyjs.io/form-library/documentation/api-reference/matrix-table-with-dropdown-list#columnColCount) property)
|
|
268
|
+
*/
|
|
90
269
|
colCount: number;
|
|
91
270
|
getLocale(): string;
|
|
92
271
|
getMarkdownHtml(text: string, name: string): string;
|
|
@@ -21,7 +21,6 @@ export declare class QuestionMatrixDropdownRenderedCell {
|
|
|
21
21
|
choiceIndex: number;
|
|
22
22
|
isOtherChoice: boolean;
|
|
23
23
|
matrix: QuestionMatrixDropdownModelBase;
|
|
24
|
-
requiredText: string;
|
|
25
24
|
isEmpty: boolean;
|
|
26
25
|
colSpans: number;
|
|
27
26
|
panel: PanelModel;
|
|
@@ -32,6 +31,7 @@ export declare class QuestionMatrixDropdownRenderedCell {
|
|
|
32
31
|
isDetailRowCell: boolean;
|
|
33
32
|
private classNameValue;
|
|
34
33
|
constructor();
|
|
34
|
+
readonly requiredText: string;
|
|
35
35
|
readonly hasQuestion: boolean;
|
|
36
36
|
readonly hasTitle: boolean;
|
|
37
37
|
readonly hasPanel: boolean;
|
|
@@ -98,7 +98,7 @@ export declare class QuestionMatrixDropdownRenderedTable extends Base {
|
|
|
98
98
|
isRequireReset(): boolean;
|
|
99
99
|
readonly headerRow: QuestionMatrixDropdownRenderedRow;
|
|
100
100
|
readonly footerRow: QuestionMatrixDropdownRenderedRow;
|
|
101
|
-
readonly
|
|
101
|
+
readonly isRowsDragAndDrop: boolean;
|
|
102
102
|
private readonly showCellErrorsTop: any;
|
|
103
103
|
private readonly showCellErrorsBottom: any;
|
|
104
104
|
protected build(): void;
|
|
@@ -147,8 +147,6 @@ export declare class QuestionMatrixDropdownRenderedTable extends Base {
|
|
|
147
147
|
private createHeaderCell;
|
|
148
148
|
private setHeaderCell;
|
|
149
149
|
private setHeaderCellWidth;
|
|
150
|
-
private setRequriedToHeaderCell;
|
|
151
|
-
private createRemoveRowCell;
|
|
152
150
|
private createTextCell;
|
|
153
151
|
private createEmptyCell;
|
|
154
152
|
}
|
|
@@ -84,6 +84,7 @@ export declare class QuestionMatrixDynamicModel extends QuestionMatrixDropdownMo
|
|
|
84
84
|
* Default value: `false`
|
|
85
85
|
*/
|
|
86
86
|
allowRowsDragAndDrop: boolean;
|
|
87
|
+
readonly isRowsDragAndDrop: boolean;
|
|
87
88
|
readonly iconDragElement: string;
|
|
88
89
|
protected createRenderedTable(): QuestionMatrixDropdownRenderedTable;
|
|
89
90
|
private rowCountValue: any;
|
|
@@ -142,12 +142,12 @@ export declare var settings: {
|
|
|
142
142
|
* import { ItemValue, settings } from "survey-core";
|
|
143
143
|
*
|
|
144
144
|
* // `itemValueSerializeAsObject` example
|
|
145
|
-
* settings.
|
|
145
|
+
* settings.serialization.itemValueSerializeAsObject = true;
|
|
146
146
|
* const item = new ItemValue(5);
|
|
147
147
|
* const itemString = item.toJSON(); // Produces { value: 5 } instead of 5
|
|
148
148
|
*
|
|
149
149
|
* // `itemValueSerializeDisplayText` example
|
|
150
|
-
* settings.
|
|
150
|
+
* settings.serialization.itemValueSerializeDisplayText = true;
|
|
151
151
|
* const item = new ItemValue("item1");
|
|
152
152
|
* const itemString = item.toJSON(); // Produces { value: "item1", text: "item1" } instead of "item1"
|
|
153
153
|
* ```
|
|
@@ -694,7 +694,7 @@ export interface MatrixAllowRemoveRowEvent extends MatrixDynamicQuestionEventMix
|
|
|
694
694
|
}
|
|
695
695
|
export interface MatrixCellCreatingBaseEvent extends MatrixDropdownQuestionEventMixin {
|
|
696
696
|
/**
|
|
697
|
-
* A matrix column to which the cell belongs.
|
|
697
|
+
* A [matrix column](https://surveyjs.io/form-library/documentation/api-reference/multi-select-matrix-column-values) to which the cell belongs.
|
|
698
698
|
*/
|
|
699
699
|
column: MatrixDropdownColumn;
|
|
700
700
|
/**
|
|
@@ -741,7 +741,7 @@ export interface MatrixAfterCellRenderEvent extends QuestionEventMixin, AfterRen
|
|
|
741
741
|
*/
|
|
742
742
|
row: MatrixDropdownRowModelBase;
|
|
743
743
|
/**
|
|
744
|
-
* A matrix column to which the cell belongs.
|
|
744
|
+
* A [matrix column](https://surveyjs.io/form-library/documentation/api-reference/multi-select-matrix-column-values) to which the cell belongs.
|
|
745
745
|
*/
|
|
746
746
|
column: MatrixDropdownColumn | MatrixDropdownCell;
|
|
747
747
|
}
|
|
@@ -751,7 +751,7 @@ export interface MatrixCellValueBaseEvent extends MatrixDropdownQuestionEventMix
|
|
|
751
751
|
*/
|
|
752
752
|
row: MatrixDropdownRowModelBase;
|
|
753
753
|
/**
|
|
754
|
-
* A matrix column to which the cell belongs.
|
|
754
|
+
* A [matrix column](https://surveyjs.io/form-library/documentation/api-reference/multi-select-matrix-column-values) to which the cell belongs.
|
|
755
755
|
*/
|
|
756
756
|
column: MatrixDropdownColumn;
|
|
757
757
|
/**
|
|
@@ -776,6 +776,8 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
|
|
|
776
776
|
*/
|
|
777
777
|
lazyRendering: boolean;
|
|
778
778
|
readonly isLazyRendering: boolean;
|
|
779
|
+
lazyRenderingFirstBatchSizeValue: number;
|
|
780
|
+
lazyRenderingFirstBatchSize: number;
|
|
779
781
|
private updateLazyRenderingRowsOnRemovingElements;
|
|
780
782
|
/*
|
|
781
783
|
* A list of triggers in the survey.
|
|
@@ -860,14 +862,22 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
|
|
|
860
862
|
* - `"none"` - Hides the navigation buttons. This setting may be useful if you [implement custom external navigation](https://surveyjs.io/form-library/examples/external-form-navigation-system/).
|
|
861
863
|
* @see goNextPageAutomatic
|
|
862
864
|
* @see showPrevButton
|
|
865
|
+
* @see showCompleteButton
|
|
863
866
|
*/
|
|
864
867
|
showNavigationButtons: string | any;
|
|
865
868
|
/*
|
|
866
869
|
* Specifies whether to display the Previous button. Set this property to `false` if respondents should not move backward along the survey.
|
|
867
870
|
* @see showNavigationButtons
|
|
871
|
+
* @see showCompleteButton
|
|
868
872
|
*/
|
|
869
873
|
showPrevButton: boolean;
|
|
870
874
|
/*
|
|
875
|
+
* Specifies whether to display the Complete button. Set this property to `false` if respondents should not complete the survey.
|
|
876
|
+
* @see showNavigationButtons
|
|
877
|
+
* @see showPrevButton
|
|
878
|
+
*/
|
|
879
|
+
showCompleteButton: boolean;
|
|
880
|
+
/*
|
|
871
881
|
* Gets or sets the visibility of the table of contents.
|
|
872
882
|
*
|
|
873
883
|
* Default value: `false`
|
|
@@ -1542,6 +1552,7 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
|
|
|
1542
1552
|
* The `currentPage` property does not return the start page even if it is current. Use the [`activePage`](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#activePage) property instead if your survey contains a start page.
|
|
1543
1553
|
*/
|
|
1544
1554
|
currentPage: any;
|
|
1555
|
+
tryNavigateToPage(page: PageModel): boolean;
|
|
1545
1556
|
private updateCurrentPage;
|
|
1546
1557
|
private readonly isCurrentPageAvailable: any;
|
|
1547
1558
|
private isPageExistsInSurvey;
|
|
@@ -2401,6 +2412,7 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
|
|
|
2401
2412
|
panelVisibilityChanged(panel: PanelModel, newValue: boolean): void;
|
|
2402
2413
|
questionCreated(question: Question): any;
|
|
2403
2414
|
questionAdded(question: Question, index: number, parentPanel: any, rootPanel: any): void;
|
|
2415
|
+
private canFireAddElement;
|
|
2404
2416
|
questionRemoved(question: Question): void;
|
|
2405
2417
|
questionRenamed(question: IQuestion, oldName: string, oldValueName: string): any;
|
|
2406
2418
|
private questionHashes;
|
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
import { Action } from "./actions/action";
|
|
2
2
|
import { ListModel } from "./list";
|
|
3
|
-
import { PageModel } from "./page";
|
|
4
3
|
import { PanelModelBase } from "./panel";
|
|
5
4
|
import { PopupModel } from "./popup";
|
|
6
5
|
import { SurveyModel } from "./survey";
|
|
7
|
-
export declare function tryNavigateToPage(survey: SurveyModel, page: PageModel): boolean;
|
|
8
6
|
export declare function tryFocusPage(survey: SurveyModel, panel: PanelModelBase): boolean;
|
|
9
7
|
export declare function createTOCListModel(survey: SurveyModel, onAction?: () => void): ListModel<Action>;
|
|
10
8
|
export declare function getTocRootCss(survey: SurveyModel, isMobile?: boolean): string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ILocalizableOwner, LocalizableString } from "../localizablestring";
|
|
2
|
-
import { Base } from "../base";
|
|
2
|
+
import { Base, ComputedUpdater } from "../base";
|
|
3
3
|
import { IListModel } from "../list";
|
|
4
4
|
import { IPopupOptionsBase } from "../popup";
|
|
5
5
|
export declare type actionModeType = "large" | "small" | "popup" | "removed";
|
|
@@ -22,7 +22,7 @@ export interface IAction {
|
|
|
22
22
|
* @see enabled
|
|
23
23
|
* @see active
|
|
24
24
|
*/
|
|
25
|
-
visible?: boolean
|
|
25
|
+
visible?: boolean | ComputedUpdater<boolean>;
|
|
26
26
|
/**
|
|
27
27
|
* The action item's title.
|
|
28
28
|
*
|
|
@@ -43,7 +43,7 @@ export interface IAction {
|
|
|
43
43
|
* @see active
|
|
44
44
|
* @see visible
|
|
45
45
|
*/
|
|
46
|
-
enabled?: boolean
|
|
46
|
+
enabled?: boolean | ComputedUpdater<boolean>;
|
|
47
47
|
enabledIf?: () => boolean;
|
|
48
48
|
/**
|
|
49
49
|
* Specifies the visibility of the action item's title.
|
|
@@ -74,6 +74,7 @@ export interface ISurvey extends ITextProcessor, ISurveyErrorOwner {
|
|
|
74
74
|
allowResizeComment: boolean;
|
|
75
75
|
state: string;
|
|
76
76
|
isLazyRendering: boolean;
|
|
77
|
+
lazyRenderingFirstBatchSize: number;
|
|
77
78
|
cancelPreviewByPage(panel: IPanel): any;
|
|
78
79
|
locEditText: LocalizableString;
|
|
79
80
|
cssNavigationEdit: string;
|
package/typings/base.d.ts
CHANGED
|
@@ -147,6 +147,7 @@ export declare class Base {
|
|
|
147
147
|
* Returns `true` if the survey is being designed in Survey Creator.
|
|
148
148
|
*/
|
|
149
149
|
get isDesignMode(): boolean;
|
|
150
|
+
get isDesignModeV2(): boolean;
|
|
150
151
|
/**
|
|
151
152
|
* Returns `true` if the object is included in a survey.
|
|
152
153
|
*
|
|
@@ -264,7 +265,7 @@ export declare class Base {
|
|
|
264
265
|
registerFunctionOnPropertiesValueChanged(names: Array<string>, func: any, key?: string): void;
|
|
265
266
|
unRegisterFunctionOnPropertyValueChanged(name: string, key?: string): void;
|
|
266
267
|
unRegisterFunctionOnPropertiesValueChanged(names: Array<string>, key?: string): void;
|
|
267
|
-
createCustomLocalizableObj(name: string):
|
|
268
|
+
createCustomLocalizableObj(name: string): LocalizableString;
|
|
268
269
|
getLocale(): string;
|
|
269
270
|
getLocalizationString(strName: string): string;
|
|
270
271
|
getLocalizationFormatString(strName: string, ...args: any[]): string;
|
package/typings/error.d.ts
CHANGED
|
@@ -56,6 +56,12 @@ export declare class RequiredInAllRowsError extends SurveyError {
|
|
|
56
56
|
getErrorType(): string;
|
|
57
57
|
protected getDefaultText(): string;
|
|
58
58
|
}
|
|
59
|
+
export declare class EachRowUniqueError extends SurveyError {
|
|
60
|
+
text: string;
|
|
61
|
+
constructor(text: string, errorOwner?: ISurveyErrorOwner);
|
|
62
|
+
getErrorType(): string;
|
|
63
|
+
protected getDefaultText(): string;
|
|
64
|
+
}
|
|
59
65
|
export declare class MinRowCountError extends SurveyError {
|
|
60
66
|
minRowCount: number;
|
|
61
67
|
constructor(minRowCount: number, errorOwner?: ISurveyErrorOwner);
|
package/typings/jsonobject.d.ts
CHANGED
|
@@ -152,11 +152,13 @@ export declare class JsonMetadataClass {
|
|
|
152
152
|
properties: Array<JsonObjectProperty>;
|
|
153
153
|
private isCustomValue;
|
|
154
154
|
private allProperties;
|
|
155
|
+
private requiredProperties;
|
|
155
156
|
private hashProperties;
|
|
156
157
|
constructor(name: string, properties: Array<any>, creator?: (json?: any) => any, parentName?: string);
|
|
157
158
|
find(name: string): JsonObjectProperty;
|
|
158
159
|
findProperty(name: string): JsonObjectProperty;
|
|
159
160
|
getAllProperties(): Array<JsonObjectProperty>;
|
|
161
|
+
getRequiredProperties(): Array<JsonObjectProperty>;
|
|
160
162
|
resetAllProperties(): void;
|
|
161
163
|
get isCustom(): boolean;
|
|
162
164
|
private fillAllProperties;
|
|
@@ -177,6 +179,7 @@ export declare class JsonMetadata {
|
|
|
177
179
|
private classes;
|
|
178
180
|
private alternativeNames;
|
|
179
181
|
private childrenClasses;
|
|
182
|
+
private dynamicPropsCache;
|
|
180
183
|
onSerializingProperty: ((obj: Base, prop: JsonObjectProperty, value: any, json: any) => boolean) | undefined;
|
|
181
184
|
getObjPropertyValue(obj: any, name: string): any;
|
|
182
185
|
setObjPropertyValue(obj: any, name: string, val: any): void;
|
|
@@ -204,6 +207,7 @@ export declare class JsonMetadata {
|
|
|
204
207
|
addProperty(className: string, propertyInfo: any): JsonObjectProperty;
|
|
205
208
|
private addCustomPropertyCore;
|
|
206
209
|
removeProperty(className: string, propertyName: string): boolean;
|
|
210
|
+
private clearDynamicPropsCache;
|
|
207
211
|
private removePropertyFromClass;
|
|
208
212
|
private fillChildrenClasses;
|
|
209
213
|
findClass(name: string): JsonMetadataClass;
|
|
@@ -42,6 +42,7 @@ export declare class LocalizableString implements ILocalizableString {
|
|
|
42
42
|
searchText: string;
|
|
43
43
|
searchIndex: number;
|
|
44
44
|
disableLocalization: boolean;
|
|
45
|
+
defaultValue: string;
|
|
45
46
|
constructor(owner: ILocalizableOwner, useMarkdown?: boolean, name?: string);
|
|
46
47
|
getIsMultiple(): boolean;
|
|
47
48
|
get locale(): string;
|
package/typings/martixBase.d.ts
CHANGED
|
@@ -25,9 +25,13 @@ export declare class QuestionMatrixBaseModel<TRow, TColumn> extends Question {
|
|
|
25
25
|
/**
|
|
26
26
|
* An array of matrix columns.
|
|
27
27
|
*
|
|
28
|
-
*
|
|
28
|
+
* For a Single-Select Matrix, the `columns` array can contain configuration objects with the `text` (display value) and `value` (value to be saved in survey results) properties. Alternatively, the array can contain primitive values that will be used as both the display values and values to be saved in survey results.
|
|
29
29
|
*
|
|
30
|
-
* [View Demo](https://surveyjs.io/form-library/examples/single-selection-matrix-table-question/ (linkStyle))
|
|
30
|
+
* [View "Single-Select Matrix" Demo](https://surveyjs.io/form-library/examples/single-selection-matrix-table-question/ (linkStyle))
|
|
31
|
+
*
|
|
32
|
+
* For a Multi-Select Matrix or Dynamic Matrix, the `columns` array should contain configuration objects with properties described in the [`MatrixDropdownColumn`](https://surveyjs.io/form-library/documentation/api-reference/multi-select-matrix-column-values) API Reference section.
|
|
33
|
+
*
|
|
34
|
+
* [View "Multi-Select Matrix" Demo](https://surveyjs.io/form-library/examples/questiontype-matrixdropdown/ (linkStyle))
|
|
31
35
|
*/
|
|
32
36
|
get columns(): Array<any>;
|
|
33
37
|
set columns(newValue: Array<any>);
|
package/typings/panel.d.ts
CHANGED
|
@@ -122,7 +122,7 @@ export declare class PanelModelBase extends SurveyElement<Question> implements I
|
|
|
122
122
|
*
|
|
123
123
|
* A survey parses and runs all expressions on startup. If any values used in the expression change, the survey re-evaluates it.
|
|
124
124
|
*
|
|
125
|
-
* Refer to the following help topic for more information: [Conditional Visibility](https://surveyjs.io/form-library/documentation/design-survey-conditional-logic#conditional-visibility)
|
|
125
|
+
* Refer to the following help topic for more information: [Conditional Visibility](https://surveyjs.io/form-library/documentation/design-survey-conditional-logic#conditional-visibility).
|
|
126
126
|
* @see visible
|
|
127
127
|
* @see isVisible
|
|
128
128
|
*/
|
|
@@ -215,7 +215,7 @@ export declare class PanelModelBase extends SurveyElement<Question> implements I
|
|
|
215
215
|
*
|
|
216
216
|
* A survey parses and runs all expressions on startup. If any values used in the expression change, the survey re-evaluates it.
|
|
217
217
|
*
|
|
218
|
-
* Refer to the following help topic for more information: [Conditional Visibility](https://surveyjs.io/form-library/documentation/design-survey-conditional-logic#conditional-visibility)
|
|
218
|
+
* Refer to the following help topic for more information: [Conditional Visibility](https://surveyjs.io/form-library/documentation/design-survey-conditional-logic#conditional-visibility).
|
|
219
219
|
* @see isRequired
|
|
220
220
|
*/
|
|
221
221
|
get requiredIf(): string;
|
|
@@ -338,7 +338,7 @@ export declare class PanelModelBase extends SurveyElement<Question> implements I
|
|
|
338
338
|
*
|
|
339
339
|
* A survey parses and runs all expressions on startup. If any values used in the expression change, the survey re-evaluates it.
|
|
340
340
|
*
|
|
341
|
-
* Refer to the following help topic for more information: [Conditional Visibility](https://surveyjs.io/form-library/documentation/design-survey-conditional-logic#conditional-visibility)
|
|
341
|
+
* Refer to the following help topic for more information: [Conditional Visibility](https://surveyjs.io/form-library/documentation/design-survey-conditional-logic#conditional-visibility).
|
|
342
342
|
* @see readOnly
|
|
343
343
|
* @see isReadOnly
|
|
344
344
|
*/
|
package/typings/question.d.ts
CHANGED
|
@@ -158,7 +158,7 @@ export declare class Question extends SurveyElement<Question> implements IQuesti
|
|
|
158
158
|
*
|
|
159
159
|
* A survey parses and runs all expressions on startup. If any values used in the expression change, the survey re-evaluates it.
|
|
160
160
|
*
|
|
161
|
-
* Refer to the following help topic for more information: [Conditional Visibility](https://surveyjs.io/form-library/documentation/design-survey-conditional-logic#conditional-visibility)
|
|
161
|
+
* Refer to the following help topic for more information: [Conditional Visibility](https://surveyjs.io/form-library/documentation/design-survey-conditional-logic#conditional-visibility).
|
|
162
162
|
* @see visible
|
|
163
163
|
* @see isVisible
|
|
164
164
|
*/
|
|
@@ -448,7 +448,7 @@ export declare class Question extends SurveyElement<Question> implements IQuesti
|
|
|
448
448
|
*
|
|
449
449
|
* A survey parses and runs all expressions on startup. If any values used in the expression change, the survey re-evaluates it.
|
|
450
450
|
*
|
|
451
|
-
* Refer to the following help topic for more information: [Conditional Visibility](https://surveyjs.io/form-library/documentation/design-survey-conditional-logic#conditional-visibility)
|
|
451
|
+
* Refer to the following help topic for more information: [Conditional Visibility](https://surveyjs.io/form-library/documentation/design-survey-conditional-logic#conditional-visibility).
|
|
452
452
|
* @see isRequired
|
|
453
453
|
*/
|
|
454
454
|
get requiredIf(): string;
|
|
@@ -495,7 +495,7 @@ export declare class Question extends SurveyElement<Question> implements IQuesti
|
|
|
495
495
|
*
|
|
496
496
|
* A survey parses and runs all expressions on startup. If any values used in the expression change, the survey re-evaluates it.
|
|
497
497
|
*
|
|
498
|
-
* Refer to the following help topic for more information: [Conditional Visibility](https://surveyjs.io/form-library/documentation/design-survey-conditional-logic#conditional-visibility)
|
|
498
|
+
* Refer to the following help topic for more information: [Conditional Visibility](https://surveyjs.io/form-library/documentation/design-survey-conditional-logic#conditional-visibility).
|
|
499
499
|
* @see readOnly
|
|
500
500
|
* @see isReadOnly
|
|
501
501
|
*/
|
|
@@ -37,6 +37,8 @@ export declare class QuestionSelectBase extends Question {
|
|
|
37
37
|
get isUsingCarryForward(): boolean;
|
|
38
38
|
get carryForwardQuestionType(): string;
|
|
39
39
|
private setCarryForwardQuestionType;
|
|
40
|
+
get isUsingRestful(): boolean;
|
|
41
|
+
updateIsUsingRestful(): void;
|
|
40
42
|
supportGoNextPageError(): boolean;
|
|
41
43
|
isLayoutTypeSupported(layoutType: string): boolean;
|
|
42
44
|
localeChanged(): void;
|
|
@@ -291,7 +293,7 @@ export declare class QuestionSelectBase extends Question {
|
|
|
291
293
|
get otherPlaceHolder(): string;
|
|
292
294
|
set otherPlaceHolder(newValue: string);
|
|
293
295
|
/**
|
|
294
|
-
*
|
|
296
|
+
* Gets or sets an error message displayed when users select the "Other" choice item but leave the comment area empty.
|
|
295
297
|
* @see showOtherItem
|
|
296
298
|
*/
|
|
297
299
|
get otherErrorText(): string;
|
|
@@ -385,6 +387,7 @@ export declare class QuestionSelectBase extends Question {
|
|
|
385
387
|
private sortVisibleChoices;
|
|
386
388
|
private sortArray;
|
|
387
389
|
private randomizeArray;
|
|
390
|
+
private get hasChoicesUrl();
|
|
388
391
|
clearIncorrectValues(): void;
|
|
389
392
|
protected hasValueToClearIncorrectValues(): boolean;
|
|
390
393
|
protected clearValueIfInvisibleCore(reason: string): void;
|
|
@@ -457,7 +460,7 @@ export declare class QuestionCheckboxBase extends QuestionSelectBase {
|
|
|
457
460
|
colCountChangedCallback: () => void;
|
|
458
461
|
constructor(name: string);
|
|
459
462
|
/**
|
|
460
|
-
*
|
|
463
|
+
* Gets or sets the number of columns used to arrange choice items.
|
|
461
464
|
*
|
|
462
465
|
* Set this property to 0 if you want to display all items in one line. The default value depends on the available width.
|
|
463
466
|
* @see separateSpecialChoices
|