survey-react 1.9.106 → 1.9.107
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 +47 -18
- package/defaultV2.css.map +1 -1
- package/defaultV2.min.css +2 -2
- package/modern.css +1 -1
- package/modern.min.css +1 -1
- package/package.json +1 -1
- package/survey.css +1 -1
- package/survey.min.css +1 -1
- package/survey.react.d.ts +22 -4
- package/survey.react.js +166 -59
- package/survey.react.js.map +1 -1
- package/survey.react.min.js +3 -3
package/modern.css
CHANGED
package/modern.min.css
CHANGED
package/package.json
CHANGED
package/survey.css
CHANGED
package/survey.min.css
CHANGED
package/survey.react.d.ts
CHANGED
@@ -3159,7 +3159,7 @@ declare module "question_file" {
|
|
3159
3159
|
* [View Demo](https://surveyjs.io/form-library/examples/file-upload/ (linkStyle))
|
3160
3160
|
*/
|
3161
3161
|
export class QuestionFileModel extends Question {
|
3162
|
-
|
3162
|
+
isUploading: boolean;
|
3163
3163
|
isDragging: boolean;
|
3164
3164
|
/**
|
3165
3165
|
* An event that is raised after the upload state has changed.
|
@@ -3277,8 +3277,12 @@ declare module "question_file" {
|
|
3277
3277
|
clear(doneCallback?: () => void): void;
|
3278
3278
|
get renderCapture(): string;
|
3279
3279
|
get multipleRendered(): string;
|
3280
|
-
get
|
3281
|
-
get
|
3280
|
+
get showChooseButton(): boolean;
|
3281
|
+
get showLoadingIndicator(): boolean;
|
3282
|
+
get allowShowPreview(): boolean;
|
3283
|
+
get showRemoveButtonCore(): boolean;
|
3284
|
+
get showRemoveButton(): boolean;
|
3285
|
+
get showRemoveButtonBottom(): boolean;
|
3282
3286
|
defaultImage(data: any): boolean;
|
3283
3287
|
/**
|
3284
3288
|
* Removes a file with a specified name.
|
@@ -11185,6 +11189,7 @@ declare module "question" {
|
|
11185
11189
|
protected getQuizQuestionCount(): number;
|
11186
11190
|
protected getCorrectAnswerCount(): number;
|
11187
11191
|
protected checkIfAnswerCorrect(): boolean;
|
11192
|
+
protected getAnswerCorrectIgnoreOrder(): boolean;
|
11188
11193
|
/**
|
11189
11194
|
* Returns `true` if a question answer matches the `correctAnswer` property value.
|
11190
11195
|
*
|
@@ -12698,7 +12703,10 @@ declare module "utils/popup" {
|
|
12698
12703
|
export class PopupUtils {
|
12699
12704
|
static bottomIndent: number;
|
12700
12705
|
static calculatePosition(targetRect: ClientRect, height: number, width: number, verticalPosition: VerticalPosition, horizontalPosition: HorizontalPosition, showPointer: boolean, positionMode?: PositionMode): INumberPosition;
|
12701
|
-
static
|
12706
|
+
static getCorrectedVerticalDimensions(top: number, height: number, windowHeight: number): {
|
12707
|
+
height: number;
|
12708
|
+
top: number;
|
12709
|
+
};
|
12702
12710
|
static updateHorizontalDimensions(left: number, width: number, windowWidth: number, horizontalPosition: HorizontalPosition, positionMode?: PositionMode, margins?: {
|
12703
12711
|
left: number;
|
12704
12712
|
right: number;
|
@@ -13899,6 +13907,7 @@ declare module "question_checkbox" {
|
|
13899
13907
|
getFilteredValue(): any;
|
13900
13908
|
protected getMultipleSelectedItems(): Array<ItemValue>;
|
13901
13909
|
protected validateItemValues(itemValues: Array<ItemValue>): Array<ItemValue>;
|
13910
|
+
protected getAnswerCorrectIgnoreOrder(): boolean;
|
13902
13911
|
protected onCheckForErrors(errors: Array<SurveyError>, isOnValueChanged: boolean): void;
|
13903
13912
|
protected onEnableItemCallBack(item: ItemValue): boolean;
|
13904
13913
|
protected onAfterRunItemsEnableCondition(): void;
|
@@ -23482,14 +23491,22 @@ declare module "react/reactquestion_html" {
|
|
23482
23491
|
protected renderElement(): JSX.Element;
|
23483
23492
|
}
|
23484
23493
|
}
|
23494
|
+
declare module "react/components/loading-indicator" {
|
23495
|
+
import * as React from "react";
|
23496
|
+
export class LoadingIndicatorComponent extends React.Component<any, any> {
|
23497
|
+
render(): JSX.Element | null;
|
23498
|
+
}
|
23499
|
+
}
|
23485
23500
|
declare module "react/reactquestion_file" {
|
23486
23501
|
import { QuestionFileModel } from "entries/core";
|
23487
23502
|
import { SurveyQuestionElementBase } from "react/reactquestion_element";
|
23488
23503
|
export class SurveyQuestionFile extends SurveyQuestionElementBase {
|
23489
23504
|
constructor(props: any);
|
23490
23505
|
protected get question(): QuestionFileModel;
|
23506
|
+
protected renderLoadingIndicator(): JSX.Element;
|
23491
23507
|
protected renderElement(): JSX.Element;
|
23492
23508
|
protected renderFileDecorator(): JSX.Element;
|
23509
|
+
protected renderChooseButton(): JSX.Element;
|
23493
23510
|
protected renderClearButton(className: string): JSX.Element | null;
|
23494
23511
|
protected renderFileSign(className: string, val: any): JSX.Element | null;
|
23495
23512
|
protected renderPreview(): JSX.Element | null;
|
@@ -24106,6 +24123,7 @@ declare module "entries/react-ui-model" {
|
|
24106
24123
|
export { CharacterCounterComponent } from "react/components/character-counter";
|
24107
24124
|
export { SurveyLocStringViewer } from "react/string-viewer";
|
24108
24125
|
export { SurveyLocStringEditor } from "react/string-editor";
|
24126
|
+
export { LoadingIndicatorComponent } from "react/components/loading-indicator";
|
24109
24127
|
}
|
24110
24128
|
declare module "entries/react" {
|
24111
24129
|
export * from "entries/core";
|