survey-react-ui 2.2.6 → 2.3.1
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/fesm/survey-react-ui.mjs +22 -18
- package/fesm/survey-react-ui.mjs.map +1 -1
- package/package.json +2 -2
- package/survey-react-ui.js +21 -20
- package/survey-react-ui.js.map +1 -1
- package/survey-react-ui.min.js +1 -1
- package/survey-react-ui.min.js.LICENSE.txt +1 -1
- package/typings/src/reactquestion_comment.d.ts +15 -5
- package/typings/src/reactquestion_element.d.ts +4 -1
|
@@ -1,20 +1,30 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import { ReactSurveyElement, SurveyQuestionUncontrolledElement } from "./reactquestion_element";
|
|
3
|
-
import { QuestionCommentModel, TextAreaModel } from "survey-core";
|
|
2
|
+
import { IReactSurveyElementProps, ReactSurveyElement, SurveyQuestionUncontrolledElement } from "./reactquestion_element";
|
|
3
|
+
import { ItemValue, Question, QuestionCommentModel, TextAreaModel } from "survey-core";
|
|
4
4
|
export declare class SurveyQuestionComment extends SurveyQuestionUncontrolledElement<QuestionCommentModel> {
|
|
5
5
|
private renderCharacterCounter;
|
|
6
6
|
constructor(props: any);
|
|
7
7
|
protected renderElement(): React.JSX.Element;
|
|
8
8
|
}
|
|
9
|
-
export
|
|
9
|
+
export interface ISurveyQuestionCommentItemProps extends IReactSurveyElementProps {
|
|
10
|
+
question: Question;
|
|
11
|
+
}
|
|
12
|
+
export declare class SurveyQuestionCommentItem<P extends ISurveyQuestionCommentItemProps = ISurveyQuestionCommentItemProps> extends ReactSurveyElement<P> {
|
|
10
13
|
private textAreaModel;
|
|
11
|
-
constructor(props:
|
|
14
|
+
constructor(props: {
|
|
15
|
+
question: Question;
|
|
16
|
+
});
|
|
12
17
|
protected canRender(): boolean;
|
|
13
18
|
protected getTextAreaModel(): TextAreaModel;
|
|
14
19
|
protected renderElement(): React.JSX.Element;
|
|
15
20
|
protected getKey(): string;
|
|
16
21
|
}
|
|
17
|
-
export
|
|
22
|
+
export interface ISurveyQuestionCommentValueItemProps extends ISurveyQuestionCommentItemProps {
|
|
23
|
+
question: Question;
|
|
24
|
+
item: ItemValue;
|
|
25
|
+
}
|
|
26
|
+
export declare class SurveyQuestionCommentValueItem extends SurveyQuestionCommentItem<ISurveyQuestionCommentValueItemProps> {
|
|
27
|
+
constructor(props: ISurveyQuestionCommentValueItemProps);
|
|
18
28
|
protected getTextAreaModel(): TextAreaModel;
|
|
19
29
|
protected getKey(): string;
|
|
20
30
|
}
|
|
@@ -37,7 +37,10 @@ export declare class SurveyElementBase<P, S> extends React.Component<P, S> {
|
|
|
37
37
|
protected canUsePropInState(key: string): boolean;
|
|
38
38
|
private unMakeBaseElementReact;
|
|
39
39
|
}
|
|
40
|
-
export
|
|
40
|
+
export interface IReactSurveyElementProps {
|
|
41
|
+
cssClasses: any;
|
|
42
|
+
}
|
|
43
|
+
export declare class ReactSurveyElement<P extends IReactSurveyElementProps = any, S = any> extends SurveyElementBase<P, S> {
|
|
41
44
|
constructor(props: any);
|
|
42
45
|
protected get cssClasses(): any;
|
|
43
46
|
}
|