survey-react-ui 1.12.61 → 1.12.62
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +2 -2
- package/survey-react-ui.js +4 -4
- package/survey-react-ui.js.map +1 -1
- package/survey-react-ui.min.js +4 -4
- package/fesm/survey-react-ui.mjs +0 -6429
- package/fesm/survey-react-ui.mjs.map +0 -1
- package/index.html +0 -23
- package/survey-react-ui.min.js.LICENSE.txt +0 -15
- package/typings/entries/index.d.ts +0 -2
- package/typings/entries/react-ui-model.d.ts +0 -92
- package/typings/src/boolean-checkbox.d.ts +0 -6
- package/typings/src/boolean-radio.d.ts +0 -7
- package/typings/src/boolean.d.ts +0 -17
- package/typings/src/buttongroup-dropdown.d.ts +0 -7
- package/typings/src/components/action-bar/action-bar-item-dropdown.d.ts +0 -9
- package/typings/src/components/action-bar/action-bar-item.d.ts +0 -24
- package/typings/src/components/action-bar/action-bar-separator.d.ts +0 -5
- package/typings/src/components/action-bar/action-bar.d.ts +0 -21
- package/typings/src/components/brand-info.d.ts +0 -4
- package/typings/src/components/breadcrumbs/breadcrumbs.d.ts +0 -15
- package/typings/src/components/character-counter.d.ts +0 -11
- package/typings/src/components/components-container.d.ts +0 -4
- package/typings/src/components/file/file-choose-button.d.ts +0 -8
- package/typings/src/components/file/file-item.d.ts +0 -13
- package/typings/src/components/file/file-page.d.ts +0 -11
- package/typings/src/components/file/file-preview.d.ts +0 -11
- package/typings/src/components/header.d.ts +0 -24
- package/typings/src/components/list/list-item-content.d.ts +0 -14
- package/typings/src/components/list/list-item-group.d.ts +0 -14
- package/typings/src/components/list/list-item.d.ts +0 -18
- package/typings/src/components/list/list.d.ts +0 -23
- package/typings/src/components/loading-indicator.d.ts +0 -4
- package/typings/src/components/matrix/row.d.ts +0 -20
- package/typings/src/components/matrix-actions/detail-button/detail-button.d.ts +0 -12
- package/typings/src/components/matrix-actions/drag-drop-icon/drag-drop-icon.d.ts +0 -8
- package/typings/src/components/matrix-actions/remove-button/remove-button.d.ts +0 -9
- package/typings/src/components/notifier.d.ts +0 -11
- package/typings/src/components/paneldynamic-actions/paneldynamic-add-btn.d.ts +0 -12
- package/typings/src/components/paneldynamic-actions/paneldynamic-next-btn.d.ts +0 -6
- package/typings/src/components/paneldynamic-actions/paneldynamic-prev-btn.d.ts +0 -6
- package/typings/src/components/paneldynamic-actions/paneldynamic-progress-text.d.ts +0 -5
- package/typings/src/components/paneldynamic-actions/paneldynamic-remove-btn.d.ts +0 -6
- package/typings/src/components/popup/popup-modal.d.ts +0 -22
- package/typings/src/components/popup/popup.d.ts +0 -39
- package/typings/src/components/question-error.d.ts +0 -10
- package/typings/src/components/rating/rating-dropdown-item.d.ts +0 -12
- package/typings/src/components/rating/rating-item-smiley.d.ts +0 -5
- package/typings/src/components/rating/rating-item-star.d.ts +0 -5
- package/typings/src/components/rating/rating-item.d.ts +0 -22
- package/typings/src/components/scroll.d.ts +0 -15
- package/typings/src/components/skeleton.d.ts +0 -4
- package/typings/src/components/slider/slider-label-item.d.ts +0 -10
- package/typings/src/components/survey-actions/survey-nav-button.d.ts +0 -8
- package/typings/src/components/survey-header/logo-image.d.ts +0 -11
- package/typings/src/components/survey-header/survey-header.d.ts +0 -17
- package/typings/src/components/svg-icon/svg-icon.d.ts +0 -9
- package/typings/src/components/text-area.d.ts +0 -17
- package/typings/src/components/title/title-actions.d.ts +0 -8
- package/typings/src/components/title/title-content.d.ts +0 -10
- package/typings/src/components/title/title-element.d.ts +0 -7
- package/typings/src/custom-widget.d.ts +0 -12
- package/typings/src/dropdown-base.d.ts +0 -27
- package/typings/src/dropdown-item.d.ts +0 -14
- package/typings/src/dropdown-select.d.ts +0 -7
- package/typings/src/element-factory.d.ts +0 -8
- package/typings/src/element-header.d.ts +0 -8
- package/typings/src/element.d.ts +0 -19
- package/typings/src/flow-panel.d.ts +0 -22
- package/typings/src/image.d.ts +0 -10
- package/typings/src/imagepicker.d.ts +0 -25
- package/typings/src/page.d.ts +0 -11
- package/typings/src/panel-base.d.ts +0 -25
- package/typings/src/panel.d.ts +0 -16
- package/typings/src/progress.d.ts +0 -10
- package/typings/src/progressButtons.d.ts +0 -20
- package/typings/src/progressToc.d.ts +0 -6
- package/typings/src/rating-dropdown.d.ts +0 -8
- package/typings/src/react-popup-survey.d.ts +0 -24
- package/typings/src/reactSurvey.d.ts +0 -39
- package/typings/src/reactSurveyNavigationBase.d.ts +0 -10
- package/typings/src/reactquestion.d.ts +0 -84
- package/typings/src/reactquestion_buttongroup.d.ts +0 -23
- package/typings/src/reactquestion_checkbox.d.ts +0 -16
- package/typings/src/reactquestion_comment.d.ts +0 -30
- package/typings/src/reactquestion_custom.d.ts +0 -13
- package/typings/src/reactquestion_dropdown.d.ts +0 -7
- package/typings/src/reactquestion_element.d.ts +0 -73
- package/typings/src/reactquestion_empty.d.ts +0 -8
- package/typings/src/reactquestion_expression.d.ts +0 -8
- package/typings/src/reactquestion_factory.d.ts +0 -7
- package/typings/src/reactquestion_file.d.ts +0 -12
- package/typings/src/reactquestion_html.d.ts +0 -13
- package/typings/src/reactquestion_imagemap.d.ts +0 -10
- package/typings/src/reactquestion_matrix.d.ts +0 -33
- package/typings/src/reactquestion_matrixdropdown.d.ts +0 -4
- package/typings/src/reactquestion_matrixdropdownbase.d.ts +0 -31
- package/typings/src/reactquestion_matrixdynamic.d.ts +0 -25
- package/typings/src/reactquestion_multipletext.d.ts +0 -22
- package/typings/src/reactquestion_paneldynamic.d.ts +0 -30
- package/typings/src/reactquestion_radiogroup.d.ts +0 -21
- package/typings/src/reactquestion_ranking.d.ts +0 -30
- package/typings/src/reactquestion_rating.d.ts +0 -10
- package/typings/src/reactquestion_selectbase.d.ts +0 -42
- package/typings/src/reactquestion_singleinputsummary.d.ts +0 -12
- package/typings/src/reactquestion_slider.d.ts +0 -16
- package/typings/src/reactquestion_tagbox.d.ts +0 -9
- package/typings/src/reactquestion_text.d.ts +0 -11
- package/typings/src/reactsurveymodel.d.ts +0 -8
- package/typings/src/reacttimerpanel.d.ts +0 -11
- package/typings/src/row.d.ts +0 -22
- package/typings/src/signaturepad.d.ts +0 -11
- package/typings/src/string-editor.d.ts +0 -11
- package/typings/src/string-viewer.d.ts +0 -16
- package/typings/src/svgbundle.d.ts +0 -9
- package/typings/src/tagbox-filter.d.ts +0 -23
- package/typings/src/tagbox-item.d.ts +0 -10
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import { QuestionCheckboxModel } from "survey-core";
|
|
3
|
-
import { SurveyQuestionSelectBaseItem, SurveyQuestionSelectbase } from "./reactquestion_selectbase";
|
|
4
|
-
export declare class SurveyQuestionCheckbox extends SurveyQuestionSelectbase {
|
|
5
|
-
constructor(props: any);
|
|
6
|
-
protected get question(): QuestionCheckboxModel;
|
|
7
|
-
protected renderHeader(): React.JSX.Element | null;
|
|
8
|
-
protected getHeader(): React.JSX.Element[];
|
|
9
|
-
}
|
|
10
|
-
export declare class SurveyQuestionCheckboxItem extends SurveyQuestionSelectBaseItem {
|
|
11
|
-
constructor(props: any);
|
|
12
|
-
protected doOnItemChange(event: any): void;
|
|
13
|
-
protected renderElementContent(): React.JSX.Element;
|
|
14
|
-
protected get inputStyle(): any;
|
|
15
|
-
protected renderCheckbox(isChecked: boolean): React.JSX.Element;
|
|
16
|
-
}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import { IReactSurveyElementProps, ReactSurveyElement, SurveyQuestionUncontrolledElement } from "./reactquestion_element";
|
|
3
|
-
import { ItemValue, Question, QuestionCommentModel, TextAreaModel } from "survey-core";
|
|
4
|
-
export declare class SurveyQuestionComment extends SurveyQuestionUncontrolledElement<QuestionCommentModel> {
|
|
5
|
-
private renderCharacterCounter;
|
|
6
|
-
constructor(props: any);
|
|
7
|
-
protected renderElement(): React.JSX.Element;
|
|
8
|
-
}
|
|
9
|
-
export interface ISurveyQuestionCommentItemProps extends IReactSurveyElementProps {
|
|
10
|
-
question: Question;
|
|
11
|
-
}
|
|
12
|
-
export declare class SurveyQuestionCommentItem<P extends ISurveyQuestionCommentItemProps = ISurveyQuestionCommentItemProps> extends ReactSurveyElement<P> {
|
|
13
|
-
private textAreaModel;
|
|
14
|
-
constructor(props: {
|
|
15
|
-
question: Question;
|
|
16
|
-
});
|
|
17
|
-
protected canRender(): boolean;
|
|
18
|
-
protected getTextAreaModel(): TextAreaModel;
|
|
19
|
-
protected renderElement(): React.JSX.Element;
|
|
20
|
-
protected getKey(): number;
|
|
21
|
-
}
|
|
22
|
-
export interface ISurveyQuestionCommentValueItemProps extends ISurveyQuestionCommentItemProps {
|
|
23
|
-
question: Question;
|
|
24
|
-
item: ItemValue;
|
|
25
|
-
}
|
|
26
|
-
export declare class SurveyQuestionCommentValueItem extends SurveyQuestionCommentItem<ISurveyQuestionCommentValueItemProps> {
|
|
27
|
-
constructor(props: ISurveyQuestionCommentValueItemProps);
|
|
28
|
-
protected getTextAreaModel(): TextAreaModel;
|
|
29
|
-
protected getKey(): number;
|
|
30
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import * as React from "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(): React.JSX.Element;
|
|
8
|
-
}
|
|
9
|
-
export declare class SurveyQuestionComposite extends SurveyQuestionUncontrolledElement<QuestionCompositeModel> {
|
|
10
|
-
constructor(props: any);
|
|
11
|
-
protected canRender(): boolean;
|
|
12
|
-
protected renderElement(): React.JSX.Element;
|
|
13
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import * as React from "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(): React.JSX.Element;
|
|
7
|
-
}
|
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import { Base, PanelModel, LocalizableString, Question } from "survey-core";
|
|
3
|
-
import { ISurveyCreator } from "./reactquestion";
|
|
4
|
-
export declare class SurveyElementBase<P, S> extends React.Component<P, S> {
|
|
5
|
-
static renderLocString(locStr: LocalizableString, style?: any, key?: string): React.JSX.Element;
|
|
6
|
-
static renderQuestionDescription(question: Question | PanelModel): React.JSX.Element;
|
|
7
|
-
private changedStatePropNameValue;
|
|
8
|
-
constructor(props: any);
|
|
9
|
-
componentDidMount(): void;
|
|
10
|
-
componentWillUnmount(): void;
|
|
11
|
-
componentDidUpdate(prevProps: any, prevState: any): void;
|
|
12
|
-
private _allowComponentUpdate;
|
|
13
|
-
protected allowComponentUpdate(): void;
|
|
14
|
-
protected denyComponentUpdate(): void;
|
|
15
|
-
private prevStateElements;
|
|
16
|
-
shouldComponentUpdate(nextProps: any, nextState: any): boolean;
|
|
17
|
-
render(): React.JSX.Element | null;
|
|
18
|
-
protected wrapElement(element: React.JSX.Element): React.JSX.Element;
|
|
19
|
-
protected get isRendering(): boolean;
|
|
20
|
-
protected getRenderedElements(): Base[];
|
|
21
|
-
private startEndRendering;
|
|
22
|
-
protected canRender(): boolean;
|
|
23
|
-
protected renderElement(): React.JSX.Element | null;
|
|
24
|
-
protected get changedStatePropName(): string | undefined;
|
|
25
|
-
private makeBaseElementsReact;
|
|
26
|
-
private unMakeBaseElementsReact;
|
|
27
|
-
private unMakeBaseElementsReactive;
|
|
28
|
-
protected disableStateElementsRerenderEvent(els: Array<Base>): void;
|
|
29
|
-
protected getStateElements(): Array<Base>;
|
|
30
|
-
protected getStateElement(): Base | null;
|
|
31
|
-
protected get isDisplayMode(): boolean;
|
|
32
|
-
protected renderLocString(locStr: LocalizableString, style?: any, key?: string): React.JSX.Element;
|
|
33
|
-
private canMakeReact;
|
|
34
|
-
private propertyValueChangedHandler;
|
|
35
|
-
private onArrayChangedCallback;
|
|
36
|
-
private makeBaseElementReact;
|
|
37
|
-
protected canUsePropInState(key: string): boolean;
|
|
38
|
-
private unMakeBaseElementReact;
|
|
39
|
-
}
|
|
40
|
-
export interface IReactSurveyElementProps {
|
|
41
|
-
cssClasses: any;
|
|
42
|
-
}
|
|
43
|
-
export declare class ReactSurveyElement<P extends IReactSurveyElementProps = any, S = any> extends SurveyElementBase<P, S> {
|
|
44
|
-
constructor(props: any);
|
|
45
|
-
protected get cssClasses(): any;
|
|
46
|
-
}
|
|
47
|
-
export declare class SurveyQuestionElementBase extends SurveyElementBase<any, any> {
|
|
48
|
-
control: HTMLElement;
|
|
49
|
-
content: HTMLElement;
|
|
50
|
-
constructor(props: any);
|
|
51
|
-
componentDidUpdate(prevProps: any, prevState: any): void;
|
|
52
|
-
componentDidMount(): void;
|
|
53
|
-
componentWillUnmount(): void;
|
|
54
|
-
protected updateDomElement(): void;
|
|
55
|
-
protected get questionBase(): Question;
|
|
56
|
-
protected getRenderedElements(): Base[];
|
|
57
|
-
protected get creator(): ISurveyCreator;
|
|
58
|
-
protected canRender(): boolean;
|
|
59
|
-
shouldComponentUpdate(nextProps: any, nextState: any): boolean;
|
|
60
|
-
protected get isDisplayMode(): boolean;
|
|
61
|
-
protected wrapCell(cell: any, element: React.JSX.Element, reason: string): React.JSX.Element;
|
|
62
|
-
setControl(element: HTMLElement | null): void;
|
|
63
|
-
setContent(element: HTMLElement | null): void;
|
|
64
|
-
}
|
|
65
|
-
export declare class SurveyQuestionUncontrolledElement<T extends Question> extends SurveyQuestionElementBase {
|
|
66
|
-
constructor(props: any);
|
|
67
|
-
protected get question(): T;
|
|
68
|
-
updateValueOnEvent: (event: any) => void;
|
|
69
|
-
protected setValueCore(newValue: any): void;
|
|
70
|
-
protected getValueCore(): any;
|
|
71
|
-
protected updateDomElement(): void;
|
|
72
|
-
private getValue;
|
|
73
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import { SurveyQuestionElementBase } from "./reactquestion_element";
|
|
3
|
-
import { QuestionEmptyModel } from "survey-core";
|
|
4
|
-
export declare class SurveyQuestionEmpty extends SurveyQuestionElementBase {
|
|
5
|
-
constructor(props: any);
|
|
6
|
-
protected get question(): QuestionEmptyModel;
|
|
7
|
-
protected renderElement(): React.JSX.Element;
|
|
8
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import { SurveyQuestionElementBase } from "./reactquestion_element";
|
|
3
|
-
import { QuestionExpressionModel } from "survey-core";
|
|
4
|
-
export declare class SurveyQuestionExpression extends SurveyQuestionElementBase {
|
|
5
|
-
constructor(props: any);
|
|
6
|
-
protected get question(): QuestionExpressionModel;
|
|
7
|
-
protected renderElement(): React.JSX.Element;
|
|
8
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
export declare class ReactQuestionFactory {
|
|
2
|
-
static Instance: ReactQuestionFactory;
|
|
3
|
-
private creatorHash;
|
|
4
|
-
registerQuestion(questionType: string, questionCreator: (name: string) => React.JSX.Element): void;
|
|
5
|
-
getAllTypes(): Array<string>;
|
|
6
|
-
createQuestion(questionType: string, params: any): React.JSX.Element | null;
|
|
7
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import { QuestionFileModel } from "survey-core";
|
|
3
|
-
import { SurveyQuestionElementBase } from "./reactquestion_element";
|
|
4
|
-
export declare class SurveyQuestionFile extends SurveyQuestionElementBase {
|
|
5
|
-
constructor(props: any);
|
|
6
|
-
protected get question(): QuestionFileModel;
|
|
7
|
-
protected renderElement(): React.JSX.Element;
|
|
8
|
-
protected renderFileDecorator(): React.JSX.Element;
|
|
9
|
-
protected renderPreview(): React.JSX.Element;
|
|
10
|
-
protected renderLoadingIndicator(): React.JSX.Element;
|
|
11
|
-
protected renderVideo(): React.JSX.Element;
|
|
12
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import { SurveyQuestionElementBase } from "./reactquestion_element";
|
|
3
|
-
import { QuestionHtmlModel } from "survey-core";
|
|
4
|
-
export declare class SurveyQuestionHtml extends SurveyQuestionElementBase {
|
|
5
|
-
constructor(props: any);
|
|
6
|
-
protected get question(): QuestionHtmlModel;
|
|
7
|
-
componentDidMount(): void;
|
|
8
|
-
componentWillUnmount(): void;
|
|
9
|
-
componentDidUpdate(prevProps: any, prevState: any): void;
|
|
10
|
-
private reactOnStrChanged;
|
|
11
|
-
protected canRender(): boolean;
|
|
12
|
-
protected renderElement(): React.JSX.Element;
|
|
13
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import { SurveyQuestionElementBase } from "./reactquestion_element";
|
|
3
|
-
import { QuestionImageMapModel } from "survey-core";
|
|
4
|
-
export declare class SurveyQuestionImageMap extends SurveyQuestionElementBase {
|
|
5
|
-
constructor(props: any);
|
|
6
|
-
protected get question(): QuestionImageMapModel;
|
|
7
|
-
componentDidMount(): void;
|
|
8
|
-
componentWillUnmount(): void;
|
|
9
|
-
renderElement(): React.JSX.Element;
|
|
10
|
-
}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import { ReactSurveyElement, SurveyQuestionElementBase } from "./reactquestion_element";
|
|
3
|
-
import { QuestionMatrixModel, Base } from "survey-core";
|
|
4
|
-
export declare class SurveyQuestionMatrix extends SurveyQuestionElementBase {
|
|
5
|
-
constructor(props: any);
|
|
6
|
-
protected get question(): QuestionMatrixModel;
|
|
7
|
-
componentDidMount(): void;
|
|
8
|
-
componentWillUnmount(): void;
|
|
9
|
-
protected renderElement(): React.JSX.Element;
|
|
10
|
-
}
|
|
11
|
-
export declare class SurveyQuestionMatrixRow extends ReactSurveyElement {
|
|
12
|
-
constructor(props: any);
|
|
13
|
-
protected getStateElement(): Base | null;
|
|
14
|
-
private get question();
|
|
15
|
-
private get row();
|
|
16
|
-
protected wrapCell(cell: any, element: React.JSX.Element, reason: string): React.JSX.Element;
|
|
17
|
-
protected canRender(): boolean;
|
|
18
|
-
protected renderElement(): React.JSX.Element;
|
|
19
|
-
generateTds(): Array<React.JSX.Element>;
|
|
20
|
-
cellClick(row: any, column: any): void;
|
|
21
|
-
}
|
|
22
|
-
export declare class SurveyQuestionMatrixCell extends ReactSurveyElement {
|
|
23
|
-
constructor(props: any);
|
|
24
|
-
handleOnChange(event: any): void;
|
|
25
|
-
handleOnMouseDown(event: any): void;
|
|
26
|
-
private get question();
|
|
27
|
-
private get row();
|
|
28
|
-
private get column();
|
|
29
|
-
private get columnIndex();
|
|
30
|
-
protected canRender(): boolean;
|
|
31
|
-
protected renderElement(): React.JSX.Element;
|
|
32
|
-
protected renderInput(inputId: string, isChecked: boolean): React.JSX.Element;
|
|
33
|
-
}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import { SurveyQuestionElementBase } from "./reactquestion_element";
|
|
3
|
-
import { SurveyQuestionAndErrorsCell } from "./reactquestion";
|
|
4
|
-
import { QuestionMatrixDropdownModelBase, Question } from "survey-core";
|
|
5
|
-
export declare class SurveyQuestionMatrixDropdownBase extends SurveyQuestionElementBase {
|
|
6
|
-
constructor(props: any);
|
|
7
|
-
protected get question(): QuestionMatrixDropdownModelBase;
|
|
8
|
-
private getState;
|
|
9
|
-
private updateStateOnCallback;
|
|
10
|
-
componentDidMount(): void;
|
|
11
|
-
componentWillUnmount(): void;
|
|
12
|
-
protected renderElement(): React.JSX.Element;
|
|
13
|
-
renderTableDiv(): React.JSX.Element;
|
|
14
|
-
}
|
|
15
|
-
export declare class SurveyQuestionMatrixDropdownCell extends SurveyQuestionAndErrorsCell {
|
|
16
|
-
constructor(props: any);
|
|
17
|
-
private get cell();
|
|
18
|
-
protected get itemCss(): string;
|
|
19
|
-
protected getQuestion(): Question | any;
|
|
20
|
-
protected doAfterRender(): void;
|
|
21
|
-
protected getShowErrors(): boolean;
|
|
22
|
-
protected getCellStyle(): any;
|
|
23
|
-
protected getHeaderText(): string;
|
|
24
|
-
protected renderElement(): React.JSX.Element | null;
|
|
25
|
-
protected renderCellContent(): React.JSX.Element;
|
|
26
|
-
protected renderQuestion(): React.JSX.Element;
|
|
27
|
-
private renderOtherComment;
|
|
28
|
-
private renderCellCheckboxButton;
|
|
29
|
-
private renderCellRadiogroupButton;
|
|
30
|
-
private getCellAriaLabel;
|
|
31
|
-
}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import { SurveyQuestionMatrixDropdownBase } from "./reactquestion_matrixdropdownbase";
|
|
3
|
-
import { Question, QuestionMatrixDynamicModel } from "survey-core";
|
|
4
|
-
import { ReactSurveyElement } from "./reactquestion_element";
|
|
5
|
-
export declare class SurveyQuestionMatrixDynamic extends SurveyQuestionMatrixDropdownBase {
|
|
6
|
-
constructor(props: any);
|
|
7
|
-
protected get matrix(): QuestionMatrixDynamicModel;
|
|
8
|
-
handleOnRowAddClick(event: any): void;
|
|
9
|
-
protected renderElement(): React.JSX.Element;
|
|
10
|
-
protected renderAddRowButtonOnTop(cssClasses: any): React.JSX.Element | null;
|
|
11
|
-
protected renderAddRowButtonOnBottom(cssClasses: any): React.JSX.Element | null;
|
|
12
|
-
protected renderNoRowsContent(cssClasses: any): React.JSX.Element;
|
|
13
|
-
protected renderAddRowButton(cssClasses: any, isEmptySection?: boolean): React.JSX.Element;
|
|
14
|
-
}
|
|
15
|
-
export declare class SurveyQuestionMatrixDynamicAddButton extends ReactSurveyElement {
|
|
16
|
-
constructor(props: any);
|
|
17
|
-
protected get matrix(): QuestionMatrixDynamicModel;
|
|
18
|
-
handleOnRowAddClick(event: any): void;
|
|
19
|
-
protected renderElement(): React.JSX.Element;
|
|
20
|
-
}
|
|
21
|
-
export declare class SurveyQuestionMatrixDynamicPlaceholder extends ReactSurveyElement {
|
|
22
|
-
constructor(props: any);
|
|
23
|
-
protected renderElement(): React.JSX.Element;
|
|
24
|
-
protected renderAddRowButton(cssClasses: any, question: Question): React.JSX.Element;
|
|
25
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import { SurveyQuestionElementBase } from "./reactquestion_element";
|
|
3
|
-
import { SurveyQuestionAndErrorsWrapped } from "./reactquestion";
|
|
4
|
-
import { QuestionMultipleTextModel, MultipleTextItemModel, MultipleTextCell } from "survey-core";
|
|
5
|
-
import { ReactSurveyElement } from "./reactquestion_element";
|
|
6
|
-
export declare class SurveyQuestionMultipleText extends SurveyQuestionElementBase {
|
|
7
|
-
constructor(props: any);
|
|
8
|
-
protected get question(): QuestionMultipleTextModel;
|
|
9
|
-
protected renderElement(): React.JSX.Element;
|
|
10
|
-
protected renderCell(cell: MultipleTextCell, cssClasses: any, index: number): React.JSX.Element;
|
|
11
|
-
protected renderRow(rowIndex: number, cells: Array<MultipleTextCell>, cssClasses: any): React.JSX.Element;
|
|
12
|
-
}
|
|
13
|
-
export declare class SurveyMultipleTextItem extends ReactSurveyElement {
|
|
14
|
-
private get question();
|
|
15
|
-
private get item();
|
|
16
|
-
protected getStateElements(): (MultipleTextItemModel | import("survey-core").MultipleTextEditorModel)[];
|
|
17
|
-
private get creator();
|
|
18
|
-
protected renderElement(): React.JSX.Element;
|
|
19
|
-
}
|
|
20
|
-
export declare class SurveyMultipleTextItemEditor extends SurveyQuestionAndErrorsWrapped {
|
|
21
|
-
protected renderElement(): React.JSX.Element;
|
|
22
|
-
}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import { SurveyQuestionElementBase } from "./reactquestion_element";
|
|
3
|
-
import { SurveyModel, Question, QuestionPanelDynamicModel } from "survey-core";
|
|
4
|
-
import { SurveyPanel } from "./panel";
|
|
5
|
-
import { ReactSurveyElement } from "./reactquestion_element";
|
|
6
|
-
export declare class SurveyQuestionPanelDynamic extends SurveyQuestionElementBase {
|
|
7
|
-
constructor(props: any);
|
|
8
|
-
protected get question(): QuestionPanelDynamicModel;
|
|
9
|
-
componentDidMount(): void;
|
|
10
|
-
componentWillUnmount(): void;
|
|
11
|
-
private updateQuestionRendering;
|
|
12
|
-
protected renderElement(): React.JSX.Element;
|
|
13
|
-
protected renderRange(): React.JSX.Element;
|
|
14
|
-
protected renderAddRowButton(): React.JSX.Element | null;
|
|
15
|
-
protected renderNavigatorV2(): React.JSX.Element | null;
|
|
16
|
-
protected renderPlaceholder(cssClasses: any): React.JSX.Element | null;
|
|
17
|
-
}
|
|
18
|
-
export declare class SurveyQuestionPanelDynamicItem extends SurveyPanel {
|
|
19
|
-
private get question();
|
|
20
|
-
private get index();
|
|
21
|
-
protected getSurvey(): SurveyModel | null;
|
|
22
|
-
protected getCss(): any;
|
|
23
|
-
render(): React.JSX.Element;
|
|
24
|
-
protected renderButton(): React.JSX.Element | null;
|
|
25
|
-
}
|
|
26
|
-
export declare class SurveyQuestionPanelDynamicPlaceholder extends ReactSurveyElement {
|
|
27
|
-
constructor(props: any);
|
|
28
|
-
protected renderElement(): React.JSX.Element;
|
|
29
|
-
protected renderAddRowButton(question: Question): React.JSX.Element;
|
|
30
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import { QuestionRadiogroupModel, ItemValue, Base } from "survey-core";
|
|
3
|
-
import { SurveyQuestionSelectBaseItem, SurveyQuestionSelectbase } from "./reactquestion_selectbase";
|
|
4
|
-
export declare class SurveyQuestionRadiogroup extends SurveyQuestionSelectbase {
|
|
5
|
-
constructor(props: any);
|
|
6
|
-
protected get question(): QuestionRadiogroupModel;
|
|
7
|
-
protected getFooter(): React.JSX.Element | null;
|
|
8
|
-
private renderClearButton;
|
|
9
|
-
protected getStateValue(): any;
|
|
10
|
-
protected isItemChecked(item: ItemValue, value: any): boolean;
|
|
11
|
-
}
|
|
12
|
-
export declare class SurveyQuestionRadioItem extends SurveyQuestionSelectBaseItem {
|
|
13
|
-
constructor(props: any);
|
|
14
|
-
protected getStateElement(): Base;
|
|
15
|
-
protected get question(): QuestionRadiogroupModel;
|
|
16
|
-
protected get isChecked(): boolean;
|
|
17
|
-
protected doOnItemChange(event: any): void;
|
|
18
|
-
handleOnMouseDown(event: any): void;
|
|
19
|
-
protected renderElementContent(): React.JSX.Element;
|
|
20
|
-
protected renderRadioButton(): React.JSX.Element;
|
|
21
|
-
}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import { ReactSurveyElement, SurveyQuestionElementBase } from "./reactquestion_element";
|
|
3
|
-
import { QuestionRankingModel, ItemValue } from "survey-core";
|
|
4
|
-
export declare class SurveyQuestionRanking extends SurveyQuestionElementBase {
|
|
5
|
-
protected get question(): QuestionRankingModel;
|
|
6
|
-
protected renderElement(): React.JSX.Element;
|
|
7
|
-
protected getItems(choices?: any, unrankedItem?: boolean): Array<any>;
|
|
8
|
-
protected renderItem(item: ItemValue, i: number, handleKeydown: (event: any) => void, handlePointerDown: (event: PointerEvent) => void, handlePointerUp: (event: PointerEvent) => void, cssClasses: any, itemClass: string, question: QuestionRankingModel, unrankedItem?: boolean): React.JSX.Element;
|
|
9
|
-
}
|
|
10
|
-
export declare class SurveyQuestionRankingItem extends ReactSurveyElement {
|
|
11
|
-
protected get text(): string;
|
|
12
|
-
protected get index(): string;
|
|
13
|
-
protected get indexText(): string;
|
|
14
|
-
protected get handleKeydown(): (event: any) => void;
|
|
15
|
-
protected get handlePointerDown(): (event: any) => void;
|
|
16
|
-
protected get handlePointerUp(): (event: any) => void;
|
|
17
|
-
protected get cssClasses(): any;
|
|
18
|
-
protected get itemClass(): string;
|
|
19
|
-
protected get itemTabIndex(): number;
|
|
20
|
-
protected get question(): any;
|
|
21
|
-
protected get unrankedItem(): any;
|
|
22
|
-
protected get item(): any;
|
|
23
|
-
protected renderEmptyIcon(): React.JSX.Element;
|
|
24
|
-
protected renderElement(): React.JSX.Element;
|
|
25
|
-
}
|
|
26
|
-
export declare class SurveyQuestionRankingItemContent extends ReactSurveyElement {
|
|
27
|
-
protected get item(): ItemValue;
|
|
28
|
-
protected get cssClasses(): any;
|
|
29
|
-
protected renderElement(): React.JSX.Element;
|
|
30
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import { SurveyQuestionElementBase } from "./reactquestion_element";
|
|
3
|
-
import { QuestionRatingModel } from "survey-core";
|
|
4
|
-
export declare class SurveyQuestionRating extends SurveyQuestionElementBase {
|
|
5
|
-
constructor(props: any);
|
|
6
|
-
protected get question(): QuestionRatingModel;
|
|
7
|
-
handleOnClick(event: any): void;
|
|
8
|
-
protected renderItem(item: any, index: number): React.JSX.Element;
|
|
9
|
-
protected renderElement(): React.JSX.Element;
|
|
10
|
-
}
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import { ReactSurveyElement, SurveyQuestionElementBase } from "./reactquestion_element";
|
|
3
|
-
import { Base, ItemValue, QuestionSelectBase } from "survey-core";
|
|
4
|
-
export declare class SurveyQuestionSelectbase extends SurveyQuestionElementBase {
|
|
5
|
-
constructor(props: any);
|
|
6
|
-
protected get question(): QuestionSelectBase;
|
|
7
|
-
protected renderElement(): React.JSX.Element;
|
|
8
|
-
protected renderHeader(): React.JSX.Element | null;
|
|
9
|
-
protected getFooter(): React.JSX.Element | null;
|
|
10
|
-
protected getStateValue(): any;
|
|
11
|
-
protected isItemChecked(item: ItemValue, value: any): boolean;
|
|
12
|
-
protected getColumnedBody(cssClasses: any): React.JSX.Element;
|
|
13
|
-
protected getColumns(cssClasses: any): React.JSX.Element[];
|
|
14
|
-
protected getBody(cssClasses: any): React.JSX.Element;
|
|
15
|
-
protected getItems(cssClasses: any, choices: Array<ItemValue>): Array<any>;
|
|
16
|
-
protected get textStyle(): any;
|
|
17
|
-
protected renderItem(item: any, isFirst: boolean, cssClasses: any, index?: string, isChecked?: boolean): React.JSX.Element;
|
|
18
|
-
}
|
|
19
|
-
export declare class SurveyQuestionSelectBaseItem extends ReactSurveyElement {
|
|
20
|
-
protected rootRef: React.RefObject<HTMLDivElement>;
|
|
21
|
-
constructor(props: any);
|
|
22
|
-
protected getStateElement(): Base;
|
|
23
|
-
protected get question(): QuestionSelectBase;
|
|
24
|
-
protected get item(): ItemValue;
|
|
25
|
-
protected get textStyle(): any;
|
|
26
|
-
protected get isFirst(): any;
|
|
27
|
-
protected get index(): number;
|
|
28
|
-
protected get hideCaption(): boolean;
|
|
29
|
-
protected get ariaLabel(): string;
|
|
30
|
-
componentDidUpdate(prevProps: any, prevState: any): void;
|
|
31
|
-
shouldComponentUpdate(nextProps: any, nextState: any): boolean;
|
|
32
|
-
handleOnChange: (event: any) => void;
|
|
33
|
-
protected doOnItemChange(event: any): void;
|
|
34
|
-
protected canRender(): boolean;
|
|
35
|
-
protected renderElement(): React.JSX.Element;
|
|
36
|
-
protected renderElementContent(): React.JSX.Element | null;
|
|
37
|
-
protected get inputStyle(): any;
|
|
38
|
-
protected renderComment(): React.JSX.Element | null;
|
|
39
|
-
protected renderPanel(): React.JSX.Element | null;
|
|
40
|
-
componentDidMount(): void;
|
|
41
|
-
componentWillUnmount(): void;
|
|
42
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import { QuestionSingleInputSummary } from "survey-core";
|
|
3
|
-
import { ReactSurveyElement } from "./reactquestion_element";
|
|
4
|
-
export declare class SurveyQuestionSigleInputSummary extends ReactSurveyElement {
|
|
5
|
-
constructor(props: any);
|
|
6
|
-
private get css();
|
|
7
|
-
protected get summary(): QuestionSingleInputSummary;
|
|
8
|
-
protected renderElement(): React.JSX.Element;
|
|
9
|
-
private renderItems;
|
|
10
|
-
private renderNoItems;
|
|
11
|
-
private renderItem;
|
|
12
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import { SurveyQuestionElementBase } from "./reactquestion_element";
|
|
3
|
-
import { Base, QuestionSliderModel } from "survey-core";
|
|
4
|
-
export declare class SurveyQuestionSlider extends SurveyQuestionElementBase {
|
|
5
|
-
constructor(props: any);
|
|
6
|
-
componentDidMount(): void;
|
|
7
|
-
protected get question(): QuestionSliderModel;
|
|
8
|
-
protected getStateElement(): Base;
|
|
9
|
-
protected renderElement(): React.JSX.Element;
|
|
10
|
-
private rangeInputRef;
|
|
11
|
-
private getInputsAndThumbs;
|
|
12
|
-
private getThumb;
|
|
13
|
-
private getInput;
|
|
14
|
-
private getRangeInput;
|
|
15
|
-
private getLabels;
|
|
16
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import { QuestionTagboxModel } from "survey-core";
|
|
3
|
-
import { SurveyQuestionDropdownBase } from "./dropdown-base";
|
|
4
|
-
export declare class SurveyQuestionTagbox extends SurveyQuestionDropdownBase<QuestionTagboxModel> {
|
|
5
|
-
constructor(props: any);
|
|
6
|
-
protected renderItem(key: string, item: any): React.JSX.Element;
|
|
7
|
-
protected renderInput(): React.JSX.Element;
|
|
8
|
-
protected renderElement(): React.JSX.Element;
|
|
9
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import { SurveyQuestionUncontrolledElement } from "./reactquestion_element";
|
|
3
|
-
import { QuestionTextModel } from "survey-core";
|
|
4
|
-
export declare class SurveyQuestionText extends SurveyQuestionUncontrolledElement<QuestionTextModel> {
|
|
5
|
-
constructor(props: any);
|
|
6
|
-
protected renderInput(): React.JSX.Element;
|
|
7
|
-
protected renderElement(): React.JSX.Element;
|
|
8
|
-
protected setValueCore(newValue: any): void;
|
|
9
|
-
protected getValueCore(): any;
|
|
10
|
-
private renderDataList;
|
|
11
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { SurveyModel, QuestionMatrixDropdownRenderedCell, SurveyElement, QuestionRowModel, ItemValue, QuestionSelectBase } from "survey-core";
|
|
2
|
-
export declare class ReactSurveyElementsWrapper {
|
|
3
|
-
static wrapRow(survey: SurveyModel, element: React.JSX.Element, row: QuestionRowModel): React.JSX.Element;
|
|
4
|
-
static wrapElement(survey: SurveyModel, element: React.JSX.Element, question: SurveyElement): React.JSX.Element;
|
|
5
|
-
static wrapQuestionContent(survey: SurveyModel, element: React.JSX.Element, question: SurveyElement): React.JSX.Element;
|
|
6
|
-
static wrapItemValue(survey: SurveyModel, element: React.JSX.Element, question: QuestionSelectBase, item: ItemValue): React.JSX.Element;
|
|
7
|
-
static wrapMatrixCell(survey: SurveyModel, element: React.JSX.Element, cell: QuestionMatrixDropdownRenderedCell, reason?: string): React.JSX.Element;
|
|
8
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import { Base, SurveyTimerModel } from "survey-core";
|
|
3
|
-
import { ReactSurveyElement } from "./reactquestion_element";
|
|
4
|
-
export declare class SurveyTimerPanel extends ReactSurveyElement {
|
|
5
|
-
constructor(props: any);
|
|
6
|
-
protected getStateElement(): Base;
|
|
7
|
-
protected get timerModel(): SurveyTimerModel;
|
|
8
|
-
private readonly circleLength;
|
|
9
|
-
private get progress();
|
|
10
|
-
render(): React.JSX.Element | null;
|
|
11
|
-
}
|
package/typings/src/row.d.ts
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import { IElement, Base } from "survey-core";
|
|
3
|
-
import { SurveyElementBase } from "./reactquestion_element";
|
|
4
|
-
export declare class SurveyRow extends SurveyElementBase<any, any> {
|
|
5
|
-
private rootRef;
|
|
6
|
-
constructor(props: any);
|
|
7
|
-
private recalculateCss;
|
|
8
|
-
protected getStateElement(): Base;
|
|
9
|
-
private get row();
|
|
10
|
-
private get survey();
|
|
11
|
-
private get creator();
|
|
12
|
-
protected get css(): any;
|
|
13
|
-
protected canRender(): boolean;
|
|
14
|
-
protected renderElementContent(): React.JSX.Element;
|
|
15
|
-
protected renderElement(): React.JSX.Element;
|
|
16
|
-
private lazyRenderingTimeout;
|
|
17
|
-
componentDidMount(): void;
|
|
18
|
-
shouldComponentUpdate(nextProps: any, nextState: any): boolean;
|
|
19
|
-
private stopLazyRendering;
|
|
20
|
-
componentWillUnmount(): void;
|
|
21
|
-
protected createElement(element: IElement, elementIndex?: number): React.JSX.Element;
|
|
22
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import { SurveyQuestionElementBase } from "./reactquestion_element";
|
|
3
|
-
import { QuestionSignaturePadModel } from "survey-core";
|
|
4
|
-
export declare class SurveyQuestionSignaturePad extends SurveyQuestionElementBase {
|
|
5
|
-
constructor(props: any);
|
|
6
|
-
protected get question(): QuestionSignaturePadModel;
|
|
7
|
-
protected renderElement(): React.JSX.Element;
|
|
8
|
-
renderBackgroundImage(): React.JSX.Element | null;
|
|
9
|
-
protected renderLoadingIndicator(): React.JSX.Element;
|
|
10
|
-
renderCleanButton(): React.JSX.Element | null;
|
|
11
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
export declare class SurveyLocStringEditor extends React.Component<any, any> {
|
|
3
|
-
constructor(props: any);
|
|
4
|
-
private get locStr();
|
|
5
|
-
private get style();
|
|
6
|
-
componentDidMount(): void;
|
|
7
|
-
componentWillUnmount(): void;
|
|
8
|
-
onInput: (event: any) => void;
|
|
9
|
-
onClick: (event: any) => void;
|
|
10
|
-
render(): React.JSX.Element | null;
|
|
11
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
export declare class SurveyLocStringViewer extends React.Component<any, any> {
|
|
3
|
-
constructor(props: any);
|
|
4
|
-
private rootRef;
|
|
5
|
-
private get locStr();
|
|
6
|
-
private get style();
|
|
7
|
-
private get textClass();
|
|
8
|
-
componentDidMount(): void;
|
|
9
|
-
componentWillUnmount(): void;
|
|
10
|
-
componentDidUpdate(prevProps: any, prevState: any): void;
|
|
11
|
-
private isRendering;
|
|
12
|
-
private onChangedHandler;
|
|
13
|
-
private reactOnStrChanged;
|
|
14
|
-
render(): React.JSX.Element | null;
|
|
15
|
-
protected renderString(): React.JSX.Element;
|
|
16
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
export declare class SvgBundleComponent extends React.Component {
|
|
3
|
-
private containerRef;
|
|
4
|
-
constructor(props: any);
|
|
5
|
-
private onIconsChanged;
|
|
6
|
-
componentDidMount(): void;
|
|
7
|
-
componentWillUnmount(): void;
|
|
8
|
-
render(): React.JSX.Element;
|
|
9
|
-
}
|