survey-react-ui 1.11.14 → 1.12.1
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 +82 -22
- package/survey-react-ui.js.map +1 -1
- package/survey-react-ui.min.js +2 -2
- package/typings/packages/survey-react-ui/src/components/matrix-actions/drag-drop-icon/drag-drop-icon.d.ts +2 -1
- package/typings/packages/survey-react-ui/src/reactquestion_checkbox.d.ts +5 -1
- package/typings/packages/survey-react-ui/src/reactquestion_element.d.ts +2 -0
- package/typings/packages/survey-react-ui/src/reactquestion_radiogroup.d.ts +4 -0
|
@@ -2,5 +2,6 @@
|
|
|
2
2
|
import { ReactSurveyElement } from "../../../reactquestion_element";
|
|
3
3
|
export declare class SurveyQuestionMatrixDynamicDragDropIcon extends ReactSurveyElement {
|
|
4
4
|
private get question();
|
|
5
|
-
protected renderElement(): JSX.Element;
|
|
5
|
+
protected renderElement(): JSX.Element | null;
|
|
6
|
+
protected renderIcon(): JSX.Element;
|
|
6
7
|
}
|
|
@@ -13,9 +13,10 @@ export declare class SurveyQuestionCheckbox extends SurveyQuestionElementBase {
|
|
|
13
13
|
protected getItems(cssClasses: any, choices: Array<ItemValue>): Array<any>;
|
|
14
14
|
protected get textStyle(): any;
|
|
15
15
|
protected renderOther(): JSX.Element;
|
|
16
|
-
protected renderItem(
|
|
16
|
+
protected renderItem(item: any, isFirst: boolean, cssClasses: any, index?: string): JSX.Element;
|
|
17
17
|
}
|
|
18
18
|
export declare class SurveyQuestionCheckboxItem extends ReactSurveyElement {
|
|
19
|
+
private rootRef;
|
|
19
20
|
constructor(props: any);
|
|
20
21
|
protected getStateElement(): Base;
|
|
21
22
|
protected get question(): QuestionCheckboxModel;
|
|
@@ -24,10 +25,13 @@ export declare class SurveyQuestionCheckboxItem extends ReactSurveyElement {
|
|
|
24
25
|
protected get isFirst(): any;
|
|
25
26
|
protected get index(): number;
|
|
26
27
|
private get hideCaption();
|
|
28
|
+
componentDidUpdate(prevProps: any, prevState: any): void;
|
|
27
29
|
shouldComponentUpdate(nextProps: any, nextState: any): boolean;
|
|
28
30
|
handleOnChange: (event: any) => void;
|
|
29
31
|
protected canRender(): boolean;
|
|
30
32
|
protected renderElement(): JSX.Element;
|
|
31
33
|
protected get inputStyle(): any;
|
|
32
34
|
protected renderCheckbox(isChecked: boolean, otherItem: JSX.Element | null): JSX.Element;
|
|
35
|
+
componentDidMount(): void;
|
|
36
|
+
componentWillUnmount(): void;
|
|
33
37
|
}
|
|
@@ -12,6 +12,7 @@ export declare class SurveyElementBase<P, S> extends React.Component<P, S> {
|
|
|
12
12
|
private _allowComponentUpdate;
|
|
13
13
|
protected allowComponentUpdate(): void;
|
|
14
14
|
protected denyComponentUpdate(): void;
|
|
15
|
+
private prevStateElements;
|
|
15
16
|
shouldComponentUpdate(nextProps: any, nextState: any): boolean;
|
|
16
17
|
render(): JSX.Element | null;
|
|
17
18
|
protected wrapElement(element: JSX.Element): JSX.Element;
|
|
@@ -23,6 +24,7 @@ export declare class SurveyElementBase<P, S> extends React.Component<P, S> {
|
|
|
23
24
|
protected get changedStatePropName(): string | undefined;
|
|
24
25
|
private makeBaseElementsReact;
|
|
25
26
|
private unMakeBaseElementsReact;
|
|
27
|
+
protected disableStateElementsRerenderEvent(els: Array<Base>): void;
|
|
26
28
|
protected getStateElements(): Array<Base>;
|
|
27
29
|
protected getStateElement(): Base | null;
|
|
28
30
|
protected get isDisplayMode(): boolean;
|
|
@@ -16,6 +16,7 @@ export declare class SurveyQuestionRadiogroup extends SurveyQuestionElementBase
|
|
|
16
16
|
private getStateValue;
|
|
17
17
|
}
|
|
18
18
|
export declare class SurveyQuestionRadioItem extends ReactSurveyElement {
|
|
19
|
+
private rootRef;
|
|
19
20
|
constructor(props: any);
|
|
20
21
|
protected getStateElement(): Base;
|
|
21
22
|
protected get question(): QuestionRadiogroupModel;
|
|
@@ -28,5 +29,8 @@ export declare class SurveyQuestionRadioItem extends ReactSurveyElement {
|
|
|
28
29
|
handleOnChange(event: any): void;
|
|
29
30
|
handleOnMouseDown(event: any): void;
|
|
30
31
|
protected canRender(): boolean;
|
|
32
|
+
componentDidUpdate(prevProps: any, prevState: any): void;
|
|
31
33
|
protected renderElement(): JSX.Element;
|
|
34
|
+
componentDidMount(): void;
|
|
35
|
+
componentWillUnmount(): void;
|
|
32
36
|
}
|