survey-react-ui 1.9.109 → 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/package.json +2 -2
- package/survey-react-ui.js +330 -146
- 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 -0
- package/typings/react/components/cover.d.ts +17 -0
- package/typings/react/components/file-actions/file-choose-button.d.ts +8 -0
- package/typings/react/reactquestion_file.d.ts +3 -2
|
@@ -24,6 +24,7 @@ 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-actions/file-choose-button";
|
|
27
28
|
export { SurveyQuestionMultipleText } from "../react/reactquestion_multipletext";
|
|
28
29
|
export { SurveyQuestionRadiogroup, SurveyQuestionRadioItem } from "../react/reactquestion_radiogroup";
|
|
29
30
|
export { SurveyQuestionText } from "../react/reactquestion_text";
|
|
@@ -71,6 +72,7 @@ export { Skeleton } from "../react/components/skeleton";
|
|
|
71
72
|
export { NotifierComponent } from "../react/components/notifier";
|
|
72
73
|
export { ComponentsContainer } from "../react/components/components-container";
|
|
73
74
|
export { CharacterCounterComponent } from "../react/components/character-counter";
|
|
75
|
+
export * from "../react/components/cover";
|
|
74
76
|
export { SurveyLocStringViewer } from "../react/string-viewer";
|
|
75
77
|
export { SurveyLocStringEditor } from "../react/string-editor";
|
|
76
78
|
export { LoadingIndicatorComponent } from "../react/components/loading-indicator";
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { Base, SurveyModel, Cover, CoverCell } from "survey-core";
|
|
3
|
+
import { SurveyElementBase } from "../reactquestion_element";
|
|
4
|
+
export interface ILayoutElementProps<T = Base> {
|
|
5
|
+
survey: SurveyModel;
|
|
6
|
+
model: T;
|
|
7
|
+
}
|
|
8
|
+
export declare class CoverCellComponent extends React.Component<any, any> {
|
|
9
|
+
get model(): CoverCell;
|
|
10
|
+
private renderLogoImage;
|
|
11
|
+
render(): JSX.Element | null;
|
|
12
|
+
}
|
|
13
|
+
export declare class CoverComponent extends SurveyElementBase<ILayoutElementProps<Cover>, any> {
|
|
14
|
+
get model(): Cover;
|
|
15
|
+
protected getStateElement(): Base;
|
|
16
|
+
renderElement(): JSX.Element | null;
|
|
17
|
+
}
|
|
@@ -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
|
+
}
|
|
@@ -4,11 +4,12 @@ import { SurveyQuestionElementBase } from "./reactquestion_element";
|
|
|
4
4
|
export declare class SurveyQuestionFile extends SurveyQuestionElementBase {
|
|
5
5
|
constructor(props: any);
|
|
6
6
|
protected get question(): QuestionFileModel;
|
|
7
|
-
protected renderLoadingIndicator(): JSX.Element;
|
|
8
7
|
protected renderElement(): JSX.Element;
|
|
9
8
|
protected renderFileDecorator(): JSX.Element;
|
|
10
9
|
protected renderChooseButton(): JSX.Element;
|
|
11
10
|
protected renderClearButton(className: string): JSX.Element | null;
|
|
12
11
|
protected renderFileSign(className: string, val: any): JSX.Element | null;
|
|
13
|
-
protected
|
|
12
|
+
protected renderLoadingIndicator(): JSX.Element;
|
|
13
|
+
protected renderVideo(): JSX.Element;
|
|
14
|
+
protected renderPreview(): JSX.Element;
|
|
14
15
|
}
|