survey-react-ui 1.12.1 → 1.12.3
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.
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { TextAreaModel } from "survey-core";
|
|
3
|
+
import { SurveyElementBase } from "../reactquestion_element";
|
|
4
|
+
interface ITextAreaProps {
|
|
5
|
+
viewModel: TextAreaModel;
|
|
6
|
+
}
|
|
7
|
+
export declare class TextAreaComponent extends SurveyElementBase<ITextAreaProps, any> {
|
|
8
|
+
private initialValue;
|
|
9
|
+
constructor(props: ITextAreaProps);
|
|
10
|
+
get viewModel(): TextAreaModel;
|
|
11
|
+
protected canRender(): boolean;
|
|
12
|
+
protected renderElement(): JSX.Element;
|
|
13
|
+
componentWillUnmount(): void;
|
|
14
|
+
}
|
|
15
|
+
export {};
|
|
@@ -1,31 +1,18 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { ReactSurveyElement, SurveyQuestionUncontrolledElement } from "./reactquestion_element";
|
|
3
|
-
import { QuestionCommentModel } from "survey-core";
|
|
3
|
+
import { QuestionCommentModel, TextAreaModel } from "survey-core";
|
|
4
4
|
export declare class SurveyQuestionComment extends SurveyQuestionUncontrolledElement<QuestionCommentModel> {
|
|
5
|
+
private renderCharacterCounter;
|
|
5
6
|
constructor(props: any);
|
|
6
7
|
protected renderElement(): JSX.Element;
|
|
7
8
|
}
|
|
8
9
|
export declare class SurveyQuestionCommentItem extends ReactSurveyElement {
|
|
9
|
-
private
|
|
10
|
+
private textAreaModel;
|
|
10
11
|
constructor(props: any);
|
|
11
|
-
componentDidUpdate(prevProps: any, prevState: any): void;
|
|
12
|
-
componentDidMount(): void;
|
|
13
|
-
protected updateDomElement(): void;
|
|
14
|
-
protected setControl(element: HTMLElement | null): void;
|
|
15
12
|
protected canRender(): boolean;
|
|
16
|
-
protected
|
|
17
|
-
protected onCommentInput(event: any): void;
|
|
18
|
-
protected getComment(): string;
|
|
19
|
-
protected setComment(value: any): void;
|
|
20
|
-
protected getId(): string;
|
|
21
|
-
protected getPlaceholder(): string;
|
|
13
|
+
protected getTextAreaModel(): TextAreaModel;
|
|
22
14
|
protected renderElement(): JSX.Element;
|
|
23
15
|
}
|
|
24
16
|
export declare class SurveyQuestionOtherValueItem extends SurveyQuestionCommentItem {
|
|
25
|
-
protected
|
|
26
|
-
protected onCommentInput(event: any): void;
|
|
27
|
-
protected getComment(): string;
|
|
28
|
-
protected setComment(value: any): void;
|
|
29
|
-
protected getId(): string;
|
|
30
|
-
protected getPlaceholder(): string;
|
|
17
|
+
protected getTextAreaModel(): TextAreaModel;
|
|
31
18
|
}
|