survey-js-ui 3.2.2 → 3.2.4
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 +1 -1
- package/fesm/survey-js-ui.mjs +231 -58
- package/fesm/survey-js-ui.mjs.map +1 -1
- package/package.json +2 -2
- package/survey-js-ui.js +234 -58
- 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 +4 -1
- package/typings/survey-react-ui/src/boolean-switch.d.ts +1 -0
- package/typings/survey-react-ui/src/components/list/list-loading.d.ts +12 -0
- package/typings/survey-react-ui/src/components/list/list.d.ts +2 -1
- package/typings/survey-react-ui/src/components/matrix/header-sort-button.d.ts +10 -0
- package/typings/survey-react-ui/src/components/popup/popup.d.ts +1 -1
- package/typings/survey-react-ui/src/components/question-hint.d.ts +8 -0
- package/typings/survey-react-ui/src/components/sort-bar-level.d.ts +12 -0
- package/typings/survey-react-ui/src/imagepicker.d.ts +1 -0
- package/typings/survey-react-ui/src/reactquestion_comment.d.ts +2 -0
- package/typings/survey-react-ui/src/reactquestion_matrixdropdown.d.ts +1 -0
- package/typings/survey-react-ui/src/reactquestion_matrixdropdownbase.d.ts +2 -0
- package/typings/survey-react-ui/src/reactquestion_matrixdynamic.d.ts +3 -4
- package/typings/survey-react-ui/src/reactquestion_paneldynamic.d.ts +1 -0
- package/typings/survey-react-ui/src/reactquestion_view.d.ts +7 -0
- package/typings/survey-react-ui/src/components/records-bar.d.ts +0 -12
|
@@ -49,6 +49,7 @@ export { SurveyQuestionRating } from "../src/reactquestion_rating";
|
|
|
49
49
|
export { SurveyQuestionRatingDropdown } from "../src/rating-dropdown";
|
|
50
50
|
export { SurveyQuestionSlider } from "../src/reactquestion_slider";
|
|
51
51
|
export { SurveyQuestionExpression } from "../src/reactquestion_expression";
|
|
52
|
+
export { SurveyQuestionView } from "../src/reactquestion_view";
|
|
52
53
|
export { PopupSurvey, SurveyWindow } from "../src/react-popup-survey";
|
|
53
54
|
export { ReactQuestionFactory } from "../src/reactquestion_factory";
|
|
54
55
|
export { ReactElementFactory } from "../src/element-factory";
|
|
@@ -61,6 +62,7 @@ export { SurveyQuestionButtonGroupDropdown } from "../src/buttongroup-dropdown";
|
|
|
61
62
|
export { SurveyQuestionCustom, SurveyQuestionComposite } from "../src/reactquestion_custom";
|
|
62
63
|
export { Popup } from "../src/components/popup/popup";
|
|
63
64
|
export { ListItemContent } from "../src/components/list/list-item-content";
|
|
65
|
+
export { ListLoading } from "../src/components/list/list-loading";
|
|
64
66
|
export { ListItemGroup } from "../src/components/list/list-item-group";
|
|
65
67
|
export { List } from "../src/components/list/list";
|
|
66
68
|
export { TitleActions } from "../src/components/title/title-actions";
|
|
@@ -68,11 +70,12 @@ export { TitleElement } from "../src/components/title/title-element";
|
|
|
68
70
|
export { SurveyActionBar } from "../src/components/action-bar/action-bar";
|
|
69
71
|
export { SurveyActionBarItemDropdown } from "../src/components/action-bar/action-bar-item-dropdown";
|
|
70
72
|
export { SurveyActionBarSeparator } from "../src/components/action-bar/action-bar-separator";
|
|
71
|
-
export {
|
|
73
|
+
export { SurveySortBarLevel } from "../src/components/sort-bar-level";
|
|
72
74
|
export { LogoImage } from "../src/components/survey-header/logo-image";
|
|
73
75
|
export { SurveyHeader } from "../src/components/survey-header/survey-header";
|
|
74
76
|
export { SvgIcon } from "../src/components/svg-icon/svg-icon";
|
|
75
77
|
export { SurveyQuestionMatrixDynamicDragDropIcon } from "../src/components/matrix-actions/drag-drop-icon/drag-drop-icon";
|
|
78
|
+
export { SurveyMatrixHeaderSortButton } from "../src/components/matrix/header-sort-button";
|
|
76
79
|
export { SurveyQuestionPanelDynamicProgressText } from "../src/components/paneldynamic-actions/paneldynamic-progress-text";
|
|
77
80
|
export { QuestionErrorComponent } from "../src/components/question-error";
|
|
78
81
|
export { SliderLabelItem } from "../src/components/slider/slider-label-item";
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import { ListModel } from "survey-core";
|
|
3
|
+
import { SurveyElementBase } from "../../reactquestion_element";
|
|
4
|
+
interface IListLoadingProps {
|
|
5
|
+
model: ListModel;
|
|
6
|
+
}
|
|
7
|
+
export declare class ListLoading extends SurveyElementBase<IListLoadingProps, any> {
|
|
8
|
+
get model(): ListModel;
|
|
9
|
+
getStateElement(): ListModel<import("survey-core").Action>;
|
|
10
|
+
render(): React.JSX.Element;
|
|
11
|
+
}
|
|
12
|
+
export {};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import { ListModel } from "survey-core";
|
|
3
3
|
import { SurveyElementBase } from "../../reactquestion_element";
|
|
4
|
+
import "./list-loading";
|
|
4
5
|
interface IListProps {
|
|
5
6
|
model: ListModel;
|
|
6
7
|
}
|
|
@@ -18,6 +19,6 @@ export declare class List extends SurveyElementBase<IListProps, any> {
|
|
|
18
19
|
renderList(): React.JSX.Element;
|
|
19
20
|
renderItems(): React.JSX.Element[];
|
|
20
21
|
searchElementContent(): React.JSX.Element;
|
|
21
|
-
emptyContent():
|
|
22
|
+
emptyContent(): any;
|
|
22
23
|
}
|
|
23
24
|
export {};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import { Base } from "survey-core";
|
|
3
|
+
import { ReactSurveyElement } from "../../reactquestion_element";
|
|
4
|
+
export declare class SurveyMatrixHeaderSortButton extends ReactSurveyElement {
|
|
5
|
+
private get cell();
|
|
6
|
+
private get question();
|
|
7
|
+
protected getStateElement(): Base | null;
|
|
8
|
+
private onClick;
|
|
9
|
+
protected renderElement(): React.JSX.Element | null;
|
|
10
|
+
}
|
|
@@ -30,7 +30,7 @@ export declare class PopupContainer extends SurveyElementBase<any, any> {
|
|
|
30
30
|
renderContent(): React.JSX.Element;
|
|
31
31
|
protected renderHeaderPopup(popupModel: PopupBaseViewModel): React.JSX.Element | null;
|
|
32
32
|
protected renderFooter(popuModel: PopupBaseViewModel): React.JSX.Element | null;
|
|
33
|
-
render(): React.JSX.Element;
|
|
33
|
+
render(): React.JSX.Element | null;
|
|
34
34
|
componentDidMount(): void;
|
|
35
35
|
}
|
|
36
36
|
export declare class PopupDropdownContainer extends PopupContainer {
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import { Action, Base } from "survey-core";
|
|
3
|
+
import { SurveyElementBase } from "../reactquestion_element";
|
|
4
|
+
interface ISortBarLevelProps {
|
|
5
|
+
item: Action;
|
|
6
|
+
}
|
|
7
|
+
export declare class SurveySortBarLevel extends SurveyElementBase<ISortBarLevelProps, any> {
|
|
8
|
+
get item(): Action;
|
|
9
|
+
protected getStateElement(): Base;
|
|
10
|
+
protected renderElement(): React.JSX.Element | null;
|
|
11
|
+
}
|
|
12
|
+
export {};
|
|
@@ -5,6 +5,7 @@ export declare class SurveyQuestionImagePicker extends SurveyQuestionElementBase
|
|
|
5
5
|
constructor(props: any);
|
|
6
6
|
protected get question(): QuestionImagePickerModel;
|
|
7
7
|
protected renderElement(): React.JSX.Element;
|
|
8
|
+
protected renderViewMode(): React.JSX.Element;
|
|
8
9
|
protected getColumns(cssClasses: any): React.JSX.Element[];
|
|
9
10
|
protected getItems(cssClasses: any): Array<any>;
|
|
10
11
|
protected get textStyle(): any;
|
|
@@ -15,6 +15,7 @@ export declare class SurveyQuestionCommentItem<P extends ISurveyQuestionCommentI
|
|
|
15
15
|
});
|
|
16
16
|
protected canRender(): boolean;
|
|
17
17
|
protected getTextAreaModel(): TextAreaModel;
|
|
18
|
+
protected getViewText(): string;
|
|
18
19
|
protected renderElement(): React.JSX.Element;
|
|
19
20
|
protected getKey(): number;
|
|
20
21
|
}
|
|
@@ -25,5 +26,6 @@ export interface ISurveyQuestionCommentValueItemProps extends ISurveyQuestionCom
|
|
|
25
26
|
export declare class SurveyQuestionCommentValueItem extends SurveyQuestionCommentItem<ISurveyQuestionCommentValueItemProps> {
|
|
26
27
|
constructor(props: ISurveyQuestionCommentValueItemProps);
|
|
27
28
|
protected getTextAreaModel(): TextAreaModel;
|
|
29
|
+
protected getViewText(): string;
|
|
28
30
|
protected getKey(): number;
|
|
29
31
|
}
|
|
@@ -3,4 +3,5 @@ import { SurveyQuestionMatrixDropdownBase } from "./reactquestion_matrixdropdown
|
|
|
3
3
|
export declare class SurveyQuestionMatrixDropdown extends SurveyQuestionMatrixDropdownBase {
|
|
4
4
|
constructor(props: any);
|
|
5
5
|
protected renderElement(): React.JSX.Element;
|
|
6
|
+
protected renderFooterBar(): React.JSX.Element;
|
|
6
7
|
}
|
|
@@ -2,6 +2,7 @@ import * as React from "react";
|
|
|
2
2
|
import { SurveyQuestionElementBase } from "./reactquestion_element";
|
|
3
3
|
import { SurveyQuestionAndErrorsCell } from "./reactquestion";
|
|
4
4
|
import { QuestionMatrixDropdownModelBase, Question } from "survey-core";
|
|
5
|
+
import "./components/matrix/header-sort-button";
|
|
5
6
|
export declare class SurveyQuestionMatrixDropdownBase extends SurveyQuestionElementBase {
|
|
6
7
|
constructor(props: any);
|
|
7
8
|
protected get question(): QuestionMatrixDropdownModelBase;
|
|
@@ -11,6 +12,7 @@ export declare class SurveyQuestionMatrixDropdownBase extends SurveyQuestionElem
|
|
|
11
12
|
componentWillUnmount(): void;
|
|
12
13
|
protected renderElement(): React.JSX.Element;
|
|
13
14
|
protected renderRecordsBar(): React.JSX.Element | null;
|
|
15
|
+
protected renderSortBar(): React.JSX.Element | null;
|
|
14
16
|
renderTableDiv(): React.JSX.Element;
|
|
15
17
|
}
|
|
16
18
|
export declare class SurveyQuestionMatrixDropdownCell extends SurveyQuestionAndErrorsCell {
|
|
@@ -7,10 +7,9 @@ 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
|
|
11
|
-
protected renderToolbar(
|
|
12
|
-
protected
|
|
13
|
-
protected renderBottomToolbar(): React.JSX.Element | null;
|
|
10
|
+
protected renderFooterBar(): React.JSX.Element | null;
|
|
11
|
+
protected renderToolbar(): React.JSX.Element | null;
|
|
12
|
+
protected renderHeaderBar(): React.JSX.Element | null;
|
|
14
13
|
protected renderNoRowsContent(cssClasses: any): React.JSX.Element;
|
|
15
14
|
}
|
|
16
15
|
export declare class SurveyQuestionMatrixDynamicPlaceholder extends ReactSurveyElement {
|
|
@@ -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 renderSortBar(): React.JSX.Element | null;
|
|
13
14
|
protected renderRecordsBar(): React.JSX.Element | null;
|
|
14
15
|
protected renderRange(): React.JSX.Element;
|
|
15
16
|
protected renderNavigator(): React.JSX.Element | null;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import { SurveyQuestionElementBase } from "./reactquestion_element";
|
|
3
|
+
import { Question } from "survey-core";
|
|
4
|
+
export declare class SurveyQuestionView extends SurveyQuestionElementBase {
|
|
5
|
+
protected get question(): Question;
|
|
6
|
+
protected renderElement(): React.JSX.Element;
|
|
7
|
+
}
|
|
@@ -1,12 +0,0 @@
|
|
|
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 {};
|