survey-react-ui 1.10.6 → 1.11.2
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 +878 -292
- package/survey-react-ui.js.map +1 -1
- package/survey-react-ui.min.js +2 -2
- package/typings/entries/react-ui-model.d.ts +3 -1
- package/typings/react/components/list/list-item-content.d.ts +14 -0
- package/typings/react/components/list/list-item-group.d.ts +14 -0
- package/typings/react/components/popup/popup.d.ts +1 -0
- package/typings/react/reactquestion_matrixdropdownbase.d.ts +1 -7
- package/typings/react/reactquestion_ranking.d.ts +5 -0
|
@@ -10,7 +10,7 @@ export { SurveyQuestion, SurveyElementErrors, SurveyQuestionAndErrorsCell, ISurv
|
|
|
10
10
|
export { ReactSurveyElement, SurveyElementBase, SurveyQuestionElementBase, } from "../react/reactquestion_element";
|
|
11
11
|
export { SurveyQuestionCommentItem, SurveyQuestionComment, } from "../react/reactquestion_comment";
|
|
12
12
|
export { SurveyQuestionCheckbox, SurveyQuestionCheckboxItem, } from "../react/reactquestion_checkbox";
|
|
13
|
-
export { SurveyQuestionRanking, SurveyQuestionRankingItem, } from "../react/reactquestion_ranking";
|
|
13
|
+
export { SurveyQuestionRanking, SurveyQuestionRankingItem, SurveyQuestionRankingItemContent } from "../react/reactquestion_ranking";
|
|
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";
|
|
@@ -53,6 +53,8 @@ export { SurveyQuestionSignaturePad } from "../react/signaturepad";
|
|
|
53
53
|
export { SurveyQuestionButtonGroup } from "../react/reactquestion_buttongroup";
|
|
54
54
|
export { SurveyQuestionCustom, SurveyQuestionComposite } from "../react/reactquestion_custom";
|
|
55
55
|
export { Popup } from "../react/components/popup/popup";
|
|
56
|
+
export { ListItemContent } from "../react/components/list/list-item-content";
|
|
57
|
+
export { ListItemGroup } from "../react/components/list/list-item-group";
|
|
56
58
|
export { List } from "../react/components/list/list";
|
|
57
59
|
export { TitleActions } from "../react/components/title/title-actions";
|
|
58
60
|
export { TitleElement } from "../react/components/title/title-element";
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { ListModel } from "survey-core";
|
|
3
|
+
import { SurveyElementBase } from "../../reactquestion_element";
|
|
4
|
+
interface IListItemProps {
|
|
5
|
+
model: ListModel;
|
|
6
|
+
item: any;
|
|
7
|
+
}
|
|
8
|
+
export declare class ListItemContent extends SurveyElementBase<IListItemProps, any> {
|
|
9
|
+
get model(): ListModel;
|
|
10
|
+
get item(): any;
|
|
11
|
+
getStateElement(): any;
|
|
12
|
+
render(): JSX.Element | null;
|
|
13
|
+
}
|
|
14
|
+
export {};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { ListModel } from "survey-core";
|
|
3
|
+
import { SurveyElementBase } from "../../reactquestion_element";
|
|
4
|
+
interface IListItemProps {
|
|
5
|
+
model: ListModel;
|
|
6
|
+
item: any;
|
|
7
|
+
}
|
|
8
|
+
export declare class ListItemGroup extends SurveyElementBase<IListItemProps, any> {
|
|
9
|
+
get model(): ListModel;
|
|
10
|
+
get item(): any;
|
|
11
|
+
getStateElement(): any;
|
|
12
|
+
render(): JSX.Element | null;
|
|
13
|
+
}
|
|
14
|
+
export {};
|
|
@@ -4,6 +4,7 @@ import { SurveyElementBase } from "../../reactquestion_element";
|
|
|
4
4
|
interface IPopupProps {
|
|
5
5
|
model: PopupModel;
|
|
6
6
|
getTarget?: (container: HTMLElement) => HTMLElement;
|
|
7
|
+
getArea?: (container: HTMLElement) => HTMLElement;
|
|
7
8
|
}
|
|
8
9
|
export declare class Popup extends SurveyElementBase<IPopupProps, any> {
|
|
9
10
|
private popup;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { SurveyQuestionElementBase } from "./reactquestion_element";
|
|
3
3
|
import { SurveyQuestionAndErrorsCell } from "./reactquestion";
|
|
4
|
-
import { QuestionMatrixDropdownModelBase,
|
|
4
|
+
import { QuestionMatrixDropdownModelBase, Question } from "survey-core";
|
|
5
5
|
export declare class SurveyQuestionMatrixDropdownBase extends SurveyQuestionElementBase {
|
|
6
6
|
constructor(props: any);
|
|
7
7
|
protected get question(): QuestionMatrixDropdownModelBase;
|
|
@@ -11,12 +11,6 @@ export declare class SurveyQuestionMatrixDropdownBase extends SurveyQuestionElem
|
|
|
11
11
|
componentWillUnmount(): void;
|
|
12
12
|
protected renderElement(): JSX.Element;
|
|
13
13
|
renderTableDiv(): JSX.Element;
|
|
14
|
-
renderHeader(): JSX.Element | null;
|
|
15
|
-
renderFooter(): JSX.Element | null;
|
|
16
|
-
renderRows(): JSX.Element;
|
|
17
|
-
renderRow(keyValue: any, row: QuestionMatrixDropdownRenderedRow, cssClasses: any, reason?: string): JSX.Element;
|
|
18
|
-
renderCell(cell: QuestionMatrixDropdownRenderedCell, index: number, cssClasses: any, reason?: string): JSX.Element;
|
|
19
|
-
private renderCellContent;
|
|
20
14
|
}
|
|
21
15
|
export declare class SurveyQuestionMatrixDropdownCell extends SurveyQuestionAndErrorsCell {
|
|
22
16
|
constructor(props: any);
|
|
@@ -23,3 +23,8 @@ export declare class SurveyQuestionRankingItem extends ReactSurveyElement {
|
|
|
23
23
|
protected renderEmptyIcon(): JSX.Element;
|
|
24
24
|
protected renderElement(): JSX.Element;
|
|
25
25
|
}
|
|
26
|
+
export declare class SurveyQuestionRankingItemContent extends ReactSurveyElement {
|
|
27
|
+
protected get item(): ItemValue;
|
|
28
|
+
protected get cssClasses(): any;
|
|
29
|
+
protected renderElement(): JSX.Element;
|
|
30
|
+
}
|