survey-core 1.12.24 → 1.12.26
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 +35 -4
- package/defaultV2.css.map +1 -1
- package/defaultV2.fontless.css +35 -4
- 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/burmese.js +1 -1
- package/i18n/burmese.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/slovenian.js +1 -1
- package/i18n/slovenian.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/icons/iconsV1.js +1 -1
- package/icons/iconsV1.min.js +1 -1
- package/icons/iconsV2.js +1 -1
- package/icons/iconsV2.min.js +1 -1
- package/modern.css +19 -3
- package/modern.css.map +1 -1
- package/modern.fontless.css +19 -3
- 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/index.js +1 -1
- package/plugins/bootstrap-integration/index.min.js +1 -1
- package/plugins/bootstrap-material-integration/index.js +1 -1
- package/plugins/bootstrap-material-integration/index.min.js +1 -1
- package/survey.core.js +137 -81
- 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/packages/survey-core/src/base.d.ts +1 -1
- package/ts3.4/typings/packages/survey-core/src/defaultCss/defaultV2Css.d.ts +2 -0
- package/ts3.4/typings/packages/survey-core/src/dragdrop/choices.d.ts +1 -1
- package/ts3.4/typings/packages/survey-core/src/helpers.d.ts +1 -0
- package/ts3.4/typings/packages/survey-core/src/mask/mask_numeric.d.ts +1 -1
- package/ts3.4/typings/packages/survey-core/src/question_baseselect.d.ts +1 -1
- package/ts3.4/typings/packages/survey-core/src/question_imagepicker.d.ts +8 -0
- package/ts3.4/typings/packages/survey-core/src/question_matrixdropdown.d.ts +1 -0
- package/ts3.4/typings/packages/survey-core/src/question_matrixdropdownbase.d.ts +1 -0
- package/ts3.4/typings/packages/survey-core/src/survey.d.ts +1 -0
- package/ts3.4/typings/packages/survey-core/src/trigger.d.ts +9 -1
- package/ts3.4/typings/packages/survey-core/src/utils/utils.d.ts +1 -1
- package/typings/packages/survey-core/src/base.d.ts +1 -1
- package/typings/packages/survey-core/src/defaultCss/defaultV2Css.d.ts +2 -0
- package/typings/packages/survey-core/src/dragdrop/choices.d.ts +1 -1
- package/typings/packages/survey-core/src/helpers.d.ts +1 -0
- package/typings/packages/survey-core/src/mask/mask_numeric.d.ts +1 -1
- package/typings/packages/survey-core/src/question_baseselect.d.ts +1 -1
- package/typings/packages/survey-core/src/question_imagepicker.d.ts +8 -0
- package/typings/packages/survey-core/src/question_matrixdropdown.d.ts +1 -0
- package/typings/packages/survey-core/src/question_matrixdropdownbase.d.ts +1 -0
- package/typings/packages/survey-core/src/survey.d.ts +1 -0
- package/typings/packages/survey-core/src/trigger.d.ts +9 -1
- package/typings/packages/survey-core/src/utils/utils.d.ts +1 -1
package/themes/solid-light.js
CHANGED
|
@@ -74,7 +74,6 @@ export declare class Base {
|
|
|
74
74
|
equals(obj: Base): boolean;
|
|
75
75
|
protected equalsCore(obj: Base): boolean;
|
|
76
76
|
protected trimValue(value: any): any;
|
|
77
|
-
protected isPropertyEmpty(value: any): boolean;
|
|
78
77
|
static createPropertiesHash(): {};
|
|
79
78
|
private propertyHash;
|
|
80
79
|
private localizableStrings;
|
|
@@ -210,6 +209,7 @@ export declare class Base {
|
|
|
210
209
|
* @param defaultValue *(Optional)* A value to return if the property is not found or does not have a value.
|
|
211
210
|
*/
|
|
212
211
|
getPropertyValue(name: string, defaultValue?: any, calcFunc?: () => any): any;
|
|
212
|
+
protected isValueUndefined(value: any): boolean;
|
|
213
213
|
getDefaultPropertyValue(name: string): any;
|
|
214
214
|
hasDefaultPropertyValue(name: string): boolean;
|
|
215
215
|
resetPropertyValue(name: string): void;
|
|
@@ -8,7 +8,7 @@ export declare class DragDropChoices extends DragDropCore<QuestionSelectBase> {
|
|
|
8
8
|
onShortcutCreated: (node: HTMLElement) => void;
|
|
9
9
|
private createImagePickerShortcut;
|
|
10
10
|
protected getDropTargetByDataAttributeValue(dataAttributeValue: string): ItemValue;
|
|
11
|
-
private
|
|
11
|
+
private getChoices;
|
|
12
12
|
protected doDragOver: () => any;
|
|
13
13
|
protected isDropTargetValid(dropTarget: ItemValue, dropTargetNode?: HTMLElement): boolean;
|
|
14
14
|
protected doBanDropHere: () => any;
|
|
@@ -8,6 +8,7 @@ export declare class Helpers {
|
|
|
8
8
|
* @param value
|
|
9
9
|
*/
|
|
10
10
|
static isValueEmpty(value: any): boolean;
|
|
11
|
+
static isValueUndefined(value: any): boolean;
|
|
11
12
|
static isArrayContainsEqual(x: any, y: any): boolean;
|
|
12
13
|
static isArraysEqual(x: any, y: any, ignoreOrder?: boolean, caseSensitive?: boolean, trimStrings?: boolean): boolean;
|
|
13
14
|
static compareStrings(x: string, y: string): number;
|
|
@@ -85,6 +85,6 @@ export declare class InputMaskNumeric extends InputMaskBase {
|
|
|
85
85
|
getUnmaskedValue(src: string): any;
|
|
86
86
|
processInput(args: ITextInputParams): IMaskedInputResult;
|
|
87
87
|
getType(): string;
|
|
88
|
-
protected
|
|
88
|
+
protected isValueUndefined(value: any): boolean;
|
|
89
89
|
}
|
|
90
90
|
export {};
|
|
@@ -373,7 +373,7 @@ export declare class QuestionSelectBase extends Question {
|
|
|
373
373
|
protected getDisplayArrayValue(keysAsText: boolean, value: any, onGetValueCallback?: (index: number) => any): string;
|
|
374
374
|
private getItemDisplayValue;
|
|
375
375
|
private getFilteredChoices;
|
|
376
|
-
|
|
376
|
+
private readonly activeChoices: any;
|
|
377
377
|
isMessagePanelVisible: boolean;
|
|
378
378
|
private readonly isEmptyActiveChoicesInDesign: any;
|
|
379
379
|
getCarryForwardQuestion(data?: ISurveyData): Question;
|
|
@@ -151,6 +151,14 @@ export declare class QuestionImagePickerModel extends QuestionCheckboxBase {
|
|
|
151
151
|
onContentLoaded: (item: ImageItemValue, event: any) => void;
|
|
152
152
|
private responsiveColCount;
|
|
153
153
|
protected getCurrentColCount(): number;
|
|
154
|
+
gridColCount: number;
|
|
155
|
+
getContainerStyle(): {
|
|
156
|
+
gridAutoFlow?: undefined;
|
|
157
|
+
gridTemplateColumns?: undefined;
|
|
158
|
+
} | {
|
|
159
|
+
gridAutoFlow: string;
|
|
160
|
+
gridTemplateColumns: string;
|
|
161
|
+
};
|
|
154
162
|
protected processResponsiveness(_: number, availableWidth: number): boolean;
|
|
155
163
|
triggerResponsiveness(hard?: boolean): void;
|
|
156
164
|
private gapBetweenItems;
|
|
@@ -50,5 +50,6 @@ export declare class QuestionMatrixDropdownModel extends QuestionMatrixDropdownM
|
|
|
50
50
|
protected createMatrixRow(item: ItemValue, value: any): MatrixDropdownRowModel;
|
|
51
51
|
protected getFilteredDataCore(): any;
|
|
52
52
|
protected getSearchableItemValueKeys(keys: Array<string>): void;
|
|
53
|
+
protected getIsRequireToGenerateRows(): boolean;
|
|
53
54
|
protected updateProgressInfoByValues(res: IProgressInfo): void;
|
|
54
55
|
}
|
|
@@ -464,6 +464,7 @@ export declare class QuestionMatrixDropdownModelBase extends QuestionMatrixBaseM
|
|
|
464
464
|
protected getConditionObjectRowText(index: number): string;
|
|
465
465
|
protected getConditionObjectsRowIndeces(): Array<number>;
|
|
466
466
|
getProgressInfo(): IProgressInfo;
|
|
467
|
+
protected getIsRequireToGenerateRows(): boolean;
|
|
467
468
|
protected updateProgressInfoByValues(res: IProgressInfo): void;
|
|
468
469
|
protected updateProgressInfoByRow(res: IProgressInfo, rowValue: any): void;
|
|
469
470
|
private getCellQuestions;
|
|
@@ -2073,6 +2073,7 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
|
|
|
2073
2073
|
private disposeContainerPage;
|
|
2074
2074
|
private updatePagesContainer;
|
|
2075
2075
|
private currentSingleQuestionValue;
|
|
2076
|
+
private getSingleQuestions;
|
|
2076
2077
|
currentSingleQuestion: Question;
|
|
2077
2078
|
private changeCurrentPageFromPreview;
|
|
2078
2079
|
protected onQuestionsOnPageModeChanged(oldValue: string): void;
|
|
@@ -25,7 +25,15 @@ export declare class Trigger extends Base {
|
|
|
25
25
|
protected canBeExecuted(isOnNextPage: boolean): boolean;
|
|
26
26
|
protected canBeExecutedOnComplete(): boolean;
|
|
27
27
|
protected isExecutingOnNextPage: boolean;
|
|
28
|
-
|
|
28
|
+
protected isExecutingOnNavigation: boolean;
|
|
29
|
+
checkExpression(options: {
|
|
30
|
+
isOnNextPage: boolean;
|
|
31
|
+
isOnComplete: boolean;
|
|
32
|
+
isOnNavigation: boolean;
|
|
33
|
+
keys: any;
|
|
34
|
+
values: HashTable<any>;
|
|
35
|
+
properties?: HashTable<any>;
|
|
36
|
+
}): void;
|
|
29
37
|
protected canSuccessOnEmptyExpression(): boolean;
|
|
30
38
|
check(value: any): void;
|
|
31
39
|
readonly requireValidQuestion: boolean;
|
|
@@ -56,7 +56,7 @@ export interface IConfirmDialogOptions {
|
|
|
56
56
|
rootElement?: HTMLElement;
|
|
57
57
|
cssClass?: string;
|
|
58
58
|
}
|
|
59
|
-
export declare function showConfirmDialog(message: string, callback: (res: boolean) => void, options
|
|
59
|
+
export declare function showConfirmDialog(message: string, callback: (res: boolean) => void, options?: IConfirmDialogOptions): boolean;
|
|
60
60
|
export declare function configConfirmDialog(popupViewModel: PopupBaseViewModel): void;
|
|
61
61
|
declare function chooseFiles(input: HTMLInputElement, callback: (files: File[]) => void): void;
|
|
62
62
|
export declare function compareArrays<T>(oldValue: Array<T>, newValue: Array<T>, getKey: (item: T) => any): {
|
|
@@ -76,7 +76,6 @@ export declare class Base {
|
|
|
76
76
|
equals(obj: Base): boolean;
|
|
77
77
|
protected equalsCore(obj: Base): boolean;
|
|
78
78
|
protected trimValue(value: any): any;
|
|
79
|
-
protected isPropertyEmpty(value: any): boolean;
|
|
80
79
|
static createPropertiesHash(): {};
|
|
81
80
|
private propertyHash;
|
|
82
81
|
private localizableStrings;
|
|
@@ -212,6 +211,7 @@ export declare class Base {
|
|
|
212
211
|
* @param defaultValue *(Optional)* A value to return if the property is not found or does not have a value.
|
|
213
212
|
*/
|
|
214
213
|
getPropertyValue(name: string, defaultValue?: any, calcFunc?: () => any): any;
|
|
214
|
+
protected isValueUndefined(value: any): boolean;
|
|
215
215
|
getDefaultPropertyValue(name: string): any;
|
|
216
216
|
hasDefaultPropertyValue(name: string): boolean;
|
|
217
217
|
resetPropertyValue(name: string): void;
|
|
@@ -8,7 +8,7 @@ export declare class DragDropChoices extends DragDropCore<QuestionSelectBase> {
|
|
|
8
8
|
onShortcutCreated: (node: HTMLElement) => void;
|
|
9
9
|
private createImagePickerShortcut;
|
|
10
10
|
protected getDropTargetByDataAttributeValue(dataAttributeValue: string): ItemValue;
|
|
11
|
-
private
|
|
11
|
+
private getChoices;
|
|
12
12
|
protected doDragOver: () => any;
|
|
13
13
|
protected isDropTargetValid(dropTarget: ItemValue, dropTargetNode?: HTMLElement): boolean;
|
|
14
14
|
protected doBanDropHere: () => any;
|
|
@@ -8,6 +8,7 @@ export declare class Helpers {
|
|
|
8
8
|
* @param value
|
|
9
9
|
*/
|
|
10
10
|
static isValueEmpty(value: any): boolean;
|
|
11
|
+
static isValueUndefined(value: any): boolean;
|
|
11
12
|
static isArrayContainsEqual(x: any, y: any): boolean;
|
|
12
13
|
static isArraysEqual(x: any, y: any, ignoreOrder?: boolean, caseSensitive?: boolean, trimStrings?: boolean): boolean;
|
|
13
14
|
static compareStrings(x: string, y: string): number;
|
|
@@ -85,6 +85,6 @@ export declare class InputMaskNumeric extends InputMaskBase {
|
|
|
85
85
|
getUnmaskedValue(src: string): any;
|
|
86
86
|
processInput(args: ITextInputParams): IMaskedInputResult;
|
|
87
87
|
getType(): string;
|
|
88
|
-
protected
|
|
88
|
+
protected isValueUndefined(value: any): boolean;
|
|
89
89
|
}
|
|
90
90
|
export {};
|
|
@@ -399,7 +399,7 @@ export declare class QuestionSelectBase extends Question {
|
|
|
399
399
|
protected getDisplayArrayValue(keysAsText: boolean, value: any, onGetValueCallback?: (index: number) => any): string;
|
|
400
400
|
private getItemDisplayValue;
|
|
401
401
|
private getFilteredChoices;
|
|
402
|
-
|
|
402
|
+
private get activeChoices();
|
|
403
403
|
get isMessagePanelVisible(): boolean;
|
|
404
404
|
set isMessagePanelVisible(val: boolean);
|
|
405
405
|
private get isEmptyActiveChoicesInDesign();
|
|
@@ -159,6 +159,14 @@ export declare class QuestionImagePickerModel extends QuestionCheckboxBase {
|
|
|
159
159
|
onContentLoaded: (item: ImageItemValue, event: any) => void;
|
|
160
160
|
private responsiveColCount;
|
|
161
161
|
protected getCurrentColCount(): number;
|
|
162
|
+
gridColCount: number;
|
|
163
|
+
getContainerStyle(): {
|
|
164
|
+
gridAutoFlow?: undefined;
|
|
165
|
+
gridTemplateColumns?: undefined;
|
|
166
|
+
} | {
|
|
167
|
+
gridAutoFlow: string;
|
|
168
|
+
gridTemplateColumns: string;
|
|
169
|
+
};
|
|
162
170
|
protected processResponsiveness(_: number, availableWidth: number): boolean;
|
|
163
171
|
triggerResponsiveness(hard?: boolean): void;
|
|
164
172
|
private gapBetweenItems;
|
|
@@ -52,5 +52,6 @@ export declare class QuestionMatrixDropdownModel extends QuestionMatrixDropdownM
|
|
|
52
52
|
protected createMatrixRow(item: ItemValue, value: any): MatrixDropdownRowModel;
|
|
53
53
|
protected getFilteredDataCore(): any;
|
|
54
54
|
protected getSearchableItemValueKeys(keys: Array<string>): void;
|
|
55
|
+
protected getIsRequireToGenerateRows(): boolean;
|
|
55
56
|
protected updateProgressInfoByValues(res: IProgressInfo): void;
|
|
56
57
|
}
|
|
@@ -484,6 +484,7 @@ export declare class QuestionMatrixDropdownModelBase extends QuestionMatrixBaseM
|
|
|
484
484
|
protected getConditionObjectRowText(index: number): string;
|
|
485
485
|
protected getConditionObjectsRowIndeces(): Array<number>;
|
|
486
486
|
getProgressInfo(): IProgressInfo;
|
|
487
|
+
protected getIsRequireToGenerateRows(): boolean;
|
|
487
488
|
protected updateProgressInfoByValues(res: IProgressInfo): void;
|
|
488
489
|
protected updateProgressInfoByRow(res: IProgressInfo, rowValue: any): void;
|
|
489
490
|
private getCellQuestions;
|
|
@@ -2160,6 +2160,7 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
|
|
|
2160
2160
|
private disposeContainerPage;
|
|
2161
2161
|
private updatePagesContainer;
|
|
2162
2162
|
private currentSingleQuestionValue;
|
|
2163
|
+
private getSingleQuestions;
|
|
2163
2164
|
get currentSingleQuestion(): Question;
|
|
2164
2165
|
set currentSingleQuestion(val: Question);
|
|
2165
2166
|
private changeCurrentPageFromPreview;
|
|
@@ -29,7 +29,15 @@ export declare class Trigger extends Base {
|
|
|
29
29
|
protected canBeExecuted(isOnNextPage: boolean): boolean;
|
|
30
30
|
protected canBeExecutedOnComplete(): boolean;
|
|
31
31
|
protected isExecutingOnNextPage: boolean;
|
|
32
|
-
|
|
32
|
+
protected isExecutingOnNavigation: boolean;
|
|
33
|
+
checkExpression(options: {
|
|
34
|
+
isOnNextPage: boolean;
|
|
35
|
+
isOnComplete: boolean;
|
|
36
|
+
isOnNavigation: boolean;
|
|
37
|
+
keys: any;
|
|
38
|
+
values: HashTable<any>;
|
|
39
|
+
properties?: HashTable<any>;
|
|
40
|
+
}): void;
|
|
33
41
|
protected canSuccessOnEmptyExpression(): boolean;
|
|
34
42
|
check(value: any): void;
|
|
35
43
|
get requireValidQuestion(): boolean;
|
|
@@ -56,7 +56,7 @@ export interface IConfirmDialogOptions {
|
|
|
56
56
|
rootElement?: HTMLElement;
|
|
57
57
|
cssClass?: string;
|
|
58
58
|
}
|
|
59
|
-
export declare function showConfirmDialog(message: string, callback: (res: boolean) => void, options
|
|
59
|
+
export declare function showConfirmDialog(message: string, callback: (res: boolean) => void, options?: IConfirmDialogOptions): boolean;
|
|
60
60
|
export declare function configConfirmDialog(popupViewModel: PopupBaseViewModel): void;
|
|
61
61
|
declare function chooseFiles(input: HTMLInputElement, callback: (files: File[]) => void): void;
|
|
62
62
|
export declare function compareArrays<T>(oldValue: Array<T>, newValue: Array<T>, getKey: (item: T) => any): {
|