survey-react 1.9.108 → 1.9.110
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 +191 -31
- package/defaultV2.css.map +1 -1
- package/defaultV2.min.css +2 -2
- package/modern.css +5 -4
- package/modern.css.map +1 -1
- package/modern.min.css +2 -2
- package/package.json +1 -1
- package/survey.css +2 -1
- package/survey.css.map +1 -1
- package/survey.min.css +2 -2
- package/survey.react.d.ts +459 -19
- package/survey.react.js +2229 -435
- package/survey.react.js.map +1 -1
- package/survey.react.min.js +3 -3
package/survey.react.d.ts
CHANGED
@@ -115,6 +115,9 @@ declare module "localization/english" {
|
|
115
115
|
clearCaption: string;
|
116
116
|
signaturePlaceHolder: string;
|
117
117
|
chooseFileCaption: string;
|
118
|
+
takePhotoCaption: string;
|
119
|
+
cameraPlaceHolder: string;
|
120
|
+
fileCameraDragAreaPlaceHolder: string;
|
118
121
|
replaceFileCaption: string;
|
119
122
|
removeFileCaption: string;
|
120
123
|
booleanCheckedLabel: string;
|
@@ -227,6 +230,9 @@ declare module "surveyStrings" {
|
|
227
230
|
clearCaption: string;
|
228
231
|
signaturePlaceHolder: string;
|
229
232
|
chooseFileCaption: string;
|
233
|
+
takePhotoCaption: string;
|
234
|
+
cameraPlaceHolder: string;
|
235
|
+
fileCameraDragAreaPlaceHolder: string;
|
230
236
|
replaceFileCaption: string;
|
231
237
|
removeFileCaption: string;
|
232
238
|
booleanCheckedLabel: string;
|
@@ -664,6 +670,7 @@ declare module "conditionProcessValue" {
|
|
664
670
|
getValue(text: string, values?: HashTable<any>): any;
|
665
671
|
setValue(obj: any, text: string, value: any): void;
|
666
672
|
getValueInfo(valueInfo: any): void;
|
673
|
+
isAnyKeyChanged(keys: any, usedNames: string[]): boolean;
|
667
674
|
private getValueFromPath;
|
668
675
|
private getValueCore;
|
669
676
|
private getQuestionDirectly;
|
@@ -956,7 +963,14 @@ declare module "conditions" {
|
|
956
963
|
}
|
957
964
|
export class ExpressionRunnerBase {
|
958
965
|
private expressionExecutor;
|
966
|
+
private variables;
|
967
|
+
private containsFunc;
|
968
|
+
private static IdCounter;
|
969
|
+
private _id;
|
970
|
+
onBeforeAsyncRun: (id: number) => void;
|
971
|
+
onAfterAsyncRun: (id: number) => void;
|
959
972
|
constructor(expression: string);
|
973
|
+
get id(): number;
|
960
974
|
get expression(): string;
|
961
975
|
set expression(value: string);
|
962
976
|
getVariables(): Array<string>;
|
@@ -1011,6 +1025,7 @@ declare module "utils/utils" {
|
|
1011
1025
|
function findScrollableParent(element: HTMLElement): HTMLElement;
|
1012
1026
|
function scrollElementByChildId(id: string): void;
|
1013
1027
|
function navigateToUrl(url: string): void;
|
1028
|
+
function wrapUrlForBackgroundImage(url: string): string;
|
1014
1029
|
function getIconNameFromProxy(iconName: string): string;
|
1015
1030
|
function createSvg(size: number | string, width: number, height: number, iconName: string, svgElem: any, title: string): void;
|
1016
1031
|
export function unwrap<T>(value: T | (() => T)): T;
|
@@ -1039,7 +1054,7 @@ declare module "utils/utils" {
|
|
1039
1054
|
log(action: string): void;
|
1040
1055
|
get result(): string;
|
1041
1056
|
}
|
1042
|
-
export { mergeValues, getElementWidth, isContainerVisible, classesToSelector, compareVersions, confirmAction, confirmActionAsync, detectIEOrEdge, detectIEBrowser, loadFileFromBase64, isMobile, isShadowDOM, getElement, isElementVisible, findScrollableParent, scrollElementByChildId, navigateToUrl, createSvg, getIconNameFromProxy, increaseHeightByContent, getOriginalEvent, preventDefaults, findParentByClassNames, getFirstVisibleChild, };
|
1057
|
+
export { mergeValues, getElementWidth, isContainerVisible, classesToSelector, compareVersions, confirmAction, confirmActionAsync, detectIEOrEdge, detectIEBrowser, loadFileFromBase64, isMobile, isShadowDOM, getElement, isElementVisible, findScrollableParent, scrollElementByChildId, navigateToUrl, wrapUrlForBackgroundImage, createSvg, getIconNameFromProxy, increaseHeightByContent, getOriginalEvent, preventDefaults, findParentByClassNames, getFirstVisibleChild, };
|
1043
1058
|
}
|
1044
1059
|
declare module "actions/container" {
|
1045
1060
|
import { Base } from "base";
|
@@ -1050,6 +1065,7 @@ declare module "actions/container" {
|
|
1050
1065
|
defaultSizeMode: string;
|
1051
1066
|
smallSizeMode: string;
|
1052
1067
|
item: string;
|
1068
|
+
itemWithTitle: string;
|
1053
1069
|
itemAsIcon: string;
|
1054
1070
|
itemActive: string;
|
1055
1071
|
itemPressed: string;
|
@@ -1648,6 +1664,7 @@ declare module "defaultCss/defaultV2Css" {
|
|
1648
1664
|
mainRoot: string;
|
1649
1665
|
empty: string;
|
1650
1666
|
root: string;
|
1667
|
+
iconRemove: string;
|
1651
1668
|
navigation: string;
|
1652
1669
|
title: string;
|
1653
1670
|
header: string;
|
@@ -1729,6 +1746,7 @@ declare module "defaultCss/defaultV2Css" {
|
|
1729
1746
|
titleNumInline: string;
|
1730
1747
|
titleLeftRoot: string;
|
1731
1748
|
titleOnAnswer: string;
|
1749
|
+
titleEmpty: string;
|
1732
1750
|
titleOnError: string;
|
1733
1751
|
title: string;
|
1734
1752
|
titleExpandable: string;
|
@@ -2104,6 +2122,7 @@ declare module "defaultCss/defaultV2Css" {
|
|
2104
2122
|
file: {
|
2105
2123
|
root: string;
|
2106
2124
|
rootDragging: string;
|
2125
|
+
rootAnswered: string;
|
2107
2126
|
other: string;
|
2108
2127
|
placeholderInput: string;
|
2109
2128
|
preview: string;
|
@@ -2140,6 +2159,14 @@ declare module "defaultCss/defaultV2Css" {
|
|
2140
2159
|
single: string;
|
2141
2160
|
singleImage: string;
|
2142
2161
|
mobile: string;
|
2162
|
+
videoContainer: string;
|
2163
|
+
contextButton: string;
|
2164
|
+
video: string;
|
2165
|
+
actionsContainer: string;
|
2166
|
+
closeCameraButton: string;
|
2167
|
+
changeCameraButton: string;
|
2168
|
+
takePictureButton: string;
|
2169
|
+
loadingIndicator: string;
|
2143
2170
|
};
|
2144
2171
|
signaturepad: {
|
2145
2172
|
mainRoot: string;
|
@@ -2289,8 +2316,6 @@ declare module "trigger" {
|
|
2289
2316
|
static operatorsValue: HashTable<Function>;
|
2290
2317
|
static get operators(): HashTable<Function>;
|
2291
2318
|
private conditionRunner;
|
2292
|
-
private usedNames;
|
2293
|
-
private hasFunction;
|
2294
2319
|
private idValue;
|
2295
2320
|
constructor();
|
2296
2321
|
get id(): number;
|
@@ -2320,7 +2345,7 @@ declare module "trigger" {
|
|
2320
2345
|
private onExpressionChanged;
|
2321
2346
|
buildExpression(): string;
|
2322
2347
|
private isCheckRequired;
|
2323
|
-
private
|
2348
|
+
private createConditionRunner;
|
2324
2349
|
private get isRequireValue();
|
2325
2350
|
}
|
2326
2351
|
export interface ISurveyTriggerOwner {
|
@@ -2926,7 +2951,9 @@ declare module "panel" {
|
|
2926
2951
|
*/
|
2927
2952
|
get visible(): boolean;
|
2928
2953
|
set visible(value: boolean);
|
2954
|
+
onHidingContent(): void;
|
2929
2955
|
protected onVisibleChanged(): void;
|
2956
|
+
protected notifyStateChanged(): void;
|
2930
2957
|
/**
|
2931
2958
|
* Returns `true` if the panel/page is visible or the survey is currently in design mode.
|
2932
2959
|
*
|
@@ -3151,6 +3178,28 @@ declare module "panel" {
|
|
3151
3178
|
getContainerCss(): string;
|
3152
3179
|
}
|
3153
3180
|
}
|
3181
|
+
declare module "utils/camera" {
|
3182
|
+
export class Camera {
|
3183
|
+
static mediaDevicesCallback: ((callback: (devices: Array<MediaDeviceInfo>) => void) => void) | undefined;
|
3184
|
+
static clear(): void;
|
3185
|
+
static setCameraList(list: Array<MediaDeviceInfo>): void;
|
3186
|
+
private static cameraList;
|
3187
|
+
private static cameraIndex;
|
3188
|
+
private static cameraFacingMode;
|
3189
|
+
private static canSwitchFacingMode;
|
3190
|
+
hasCamera(callback: (res: boolean) => void): void;
|
3191
|
+
getMediaConstraints(videoEl?: any): MediaStreamConstraints;
|
3192
|
+
startVideo(videoElementId: string, callback: (stream: MediaStream) => void, imageWidth?: string, imageHeight?: string): void;
|
3193
|
+
snap(videoElementId: string, callback: BlobCallback): boolean;
|
3194
|
+
private canFlipValue;
|
3195
|
+
private updateCanFlipValue;
|
3196
|
+
private onCanFlipChangedCallback?;
|
3197
|
+
canFlip(onCanFlipChangedCallback?: (res: boolean) => void): boolean;
|
3198
|
+
flip(): void;
|
3199
|
+
private hasCameraCallback;
|
3200
|
+
private setVideoInputs;
|
3201
|
+
}
|
3202
|
+
}
|
3154
3203
|
declare module "question_file" {
|
3155
3204
|
import { IPlainDataOptions } from "base-interfaces";
|
3156
3205
|
import { IQuestionPlainData, Question } from "question";
|
@@ -3158,6 +3207,7 @@ declare module "question_file" {
|
|
3158
3207
|
import { SurveyError } from "survey-error";
|
3159
3208
|
import { ActionContainer } from "actions/container";
|
3160
3209
|
import { Action } from "actions/action";
|
3210
|
+
import { Camera } from "utils/camera";
|
3161
3211
|
/**
|
3162
3212
|
* A class that describes the File Upload question type.
|
3163
3213
|
*
|
@@ -3183,19 +3233,45 @@ declare module "question_file" {
|
|
3183
3233
|
indexToShow: number;
|
3184
3234
|
pageSize: number;
|
3185
3235
|
containsMultiplyFiles: boolean;
|
3236
|
+
allowCameraAccess: boolean;
|
3186
3237
|
/**
|
3187
|
-
* Specifies
|
3238
|
+
* Specifies the source of uploaded files.
|
3188
3239
|
*
|
3189
|
-
*
|
3240
|
+
* Possible values:
|
3241
|
+
*
|
3242
|
+
* - `"file"` (default) - Allows respondents to select a local file.
|
3243
|
+
* - `"camera"` - Allows respondents to capture and upload a photo.
|
3244
|
+
* - `"file-camera"` - Allows respondents to select a local file or capture a photo.
|
3190
3245
|
*/
|
3191
|
-
|
3246
|
+
sourceType: string;
|
3192
3247
|
fileNavigator: ActionContainer;
|
3193
3248
|
protected prevFileAction: Action;
|
3194
3249
|
protected nextFileAction: Action;
|
3195
3250
|
protected fileIndexAction: Action;
|
3251
|
+
closeCameraAction: Action;
|
3252
|
+
takePictureAction: Action;
|
3253
|
+
changeCameraAction: Action;
|
3254
|
+
chooseFileAction: Action;
|
3255
|
+
startCameraAction: Action;
|
3256
|
+
cleanAction: Action;
|
3257
|
+
actionsContainer: ActionContainer;
|
3196
3258
|
get fileNavigatorVisible(): boolean;
|
3197
3259
|
private get pagesCount();
|
3260
|
+
get actionsContainerVisible(): boolean;
|
3198
3261
|
constructor(name: string);
|
3262
|
+
get videoId(): string;
|
3263
|
+
get hasVideoUI(): boolean;
|
3264
|
+
get hasFileUI(): boolean;
|
3265
|
+
private videoStream;
|
3266
|
+
startVideo(): void;
|
3267
|
+
private startVideoInCamera;
|
3268
|
+
stopVideo(): void;
|
3269
|
+
snapPicture(): void;
|
3270
|
+
private canFlipCameraValue;
|
3271
|
+
canFlipCamera(): boolean;
|
3272
|
+
flipCamera(): void;
|
3273
|
+
private closeVideoStream;
|
3274
|
+
onHidingContent(): void;
|
3199
3275
|
protected updateElementCssCore(cssClasses: any): void;
|
3200
3276
|
private getFileIndexCaption;
|
3201
3277
|
private updateFileNavigator;
|
@@ -3273,20 +3349,29 @@ declare module "question_file" {
|
|
3273
3349
|
confirmRemoveAllMessage: string;
|
3274
3350
|
noFileChosenCaption: string;
|
3275
3351
|
chooseButtonCaption: string;
|
3352
|
+
takePhotoCaption: string;
|
3276
3353
|
replaceButtonCaption: string;
|
3277
3354
|
clearButtonCaption: string;
|
3278
3355
|
removeFileCaption: string;
|
3279
3356
|
loadingFileTitle: string;
|
3280
3357
|
chooseFileTitle: string;
|
3358
|
+
fileCameraDragAreaPlaceholder: string;
|
3359
|
+
cameraPlaceholder: string;
|
3281
3360
|
dragAreaPlaceholder: string;
|
3282
3361
|
renderedPlaceholderValue: string;
|
3283
3362
|
get renderedPlaceholder(): string;
|
3363
|
+
get currentMode(): string;
|
3364
|
+
get isPlayingVideo(): boolean;
|
3365
|
+
private setIsPlayingVideo;
|
3366
|
+
private updateCurrentMode;
|
3367
|
+
private updateActions;
|
3284
3368
|
get inputTitle(): string;
|
3285
3369
|
get chooseButtonText(): string;
|
3286
3370
|
clear(doneCallback?: () => void): void;
|
3287
3371
|
get renderCapture(): string;
|
3288
3372
|
get multipleRendered(): string;
|
3289
3373
|
get showChooseButton(): boolean;
|
3374
|
+
get showFileDecorator(): boolean;
|
3290
3375
|
get showLoadingIndicator(): boolean;
|
3291
3376
|
get allowShowPreview(): boolean;
|
3292
3377
|
get showRemoveButtonCore(): boolean;
|
@@ -3303,19 +3388,29 @@ declare module "question_file" {
|
|
3303
3388
|
* @param files An array of [File](https://developer.mozilla.org/en-US/docs/Web/API/File) objects.
|
3304
3389
|
*/
|
3305
3390
|
loadFiles(files: File[]): void;
|
3391
|
+
private cameraValue;
|
3392
|
+
protected get camera(): Camera;
|
3306
3393
|
canPreviewImage(fileItem: any): boolean;
|
3307
3394
|
protected loadPreview(newValue: any): void;
|
3395
|
+
private isFileLoadingValue;
|
3396
|
+
protected get isFileLoading(): boolean;
|
3397
|
+
protected set isFileLoading(val: boolean);
|
3398
|
+
protected getIsQuestionReady(): boolean;
|
3308
3399
|
protected onCheckForErrors(errors: Array<SurveyError>, isOnValueChanged: boolean): void;
|
3309
3400
|
protected stateChanged(state: string): void;
|
3310
3401
|
private allFilesOk;
|
3311
3402
|
private isFileImage;
|
3312
3403
|
getPlainData(options?: IPlainDataOptions): IQuestionPlainData;
|
3404
|
+
protected getActionsContainerCss(css: any): string;
|
3405
|
+
getRemoveButtonCss(): string;
|
3313
3406
|
getChooseFileCss(): string;
|
3314
3407
|
getReadOnlyFileCss(): string;
|
3315
3408
|
get fileRootCss(): string;
|
3316
3409
|
getFileDecoratorCss(): string;
|
3317
3410
|
private onChange;
|
3318
3411
|
protected onChangeQuestionValue(newValue: any): void;
|
3412
|
+
protected calcCssClasses(css: any): any;
|
3413
|
+
updateElementCss(reNew?: boolean): void;
|
3319
3414
|
endLoadingFromJson(): void;
|
3320
3415
|
protected needResponsiveness(): boolean;
|
3321
3416
|
protected supportResponsiveness(): boolean;
|
@@ -3328,6 +3423,7 @@ declare module "question_file" {
|
|
3328
3423
|
triggerResponsiveness(hard?: boolean): void;
|
3329
3424
|
protected processResponsiveness(_: number, availableWidth: number): boolean;
|
3330
3425
|
private rootElement;
|
3426
|
+
private canDragDrop;
|
3331
3427
|
afterRender(el: HTMLElement): void;
|
3332
3428
|
private dragCounter;
|
3333
3429
|
onDragEnter: (event: any) => void;
|
@@ -3335,11 +3431,12 @@ declare module "question_file" {
|
|
3335
3431
|
onDrop: (event: any) => void;
|
3336
3432
|
onDragLeave: (event: any) => void;
|
3337
3433
|
doChange: (event: any) => void;
|
3338
|
-
doClean: (
|
3434
|
+
doClean: () => void;
|
3339
3435
|
private clearFilesCore;
|
3340
3436
|
doRemoveFile(data: any): void;
|
3341
3437
|
private removeFileCore;
|
3342
3438
|
doDownloadFile: (event: any, data: any) => void;
|
3439
|
+
dispose(): void;
|
3343
3440
|
}
|
3344
3441
|
export class FileLoader {
|
3345
3442
|
private fileQuestion;
|
@@ -3548,7 +3645,6 @@ declare module "question_baseselect" {
|
|
3548
3645
|
private canShowOptionItemCallback;
|
3549
3646
|
private waitingGetChoiceDisplayValueResponse;
|
3550
3647
|
private get waitingChoicesByURL();
|
3551
|
-
private get waitingAcyncOperations();
|
3552
3648
|
protected selectedItemValues: any;
|
3553
3649
|
constructor(name: string);
|
3554
3650
|
getType(): string;
|
@@ -3676,6 +3772,7 @@ declare module "question_baseselect" {
|
|
3676
3772
|
protected renderedValueFromDataCore(val: any): any;
|
3677
3773
|
protected rendredValueToDataCore(val: any): any;
|
3678
3774
|
protected needConvertRenderedOtherToDataValue(): boolean;
|
3775
|
+
protected getIsQuestionReady(): boolean;
|
3679
3776
|
protected updateSelectedItemValues(): void;
|
3680
3777
|
private setCustomValuesIntoItems;
|
3681
3778
|
protected hasUnknownValue(val: any, includeOther?: boolean, isFilteredChoices?: boolean, checkEmptyValue?: boolean): boolean;
|
@@ -3849,7 +3946,9 @@ declare module "question_baseselect" {
|
|
3849
3946
|
private getFilteredChoices;
|
3850
3947
|
protected get activeChoices(): Array<ItemValue>;
|
3851
3948
|
getCarryForwardQuestion(data?: ISurveyData): Question;
|
3949
|
+
protected getIsReadyDependsOn(): Array<Question>;
|
3852
3950
|
private getQuestionWithChoices;
|
3951
|
+
private carryForwardQuestion;
|
3853
3952
|
private findCarryForwardQuestion;
|
3854
3953
|
private getQuestionWithChoicesCore;
|
3855
3954
|
private getQuestionWithArrayValue;
|
@@ -4167,6 +4266,7 @@ declare module "question_expression" {
|
|
4167
4266
|
runCondition(values: HashTable<any>, properties: HashTable<any>): void;
|
4168
4267
|
protected canCollectErrors(): boolean;
|
4169
4268
|
protected hasRequiredError(): boolean;
|
4269
|
+
private createRunner;
|
4170
4270
|
/**
|
4171
4271
|
* The maximum number of fraction digits. Applies only if the `displayStyle` property is not `"none"`. Accepts values in the range from -1 to 20, where -1 disables the property.
|
4172
4272
|
*
|
@@ -4325,6 +4425,10 @@ declare module "question_matrixdropdowncolumn" {
|
|
4325
4425
|
set enableIf(val: string);
|
4326
4426
|
get requiredIf(): string;
|
4327
4427
|
set requiredIf(val: string);
|
4428
|
+
get resetValueIf(): string;
|
4429
|
+
set resetValueIf(val: string);
|
4430
|
+
get defaultValueExpression(): string;
|
4431
|
+
set defaultValueExpression(val: string);
|
4328
4432
|
get isUnique(): boolean;
|
4329
4433
|
set isUnique(val: boolean);
|
4330
4434
|
get showInMultipleColumns(): boolean;
|
@@ -4608,6 +4712,7 @@ declare module "question_matrixdropdownrendered" {
|
|
4608
4712
|
constructor(matrix: QuestionMatrixDropdownModelBase);
|
4609
4713
|
get showTable(): boolean;
|
4610
4714
|
get showHeader(): boolean;
|
4715
|
+
get showAddRow(): boolean;
|
4611
4716
|
get showAddRowOnTop(): boolean;
|
4612
4717
|
get showAddRowOnBottom(): boolean;
|
4613
4718
|
get showFooter(): boolean;
|
@@ -5189,6 +5294,7 @@ declare module "question_paneldynamic" {
|
|
5189
5294
|
*/
|
5190
5295
|
get currentPanel(): PanelModel;
|
5191
5296
|
set currentPanel(val: PanelModel);
|
5297
|
+
onHidingContent(): void;
|
5192
5298
|
/**
|
5193
5299
|
* Specifies whether to display a confirmation dialog when a respondent wants to delete a panel.
|
5194
5300
|
* @see confirmDeleteText
|
@@ -5533,8 +5639,9 @@ declare module "question_paneldynamic" {
|
|
5533
5639
|
onFirstRendering(): void;
|
5534
5640
|
localeChanged(): void;
|
5535
5641
|
runCondition(values: HashTable<any>, properties: HashTable<any>): void;
|
5642
|
+
runTriggers(name: string, value: any): void;
|
5536
5643
|
private reRunCondition;
|
5537
|
-
protected runPanelsCondition(values: HashTable<any>, properties: HashTable<any>): void;
|
5644
|
+
protected runPanelsCondition(panels: PanelModel[], values: HashTable<any>, properties: HashTable<any>): void;
|
5538
5645
|
onAnyValueChanged(name: string, questionName: string): void;
|
5539
5646
|
private hasKeysDuplicated;
|
5540
5647
|
private updatePanelsContainsErrors;
|
@@ -5564,8 +5671,6 @@ declare module "question_paneldynamic" {
|
|
5564
5671
|
private isAllPanelsEmpty;
|
5565
5672
|
private panelUpdateValueFromSurvey;
|
5566
5673
|
private panelSurveyValueChanged;
|
5567
|
-
private onReadyChangedCallback;
|
5568
|
-
recalculateIsReadyValue(): void;
|
5569
5674
|
protected onSetData(): void;
|
5570
5675
|
protected isNewValueCorrect(val: any): boolean;
|
5571
5676
|
getItemIndex(item: ISurveyData): number;
|
@@ -7405,11 +7510,85 @@ declare module "themes" {
|
|
7405
7510
|
backgroundImageFit?: ImageFit;
|
7406
7511
|
backgroundImageAttachment?: ImageAttachment;
|
7407
7512
|
backgroundOpacity?: number;
|
7513
|
+
cover?: {
|
7514
|
+
[index: string]: any;
|
7515
|
+
};
|
7408
7516
|
cssVariables?: {
|
7409
7517
|
[index: string]: string;
|
7410
7518
|
};
|
7411
7519
|
}
|
7412
7520
|
}
|
7521
|
+
declare module "cover" {
|
7522
|
+
import { Base } from "base";
|
7523
|
+
import { HorizontalAlignment, VerticalAlignment } from "base-interfaces";
|
7524
|
+
import { SurveyModel } from "survey";
|
7525
|
+
export class CoverCell {
|
7526
|
+
private cover;
|
7527
|
+
private positionX;
|
7528
|
+
private positionY;
|
7529
|
+
static CLASSNAME: string;
|
7530
|
+
private calcRow;
|
7531
|
+
private calcColumn;
|
7532
|
+
private calcAlignItems;
|
7533
|
+
private calcAlignText;
|
7534
|
+
private calcJustifyContent;
|
7535
|
+
constructor(cover: Cover, positionX: HorizontalAlignment, positionY: VerticalAlignment);
|
7536
|
+
get survey(): SurveyModel;
|
7537
|
+
get css(): string;
|
7538
|
+
get style(): any;
|
7539
|
+
get contentStyle(): any;
|
7540
|
+
get showLogo(): boolean;
|
7541
|
+
get showTitle(): boolean;
|
7542
|
+
get showDescription(): boolean;
|
7543
|
+
get textWidth(): string;
|
7544
|
+
}
|
7545
|
+
export class Cover extends Base {
|
7546
|
+
private calcBackgroundSize;
|
7547
|
+
constructor();
|
7548
|
+
getType(): string;
|
7549
|
+
survey: SurveyModel;
|
7550
|
+
cells: CoverCell[];
|
7551
|
+
height: number;
|
7552
|
+
areaWidth: "survey" | "container";
|
7553
|
+
textWidth: number;
|
7554
|
+
invertText: boolean;
|
7555
|
+
glowText: boolean;
|
7556
|
+
overlap: boolean;
|
7557
|
+
backgroundColor: string;
|
7558
|
+
backgroundImage: string;
|
7559
|
+
renderBackgroundImage: string;
|
7560
|
+
backgroundImageFit: "cover" | "fill" | "contain" | "tile";
|
7561
|
+
backgroundImageOpacity: number;
|
7562
|
+
logoPositionX: HorizontalAlignment;
|
7563
|
+
logoPositionY: VerticalAlignment;
|
7564
|
+
titlePositionX: HorizontalAlignment;
|
7565
|
+
titlePositionY: VerticalAlignment;
|
7566
|
+
descriptionPositionX: HorizontalAlignment;
|
7567
|
+
descriptionPositionY: VerticalAlignment;
|
7568
|
+
logoStyle: {
|
7569
|
+
gridColumn: number;
|
7570
|
+
gridRow: number;
|
7571
|
+
};
|
7572
|
+
titleStyle: {
|
7573
|
+
gridColumn: number;
|
7574
|
+
gridRow: number;
|
7575
|
+
};
|
7576
|
+
descriptionStyle: {
|
7577
|
+
gridColumn: number;
|
7578
|
+
gridRow: number;
|
7579
|
+
};
|
7580
|
+
get renderedHeight(): string;
|
7581
|
+
get renderedTextWidth(): string;
|
7582
|
+
get coverClasses(): string;
|
7583
|
+
get contentClasses(): string;
|
7584
|
+
get backgroundImageClasses(): string;
|
7585
|
+
get backgroundImageStyle(): {
|
7586
|
+
opacity: number;
|
7587
|
+
backgroundImage: string;
|
7588
|
+
backgroundSize: string;
|
7589
|
+
};
|
7590
|
+
}
|
7591
|
+
}
|
7413
7592
|
declare module "survey" {
|
7414
7593
|
import { JsonError } from "jsonobject";
|
7415
7594
|
import { Base, EventBase } from "base";
|
@@ -8147,6 +8326,7 @@ declare module "survey" {
|
|
8147
8326
|
loadingBodyCss: string;
|
8148
8327
|
containerCss: string;
|
8149
8328
|
fitToContainer: boolean;
|
8329
|
+
titleView: "cover" | "title";
|
8150
8330
|
private getNavigationCss;
|
8151
8331
|
private lazyRenderingValue;
|
8152
8332
|
showBrandInfo: boolean;
|
@@ -9086,6 +9266,7 @@ declare module "survey" {
|
|
9086
9266
|
protected updateCustomWidgets(page: PageModel): void;
|
9087
9267
|
protected currentPageChanging(newValue: PageModel, oldValue: PageModel): boolean;
|
9088
9268
|
protected currentPageChanged(newValue: PageModel, oldValue: PageModel): void;
|
9269
|
+
private notifyQuestionsOnHidingContent;
|
9089
9270
|
private createPageChangeEventOptions;
|
9090
9271
|
getProgress(): number;
|
9091
9272
|
/**
|
@@ -9698,6 +9879,7 @@ declare module "survey" {
|
|
9698
9879
|
private runConditions;
|
9699
9880
|
private runConditionOnValueChanged;
|
9700
9881
|
private runConditionsCore;
|
9882
|
+
private runQuestionsTriggers;
|
9701
9883
|
private checkIfNewPagesBecomeVisible;
|
9702
9884
|
/**
|
9703
9885
|
* Posts a survey result to [SurveyJS Service](https://api.surveyjs.io/).
|
@@ -9743,7 +9925,7 @@ declare module "survey" {
|
|
9743
9925
|
private reduceFirstName;
|
9744
9926
|
private clearUnusedValues;
|
9745
9927
|
hasVisibleQuestionByValueName(valueName: string): boolean;
|
9746
|
-
|
9928
|
+
questionsByValueName(valueName: string): Array<IQuestion>;
|
9747
9929
|
private clearInvisibleQuestionValues;
|
9748
9930
|
/**
|
9749
9931
|
* Returns a variable value.
|
@@ -10221,7 +10403,7 @@ declare module "survey-element" {
|
|
10221
10403
|
*/
|
10222
10404
|
get state(): string;
|
10223
10405
|
set state(val: string);
|
10224
|
-
|
10406
|
+
protected notifyStateChanged(): void;
|
10225
10407
|
/**
|
10226
10408
|
* Returns `true` if the survey element is collapsed.
|
10227
10409
|
* @see state
|
@@ -10490,6 +10672,7 @@ declare module "survey-element" {
|
|
10490
10672
|
get rootStyle(): {
|
10491
10673
|
[index: string]: any;
|
10492
10674
|
};
|
10675
|
+
private isContainsSelection;
|
10493
10676
|
get clickTitleFunction(): any;
|
10494
10677
|
protected needClickTitleFunction(): boolean;
|
10495
10678
|
protected processTitleClick(): void;
|
@@ -10614,7 +10797,7 @@ declare module "question" {
|
|
10614
10797
|
onUpdateCssClassesCallback: (css: any) => void;
|
10615
10798
|
onGetSurvey: () => ISurvey;
|
10616
10799
|
private locProcessedTitle;
|
10617
|
-
|
10800
|
+
private isReadyValue;
|
10618
10801
|
private commentElements;
|
10619
10802
|
private dependedQuestions;
|
10620
10803
|
/**
|
@@ -10649,8 +10832,16 @@ declare module "question" {
|
|
10649
10832
|
set valueName(val: string);
|
10650
10833
|
protected onValueNameChanged(oldValue: string): void;
|
10651
10834
|
protected onNameChanged(oldValue: string): void;
|
10652
|
-
set isReady(val: boolean);
|
10653
10835
|
get isReady(): boolean;
|
10836
|
+
protected onAsyncRunningChanged(): void;
|
10837
|
+
protected updateIsReady(): void;
|
10838
|
+
protected getIsQuestionReady(): boolean;
|
10839
|
+
private getAreNestedQuestionsReady;
|
10840
|
+
protected getIsReadyNestedQuestions(): Array<Question>;
|
10841
|
+
private setIsReady;
|
10842
|
+
protected getIsReadyDependsOn(): Array<Question>;
|
10843
|
+
private getIsReadyDependends;
|
10844
|
+
private getIsReadyDependendCore;
|
10654
10845
|
choicesLoaded(): void;
|
10655
10846
|
/**
|
10656
10847
|
* Returns a page to which the question belongs and allows you to move this question to a different page.
|
@@ -10678,6 +10869,7 @@ declare module "question" {
|
|
10678
10869
|
get visible(): boolean;
|
10679
10870
|
set visible(val: boolean);
|
10680
10871
|
protected onVisibleChanged(): void;
|
10872
|
+
protected notifyStateChanged(): void;
|
10681
10873
|
private updateIsVisibleProp;
|
10682
10874
|
/**
|
10683
10875
|
* Specifies whether to use display names for question values in placeholders.
|
@@ -10716,6 +10908,7 @@ declare module "question" {
|
|
10716
10908
|
* @see isParentVisible
|
10717
10909
|
*/
|
10718
10910
|
get isVisible(): boolean;
|
10911
|
+
get isVisibleInSurvey(): boolean;
|
10719
10912
|
protected isVisibleCore(): boolean;
|
10720
10913
|
/**
|
10721
10914
|
* Returns the visible index of the question in the survey. It can be from 0 to all visible questions count - 1
|
@@ -10724,6 +10917,7 @@ declare module "question" {
|
|
10724
10917
|
* @see hideNumber
|
10725
10918
|
*/
|
10726
10919
|
get visibleIndex(): number;
|
10920
|
+
onHidingContent(): void;
|
10727
10921
|
/**
|
10728
10922
|
* Hides the question number from the title and excludes the question from numbering.
|
10729
10923
|
*
|
@@ -10768,6 +10962,9 @@ declare module "question" {
|
|
10768
10962
|
get isQuestion(): boolean;
|
10769
10963
|
moveTo(container: IPanel, insertBefore?: any): boolean;
|
10770
10964
|
getProgressInfo(): IProgressInfo;
|
10965
|
+
private resetValueIfExpression;
|
10966
|
+
private isRunningResetValueIf;
|
10967
|
+
runTriggers(name: string, value: any): void;
|
10771
10968
|
private runConditions;
|
10772
10969
|
setSurveyImpl(value: ISurveyImpl, isLight?: boolean): void;
|
10773
10970
|
/**
|
@@ -11164,6 +11361,15 @@ declare module "question" {
|
|
11164
11361
|
*/
|
11165
11362
|
get defaultValueExpression(): any;
|
11166
11363
|
set defaultValueExpression(val: any);
|
11364
|
+
/**
|
11365
|
+
* A Boolean expression. If it evaluates to `true`, the question value is reset to [default](#defaultValue).
|
11366
|
+
*
|
11367
|
+
* A survey parses and runs all expressions on startup. If any values used in the expression change, the survey re-evaluates it.
|
11368
|
+
*
|
11369
|
+
* [Expressions](https://surveyjs.io/form-library/documentation/design-survey/conditional-logic#expressions (linkStyle))
|
11370
|
+
*/
|
11371
|
+
get resetValueIf(): string;
|
11372
|
+
set resetValueIf(val: string);
|
11167
11373
|
get resizeStyle(): "none" | "both";
|
11168
11374
|
/**
|
11169
11375
|
* Returns the question value as an object in which the question name, title, value, and other parameters are stored as individual properties.
|
@@ -11531,6 +11737,7 @@ declare module "question_matrixdropdownbase" {
|
|
11531
11737
|
getSharedQuestionByName(columnName: string, row: MatrixDropdownRowModelBase): Question;
|
11532
11738
|
onTotalValueChanged(): any;
|
11533
11739
|
getSurvey(): ISurvey;
|
11740
|
+
getDataFilteredValues(): any;
|
11534
11741
|
}
|
11535
11742
|
export class MatrixDropdownCell {
|
11536
11743
|
column: MatrixDropdownColumn;
|
@@ -11603,6 +11810,7 @@ declare module "question_matrixdropdownbase" {
|
|
11603
11810
|
findQuestionByName(name: string): IQuestion;
|
11604
11811
|
private setValueCore;
|
11605
11812
|
private updateQuestionsValue;
|
11813
|
+
runTriggers(name: string, value: any): void;
|
11606
11814
|
private hasQuestonError;
|
11607
11815
|
get isEmpty(): boolean;
|
11608
11816
|
getQuestionByColumn(column: MatrixDropdownColumn): Question;
|
@@ -11845,6 +12053,7 @@ declare module "question_matrixdropdownbase" {
|
|
11845
12053
|
localeChanged(): void;
|
11846
12054
|
private runFuncForCellQuestions;
|
11847
12055
|
runCondition(values: HashTable<any>, properties: HashTable<any>): void;
|
12056
|
+
runTriggers(name: string, value: any): void;
|
11848
12057
|
protected shouldRunColumnExpression(): boolean;
|
11849
12058
|
protected runCellsCondition(values: HashTable<any>, properties: HashTable<any>): void;
|
11850
12059
|
private checkColumnsVisibility;
|
@@ -11932,7 +12141,10 @@ declare module "question_matrixdropdownbase" {
|
|
11932
12141
|
protected getRowDisplayValue(keysAsText: boolean, row: MatrixDropdownRowModelBase, rowValue: any): any;
|
11933
12142
|
getPlainData(options?: IPlainDataOptions): IQuestionPlainData;
|
11934
12143
|
addConditionObjectsByContext(objects: Array<IConditionObject>, context: any): void;
|
12144
|
+
onHidingContent(): void;
|
12145
|
+
protected getIsReadyNestedQuestions(): Array<Question>;
|
11935
12146
|
protected collectNestedQuestionsCore(questions: Question[], visibleOnly: boolean): void;
|
12147
|
+
protected collectNestedQuestonsInRows(rows: Array<MatrixDropdownRowModelBase>, questions: Question[], visibleOnly: boolean): void;
|
11936
12148
|
protected getConditionObjectRowName(index: number): string;
|
11937
12149
|
protected getConditionObjectRowText(index: number): string;
|
11938
12150
|
protected getConditionObjectsRowIndeces(): Array<number>;
|
@@ -11986,6 +12198,7 @@ declare module "question_matrixdropdownbase" {
|
|
11986
12198
|
createRowDetailPanel(row: MatrixDropdownRowModelBase): PanelModel;
|
11987
12199
|
getSharedQuestionByName(columnName: string, row: MatrixDropdownRowModelBase): Question;
|
11988
12200
|
onTotalValueChanged(): any;
|
12201
|
+
getDataFilteredValues(): any;
|
11989
12202
|
getParentTextProcessor(): ITextProcessor;
|
11990
12203
|
getQuestionFromArray(name: string, index: number): IQuestion;
|
11991
12204
|
private isMatrixValueEmpty;
|
@@ -12062,7 +12275,7 @@ declare module "base-interfaces" {
|
|
12062
12275
|
validateQuestion(question: IQuestion): SurveyError;
|
12063
12276
|
validatePanel(panel: IPanel): SurveyError;
|
12064
12277
|
hasVisibleQuestionByValueName(valueName: string): boolean;
|
12065
|
-
|
12278
|
+
questionsByValueName(valueName: string): Array<IQuestion>;
|
12066
12279
|
processHtml(html: string, reason: string): string;
|
12067
12280
|
getSurveyMarkdownHtml(element: Base, text: string, name: string): string;
|
12068
12281
|
getRendererForString(element: Base, name: string): string;
|
@@ -12288,6 +12501,8 @@ declare module "base-interfaces" {
|
|
12288
12501
|
stylesSheetsMountContainer: HTMLElement;
|
12289
12502
|
};
|
12290
12503
|
export type LayoutElementContainer = "header" | "footer" | "left" | "right" | "contentTop" | "contentBottom";
|
12504
|
+
export type HorizontalAlignment = "left" | "center" | "right";
|
12505
|
+
export type VerticalAlignment = "top" | "middle" | "bottom";
|
12291
12506
|
export interface ISurveyLayoutElement {
|
12292
12507
|
id: string;
|
12293
12508
|
container?: LayoutElementContainer | Array<LayoutElementContainer>;
|
@@ -12401,6 +12616,7 @@ declare module "base" {
|
|
12401
12616
|
import { JsonObjectProperty } from "jsonobject";
|
12402
12617
|
import { ItemValue } from "itemvalue";
|
12403
12618
|
import { IElement, IFindElement, IProgressInfo, ISurvey } from "base-interfaces";
|
12619
|
+
import { ExpressionRunner } from "conditions";
|
12404
12620
|
export class Bindings {
|
12405
12621
|
private obj;
|
12406
12622
|
private properties;
|
@@ -12634,6 +12850,12 @@ declare module "base" {
|
|
12634
12850
|
protected canRunConditions(): boolean;
|
12635
12851
|
private checkConditionPropertyChanged;
|
12636
12852
|
private runConditionItemCore;
|
12853
|
+
private asynExpressionHash;
|
12854
|
+
private doBeforeAsynRun;
|
12855
|
+
private doAfterAsynRun;
|
12856
|
+
protected onAsyncRunningChanged(): void;
|
12857
|
+
get isAsyncExpressionRunning(): boolean;
|
12858
|
+
protected createExpressionRunner(expression: string): ExpressionRunner;
|
12637
12859
|
/**
|
12638
12860
|
* Registers a function to call when a property value changes.
|
12639
12861
|
* @param propertyNames An array of one or multiple property names.
|
@@ -13117,6 +13339,7 @@ declare module "settings" {
|
|
13117
13339
|
* Specifies how to render the input field of [Text](https://surveyjs.io/form-library/documentation/api-reference/text-entry-question-model) questions in [read-only](https://surveyjs.io/form-library/documentation/api-reference/text-entry-question-model#readOnly) mode: as a disabled `<input>` element or as a `<div>` element with a non-editable question value within it.
|
13118
13340
|
*/
|
13119
13341
|
readOnly: {
|
13342
|
+
enableValidation: boolean;
|
13120
13343
|
commentRenderMode: string;
|
13121
13344
|
textRenderMode: string;
|
13122
13345
|
};
|
@@ -15445,6 +15668,7 @@ declare module "question_custom" {
|
|
15445
15668
|
protected onPropertyValueChanged(name: string, oldValue: any, newValue: any): void;
|
15446
15669
|
itemValuePropertyChanged(item: ItemValue, name: string, oldValue: any, newValue: any): void;
|
15447
15670
|
onFirstRendering(): void;
|
15671
|
+
onHidingContent(): void;
|
15448
15672
|
getProgressInfo(): IProgressInfo;
|
15449
15673
|
protected abstract getElement(): SurveyElement;
|
15450
15674
|
protected initElement(el: SurveyElement): void;
|
@@ -15808,6 +16032,7 @@ declare module "entries/chunks/model" {
|
|
15808
16032
|
export { PopupSurveyModel, SurveyWindowModel } from "popup-survey";
|
15809
16033
|
export { TextPreProcessor } from "textPreProcessor";
|
15810
16034
|
export { Notifier } from "notifier";
|
16035
|
+
export { Cover, CoverCell } from "cover";
|
15811
16036
|
export { dxSurveyService } from "dxSurveyService";
|
15812
16037
|
export { englishStrings } from "localization/english";
|
15813
16038
|
export { surveyLocalization, surveyStrings } from "surveyStrings";
|
@@ -18335,6 +18560,10 @@ declare module "localization/arabic" {
|
|
18335
18560
|
clearCaption: string;
|
18336
18561
|
signaturePlaceHolder: string;
|
18337
18562
|
chooseFileCaption: string;
|
18563
|
+
takePhotoCaption: string;
|
18564
|
+
cameraPlaceHolder: string;
|
18565
|
+
fileCameraDragAreaPlaceHolder: string;
|
18566
|
+
replaceFileCaption: string;
|
18338
18567
|
removeFileCaption: string;
|
18339
18568
|
booleanCheckedLabel: string;
|
18340
18569
|
booleanUncheckedLabel: string;
|
@@ -18429,6 +18658,10 @@ declare module "localization/basque" {
|
|
18429
18658
|
clearCaption: string;
|
18430
18659
|
signaturePlaceHolder: string;
|
18431
18660
|
chooseFileCaption: string;
|
18661
|
+
takePhotoCaption: string;
|
18662
|
+
cameraPlaceHolder: string;
|
18663
|
+
fileCameraDragAreaPlaceHolder: string;
|
18664
|
+
replaceFileCaption: string;
|
18432
18665
|
removeFileCaption: string;
|
18433
18666
|
booleanCheckedLabel: string;
|
18434
18667
|
booleanUncheckedLabel: string;
|
@@ -18523,6 +18756,10 @@ declare module "localization/bulgarian" {
|
|
18523
18756
|
clearCaption: string;
|
18524
18757
|
signaturePlaceHolder: string;
|
18525
18758
|
chooseFileCaption: string;
|
18759
|
+
takePhotoCaption: string;
|
18760
|
+
cameraPlaceHolder: string;
|
18761
|
+
fileCameraDragAreaPlaceHolder: string;
|
18762
|
+
replaceFileCaption: string;
|
18526
18763
|
removeFileCaption: string;
|
18527
18764
|
booleanCheckedLabel: string;
|
18528
18765
|
booleanUncheckedLabel: string;
|
@@ -18617,6 +18854,10 @@ declare module "localization/catalan" {
|
|
18617
18854
|
clearCaption: string;
|
18618
18855
|
signaturePlaceHolder: string;
|
18619
18856
|
chooseFileCaption: string;
|
18857
|
+
takePhotoCaption: string;
|
18858
|
+
cameraPlaceHolder: string;
|
18859
|
+
fileCameraDragAreaPlaceHolder: string;
|
18860
|
+
replaceFileCaption: string;
|
18620
18861
|
removeFileCaption: string;
|
18621
18862
|
booleanCheckedLabel: string;
|
18622
18863
|
booleanUncheckedLabel: string;
|
@@ -18711,6 +18952,10 @@ declare module "localization/croatian" {
|
|
18711
18952
|
clearCaption: string;
|
18712
18953
|
signaturePlaceHolder: string;
|
18713
18954
|
chooseFileCaption: string;
|
18955
|
+
takePhotoCaption: string;
|
18956
|
+
cameraPlaceHolder: string;
|
18957
|
+
fileCameraDragAreaPlaceHolder: string;
|
18958
|
+
replaceFileCaption: string;
|
18714
18959
|
removeFileCaption: string;
|
18715
18960
|
booleanCheckedLabel: string;
|
18716
18961
|
booleanUncheckedLabel: string;
|
@@ -18805,6 +19050,10 @@ declare module "localization/czech" {
|
|
18805
19050
|
clearCaption: string;
|
18806
19051
|
signaturePlaceHolder: string;
|
18807
19052
|
chooseFileCaption: string;
|
19053
|
+
takePhotoCaption: string;
|
19054
|
+
cameraPlaceHolder: string;
|
19055
|
+
fileCameraDragAreaPlaceHolder: string;
|
19056
|
+
replaceFileCaption: string;
|
18808
19057
|
removeFileCaption: string;
|
18809
19058
|
booleanCheckedLabel: string;
|
18810
19059
|
booleanUncheckedLabel: string;
|
@@ -18899,6 +19148,10 @@ declare module "localization/danish" {
|
|
18899
19148
|
clearCaption: string;
|
18900
19149
|
signaturePlaceHolder: string;
|
18901
19150
|
chooseFileCaption: string;
|
19151
|
+
takePhotoCaption: string;
|
19152
|
+
cameraPlaceHolder: string;
|
19153
|
+
fileCameraDragAreaPlaceHolder: string;
|
19154
|
+
replaceFileCaption: string;
|
18902
19155
|
removeFileCaption: string;
|
18903
19156
|
booleanCheckedLabel: string;
|
18904
19157
|
booleanUncheckedLabel: string;
|
@@ -18993,6 +19246,10 @@ declare module "localization/dutch" {
|
|
18993
19246
|
clearCaption: string;
|
18994
19247
|
signaturePlaceHolder: string;
|
18995
19248
|
chooseFileCaption: string;
|
19249
|
+
takePhotoCaption: string;
|
19250
|
+
cameraPlaceHolder: string;
|
19251
|
+
fileCameraDragAreaPlaceHolder: string;
|
19252
|
+
replaceFileCaption: string;
|
18996
19253
|
removeFileCaption: string;
|
18997
19254
|
booleanCheckedLabel: string;
|
18998
19255
|
booleanUncheckedLabel: string;
|
@@ -19088,6 +19345,10 @@ declare module "localization/estonian" {
|
|
19088
19345
|
clearCaption: string;
|
19089
19346
|
signaturePlaceHolder: string;
|
19090
19347
|
chooseFileCaption: string;
|
19348
|
+
takePhotoCaption: string;
|
19349
|
+
cameraPlaceHolder: string;
|
19350
|
+
fileCameraDragAreaPlaceHolder: string;
|
19351
|
+
replaceFileCaption: string;
|
19091
19352
|
removeFileCaption: string;
|
19092
19353
|
booleanCheckedLabel: string;
|
19093
19354
|
booleanUncheckedLabel: string;
|
@@ -19182,6 +19443,10 @@ declare module "localization/finnish" {
|
|
19182
19443
|
clearCaption: string;
|
19183
19444
|
signaturePlaceHolder: string;
|
19184
19445
|
chooseFileCaption: string;
|
19446
|
+
takePhotoCaption: string;
|
19447
|
+
cameraPlaceHolder: string;
|
19448
|
+
fileCameraDragAreaPlaceHolder: string;
|
19449
|
+
replaceFileCaption: string;
|
19185
19450
|
removeFileCaption: string;
|
19186
19451
|
booleanCheckedLabel: string;
|
19187
19452
|
booleanUncheckedLabel: string;
|
@@ -19276,6 +19541,10 @@ declare module "localization/french" {
|
|
19276
19541
|
clearCaption: string;
|
19277
19542
|
signaturePlaceHolder: string;
|
19278
19543
|
chooseFileCaption: string;
|
19544
|
+
takePhotoCaption: string;
|
19545
|
+
cameraPlaceHolder: string;
|
19546
|
+
fileCameraDragAreaPlaceHolder: string;
|
19547
|
+
replaceFileCaption: string;
|
19279
19548
|
removeFileCaption: string;
|
19280
19549
|
booleanCheckedLabel: string;
|
19281
19550
|
booleanUncheckedLabel: string;
|
@@ -19370,6 +19639,10 @@ declare module "localization/georgian" {
|
|
19370
19639
|
clearCaption: string;
|
19371
19640
|
signaturePlaceHolder: string;
|
19372
19641
|
chooseFileCaption: string;
|
19642
|
+
takePhotoCaption: string;
|
19643
|
+
cameraPlaceHolder: string;
|
19644
|
+
fileCameraDragAreaPlaceHolder: string;
|
19645
|
+
replaceFileCaption: string;
|
19373
19646
|
removeFileCaption: string;
|
19374
19647
|
booleanCheckedLabel: string;
|
19375
19648
|
booleanUncheckedLabel: string;
|
@@ -19464,6 +19737,10 @@ declare module "localization/german" {
|
|
19464
19737
|
clearCaption: string;
|
19465
19738
|
signaturePlaceHolder: string;
|
19466
19739
|
chooseFileCaption: string;
|
19740
|
+
takePhotoCaption: string;
|
19741
|
+
cameraPlaceHolder: string;
|
19742
|
+
fileCameraDragAreaPlaceHolder: string;
|
19743
|
+
replaceFileCaption: string;
|
19467
19744
|
removeFileCaption: string;
|
19468
19745
|
booleanCheckedLabel: string;
|
19469
19746
|
booleanUncheckedLabel: string;
|
@@ -19558,6 +19835,10 @@ declare module "localization/greek" {
|
|
19558
19835
|
clearCaption: string;
|
19559
19836
|
signaturePlaceHolder: string;
|
19560
19837
|
chooseFileCaption: string;
|
19838
|
+
takePhotoCaption: string;
|
19839
|
+
cameraPlaceHolder: string;
|
19840
|
+
fileCameraDragAreaPlaceHolder: string;
|
19841
|
+
replaceFileCaption: string;
|
19561
19842
|
removeFileCaption: string;
|
19562
19843
|
booleanCheckedLabel: string;
|
19563
19844
|
booleanUncheckedLabel: string;
|
@@ -19652,6 +19933,10 @@ declare module "localization/hebrew" {
|
|
19652
19933
|
clearCaption: string;
|
19653
19934
|
signaturePlaceHolder: string;
|
19654
19935
|
chooseFileCaption: string;
|
19936
|
+
takePhotoCaption: string;
|
19937
|
+
cameraPlaceHolder: string;
|
19938
|
+
fileCameraDragAreaPlaceHolder: string;
|
19939
|
+
replaceFileCaption: string;
|
19655
19940
|
removeFileCaption: string;
|
19656
19941
|
booleanCheckedLabel: string;
|
19657
19942
|
booleanUncheckedLabel: string;
|
@@ -19746,6 +20031,10 @@ declare module "localization/hindi" {
|
|
19746
20031
|
clearCaption: string;
|
19747
20032
|
signaturePlaceHolder: string;
|
19748
20033
|
chooseFileCaption: string;
|
20034
|
+
takePhotoCaption: string;
|
20035
|
+
cameraPlaceHolder: string;
|
20036
|
+
fileCameraDragAreaPlaceHolder: string;
|
20037
|
+
replaceFileCaption: string;
|
19749
20038
|
removeFileCaption: string;
|
19750
20039
|
booleanCheckedLabel: string;
|
19751
20040
|
booleanUncheckedLabel: string;
|
@@ -19840,6 +20129,10 @@ declare module "localization/hungarian" {
|
|
19840
20129
|
clearCaption: string;
|
19841
20130
|
signaturePlaceHolder: string;
|
19842
20131
|
chooseFileCaption: string;
|
20132
|
+
takePhotoCaption: string;
|
20133
|
+
cameraPlaceHolder: string;
|
20134
|
+
fileCameraDragAreaPlaceHolder: string;
|
20135
|
+
replaceFileCaption: string;
|
19843
20136
|
removeFileCaption: string;
|
19844
20137
|
booleanCheckedLabel: string;
|
19845
20138
|
booleanUncheckedLabel: string;
|
@@ -19934,6 +20227,10 @@ declare module "localization/icelandic" {
|
|
19934
20227
|
clearCaption: string;
|
19935
20228
|
signaturePlaceHolder: string;
|
19936
20229
|
chooseFileCaption: string;
|
20230
|
+
takePhotoCaption: string;
|
20231
|
+
cameraPlaceHolder: string;
|
20232
|
+
fileCameraDragAreaPlaceHolder: string;
|
20233
|
+
replaceFileCaption: string;
|
19937
20234
|
removeFileCaption: string;
|
19938
20235
|
booleanCheckedLabel: string;
|
19939
20236
|
booleanUncheckedLabel: string;
|
@@ -20028,6 +20325,10 @@ declare module "localization/indonesian" {
|
|
20028
20325
|
clearCaption: string;
|
20029
20326
|
signaturePlaceHolder: string;
|
20030
20327
|
chooseFileCaption: string;
|
20328
|
+
takePhotoCaption: string;
|
20329
|
+
cameraPlaceHolder: string;
|
20330
|
+
fileCameraDragAreaPlaceHolder: string;
|
20331
|
+
replaceFileCaption: string;
|
20031
20332
|
removeFileCaption: string;
|
20032
20333
|
booleanCheckedLabel: string;
|
20033
20334
|
booleanUncheckedLabel: string;
|
@@ -20122,6 +20423,10 @@ declare module "localization/italian" {
|
|
20122
20423
|
clearCaption: string;
|
20123
20424
|
signaturePlaceHolder: string;
|
20124
20425
|
chooseFileCaption: string;
|
20426
|
+
takePhotoCaption: string;
|
20427
|
+
cameraPlaceHolder: string;
|
20428
|
+
fileCameraDragAreaPlaceHolder: string;
|
20429
|
+
replaceFileCaption: string;
|
20125
20430
|
removeFileCaption: string;
|
20126
20431
|
booleanCheckedLabel: string;
|
20127
20432
|
booleanUncheckedLabel: string;
|
@@ -20216,6 +20521,10 @@ declare module "localization/japanese" {
|
|
20216
20521
|
clearCaption: string;
|
20217
20522
|
signaturePlaceHolder: string;
|
20218
20523
|
chooseFileCaption: string;
|
20524
|
+
takePhotoCaption: string;
|
20525
|
+
cameraPlaceHolder: string;
|
20526
|
+
fileCameraDragAreaPlaceHolder: string;
|
20527
|
+
replaceFileCaption: string;
|
20219
20528
|
removeFileCaption: string;
|
20220
20529
|
booleanCheckedLabel: string;
|
20221
20530
|
booleanUncheckedLabel: string;
|
@@ -20310,6 +20619,10 @@ declare module "localization/kazakh" {
|
|
20310
20619
|
clearCaption: string;
|
20311
20620
|
signaturePlaceHolder: string;
|
20312
20621
|
chooseFileCaption: string;
|
20622
|
+
takePhotoCaption: string;
|
20623
|
+
cameraPlaceHolder: string;
|
20624
|
+
fileCameraDragAreaPlaceHolder: string;
|
20625
|
+
replaceFileCaption: string;
|
20313
20626
|
removeFileCaption: string;
|
20314
20627
|
booleanCheckedLabel: string;
|
20315
20628
|
booleanUncheckedLabel: string;
|
@@ -20404,6 +20717,10 @@ declare module "localization/korean" {
|
|
20404
20717
|
clearCaption: string;
|
20405
20718
|
signaturePlaceHolder: string;
|
20406
20719
|
chooseFileCaption: string;
|
20720
|
+
takePhotoCaption: string;
|
20721
|
+
cameraPlaceHolder: string;
|
20722
|
+
fileCameraDragAreaPlaceHolder: string;
|
20723
|
+
replaceFileCaption: string;
|
20407
20724
|
removeFileCaption: string;
|
20408
20725
|
booleanCheckedLabel: string;
|
20409
20726
|
booleanUncheckedLabel: string;
|
@@ -20498,6 +20815,10 @@ declare module "localization/latvian" {
|
|
20498
20815
|
clearCaption: string;
|
20499
20816
|
signaturePlaceHolder: string;
|
20500
20817
|
chooseFileCaption: string;
|
20818
|
+
takePhotoCaption: string;
|
20819
|
+
cameraPlaceHolder: string;
|
20820
|
+
fileCameraDragAreaPlaceHolder: string;
|
20821
|
+
replaceFileCaption: string;
|
20501
20822
|
removeFileCaption: string;
|
20502
20823
|
booleanCheckedLabel: string;
|
20503
20824
|
booleanUncheckedLabel: string;
|
@@ -20592,6 +20913,10 @@ declare module "localization/lithuanian" {
|
|
20592
20913
|
clearCaption: string;
|
20593
20914
|
signaturePlaceHolder: string;
|
20594
20915
|
chooseFileCaption: string;
|
20916
|
+
takePhotoCaption: string;
|
20917
|
+
cameraPlaceHolder: string;
|
20918
|
+
fileCameraDragAreaPlaceHolder: string;
|
20919
|
+
replaceFileCaption: string;
|
20595
20920
|
removeFileCaption: string;
|
20596
20921
|
booleanCheckedLabel: string;
|
20597
20922
|
booleanUncheckedLabel: string;
|
@@ -20686,6 +21011,10 @@ declare module "localization/macedonian" {
|
|
20686
21011
|
clearCaption: string;
|
20687
21012
|
signaturePlaceHolder: string;
|
20688
21013
|
chooseFileCaption: string;
|
21014
|
+
takePhotoCaption: string;
|
21015
|
+
cameraPlaceHolder: string;
|
21016
|
+
fileCameraDragAreaPlaceHolder: string;
|
21017
|
+
replaceFileCaption: string;
|
20689
21018
|
removeFileCaption: string;
|
20690
21019
|
booleanCheckedLabel: string;
|
20691
21020
|
booleanUncheckedLabel: string;
|
@@ -20780,6 +21109,10 @@ declare module "localization/malay" {
|
|
20780
21109
|
clearCaption: string;
|
20781
21110
|
signaturePlaceHolder: string;
|
20782
21111
|
chooseFileCaption: string;
|
21112
|
+
takePhotoCaption: string;
|
21113
|
+
cameraPlaceHolder: string;
|
21114
|
+
fileCameraDragAreaPlaceHolder: string;
|
21115
|
+
replaceFileCaption: string;
|
20783
21116
|
removeFileCaption: string;
|
20784
21117
|
booleanCheckedLabel: string;
|
20785
21118
|
booleanUncheckedLabel: string;
|
@@ -20874,6 +21207,10 @@ declare module "localization/norwegian" {
|
|
20874
21207
|
clearCaption: string;
|
20875
21208
|
signaturePlaceHolder: string;
|
20876
21209
|
chooseFileCaption: string;
|
21210
|
+
takePhotoCaption: string;
|
21211
|
+
cameraPlaceHolder: string;
|
21212
|
+
fileCameraDragAreaPlaceHolder: string;
|
21213
|
+
replaceFileCaption: string;
|
20877
21214
|
removeFileCaption: string;
|
20878
21215
|
booleanCheckedLabel: string;
|
20879
21216
|
booleanUncheckedLabel: string;
|
@@ -20968,6 +21305,10 @@ declare module "localization/persian" {
|
|
20968
21305
|
clearCaption: string;
|
20969
21306
|
signaturePlaceHolder: string;
|
20970
21307
|
chooseFileCaption: string;
|
21308
|
+
takePhotoCaption: string;
|
21309
|
+
cameraPlaceHolder: string;
|
21310
|
+
fileCameraDragAreaPlaceHolder: string;
|
21311
|
+
replaceFileCaption: string;
|
20971
21312
|
removeFileCaption: string;
|
20972
21313
|
booleanCheckedLabel: string;
|
20973
21314
|
booleanUncheckedLabel: string;
|
@@ -21062,6 +21403,10 @@ declare module "localization/polish" {
|
|
21062
21403
|
clearCaption: string;
|
21063
21404
|
signaturePlaceHolder: string;
|
21064
21405
|
chooseFileCaption: string;
|
21406
|
+
takePhotoCaption: string;
|
21407
|
+
cameraPlaceHolder: string;
|
21408
|
+
fileCameraDragAreaPlaceHolder: string;
|
21409
|
+
replaceFileCaption: string;
|
21065
21410
|
removeFileCaption: string;
|
21066
21411
|
booleanCheckedLabel: string;
|
21067
21412
|
booleanUncheckedLabel: string;
|
@@ -21156,6 +21501,10 @@ declare module "localization/portuguese" {
|
|
21156
21501
|
clearCaption: string;
|
21157
21502
|
signaturePlaceHolder: string;
|
21158
21503
|
chooseFileCaption: string;
|
21504
|
+
takePhotoCaption: string;
|
21505
|
+
cameraPlaceHolder: string;
|
21506
|
+
fileCameraDragAreaPlaceHolder: string;
|
21507
|
+
replaceFileCaption: string;
|
21159
21508
|
removeFileCaption: string;
|
21160
21509
|
booleanCheckedLabel: string;
|
21161
21510
|
booleanUncheckedLabel: string;
|
@@ -21253,6 +21602,10 @@ declare module "localization/portuguese-br" {
|
|
21253
21602
|
clearCaption: string;
|
21254
21603
|
signaturePlaceHolder: string;
|
21255
21604
|
chooseFileCaption: string;
|
21605
|
+
takePhotoCaption: string;
|
21606
|
+
cameraPlaceHolder: string;
|
21607
|
+
fileCameraDragAreaPlaceHolder: string;
|
21608
|
+
replaceFileCaption: string;
|
21256
21609
|
removeFileCaption: string;
|
21257
21610
|
booleanCheckedLabel: string;
|
21258
21611
|
booleanUncheckedLabel: string;
|
@@ -21350,6 +21703,10 @@ declare module "localization/russian" {
|
|
21350
21703
|
clearCaption: string;
|
21351
21704
|
signaturePlaceHolder: string;
|
21352
21705
|
chooseFileCaption: string;
|
21706
|
+
takePhotoCaption: string;
|
21707
|
+
cameraPlaceHolder: string;
|
21708
|
+
fileCameraDragAreaPlaceHolder: string;
|
21709
|
+
replaceFileCaption: string;
|
21353
21710
|
removeFileCaption: string;
|
21354
21711
|
booleanCheckedLabel: string;
|
21355
21712
|
booleanUncheckedLabel: string;
|
@@ -21444,6 +21801,10 @@ declare module "localization/serbian" {
|
|
21444
21801
|
clearCaption: string;
|
21445
21802
|
signaturePlaceHolder: string;
|
21446
21803
|
chooseFileCaption: string;
|
21804
|
+
takePhotoCaption: string;
|
21805
|
+
cameraPlaceHolder: string;
|
21806
|
+
fileCameraDragAreaPlaceHolder: string;
|
21807
|
+
replaceFileCaption: string;
|
21447
21808
|
removeFileCaption: string;
|
21448
21809
|
booleanCheckedLabel: string;
|
21449
21810
|
booleanUncheckedLabel: string;
|
@@ -21538,6 +21899,10 @@ declare module "localization/simplified-chinese" {
|
|
21538
21899
|
clearCaption: string;
|
21539
21900
|
signaturePlaceHolder: string;
|
21540
21901
|
chooseFileCaption: string;
|
21902
|
+
takePhotoCaption: string;
|
21903
|
+
cameraPlaceHolder: string;
|
21904
|
+
fileCameraDragAreaPlaceHolder: string;
|
21905
|
+
replaceFileCaption: string;
|
21541
21906
|
removeFileCaption: string;
|
21542
21907
|
booleanCheckedLabel: string;
|
21543
21908
|
booleanUncheckedLabel: string;
|
@@ -21632,6 +21997,10 @@ declare module "localization/slovak" {
|
|
21632
21997
|
clearCaption: string;
|
21633
21998
|
signaturePlaceHolder: string;
|
21634
21999
|
chooseFileCaption: string;
|
22000
|
+
takePhotoCaption: string;
|
22001
|
+
cameraPlaceHolder: string;
|
22002
|
+
fileCameraDragAreaPlaceHolder: string;
|
22003
|
+
replaceFileCaption: string;
|
21635
22004
|
removeFileCaption: string;
|
21636
22005
|
booleanCheckedLabel: string;
|
21637
22006
|
booleanUncheckedLabel: string;
|
@@ -21726,6 +22095,10 @@ declare module "localization/spanish" {
|
|
21726
22095
|
clearCaption: string;
|
21727
22096
|
signaturePlaceHolder: string;
|
21728
22097
|
chooseFileCaption: string;
|
22098
|
+
takePhotoCaption: string;
|
22099
|
+
cameraPlaceHolder: string;
|
22100
|
+
fileCameraDragAreaPlaceHolder: string;
|
22101
|
+
replaceFileCaption: string;
|
21729
22102
|
removeFileCaption: string;
|
21730
22103
|
booleanCheckedLabel: string;
|
21731
22104
|
booleanUncheckedLabel: string;
|
@@ -21820,6 +22193,10 @@ declare module "localization/swahili" {
|
|
21820
22193
|
clearCaption: string;
|
21821
22194
|
signaturePlaceHolder: string;
|
21822
22195
|
chooseFileCaption: string;
|
22196
|
+
takePhotoCaption: string;
|
22197
|
+
cameraPlaceHolder: string;
|
22198
|
+
fileCameraDragAreaPlaceHolder: string;
|
22199
|
+
replaceFileCaption: string;
|
21823
22200
|
removeFileCaption: string;
|
21824
22201
|
booleanCheckedLabel: string;
|
21825
22202
|
booleanUncheckedLabel: string;
|
@@ -21914,6 +22291,10 @@ declare module "localization/swedish" {
|
|
21914
22291
|
clearCaption: string;
|
21915
22292
|
signaturePlaceHolder: string;
|
21916
22293
|
chooseFileCaption: string;
|
22294
|
+
takePhotoCaption: string;
|
22295
|
+
cameraPlaceHolder: string;
|
22296
|
+
fileCameraDragAreaPlaceHolder: string;
|
22297
|
+
replaceFileCaption: string;
|
21917
22298
|
removeFileCaption: string;
|
21918
22299
|
booleanCheckedLabel: string;
|
21919
22300
|
booleanUncheckedLabel: string;
|
@@ -22072,6 +22453,10 @@ declare module "localization/thai" {
|
|
22072
22453
|
clearCaption: string;
|
22073
22454
|
signaturePlaceHolder: string;
|
22074
22455
|
chooseFileCaption: string;
|
22456
|
+
takePhotoCaption: string;
|
22457
|
+
cameraPlaceHolder: string;
|
22458
|
+
fileCameraDragAreaPlaceHolder: string;
|
22459
|
+
replaceFileCaption: string;
|
22075
22460
|
removeFileCaption: string;
|
22076
22461
|
booleanCheckedLabel: string;
|
22077
22462
|
booleanUncheckedLabel: string;
|
@@ -22166,6 +22551,10 @@ declare module "localization/traditional-chinese" {
|
|
22166
22551
|
clearCaption: string;
|
22167
22552
|
signaturePlaceHolder: string;
|
22168
22553
|
chooseFileCaption: string;
|
22554
|
+
takePhotoCaption: string;
|
22555
|
+
cameraPlaceHolder: string;
|
22556
|
+
fileCameraDragAreaPlaceHolder: string;
|
22557
|
+
replaceFileCaption: string;
|
22169
22558
|
removeFileCaption: string;
|
22170
22559
|
booleanCheckedLabel: string;
|
22171
22560
|
booleanUncheckedLabel: string;
|
@@ -22260,6 +22649,10 @@ declare module "localization/turkish" {
|
|
22260
22649
|
clearCaption: string;
|
22261
22650
|
signaturePlaceHolder: string;
|
22262
22651
|
chooseFileCaption: string;
|
22652
|
+
takePhotoCaption: string;
|
22653
|
+
cameraPlaceHolder: string;
|
22654
|
+
fileCameraDragAreaPlaceHolder: string;
|
22655
|
+
replaceFileCaption: string;
|
22263
22656
|
removeFileCaption: string;
|
22264
22657
|
booleanCheckedLabel: string;
|
22265
22658
|
booleanUncheckedLabel: string;
|
@@ -22354,6 +22747,10 @@ declare module "localization/ukrainian" {
|
|
22354
22747
|
clearCaption: string;
|
22355
22748
|
signaturePlaceHolder: string;
|
22356
22749
|
chooseFileCaption: string;
|
22750
|
+
takePhotoCaption: string;
|
22751
|
+
cameraPlaceHolder: string;
|
22752
|
+
fileCameraDragAreaPlaceHolder: string;
|
22753
|
+
replaceFileCaption: string;
|
22357
22754
|
removeFileCaption: string;
|
22358
22755
|
booleanCheckedLabel: string;
|
22359
22756
|
booleanUncheckedLabel: string;
|
@@ -22448,6 +22845,10 @@ declare module "localization/vietnamese" {
|
|
22448
22845
|
clearCaption: string;
|
22449
22846
|
signaturePlaceHolder: string;
|
22450
22847
|
chooseFileCaption: string;
|
22848
|
+
takePhotoCaption: string;
|
22849
|
+
cameraPlaceHolder: string;
|
22850
|
+
fileCameraDragAreaPlaceHolder: string;
|
22851
|
+
replaceFileCaption: string;
|
22451
22852
|
removeFileCaption: string;
|
22452
22853
|
booleanCheckedLabel: string;
|
22453
22854
|
booleanUncheckedLabel: string;
|
@@ -22542,6 +22943,10 @@ declare module "localization/welsh" {
|
|
22542
22943
|
clearCaption: string;
|
22543
22944
|
signaturePlaceHolder: string;
|
22544
22945
|
chooseFileCaption: string;
|
22946
|
+
takePhotoCaption: string;
|
22947
|
+
cameraPlaceHolder: string;
|
22948
|
+
fileCameraDragAreaPlaceHolder: string;
|
22949
|
+
replaceFileCaption: string;
|
22545
22950
|
removeFileCaption: string;
|
22546
22951
|
booleanCheckedLabel: string;
|
22547
22952
|
booleanUncheckedLabel: string;
|
@@ -22636,6 +23041,10 @@ declare module "localization/telugu" {
|
|
22636
23041
|
clearCaption: string;
|
22637
23042
|
signaturePlaceHolder: string;
|
22638
23043
|
chooseFileCaption: string;
|
23044
|
+
takePhotoCaption: string;
|
23045
|
+
cameraPlaceHolder: string;
|
23046
|
+
fileCameraDragAreaPlaceHolder: string;
|
23047
|
+
replaceFileCaption: string;
|
22639
23048
|
removeFileCaption: string;
|
22640
23049
|
booleanCheckedLabel: string;
|
22641
23050
|
booleanUncheckedLabel: string;
|
@@ -23559,13 +23968,23 @@ declare module "react/reactquestion_file" {
|
|
23559
23968
|
export class SurveyQuestionFile extends SurveyQuestionElementBase {
|
23560
23969
|
constructor(props: any);
|
23561
23970
|
protected get question(): QuestionFileModel;
|
23562
|
-
protected renderLoadingIndicator(): JSX.Element;
|
23563
23971
|
protected renderElement(): JSX.Element;
|
23564
23972
|
protected renderFileDecorator(): JSX.Element;
|
23565
23973
|
protected renderChooseButton(): JSX.Element;
|
23566
23974
|
protected renderClearButton(className: string): JSX.Element | null;
|
23567
23975
|
protected renderFileSign(className: string, val: any): JSX.Element | null;
|
23568
|
-
protected
|
23976
|
+
protected renderLoadingIndicator(): JSX.Element;
|
23977
|
+
protected renderVideo(): JSX.Element;
|
23978
|
+
protected renderPreview(): JSX.Element;
|
23979
|
+
}
|
23980
|
+
}
|
23981
|
+
declare module "react/components/file-actions/file-choose-button" {
|
23982
|
+
import { ReactSurveyElement } from "react/reactquestion_element";
|
23983
|
+
import { QuestionFileModel } from "entries/core";
|
23984
|
+
export class SurveyFileChooseButton extends ReactSurveyElement {
|
23985
|
+
constructor(props: any);
|
23986
|
+
protected get question(): QuestionFileModel;
|
23987
|
+
render(): JSX.Element;
|
23569
23988
|
}
|
23570
23989
|
}
|
23571
23990
|
declare module "react/reactquestion_multipletext" {
|
@@ -24090,6 +24509,25 @@ declare module "react/components/skeleton" {
|
|
24090
24509
|
render(): JSX.Element;
|
24091
24510
|
}
|
24092
24511
|
}
|
24512
|
+
declare module "react/components/cover" {
|
24513
|
+
import React from "react";
|
24514
|
+
import { Base, SurveyModel, Cover, CoverCell } from "entries/core";
|
24515
|
+
import { SurveyElementBase } from "react/reactquestion_element";
|
24516
|
+
export interface ILayoutElementProps<T = Base> {
|
24517
|
+
survey: SurveyModel;
|
24518
|
+
model: T;
|
24519
|
+
}
|
24520
|
+
export class CoverCellComponent extends React.Component<any, any> {
|
24521
|
+
get model(): CoverCell;
|
24522
|
+
private renderLogoImage;
|
24523
|
+
render(): JSX.Element | null;
|
24524
|
+
}
|
24525
|
+
export class CoverComponent extends SurveyElementBase<ILayoutElementProps<Cover>, any> {
|
24526
|
+
get model(): Cover;
|
24527
|
+
protected getStateElement(): Base;
|
24528
|
+
renderElement(): JSX.Element | null;
|
24529
|
+
}
|
24530
|
+
}
|
24093
24531
|
declare module "react/string-editor" {
|
24094
24532
|
import React from "react";
|
24095
24533
|
export class SurveyLocStringEditor extends React.Component<any, any> {
|
@@ -24130,6 +24568,7 @@ declare module "entries/react-ui-model" {
|
|
24130
24568
|
export { SurveyQuestionMatrix, SurveyQuestionMatrixRow, } from "react/reactquestion_matrix";
|
24131
24569
|
export { SurveyQuestionHtml } from "react/reactquestion_html";
|
24132
24570
|
export { SurveyQuestionFile } from "react/reactquestion_file";
|
24571
|
+
export { SurveyFileChooseButton } from "react/components/file-actions/file-choose-button";
|
24133
24572
|
export { SurveyQuestionMultipleText } from "react/reactquestion_multipletext";
|
24134
24573
|
export { SurveyQuestionRadiogroup, SurveyQuestionRadioItem } from "react/reactquestion_radiogroup";
|
24135
24574
|
export { SurveyQuestionText } from "react/reactquestion_text";
|
@@ -24177,6 +24616,7 @@ declare module "entries/react-ui-model" {
|
|
24177
24616
|
export { NotifierComponent } from "react/components/notifier";
|
24178
24617
|
export { ComponentsContainer } from "react/components/components-container";
|
24179
24618
|
export { CharacterCounterComponent } from "react/components/character-counter";
|
24619
|
+
export * from "react/components/cover";
|
24180
24620
|
export { SurveyLocStringViewer } from "react/string-viewer";
|
24181
24621
|
export { SurveyLocStringEditor } from "react/string-editor";
|
24182
24622
|
export { LoadingIndicatorComponent } from "react/components/loading-indicator";
|