survey-react 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.min.css +2 -2
- package/modern.css +19 -3
- package/modern.css.map +1 -1
- package/modern.min.css +2 -2
- package/package.json +1 -1
- package/survey.css +1 -1
- package/survey.min.css +1 -1
- package/survey.react.d.ts +28 -6
- package/survey.react.js +138 -82
- package/survey.react.js.map +1 -1
- package/survey.react.min.js +3 -3
package/package.json
CHANGED
package/survey.css
CHANGED
package/survey.min.css
CHANGED
package/survey.react.d.ts
CHANGED
@@ -42,6 +42,7 @@ declare module "packages/survey-core/src/helpers" {
|
|
42
42
|
* @param value
|
43
43
|
*/
|
44
44
|
static isValueEmpty(value: any): boolean;
|
45
|
+
static isValueUndefined(value: any): boolean;
|
45
46
|
static isArrayContainsEqual(x: any, y: any): boolean;
|
46
47
|
static isArraysEqual(x: any, y: any, ignoreOrder?: boolean, caseSensitive?: boolean, trimStrings?: boolean): boolean;
|
47
48
|
static compareStrings(x: string, y: string): number;
|
@@ -973,7 +974,7 @@ declare module "packages/survey-core/src/utils/utils" {
|
|
973
974
|
rootElement?: HTMLElement;
|
974
975
|
cssClass?: string;
|
975
976
|
}
|
976
|
-
export function showConfirmDialog(message: string, callback: (res: boolean) => void, options
|
977
|
+
export function showConfirmDialog(message: string, callback: (res: boolean) => void, options?: IConfirmDialogOptions): boolean;
|
977
978
|
export function configConfirmDialog(popupViewModel: PopupBaseViewModel): void;
|
978
979
|
function chooseFiles(input: HTMLInputElement, callback: (files: File[]) => void): void;
|
979
980
|
export function compareArrays<T>(oldValue: Array<T>, newValue: Array<T>, getKey: (item: T) => any): {
|
@@ -2044,6 +2045,8 @@ declare module "packages/survey-core/src/defaultCss/defaultV2Css" {
|
|
2044
2045
|
imagepicker: {
|
2045
2046
|
mainRoot: string;
|
2046
2047
|
root: string;
|
2048
|
+
rootResponsive: string;
|
2049
|
+
rootStatic: string;
|
2047
2050
|
rootColumn: string;
|
2048
2051
|
item: string;
|
2049
2052
|
itemOnError: string;
|
@@ -2513,7 +2516,15 @@ declare module "packages/survey-core/src/trigger" {
|
|
2513
2516
|
protected canBeExecuted(isOnNextPage: boolean): boolean;
|
2514
2517
|
protected canBeExecutedOnComplete(): boolean;
|
2515
2518
|
protected isExecutingOnNextPage: boolean;
|
2516
|
-
|
2519
|
+
protected isExecutingOnNavigation: boolean;
|
2520
|
+
checkExpression(options: {
|
2521
|
+
isOnNextPage: boolean;
|
2522
|
+
isOnComplete: boolean;
|
2523
|
+
isOnNavigation: boolean;
|
2524
|
+
keys: any;
|
2525
|
+
values: HashTable<any>;
|
2526
|
+
properties?: HashTable<any>;
|
2527
|
+
}): void;
|
2517
2528
|
protected canSuccessOnEmptyExpression(): boolean;
|
2518
2529
|
check(value: any): void;
|
2519
2530
|
get requireValidQuestion(): boolean;
|
@@ -4939,7 +4950,7 @@ declare module "packages/survey-core/src/question_baseselect" {
|
|
4939
4950
|
protected getDisplayArrayValue(keysAsText: boolean, value: any, onGetValueCallback?: (index: number) => any): string;
|
4940
4951
|
private getItemDisplayValue;
|
4941
4952
|
private getFilteredChoices;
|
4942
|
-
|
4953
|
+
private get activeChoices();
|
4943
4954
|
get isMessagePanelVisible(): boolean;
|
4944
4955
|
set isMessagePanelVisible(val: boolean);
|
4945
4956
|
private get isEmptyActiveChoicesInDesign();
|
@@ -11960,6 +11971,7 @@ declare module "packages/survey-core/src/survey" {
|
|
11960
11971
|
private disposeContainerPage;
|
11961
11972
|
private updatePagesContainer;
|
11962
11973
|
private currentSingleQuestionValue;
|
11974
|
+
private getSingleQuestions;
|
11963
11975
|
get currentSingleQuestion(): Question;
|
11964
11976
|
set currentSingleQuestion(val: Question);
|
11965
11977
|
private changeCurrentPageFromPreview;
|
@@ -15009,6 +15021,7 @@ declare module "packages/survey-core/src/question_matrixdropdownbase" {
|
|
15009
15021
|
protected getConditionObjectRowText(index: number): string;
|
15010
15022
|
protected getConditionObjectsRowIndeces(): Array<number>;
|
15011
15023
|
getProgressInfo(): IProgressInfo;
|
15024
|
+
protected getIsRequireToGenerateRows(): boolean;
|
15012
15025
|
protected updateProgressInfoByValues(res: IProgressInfo): void;
|
15013
15026
|
protected updateProgressInfoByRow(res: IProgressInfo, rowValue: any): void;
|
15014
15027
|
private getCellQuestions;
|
@@ -16036,7 +16049,6 @@ declare module "packages/survey-core/src/base" {
|
|
16036
16049
|
equals(obj: Base): boolean;
|
16037
16050
|
protected equalsCore(obj: Base): boolean;
|
16038
16051
|
protected trimValue(value: any): any;
|
16039
|
-
protected isPropertyEmpty(value: any): boolean;
|
16040
16052
|
static createPropertiesHash(): {};
|
16041
16053
|
private propertyHash;
|
16042
16054
|
private localizableStrings;
|
@@ -16172,6 +16184,7 @@ declare module "packages/survey-core/src/base" {
|
|
16172
16184
|
* @param defaultValue *(Optional)* A value to return if the property is not found or does not have a value.
|
16173
16185
|
*/
|
16174
16186
|
getPropertyValue(name: string, defaultValue?: any, calcFunc?: () => any): any;
|
16187
|
+
protected isValueUndefined(value: any): boolean;
|
16175
16188
|
getDefaultPropertyValue(name: string): any;
|
16176
16189
|
hasDefaultPropertyValue(name: string): boolean;
|
16177
16190
|
resetPropertyValue(name: string): void;
|
@@ -17105,6 +17118,7 @@ declare module "packages/survey-core/src/question_matrixdropdown" {
|
|
17105
17118
|
protected createMatrixRow(item: ItemValue, value: any): MatrixDropdownRowModel;
|
17106
17119
|
protected getFilteredDataCore(): any;
|
17107
17120
|
protected getSearchableItemValueKeys(keys: Array<string>): void;
|
17121
|
+
protected getIsRequireToGenerateRows(): boolean;
|
17108
17122
|
protected updateProgressInfoByValues(res: IProgressInfo): void;
|
17109
17123
|
}
|
17110
17124
|
}
|
@@ -18159,6 +18173,14 @@ declare module "packages/survey-core/src/question_imagepicker" {
|
|
18159
18173
|
onContentLoaded: (item: ImageItemValue, event: any) => void;
|
18160
18174
|
private responsiveColCount;
|
18161
18175
|
protected getCurrentColCount(): number;
|
18176
|
+
gridColCount: number;
|
18177
|
+
getContainerStyle(): {
|
18178
|
+
gridAutoFlow?: undefined;
|
18179
|
+
gridTemplateColumns?: undefined;
|
18180
|
+
} | {
|
18181
|
+
gridAutoFlow: string;
|
18182
|
+
gridTemplateColumns: string;
|
18183
|
+
};
|
18162
18184
|
protected processResponsiveness(_: number, availableWidth: number): boolean;
|
18163
18185
|
triggerResponsiveness(hard?: boolean): void;
|
18164
18186
|
private gapBetweenItems;
|
@@ -18177,7 +18199,7 @@ declare module "packages/survey-core/src/dragdrop/choices" {
|
|
18177
18199
|
onShortcutCreated: (node: HTMLElement) => void;
|
18178
18200
|
private createImagePickerShortcut;
|
18179
18201
|
protected getDropTargetByDataAttributeValue(dataAttributeValue: string): ItemValue;
|
18180
|
-
private
|
18202
|
+
private getChoices;
|
18181
18203
|
protected doDragOver: () => any;
|
18182
18204
|
protected isDropTargetValid(dropTarget: ItemValue, dropTargetNode?: HTMLElement): boolean;
|
18183
18205
|
protected doBanDropHere: () => any;
|
@@ -19387,7 +19409,7 @@ declare module "packages/survey-core/src/mask/mask_numeric" {
|
|
19387
19409
|
getUnmaskedValue(src: string): any;
|
19388
19410
|
processInput(args: ITextInputParams): IMaskedInputResult;
|
19389
19411
|
getType(): string;
|
19390
|
-
protected
|
19412
|
+
protected isValueUndefined(value: any): boolean;
|
19391
19413
|
}
|
19392
19414
|
}
|
19393
19415
|
declare module "packages/survey-core/src/mask/mask_datetime" {
|