survey-core 1.10.1 → 1.10.2
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 +78 -2
- package/defaultV2.css.map +1 -1
- package/defaultV2.fontless.css +78 -2
- package/defaultV2.fontless.css.map +1 -1
- package/defaultV2.fontless.min.css +2 -2
- package/defaultV2.min.css +2 -2
- package/i18n/arabic.js +1 -1
- package/i18n/arabic.min.js +1 -1
- package/i18n/basque.js +1 -1
- package/i18n/basque.min.js +1 -1
- package/i18n/bulgarian.js +1 -1
- package/i18n/bulgarian.min.js +1 -1
- package/i18n/catalan.js +1 -1
- package/i18n/catalan.min.js +1 -1
- package/i18n/croatian.js +1 -1
- package/i18n/croatian.min.js +1 -1
- package/i18n/czech.js +1 -1
- package/i18n/czech.min.js +1 -1
- package/i18n/danish.js +1 -1
- package/i18n/danish.min.js +1 -1
- package/i18n/dutch.js +1 -1
- package/i18n/dutch.min.js +1 -1
- package/i18n/english.js +1 -1
- package/i18n/english.min.js +1 -1
- package/i18n/estonian.js +1 -1
- package/i18n/estonian.min.js +1 -1
- package/i18n/finnish.js +1 -1
- package/i18n/finnish.min.js +1 -1
- package/i18n/french.js +1 -1
- package/i18n/french.min.js +1 -1
- package/i18n/georgian.js +1 -1
- package/i18n/georgian.min.js +1 -1
- package/i18n/german.js +8 -25
- package/i18n/german.js.map +1 -1
- package/i18n/german.min.js +2 -2
- package/i18n/greek.js +1 -1
- package/i18n/greek.min.js +1 -1
- package/i18n/hebrew.js +1 -1
- package/i18n/hebrew.min.js +1 -1
- package/i18n/hindi.js +1 -1
- package/i18n/hindi.min.js +1 -1
- package/i18n/hungarian.js +1 -1
- package/i18n/hungarian.min.js +1 -1
- package/i18n/icelandic.js +1 -1
- package/i18n/icelandic.min.js +1 -1
- package/i18n/index.js +8 -25
- package/i18n/index.js.map +1 -1
- package/i18n/index.min.js +2 -2
- package/i18n/indonesian.js +1 -1
- package/i18n/indonesian.min.js +1 -1
- package/i18n/italian.js +1 -1
- package/i18n/italian.min.js +1 -1
- package/i18n/japanese.js +1 -1
- package/i18n/japanese.min.js +1 -1
- package/i18n/kazakh.js +1 -1
- package/i18n/kazakh.min.js +1 -1
- package/i18n/korean.js +1 -1
- package/i18n/korean.min.js +1 -1
- package/i18n/latvian.js +1 -1
- package/i18n/latvian.min.js +1 -1
- package/i18n/lithuanian.js +1 -1
- package/i18n/lithuanian.min.js +1 -1
- package/i18n/macedonian.js +1 -1
- package/i18n/macedonian.min.js +1 -1
- package/i18n/malay.js +1 -1
- package/i18n/malay.min.js +1 -1
- package/i18n/nl-BE.js +1 -1
- package/i18n/nl-BE.min.js +1 -1
- package/i18n/norwegian.js +1 -1
- package/i18n/norwegian.min.js +1 -1
- package/i18n/persian.js +1 -1
- package/i18n/persian.min.js +1 -1
- package/i18n/polish.js +1 -1
- package/i18n/polish.min.js +1 -1
- package/i18n/portuguese-br.js +1 -1
- package/i18n/portuguese-br.min.js +1 -1
- package/i18n/portuguese.js +1 -1
- package/i18n/portuguese.min.js +1 -1
- package/i18n/romanian.js +1 -1
- package/i18n/romanian.min.js +1 -1
- package/i18n/russian.js +1 -1
- package/i18n/russian.min.js +1 -1
- package/i18n/serbian.js +1 -1
- package/i18n/serbian.min.js +1 -1
- package/i18n/simplified-chinese.js +1 -1
- package/i18n/simplified-chinese.min.js +1 -1
- package/i18n/slovak.js +1 -1
- package/i18n/slovak.min.js +1 -1
- package/i18n/spanish.js +1 -1
- package/i18n/spanish.min.js +1 -1
- package/i18n/swahili.js +1 -1
- package/i18n/swahili.min.js +1 -1
- package/i18n/swedish.js +1 -1
- package/i18n/swedish.min.js +1 -1
- package/i18n/tajik.js +1 -1
- package/i18n/tajik.min.js +1 -1
- package/i18n/telugu.js +1 -1
- package/i18n/telugu.min.js +1 -1
- package/i18n/thai.js +1 -1
- package/i18n/thai.min.js +1 -1
- package/i18n/traditional-chinese.js +1 -1
- package/i18n/traditional-chinese.min.js +1 -1
- package/i18n/turkish.js +1 -1
- package/i18n/turkish.min.js +1 -1
- package/i18n/ukrainian.js +1 -1
- package/i18n/ukrainian.min.js +1 -1
- package/i18n/urdu.js +1 -1
- package/i18n/urdu.min.js +1 -1
- package/i18n/vietnamese.js +1 -1
- package/i18n/vietnamese.min.js +1 -1
- package/i18n/welsh.js +1 -1
- package/i18n/welsh.min.js +1 -1
- 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.js +1 -1
- package/plugins/bootstrap-integration.min.js +1 -1
- package/plugins/bootstrap-material-integration.js +1 -1
- package/plugins/bootstrap-material-integration.min.js +1 -1
- package/survey.core.js +141 -87
- package/survey.core.js.map +1 -1
- package/survey.core.min.js +3 -3
- package/survey.css +1 -1
- package/survey.i18n.js +8 -25
- 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/dropdownListModel.d.ts +1 -0
- package/ts3.4/typings/list.d.ts +2 -2
- package/ts3.4/typings/multiSelectListModel.d.ts +1 -1
- package/ts3.4/typings/page.d.ts +0 -2
- package/ts3.4/typings/panel.d.ts +2 -0
- package/ts3.4/typings/question_file.d.ts +2 -1
- package/ts3.4/typings/question_imagepicker.d.ts +1 -0
- package/ts3.4/typings/question_matrix.d.ts +3 -3
- package/ts3.4/typings/survey.d.ts +1 -0
- package/typings/dropdownListModel.d.ts +1 -0
- package/typings/list.d.ts +2 -2
- package/typings/multiSelectListModel.d.ts +1 -1
- package/typings/page.d.ts +0 -2
- package/typings/panel.d.ts +2 -0
- package/typings/question_file.d.ts +3 -1
- package/typings/question_imagepicker.d.ts +1 -0
- package/typings/question_matrix.d.ts +4 -3
- package/typings/survey.d.ts +1 -0
|
@@ -71,6 +71,7 @@ export declare class DropdownListModel extends Base {
|
|
|
71
71
|
readonly filterStringEnabled: boolean;
|
|
72
72
|
readonly inputMode: "none" | "text";
|
|
73
73
|
setSearchEnabled(newValue: boolean): void;
|
|
74
|
+
setChoicesLazyLoadEnabled(newValue: boolean): void;
|
|
74
75
|
updateItems(): void;
|
|
75
76
|
onClick(event: any): void;
|
|
76
77
|
chevronPointerDown(event: any): void;
|
package/ts3.4/typings/list.d.ts
CHANGED
|
@@ -32,10 +32,10 @@ export interface IListModel {
|
|
|
32
32
|
export declare class ListModel<T extends BaseAction = Action> extends ActionContainer<T> {
|
|
33
33
|
onSelectionChanged: (item: T, ...params: any[]) => void;
|
|
34
34
|
allowSelection: boolean;
|
|
35
|
-
private onFilterStringChangedCallback?;
|
|
36
35
|
elementId?: string;
|
|
37
36
|
private listContainerHtmlElement;
|
|
38
37
|
private loadingIndicatorValue;
|
|
38
|
+
private onFilterStringChangedCallback?;
|
|
39
39
|
searchEnabled: boolean;
|
|
40
40
|
showFilter: boolean;
|
|
41
41
|
forceShowFilter: boolean;
|
|
@@ -58,7 +58,7 @@ export declare class ListModel<T extends BaseAction = Action> extends ActionCont
|
|
|
58
58
|
private readonly shouldProcessFilter: any;
|
|
59
59
|
private onFilterStringChanged;
|
|
60
60
|
private scrollToItem;
|
|
61
|
-
constructor(items: Array<IAction>, onSelectionChanged: (item: T, ...params: any[]) => void, allowSelection: boolean, selectedItem?: IAction,
|
|
61
|
+
constructor(items: Array<IAction>, onSelectionChanged: (item: T, ...params: any[]) => void, allowSelection: boolean, selectedItem?: IAction, elementId?: string);
|
|
62
62
|
private onTextSearchCallback;
|
|
63
63
|
setOnFilterStringChangedCallback(callback: (text: string) => void): void;
|
|
64
64
|
setOnTextSearchCallback(callback: (item: T, textToSearch: string) => boolean): void;
|
|
@@ -4,7 +4,7 @@ export declare class MultiSelectListModel<T extends BaseAction = Action> extends
|
|
|
4
4
|
selectedItems: Array<IAction>;
|
|
5
5
|
hideSelectedItems: boolean;
|
|
6
6
|
private updateItemState;
|
|
7
|
-
constructor(items: Array<IAction>, onSelectionChanged: (item: T, status: string) => void, allowSelection: boolean, selectedItems?: Array<IAction>,
|
|
7
|
+
constructor(items: Array<IAction>, onSelectionChanged: (item: T, status: string) => void, allowSelection: boolean, selectedItems?: Array<IAction>, elementId?: string);
|
|
8
8
|
onItemClick: (item: T) => void;
|
|
9
9
|
isItemDisabled: (itemValue: T) => boolean;
|
|
10
10
|
isItemSelected: (itemValue: T) => boolean;
|
package/ts3.4/typings/page.d.ts
CHANGED
|
@@ -21,14 +21,12 @@ export declare class PageModel extends PanelModelBase implements IPage {
|
|
|
21
21
|
* If navigation titles are unspecified, the navigation buttons display page [titles](https://surveyjs.io/form-library/documentation/api-reference/page-model#title) or [names](https://surveyjs.io/form-library/documentation/pagemodel#name).
|
|
22
22
|
*/
|
|
23
23
|
navigationTitle: string;
|
|
24
|
-
readonly locNavigationTitle: LocalizableString;
|
|
25
24
|
/*
|
|
26
25
|
* Explanatory text displayed under a navigation button in the progress bar. Applies when the [progress bar is visible](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#showProgressBar), `SurveyModel`'s [`progressBarType`](https://surveyjs.io/form-library/documentation/surveymodel#progressBarType) is set to `"pages"`, and [`progressBarShowPageTitles`](https://surveyjs.io/form-library/documentation/surveymodel#progressBarShowPageTitles) is `true`.
|
|
27
26
|
*/
|
|
28
27
|
navigationDescription: string;
|
|
29
28
|
readonly locNavigationDescription: LocalizableString;
|
|
30
29
|
navigationLocStrChanged(): void;
|
|
31
|
-
readonly renderedNavigationTitle: string;
|
|
32
30
|
passed: boolean;
|
|
33
31
|
protected removeFromParent(): void;
|
|
34
32
|
onFirstRendering(): void;
|
package/ts3.4/typings/panel.d.ts
CHANGED
|
@@ -80,6 +80,8 @@ export declare class PanelModelBase extends SurveyElement<Question> implements I
|
|
|
80
80
|
readonly _showDescription: boolean;
|
|
81
81
|
localeChanged(): void;
|
|
82
82
|
locStrsChanged(): void;
|
|
83
|
+
getMarkdownHtml(text: string, name: string): string;
|
|
84
|
+
readonly locNavigationTitle: LocalizableString;
|
|
83
85
|
readonly renderedNavigationTitle: string;
|
|
84
86
|
/*
|
|
85
87
|
* Returns a character or text string that indicates a required panel/page.
|
|
@@ -154,10 +154,11 @@ export declare class QuestionFileModel extends QuestionFileModelBase {
|
|
|
154
154
|
takePhotoCaption: string;
|
|
155
155
|
readonly locTakePhotoCaption: LocalizableString;
|
|
156
156
|
replaceButtonCaption: string;
|
|
157
|
-
clearButtonCaption: string;
|
|
158
157
|
removeFileCaption: string;
|
|
159
158
|
loadingFileTitle: string;
|
|
160
159
|
chooseFileTitle: string;
|
|
160
|
+
clearButtonCaption: string;
|
|
161
|
+
readonly locClearButtonCaption: LocalizableString;
|
|
161
162
|
/**
|
|
162
163
|
* A placeholder text displayed when the File Upload question doesn't contain any files or photos to upload. Applies only when [`sourceType`](#sourceType) value is `"file-camera"`.
|
|
163
164
|
* @see filePlaceholder
|
|
@@ -145,6 +145,7 @@ export declare class QuestionImagePickerModel extends QuestionCheckboxBase {
|
|
|
145
145
|
protected getObservedElementSelector(): string;
|
|
146
146
|
protected supportResponsiveness(): boolean;
|
|
147
147
|
protected needResponsiveness(): boolean;
|
|
148
|
+
needResponsiveWidth(): boolean;
|
|
148
149
|
private _width;
|
|
149
150
|
onContentLoaded: (item: ImageItemValue, event: any) => void;
|
|
150
151
|
private responsiveColCount;
|
|
@@ -27,6 +27,7 @@ export declare class MatrixRowModel extends Base {
|
|
|
27
27
|
setValueDirectly(val: any): void;
|
|
28
28
|
readonly isReadOnly: boolean;
|
|
29
29
|
readonly rowTextClasses: string;
|
|
30
|
+
hasError: boolean;
|
|
30
31
|
readonly rowClasses: string;
|
|
31
32
|
}
|
|
32
33
|
export interface IMatrixCellsOwner extends ILocalizableOwner {
|
|
@@ -134,11 +135,10 @@ export declare class QuestionMatrixModel extends QuestionMatrixBaseModel<MatrixR
|
|
|
134
135
|
supportGoNextPageAutomatic(): boolean;
|
|
135
136
|
private errorsInRow;
|
|
136
137
|
protected onCheckForErrors(errors: Array<SurveyError>, isOnValueChanged: boolean): void;
|
|
137
|
-
private hasErrorAllRowsRequired;
|
|
138
|
-
private hasErrorEachRowUnique;
|
|
139
138
|
private hasValuesInAllRows;
|
|
140
|
-
private
|
|
139
|
+
private checkErrorsAllRows;
|
|
141
140
|
private addErrorIntoRow;
|
|
141
|
+
private refreshRowsErrors;
|
|
142
142
|
protected getIsAnswered(): boolean;
|
|
143
143
|
private createMatrixRow;
|
|
144
144
|
protected onMatrixRowCreated(row: MatrixRowModel): void;
|
|
@@ -72,6 +72,7 @@ export declare class DropdownListModel extends Base {
|
|
|
72
72
|
get filterStringEnabled(): boolean;
|
|
73
73
|
get inputMode(): "none" | "text";
|
|
74
74
|
setSearchEnabled(newValue: boolean): void;
|
|
75
|
+
setChoicesLazyLoadEnabled(newValue: boolean): void;
|
|
75
76
|
updateItems(): void;
|
|
76
77
|
onClick(event: any): void;
|
|
77
78
|
chevronPointerDown(event: any): void;
|
package/typings/list.d.ts
CHANGED
|
@@ -32,10 +32,10 @@ export interface IListModel {
|
|
|
32
32
|
export declare class ListModel<T extends BaseAction = Action> extends ActionContainer<T> {
|
|
33
33
|
onSelectionChanged: (item: T, ...params: any[]) => void;
|
|
34
34
|
allowSelection: boolean;
|
|
35
|
-
private onFilterStringChangedCallback?;
|
|
36
35
|
elementId?: string;
|
|
37
36
|
private listContainerHtmlElement;
|
|
38
37
|
private loadingIndicatorValue;
|
|
38
|
+
private onFilterStringChangedCallback?;
|
|
39
39
|
searchEnabled: boolean;
|
|
40
40
|
showFilter: boolean;
|
|
41
41
|
forceShowFilter: boolean;
|
|
@@ -58,7 +58,7 @@ export declare class ListModel<T extends BaseAction = Action> extends ActionCont
|
|
|
58
58
|
private get shouldProcessFilter();
|
|
59
59
|
private onFilterStringChanged;
|
|
60
60
|
private scrollToItem;
|
|
61
|
-
constructor(items: Array<IAction>, onSelectionChanged: (item: T, ...params: any[]) => void, allowSelection: boolean, selectedItem?: IAction,
|
|
61
|
+
constructor(items: Array<IAction>, onSelectionChanged: (item: T, ...params: any[]) => void, allowSelection: boolean, selectedItem?: IAction, elementId?: string);
|
|
62
62
|
private onTextSearchCallback;
|
|
63
63
|
setOnFilterStringChangedCallback(callback: (text: string) => void): void;
|
|
64
64
|
setOnTextSearchCallback(callback: (item: T, textToSearch: string) => boolean): void;
|
|
@@ -4,7 +4,7 @@ export declare class MultiSelectListModel<T extends BaseAction = Action> extends
|
|
|
4
4
|
selectedItems: Array<IAction>;
|
|
5
5
|
hideSelectedItems: boolean;
|
|
6
6
|
private updateItemState;
|
|
7
|
-
constructor(items: Array<IAction>, onSelectionChanged: (item: T, status: string) => void, allowSelection: boolean, selectedItems?: Array<IAction>,
|
|
7
|
+
constructor(items: Array<IAction>, onSelectionChanged: (item: T, status: string) => void, allowSelection: boolean, selectedItems?: Array<IAction>, elementId?: string);
|
|
8
8
|
onItemClick: (item: T) => void;
|
|
9
9
|
isItemDisabled: (itemValue: T) => boolean;
|
|
10
10
|
isItemSelected: (itemValue: T) => boolean;
|
package/typings/page.d.ts
CHANGED
|
@@ -22,7 +22,6 @@ export declare class PageModel extends PanelModelBase implements IPage {
|
|
|
22
22
|
*/
|
|
23
23
|
get navigationTitle(): string;
|
|
24
24
|
set navigationTitle(val: string);
|
|
25
|
-
get locNavigationTitle(): LocalizableString;
|
|
26
25
|
/**
|
|
27
26
|
* Explanatory text displayed under a navigation button in the progress bar. Applies when the [progress bar is visible](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#showProgressBar), `SurveyModel`'s [`progressBarType`](https://surveyjs.io/form-library/documentation/surveymodel#progressBarType) is set to `"pages"`, and [`progressBarShowPageTitles`](https://surveyjs.io/form-library/documentation/surveymodel#progressBarShowPageTitles) is `true`.
|
|
28
27
|
*/
|
|
@@ -30,7 +29,6 @@ export declare class PageModel extends PanelModelBase implements IPage {
|
|
|
30
29
|
set navigationDescription(val: string);
|
|
31
30
|
get locNavigationDescription(): LocalizableString;
|
|
32
31
|
navigationLocStrChanged(): void;
|
|
33
|
-
get renderedNavigationTitle(): string;
|
|
34
32
|
get passed(): boolean;
|
|
35
33
|
set passed(val: boolean);
|
|
36
34
|
protected removeFromParent(): void;
|
package/typings/panel.d.ts
CHANGED
|
@@ -84,6 +84,8 @@ export declare class PanelModelBase extends SurveyElement<Question> implements I
|
|
|
84
84
|
get _showDescription(): boolean;
|
|
85
85
|
localeChanged(): void;
|
|
86
86
|
locStrsChanged(): void;
|
|
87
|
+
getMarkdownHtml(text: string, name: string): string;
|
|
88
|
+
get locNavigationTitle(): LocalizableString;
|
|
87
89
|
get renderedNavigationTitle(): string;
|
|
88
90
|
/**
|
|
89
91
|
* Returns a character or text string that indicates a required panel/page.
|
|
@@ -165,10 +165,12 @@ export declare class QuestionFileModel extends QuestionFileModelBase {
|
|
|
165
165
|
set takePhotoCaption(val: string);
|
|
166
166
|
get locTakePhotoCaption(): LocalizableString;
|
|
167
167
|
replaceButtonCaption: string;
|
|
168
|
-
clearButtonCaption: string;
|
|
169
168
|
removeFileCaption: string;
|
|
170
169
|
loadingFileTitle: string;
|
|
171
170
|
chooseFileTitle: string;
|
|
171
|
+
get clearButtonCaption(): string;
|
|
172
|
+
set clearButtonCaption(value: string);
|
|
173
|
+
get locClearButtonCaption(): LocalizableString;
|
|
172
174
|
/**
|
|
173
175
|
* A placeholder text displayed when the File Upload question doesn't contain any files or photos to upload. Applies only when [`sourceType`](#sourceType) value is `"file-camera"`.
|
|
174
176
|
* @see filePlaceholder
|
|
@@ -153,6 +153,7 @@ export declare class QuestionImagePickerModel extends QuestionCheckboxBase {
|
|
|
153
153
|
protected getObservedElementSelector(): string;
|
|
154
154
|
protected supportResponsiveness(): boolean;
|
|
155
155
|
protected needResponsiveness(): boolean;
|
|
156
|
+
needResponsiveWidth(): boolean;
|
|
156
157
|
private _width;
|
|
157
158
|
onContentLoaded: (item: ImageItemValue, event: any) => void;
|
|
158
159
|
private responsiveColCount;
|
|
@@ -28,6 +28,8 @@ export declare class MatrixRowModel extends Base {
|
|
|
28
28
|
setValueDirectly(val: any): void;
|
|
29
29
|
get isReadOnly(): boolean;
|
|
30
30
|
get rowTextClasses(): string;
|
|
31
|
+
get hasError(): boolean;
|
|
32
|
+
set hasError(val: boolean);
|
|
31
33
|
get rowClasses(): string;
|
|
32
34
|
}
|
|
33
35
|
export interface IMatrixCellsOwner extends ILocalizableOwner {
|
|
@@ -140,11 +142,10 @@ export declare class QuestionMatrixModel extends QuestionMatrixBaseModel<MatrixR
|
|
|
140
142
|
supportGoNextPageAutomatic(): boolean;
|
|
141
143
|
private errorsInRow;
|
|
142
144
|
protected onCheckForErrors(errors: Array<SurveyError>, isOnValueChanged: boolean): void;
|
|
143
|
-
private hasErrorAllRowsRequired;
|
|
144
|
-
private hasErrorEachRowUnique;
|
|
145
145
|
private hasValuesInAllRows;
|
|
146
|
-
private
|
|
146
|
+
private checkErrorsAllRows;
|
|
147
147
|
private addErrorIntoRow;
|
|
148
|
+
private refreshRowsErrors;
|
|
148
149
|
protected getIsAnswered(): boolean;
|
|
149
150
|
private createMatrixRow;
|
|
150
151
|
protected onMatrixRowCreated(row: MatrixRowModel): void;
|
package/typings/survey.d.ts
CHANGED