survey-core 1.9.139 → 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 +372 -53
- package/defaultV2.css.map +1 -1
- package/defaultV2.fontless.css +372 -53
- package/defaultV2.fontless.css.map +1 -1
- package/defaultV2.fontless.min.css +2 -2
- package/defaultV2.min.css +2 -2
- package/i18n/arabic.js +5 -2
- package/i18n/arabic.js.map +1 -1
- package/i18n/arabic.min.js +2 -2
- package/i18n/basque.js +5 -2
- package/i18n/basque.js.map +1 -1
- package/i18n/basque.min.js +2 -2
- package/i18n/bulgarian.js +5 -2
- package/i18n/bulgarian.js.map +1 -1
- package/i18n/bulgarian.min.js +2 -2
- package/i18n/catalan.js +5 -2
- package/i18n/catalan.js.map +1 -1
- package/i18n/catalan.min.js +2 -2
- package/i18n/croatian.js +5 -2
- package/i18n/croatian.js.map +1 -1
- package/i18n/croatian.min.js +2 -2
- package/i18n/czech.js +5 -2
- package/i18n/czech.js.map +1 -1
- package/i18n/czech.min.js +2 -2
- package/i18n/danish.js +5 -2
- package/i18n/danish.js.map +1 -1
- package/i18n/danish.min.js +2 -2
- package/i18n/dutch.js +5 -2
- package/i18n/dutch.js.map +1 -1
- package/i18n/dutch.min.js +2 -2
- package/i18n/english.js +2 -1
- package/i18n/english.js.map +1 -1
- package/i18n/english.min.js +2 -2
- package/i18n/estonian.js +5 -2
- package/i18n/estonian.js.map +1 -1
- package/i18n/estonian.min.js +2 -2
- package/i18n/finnish.js +5 -2
- package/i18n/finnish.js.map +1 -1
- package/i18n/finnish.min.js +2 -2
- package/i18n/french.js +5 -2
- package/i18n/french.js.map +1 -1
- package/i18n/french.min.js +2 -2
- package/i18n/georgian.js +5 -2
- package/i18n/georgian.js.map +1 -1
- package/i18n/georgian.min.js +2 -2
- package/i18n/german.js +9 -22
- package/i18n/german.js.map +1 -1
- package/i18n/german.min.js +2 -2
- package/i18n/greek.js +5 -2
- package/i18n/greek.js.map +1 -1
- package/i18n/greek.min.js +2 -2
- package/i18n/hebrew.js +5 -1
- package/i18n/hebrew.js.map +1 -1
- package/i18n/hebrew.min.js +2 -2
- package/i18n/hindi.js +5 -2
- package/i18n/hindi.js.map +1 -1
- package/i18n/hindi.min.js +2 -2
- package/i18n/hungarian.js +5 -2
- package/i18n/hungarian.js.map +1 -1
- package/i18n/hungarian.min.js +2 -2
- package/i18n/icelandic.js +5 -2
- package/i18n/icelandic.js.map +1 -1
- package/i18n/icelandic.min.js +2 -2
- package/i18n/index.js +193 -67
- package/i18n/index.js.map +1 -1
- package/i18n/index.min.js +2 -2
- package/i18n/indonesian.js +5 -2
- package/i18n/indonesian.js.map +1 -1
- package/i18n/indonesian.min.js +2 -2
- package/i18n/italian.js +5 -2
- package/i18n/italian.js.map +1 -1
- package/i18n/italian.min.js +2 -2
- package/i18n/japanese.js +5 -2
- package/i18n/japanese.js.map +1 -1
- package/i18n/japanese.min.js +2 -2
- package/i18n/kazakh.js +5 -2
- package/i18n/kazakh.js.map +1 -1
- package/i18n/kazakh.min.js +2 -2
- package/i18n/korean.js +5 -2
- package/i18n/korean.js.map +1 -1
- package/i18n/korean.min.js +2 -2
- package/i18n/latvian.js +5 -2
- package/i18n/latvian.js.map +1 -1
- package/i18n/latvian.min.js +2 -2
- package/i18n/lithuanian.js +5 -2
- package/i18n/lithuanian.js.map +1 -1
- package/i18n/lithuanian.min.js +2 -2
- package/i18n/macedonian.js +5 -2
- package/i18n/macedonian.js.map +1 -1
- package/i18n/macedonian.min.js +2 -2
- package/i18n/malay.js +5 -2
- package/i18n/malay.js.map +1 -1
- package/i18n/malay.min.js +2 -2
- package/i18n/nl-BE.js +5 -2
- package/i18n/nl-BE.js.map +1 -1
- package/i18n/nl-BE.min.js +2 -2
- package/i18n/norwegian.js +5 -2
- package/i18n/norwegian.js.map +1 -1
- package/i18n/norwegian.min.js +2 -2
- package/i18n/persian.js +5 -2
- package/i18n/persian.js.map +1 -1
- package/i18n/persian.min.js +2 -2
- package/i18n/polish.js +5 -2
- package/i18n/polish.js.map +1 -1
- package/i18n/polish.min.js +2 -2
- package/i18n/portuguese-br.js +5 -2
- package/i18n/portuguese-br.js.map +1 -1
- package/i18n/portuguese-br.min.js +2 -2
- package/i18n/portuguese.js +5 -2
- package/i18n/portuguese.js.map +1 -1
- package/i18n/portuguese.min.js +2 -2
- package/i18n/romanian.js +5 -2
- package/i18n/romanian.js.map +1 -1
- package/i18n/romanian.min.js +2 -2
- package/i18n/russian.js +5 -2
- package/i18n/russian.js.map +1 -1
- package/i18n/russian.min.js +2 -2
- package/i18n/serbian.js +5 -2
- package/i18n/serbian.js.map +1 -1
- package/i18n/serbian.min.js +2 -2
- package/i18n/simplified-chinese.js +5 -2
- package/i18n/simplified-chinese.js.map +1 -1
- package/i18n/simplified-chinese.min.js +2 -2
- package/i18n/slovak.js +5 -2
- package/i18n/slovak.js.map +1 -1
- package/i18n/slovak.min.js +2 -2
- package/i18n/spanish.js +5 -2
- package/i18n/spanish.js.map +1 -1
- package/i18n/spanish.min.js +2 -2
- package/i18n/swahili.js +5 -2
- package/i18n/swahili.js.map +1 -1
- package/i18n/swahili.min.js +2 -2
- package/i18n/swedish.js +5 -2
- package/i18n/swedish.js.map +1 -1
- package/i18n/swedish.min.js +2 -2
- package/i18n/tajik.js +1 -1
- package/i18n/tajik.min.js +1 -1
- package/i18n/telugu.js +5 -2
- package/i18n/telugu.js.map +1 -1
- package/i18n/telugu.min.js +2 -2
- package/i18n/thai.js +5 -2
- package/i18n/thai.js.map +1 -1
- package/i18n/thai.min.js +2 -2
- package/i18n/traditional-chinese.js +5 -2
- package/i18n/traditional-chinese.js.map +1 -1
- package/i18n/traditional-chinese.min.js +2 -2
- package/i18n/turkish.js +5 -2
- package/i18n/turkish.js.map +1 -1
- package/i18n/turkish.min.js +2 -2
- package/i18n/ukrainian.js +5 -2
- package/i18n/ukrainian.js.map +1 -1
- package/i18n/ukrainian.min.js +2 -2
- package/i18n/urdu.js +5 -2
- package/i18n/urdu.js.map +1 -1
- package/i18n/urdu.min.js +2 -2
- package/i18n/vietnamese.js +5 -2
- package/i18n/vietnamese.js.map +1 -1
- package/i18n/vietnamese.min.js +2 -2
- package/i18n/welsh.js +5 -2
- package/i18n/welsh.js.map +1 -1
- package/i18n/welsh.min.js +2 -2
- package/modern.css +2 -1
- package/modern.css.map +1 -1
- package/modern.fontless.css +2 -1
- package/modern.fontless.css.map +1 -1
- package/modern.fontless.min.css +2 -2
- package/modern.min.css +2 -2
- 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 +713 -267
- package/survey.core.js.map +1 -1
- package/survey.core.min.js +3 -3
- package/survey.css +1 -1
- package/survey.css.map +1 -1
- package/survey.i18n.js +193 -67
- 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/base.d.ts +5 -0
- package/ts3.4/typings/defaultCss/defaultV2Css.d.ts +8 -0
- package/ts3.4/typings/dropdownListModel.d.ts +1 -0
- package/ts3.4/typings/dxSurveyService.d.ts +5 -1
- package/ts3.4/typings/list.d.ts +2 -2
- package/ts3.4/typings/localization/english.d.ts +1 -0
- package/ts3.4/typings/mask/mask_base.d.ts +1 -0
- package/ts3.4/typings/mask/mask_numeric.d.ts +3 -2
- package/ts3.4/typings/mask/mask_utils.d.ts +1 -0
- 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 +3 -0
- package/ts3.4/typings/popup-view-model.d.ts +2 -0
- package/ts3.4/typings/question.d.ts +1 -0
- package/ts3.4/typings/question_checkbox.d.ts +1 -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/question_matrixdropdownrendered.d.ts +10 -0
- package/ts3.4/typings/question_paneldynamic.d.ts +17 -0
- package/ts3.4/typings/question_ranking.d.ts +6 -1
- package/ts3.4/typings/question_rating.d.ts +1 -0
- package/ts3.4/typings/survey-element.d.ts +4 -3
- package/ts3.4/typings/survey.d.ts +1 -0
- package/ts3.4/typings/surveyStrings.d.ts +1 -0
- package/ts3.4/typings/trigger.d.ts +2 -1
- package/ts3.4/typings/utils/animation.d.ts +26 -10
- package/typings/base.d.ts +5 -0
- package/typings/defaultCss/defaultV2Css.d.ts +8 -0
- package/typings/dropdownListModel.d.ts +1 -0
- package/typings/dxSurveyService.d.ts +5 -1
- package/typings/list.d.ts +2 -2
- package/typings/localization/english.d.ts +1 -0
- package/typings/mask/mask_base.d.ts +1 -0
- package/typings/mask/mask_numeric.d.ts +3 -2
- package/typings/mask/mask_utils.d.ts +1 -0
- package/typings/multiSelectListModel.d.ts +1 -1
- package/typings/page.d.ts +0 -2
- package/typings/panel.d.ts +3 -0
- package/typings/popup-view-model.d.ts +2 -0
- package/typings/question.d.ts +1 -0
- package/typings/question_checkbox.d.ts +1 -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/question_matrixdropdownrendered.d.ts +11 -0
- package/typings/question_paneldynamic.d.ts +16 -0
- package/typings/question_ranking.d.ts +6 -1
- package/typings/question_rating.d.ts +1 -0
- package/typings/survey-element.d.ts +4 -4
- package/typings/survey.d.ts +1 -0
- package/typings/surveyStrings.d.ts +1 -0
- package/typings/trigger.d.ts +2 -1
- package/typings/utils/animation.d.ts +18 -10
package/ts3.4/typings/base.d.ts
CHANGED
|
@@ -291,6 +291,11 @@ export declare class Base {
|
|
|
291
291
|
protected copyCssClasses(dest: any, source: any): void;
|
|
292
292
|
private getValueInLowCase;
|
|
293
293
|
getElementsInDesign(includeHidden?: boolean): Array<IElement>;
|
|
294
|
+
readonly animationAllowed: boolean;
|
|
295
|
+
protected getIsAnimationAllowed(): boolean;
|
|
296
|
+
private animationAllowedLock;
|
|
297
|
+
blockAnimations(): void;
|
|
298
|
+
releaseAnimations(): void;
|
|
294
299
|
}
|
|
295
300
|
export declare class ArrayChanges<T = any> {
|
|
296
301
|
index: number;
|
|
@@ -105,7 +105,11 @@ export declare var defaultV2Css: {
|
|
|
105
105
|
footer: string;
|
|
106
106
|
panelFooter: string;
|
|
107
107
|
footerButtonsContainer: string;
|
|
108
|
+
panelsContainer: string;
|
|
108
109
|
panelWrapperInRow: string;
|
|
110
|
+
panelWrapperFadeIn: string;
|
|
111
|
+
panelWrapperFadeOut: string;
|
|
112
|
+
panelWrapperList: string;
|
|
109
113
|
progressBtnIcon: string;
|
|
110
114
|
noEntriesPlaceholder: string;
|
|
111
115
|
compact: string;
|
|
@@ -489,6 +493,8 @@ export declare var defaultV2Css: {
|
|
|
489
493
|
errorsCellBottom: string;
|
|
490
494
|
itemCell: string;
|
|
491
495
|
row: string;
|
|
496
|
+
rowFadeIn: string;
|
|
497
|
+
rowFadeOut: string;
|
|
492
498
|
expandedRow: string;
|
|
493
499
|
rowHasPanel: string;
|
|
494
500
|
rowHasEndActions: string;
|
|
@@ -527,6 +533,8 @@ export declare var defaultV2Css: {
|
|
|
527
533
|
content: string;
|
|
528
534
|
cell: string;
|
|
529
535
|
row: string;
|
|
536
|
+
rowFadeIn: string;
|
|
537
|
+
rowFadeOut: string;
|
|
530
538
|
rowHasPanel: string;
|
|
531
539
|
rowHasEndActions: string;
|
|
532
540
|
expandedRow: string;
|
|
@@ -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;
|
|
@@ -2,12 +2,16 @@
|
|
|
2
2
|
* The class contains methods to work with api.surveyjs.io service.
|
|
3
3
|
*/
|
|
4
4
|
export declare class dxSurveyService {
|
|
5
|
+
locale: string;
|
|
5
6
|
static serviceUrl: string;
|
|
6
|
-
constructor();
|
|
7
7
|
loadSurvey(surveyId: string, onLoad: (success: boolean, result: string, response: any) => void): void;
|
|
8
8
|
getSurveyJsonAndIsCompleted(surveyId: string, clientId: string, onLoad: (success: boolean, surveyJson: any, result: string, response: any) => void): void;
|
|
9
|
+
canSendResult(result: JSON): boolean;
|
|
10
|
+
readonly isSurveJSIOService: boolean;
|
|
9
11
|
sendResult(postId: string, result: JSON, onSendResult: (success: boolean, response: any, request?: any) => void, clientId?: string, isPartialCompleted?: boolean): void;
|
|
12
|
+
protected sendResultCore(postId: string, result: JSON, onSendResult: (success: boolean, response: any, request?: any) => void, clientId?: string, isPartialCompleted?: boolean): void;
|
|
10
13
|
sendFile(postId: string, file: File, onSendFile: (success: boolean, response: any) => void): void;
|
|
11
14
|
getResult(resultId: string, name: string, onGetResult: (success: boolean, data: any, dataList: Array<any>, response: any) => void): void;
|
|
12
15
|
isCompleted(resultId: string, clientId: string, onIsCompleted: (success: boolean, result: string, response: any) => void): void;
|
|
16
|
+
private serviceUrl: any;
|
|
13
17
|
}
|
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;
|
|
@@ -76,9 +76,10 @@ export declare class InputMaskNumeric extends InputMaskBase {
|
|
|
76
76
|
displayNumber(parsedNumber: INumericalComposition, insertThousandsSeparator?: boolean, matchWholeMask?: boolean): string;
|
|
77
77
|
convertNumber(parsedNumber: INumericalComposition): number;
|
|
78
78
|
validateNumber(number: INumericalComposition, matchWholeMask: boolean): boolean;
|
|
79
|
-
parseNumber(src: string
|
|
80
|
-
getNumberMaskedValue(src: string
|
|
79
|
+
parseNumber(src: string): INumericalComposition;
|
|
80
|
+
getNumberMaskedValue(src: string, matchWholeMask?: boolean): string;
|
|
81
81
|
private getNumberUnmaskedValue;
|
|
82
|
+
getTextAlignment(): "left" | "right" | "auto";
|
|
82
83
|
getMaskedValue(src: any): string;
|
|
83
84
|
getUnmaskedValue(src: string): any;
|
|
84
85
|
processInput(args: ITextInputParams): IMaskedInputResult;
|
|
@@ -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
|
@@ -27,6 +27,7 @@ export declare class QuestionRowModel extends Base {
|
|
|
27
27
|
readonly id: string;
|
|
28
28
|
protected equalsCore(obj: Base): boolean;
|
|
29
29
|
readonly elements: Array<IElement>;
|
|
30
|
+
protected getIsAnimationAllowed(): boolean;
|
|
30
31
|
private getVisibleElementsAnimationOptions;
|
|
31
32
|
visibleElementsAnimation: AnimationGroup<IElement>;
|
|
32
33
|
visibleElements: Array<IElement>;
|
|
@@ -79,6 +80,8 @@ export declare class PanelModelBase extends SurveyElement<Question> implements I
|
|
|
79
80
|
readonly _showDescription: boolean;
|
|
80
81
|
localeChanged(): void;
|
|
81
82
|
locStrsChanged(): void;
|
|
83
|
+
getMarkdownHtml(text: string, name: string): string;
|
|
84
|
+
readonly locNavigationTitle: LocalizableString;
|
|
82
85
|
readonly renderedNavigationTitle: string;
|
|
83
86
|
/*
|
|
84
87
|
* Returns a character or text string that indicates a required panel/page.
|
|
@@ -60,6 +60,8 @@ export declare class PopupBaseViewModel extends Base implements IAnimationConsum
|
|
|
60
60
|
onKeyDown(event: any): void;
|
|
61
61
|
private trapFocus;
|
|
62
62
|
switchFocus(): void;
|
|
63
|
+
protected _isPositionSetValue: boolean;
|
|
64
|
+
readonly isPositionSet: boolean;
|
|
63
65
|
updateOnShowing(): void;
|
|
64
66
|
updateOnHiding(): void;
|
|
65
67
|
private focusContainer;
|
|
@@ -538,6 +538,7 @@ export declare class Question extends SurveyElement<Question> implements IQuesti
|
|
|
538
538
|
value: any;
|
|
539
539
|
readonly hasFilteredValue: boolean;
|
|
540
540
|
getFilteredValue(): any;
|
|
541
|
+
getFilteredName(): any;
|
|
541
542
|
readonly valueForSurvey: any;
|
|
542
543
|
/**
|
|
543
544
|
* Sets the question's `value` and `comment` properties to `undefined`.
|
|
@@ -86,6 +86,7 @@ export declare class QuestionCheckboxModel extends QuestionCheckboxBase {
|
|
|
86
86
|
readonly selectedChoices: Array<ItemValue>;
|
|
87
87
|
readonly selectedItems: Array<ItemValue>;
|
|
88
88
|
readonly hasFilteredValue: boolean;
|
|
89
|
+
getFilteredName(): any;
|
|
89
90
|
getFilteredValue(): any;
|
|
90
91
|
protected getMultipleSelectedItems(): Array<ItemValue>;
|
|
91
92
|
protected validateItemValues(itemValues: Array<ItemValue>): Array<ItemValue>;
|
|
@@ -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;
|
|
@@ -56,6 +56,7 @@ export declare class QuestionMatrixDropdownRenderedRow extends Base {
|
|
|
56
56
|
isGhostRow: boolean;
|
|
57
57
|
isAdditionalClasses: boolean;
|
|
58
58
|
visible: boolean;
|
|
59
|
+
onVisibilityChangedCallback: () => void;
|
|
59
60
|
hasEndActions: boolean;
|
|
60
61
|
row: MatrixDropdownRowModelBase;
|
|
61
62
|
isErrorsRow: boolean;
|
|
@@ -70,6 +71,9 @@ export declare class QuestionMatrixDropdownRenderedRow extends Base {
|
|
|
70
71
|
"data-sv-drop-target-matrix-row": string;
|
|
71
72
|
};
|
|
72
73
|
readonly className: string;
|
|
74
|
+
private rootElement;
|
|
75
|
+
setRootElement(val: HTMLTableRowElement): void;
|
|
76
|
+
getRootElement(): HTMLTableRowElement;
|
|
73
77
|
}
|
|
74
78
|
export declare class QuestionMatrixDropdownRenderedErrorRow extends QuestionMatrixDropdownRenderedRow {
|
|
75
79
|
isErrorsRow: boolean;
|
|
@@ -87,6 +91,12 @@ export declare class QuestionMatrixDropdownRenderedTable extends Base {
|
|
|
87
91
|
private cssClasses;
|
|
88
92
|
renderedRowsChangedCallback: () => void;
|
|
89
93
|
rows: Array<QuestionMatrixDropdownRenderedRow>;
|
|
94
|
+
protected getIsAnimationAllowed(): boolean;
|
|
95
|
+
private getRenderedRowsAnimationOptions;
|
|
96
|
+
private _renderedRows;
|
|
97
|
+
updateRenderedRows(): void;
|
|
98
|
+
private renderedRowsAnimation;
|
|
99
|
+
renderedRows: Array<QuestionMatrixDropdownRenderedRow>;
|
|
90
100
|
constructor(matrix: QuestionMatrixDropdownModelBase);
|
|
91
101
|
readonly showTable: boolean;
|
|
92
102
|
readonly showHeader: boolean;
|
|
@@ -8,6 +8,7 @@ import { ActionContainer } from "./actions/container";
|
|
|
8
8
|
import { IAction } from "./actions/action";
|
|
9
9
|
import { AdaptiveActionContainer } from "./actions/adaptive-container";
|
|
10
10
|
import { ITheme } from "./themes";
|
|
11
|
+
import { AnimationProperty } from "./utils/animation";
|
|
11
12
|
export interface IQuestionPanelDynamicData {
|
|
12
13
|
getItemIndex(item: ISurveyData): number;
|
|
13
14
|
getVisibleItemIndex(item: ISurveyData): number;
|
|
@@ -185,6 +186,18 @@ export declare class QuestionPanelDynamicModel extends Question implements IQues
|
|
|
185
186
|
* @see renderMode
|
|
186
187
|
*/
|
|
187
188
|
currentPanel: PanelModel;
|
|
189
|
+
private _renderedPanels;
|
|
190
|
+
private updateRenderedPanels;
|
|
191
|
+
renderedPanels: Array<PanelModel>;
|
|
192
|
+
private isPanelsAnimationRunning;
|
|
193
|
+
private getPanelsAnimationOptions;
|
|
194
|
+
private _panelsAnimations;
|
|
195
|
+
private disablePanelsAnimations;
|
|
196
|
+
private enablePanelsAnimations;
|
|
197
|
+
private updatePanelsAnimation;
|
|
198
|
+
readonly panelsAnimation: AnimationProperty<Array<PanelModel>, [
|
|
199
|
+
PanelModel
|
|
200
|
+
]>;
|
|
188
201
|
onHidingContent(): void;
|
|
189
202
|
/*
|
|
190
203
|
* Specifies whether to display a confirmation dialog when a respondent wants to delete a panel.
|
|
@@ -468,6 +481,8 @@ export declare class QuestionPanelDynamicModel extends Question implements IQues
|
|
|
468
481
|
* @see canAddPanel
|
|
469
482
|
*/
|
|
470
483
|
addPanelUI(): PanelModel;
|
|
484
|
+
private focusNewPanelCallback;
|
|
485
|
+
private focusNewPanel;
|
|
471
486
|
/**
|
|
472
487
|
* Adds a new panel based on the [template](https://surveyjs.io/form-library/documentation/api-reference/dynamic-panel-model#template).
|
|
473
488
|
* @param index *(Optional)* An index at which to insert the new panel. `undefined` adds the panel to the end or inserts it after the current panel if [`renderMode`](https://surveyjs.io/form-library/documentation/api-reference/dynamic-panel-model#renderMode) is `"tab"`. A negative index (for instance, -1) adds the panel to the end in all cases, regardless of the `renderMode` value.
|
|
@@ -506,6 +521,7 @@ export declare class QuestionPanelDynamicModel extends Question implements IQues
|
|
|
506
521
|
* @see panels
|
|
507
522
|
* @see template
|
|
508
523
|
*/
|
|
524
|
+
private removedPanelIndex;
|
|
509
525
|
removePanel(value: any): void;
|
|
510
526
|
private getVisualPanelIndex;
|
|
511
527
|
private getPanelIndexById;
|
|
@@ -590,6 +606,7 @@ export declare class QuestionPanelDynamicModel extends Question implements IQues
|
|
|
590
606
|
getShowNoEntriesPlaceholder(): boolean;
|
|
591
607
|
needResponsiveWidth(): boolean;
|
|
592
608
|
private additionalTitleToolbarValue;
|
|
609
|
+
readonly hasAdditionalTitleToolbar: boolean;
|
|
593
610
|
protected getAdditionalTitleToolbar(): AdaptiveActionContainer | null;
|
|
594
611
|
private footerToolbarValue;
|
|
595
612
|
readonly footerToolbar: ActionContainer;
|
|
@@ -11,6 +11,7 @@ import { AnimationGroup } from "./utils/animation";
|
|
|
11
11
|
*/
|
|
12
12
|
export declare class QuestionRankingModel extends QuestionCheckboxModel {
|
|
13
13
|
private domNode;
|
|
14
|
+
private dragOrClickHelper;
|
|
14
15
|
constructor(name: string);
|
|
15
16
|
protected getDefaultItemComponent(): string;
|
|
16
17
|
getType(): string;
|
|
@@ -49,7 +50,11 @@ export declare class QuestionRankingModel extends QuestionCheckboxModel {
|
|
|
49
50
|
endLoadingFromJson(): void;
|
|
50
51
|
private setDragDropRankingChoices;
|
|
51
52
|
protected createDragDropRankingChoices(): DragDropRankingChoices | DragDropRankingSelectToRank;
|
|
53
|
+
private draggedChoise;
|
|
54
|
+
private draggedTargetNode;
|
|
52
55
|
handlePointerDown: (event: PointerEvent, choice: ItemValue, node: HTMLElement) => void;
|
|
56
|
+
startDrag: (event: PointerEvent) => void;
|
|
57
|
+
handlePointerUp: (event: PointerEvent, choice: ItemValue, node: HTMLElement) => void;
|
|
53
58
|
private isDragStartNodeValid;
|
|
54
59
|
private readonly allowStartDrag: any;
|
|
55
60
|
private canStartDragDueMaxSelectedChoices;
|
|
@@ -64,7 +69,7 @@ export declare class QuestionRankingModel extends QuestionCheckboxModel {
|
|
|
64
69
|
supportRefuse(): boolean;
|
|
65
70
|
supportDontKnow(): boolean;
|
|
66
71
|
private handleArrowKeys;
|
|
67
|
-
handleKeydownSelectToRank(event: KeyboardEvent, movedElement: ItemValue): void;
|
|
72
|
+
handleKeydownSelectToRank(event: KeyboardEvent, movedElement: ItemValue, hardKey?: string, isNeedFocus?: boolean): void;
|
|
68
73
|
private setValueAfterKeydown;
|
|
69
74
|
private focusItem;
|
|
70
75
|
isValueSetByUser: boolean;
|
|
@@ -119,6 +119,7 @@ export declare class QuestionRatingModel extends Question {
|
|
|
119
119
|
getType(): string;
|
|
120
120
|
protected getFirstInputElementId(): string;
|
|
121
121
|
getInputId(index: number): string;
|
|
122
|
+
readonly questionName: string;
|
|
122
123
|
supportGoNextPageAutomatic(): boolean;
|
|
123
124
|
supportOther(): boolean;
|
|
124
125
|
protected getPlainDataCalculatedValue(propName: string): any;
|
|
@@ -83,7 +83,7 @@ export declare class SurveyElement<E = any> extends SurveyElementCore implements
|
|
|
83
83
|
isDragMe: boolean;
|
|
84
84
|
readOnlyChangedCallback: () => void;
|
|
85
85
|
static ScrollElementToTop(elementId: string, scrollIfVisible?: boolean): boolean;
|
|
86
|
-
|
|
86
|
+
static ScrollElementToViewCore(el: HTMLElement, checkLeft: boolean, scrollIfVisible?: boolean, scrollIntoViewOptions?: ScrollIntoViewOptions): boolean;
|
|
87
87
|
static GetFirstNonTextElement(elements: any, removeSpaces?: boolean): any;
|
|
88
88
|
static FocusElement(elementId: string): boolean;
|
|
89
89
|
private static focusElementCore;
|
|
@@ -380,11 +380,13 @@ export declare class SurveyElement<E = any> extends SurveyElementCore implements
|
|
|
380
380
|
readonly clickTitleFunction: any;
|
|
381
381
|
protected needClickTitleFunction(): boolean;
|
|
382
382
|
protected processTitleClick(): void;
|
|
383
|
+
readonly hasAdditionalTitleToolbar: boolean;
|
|
383
384
|
readonly additionalTitleToolbar: ActionContainer;
|
|
384
385
|
protected getAdditionalTitleToolbar(): ActionContainer | null;
|
|
385
386
|
protected getCssTitle(cssClasses: any): string;
|
|
386
387
|
readonly isDisabledStyle: boolean;
|
|
387
388
|
readonly isReadOnlyStyle: boolean;
|
|
389
|
+
protected getIsDisableAndReadOnlyStyles(itemReadOnly: boolean): Array<boolean>;
|
|
388
390
|
readonly isPreviewStyle: boolean;
|
|
389
391
|
localeChanged(): void;
|
|
390
392
|
private wrapperElement?;
|
|
@@ -396,7 +398,6 @@ export declare class SurveyElement<E = any> extends SurveyElementCore implements
|
|
|
396
398
|
private getExpandCollapseAnimationOptions;
|
|
397
399
|
private animationCollapsed;
|
|
398
400
|
renderedIsExpanded: boolean;
|
|
399
|
-
|
|
400
|
-
animationAllowed: boolean;
|
|
401
|
+
protected getIsAnimationAllowed(): boolean;
|
|
401
402
|
dispose(): void;
|
|
402
403
|
}
|
|
@@ -122,7 +122,8 @@ export declare class SurveyTriggerRunExpression extends SurveyTrigger {
|
|
|
122
122
|
getType(): string;
|
|
123
123
|
setToName: string;
|
|
124
124
|
runExpression: string;
|
|
125
|
-
protected
|
|
125
|
+
protected canBeExecuted(isOnNextPage: boolean): boolean;
|
|
126
|
+
protected onSuccess(values: HashTable<any>, properties: HashTable<any>): boolean;
|
|
126
127
|
private onCompleteRunExpression;
|
|
127
128
|
}
|
|
128
129
|
/**
|
|
@@ -12,29 +12,34 @@ export interface IAnimationConsumer<T extends Array<any> = [
|
|
|
12
12
|
}
|
|
13
13
|
export declare class AnimationUtils {
|
|
14
14
|
private getMsFromRule;
|
|
15
|
+
private reflow;
|
|
15
16
|
private getAnimationsCount;
|
|
16
17
|
private getAnimationDuration;
|
|
17
18
|
private cancelQueue;
|
|
19
|
+
private addCancelCallback;
|
|
20
|
+
private removeCancelCallback;
|
|
18
21
|
protected onAnimationEnd(element: HTMLElement, callback: (isCancel?: boolean) => void, options: AnimationOptions): void;
|
|
19
22
|
protected beforeAnimationRun(element: HTMLElement, options: AnimationOptions | AnimationOptions): void;
|
|
20
|
-
protected
|
|
21
|
-
protected
|
|
23
|
+
protected runAnimation(element: HTMLElement, options: AnimationOptions, callback: (isCancel?: boolean) => void): void;
|
|
24
|
+
protected clearHtmlElement(element: HTMLElement, options: AnimationOptions): void;
|
|
25
|
+
protected onNextRender(callback: () => void, runEarly?: () => boolean, isCancel?: boolean): void;
|
|
22
26
|
cancel(): void;
|
|
23
27
|
}
|
|
24
28
|
export declare class AnimationPropertyUtils extends AnimationUtils {
|
|
25
|
-
onEnter(
|
|
26
|
-
onLeave(
|
|
29
|
+
onEnter(options: IAnimationConsumer): void;
|
|
30
|
+
onLeave(options: IAnimationConsumer, callback: () => void): void;
|
|
27
31
|
}
|
|
28
32
|
export declare class AnimationGroupUtils<T> extends AnimationUtils {
|
|
29
|
-
|
|
30
|
-
|
|
33
|
+
runGroupAnimation(options: IAnimationConsumer<[
|
|
34
|
+
T
|
|
35
|
+
]>, addedElements: Array<T>, removedElements: Array<T>, callback?: () => void): void;
|
|
31
36
|
}
|
|
32
|
-
declare abstract class AnimationProperty<T, S extends Array<any> = [
|
|
37
|
+
export declare abstract class AnimationProperty<T, S extends Array<any> = [
|
|
33
38
|
]> {
|
|
34
39
|
protected animationOptions: IAnimationConsumer<S>;
|
|
35
|
-
protected update: (val: T) => void;
|
|
40
|
+
protected update: (val: T, isTempUpdate?: boolean) => void;
|
|
36
41
|
protected getCurrentValue: () => T;
|
|
37
|
-
constructor(animationOptions: IAnimationConsumer<S>, update: (val: T) => void, getCurrentValue: () => T);
|
|
42
|
+
constructor(animationOptions: IAnimationConsumer<S>, update: (val: T, isTempUpdate?: boolean) => void, getCurrentValue: () => T);
|
|
38
43
|
protected animation: AnimationUtils;
|
|
39
44
|
protected abstract _sync(newValue: T): void;
|
|
40
45
|
private _debouncedSync;
|
|
@@ -51,4 +56,15 @@ export declare class AnimationGroup<T> extends AnimationProperty<Array<T>, [
|
|
|
51
56
|
protected animation: AnimationGroupUtils<T>;
|
|
52
57
|
protected _sync(newValue: Array<T>): void;
|
|
53
58
|
}
|
|
54
|
-
export
|
|
59
|
+
export declare class AnimationTab<T> extends AnimationProperty<Array<T>, [
|
|
60
|
+
T
|
|
61
|
+
]> {
|
|
62
|
+
protected mergeValues?: (newValue: Array<T>, oldValue: Array<T>) => Array<T>;
|
|
63
|
+
protected animation: AnimationGroupUtils<T>;
|
|
64
|
+
constructor(animationOptions: IAnimationConsumer<[
|
|
65
|
+
T
|
|
66
|
+
]>, update: (val: Array<T>, isTempUpdate?: boolean) => void, getCurrentValue: () => Array<T>, mergeValues?: (newValue: Array<T>, oldValue: Array<T>) => Array<T>);
|
|
67
|
+
protected _sync(newValue: [
|
|
68
|
+
T
|
|
69
|
+
]): void;
|
|
70
|
+
}
|
package/typings/base.d.ts
CHANGED
|
@@ -293,6 +293,11 @@ export declare class Base {
|
|
|
293
293
|
protected copyCssClasses(dest: any, source: any): void;
|
|
294
294
|
private getValueInLowCase;
|
|
295
295
|
getElementsInDesign(includeHidden?: boolean): Array<IElement>;
|
|
296
|
+
get animationAllowed(): boolean;
|
|
297
|
+
protected getIsAnimationAllowed(): boolean;
|
|
298
|
+
private animationAllowedLock;
|
|
299
|
+
blockAnimations(): void;
|
|
300
|
+
releaseAnimations(): void;
|
|
296
301
|
}
|
|
297
302
|
export declare class ArrayChanges<T = any> {
|
|
298
303
|
index: number;
|
|
@@ -105,7 +105,11 @@ export declare var defaultV2Css: {
|
|
|
105
105
|
footer: string;
|
|
106
106
|
panelFooter: string;
|
|
107
107
|
footerButtonsContainer: string;
|
|
108
|
+
panelsContainer: string;
|
|
108
109
|
panelWrapperInRow: string;
|
|
110
|
+
panelWrapperFadeIn: string;
|
|
111
|
+
panelWrapperFadeOut: string;
|
|
112
|
+
panelWrapperList: string;
|
|
109
113
|
progressBtnIcon: string;
|
|
110
114
|
noEntriesPlaceholder: string;
|
|
111
115
|
compact: string;
|
|
@@ -489,6 +493,8 @@ export declare var defaultV2Css: {
|
|
|
489
493
|
errorsCellBottom: string;
|
|
490
494
|
itemCell: string;
|
|
491
495
|
row: string;
|
|
496
|
+
rowFadeIn: string;
|
|
497
|
+
rowFadeOut: string;
|
|
492
498
|
expandedRow: string;
|
|
493
499
|
rowHasPanel: string;
|
|
494
500
|
rowHasEndActions: string;
|
|
@@ -527,6 +533,8 @@ export declare var defaultV2Css: {
|
|
|
527
533
|
content: string;
|
|
528
534
|
cell: string;
|
|
529
535
|
row: string;
|
|
536
|
+
rowFadeIn: string;
|
|
537
|
+
rowFadeOut: string;
|
|
530
538
|
rowHasPanel: string;
|
|
531
539
|
rowHasEndActions: string;
|
|
532
540
|
expandedRow: string;
|
|
@@ -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;
|
|
@@ -2,13 +2,17 @@
|
|
|
2
2
|
* The class contains methods to work with api.surveyjs.io service.
|
|
3
3
|
*/
|
|
4
4
|
export declare class dxSurveyService {
|
|
5
|
+
locale: string;
|
|
5
6
|
static get serviceUrl(): string;
|
|
6
7
|
static set serviceUrl(val: string);
|
|
7
|
-
constructor();
|
|
8
8
|
loadSurvey(surveyId: string, onLoad: (success: boolean, result: string, response: any) => void): void;
|
|
9
9
|
getSurveyJsonAndIsCompleted(surveyId: string, clientId: string, onLoad: (success: boolean, surveyJson: any, result: string, response: any) => void): void;
|
|
10
|
+
canSendResult(result: JSON): boolean;
|
|
11
|
+
get isSurveJSIOService(): boolean;
|
|
10
12
|
sendResult(postId: string, result: JSON, onSendResult: (success: boolean, response: any, request?: any) => void, clientId?: string, isPartialCompleted?: boolean): void;
|
|
13
|
+
protected sendResultCore(postId: string, result: JSON, onSendResult: (success: boolean, response: any, request?: any) => void, clientId?: string, isPartialCompleted?: boolean): void;
|
|
11
14
|
sendFile(postId: string, file: File, onSendFile: (success: boolean, response: any) => void): void;
|
|
12
15
|
getResult(resultId: string, name: string, onGetResult: (success: boolean, data: any, dataList: Array<any>, response: any) => void): void;
|
|
13
16
|
isCompleted(resultId: string, clientId: string, onIsCompleted: (success: boolean, result: string, response: any) => void): void;
|
|
17
|
+
private get serviceUrl();
|
|
14
18
|
}
|