survey-js-ui 2.3.9 → 2.3.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm/survey-js-ui.mjs +117 -175
- package/fesm/survey-js-ui.mjs.map +1 -1
- package/package.json +2 -2
- package/survey-js-ui.js +350 -390
- package/survey-js-ui.js.map +1 -1
- package/survey-js-ui.min.js +1 -1
- package/survey-js-ui.min.js.LICENSE.txt +1 -1
- package/typings/survey-react-ui/src/reactquestion_checkbox.d.ts +8 -30
- package/typings/survey-react-ui/src/reactquestion_radiogroup.d.ts +9 -26
- package/typings/survey-react-ui/src/reactquestion_selectbase.d.ts +42 -0
|
@@ -1,38 +1,16 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
export declare class SurveyQuestionCheckbox extends
|
|
2
|
+
import { QuestionCheckboxModel } from "survey-core";
|
|
3
|
+
import { SurveyQuestionSelectBaseItem, SurveyQuestionSelectbase } from "./reactquestion_selectbase";
|
|
4
|
+
export declare class SurveyQuestionCheckbox extends SurveyQuestionSelectbase {
|
|
5
5
|
constructor(props: any);
|
|
6
6
|
protected get question(): QuestionCheckboxModel;
|
|
7
|
-
protected
|
|
7
|
+
protected renderHeader(): React.JSX.Element | null;
|
|
8
8
|
protected getHeader(): React.JSX.Element[];
|
|
9
|
-
protected getFooter(): React.JSX.Element[];
|
|
10
|
-
protected getColumnedBody(cssClasses: any): React.JSX.Element;
|
|
11
|
-
protected getColumns(cssClasses: any): React.JSX.Element[];
|
|
12
|
-
protected getBody(cssClasses: any): React.JSX.Element;
|
|
13
|
-
protected getItems(cssClasses: any, choices: Array<ItemValue>): Array<any>;
|
|
14
|
-
protected get textStyle(): any;
|
|
15
|
-
protected renderItem(item: any, isFirst: boolean, cssClasses: any, index?: string): React.JSX.Element;
|
|
16
9
|
}
|
|
17
|
-
export declare class SurveyQuestionCheckboxItem extends
|
|
18
|
-
private rootRef;
|
|
10
|
+
export declare class SurveyQuestionCheckboxItem extends SurveyQuestionSelectBaseItem {
|
|
19
11
|
constructor(props: any);
|
|
20
|
-
protected
|
|
21
|
-
protected
|
|
22
|
-
protected get item(): ItemValue;
|
|
23
|
-
protected get textStyle(): any;
|
|
24
|
-
protected get isFirst(): any;
|
|
25
|
-
protected get index(): number;
|
|
26
|
-
private get hideCaption();
|
|
27
|
-
private get ariaLabel();
|
|
28
|
-
componentDidUpdate(prevProps: any, prevState: any): void;
|
|
29
|
-
shouldComponentUpdate(nextProps: any, nextState: any): boolean;
|
|
30
|
-
handleOnChange: (event: any) => void;
|
|
31
|
-
protected canRender(): boolean;
|
|
32
|
-
protected renderElement(): React.JSX.Element;
|
|
12
|
+
protected doOnItemChange(event: any): void;
|
|
13
|
+
protected renderElementContent(): React.JSX.Element;
|
|
33
14
|
protected get inputStyle(): any;
|
|
34
|
-
protected
|
|
35
|
-
protected renderCheckbox(isChecked: boolean, otherItem: React.JSX.Element | null): React.JSX.Element;
|
|
36
|
-
componentDidMount(): void;
|
|
37
|
-
componentWillUnmount(): void;
|
|
15
|
+
protected renderCheckbox(isChecked: boolean): React.JSX.Element;
|
|
38
16
|
}
|
|
@@ -1,38 +1,21 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import { SurveyQuestionElementBase, ReactSurveyElement } from "./reactquestion_element";
|
|
3
2
|
import { QuestionRadiogroupModel, ItemValue, Base } from "survey-core";
|
|
4
|
-
|
|
3
|
+
import { SurveyQuestionSelectBaseItem, SurveyQuestionSelectbase } from "./reactquestion_selectbase";
|
|
4
|
+
export declare class SurveyQuestionRadiogroup extends SurveyQuestionSelectbase {
|
|
5
5
|
constructor(props: any);
|
|
6
6
|
protected get question(): QuestionRadiogroupModel;
|
|
7
|
-
protected
|
|
8
|
-
|
|
9
|
-
protected
|
|
10
|
-
protected
|
|
11
|
-
protected getBody(cssClasses: any): React.JSX.Element;
|
|
12
|
-
protected getItems(cssClasses: any, choices: Array<ItemValue>): Array<any>;
|
|
13
|
-
protected get textStyle(): any;
|
|
14
|
-
private renderItem;
|
|
15
|
-
private getStateValue;
|
|
7
|
+
protected getFooter(): React.JSX.Element | null;
|
|
8
|
+
private renderClearButton;
|
|
9
|
+
protected getStateValue(): any;
|
|
10
|
+
protected isItemChecked(item: ItemValue, value: any): boolean;
|
|
16
11
|
}
|
|
17
|
-
export declare class SurveyQuestionRadioItem extends
|
|
18
|
-
private rootRef;
|
|
12
|
+
export declare class SurveyQuestionRadioItem extends SurveyQuestionSelectBaseItem {
|
|
19
13
|
constructor(props: any);
|
|
20
14
|
protected getStateElement(): Base;
|
|
21
15
|
protected get question(): QuestionRadiogroupModel;
|
|
22
|
-
protected get item(): ItemValue;
|
|
23
|
-
protected get textStyle(): any;
|
|
24
|
-
protected get index(): number;
|
|
25
16
|
protected get isChecked(): boolean;
|
|
26
|
-
|
|
27
|
-
private get ariaLabel();
|
|
28
|
-
shouldComponentUpdate(nextProps: any, nextState: any): boolean;
|
|
29
|
-
handleOnChange(event: any): void;
|
|
17
|
+
protected doOnItemChange(event: any): void;
|
|
30
18
|
handleOnMouseDown(event: any): void;
|
|
31
|
-
protected
|
|
32
|
-
componentDidUpdate(prevProps: any, prevState: any): void;
|
|
33
|
-
protected renderElement(): React.JSX.Element;
|
|
34
|
-
protected renderComment(): React.JSX.Element | null;
|
|
19
|
+
protected renderElementContent(): React.JSX.Element;
|
|
35
20
|
protected renderRadioButton(): React.JSX.Element;
|
|
36
|
-
componentDidMount(): void;
|
|
37
|
-
componentWillUnmount(): void;
|
|
38
21
|
}
|
|
@@ -0,0 +1,42 @@
|
|
|
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
|
+
}
|