survey-react-ui 2.0.0-rc.0 → 2.0.0-rc.10
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.js +5972 -0
- package/fesm/survey-react-ui.js.map +1 -0
- package/index.html +1 -1
- package/package.json +5 -4
- package/survey-react-ui.js +2012 -2508
- 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 -489
- package/typings/src/components/action-bar/action-bar-item-dropdown.d.ts +1 -1
- package/typings/src/components/action-bar/action-bar-item.d.ts +1 -2
- package/typings/src/components/action-bar/action-bar-separator.d.ts +1 -1
- package/typings/src/components/action-bar/action-bar.d.ts +1 -1
- package/typings/src/components/brand-info.d.ts +1 -1
- package/typings/src/components/character-counter.d.ts +1 -1
- package/typings/src/components/components-container.d.ts +1 -1
- package/typings/src/components/file/file-choose-button.d.ts +1 -1
- package/typings/src/components/file/file-item.d.ts +1 -1
- package/typings/src/components/file/file-page.d.ts +1 -1
- package/typings/src/components/file/file-preview.d.ts +1 -1
- package/typings/src/components/header.d.ts +3 -1
- package/typings/src/components/list/list-item-content.d.ts +1 -1
- package/typings/src/components/list/list-item-group.d.ts +1 -1
- package/typings/src/components/list/list-item.d.ts +1 -1
- package/typings/src/components/list/list.d.ts +1 -1
- package/typings/src/components/matrix/row.d.ts +1 -1
- package/typings/src/components/matrix-actions/detail-button/detail-button.d.ts +1 -1
- package/typings/src/components/matrix-actions/drag-drop-icon/drag-drop-icon.d.ts +1 -1
- package/typings/src/components/matrix-actions/remove-button/remove-button.d.ts +1 -1
- package/typings/src/components/notifier.d.ts +1 -1
- package/typings/src/components/paneldynamic-actions/paneldynamic-add-btn.d.ts +1 -1
- package/typings/src/components/paneldynamic-actions/paneldynamic-next-btn.d.ts +1 -1
- package/typings/src/components/paneldynamic-actions/paneldynamic-prev-btn.d.ts +1 -1
- package/typings/src/components/paneldynamic-actions/paneldynamic-progress-text.d.ts +1 -1
- package/typings/src/components/paneldynamic-actions/paneldynamic-remove-btn.d.ts +1 -1
- package/typings/src/components/popup/popup-modal.d.ts +1 -1
- package/typings/src/components/popup/popup.d.ts +1 -1
- package/typings/src/components/question-error.d.ts +1 -1
- package/typings/src/components/rating/rating-dropdown-item.d.ts +1 -1
- package/typings/src/components/rating/rating-item-smiley.d.ts +1 -1
- package/typings/src/components/rating/rating-item-star.d.ts +1 -1
- package/typings/src/components/rating/rating-item.d.ts +1 -1
- package/typings/src/components/skeleton.d.ts +1 -1
- package/typings/src/components/survey-actions/survey-nav-button.d.ts +1 -1
- package/typings/src/components/survey-header/logo-image.d.ts +1 -1
- package/typings/src/components/survey-header/survey-header.d.ts +1 -1
- package/typings/src/components/svg-icon/svg-icon.d.ts +1 -1
- package/typings/src/components/text-area.d.ts +1 -1
- package/typings/src/components/title/title-actions.d.ts +1 -1
- package/typings/src/components/title/title-content.d.ts +1 -1
- package/typings/src/components/title/title-element.d.ts +1 -1
- package/typings/src/element-factory.d.ts +0 -1
- package/typings/src/element-header.d.ts +6 -3
- package/typings/src/reactquestion_buttongroup.d.ts +1 -1
- package/typings/src/reactquestion_element.d.ts +3 -0
- package/typings/src/reactquestion_factory.d.ts +0 -1
- package/typings/src/reactsurveymodel.d.ts +0 -1
- package/typings/src/string-editor.d.ts +1 -1
- package/typings/src/string-viewer.d.ts +1 -1
- package/typings/src/svgbundle.d.ts +1 -1
- package/survey-react-ui.d.ts +0 -2
- package/typings/packages/survey-react-ui/entries/react-ui-model.d.ts +0 -86
- package/typings/packages/survey-react-ui/src/boolean-checkbox.d.ts +0 -6
- package/typings/packages/survey-react-ui/src/boolean-radio.d.ts +0 -8
- package/typings/packages/survey-react-ui/src/boolean.d.ts +0 -17
- package/typings/packages/survey-react-ui/src/components/action-bar/action-bar-item-dropdown.d.ts +0 -9
- package/typings/packages/survey-react-ui/src/components/action-bar/action-bar-item.d.ts +0 -20
- package/typings/packages/survey-react-ui/src/components/action-bar/action-bar-separator.d.ts +0 -5
- package/typings/packages/survey-react-ui/src/components/action-bar/action-bar.d.ts +0 -21
- package/typings/packages/survey-react-ui/src/components/brand-info.d.ts +0 -4
- package/typings/packages/survey-react-ui/src/components/character-counter.d.ts +0 -11
- package/typings/packages/survey-react-ui/src/components/components-container.d.ts +0 -4
- package/typings/packages/survey-react-ui/src/components/file/file-choose-button.d.ts +0 -8
- package/typings/packages/survey-react-ui/src/components/file/file-item.d.ts +0 -13
- package/typings/packages/survey-react-ui/src/components/file/file-page.d.ts +0 -11
- package/typings/packages/survey-react-ui/src/components/file/file-preview.d.ts +0 -11
- package/typings/packages/survey-react-ui/src/components/header.d.ts +0 -22
- package/typings/packages/survey-react-ui/src/components/list/list-item-content.d.ts +0 -14
- package/typings/packages/survey-react-ui/src/components/list/list-item-group.d.ts +0 -14
- package/typings/packages/survey-react-ui/src/components/list/list-item.d.ts +0 -16
- package/typings/packages/survey-react-ui/src/components/list/list.d.ts +0 -23
- package/typings/packages/survey-react-ui/src/components/loading-indicator.d.ts +0 -4
- package/typings/packages/survey-react-ui/src/components/matrix/row.d.ts +0 -20
- package/typings/packages/survey-react-ui/src/components/matrix-actions/detail-button/detail-button.d.ts +0 -12
- package/typings/packages/survey-react-ui/src/components/matrix-actions/drag-drop-icon/drag-drop-icon.d.ts +0 -7
- package/typings/packages/survey-react-ui/src/components/matrix-actions/remove-button/remove-button.d.ts +0 -9
- package/typings/packages/survey-react-ui/src/components/notifier.d.ts +0 -11
- package/typings/packages/survey-react-ui/src/components/paneldynamic-actions/paneldynamic-add-btn.d.ts +0 -12
- package/typings/packages/survey-react-ui/src/components/paneldynamic-actions/paneldynamic-next-btn.d.ts +0 -6
- package/typings/packages/survey-react-ui/src/components/paneldynamic-actions/paneldynamic-prev-btn.d.ts +0 -6
- package/typings/packages/survey-react-ui/src/components/paneldynamic-actions/paneldynamic-progress-text.d.ts +0 -5
- package/typings/packages/survey-react-ui/src/components/paneldynamic-actions/paneldynamic-remove-btn.d.ts +0 -6
- package/typings/packages/survey-react-ui/src/components/popup/popup-modal.d.ts +0 -23
- package/typings/packages/survey-react-ui/src/components/popup/popup.d.ts +0 -39
- package/typings/packages/survey-react-ui/src/components/question-error.d.ts +0 -10
- package/typings/packages/survey-react-ui/src/components/rating/rating-dropdown-item.d.ts +0 -12
- package/typings/packages/survey-react-ui/src/components/rating/rating-item-smiley.d.ts +0 -5
- package/typings/packages/survey-react-ui/src/components/rating/rating-item-star.d.ts +0 -5
- package/typings/packages/survey-react-ui/src/components/rating/rating-item.d.ts +0 -22
- package/typings/packages/survey-react-ui/src/components/skeleton.d.ts +0 -4
- package/typings/packages/survey-react-ui/src/components/survey-actions/survey-nav-button.d.ts +0 -8
- package/typings/packages/survey-react-ui/src/components/survey-header/logo-image.d.ts +0 -11
- package/typings/packages/survey-react-ui/src/components/survey-header/survey-header.d.ts +0 -17
- package/typings/packages/survey-react-ui/src/components/svg-icon/svg-icon.d.ts +0 -9
- package/typings/packages/survey-react-ui/src/components/text-area.d.ts +0 -17
- package/typings/packages/survey-react-ui/src/components/title/title-actions.d.ts +0 -7
- package/typings/packages/survey-react-ui/src/components/title/title-content.d.ts +0 -10
- package/typings/packages/survey-react-ui/src/components/title/title-element.d.ts +0 -7
- package/typings/packages/survey-react-ui/src/custom-widget.d.ts +0 -12
- package/typings/packages/survey-react-ui/src/dropdown-base.d.ts +0 -26
- package/typings/packages/survey-react-ui/src/dropdown-item.d.ts +0 -14
- package/typings/packages/survey-react-ui/src/dropdown-select.d.ts +0 -6
- package/typings/packages/survey-react-ui/src/element-factory.d.ts +0 -9
- package/typings/packages/survey-react-ui/src/element-header.d.ts +0 -5
- package/typings/packages/survey-react-ui/src/element.d.ts +0 -19
- package/typings/packages/survey-react-ui/src/flow-panel.d.ts +0 -22
- package/typings/packages/survey-react-ui/src/image.d.ts +0 -10
- package/typings/packages/survey-react-ui/src/imagepicker.d.ts +0 -25
- package/typings/packages/survey-react-ui/src/page.d.ts +0 -11
- package/typings/packages/survey-react-ui/src/panel-base.d.ts +0 -25
- package/typings/packages/survey-react-ui/src/panel.d.ts +0 -16
- package/typings/packages/survey-react-ui/src/progress.d.ts +0 -9
- package/typings/packages/survey-react-ui/src/progressButtons.d.ts +0 -19
- package/typings/packages/survey-react-ui/src/progressToc.d.ts +0 -5
- package/typings/packages/survey-react-ui/src/rating-dropdown.d.ts +0 -8
- package/typings/packages/survey-react-ui/src/react-popup-survey.d.ts +0 -24
- package/typings/packages/survey-react-ui/src/reactSurvey.d.ts +0 -41
- package/typings/packages/survey-react-ui/src/reactSurveyNavigationBase.d.ts +0 -10
- package/typings/packages/survey-react-ui/src/reactquestion.d.ts +0 -82
- package/typings/packages/survey-react-ui/src/reactquestion_buttongroup.d.ts +0 -23
- package/typings/packages/survey-react-ui/src/reactquestion_checkbox.d.ts +0 -37
- package/typings/packages/survey-react-ui/src/reactquestion_comment.d.ts +0 -18
- package/typings/packages/survey-react-ui/src/reactquestion_custom.d.ts +0 -13
- package/typings/packages/survey-react-ui/src/reactquestion_dropdown.d.ts +0 -7
- package/typings/packages/survey-react-ui/src/reactquestion_element.d.ts +0 -67
- package/typings/packages/survey-react-ui/src/reactquestion_empty.d.ts +0 -8
- package/typings/packages/survey-react-ui/src/reactquestion_expression.d.ts +0 -8
- package/typings/packages/survey-react-ui/src/reactquestion_factory.d.ts +0 -8
- package/typings/packages/survey-react-ui/src/reactquestion_file.d.ts +0 -14
- package/typings/packages/survey-react-ui/src/reactquestion_html.d.ts +0 -13
- package/typings/packages/survey-react-ui/src/reactquestion_matrix.d.ts +0 -33
- package/typings/packages/survey-react-ui/src/reactquestion_matrixdropdown.d.ts +0 -4
- package/typings/packages/survey-react-ui/src/reactquestion_matrixdropdownbase.d.ts +0 -30
- package/typings/packages/survey-react-ui/src/reactquestion_matrixdynamic.d.ts +0 -20
- package/typings/packages/survey-react-ui/src/reactquestion_multipletext.d.ts +0 -22
- package/typings/packages/survey-react-ui/src/reactquestion_paneldynamic.d.ts +0 -28
- package/typings/packages/survey-react-ui/src/reactquestion_radiogroup.d.ts +0 -36
- package/typings/packages/survey-react-ui/src/reactquestion_ranking.d.ts +0 -30
- package/typings/packages/survey-react-ui/src/reactquestion_rating.d.ts +0 -10
- package/typings/packages/survey-react-ui/src/reactquestion_tagbox.d.ts +0 -10
- package/typings/packages/survey-react-ui/src/reactquestion_text.d.ts +0 -11
- package/typings/packages/survey-react-ui/src/reactsurveymodel.d.ts +0 -9
- package/typings/packages/survey-react-ui/src/reacttimerpanel.d.ts +0 -11
- package/typings/packages/survey-react-ui/src/row.d.ts +0 -21
- package/typings/packages/survey-react-ui/src/signaturepad.d.ts +0 -11
- package/typings/packages/survey-react-ui/src/string-editor.d.ts +0 -11
- package/typings/packages/survey-react-ui/src/string-viewer.d.ts +0 -15
- package/typings/packages/survey-react-ui/src/svgbundle.d.ts +0 -9
- package/typings/packages/survey-react-ui/src/tagbox-filter.d.ts +0 -23
- package/typings/packages/survey-react-ui/src/tagbox-item.d.ts +0 -10
- package/typings/react/boolean-checkbox.d.ts +0 -6
- package/typings/react/boolean-radio.d.ts +0 -8
- package/typings/react/boolean.d.ts +0 -17
- package/typings/react/components/action-bar/action-bar-item-dropdown.d.ts +0 -8
- package/typings/react/components/action-bar/action-bar-item.d.ts +0 -20
- package/typings/react/components/action-bar/action-bar-separator.d.ts +0 -5
- package/typings/react/components/action-bar/action-bar.d.ts +0 -21
- package/typings/react/components/brand-info.d.ts +0 -4
- package/typings/react/components/character-counter.d.ts +0 -11
- package/typings/react/components/components-container.d.ts +0 -4
- package/typings/react/components/cover.d.ts +0 -17
- package/typings/react/components/file/file-choose-button.d.ts +0 -8
- package/typings/react/components/file/file-preview.d.ts +0 -11
- package/typings/react/components/file-actions/file-choose-button.d.ts +0 -8
- package/typings/react/components/header.d.ts +0 -22
- package/typings/react/components/list/list-item-content.d.ts +0 -14
- package/typings/react/components/list/list-item-group.d.ts +0 -14
- package/typings/react/components/list/list-item.d.ts +0 -16
- package/typings/react/components/list/list.d.ts +0 -23
- package/typings/react/components/loading-indicator.d.ts +0 -4
- package/typings/react/components/matrix/row.d.ts +0 -20
- package/typings/react/components/matrix-actions/detail-button/detail-button.d.ts +0 -12
- package/typings/react/components/matrix-actions/drag-drop-icon/drag-drop-icon.d.ts +0 -6
- package/typings/react/components/matrix-actions/remove-button/remove-button.d.ts +0 -9
- package/typings/react/components/notifier.d.ts +0 -11
- package/typings/react/components/paneldynamic-actions/paneldynamic-add-btn.d.ts +0 -12
- package/typings/react/components/paneldynamic-actions/paneldynamic-next-btn.d.ts +0 -6
- package/typings/react/components/paneldynamic-actions/paneldynamic-prev-btn.d.ts +0 -6
- package/typings/react/components/paneldynamic-actions/paneldynamic-progress-text.d.ts +0 -5
- package/typings/react/components/paneldynamic-actions/paneldynamic-remove-btn.d.ts +0 -6
- package/typings/react/components/popup/popup.d.ts +0 -42
- package/typings/react/components/question-error.d.ts +0 -10
- package/typings/react/components/rating/rating-dropdown-item.d.ts +0 -12
- package/typings/react/components/rating/rating-item-smiley.d.ts +0 -5
- package/typings/react/components/rating/rating-item-star.d.ts +0 -5
- package/typings/react/components/rating/rating-item.d.ts +0 -22
- package/typings/react/components/skeleton.d.ts +0 -4
- package/typings/react/components/survey-actions/survey-nav-button.d.ts +0 -8
- package/typings/react/components/survey-header/logo-image.d.ts +0 -11
- package/typings/react/components/survey-header/survey-header.d.ts +0 -17
- package/typings/react/components/svg-icon/svg-icon.d.ts +0 -9
- package/typings/react/components/title/title-actions.d.ts +0 -7
- package/typings/react/components/title/title-content.d.ts +0 -10
- package/typings/react/components/title/title-element.d.ts +0 -6
- package/typings/react/custom-widget.d.ts +0 -12
- package/typings/react/dropdown-base.d.ts +0 -25
- package/typings/react/dropdown-item.d.ts +0 -13
- package/typings/react/dropdown-select.d.ts +0 -6
- package/typings/react/element-factory.d.ts +0 -9
- package/typings/react/element-header.d.ts +0 -5
- package/typings/react/element.d.ts +0 -19
- package/typings/react/flow-panel.d.ts +0 -22
- package/typings/react/image.d.ts +0 -10
- package/typings/react/imagepicker.d.ts +0 -25
- package/typings/react/page.d.ts +0 -11
- package/typings/react/panel-base.d.ts +0 -25
- package/typings/react/panel.d.ts +0 -16
- package/typings/react/progress.d.ts +0 -9
- package/typings/react/progressButtons.d.ts +0 -19
- package/typings/react/progressToc.d.ts +0 -5
- package/typings/react/rating-dropdown.d.ts +0 -8
- package/typings/react/react-popup-survey.d.ts +0 -24
- package/typings/react/reactSurvey.d.ts +0 -41
- package/typings/react/reactSurveyNavigationBase.d.ts +0 -10
- package/typings/react/reactSurveyProgress.d.ts +0 -9
- package/typings/react/reactSurveyProgressButtons.d.ts +0 -19
- package/typings/react/reactSurveyProgressToc.d.ts +0 -5
- package/typings/react/reactquestion.d.ts +0 -81
- package/typings/react/reactquestion_buttongroup.d.ts +0 -23
- package/typings/react/reactquestion_checkbox.d.ts +0 -33
- package/typings/react/reactquestion_comment.d.ts +0 -31
- package/typings/react/reactquestion_custom.d.ts +0 -13
- package/typings/react/reactquestion_dropdown.d.ts +0 -7
- package/typings/react/reactquestion_element.d.ts +0 -65
- package/typings/react/reactquestion_empty.d.ts +0 -8
- package/typings/react/reactquestion_expression.d.ts +0 -8
- package/typings/react/reactquestion_factory.d.ts +0 -8
- package/typings/react/reactquestion_file.d.ts +0 -14
- package/typings/react/reactquestion_html.d.ts +0 -13
- package/typings/react/reactquestion_matrix.d.ts +0 -33
- package/typings/react/reactquestion_matrixdropdown.d.ts +0 -4
- package/typings/react/reactquestion_matrixdropdownbase.d.ts +0 -29
- package/typings/react/reactquestion_matrixdynamic.d.ts +0 -20
- package/typings/react/reactquestion_multipletext.d.ts +0 -22
- package/typings/react/reactquestion_paneldynamic.d.ts +0 -28
- package/typings/react/reactquestion_radiogroup.d.ts +0 -32
- package/typings/react/reactquestion_ranking.d.ts +0 -30
- package/typings/react/reactquestion_rating.d.ts +0 -10
- package/typings/react/reactquestion_tagbox.d.ts +0 -10
- package/typings/react/reactquestion_text.d.ts +0 -11
- package/typings/react/reactsurveymodel.d.ts +0 -9
- package/typings/react/reacttimerpanel.d.ts +0 -11
- package/typings/react/row.d.ts +0 -21
- package/typings/react/signaturepad.d.ts +0 -11
- package/typings/react/string-editor.d.ts +0 -11
- package/typings/react/string-viewer.d.ts +0 -15
- package/typings/react/svgbundle.d.ts +0 -7
- package/typings/react/tagbox-filter.d.ts +0 -23
- package/typings/react/tagbox-item.d.ts +0 -10
- package/typings/src/entries/react-ui.d.ts +0 -2
|
@@ -1,17 +0,0 @@
|
|
|
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
|
-
private rootRef;
|
|
11
|
-
componentDidMount(): void;
|
|
12
|
-
componentWillUnmount(): void;
|
|
13
|
-
private renderTitle;
|
|
14
|
-
private renderLogoImage;
|
|
15
|
-
render(): JSX.Element | null;
|
|
16
|
-
}
|
|
17
|
-
export {};
|
|
@@ -1,10 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,25 +0,0 @@
|
|
|
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
|
-
chevronPointerDown: (event: any) => void;
|
|
8
|
-
clear: (event: any) => void;
|
|
9
|
-
keyhandler: (event: any) => void;
|
|
10
|
-
blur: (event: any) => void;
|
|
11
|
-
focus: (event: any) => void;
|
|
12
|
-
protected getStateElement(): any;
|
|
13
|
-
protected setValueCore(newValue: any): void;
|
|
14
|
-
protected getValueCore(): any;
|
|
15
|
-
protected renderReadOnlyElement(): JSX.Element | null;
|
|
16
|
-
protected renderSelect(cssClasses: any): JSX.Element;
|
|
17
|
-
renderValueElement(dropdownListModel: DropdownListModel): JSX.Element | null;
|
|
18
|
-
protected renderInput(dropdownListModel: DropdownListModel): JSX.Element;
|
|
19
|
-
createClearButton(): JSX.Element | null;
|
|
20
|
-
createChevronButton(): JSX.Element | null;
|
|
21
|
-
protected renderOther(cssClasses: any): JSX.Element;
|
|
22
|
-
componentDidUpdate(prevProps: any, prevState: any): void;
|
|
23
|
-
componentDidMount(): void;
|
|
24
|
-
updateInputDomElement(): void;
|
|
25
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,6 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { IElement } from "survey-core";
|
|
3
|
-
import { SurveyElementBase } from "./reactquestion_element";
|
|
4
|
-
export declare class SurveyRowElement extends SurveyElementBase<any, any> {
|
|
5
|
-
private rootRef;
|
|
6
|
-
constructor(props: any);
|
|
7
|
-
protected getStateElement(): any;
|
|
8
|
-
private get element();
|
|
9
|
-
private get index();
|
|
10
|
-
private get row();
|
|
11
|
-
private get survey();
|
|
12
|
-
private get creator();
|
|
13
|
-
protected get css(): any;
|
|
14
|
-
componentDidMount(): void;
|
|
15
|
-
componentWillUnmount(): void;
|
|
16
|
-
shouldComponentUpdate(nextProps: any, nextState: any): boolean;
|
|
17
|
-
protected renderElement(): JSX.Element;
|
|
18
|
-
protected createElement(element: IElement, elementIndex?: number): JSX.Element;
|
|
19
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
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
|
-
}
|
package/typings/react/image.d.ts
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { ReactSurveyElement, SurveyQuestionElementBase } from "./reactquestion_element";
|
|
3
|
-
import { QuestionImagePickerModel, ImageItemValue } from "survey-core";
|
|
4
|
-
export declare class SurveyQuestionImagePicker extends SurveyQuestionElementBase {
|
|
5
|
-
constructor(props: any);
|
|
6
|
-
protected get question(): QuestionImagePickerModel;
|
|
7
|
-
protected renderElement(): JSX.Element;
|
|
8
|
-
protected getColumns(cssClasses: any): JSX.Element[];
|
|
9
|
-
protected getItems(cssClasses: any): Array<any>;
|
|
10
|
-
protected get textStyle(): any;
|
|
11
|
-
protected renderItem(key: string, item: ImageItemValue, cssClasses: any): JSX.Element;
|
|
12
|
-
}
|
|
13
|
-
export declare class SurveyQuestionImagePickerItem extends ReactSurveyElement {
|
|
14
|
-
constructor(props: any);
|
|
15
|
-
protected getStateElement(): any;
|
|
16
|
-
componentDidMount(): void;
|
|
17
|
-
componentWillUnmount(): void;
|
|
18
|
-
componentDidUpdate(prevProps: any, prevState: any): void;
|
|
19
|
-
private reactOnStrChanged;
|
|
20
|
-
protected get cssClasses(): any;
|
|
21
|
-
protected get item(): any;
|
|
22
|
-
protected get question(): any;
|
|
23
|
-
handleOnChange(event: any): void;
|
|
24
|
-
protected renderElement(): JSX.Element;
|
|
25
|
-
}
|
package/typings/react/page.d.ts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { PageModel, PanelModelBase } from "survey-core";
|
|
3
|
-
import { SurveyPanelBase } from "./panel-base";
|
|
4
|
-
export declare class SurveyPage extends SurveyPanelBase {
|
|
5
|
-
constructor(props: any);
|
|
6
|
-
protected getPanelBase(): PanelModelBase;
|
|
7
|
-
get page(): PageModel;
|
|
8
|
-
protected renderElement(): JSX.Element;
|
|
9
|
-
protected renderTitle(): JSX.Element;
|
|
10
|
-
protected renderDescription(): JSX.Element | null;
|
|
11
|
-
}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import { ISurveyCreator } from "./reactquestion";
|
|
3
|
-
import { Base, SurveyModel, QuestionRowModel, PanelModelBase } from "survey-core";
|
|
4
|
-
import { SurveyElementBase } from "./reactquestion_element";
|
|
5
|
-
export declare class SurveyPanelBase extends SurveyElementBase<any, any> {
|
|
6
|
-
protected rootRef: React.RefObject<HTMLDivElement>;
|
|
7
|
-
constructor(props: any);
|
|
8
|
-
protected getStateElement(): Base;
|
|
9
|
-
protected canUsePropInState(key: string): boolean;
|
|
10
|
-
protected get survey(): SurveyModel | null;
|
|
11
|
-
protected get creator(): ISurveyCreator;
|
|
12
|
-
protected get css(): any;
|
|
13
|
-
get panelBase(): PanelModelBase;
|
|
14
|
-
protected getPanelBase(): PanelModelBase;
|
|
15
|
-
protected getSurvey(): SurveyModel | null;
|
|
16
|
-
protected getCss(): any;
|
|
17
|
-
componentDidMount(): void;
|
|
18
|
-
componentWillUnmount(): void;
|
|
19
|
-
componentDidUpdate(prevProps: any, prevState: any): void;
|
|
20
|
-
private doAfterRender;
|
|
21
|
-
protected getIsVisible(): boolean;
|
|
22
|
-
protected canRender(): boolean;
|
|
23
|
-
protected renderRows(css: any): Array<JSX.Element>;
|
|
24
|
-
protected createRow(row: QuestionRowModel, css: any): JSX.Element;
|
|
25
|
-
}
|
package/typings/react/panel.d.ts
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { SurveyPanelBase } from "./panel-base";
|
|
3
|
-
import { PanelModel } from "survey-core";
|
|
4
|
-
export declare class SurveyPanel extends SurveyPanelBase {
|
|
5
|
-
private hasBeenExpanded;
|
|
6
|
-
constructor(props: any);
|
|
7
|
-
get panel(): PanelModel;
|
|
8
|
-
protected renderElement(): JSX.Element;
|
|
9
|
-
protected renderHeader(): JSX.Element | null;
|
|
10
|
-
protected wrapElement(element: JSX.Element): JSX.Element;
|
|
11
|
-
protected renderContent(style: any, rows: JSX.Element[], className: string): JSX.Element;
|
|
12
|
-
protected renderTitle(): JSX.Element | null;
|
|
13
|
-
protected renderDescription(): JSX.Element | null;
|
|
14
|
-
protected renderBottom(): JSX.Element | null;
|
|
15
|
-
protected getIsVisible(): boolean;
|
|
16
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { SurveyNavigationBase } from "./reactSurveyNavigationBase";
|
|
3
|
-
export declare class SurveyProgress extends SurveyNavigationBase {
|
|
4
|
-
constructor(props: any);
|
|
5
|
-
protected get isTop(): boolean;
|
|
6
|
-
protected get progress(): number;
|
|
7
|
-
protected get progressText(): string;
|
|
8
|
-
render(): JSX.Element;
|
|
9
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { ProgressButtons, PageModel, IProgressButtonsViewModel } from "survey-core";
|
|
3
|
-
import { SurveyNavigationBase } from "./reactSurveyNavigationBase";
|
|
4
|
-
export declare class SurveyProgressButtons extends SurveyNavigationBase implements IProgressButtonsViewModel {
|
|
5
|
-
private respManager;
|
|
6
|
-
private listContainerRef;
|
|
7
|
-
constructor(props: any);
|
|
8
|
-
protected get model(): ProgressButtons;
|
|
9
|
-
get container(): string;
|
|
10
|
-
onResize(canShowItemTitles: boolean): void;
|
|
11
|
-
onUpdateScroller(hasScroller: boolean): void;
|
|
12
|
-
onUpdateSettings(): void;
|
|
13
|
-
render(): JSX.Element;
|
|
14
|
-
protected getListElements(): JSX.Element[];
|
|
15
|
-
protected renderListElement(page: PageModel, index: number): JSX.Element;
|
|
16
|
-
protected clickScrollButton(listContainerElement: Element | null, isLeftScroll: boolean): void;
|
|
17
|
-
componentDidMount(): void;
|
|
18
|
-
componentWillUnmount(): void;
|
|
19
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { QuestionRatingModel } from "survey-core";
|
|
3
|
-
import { SurveyQuestionDropdownBase } from "./dropdown-base";
|
|
4
|
-
export * from "./components/rating/rating-dropdown-item";
|
|
5
|
-
export declare class SurveyQuestionRatingDropdown extends SurveyQuestionDropdownBase<QuestionRatingModel> {
|
|
6
|
-
constructor(props: any);
|
|
7
|
-
protected renderElement(): JSX.Element;
|
|
8
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { Base, PopupSurveyModel } from "survey-core";
|
|
3
|
-
import { Survey } from "./reactSurvey";
|
|
4
|
-
export declare class PopupSurvey extends Survey {
|
|
5
|
-
protected popup: PopupSurveyModel;
|
|
6
|
-
constructor(props: any);
|
|
7
|
-
protected getStateElements(): Array<Base>;
|
|
8
|
-
handleOnExpanded(event: any): void;
|
|
9
|
-
protected canRender(): boolean;
|
|
10
|
-
protected renderElement(): JSX.Element;
|
|
11
|
-
protected renderWindowHeader(): JSX.Element;
|
|
12
|
-
protected renderTitleCollapsed(popup: PopupSurveyModel): JSX.Element | null;
|
|
13
|
-
protected renderExpandIcon(): JSX.Element;
|
|
14
|
-
protected renderCollapseIcon(): JSX.Element;
|
|
15
|
-
protected renderCloseButton(popup: PopupSurveyModel): JSX.Element;
|
|
16
|
-
protected renderAllowFullScreenButon(popup: PopupSurveyModel): JSX.Element;
|
|
17
|
-
protected renderBody(): JSX.Element;
|
|
18
|
-
protected createSurvey(newProps: any): void;
|
|
19
|
-
}
|
|
20
|
-
/**
|
|
21
|
-
* Obsolete. Please use PopupSurvey
|
|
22
|
-
*/
|
|
23
|
-
export declare class SurveyWindow extends PopupSurvey {
|
|
24
|
-
}
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { Base, Question, PageModel, SurveyError, SurveyModel, IAttachKey2clickOptions } from "survey-core";
|
|
3
|
-
import { ISurveyCreator } from "./reactquestion";
|
|
4
|
-
import { SurveyElementBase } from "./reactquestion_element";
|
|
5
|
-
export declare class Survey extends SurveyElementBase<any, any> implements ISurveyCreator {
|
|
6
|
-
private previousJSON;
|
|
7
|
-
private rootRef;
|
|
8
|
-
static get cssType(): string;
|
|
9
|
-
static set cssType(value: string);
|
|
10
|
-
protected survey: SurveyModel;
|
|
11
|
-
private rootNodeId;
|
|
12
|
-
private rootNodeClassName;
|
|
13
|
-
constructor(props: any);
|
|
14
|
-
protected getStateElement(): Base;
|
|
15
|
-
private isSurveyUpdated;
|
|
16
|
-
private onSurveyUpdated;
|
|
17
|
-
shouldComponentUpdate(nextProps: any, nextState: any): boolean;
|
|
18
|
-
componentDidUpdate(prevProps: any, prevState: any): void;
|
|
19
|
-
componentDidMount(): void;
|
|
20
|
-
destroySurvey(): void;
|
|
21
|
-
componentWillUnmount(): void;
|
|
22
|
-
doRender(): JSX.Element;
|
|
23
|
-
protected renderElement(): JSX.Element;
|
|
24
|
-
get css(): any;
|
|
25
|
-
set css(value: any);
|
|
26
|
-
protected renderCompleted(): JSX.Element | null;
|
|
27
|
-
protected renderCompletedBefore(): JSX.Element;
|
|
28
|
-
protected renderLoading(): JSX.Element;
|
|
29
|
-
protected renderSurvey(): JSX.Element;
|
|
30
|
-
protected renderPage(page: PageModel): JSX.Element;
|
|
31
|
-
protected renderEmptySurvey(): JSX.Element;
|
|
32
|
-
protected createSurvey(newProps: any): void;
|
|
33
|
-
private isModelJSONChanged;
|
|
34
|
-
protected updateSurvey(newProps: any, oldProps?: any): void;
|
|
35
|
-
protected setSurveyEvents(): void;
|
|
36
|
-
createQuestionElement(question: Question): JSX.Element | null;
|
|
37
|
-
renderError(key: string, error: SurveyError, cssClasses: any, element?: any): JSX.Element;
|
|
38
|
-
questionTitleLocation(): string;
|
|
39
|
-
questionErrorLocation(): string;
|
|
40
|
-
}
|
|
41
|
-
export declare function attachKey2click(element: JSX.Element, viewModel?: any, options?: IAttachKey2clickOptions): JSX.Element;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import { SurveyModel } from "survey-core";
|
|
3
|
-
export declare class SurveyNavigationBase extends React.Component<any, any> {
|
|
4
|
-
constructor(props: any);
|
|
5
|
-
protected get survey(): SurveyModel;
|
|
6
|
-
protected get css(): any;
|
|
7
|
-
private updateStateFunction;
|
|
8
|
-
componentDidMount(): void;
|
|
9
|
-
componentWillUnmount(): void;
|
|
10
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { SurveyNavigationBase } from "./reactSurveyNavigationBase";
|
|
3
|
-
export declare class SurveyProgress extends SurveyNavigationBase {
|
|
4
|
-
constructor(props: any);
|
|
5
|
-
protected get isTop(): boolean;
|
|
6
|
-
protected get progress(): number;
|
|
7
|
-
protected get progressText(): string;
|
|
8
|
-
render(): JSX.Element;
|
|
9
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { PageModel } from "survey-core";
|
|
3
|
-
import { SurveyNavigationBase } from "./reactSurveyNavigationBase";
|
|
4
|
-
export declare class SurveyProgressButtons extends SurveyNavigationBase {
|
|
5
|
-
private progressButtonsModel;
|
|
6
|
-
private updateScroller;
|
|
7
|
-
private listContainerRef;
|
|
8
|
-
constructor(props: any);
|
|
9
|
-
render(): JSX.Element;
|
|
10
|
-
protected getListElements(): JSX.Element[];
|
|
11
|
-
protected renderListElement(page: PageModel, index: number): JSX.Element;
|
|
12
|
-
protected isListElementClickable(index: number): boolean;
|
|
13
|
-
protected getListElementCss(index: number): string;
|
|
14
|
-
protected clickListElement(index: number): void;
|
|
15
|
-
protected getScrollButtonCss(isLeftScroll: boolean): string;
|
|
16
|
-
protected clickScrollButton(listContainerElement: Element | null, isLeftScroll: boolean): void;
|
|
17
|
-
componentDidMount(): void;
|
|
18
|
-
componentWillUnmount(): void;
|
|
19
|
-
}
|
|
@@ -1,81 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import { Base, SurveyElement, SurveyError, Question, QuestionMatrixDropdownRenderedCell } from "survey-core";
|
|
3
|
-
import { SurveyElementBase, ReactSurveyElement } from "./reactquestion_element";
|
|
4
|
-
export interface ISurveyCreator {
|
|
5
|
-
createQuestionElement(question: Question): JSX.Element | null;
|
|
6
|
-
renderError(key: string, error: SurveyError, cssClasses: any, element?: any): JSX.Element;
|
|
7
|
-
questionTitleLocation(): string;
|
|
8
|
-
questionErrorLocation(): string;
|
|
9
|
-
}
|
|
10
|
-
export declare class SurveyQuestion extends SurveyElementBase<any, any> {
|
|
11
|
-
private isNeedFocus;
|
|
12
|
-
static renderQuestionBody(creator: ISurveyCreator, question: Question): JSX.Element | any;
|
|
13
|
-
private rootRef;
|
|
14
|
-
constructor(props: any);
|
|
15
|
-
protected getStateElement(): Base;
|
|
16
|
-
protected get question(): Question;
|
|
17
|
-
private get creator();
|
|
18
|
-
componentDidMount(): void;
|
|
19
|
-
componentWillUnmount(): void;
|
|
20
|
-
componentDidUpdate(prevProps: any, prevState: any): void;
|
|
21
|
-
private doAfterRender;
|
|
22
|
-
protected canRender(): boolean;
|
|
23
|
-
protected renderQuestionContent(): JSX.Element;
|
|
24
|
-
protected renderElement(): JSX.Element;
|
|
25
|
-
protected wrapElement(element: JSX.Element): JSX.Element;
|
|
26
|
-
protected wrapQuestionContent(element: JSX.Element): JSX.Element;
|
|
27
|
-
protected renderQuestion(): JSX.Element;
|
|
28
|
-
protected renderDescription(): JSX.Element;
|
|
29
|
-
protected renderComment(cssClasses: any): JSX.Element;
|
|
30
|
-
protected renderHeader(question: Question): JSX.Element;
|
|
31
|
-
protected renderErrors(cssClasses: any, location: string): JSX.Element;
|
|
32
|
-
}
|
|
33
|
-
export declare class SurveyElementErrors extends ReactSurveyElement {
|
|
34
|
-
constructor(props: any);
|
|
35
|
-
protected get id(): string;
|
|
36
|
-
protected get element(): SurveyElement;
|
|
37
|
-
private get creator();
|
|
38
|
-
protected get location(): string;
|
|
39
|
-
private getState;
|
|
40
|
-
protected canRender(): boolean;
|
|
41
|
-
componentWillUnmount(): void;
|
|
42
|
-
protected renderElement(): JSX.Element;
|
|
43
|
-
}
|
|
44
|
-
export declare abstract class SurveyQuestionAndErrorsWrapped extends ReactSurveyElement {
|
|
45
|
-
[index: string]: any;
|
|
46
|
-
constructor(props: any);
|
|
47
|
-
protected getStateElement(): Base;
|
|
48
|
-
protected get question(): Question;
|
|
49
|
-
protected get creator(): ISurveyCreator;
|
|
50
|
-
protected getQuestion(): Question;
|
|
51
|
-
protected get itemCss(): string;
|
|
52
|
-
componentDidMount(): void;
|
|
53
|
-
componentDidUpdate(prevProps: any, prevState: any): void;
|
|
54
|
-
protected doAfterRender(): void;
|
|
55
|
-
protected canRender(): boolean;
|
|
56
|
-
protected renderContent(): JSX.Element;
|
|
57
|
-
protected abstract renderElement(): JSX.Element;
|
|
58
|
-
protected getShowErrors(): boolean;
|
|
59
|
-
protected renderQuestion(): JSX.Element;
|
|
60
|
-
}
|
|
61
|
-
export declare class SurveyQuestionAndErrorsCell extends SurveyQuestionAndErrorsWrapped {
|
|
62
|
-
[index: string]: any;
|
|
63
|
-
protected cellRef: React.RefObject<HTMLTableCellElement>;
|
|
64
|
-
constructor(props: any);
|
|
65
|
-
componentWillUnmount(): void;
|
|
66
|
-
protected renderCellContent(): JSX.Element;
|
|
67
|
-
protected renderElement(): JSX.Element;
|
|
68
|
-
protected getCellStyle(): any;
|
|
69
|
-
protected getHeaderText(): string;
|
|
70
|
-
protected wrapCell(cell: QuestionMatrixDropdownRenderedCell, element: JSX.Element): JSX.Element;
|
|
71
|
-
}
|
|
72
|
-
export declare class SurveyQuestionErrorCell extends React.Component<any, any> {
|
|
73
|
-
constructor(props: any);
|
|
74
|
-
private get question();
|
|
75
|
-
private update;
|
|
76
|
-
private registerCallback;
|
|
77
|
-
private unRegisterCallback;
|
|
78
|
-
componentDidUpdate(prevProps: Readonly<any>): void;
|
|
79
|
-
componentWillUnmount(): void;
|
|
80
|
-
render(): JSX.Element;
|
|
81
|
-
}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { SurveyQuestionElementBase } from "./reactquestion_element";
|
|
3
|
-
import { SurveyElementBase } from "./reactquestion_element";
|
|
4
|
-
import { QuestionButtonGroupModel, ButtonGroupItemValue, ButtonGroupItemModel } from "survey-core";
|
|
5
|
-
export declare class SurveyQuestionButtonGroup extends SurveyQuestionElementBase {
|
|
6
|
-
constructor(props: any);
|
|
7
|
-
protected get question(): QuestionButtonGroupModel;
|
|
8
|
-
getStateElement(): QuestionButtonGroupModel;
|
|
9
|
-
renderElement(): JSX.Element;
|
|
10
|
-
renderItems(): JSX.Element[];
|
|
11
|
-
}
|
|
12
|
-
export declare class SurveyButtonGroupItem extends SurveyElementBase<any, any> {
|
|
13
|
-
model: ButtonGroupItemModel;
|
|
14
|
-
constructor(props: any);
|
|
15
|
-
get index(): number;
|
|
16
|
-
get question(): QuestionButtonGroupModel;
|
|
17
|
-
get item(): ButtonGroupItemValue;
|
|
18
|
-
getStateElement(): ButtonGroupItemValue;
|
|
19
|
-
renderElement(): JSX.Element;
|
|
20
|
-
protected renderIcon(): JSX.Element | null;
|
|
21
|
-
protected renderInput(): JSX.Element;
|
|
22
|
-
protected renderCaption(): JSX.Element | null;
|
|
23
|
-
}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { ReactSurveyElement, SurveyQuestionElementBase } from "./reactquestion_element";
|
|
3
|
-
import { Base, ItemValue, QuestionCheckboxModel } from "survey-core";
|
|
4
|
-
export declare class SurveyQuestionCheckbox extends SurveyQuestionElementBase {
|
|
5
|
-
constructor(props: any);
|
|
6
|
-
protected get question(): QuestionCheckboxModel;
|
|
7
|
-
protected renderElement(): JSX.Element;
|
|
8
|
-
protected getHeader(): JSX.Element[] | undefined;
|
|
9
|
-
protected getFooter(): JSX.Element[] | undefined;
|
|
10
|
-
protected getColumnedBody(cssClasses: any): JSX.Element;
|
|
11
|
-
protected getColumns(cssClasses: any): JSX.Element[];
|
|
12
|
-
protected getBody(cssClasses: any): JSX.Element;
|
|
13
|
-
protected getItems(cssClasses: any, choices: Array<ItemValue>): Array<any>;
|
|
14
|
-
protected get textStyle(): any;
|
|
15
|
-
protected renderOther(): JSX.Element;
|
|
16
|
-
protected renderItem(key: string, item: any, isFirst: boolean, cssClasses: any, index?: string): JSX.Element;
|
|
17
|
-
}
|
|
18
|
-
export declare class SurveyQuestionCheckboxItem extends ReactSurveyElement {
|
|
19
|
-
constructor(props: any);
|
|
20
|
-
protected getStateElement(): Base;
|
|
21
|
-
protected get question(): QuestionCheckboxModel;
|
|
22
|
-
protected get item(): ItemValue;
|
|
23
|
-
protected get textStyle(): any;
|
|
24
|
-
protected get isFirst(): any;
|
|
25
|
-
protected get index(): number;
|
|
26
|
-
private get hideCaption();
|
|
27
|
-
shouldComponentUpdate(nextProps: any, nextState: any): boolean;
|
|
28
|
-
handleOnChange: (event: any) => void;
|
|
29
|
-
protected canRender(): boolean;
|
|
30
|
-
protected renderElement(): JSX.Element;
|
|
31
|
-
protected get inputStyle(): any;
|
|
32
|
-
protected renderCheckbox(isChecked: boolean, otherItem: JSX.Element | null): JSX.Element;
|
|
33
|
-
}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { ReactSurveyElement, SurveyQuestionUncontrolledElement } from "./reactquestion_element";
|
|
3
|
-
import { QuestionCommentModel } from "survey-core";
|
|
4
|
-
export declare class SurveyQuestionComment extends SurveyQuestionUncontrolledElement<QuestionCommentModel> {
|
|
5
|
-
constructor(props: any);
|
|
6
|
-
protected renderElement(): JSX.Element;
|
|
7
|
-
}
|
|
8
|
-
export declare class SurveyQuestionCommentItem extends ReactSurveyElement {
|
|
9
|
-
private control;
|
|
10
|
-
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
|
-
protected canRender(): boolean;
|
|
16
|
-
protected onCommentChange(event: any): void;
|
|
17
|
-
protected onCommentInput(event: any): void;
|
|
18
|
-
protected getComment(): string;
|
|
19
|
-
protected setComment(value: any): void;
|
|
20
|
-
protected getId(): string;
|
|
21
|
-
protected getPlaceholder(): string;
|
|
22
|
-
protected renderElement(): JSX.Element;
|
|
23
|
-
}
|
|
24
|
-
export declare class SurveyQuestionOtherValueItem extends SurveyQuestionCommentItem {
|
|
25
|
-
protected onCommentChange(event: any): void;
|
|
26
|
-
protected onCommentInput(event: any): void;
|
|
27
|
-
protected getComment(): string;
|
|
28
|
-
protected setComment(value: any): void;
|
|
29
|
-
protected getId(): string;
|
|
30
|
-
protected getPlaceholder(): string;
|
|
31
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { SurveyQuestionUncontrolledElement } from "./reactquestion_element";
|
|
3
|
-
import { Base, QuestionCustomModel, QuestionCompositeModel } from "survey-core";
|
|
4
|
-
export declare class SurveyQuestionCustom extends SurveyQuestionUncontrolledElement<QuestionCustomModel> {
|
|
5
|
-
constructor(props: any);
|
|
6
|
-
protected getStateElements(): Array<Base>;
|
|
7
|
-
protected renderElement(): JSX.Element;
|
|
8
|
-
}
|
|
9
|
-
export declare class SurveyQuestionComposite extends SurveyQuestionUncontrolledElement<QuestionCompositeModel> {
|
|
10
|
-
constructor(props: any);
|
|
11
|
-
protected canRender(): boolean;
|
|
12
|
-
protected renderElement(): JSX.Element;
|
|
13
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { Question } from "survey-core";
|
|
3
|
-
import { SurveyQuestionDropdownBase } from "./dropdown-base";
|
|
4
|
-
export declare class SurveyQuestionDropdown extends SurveyQuestionDropdownBase<Question> {
|
|
5
|
-
constructor(props: any);
|
|
6
|
-
protected renderElement(): JSX.Element;
|
|
7
|
-
}
|