survey-react-ui 1.12.26 → 1.12.28
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 +2 -2
- package/survey-react-ui.js +35 -25
- package/survey-react-ui.js.map +1 -1
- package/survey-react-ui.min.js +4 -4
- package/survey-react-ui.min.js.LICENSE.txt +1 -489
- package/typings/packages/survey-react-ui/src/reactquestion_element.d.ts +3 -0
- 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/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
|
@@ -1,6 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,42 +0,0 @@
|
|
|
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
|
-
getTarget?: (container: HTMLElement) => HTMLElement;
|
|
7
|
-
getArea?: (container: HTMLElement) => HTMLElement;
|
|
8
|
-
}
|
|
9
|
-
export declare class Popup extends SurveyElementBase<IPopupProps, any> {
|
|
10
|
-
private popup;
|
|
11
|
-
private containerRef;
|
|
12
|
-
constructor(props: IPopupProps);
|
|
13
|
-
get model(): PopupModel;
|
|
14
|
-
protected getStateElement(): Base;
|
|
15
|
-
private createModel;
|
|
16
|
-
private setTargetElement;
|
|
17
|
-
componentDidMount(): void;
|
|
18
|
-
componentDidUpdate(prevProps: any, prevState: any): void;
|
|
19
|
-
componentWillUnmount(): void;
|
|
20
|
-
shouldComponentUpdate(nextProps: IPopupProps, nextState: any): boolean;
|
|
21
|
-
render(): JSX.Element;
|
|
22
|
-
}
|
|
23
|
-
export declare class PopupContainer extends SurveyElementBase<any, any> {
|
|
24
|
-
constructor(props: any);
|
|
25
|
-
handleKeydown: (event: any) => void;
|
|
26
|
-
get model(): PopupBaseViewModel;
|
|
27
|
-
protected getStateElement(): Base;
|
|
28
|
-
clickInside: (ev: any) => void;
|
|
29
|
-
componentDidUpdate(prevProps: any, prevState: any): void;
|
|
30
|
-
renderContainer(popupBaseViewModel: PopupBaseViewModel): JSX.Element;
|
|
31
|
-
renderHeaderContent(): JSX.Element;
|
|
32
|
-
renderContent(): JSX.Element;
|
|
33
|
-
protected renderHeaderPopup(popupModel: PopupBaseViewModel): JSX.Element | null;
|
|
34
|
-
protected renderFooter(popuModel: PopupBaseViewModel): JSX.Element | null;
|
|
35
|
-
render(): JSX.Element;
|
|
36
|
-
}
|
|
37
|
-
export declare class PopupDropdownContainer extends PopupContainer {
|
|
38
|
-
protected renderHeaderPopup(popupModel: PopupBaseViewModel): JSX.Element | null;
|
|
39
|
-
}
|
|
40
|
-
export declare function showModal(componentName: string, data: any, onApply: () => boolean, onCancel?: () => void, cssClass?: string, title?: string, displayMode?: "popup" | "overlay"): PopupBaseViewModel;
|
|
41
|
-
export declare function showDialog(dialogOptions: IDialogOptions, rootElement?: HTMLElement): PopupBaseViewModel;
|
|
42
|
-
export {};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { SurveyError } from "survey-core";
|
|
3
|
-
export interface IQuestionErrorComponentProps {
|
|
4
|
-
error: SurveyError;
|
|
5
|
-
cssClasses: any;
|
|
6
|
-
element: any;
|
|
7
|
-
}
|
|
8
|
-
export declare class QuestionErrorComponent extends React.Component<IQuestionErrorComponentProps, any> {
|
|
9
|
-
render(): JSX.Element | null;
|
|
10
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
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,22 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { Base, 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 RatingItemBase extends SurveyElementBase<IRatingItemProps, any> {
|
|
12
|
-
constructor(props: any);
|
|
13
|
-
get question(): QuestionRatingModel;
|
|
14
|
-
get item(): RenderedRatingItem;
|
|
15
|
-
get index(): any;
|
|
16
|
-
getStateElement(): Base;
|
|
17
|
-
handleOnMouseDown(event: any): void;
|
|
18
|
-
}
|
|
19
|
-
export declare class RatingItem extends RatingItemBase {
|
|
20
|
-
render(): JSX.Element | null;
|
|
21
|
-
componentDidMount(): void;
|
|
22
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
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 {};
|
|
@@ -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
|
-
}
|