survey-js-ui 3.2.0 → 3.2.2
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 +189 -78
- package/fesm/survey-js-ui.mjs.map +1 -1
- package/package.json +2 -2
- package/survey-js-ui.js +189 -77
- package/survey-js-ui.js.map +1 -1
- package/survey-js-ui.min.js +2 -2
- package/typings/survey-react-ui/entries/react-ui-model.d.ts +1 -0
- package/typings/survey-react-ui/src/components/records-bar.d.ts +12 -0
- package/typings/survey-react-ui/src/dropdown-base.d.ts +3 -2
- package/typings/survey-react-ui/src/imagepicker.d.ts +2 -0
- package/typings/survey-react-ui/src/page.d.ts +1 -1
- package/typings/survey-react-ui/src/panel-base.d.ts +1 -0
- package/typings/survey-react-ui/src/reactquestion_checkbox.d.ts +3 -0
- package/typings/survey-react-ui/src/reactquestion_matrixdropdown.d.ts +2 -0
- package/typings/survey-react-ui/src/reactquestion_matrixdropdownbase.d.ts +1 -0
- package/typings/survey-react-ui/src/reactquestion_matrixdynamic.d.ts +1 -0
- package/typings/survey-react-ui/src/reactquestion_paneldynamic.d.ts +1 -0
- package/typings/survey-react-ui/src/reactquestion_radiogroup.d.ts +1 -0
- package/typings/survey-react-ui/src/reactquestion_selectbase.d.ts +1 -0
- package/typings/survey-react-ui/src/tagbox-filter.d.ts +4 -3
|
@@ -68,6 +68,7 @@ export { TitleElement } from "../src/components/title/title-element";
|
|
|
68
68
|
export { SurveyActionBar } from "../src/components/action-bar/action-bar";
|
|
69
69
|
export { SurveyActionBarItemDropdown } from "../src/components/action-bar/action-bar-item-dropdown";
|
|
70
70
|
export { SurveyActionBarSeparator } from "../src/components/action-bar/action-bar-separator";
|
|
71
|
+
export { SurveyRecordsBar } from "../src/components/records-bar";
|
|
71
72
|
export { LogoImage } from "../src/components/survey-header/logo-image";
|
|
72
73
|
export { SurveyHeader } from "../src/components/survey-header/survey-header";
|
|
73
74
|
export { SvgIcon } from "../src/components/svg-icon/svg-icon";
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import { Base, QuestionRecordsBar } from "survey-core";
|
|
3
|
+
import { SurveyElementBase } from "../reactquestion_element";
|
|
4
|
+
interface IRecordsBarProps {
|
|
5
|
+
model: QuestionRecordsBar;
|
|
6
|
+
}
|
|
7
|
+
export declare class SurveyRecordsBar extends SurveyElementBase<IRecordsBarProps, any> {
|
|
8
|
+
get model(): QuestionRecordsBar;
|
|
9
|
+
protected getStateElement(): Base;
|
|
10
|
+
protected renderElement(): React.JSX.Element | null;
|
|
11
|
+
}
|
|
12
|
+
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import { Question, DropdownListModel, ItemValue } from "survey-core";
|
|
2
|
+
import { Base, Question, DropdownListModel, DropdownRenderState, ItemValue } from "survey-core";
|
|
3
3
|
import { SurveyQuestionUncontrolledElement } from "./reactquestion_element";
|
|
4
4
|
export declare class SurveyQuestionDropdownBase<T extends Question> extends SurveyQuestionUncontrolledElement<T> {
|
|
5
5
|
inputElement: HTMLInputElement | null;
|
|
@@ -10,7 +10,8 @@ export declare class SurveyQuestionDropdownBase<T extends Question> extends Surv
|
|
|
10
10
|
blur: (event: any) => void;
|
|
11
11
|
focus: (event: any) => void;
|
|
12
12
|
protected get dropdownListModel(): DropdownListModel;
|
|
13
|
-
protected
|
|
13
|
+
protected get renderState(): DropdownRenderState;
|
|
14
|
+
protected getStateElements(): Array<Base>;
|
|
14
15
|
protected setValueCore(newValue: any): void;
|
|
15
16
|
protected getValueCore(): any;
|
|
16
17
|
protected renderReadOnlyElement(): React.JSX.Element | null;
|
|
@@ -20,6 +20,8 @@ export declare class SurveyQuestionImagePickerItem extends ReactSurveyElement {
|
|
|
20
20
|
protected get cssClasses(): any;
|
|
21
21
|
protected get item(): any;
|
|
22
22
|
protected get question(): any;
|
|
23
|
+
handleOnKeyDown(event: any): void;
|
|
24
|
+
handleOnBlur(event: any): void;
|
|
23
25
|
handleOnChange(event: any): void;
|
|
24
26
|
protected renderElement(): React.JSX.Element;
|
|
25
27
|
}
|
|
@@ -3,7 +3,7 @@ import { PageModel, PanelModelBase } from "survey-core";
|
|
|
3
3
|
import { SurveyPanelBase } from "./panel-base";
|
|
4
4
|
export declare class SurveyPage extends SurveyPanelBase {
|
|
5
5
|
constructor(props: any);
|
|
6
|
-
protected
|
|
6
|
+
protected getPanelFromProps(props: any): PanelModelBase;
|
|
7
7
|
get page(): PageModel;
|
|
8
8
|
protected renderElement(): React.JSX.Element;
|
|
9
9
|
protected renderTitle(): React.JSX.Element;
|
|
@@ -10,6 +10,7 @@ export declare class SurveyPanelBase extends SurveyElementBase<any, any> {
|
|
|
10
10
|
protected get survey(): SurveyModel | null;
|
|
11
11
|
protected get creator(): ISurveyCreator;
|
|
12
12
|
protected get css(): any;
|
|
13
|
+
protected getPanelFromProps(props: any): PanelModelBase;
|
|
13
14
|
get panelBase(): PanelModelBase;
|
|
14
15
|
protected getPanelBase(): PanelModelBase;
|
|
15
16
|
protected getSurvey(): SurveyModel | null;
|
|
@@ -4,12 +4,15 @@ import { SurveyQuestionSelectBaseItem, SurveyQuestionSelectbase } from "./reactq
|
|
|
4
4
|
export declare class SurveyQuestionCheckbox extends SurveyQuestionSelectbase {
|
|
5
5
|
constructor(props: any);
|
|
6
6
|
protected get question(): QuestionCheckboxModel;
|
|
7
|
+
protected handleRootKeyDown(event: any): void;
|
|
7
8
|
protected renderHeader(): React.JSX.Element | null;
|
|
8
9
|
protected getHeader(): React.JSX.Element[];
|
|
9
10
|
}
|
|
10
11
|
export declare class SurveyQuestionCheckboxItem extends SurveyQuestionSelectBaseItem {
|
|
11
12
|
constructor(props: any);
|
|
12
13
|
protected doOnItemChange(event: any): void;
|
|
14
|
+
handleOnKeyDown: (event: any) => void;
|
|
15
|
+
handleOnBlur: (event: any) => void;
|
|
13
16
|
protected renderElementContent(): React.JSX.Element;
|
|
14
17
|
protected get inputStyle(): any;
|
|
15
18
|
protected renderCheckbox(isChecked: boolean): React.JSX.Element;
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
+
import * as React from "react";
|
|
1
2
|
import { SurveyQuestionMatrixDropdownBase } from "./reactquestion_matrixdropdownbase";
|
|
2
3
|
export declare class SurveyQuestionMatrixDropdown extends SurveyQuestionMatrixDropdownBase {
|
|
3
4
|
constructor(props: any);
|
|
5
|
+
protected renderElement(): React.JSX.Element;
|
|
4
6
|
}
|
|
@@ -10,6 +10,7 @@ export declare class SurveyQuestionMatrixDropdownBase extends SurveyQuestionElem
|
|
|
10
10
|
componentDidMount(): void;
|
|
11
11
|
componentWillUnmount(): void;
|
|
12
12
|
protected renderElement(): React.JSX.Element;
|
|
13
|
+
protected renderRecordsBar(): React.JSX.Element | null;
|
|
13
14
|
renderTableDiv(): React.JSX.Element;
|
|
14
15
|
}
|
|
15
16
|
export declare class SurveyQuestionMatrixDropdownCell extends SurveyQuestionAndErrorsCell {
|
|
@@ -7,6 +7,7 @@ export declare class SurveyQuestionMatrixDynamic extends SurveyQuestionMatrixDro
|
|
|
7
7
|
protected get matrix(): QuestionMatrixDynamicModel;
|
|
8
8
|
handleOnRowAddClick(event: any): void;
|
|
9
9
|
protected renderElement(): React.JSX.Element;
|
|
10
|
+
protected renderRecordsFooter(): React.JSX.Element | null;
|
|
10
11
|
protected renderToolbar(location: "top" | "bottom"): React.JSX.Element | null;
|
|
11
12
|
protected renderTopToolbar(): React.JSX.Element | null;
|
|
12
13
|
protected renderBottomToolbar(): React.JSX.Element | null;
|
|
@@ -10,6 +10,7 @@ export declare class SurveyQuestionPanelDynamic extends SurveyQuestionElementBas
|
|
|
10
10
|
componentWillUnmount(): void;
|
|
11
11
|
private updateQuestionRendering;
|
|
12
12
|
protected renderElement(): React.JSX.Element;
|
|
13
|
+
protected renderRecordsBar(): React.JSX.Element | null;
|
|
13
14
|
protected renderRange(): React.JSX.Element;
|
|
14
15
|
protected renderNavigator(): React.JSX.Element | null;
|
|
15
16
|
protected renderPlaceholder(cssClasses: any): React.JSX.Element | null;
|
|
@@ -17,6 +17,7 @@ export declare class SurveyQuestionRadioItem extends SurveyQuestionSelectBaseIte
|
|
|
17
17
|
protected doOnItemChange(event: any): void;
|
|
18
18
|
handleOnMouseDown(event: any): void;
|
|
19
19
|
handleOnKeyDown: (event: any) => void;
|
|
20
|
+
handleOnBlur: (event: any) => void;
|
|
20
21
|
protected renderElementContent(): React.JSX.Element;
|
|
21
22
|
protected renderRadioButton(): React.JSX.Element;
|
|
22
23
|
}
|
|
@@ -5,6 +5,7 @@ export declare class SurveyQuestionSelectbase extends SurveyQuestionElementBase
|
|
|
5
5
|
constructor(props: any);
|
|
6
6
|
protected get question(): QuestionSelectBase;
|
|
7
7
|
protected renderElement(): React.JSX.Element;
|
|
8
|
+
protected handleRootKeyDown(_event: any): void;
|
|
8
9
|
protected renderHeader(): React.JSX.Element | null;
|
|
9
10
|
protected getFooter(): React.JSX.Element | null;
|
|
10
11
|
protected getStateValue(): any;
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import { DropdownMultiSelectListModel, QuestionTagboxModel } from "survey-core";
|
|
2
|
+
import { Base, DropdownMultiSelectListModel, DropdownMultiSelectRenderState, QuestionTagboxModel } from "survey-core";
|
|
3
3
|
import { SurveyElementBase } from "./reactquestion_element";
|
|
4
4
|
interface ITagboxFilterProps {
|
|
5
|
-
model
|
|
5
|
+
model?: DropdownMultiSelectListModel;
|
|
6
6
|
question: QuestionTagboxModel;
|
|
7
7
|
}
|
|
8
8
|
export declare class TagboxFilterString extends SurveyElementBase<ITagboxFilterProps, any> {
|
|
9
9
|
inputElement: HTMLInputElement | null;
|
|
10
10
|
get model(): DropdownMultiSelectListModel;
|
|
11
|
+
protected get renderState(): DropdownMultiSelectRenderState;
|
|
11
12
|
get question(): QuestionTagboxModel;
|
|
12
13
|
componentDidUpdate(prevProps: any, prevState: any): void;
|
|
13
14
|
componentDidMount(): void;
|
|
@@ -17,7 +18,7 @@ export declare class TagboxFilterString extends SurveyElementBase<ITagboxFilterP
|
|
|
17
18
|
onBlur(e: any): void;
|
|
18
19
|
onFocus(e: any): void;
|
|
19
20
|
constructor(props: any);
|
|
20
|
-
getStateElement():
|
|
21
|
+
getStateElement(): Base;
|
|
21
22
|
render(): React.JSX.Element;
|
|
22
23
|
}
|
|
23
24
|
export {};
|