survey-js-ui 1.11.7 → 1.11.9
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/README.md +51 -51
- package/package.json +2 -2
- package/survey-js-ui.js +8755 -8738
- package/survey-js-ui.js.map +1 -1
- package/survey-js-ui.min.js +2 -2
- package/typings/entries/core-export.d.ts +3 -3
- package/typings/entries/js-ui.d.ts +7 -7
- package/typings/entries/react-ui-model.d.ts +84 -84
- package/typings/react/boolean-checkbox.d.ts +6 -6
- package/typings/react/boolean-radio.d.ts +8 -8
- package/typings/react/boolean.d.ts +17 -17
- package/typings/react/components/action-bar/action-bar-item-dropdown.d.ts +8 -8
- package/typings/react/components/action-bar/action-bar-item.d.ts +20 -20
- package/typings/react/components/action-bar/action-bar-separator.d.ts +5 -5
- package/typings/react/components/action-bar/action-bar.d.ts +21 -21
- package/typings/react/components/brand-info.d.ts +4 -4
- package/typings/react/components/character-counter.d.ts +11 -11
- package/typings/react/components/components-container.d.ts +4 -4
- package/typings/react/components/file/file-choose-button.d.ts +8 -8
- package/typings/react/components/file/file-preview.d.ts +11 -11
- package/typings/react/components/header.d.ts +22 -22
- package/typings/react/components/list/list-item-content.d.ts +14 -14
- package/typings/react/components/list/list-item-group.d.ts +14 -14
- package/typings/react/components/list/list-item.d.ts +16 -16
- package/typings/react/components/list/list.d.ts +23 -22
- package/typings/react/components/loading-indicator.d.ts +4 -4
- package/typings/react/components/matrix/row.d.ts +20 -20
- package/typings/react/components/matrix-actions/detail-button/detail-button.d.ts +12 -12
- package/typings/react/components/matrix-actions/drag-drop-icon/drag-drop-icon.d.ts +6 -6
- package/typings/react/components/matrix-actions/remove-button/remove-button.d.ts +9 -9
- package/typings/react/components/notifier.d.ts +11 -11
- package/typings/react/components/paneldynamic-actions/paneldynamic-add-btn.d.ts +12 -12
- package/typings/react/components/paneldynamic-actions/paneldynamic-next-btn.d.ts +6 -6
- package/typings/react/components/paneldynamic-actions/paneldynamic-prev-btn.d.ts +6 -6
- package/typings/react/components/paneldynamic-actions/paneldynamic-progress-text.d.ts +5 -5
- package/typings/react/components/paneldynamic-actions/paneldynamic-remove-btn.d.ts +6 -6
- package/typings/react/components/popup/popup.d.ts +42 -42
- package/typings/react/components/question-error.d.ts +10 -10
- package/typings/react/components/rating/rating-dropdown-item.d.ts +12 -12
- package/typings/react/components/rating/rating-item-smiley.d.ts +5 -5
- package/typings/react/components/rating/rating-item-star.d.ts +5 -5
- package/typings/react/components/rating/rating-item.d.ts +22 -22
- package/typings/react/components/skeleton.d.ts +4 -4
- package/typings/react/components/survey-actions/survey-nav-button.d.ts +8 -8
- package/typings/react/components/survey-header/logo-image.d.ts +11 -11
- package/typings/react/components/survey-header/survey-header.d.ts +17 -17
- package/typings/react/components/svg-icon/svg-icon.d.ts +9 -9
- package/typings/react/components/title/title-actions.d.ts +7 -7
- package/typings/react/components/title/title-content.d.ts +10 -10
- package/typings/react/components/title/title-element.d.ts +6 -6
- package/typings/react/custom-widget.d.ts +12 -12
- package/typings/react/dropdown-base.d.ts +25 -25
- package/typings/react/dropdown-item.d.ts +13 -13
- package/typings/react/dropdown-select.d.ts +6 -6
- package/typings/react/element-factory.d.ts +9 -9
- package/typings/react/element-header.d.ts +5 -5
- package/typings/react/element.d.ts +19 -19
- package/typings/react/flow-panel.d.ts +22 -22
- package/typings/react/image.d.ts +10 -10
- package/typings/react/imagepicker.d.ts +25 -25
- package/typings/react/page.d.ts +11 -11
- package/typings/react/panel-base.d.ts +25 -25
- package/typings/react/panel.d.ts +16 -16
- package/typings/react/progress.d.ts +9 -9
- package/typings/react/progressButtons.d.ts +19 -19
- package/typings/react/progressToc.d.ts +5 -5
- package/typings/react/rating-dropdown.d.ts +8 -8
- package/typings/react/react-popup-survey.d.ts +24 -24
- package/typings/react/reactSurvey.d.ts +41 -41
- package/typings/react/reactSurveyNavigationBase.d.ts +10 -10
- package/typings/react/reactquestion.d.ts +81 -81
- package/typings/react/reactquestion_buttongroup.d.ts +23 -23
- package/typings/react/reactquestion_checkbox.d.ts +33 -33
- package/typings/react/reactquestion_comment.d.ts +31 -31
- package/typings/react/reactquestion_custom.d.ts +13 -13
- package/typings/react/reactquestion_dropdown.d.ts +7 -7
- package/typings/react/reactquestion_element.d.ts +65 -63
- package/typings/react/reactquestion_empty.d.ts +8 -8
- package/typings/react/reactquestion_expression.d.ts +8 -8
- package/typings/react/reactquestion_factory.d.ts +8 -8
- package/typings/react/reactquestion_file.d.ts +14 -14
- package/typings/react/reactquestion_html.d.ts +13 -13
- package/typings/react/reactquestion_matrix.d.ts +33 -33
- package/typings/react/reactquestion_matrixdropdown.d.ts +4 -4
- package/typings/react/reactquestion_matrixdropdownbase.d.ts +29 -29
- package/typings/react/reactquestion_matrixdynamic.d.ts +20 -20
- package/typings/react/reactquestion_multipletext.d.ts +22 -22
- package/typings/react/reactquestion_paneldynamic.d.ts +28 -28
- package/typings/react/reactquestion_radiogroup.d.ts +32 -32
- package/typings/react/reactquestion_ranking.d.ts +30 -30
- package/typings/react/reactquestion_rating.d.ts +10 -10
- package/typings/react/reactquestion_tagbox.d.ts +10 -10
- package/typings/react/reactquestion_text.d.ts +11 -11
- package/typings/react/reactsurveymodel.d.ts +9 -9
- package/typings/react/reacttimerpanel.d.ts +11 -11
- package/typings/react/row.d.ts +21 -21
- package/typings/react/signaturepad.d.ts +11 -11
- package/typings/react/string-editor.d.ts +11 -11
- package/typings/react/string-viewer.d.ts +15 -15
- package/typings/react/svgbundle.d.ts +7 -7
- package/typings/react/tagbox-filter.d.ts +23 -23
- package/typings/react/tagbox-item.d.ts +10 -10
|
@@ -1,22 +1,23 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { ListModel } from "survey-core";
|
|
3
|
-
import { SurveyElementBase } from "../../reactquestion_element";
|
|
4
|
-
interface IListProps {
|
|
5
|
-
model: ListModel;
|
|
6
|
-
}
|
|
7
|
-
export declare class List extends SurveyElementBase<IListProps, any> {
|
|
8
|
-
private listContainerRef;
|
|
9
|
-
constructor(props: any);
|
|
10
|
-
get model(): ListModel;
|
|
11
|
-
handleKeydown: (event: any) => void;
|
|
12
|
-
handleMouseMove: (event: any) => void;
|
|
13
|
-
getStateElement(): ListModel<import("survey-core").Action>;
|
|
14
|
-
componentDidMount(): void;
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { ListModel } from "survey-core";
|
|
3
|
+
import { SurveyElementBase } from "../../reactquestion_element";
|
|
4
|
+
interface IListProps {
|
|
5
|
+
model: ListModel;
|
|
6
|
+
}
|
|
7
|
+
export declare class List extends SurveyElementBase<IListProps, any> {
|
|
8
|
+
private listContainerRef;
|
|
9
|
+
constructor(props: any);
|
|
10
|
+
get model(): ListModel;
|
|
11
|
+
handleKeydown: (event: any) => void;
|
|
12
|
+
handleMouseMove: (event: any) => void;
|
|
13
|
+
getStateElement(): ListModel<import("survey-core").Action>;
|
|
14
|
+
componentDidMount(): void;
|
|
15
|
+
componentDidUpdate(prevProps: any, prevState: any): void;
|
|
16
|
+
componentWillUnmount(): void;
|
|
17
|
+
renderElement(): JSX.Element;
|
|
18
|
+
renderList(): JSX.Element | null;
|
|
19
|
+
renderItems(): JSX.Element[] | null;
|
|
20
|
+
searchElementContent(): JSX.Element | null;
|
|
21
|
+
emptyContent(): JSX.Element;
|
|
22
|
+
}
|
|
23
|
+
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
export declare class LoadingIndicatorComponent extends React.Component<any, any> {
|
|
3
|
-
render(): JSX.Element | null;
|
|
4
|
-
}
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
export declare class LoadingIndicatorComponent extends React.Component<any, any> {
|
|
3
|
+
render(): JSX.Element | null;
|
|
4
|
+
}
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { QuestionMatrixDropdownRenderedRow, QuestionMatrixDropdownModelBase } from "survey-core";
|
|
3
|
-
import { SurveyElementBase } from "../../reactquestion_element";
|
|
4
|
-
interface IMatrixRowProps {
|
|
5
|
-
model: QuestionMatrixDropdownRenderedRow;
|
|
6
|
-
parentMatrix: QuestionMatrixDropdownModelBase;
|
|
7
|
-
}
|
|
8
|
-
export declare class MatrixRow extends SurveyElementBase<IMatrixRowProps, any> {
|
|
9
|
-
private root;
|
|
10
|
-
constructor(props: IMatrixRowProps);
|
|
11
|
-
get model(): QuestionMatrixDropdownRenderedRow;
|
|
12
|
-
get parentMatrix(): QuestionMatrixDropdownModelBase;
|
|
13
|
-
protected getStateElement(): QuestionMatrixDropdownRenderedRow;
|
|
14
|
-
protected onPointerDownHandler: (event: any) => void;
|
|
15
|
-
componentDidMount(): void;
|
|
16
|
-
componentWillUnmount(): void;
|
|
17
|
-
shouldComponentUpdate(nextProps: any, nextState: any): boolean;
|
|
18
|
-
render(): JSX.Element | null;
|
|
19
|
-
}
|
|
20
|
-
export {};
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { QuestionMatrixDropdownRenderedRow, QuestionMatrixDropdownModelBase } from "survey-core";
|
|
3
|
+
import { SurveyElementBase } from "../../reactquestion_element";
|
|
4
|
+
interface IMatrixRowProps {
|
|
5
|
+
model: QuestionMatrixDropdownRenderedRow;
|
|
6
|
+
parentMatrix: QuestionMatrixDropdownModelBase;
|
|
7
|
+
}
|
|
8
|
+
export declare class MatrixRow extends SurveyElementBase<IMatrixRowProps, any> {
|
|
9
|
+
private root;
|
|
10
|
+
constructor(props: IMatrixRowProps);
|
|
11
|
+
get model(): QuestionMatrixDropdownRenderedRow;
|
|
12
|
+
get parentMatrix(): QuestionMatrixDropdownModelBase;
|
|
13
|
+
protected getStateElement(): QuestionMatrixDropdownRenderedRow;
|
|
14
|
+
protected onPointerDownHandler: (event: any) => void;
|
|
15
|
+
componentDidMount(): void;
|
|
16
|
+
componentWillUnmount(): void;
|
|
17
|
+
shouldComponentUpdate(nextProps: any, nextState: any): boolean;
|
|
18
|
+
render(): JSX.Element | null;
|
|
19
|
+
}
|
|
20
|
+
export {};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { Action } from "survey-core";
|
|
3
|
-
import { ReactSurveyElement } from "../../../reactquestion_element";
|
|
4
|
-
export declare class SurveyQuestionMatrixDetailButton extends ReactSurveyElement {
|
|
5
|
-
constructor(props: any);
|
|
6
|
-
protected getStateElement(): any;
|
|
7
|
-
get item(): Action;
|
|
8
|
-
private get question();
|
|
9
|
-
private get row();
|
|
10
|
-
handleOnShowHideClick(event: any): void;
|
|
11
|
-
protected renderElement(): JSX.Element;
|
|
12
|
-
}
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { Action } from "survey-core";
|
|
3
|
+
import { ReactSurveyElement } from "../../../reactquestion_element";
|
|
4
|
+
export declare class SurveyQuestionMatrixDetailButton extends ReactSurveyElement {
|
|
5
|
+
constructor(props: any);
|
|
6
|
+
protected getStateElement(): any;
|
|
7
|
+
get item(): Action;
|
|
8
|
+
private get question();
|
|
9
|
+
private get row();
|
|
10
|
+
handleOnShowHideClick(event: any): void;
|
|
11
|
+
protected renderElement(): JSX.Element;
|
|
12
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { ReactSurveyElement } from "../../../reactquestion_element";
|
|
3
|
-
export declare class SurveyQuestionMatrixDynamicDragDropIcon extends ReactSurveyElement {
|
|
4
|
-
private get question();
|
|
5
|
-
protected renderElement(): JSX.Element;
|
|
6
|
-
}
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { ReactSurveyElement } from "../../../reactquestion_element";
|
|
3
|
+
export declare class SurveyQuestionMatrixDynamicDragDropIcon extends ReactSurveyElement {
|
|
4
|
+
private get question();
|
|
5
|
+
protected renderElement(): JSX.Element;
|
|
6
|
+
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { ReactSurveyElement } from "../../../reactquestion_element";
|
|
3
|
-
export declare class SurveyQuestionMatrixDynamicRemoveButton extends ReactSurveyElement {
|
|
4
|
-
constructor(props: any);
|
|
5
|
-
private get question();
|
|
6
|
-
private get row();
|
|
7
|
-
handleOnRowRemoveClick(event: any): void;
|
|
8
|
-
protected renderElement(): JSX.Element;
|
|
9
|
-
}
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { ReactSurveyElement } from "../../../reactquestion_element";
|
|
3
|
+
export declare class SurveyQuestionMatrixDynamicRemoveButton extends ReactSurveyElement {
|
|
4
|
+
constructor(props: any);
|
|
5
|
+
private get question();
|
|
6
|
+
private get row();
|
|
7
|
+
handleOnRowRemoveClick(event: any): void;
|
|
8
|
+
protected renderElement(): JSX.Element;
|
|
9
|
+
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { Base, Notifier } from "survey-core";
|
|
3
|
-
import { SurveyElementBase } from "../reactquestion_element";
|
|
4
|
-
export interface INotifierComponentProps {
|
|
5
|
-
notifier: Notifier;
|
|
6
|
-
}
|
|
7
|
-
export declare class NotifierComponent extends SurveyElementBase<INotifierComponentProps, any> {
|
|
8
|
-
get notifier(): Notifier;
|
|
9
|
-
protected getStateElement(): Base;
|
|
10
|
-
renderElement(): JSX.Element | null;
|
|
11
|
-
}
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { Base, Notifier } from "survey-core";
|
|
3
|
+
import { SurveyElementBase } from "../reactquestion_element";
|
|
4
|
+
export interface INotifierComponentProps {
|
|
5
|
+
notifier: Notifier;
|
|
6
|
+
}
|
|
7
|
+
export declare class NotifierComponent extends SurveyElementBase<INotifierComponentProps, any> {
|
|
8
|
+
get notifier(): Notifier;
|
|
9
|
+
protected getStateElement(): Base;
|
|
10
|
+
renderElement(): JSX.Element | null;
|
|
11
|
+
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { QuestionPanelDynamicModel } from "survey-core";
|
|
3
|
-
import { ReactSurveyElement } from "../../reactquestion_element";
|
|
4
|
-
export declare class SurveyQuestionPanelDynamicAction extends ReactSurveyElement {
|
|
5
|
-
constructor(props: any);
|
|
6
|
-
protected get data(): any;
|
|
7
|
-
protected get question(): QuestionPanelDynamicModel;
|
|
8
|
-
}
|
|
9
|
-
export declare class SurveyQuestionPanelDynamicAddButton extends SurveyQuestionPanelDynamicAction {
|
|
10
|
-
protected handleClick: (event: any) => void;
|
|
11
|
-
protected renderElement(): JSX.Element | null;
|
|
12
|
-
}
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { QuestionPanelDynamicModel } from "survey-core";
|
|
3
|
+
import { ReactSurveyElement } from "../../reactquestion_element";
|
|
4
|
+
export declare class SurveyQuestionPanelDynamicAction extends ReactSurveyElement {
|
|
5
|
+
constructor(props: any);
|
|
6
|
+
protected get data(): any;
|
|
7
|
+
protected get question(): QuestionPanelDynamicModel;
|
|
8
|
+
}
|
|
9
|
+
export declare class SurveyQuestionPanelDynamicAddButton extends SurveyQuestionPanelDynamicAction {
|
|
10
|
+
protected handleClick: (event: any) => void;
|
|
11
|
+
protected renderElement(): JSX.Element | null;
|
|
12
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { SurveyQuestionPanelDynamicAction } from "./paneldynamic-add-btn";
|
|
3
|
-
export declare class SurveyQuestionPanelDynamicNextButton extends SurveyQuestionPanelDynamicAction {
|
|
4
|
-
protected handleClick: (event: any) => void;
|
|
5
|
-
protected renderElement(): JSX.Element;
|
|
6
|
-
}
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { SurveyQuestionPanelDynamicAction } from "./paneldynamic-add-btn";
|
|
3
|
+
export declare class SurveyQuestionPanelDynamicNextButton extends SurveyQuestionPanelDynamicAction {
|
|
4
|
+
protected handleClick: (event: any) => void;
|
|
5
|
+
protected renderElement(): JSX.Element;
|
|
6
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { SurveyQuestionPanelDynamicAction } from "./paneldynamic-add-btn";
|
|
3
|
-
export declare class SurveyQuestionPanelDynamicPrevButton extends SurveyQuestionPanelDynamicAction {
|
|
4
|
-
protected handleClick: (event: any) => void;
|
|
5
|
-
protected renderElement(): JSX.Element;
|
|
6
|
-
}
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { SurveyQuestionPanelDynamicAction } from "./paneldynamic-add-btn";
|
|
3
|
+
export declare class SurveyQuestionPanelDynamicPrevButton extends SurveyQuestionPanelDynamicAction {
|
|
4
|
+
protected handleClick: (event: any) => void;
|
|
5
|
+
protected renderElement(): JSX.Element;
|
|
6
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { SurveyQuestionPanelDynamicAction } from "./paneldynamic-add-btn";
|
|
3
|
-
export declare class SurveyQuestionPanelDynamicProgressText extends SurveyQuestionPanelDynamicAction {
|
|
4
|
-
protected renderElement(): JSX.Element;
|
|
5
|
-
}
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { SurveyQuestionPanelDynamicAction } from "./paneldynamic-add-btn";
|
|
3
|
+
export declare class SurveyQuestionPanelDynamicProgressText extends SurveyQuestionPanelDynamicAction {
|
|
4
|
+
protected renderElement(): JSX.Element;
|
|
5
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { SurveyQuestionPanelDynamicAction } from "./paneldynamic-add-btn";
|
|
3
|
-
export declare class SurveyQuestionPanelDynamicRemoveButton extends SurveyQuestionPanelDynamicAction {
|
|
4
|
-
protected handleClick: (event: any) => void;
|
|
5
|
-
protected renderElement(): JSX.Element;
|
|
6
|
-
}
|
|
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 +1,42 @@
|
|
|
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
|
+
/// <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 +1,10 @@
|
|
|
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
|
+
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 +1,12 @@
|
|
|
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
|
+
/// <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,5 +1,5 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { RatingItemBase } from "./rating-item";
|
|
3
|
-
export declare class RatingItemSmiley extends RatingItemBase {
|
|
4
|
-
render(): JSX.Element | null;
|
|
5
|
-
}
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { RatingItemBase } from "./rating-item";
|
|
3
|
+
export declare class RatingItemSmiley extends RatingItemBase {
|
|
4
|
+
render(): JSX.Element | null;
|
|
5
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { RatingItemBase } from "./rating-item";
|
|
3
|
-
export declare class RatingItemStar extends RatingItemBase {
|
|
4
|
-
render(): JSX.Element | null;
|
|
5
|
-
}
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { RatingItemBase } from "./rating-item";
|
|
3
|
+
export declare class RatingItemStar extends RatingItemBase {
|
|
4
|
+
render(): JSX.Element | null;
|
|
5
|
+
}
|
|
@@ -1,22 +1,22 @@
|
|
|
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
|
+
/// <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,4 +1,4 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
export declare class Skeleton extends React.Component<any, any> {
|
|
3
|
-
render(): JSX.Element;
|
|
4
|
-
}
|
|
1
|
+
import React from "react";
|
|
2
|
+
export declare class Skeleton extends React.Component<any, any> {
|
|
3
|
+
render(): JSX.Element;
|
|
4
|
+
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { Action } from "survey-core";
|
|
3
|
-
import { ReactSurveyElement } from "../../reactquestion_element";
|
|
4
|
-
export declare class SurveyNavigationButton extends ReactSurveyElement {
|
|
5
|
-
protected get item(): Action;
|
|
6
|
-
protected canRender(): boolean;
|
|
7
|
-
protected renderElement(): JSX.Element;
|
|
8
|
-
}
|
|
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 +1,11 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { SurveyModel } from "survey-core";
|
|
3
|
-
interface ILogoImageProps {
|
|
4
|
-
data: SurveyModel;
|
|
5
|
-
}
|
|
6
|
-
export declare class LogoImage extends React.Component<ILogoImageProps, any> {
|
|
7
|
-
constructor(props: ILogoImageProps);
|
|
8
|
-
private get survey();
|
|
9
|
-
render(): JSX.Element;
|
|
10
|
-
}
|
|
11
|
-
export {};
|
|
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 +1,17 @@
|
|
|
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
|
+
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,9 +1,9 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
export declare class SvgIcon extends React.Component<any, any> {
|
|
3
|
-
private svgIconRef;
|
|
4
|
-
constructor(props: any);
|
|
5
|
-
updateSvg(): void;
|
|
6
|
-
componentDidUpdate(): void;
|
|
7
|
-
render(): JSX.Element | null;
|
|
8
|
-
componentDidMount(): void;
|
|
9
|
-
}
|
|
1
|
+
import React from "react";
|
|
2
|
+
export declare class SvgIcon extends React.Component<any, any> {
|
|
3
|
+
private svgIconRef;
|
|
4
|
+
constructor(props: any);
|
|
5
|
+
updateSvg(): void;
|
|
6
|
+
componentDidUpdate(): void;
|
|
7
|
+
render(): JSX.Element | null;
|
|
8
|
+
componentDidMount(): void;
|
|
9
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { SurveyElement } from "survey-core";
|
|
3
|
-
export declare class TitleActions extends React.Component<any, any> {
|
|
4
|
-
protected get cssClasses(): any;
|
|
5
|
-
protected get element(): SurveyElement;
|
|
6
|
-
render(): JSX.Element;
|
|
7
|
-
}
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { SurveyElement } from "survey-core";
|
|
3
|
+
export declare class TitleActions extends React.Component<any, any> {
|
|
4
|
+
protected get cssClasses(): any;
|
|
5
|
+
protected get element(): SurveyElement;
|
|
6
|
+
render(): JSX.Element;
|
|
7
|
+
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { ITitleOwner } from "survey-core";
|
|
3
|
-
export declare class TitleContent extends React.Component<any, any> {
|
|
4
|
-
constructor(props: any);
|
|
5
|
-
private get cssClasses();
|
|
6
|
-
private get element();
|
|
7
|
-
render(): JSX.Element;
|
|
8
|
-
protected renderTitleSpans(element: ITitleOwner, cssClasses: any): Array<JSX.Element>;
|
|
9
|
-
private renderRequireText;
|
|
10
|
-
}
|
|
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,6 +1,6 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
export declare class TitleElement extends React.Component<any, any> {
|
|
3
|
-
constructor(props: any);
|
|
4
|
-
private get element();
|
|
5
|
-
render(): JSX.Element | any;
|
|
6
|
-
}
|
|
1
|
+
import React from "react";
|
|
2
|
+
export declare class TitleElement extends React.Component<any, any> {
|
|
3
|
+
constructor(props: any);
|
|
4
|
+
private get element();
|
|
5
|
+
render(): JSX.Element | any;
|
|
6
|
+
}
|