survey-react-ui 1.9.110 → 1.9.112
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/package.json +2 -2
- package/survey-react-ui.js +9821 -563
- package/survey-react-ui.js.map +1 -1
- package/survey-react-ui.min.js +2 -2
- package/typings/entries/react-ui-model.d.ts +2 -1
- package/typings/react/components/file/file-choose-button.d.ts +8 -0
- package/typings/react/components/file/file-preview.d.ts +11 -0
- package/typings/react/components/file-actions/file-choose-button.d.ts +8 -8
- package/typings/react/dropdown-base.d.ts +1 -0
- package/typings/react/reactquestion_file.d.ts +1 -2
|
@@ -24,7 +24,8 @@ export { SurveyQuestionDropdownSelect } from "../react/dropdown-select";
|
|
|
24
24
|
export { SurveyQuestionMatrix, SurveyQuestionMatrixRow, } from "../react/reactquestion_matrix";
|
|
25
25
|
export { SurveyQuestionHtml } from "../react/reactquestion_html";
|
|
26
26
|
export { SurveyQuestionFile } from "../react/reactquestion_file";
|
|
27
|
-
export { SurveyFileChooseButton } from "../react/components/file
|
|
27
|
+
export { SurveyFileChooseButton } from "../react/components/file/file-choose-button";
|
|
28
|
+
export { SurveyFilePreview } from "../react/components/file/file-preview";
|
|
28
29
|
export { SurveyQuestionMultipleText } from "../react/reactquestion_multipletext";
|
|
29
30
|
export { SurveyQuestionRadiogroup, SurveyQuestionRadioItem } from "../react/reactquestion_radiogroup";
|
|
30
31
|
export { SurveyQuestionText } from "../react/reactquestion_text";
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { ReactSurveyElement } from "../../reactquestion_element";
|
|
3
|
+
import { QuestionFileModel } from "survey-core";
|
|
4
|
+
export declare class SurveyFileChooseButton extends ReactSurveyElement {
|
|
5
|
+
constructor(props: any);
|
|
6
|
+
protected get question(): QuestionFileModel;
|
|
7
|
+
render(): JSX.Element;
|
|
8
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { SurveyElementBase } from "../../reactquestion_element";
|
|
3
|
+
import { QuestionFileModel } from "survey-core";
|
|
4
|
+
export declare class SurveyFilePreview extends SurveyElementBase<{
|
|
5
|
+
question: QuestionFileModel;
|
|
6
|
+
}, {}> {
|
|
7
|
+
protected get question(): QuestionFileModel;
|
|
8
|
+
protected renderFileSign(className: string, val: any): JSX.Element | null;
|
|
9
|
+
protected renderElement(): JSX.Element | null;
|
|
10
|
+
protected canRender(): boolean;
|
|
11
|
+
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { ReactSurveyElement } from "../../reactquestion_element";
|
|
3
|
-
import { QuestionFileModel } from "survey-core";
|
|
4
|
-
export declare class SurveyFileChooseButton extends ReactSurveyElement {
|
|
5
|
-
constructor(props: any);
|
|
6
|
-
protected get question(): QuestionFileModel;
|
|
7
|
-
render(): JSX.Element;
|
|
8
|
-
}
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { ReactSurveyElement } from "../../reactquestion_element";
|
|
3
|
+
import { QuestionFileModel } from "survey-core";
|
|
4
|
+
export declare class SurveyFileChooseButton extends ReactSurveyElement {
|
|
5
|
+
constructor(props: any);
|
|
6
|
+
protected get question(): QuestionFileModel;
|
|
7
|
+
render(): JSX.Element;
|
|
8
|
+
}
|
|
@@ -4,6 +4,7 @@ import { SurveyQuestionUncontrolledElement } from "./reactquestion_element";
|
|
|
4
4
|
export declare class SurveyQuestionDropdownBase<T extends Question> extends SurveyQuestionUncontrolledElement<T> {
|
|
5
5
|
inputElement: HTMLInputElement | null;
|
|
6
6
|
click: (event: any) => void;
|
|
7
|
+
chevronPointerDown: (event: any) => void;
|
|
7
8
|
clear: (event: any) => void;
|
|
8
9
|
keyhandler: (event: any) => void;
|
|
9
10
|
blur: (event: any) => void;
|
|
@@ -8,8 +8,7 @@ export declare class SurveyQuestionFile extends SurveyQuestionElementBase {
|
|
|
8
8
|
protected renderFileDecorator(): JSX.Element;
|
|
9
9
|
protected renderChooseButton(): JSX.Element;
|
|
10
10
|
protected renderClearButton(className: string): JSX.Element | null;
|
|
11
|
-
protected
|
|
11
|
+
protected renderPreview(): JSX.Element;
|
|
12
12
|
protected renderLoadingIndicator(): JSX.Element;
|
|
13
13
|
protected renderVideo(): JSX.Element;
|
|
14
|
-
protected renderPreview(): JSX.Element;
|
|
15
14
|
}
|