survey-react-ui 1.9.117 → 1.9.119
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 +337 -175
- package/survey-react-ui.js.map +1 -1
- package/survey-react-ui.min.js +2 -2
- package/typings/entries/react-ui-model.d.ts +1 -0
- package/typings/react/components/rating/rating-dropdown-item.d.ts +12 -0
- package/typings/react/rating-dropdown.d.ts +1 -0
- package/typings/react/reactquestion_comment.d.ts +4 -2
|
@@ -14,6 +14,7 @@ export { SurveyQuestionRanking, SurveyQuestionRankingItem, } from "../react/reac
|
|
|
14
14
|
export { RatingItem } from "../react/components/rating/rating-item";
|
|
15
15
|
export { RatingItemStar } from "../react/components/rating/rating-item-star";
|
|
16
16
|
export { RatingItemSmiley } from "../react/components/rating/rating-item-smiley";
|
|
17
|
+
export { RatingDropdownItem } from "../react/components/rating/rating-dropdown-item";
|
|
17
18
|
export { TagboxFilterString } from "../react/tagbox-filter";
|
|
18
19
|
export { SurveyQuestionOptionItem } from "../react/dropdown-item";
|
|
19
20
|
export { SurveyQuestionDropdownBase } from "../react/dropdown-base";
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { SurveyElementBase } from "../../reactquestion_element";
|
|
3
|
+
interface IRatingItemProps {
|
|
4
|
+
item: any;
|
|
5
|
+
}
|
|
6
|
+
export declare class RatingDropdownItem extends SurveyElementBase<IRatingItemProps, any> {
|
|
7
|
+
get item(): any;
|
|
8
|
+
getStateElement(): any;
|
|
9
|
+
render(): JSX.Element | null;
|
|
10
|
+
renderDescription(item: any): JSX.Element | null;
|
|
11
|
+
}
|
|
12
|
+
export {};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { QuestionRatingModel } from "survey-core";
|
|
3
3
|
import { SurveyQuestionDropdownBase } from "./dropdown-base";
|
|
4
|
+
export * from "./components/rating/rating-dropdown-item";
|
|
4
5
|
export declare class SurveyQuestionRatingDropdown extends SurveyQuestionDropdownBase<QuestionRatingModel> {
|
|
5
6
|
constructor(props: any);
|
|
6
7
|
protected renderElement(): JSX.Element;
|
|
@@ -6,11 +6,13 @@ export declare class SurveyQuestionComment extends SurveyQuestionUncontrolledEle
|
|
|
6
6
|
protected renderElement(): JSX.Element;
|
|
7
7
|
}
|
|
8
8
|
export declare class SurveyQuestionCommentItem extends ReactSurveyElement {
|
|
9
|
+
private getStateComment;
|
|
10
|
+
constructor(props: any);
|
|
9
11
|
protected canRender(): boolean;
|
|
10
12
|
protected onCommentChange(event: any): void;
|
|
11
13
|
protected onCommentInput(event: any): void;
|
|
12
|
-
protected onCommentCompositionUpdate(event: any): void;
|
|
13
14
|
protected getComment(): string;
|
|
15
|
+
protected setComment(value: any): void;
|
|
14
16
|
protected getId(): string;
|
|
15
17
|
protected getPlaceholder(): string;
|
|
16
18
|
protected renderElement(): JSX.Element;
|
|
@@ -18,8 +20,8 @@ export declare class SurveyQuestionCommentItem extends ReactSurveyElement {
|
|
|
18
20
|
export declare class SurveyQuestionOtherValueItem extends SurveyQuestionCommentItem {
|
|
19
21
|
protected onCommentChange(event: any): void;
|
|
20
22
|
protected onCommentInput(event: any): void;
|
|
21
|
-
protected onCommentCompositionUpdate(event: any): void;
|
|
22
23
|
protected getComment(): string;
|
|
24
|
+
protected setComment(value: any): void;
|
|
23
25
|
protected getId(): string;
|
|
24
26
|
protected getPlaceholder(): string;
|
|
25
27
|
}
|