survey-react-ui 1.9.83 → 1.9.84
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.d.ts +1 -1447
- package/survey-react-ui.js +5 -6
- package/survey-react-ui.js.map +1 -1
- package/survey-react-ui.min.js +2 -2
- package/typings/entries/react-ui-model.d.ts +75 -0
- package/typings/react/boolean-checkbox.d.ts +6 -0
- package/typings/react/boolean-radio.d.ts +8 -0
- package/typings/react/boolean.d.ts +17 -0
- package/typings/react/components/action-bar/action-bar-item-dropdown.d.ts +8 -0
- package/typings/react/components/action-bar/action-bar-item.d.ts +20 -0
- package/typings/react/components/action-bar/action-bar-separator.d.ts +5 -0
- package/typings/react/components/action-bar/action-bar.d.ts +20 -0
- package/typings/react/components/brand-info.d.ts +4 -0
- package/typings/react/components/character-counter.d.ts +11 -0
- package/typings/react/components/components-container.d.ts +4 -0
- package/typings/react/components/list/list-item.d.ts +16 -0
- package/typings/react/components/list/list.d.ts +21 -0
- package/typings/react/components/matrix/row.d.ts +16 -0
- package/typings/react/components/matrix-actions/detail-button/detail-button.d.ts +12 -0
- package/typings/react/components/matrix-actions/drag-drop-icon/drag-drop-icon.d.ts +6 -0
- package/typings/react/components/matrix-actions/remove-button/remove-button.d.ts +9 -0
- package/typings/react/components/notifier.d.ts +11 -0
- package/typings/react/components/paneldynamic-actions/paneldynamic-add-btn.d.ts +12 -0
- package/typings/react/components/paneldynamic-actions/paneldynamic-next-btn.d.ts +6 -0
- package/typings/react/components/paneldynamic-actions/paneldynamic-prev-btn.d.ts +6 -0
- package/typings/react/components/paneldynamic-actions/paneldynamic-progress-text.d.ts +5 -0
- package/typings/react/components/paneldynamic-actions/paneldynamic-remove-btn.d.ts +6 -0
- package/typings/react/components/popup/popup.d.ts +41 -0
- package/typings/react/components/rating/rating-item-smiley.d.ts +11 -0
- package/typings/react/components/rating/rating-item-star.d.ts +11 -0
- package/typings/react/components/rating/rating-item.d.ts +18 -0
- package/typings/react/components/skeleton.d.ts +4 -0
- package/typings/react/components/survey-actions/survey-nav-button.d.ts +8 -0
- package/typings/react/components/survey-header/logo-image.d.ts +11 -0
- package/typings/react/components/survey-header/survey-header.d.ts +16 -0
- package/typings/react/components/svg-icon/svg-icon.d.ts +9 -0
- package/typings/react/components/title/title-actions.d.ts +7 -0
- package/typings/react/components/title/title-content.d.ts +10 -0
- package/typings/react/components/title/title-element.d.ts +6 -0
- package/typings/react/custom-widget.d.ts +12 -0
- package/typings/react/dropdown-base.d.ts +22 -0
- package/typings/react/dropdown-item.d.ts +13 -0
- package/typings/react/dropdown-select.d.ts +6 -0
- package/typings/react/element-factory.d.ts +9 -0
- package/typings/react/element-header.d.ts +5 -0
- package/typings/react/flow-panel.d.ts +22 -0
- package/typings/react/image.d.ts +10 -0
- package/typings/react/imagepicker.d.ts +25 -0
- package/typings/react/page.d.ts +11 -0
- package/typings/react/panel-base.d.ts +25 -0
- package/typings/react/panel.d.ts +15 -0
- package/typings/react/rating-dropdown.d.ts +7 -0
- package/typings/react/react-popup-survey.d.ts +19 -0
- package/typings/react/reactSurvey.d.ts +41 -0
- package/typings/react/reactSurveyNavigationBase.d.ts +10 -0
- package/typings/react/reactSurveyProgress.d.ts +9 -0
- package/typings/react/reactSurveyProgressButtons.d.ts +19 -0
- package/typings/react/reactSurveyProgressToc.d.ts +5 -0
- package/typings/react/reactquestion.d.ts +75 -0
- package/typings/react/reactquestion_buttongroup.d.ts +23 -0
- package/typings/react/reactquestion_checkbox.d.ts +34 -0
- package/typings/react/reactquestion_comment.d.ts +23 -0
- package/typings/react/reactquestion_custom.d.ts +13 -0
- package/typings/react/reactquestion_dropdown.d.ts +7 -0
- package/typings/react/reactquestion_element.d.ts +63 -0
- package/typings/react/reactquestion_empty.d.ts +8 -0
- package/typings/react/reactquestion_expression.d.ts +8 -0
- package/typings/react/reactquestion_factory.d.ts +8 -0
- package/typings/react/reactquestion_file.d.ts +12 -0
- package/typings/react/reactquestion_html.d.ts +13 -0
- package/typings/react/reactquestion_matrix.d.ts +21 -0
- package/typings/react/reactquestion_matrixdropdown.d.ts +4 -0
- package/typings/react/reactquestion_matrixdropdownbase.d.ts +34 -0
- package/typings/react/reactquestion_matrixdynamic.d.ts +20 -0
- package/typings/react/reactquestion_multipletext.d.ts +22 -0
- package/typings/react/reactquestion_paneldynamic.d.ts +28 -0
- package/typings/react/reactquestion_radiogroup.d.ts +31 -0
- package/typings/react/reactquestion_ranking.d.ts +21 -0
- package/typings/react/reactquestion_rating.d.ts +10 -0
- package/typings/react/reactquestion_tagbox.d.ts +9 -0
- package/typings/react/reactquestion_text.d.ts +9 -0
- package/typings/react/reactsurveymodel.d.ts +9 -0
- package/typings/react/reacttimerpanel.d.ts +11 -0
- package/typings/react/row.d.ts +21 -0
- package/typings/react/signaturepad.d.ts +9 -0
- package/typings/react/string-editor.d.ts +11 -0
- package/typings/react/string-viewer.d.ts +15 -0
- package/typings/react/tagbox-filter.d.ts +23 -0
- package/typings/react/tagbox-item.d.ts +11 -0
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
export { Survey, attachKey2click } from "../react/reactSurvey";
|
|
2
|
+
export { ReactSurveyElementsWrapper } from "../react/reactsurveymodel";
|
|
3
|
+
export { SurveyNavigationBase } from "../react/reactSurveyNavigationBase";
|
|
4
|
+
export { SurveyTimerPanel } from "../react/reacttimerpanel";
|
|
5
|
+
export { SurveyPage } from "../react/page";
|
|
6
|
+
export { SurveyRow } from "../react/row";
|
|
7
|
+
export { SurveyPanel } from "../react/panel";
|
|
8
|
+
export { SurveyFlowPanel } from "../react/flow-panel";
|
|
9
|
+
export { SurveyQuestion, SurveyElementErrors, SurveyQuestionAndErrorsCell, ISurveyCreator } from "../react/reactquestion";
|
|
10
|
+
export { ReactSurveyElement, SurveyElementBase, SurveyQuestionElementBase, } from "../react/reactquestion_element";
|
|
11
|
+
export { SurveyQuestionCommentItem, SurveyQuestionComment, } from "../react/reactquestion_comment";
|
|
12
|
+
export { SurveyQuestionCheckbox, SurveyQuestionCheckboxItem, } from "../react/reactquestion_checkbox";
|
|
13
|
+
export { SurveyQuestionRanking, SurveyQuestionRankingItem, } from "../react/reactquestion_ranking";
|
|
14
|
+
export { RatingItem } from "../react/components/rating/rating-item";
|
|
15
|
+
export { RatingItemStar } from "../react/components/rating/rating-item-star";
|
|
16
|
+
export { RatingItemSmiley } from "../react/components/rating/rating-item-smiley";
|
|
17
|
+
export { TagboxFilterString } from "../react/tagbox-filter";
|
|
18
|
+
export { SurveyQuestionOptionItem } from "../react/dropdown-item";
|
|
19
|
+
export { SurveyQuestionDropdownBase } from "../react/dropdown-base";
|
|
20
|
+
export { SurveyQuestionDropdown } from "../react/reactquestion_dropdown";
|
|
21
|
+
export { SurveyQuestionTagboxItem } from "../react/tagbox-item";
|
|
22
|
+
export { SurveyQuestionTagbox } from "../react/reactquestion_tagbox";
|
|
23
|
+
export { SurveyQuestionDropdownSelect } from "../react/dropdown-select";
|
|
24
|
+
export { SurveyQuestionMatrix, SurveyQuestionMatrixRow, } from "../react/reactquestion_matrix";
|
|
25
|
+
export { SurveyQuestionHtml } from "../react/reactquestion_html";
|
|
26
|
+
export { SurveyQuestionFile } from "../react/reactquestion_file";
|
|
27
|
+
export { SurveyQuestionMultipleText } from "../react/reactquestion_multipletext";
|
|
28
|
+
export { SurveyQuestionRadiogroup, SurveyQuestionRadioItem } from "../react/reactquestion_radiogroup";
|
|
29
|
+
export { SurveyQuestionText } from "../react/reactquestion_text";
|
|
30
|
+
export { SurveyQuestionBoolean } from "../react/boolean";
|
|
31
|
+
export { SurveyQuestionBooleanCheckbox } from "../react/boolean-checkbox";
|
|
32
|
+
export { SurveyQuestionBooleanRadio } from "../react/boolean-radio";
|
|
33
|
+
export { SurveyQuestionEmpty } from "../react/reactquestion_empty";
|
|
34
|
+
export { SurveyQuestionMatrixDropdownCell, SurveyQuestionMatrixDropdownBase } from "../react/reactquestion_matrixdropdownbase";
|
|
35
|
+
export { SurveyQuestionMatrixDropdown } from "../react/reactquestion_matrixdropdown";
|
|
36
|
+
export { SurveyQuestionMatrixDynamic, SurveyQuestionMatrixDynamicAddButton } from "../react/reactquestion_matrixdynamic";
|
|
37
|
+
export { SurveyQuestionPanelDynamic } from "../react/reactquestion_paneldynamic";
|
|
38
|
+
export { SurveyProgress } from "../react/reactSurveyProgress";
|
|
39
|
+
export { SurveyProgressButtons } from "../react/reactSurveyProgressButtons";
|
|
40
|
+
export { SurveyProgressToc } from "../react/reactSurveyProgressToc";
|
|
41
|
+
export { SurveyQuestionRating } from "../react/reactquestion_rating";
|
|
42
|
+
export { SurveyQuestionRatingDropdown } from "../react/rating-dropdown";
|
|
43
|
+
export { SurveyQuestionExpression } from "../react/reactquestion_expression";
|
|
44
|
+
export { PopupSurvey, SurveyWindow } from "../react/react-popup-survey";
|
|
45
|
+
export { ReactQuestionFactory } from "../react/reactquestion_factory";
|
|
46
|
+
export { ReactElementFactory } from "../react/element-factory";
|
|
47
|
+
export { SurveyQuestionImagePicker } from "../react/imagepicker";
|
|
48
|
+
export { SurveyQuestionImage } from "../react/image";
|
|
49
|
+
export { SurveyQuestionSignaturePad } from "../react/signaturepad";
|
|
50
|
+
export { SurveyQuestionButtonGroup } from "../react/reactquestion_buttongroup";
|
|
51
|
+
export { SurveyQuestionCustom, SurveyQuestionComposite } from "../react/reactquestion_custom";
|
|
52
|
+
export { Popup } from "../react/components/popup/popup";
|
|
53
|
+
export { List } from "../react/components/list/list";
|
|
54
|
+
export { TitleActions } from "../react/components/title/title-actions";
|
|
55
|
+
export { TitleElement } from "../react/components/title/title-element";
|
|
56
|
+
export { SurveyActionBar } from "../react/components/action-bar/action-bar";
|
|
57
|
+
export { LogoImage } from "../react/components/survey-header/logo-image";
|
|
58
|
+
export { SurveyHeader } from "../react/components/survey-header/survey-header";
|
|
59
|
+
export { SvgIcon } from "../react/components/svg-icon/svg-icon";
|
|
60
|
+
export { SurveyQuestionMatrixDynamicRemoveButton } from "../react/components/matrix-actions/remove-button/remove-button";
|
|
61
|
+
export { SurveyQuestionMatrixDetailButton } from "../react/components/matrix-actions/detail-button/detail-button";
|
|
62
|
+
export { SurveyQuestionMatrixDynamicDragDropIcon } from "../react/components/matrix-actions/drag-drop-icon/drag-drop-icon";
|
|
63
|
+
export { SurveyQuestionPanelDynamicAddButton } from "../react/components/paneldynamic-actions/paneldynamic-add-btn";
|
|
64
|
+
export { SurveyQuestionPanelDynamicRemoveButton } from "../react/components/paneldynamic-actions/paneldynamic-remove-btn";
|
|
65
|
+
export { SurveyQuestionPanelDynamicPrevButton } from "../react/components/paneldynamic-actions/paneldynamic-prev-btn";
|
|
66
|
+
export { SurveyQuestionPanelDynamicNextButton } from "../react/components/paneldynamic-actions/paneldynamic-next-btn";
|
|
67
|
+
export { SurveyQuestionPanelDynamicProgressText } from "../react/components/paneldynamic-actions/paneldynamic-progress-text";
|
|
68
|
+
export { SurveyNavigationButton } from "../react/components/survey-actions/survey-nav-button";
|
|
69
|
+
export { MatrixRow } from "../react/components/matrix/row";
|
|
70
|
+
export { Skeleton } from "../react/components/skeleton";
|
|
71
|
+
export { NotifierComponent } from "../react/components/notifier";
|
|
72
|
+
export { ComponentsContainer } from "../react/components/components-container";
|
|
73
|
+
export { CharacterCounterComponent } from "../react/components/character-counter";
|
|
74
|
+
export { SurveyLocStringViewer } from "../react/string-viewer";
|
|
75
|
+
export { SurveyLocStringEditor } from "../react/string-editor";
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { SurveyQuestionBoolean } from "./boolean";
|
|
3
|
+
export declare class SurveyQuestionBooleanRadio extends SurveyQuestionBoolean {
|
|
4
|
+
constructor(props: any);
|
|
5
|
+
private renderRadioItem;
|
|
6
|
+
handleOnChange: (event: any) => void;
|
|
7
|
+
protected renderElement(): JSX.Element;
|
|
8
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import { QuestionBooleanModel, Base } from "survey-core";
|
|
3
|
+
import { SurveyQuestionElementBase } from "./reactquestion_element";
|
|
4
|
+
export declare class SurveyQuestionBoolean extends SurveyQuestionElementBase {
|
|
5
|
+
protected checkRef: React.RefObject<HTMLInputElement>;
|
|
6
|
+
constructor(props: any);
|
|
7
|
+
protected getStateElement(): Base;
|
|
8
|
+
protected get question(): QuestionBooleanModel;
|
|
9
|
+
private doCheck;
|
|
10
|
+
handleOnChange(event: any): void;
|
|
11
|
+
handleOnClick(event: any): void;
|
|
12
|
+
handleOnSwitchClick(event: any): void;
|
|
13
|
+
handleOnLabelClick(event: any, value: boolean): void;
|
|
14
|
+
handleOnKeyDown(event: any): void;
|
|
15
|
+
protected updateDomElement(): void;
|
|
16
|
+
protected renderElement(): JSX.Element;
|
|
17
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { SurveyActionBarItem } from "./action-bar-item";
|
|
3
|
+
export declare class SurveyActionBarItemDropdown extends SurveyActionBarItem {
|
|
4
|
+
private viewModel;
|
|
5
|
+
constructor(props: any);
|
|
6
|
+
renderButtonContent(): JSX.Element;
|
|
7
|
+
componentWillUnmount(): void;
|
|
8
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { Base, Action } from "survey-core";
|
|
3
|
+
import { SurveyElementBase } from "../../reactquestion_element";
|
|
4
|
+
interface IActionBarItemProps {
|
|
5
|
+
item: Action;
|
|
6
|
+
}
|
|
7
|
+
export declare class SurveyAction extends SurveyElementBase<IActionBarItemProps, any> {
|
|
8
|
+
get item(): Action;
|
|
9
|
+
protected getStateElement(): Base;
|
|
10
|
+
renderElement(): JSX.Element;
|
|
11
|
+
}
|
|
12
|
+
export declare class SurveyActionBarItem extends SurveyElementBase<IActionBarItemProps, any> {
|
|
13
|
+
get item(): Action;
|
|
14
|
+
protected getStateElement(): Base;
|
|
15
|
+
renderElement(): JSX.Element;
|
|
16
|
+
renderText(): JSX.Element | null;
|
|
17
|
+
renderButtonContent(): JSX.Element;
|
|
18
|
+
renderInnerButton(): JSX.Element;
|
|
19
|
+
}
|
|
20
|
+
export {};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { Base, Action, ActionContainer } from "survey-core";
|
|
3
|
+
import { SurveyElementBase } from "../../reactquestion_element";
|
|
4
|
+
export * from "./action-bar-item-dropdown";
|
|
5
|
+
export * from "./action-bar-separator";
|
|
6
|
+
interface IActionBarProps {
|
|
7
|
+
model: ActionContainer<Action>;
|
|
8
|
+
handleClick?: boolean;
|
|
9
|
+
}
|
|
10
|
+
export declare class SurveyActionBar extends SurveyElementBase<IActionBarProps, any> {
|
|
11
|
+
private rootRef;
|
|
12
|
+
constructor(props: IActionBarProps);
|
|
13
|
+
private get handleClick();
|
|
14
|
+
get model(): ActionContainer<Action>;
|
|
15
|
+
componentDidMount(): void;
|
|
16
|
+
componentWillUnmount(): void;
|
|
17
|
+
protected getStateElement(): Base;
|
|
18
|
+
renderElement(): any;
|
|
19
|
+
renderItems(): JSX.Element[];
|
|
20
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { Base, CharacterCounter } from "survey-core";
|
|
3
|
+
import { SurveyElementBase } from "../reactquestion_element";
|
|
4
|
+
export interface ICharacterCounterComponentProps {
|
|
5
|
+
counter: CharacterCounter;
|
|
6
|
+
remainingCharacterCounter: string;
|
|
7
|
+
}
|
|
8
|
+
export declare class CharacterCounterComponent extends SurveyElementBase<ICharacterCounterComponentProps, any> {
|
|
9
|
+
protected getStateElement(): Base;
|
|
10
|
+
renderElement(): JSX.Element | null;
|
|
11
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
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 ListItem extends SurveyElementBase<IListItemProps, any> {
|
|
9
|
+
get model(): ListModel;
|
|
10
|
+
get item(): any;
|
|
11
|
+
handleKeydown: (event: any) => void;
|
|
12
|
+
getStateElement(): any;
|
|
13
|
+
render(): JSX.Element | null;
|
|
14
|
+
componentDidMount(): void;
|
|
15
|
+
}
|
|
16
|
+
export {};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { ListModel } from "survey-core";
|
|
3
|
+
import { SurveyElementBase } from "../../reactquestion_element";
|
|
4
|
+
interface IListProps {
|
|
5
|
+
model: ListModel;
|
|
6
|
+
}
|
|
7
|
+
export declare class List extends SurveyElementBase<IListProps, any> {
|
|
8
|
+
private listContainerRef;
|
|
9
|
+
constructor(props: any);
|
|
10
|
+
get model(): ListModel;
|
|
11
|
+
handleKeydown: (event: any) => void;
|
|
12
|
+
handleMouseMove: (event: any) => void;
|
|
13
|
+
getStateElement(): ListModel<import("survey-core").Action>;
|
|
14
|
+
componentDidMount(): void;
|
|
15
|
+
renderElement(): JSX.Element;
|
|
16
|
+
renderList(): JSX.Element | null;
|
|
17
|
+
renderItems(): JSX.Element[] | null;
|
|
18
|
+
searchElementContent(): JSX.Element | null;
|
|
19
|
+
emptyContent(): JSX.Element;
|
|
20
|
+
}
|
|
21
|
+
export {};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { QuestionMatrixDropdownRenderedRow, QuestionMatrixDropdownModelBase } from "survey-core";
|
|
3
|
+
import { SurveyElementBase } from "../../reactquestion_element";
|
|
4
|
+
interface IMatrixRowProps {
|
|
5
|
+
model: QuestionMatrixDropdownRenderedRow;
|
|
6
|
+
parentMatrix: QuestionMatrixDropdownModelBase;
|
|
7
|
+
}
|
|
8
|
+
export declare class MatrixRow extends SurveyElementBase<IMatrixRowProps, any> {
|
|
9
|
+
constructor(props: IMatrixRowProps);
|
|
10
|
+
get model(): QuestionMatrixDropdownRenderedRow;
|
|
11
|
+
get parentMatrix(): QuestionMatrixDropdownModelBase;
|
|
12
|
+
protected getStateElement(): QuestionMatrixDropdownRenderedRow;
|
|
13
|
+
protected onPointerDownHandler: (event: any) => void;
|
|
14
|
+
render(): JSX.Element;
|
|
15
|
+
}
|
|
16
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { Action } from "survey-core";
|
|
3
|
+
import { ReactSurveyElement } from "../../../reactquestion_element";
|
|
4
|
+
export declare class SurveyQuestionMatrixDetailButton extends ReactSurveyElement {
|
|
5
|
+
constructor(props: any);
|
|
6
|
+
protected getStateElement(): any;
|
|
7
|
+
get item(): Action;
|
|
8
|
+
private get question();
|
|
9
|
+
private get row();
|
|
10
|
+
handleOnShowHideClick(event: any): void;
|
|
11
|
+
protected renderElement(): JSX.Element;
|
|
12
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { ReactSurveyElement } from "../../../reactquestion_element";
|
|
3
|
+
export declare class SurveyQuestionMatrixDynamicRemoveButton extends ReactSurveyElement {
|
|
4
|
+
constructor(props: any);
|
|
5
|
+
private get question();
|
|
6
|
+
private get row();
|
|
7
|
+
handleOnRowRemoveClick(event: any): void;
|
|
8
|
+
protected renderElement(): JSX.Element;
|
|
9
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { Base, Notifier } from "survey-core";
|
|
3
|
+
import { SurveyElementBase } from "../reactquestion_element";
|
|
4
|
+
export interface INotifierComponentProps {
|
|
5
|
+
notifier: Notifier;
|
|
6
|
+
}
|
|
7
|
+
export declare class NotifierComponent extends SurveyElementBase<INotifierComponentProps, any> {
|
|
8
|
+
get notifier(): Notifier;
|
|
9
|
+
protected getStateElement(): Base;
|
|
10
|
+
renderElement(): JSX.Element | null;
|
|
11
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { QuestionPanelDynamicModel } from "survey-core";
|
|
3
|
+
import { ReactSurveyElement } from "../../reactquestion_element";
|
|
4
|
+
export declare class SurveyQuestionPanelDynamicAction extends ReactSurveyElement {
|
|
5
|
+
constructor(props: any);
|
|
6
|
+
protected get data(): any;
|
|
7
|
+
protected get question(): QuestionPanelDynamicModel;
|
|
8
|
+
}
|
|
9
|
+
export declare class SurveyQuestionPanelDynamicAddButton extends SurveyQuestionPanelDynamicAction {
|
|
10
|
+
protected handleClick: (event: any) => void;
|
|
11
|
+
protected renderElement(): JSX.Element | null;
|
|
12
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { SurveyQuestionPanelDynamicAction } from "./paneldynamic-add-btn";
|
|
3
|
+
export declare class SurveyQuestionPanelDynamicNextButton extends SurveyQuestionPanelDynamicAction {
|
|
4
|
+
protected handleClick: (event: any) => void;
|
|
5
|
+
protected renderElement(): JSX.Element;
|
|
6
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { SurveyQuestionPanelDynamicAction } from "./paneldynamic-add-btn";
|
|
3
|
+
export declare class SurveyQuestionPanelDynamicPrevButton extends SurveyQuestionPanelDynamicAction {
|
|
4
|
+
protected handleClick: (event: any) => void;
|
|
5
|
+
protected renderElement(): JSX.Element;
|
|
6
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { SurveyQuestionPanelDynamicAction } from "./paneldynamic-add-btn";
|
|
3
|
+
export declare class SurveyQuestionPanelDynamicRemoveButton extends SurveyQuestionPanelDynamicAction {
|
|
4
|
+
protected handleClick: (event: any) => void;
|
|
5
|
+
protected renderElement(): JSX.Element;
|
|
6
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { Base, PopupModel, PopupBaseViewModel, IDialogOptions } from "survey-core";
|
|
3
|
+
import { SurveyElementBase } from "../../reactquestion_element";
|
|
4
|
+
interface IPopupProps {
|
|
5
|
+
model: PopupModel;
|
|
6
|
+
}
|
|
7
|
+
export declare class Popup extends SurveyElementBase<IPopupProps, any> {
|
|
8
|
+
private popup;
|
|
9
|
+
private containerRef;
|
|
10
|
+
constructor(props: IPopupProps);
|
|
11
|
+
get model(): PopupModel;
|
|
12
|
+
protected getStateElement(): Base;
|
|
13
|
+
private createModel;
|
|
14
|
+
private setTargetElement;
|
|
15
|
+
componentDidMount(): void;
|
|
16
|
+
componentDidUpdate(prevProps: any, prevState: any): void;
|
|
17
|
+
componentWillUnmount(): void;
|
|
18
|
+
shouldComponentUpdate(nextProps: IPopupProps, nextState: any): boolean;
|
|
19
|
+
render(): JSX.Element;
|
|
20
|
+
}
|
|
21
|
+
export declare class PopupContainer extends SurveyElementBase<any, any> {
|
|
22
|
+
prevIsVisible: boolean;
|
|
23
|
+
constructor(props: any);
|
|
24
|
+
handleKeydown: (event: any) => void;
|
|
25
|
+
get model(): PopupBaseViewModel;
|
|
26
|
+
protected getStateElement(): Base;
|
|
27
|
+
clickInside: (ev: any) => void;
|
|
28
|
+
componentDidUpdate(prevProps: any, prevState: any): void;
|
|
29
|
+
renderContainer(PopupBaseViewModel: PopupBaseViewModel): JSX.Element;
|
|
30
|
+
renderHeaderContent(): JSX.Element;
|
|
31
|
+
renderContent(): JSX.Element;
|
|
32
|
+
protected renderHeaderPopup(popupModel: PopupBaseViewModel): JSX.Element | null;
|
|
33
|
+
protected renderFooter(popuModel: PopupBaseViewModel): JSX.Element | null;
|
|
34
|
+
render(): JSX.Element;
|
|
35
|
+
}
|
|
36
|
+
export declare class PopupDropdownContainer extends PopupContainer {
|
|
37
|
+
protected renderHeaderPopup(popupModel: PopupBaseViewModel): JSX.Element | null;
|
|
38
|
+
}
|
|
39
|
+
export declare function showModal(componentName: string, data: any, onApply: () => boolean, onCancel?: () => void, cssClass?: string, title?: string, displayMode?: "popup" | "overlay"): PopupBaseViewModel;
|
|
40
|
+
export declare function showDialog(dialogOptions: IDialogOptions): PopupBaseViewModel;
|
|
41
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { QuestionRatingModel, RenderedRatingItem } from "survey-core";
|
|
3
|
+
import { SurveyElementBase } from "../../reactquestion_element";
|
|
4
|
+
import { IRatingItemProps } from "./rating-item";
|
|
5
|
+
export declare class RatingItemSmiley extends SurveyElementBase<IRatingItemProps, any> {
|
|
6
|
+
get question(): QuestionRatingModel;
|
|
7
|
+
get item(): RenderedRatingItem;
|
|
8
|
+
get index(): any;
|
|
9
|
+
getStateElement(): RenderedRatingItem;
|
|
10
|
+
render(): JSX.Element | null;
|
|
11
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { QuestionRatingModel, RenderedRatingItem } from "survey-core";
|
|
3
|
+
import { SurveyElementBase } from "../../reactquestion_element";
|
|
4
|
+
import { IRatingItemProps } from "./rating-item";
|
|
5
|
+
export declare class RatingItemStar extends SurveyElementBase<IRatingItemProps, any> {
|
|
6
|
+
get question(): QuestionRatingModel;
|
|
7
|
+
get item(): RenderedRatingItem;
|
|
8
|
+
get index(): any;
|
|
9
|
+
getStateElement(): RenderedRatingItem;
|
|
10
|
+
render(): JSX.Element | null;
|
|
11
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { QuestionRatingModel, RenderedRatingItem } from "survey-core";
|
|
3
|
+
import { SurveyElementBase } from "../../reactquestion_element";
|
|
4
|
+
export interface IRatingItemProps {
|
|
5
|
+
question: QuestionRatingModel;
|
|
6
|
+
item: RenderedRatingItem;
|
|
7
|
+
index: any;
|
|
8
|
+
handleOnClick: any;
|
|
9
|
+
isDisplayMode: boolean;
|
|
10
|
+
}
|
|
11
|
+
export declare class RatingItem extends SurveyElementBase<IRatingItemProps, any> {
|
|
12
|
+
get question(): QuestionRatingModel;
|
|
13
|
+
get item(): RenderedRatingItem;
|
|
14
|
+
get index(): any;
|
|
15
|
+
getStateElement(): RenderedRatingItem;
|
|
16
|
+
render(): JSX.Element | null;
|
|
17
|
+
componentDidMount(): void;
|
|
18
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { Action } from "survey-core";
|
|
3
|
+
import { ReactSurveyElement } from "../../reactquestion_element";
|
|
4
|
+
export declare class SurveyNavigationButton extends ReactSurveyElement {
|
|
5
|
+
protected get item(): Action;
|
|
6
|
+
protected canRender(): boolean;
|
|
7
|
+
protected renderElement(): JSX.Element;
|
|
8
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { SurveyModel } from "survey-core";
|
|
3
|
+
interface ILogoImageProps {
|
|
4
|
+
data: SurveyModel;
|
|
5
|
+
}
|
|
6
|
+
export declare class LogoImage extends React.Component<ILogoImageProps, any> {
|
|
7
|
+
constructor(props: ILogoImageProps);
|
|
8
|
+
private get survey();
|
|
9
|
+
render(): JSX.Element;
|
|
10
|
+
}
|
|
11
|
+
export {};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { SurveyModel } from "survey-core";
|
|
3
|
+
interface ISurveyHeaderProps {
|
|
4
|
+
survey: SurveyModel;
|
|
5
|
+
}
|
|
6
|
+
export declare class SurveyHeader extends React.Component<ISurveyHeaderProps, any> {
|
|
7
|
+
constructor(props: ISurveyHeaderProps);
|
|
8
|
+
private get survey();
|
|
9
|
+
private get css();
|
|
10
|
+
componentDidMount(): void;
|
|
11
|
+
componentWillUnmount(): void;
|
|
12
|
+
private renderTitle;
|
|
13
|
+
private renderLogoImage;
|
|
14
|
+
render(): JSX.Element | null;
|
|
15
|
+
}
|
|
16
|
+
export {};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { ITitleOwner } from "survey-core";
|
|
3
|
+
export declare class TitleContent extends React.Component<any, any> {
|
|
4
|
+
constructor(props: any);
|
|
5
|
+
private get cssClasses();
|
|
6
|
+
private get element();
|
|
7
|
+
render(): JSX.Element;
|
|
8
|
+
protected renderTitleSpans(element: ITitleOwner, cssClasses: any): Array<JSX.Element>;
|
|
9
|
+
private renderRequireText;
|
|
10
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { SurveyQuestionElementBase } from "./reactquestion_element";
|
|
3
|
+
export declare class SurveyCustomWidget extends SurveyQuestionElementBase {
|
|
4
|
+
private widgetRef;
|
|
5
|
+
constructor(props: any);
|
|
6
|
+
private _afterRender;
|
|
7
|
+
componentDidMount(): void;
|
|
8
|
+
componentDidUpdate(prevProps: any, prevState: any): void;
|
|
9
|
+
componentWillUnmount(): void;
|
|
10
|
+
protected canRender(): boolean;
|
|
11
|
+
protected renderElement(): JSX.Element;
|
|
12
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { Question, DropdownListModel } from "survey-core";
|
|
3
|
+
import { SurveyQuestionUncontrolledElement } from "./reactquestion_element";
|
|
4
|
+
export declare class SurveyQuestionDropdownBase<T extends Question> extends SurveyQuestionUncontrolledElement<T> {
|
|
5
|
+
inputElement: HTMLInputElement | null;
|
|
6
|
+
click: (event: any) => void;
|
|
7
|
+
clear: (event: any) => void;
|
|
8
|
+
keyhandler: (event: any) => void;
|
|
9
|
+
blur: (event: any) => void;
|
|
10
|
+
focus: (event: any) => void;
|
|
11
|
+
protected getStateElement(): any;
|
|
12
|
+
protected setValueCore(newValue: any): void;
|
|
13
|
+
protected getValueCore(): any;
|
|
14
|
+
protected renderSelect(cssClasses: any): JSX.Element;
|
|
15
|
+
renderValueElement(dropdownListModel: DropdownListModel): JSX.Element | null;
|
|
16
|
+
protected renderInput(dropdownListModel: DropdownListModel): JSX.Element;
|
|
17
|
+
createClearButton(): JSX.Element | null;
|
|
18
|
+
protected renderOther(cssClasses: any): JSX.Element;
|
|
19
|
+
componentDidUpdate(prevProps: any, prevState: any): void;
|
|
20
|
+
componentDidMount(): void;
|
|
21
|
+
updateInputDomElement(): void;
|
|
22
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { ReactSurveyElement } from "./reactquestion_element";
|
|
3
|
+
import { Base } from "survey-core";
|
|
4
|
+
export declare class SurveyQuestionOptionItem extends ReactSurveyElement {
|
|
5
|
+
constructor(props: any);
|
|
6
|
+
componentDidUpdate(prevProps: any, prevState: any): void;
|
|
7
|
+
componentWillUnmount(): void;
|
|
8
|
+
private setupModel;
|
|
9
|
+
protected getStateElement(): Base;
|
|
10
|
+
private get item();
|
|
11
|
+
protected canRender(): boolean;
|
|
12
|
+
protected renderElement(): JSX.Element;
|
|
13
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { SurveyQuestionDropdown } from "./reactquestion_dropdown";
|
|
3
|
+
export declare class SurveyQuestionDropdownSelect extends SurveyQuestionDropdown {
|
|
4
|
+
constructor(props: any);
|
|
5
|
+
protected renderSelect(cssClasses: any): JSX.Element;
|
|
6
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare class ReactElementFactory {
|
|
3
|
+
static Instance: ReactElementFactory;
|
|
4
|
+
private creatorHash;
|
|
5
|
+
registerElement(elementType: string, elementCreator: (props: any) => JSX.Element): void;
|
|
6
|
+
getAllTypes(): Array<string>;
|
|
7
|
+
isElementRegistered(elementType: string): boolean;
|
|
8
|
+
createElement(elementType: string, params: any): JSX.Element | any;
|
|
9
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { FlowPanelModel, Question } from "survey-core";
|
|
3
|
+
import { SurveyPanel } from "./panel";
|
|
4
|
+
export declare class SurveyFlowPanel extends SurveyPanel {
|
|
5
|
+
constructor(props: any);
|
|
6
|
+
get flowPanel(): FlowPanelModel;
|
|
7
|
+
componentDidMount(): void;
|
|
8
|
+
componentWillUnmount(): void;
|
|
9
|
+
protected getQuestion(name: string): Question;
|
|
10
|
+
protected renderQuestion(question: Question): string;
|
|
11
|
+
protected renderRows(): Array<JSX.Element>;
|
|
12
|
+
private renderedIndex;
|
|
13
|
+
private getNodeIndex;
|
|
14
|
+
protected renderHtml(): JSX.Element | null;
|
|
15
|
+
protected renderNodes(domNodes: Array<Node>): Array<JSX.Element>;
|
|
16
|
+
private getStyle;
|
|
17
|
+
protected renderParentNode(node: Node): JSX.Element;
|
|
18
|
+
protected renderNode(node: Node): JSX.Element | null;
|
|
19
|
+
private getChildDomNodes;
|
|
20
|
+
private hasTextChildNodesOnly;
|
|
21
|
+
protected renderContent(style: any, rows: JSX.Element[]): JSX.Element;
|
|
22
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { SurveyQuestionElementBase } from "./reactquestion_element";
|
|
3
|
+
import { QuestionImageModel } from "survey-core";
|
|
4
|
+
export declare class SurveyQuestionImage extends SurveyQuestionElementBase {
|
|
5
|
+
constructor(props: any);
|
|
6
|
+
componentDidMount(): void;
|
|
7
|
+
componentWillUnmount(): void;
|
|
8
|
+
protected get question(): QuestionImageModel;
|
|
9
|
+
protected renderElement(): JSX.Element;
|
|
10
|
+
}
|