survey-core 1.11.3 → 1.11.4
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 +55 -15
- package/defaultV2.css.map +1 -1
- package/defaultV2.fontless.css +55 -15
- 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 +1 -1
- package/i18n/german.min.js +1 -1
- 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 +1 -1
- package/i18n/index.min.js +1 -1
- 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/philippines.js +1 -1
- package/i18n/philippines.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 +113 -79
- package/survey.core.js.map +1 -1
- package/survey.core.min.js +3 -3
- package/survey.css +1 -1
- package/survey.i18n.js +1 -1
- package/survey.i18n.min.js +1 -1
- 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/defaultCss/cssmodern.d.ts +1 -0
- package/ts3.4/typings/defaultCss/cssstandard.d.ts +1 -0
- package/ts3.4/typings/defaultCss/defaultV2Css.d.ts +1 -0
- package/ts3.4/typings/dropdownListModel.d.ts +2 -0
- package/ts3.4/typings/global_variables_utils.d.ts +3 -0
- package/ts3.4/typings/mask/mask_base.d.ts +3 -0
- package/ts3.4/typings/panel.d.ts +2 -0
- package/ts3.4/typings/question_boolean.d.ts +0 -4
- package/ts3.4/typings/question_ranking.d.ts +4 -5
- package/ts3.4/typings/settings.d.ts +1 -0
- package/ts3.4/typings/survey.d.ts +3 -1
- package/ts3.4/typings/utils/devices.d.ts +4 -0
- package/typings/defaultCss/cssmodern.d.ts +1 -0
- package/typings/defaultCss/cssstandard.d.ts +1 -0
- package/typings/defaultCss/defaultV2Css.d.ts +1 -0
- package/typings/dropdownListModel.d.ts +2 -0
- package/typings/global_variables_utils.d.ts +3 -0
- package/typings/mask/mask_base.d.ts +3 -0
- package/typings/panel.d.ts +2 -0
- package/typings/question_boolean.d.ts +0 -4
- package/typings/question_ranking.d.ts +1 -3
- package/typings/settings.d.ts +1 -0
- package/typings/survey.d.ts +3 -1
- package/typings/utils/devices.d.ts +4 -0
package/themes/solid-light.js
CHANGED
|
@@ -9,6 +9,7 @@ export declare class DropdownListModel extends Base {
|
|
|
9
9
|
protected onSelectionChanged?: (item: IAction, ...params: any[]) => void;
|
|
10
10
|
readonly minPageSize = 25;
|
|
11
11
|
readonly loadingItemHeight = 40;
|
|
12
|
+
timer: any;
|
|
12
13
|
private htmlCleanerElement;
|
|
13
14
|
private _markdownMode;
|
|
14
15
|
private _popupModel;
|
|
@@ -25,6 +26,7 @@ export declare class DropdownListModel extends Base {
|
|
|
25
26
|
protected listModelFilterStringChanged: (newValue: string) => void;
|
|
26
27
|
private resetItemsSettings;
|
|
27
28
|
private setItems;
|
|
29
|
+
private loadQuestionChoices;
|
|
28
30
|
private updateQuestionChoices;
|
|
29
31
|
private updatePopupFocusFirstInputSelector;
|
|
30
32
|
protected createPopup(): void;
|
|
@@ -11,6 +11,9 @@ export declare class DomWindowHelper {
|
|
|
11
11
|
static requestAnimationFrame(callback: FrameRequestCallback): number;
|
|
12
12
|
static addEventListener(type: string, listener: (e?: any) => void): void;
|
|
13
13
|
static removeEventListener(type: string, listener: (e?: any) => void): void;
|
|
14
|
+
static matchMedia(mediaQueryString: string): {
|
|
15
|
+
matches: boolean;
|
|
16
|
+
} | null;
|
|
14
17
|
}
|
|
15
18
|
export declare class DomDocumentHelper {
|
|
16
19
|
static isAvailable(): boolean;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { Base } from "../base";
|
|
2
|
+
import { ISurvey } from "../base-interfaces";
|
|
2
3
|
import { IInputMask, IMaskedInputResult, ITextInputParams } from "./mask_utils";
|
|
3
4
|
/**
|
|
4
5
|
* A base class for classes that implement input masks:
|
|
@@ -15,6 +16,8 @@ export declare class InputMaskBase extends Base implements IInputMask {
|
|
|
15
16
|
* Default value: `false`
|
|
16
17
|
*/
|
|
17
18
|
saveMaskedValue: boolean;
|
|
19
|
+
owner: ISurvey;
|
|
20
|
+
getSurvey(live?: boolean): ISurvey;
|
|
18
21
|
getType(): string;
|
|
19
22
|
setData(json: any): void;
|
|
20
23
|
getData(): any;
|
package/ts3.4/typings/panel.d.ts
CHANGED
|
@@ -74,6 +74,7 @@ export declare class PanelModelBase extends SurveyElement<Question> implements I
|
|
|
74
74
|
showTitle: boolean;
|
|
75
75
|
readonly hasTitle: boolean;
|
|
76
76
|
delete(doDispose?: boolean): void;
|
|
77
|
+
private deletePanel;
|
|
77
78
|
protected removeFromParent(): void;
|
|
78
79
|
protected canShowTitle(): boolean;
|
|
79
80
|
showDescription: boolean;
|
|
@@ -305,6 +306,7 @@ export declare class PanelModelBase extends SurveyElement<Question> implements I
|
|
|
305
306
|
private updateRowsOnElementAdded;
|
|
306
307
|
protected onAddElement(element: IElement, index: number): void;
|
|
307
308
|
protected onRemoveElement(element: IElement): void;
|
|
309
|
+
private onRemoveElementNotifySurvey;
|
|
308
310
|
private onElementVisibilityChanged;
|
|
309
311
|
private onElementStartWithNewLineChanged;
|
|
310
312
|
private updateRowsVisibility;
|
|
@@ -28,10 +28,6 @@ export declare class QuestionBooleanModel extends Question {
|
|
|
28
28
|
getDefaultValue(): any;
|
|
29
29
|
readonly locTitle: LocalizableString;
|
|
30
30
|
readonly labelRenderedAriaID: string;
|
|
31
|
-
leftAnswerElement: HTMLElement;
|
|
32
|
-
thumbMargin: string;
|
|
33
|
-
updateThumbMargin(): void;
|
|
34
|
-
afterRender(el: HTMLElement): void;
|
|
35
31
|
beforeDestroyQuestionElement(el: HTMLElement): void;
|
|
36
32
|
showTitle: boolean;
|
|
37
33
|
label: string;
|
|
@@ -12,7 +12,6 @@ export declare class QuestionRankingModel extends QuestionCheckboxModel {
|
|
|
12
12
|
private domNode;
|
|
13
13
|
private dragOrClickHelper;
|
|
14
14
|
constructor(name: string);
|
|
15
|
-
protected getDefaultItemComponent(): string;
|
|
16
15
|
getType(): string;
|
|
17
16
|
getItemTabIndex(item: ItemValue): number;
|
|
18
17
|
protected supportContainerQueries(): boolean;
|
|
@@ -88,10 +87,10 @@ export declare class QuestionRankingModel extends QuestionCheckboxModel {
|
|
|
88
87
|
* Disable this property if you want to start dragging when users perform a scroll gesture.
|
|
89
88
|
*/
|
|
90
89
|
longTap: boolean;
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
90
|
+
/**
|
|
91
|
+
* The name of a component used to render items.
|
|
92
|
+
*/
|
|
93
|
+
protected getDefaultItemComponent(): string;
|
|
95
94
|
/*
|
|
96
95
|
* Specifies whether users can select choices they want to rank.
|
|
97
96
|
*
|
|
@@ -340,6 +340,7 @@ export declare var settings: {
|
|
|
340
340
|
* This setting applies to all TagBox questions on a page. You can use the [closeOnSelect](https://surveyjs.io/form-library/documentation/api-reference/dropdown-tag-box-model#closeOnSelect) property to specify the same setting for an individual TagBox question.
|
|
341
341
|
*/
|
|
342
342
|
tagboxCloseOnSelect: boolean;
|
|
343
|
+
dropdownSearchDelay: number;
|
|
343
344
|
/**
|
|
344
345
|
* A function that activates a browser confirm dialog.
|
|
345
346
|
*
|
|
@@ -440,7 +440,7 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
|
|
|
440
440
|
*/
|
|
441
441
|
onUpdatePageCssClasses: EventBase<SurveyModel, UpdatePageCssClassesEvent>;
|
|
442
442
|
/**
|
|
443
|
-
* An event that is raised before rendering a choice item in Radio Button Group
|
|
443
|
+
* An event that is raised before rendering a choice item in Radio Button Group and Checkboxes questions. Use it to override default CSS classes applied to choice items.
|
|
444
444
|
*
|
|
445
445
|
* For information on event handler parameters, refer to descriptions within the interface.
|
|
446
446
|
*
|
|
@@ -1017,6 +1017,8 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
|
|
|
1017
1017
|
* - `"onValueChanged"` - Triggers validation each time a question value is changed.
|
|
1018
1018
|
* - `"onComplete"` - Triggers validation when a user clicks the Complete button. If previous pages contain errors, the survey switches to the page with the first error.
|
|
1019
1019
|
*
|
|
1020
|
+
* > The `"onValueChanged"` doesn't work with date input fields because of the way browsers process date values. In most browsers, the value is considered changed as soon as a user starts entering the date in a text input field. This means that a user may only enter the day without having the chance to enter the month and year before validation is triggered. For this reason, date input fields are validated before the survey is switched to the next page or completed.
|
|
1021
|
+
*
|
|
1020
1022
|
* Refer to the following help topic for more information: [Data Validation](https://surveyjs.io/form-library/documentation/data-validation).
|
|
1021
1023
|
* @see validationEnabled
|
|
1022
1024
|
* @see validationAllowSwitchPages
|
|
@@ -6,3 +6,7 @@ export declare var mouseInfo: {
|
|
|
6
6
|
};
|
|
7
7
|
export declare let IsTouch: boolean;
|
|
8
8
|
export declare function _setIsTouch(val: boolean): void;
|
|
9
|
+
export declare type MatchMediaMethod = ((query: string) => {
|
|
10
|
+
matches: boolean;
|
|
11
|
+
} | null) | null;
|
|
12
|
+
export declare function detectMouseSupport(matchMedia: MatchMediaMethod): boolean;
|
|
@@ -9,6 +9,7 @@ export declare class DropdownListModel extends Base {
|
|
|
9
9
|
protected onSelectionChanged?: (item: IAction, ...params: any[]) => void;
|
|
10
10
|
readonly minPageSize = 25;
|
|
11
11
|
readonly loadingItemHeight = 40;
|
|
12
|
+
timer: any;
|
|
12
13
|
private htmlCleanerElement;
|
|
13
14
|
private _markdownMode;
|
|
14
15
|
private _popupModel;
|
|
@@ -25,6 +26,7 @@ export declare class DropdownListModel extends Base {
|
|
|
25
26
|
protected listModelFilterStringChanged: (newValue: string) => void;
|
|
26
27
|
private resetItemsSettings;
|
|
27
28
|
private setItems;
|
|
29
|
+
private loadQuestionChoices;
|
|
28
30
|
private updateQuestionChoices;
|
|
29
31
|
private updatePopupFocusFirstInputSelector;
|
|
30
32
|
protected createPopup(): void;
|
|
@@ -11,6 +11,9 @@ export declare class DomWindowHelper {
|
|
|
11
11
|
static requestAnimationFrame(callback: FrameRequestCallback): number;
|
|
12
12
|
static addEventListener(type: string, listener: (e?: any) => void): void;
|
|
13
13
|
static removeEventListener(type: string, listener: (e?: any) => void): void;
|
|
14
|
+
static matchMedia(mediaQueryString: string): {
|
|
15
|
+
matches: boolean;
|
|
16
|
+
} | null;
|
|
14
17
|
}
|
|
15
18
|
export declare class DomDocumentHelper {
|
|
16
19
|
static isAvailable(): boolean;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { Base } from "../base";
|
|
2
|
+
import { ISurvey } from "../base-interfaces";
|
|
2
3
|
import { IInputMask, IMaskedInputResult, ITextInputParams } from "./mask_utils";
|
|
3
4
|
/**
|
|
4
5
|
* A base class for classes that implement input masks:
|
|
@@ -15,6 +16,8 @@ export declare class InputMaskBase extends Base implements IInputMask {
|
|
|
15
16
|
* Default value: `false`
|
|
16
17
|
*/
|
|
17
18
|
saveMaskedValue: boolean;
|
|
19
|
+
owner: ISurvey;
|
|
20
|
+
getSurvey(live?: boolean): ISurvey;
|
|
18
21
|
getType(): string;
|
|
19
22
|
setData(json: any): void;
|
|
20
23
|
getData(): any;
|
package/typings/panel.d.ts
CHANGED
|
@@ -78,6 +78,7 @@ export declare class PanelModelBase extends SurveyElement<Question> implements I
|
|
|
78
78
|
showTitle: boolean;
|
|
79
79
|
get hasTitle(): boolean;
|
|
80
80
|
delete(doDispose?: boolean): void;
|
|
81
|
+
private deletePanel;
|
|
81
82
|
protected removeFromParent(): void;
|
|
82
83
|
protected canShowTitle(): boolean;
|
|
83
84
|
showDescription: boolean;
|
|
@@ -317,6 +318,7 @@ export declare class PanelModelBase extends SurveyElement<Question> implements I
|
|
|
317
318
|
private updateRowsOnElementAdded;
|
|
318
319
|
protected onAddElement(element: IElement, index: number): void;
|
|
319
320
|
protected onRemoveElement(element: IElement): void;
|
|
321
|
+
private onRemoveElementNotifySurvey;
|
|
320
322
|
private onElementVisibilityChanged;
|
|
321
323
|
private onElementStartWithNewLineChanged;
|
|
322
324
|
private updateRowsVisibility;
|
|
@@ -31,10 +31,6 @@ export declare class QuestionBooleanModel extends Question {
|
|
|
31
31
|
getDefaultValue(): any;
|
|
32
32
|
get locTitle(): LocalizableString;
|
|
33
33
|
get labelRenderedAriaID(): string;
|
|
34
|
-
leftAnswerElement: HTMLElement;
|
|
35
|
-
thumbMargin: string;
|
|
36
|
-
updateThumbMargin(): void;
|
|
37
|
-
afterRender(el: HTMLElement): void;
|
|
38
34
|
beforeDestroyQuestionElement(el: HTMLElement): void;
|
|
39
35
|
showTitle: boolean;
|
|
40
36
|
label: string;
|
|
@@ -12,7 +12,6 @@ export declare class QuestionRankingModel extends QuestionCheckboxModel {
|
|
|
12
12
|
private domNode;
|
|
13
13
|
private dragOrClickHelper;
|
|
14
14
|
constructor(name: string);
|
|
15
|
-
protected getDefaultItemComponent(): string;
|
|
16
15
|
getType(): string;
|
|
17
16
|
getItemTabIndex(item: ItemValue): number;
|
|
18
17
|
protected supportContainerQueries(): boolean;
|
|
@@ -94,8 +93,7 @@ export declare class QuestionRankingModel extends QuestionCheckboxModel {
|
|
|
94
93
|
/**
|
|
95
94
|
* The name of a component used to render items.
|
|
96
95
|
*/
|
|
97
|
-
|
|
98
|
-
set itemContentComponent(value: string);
|
|
96
|
+
protected getDefaultItemComponent(): string;
|
|
99
97
|
/**
|
|
100
98
|
* Specifies whether users can select choices they want to rank.
|
|
101
99
|
*
|
package/typings/settings.d.ts
CHANGED
|
@@ -340,6 +340,7 @@ export declare var settings: {
|
|
|
340
340
|
* This setting applies to all TagBox questions on a page. You can use the [closeOnSelect](https://surveyjs.io/form-library/documentation/api-reference/dropdown-tag-box-model#closeOnSelect) property to specify the same setting for an individual TagBox question.
|
|
341
341
|
*/
|
|
342
342
|
tagboxCloseOnSelect: boolean;
|
|
343
|
+
dropdownSearchDelay: number;
|
|
343
344
|
/**
|
|
344
345
|
* A function that activates a browser confirm dialog.
|
|
345
346
|
*
|
package/typings/survey.d.ts
CHANGED
|
@@ -443,7 +443,7 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
|
|
|
443
443
|
*/
|
|
444
444
|
onUpdatePageCssClasses: EventBase<SurveyModel, UpdatePageCssClassesEvent>;
|
|
445
445
|
/**
|
|
446
|
-
* An event that is raised before rendering a choice item in Radio Button Group
|
|
446
|
+
* An event that is raised before rendering a choice item in Radio Button Group and Checkboxes questions. Use it to override default CSS classes applied to choice items.
|
|
447
447
|
*
|
|
448
448
|
* For information on event handler parameters, refer to descriptions within the interface.
|
|
449
449
|
*
|
|
@@ -1050,6 +1050,8 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
|
|
|
1050
1050
|
* - `"onValueChanged"` - Triggers validation each time a question value is changed.
|
|
1051
1051
|
* - `"onComplete"` - Triggers validation when a user clicks the Complete button. If previous pages contain errors, the survey switches to the page with the first error.
|
|
1052
1052
|
*
|
|
1053
|
+
* > The `"onValueChanged"` doesn't work with date input fields because of the way browsers process date values. In most browsers, the value is considered changed as soon as a user starts entering the date in a text input field. This means that a user may only enter the day without having the chance to enter the month and year before validation is triggered. For this reason, date input fields are validated before the survey is switched to the next page or completed.
|
|
1054
|
+
*
|
|
1053
1055
|
* Refer to the following help topic for more information: [Data Validation](https://surveyjs.io/form-library/documentation/data-validation).
|
|
1054
1056
|
* @see validationEnabled
|
|
1055
1057
|
* @see validationAllowSwitchPages
|
|
@@ -6,3 +6,7 @@ export declare var mouseInfo: {
|
|
|
6
6
|
};
|
|
7
7
|
export declare let IsTouch: boolean;
|
|
8
8
|
export declare function _setIsTouch(val: boolean): void;
|
|
9
|
+
export declare type MatchMediaMethod = ((query: string) => {
|
|
10
|
+
matches: boolean;
|
|
11
|
+
} | null) | null;
|
|
12
|
+
export declare function detectMouseSupport(matchMedia: MatchMediaMethod): boolean;
|