survey-react-ui 2.5.13 → 3.0.0-beta.0
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-react-ui.mjs +41 -214
- package/fesm/survey-react-ui.mjs.map +1 -1
- package/package.json +2 -2
- package/survey-react-ui.js +45 -287
- package/survey-react-ui.js.map +1 -1
- package/survey-react-ui.min.js +1 -1
- package/survey-react-ui.min.js.LICENSE.txt +2 -2
- package/typings/entries/react-ui-model.d.ts +1 -8
- package/typings/src/components/action-bar/action-bar-item.d.ts +3 -0
- package/typings/src/components/paneldynamic-actions/paneldynamic-progress-text.d.ts +5 -2
- package/typings/src/progressButtons.d.ts +2 -1
- package/typings/src/reactSurveyNavigationBase.d.ts +2 -2
- package/typings/src/reactquestion_matrixdynamic.d.ts +4 -11
- package/typings/src/reactquestion_paneldynamic.d.ts +2 -4
- package/typings/src/components/matrix-actions/detail-button/detail-button.d.ts +0 -12
- package/typings/src/components/matrix-actions/remove-button/remove-button.d.ts +0 -9
- package/typings/src/components/paneldynamic-actions/paneldynamic-add-btn.d.ts +0 -12
- package/typings/src/components/paneldynamic-actions/paneldynamic-next-btn.d.ts +0 -6
- package/typings/src/components/paneldynamic-actions/paneldynamic-prev-btn.d.ts +0 -6
- package/typings/src/components/paneldynamic-actions/paneldynamic-remove-btn.d.ts +0 -6
- package/typings/src/components/survey-actions/survey-nav-button.d.ts +0 -8
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* surveyjs - Survey JavaScript library
|
|
2
|
+
* surveyjs - Survey JavaScript library v3.0.0-beta.0
|
|
3
3
|
* Copyright (c) 2015-2026 Devsoft Baltic OÜ - http://surveyjs.io/
|
|
4
4
|
* License: MIT (http://www.opensource.org/licenses/mit-license.php)
|
|
5
5
|
*/
|
|
@@ -10,6 +10,6 @@
|
|
|
10
10
|
*/
|
|
11
11
|
|
|
12
12
|
/*!
|
|
13
|
-
* survey-core
|
|
13
|
+
* survey-core v3.0.0-beta.0 | https://surveyjs.io/
|
|
14
14
|
* (c) DevSoft Baltic OU | Released under the MIT license
|
|
15
15
|
*/
|
|
@@ -38,7 +38,7 @@ export { SurveyQuestionBooleanRadio } from "../src/boolean-radio";
|
|
|
38
38
|
export { SurveyQuestionEmpty } from "../src/reactquestion_empty";
|
|
39
39
|
export { SurveyQuestionMatrixDropdownCell, SurveyQuestionMatrixDropdownBase } from "../src/reactquestion_matrixdropdownbase";
|
|
40
40
|
export { SurveyQuestionMatrixDropdown } from "../src/reactquestion_matrixdropdown";
|
|
41
|
-
export { SurveyQuestionMatrixDynamic
|
|
41
|
+
export { SurveyQuestionMatrixDynamic } from "../src/reactquestion_matrixdynamic";
|
|
42
42
|
export { SurveyQuestionPanelDynamic } from "../src/reactquestion_paneldynamic";
|
|
43
43
|
export { SurveyProgress } from "../src/progress";
|
|
44
44
|
export { SurveyProgressButtons } from "../src/progressButtons";
|
|
@@ -67,15 +67,8 @@ export { SurveyActionBar } from "../src/components/action-bar/action-bar";
|
|
|
67
67
|
export { LogoImage } from "../src/components/survey-header/logo-image";
|
|
68
68
|
export { SurveyHeader } from "../src/components/survey-header/survey-header";
|
|
69
69
|
export { SvgIcon } from "../src/components/svg-icon/svg-icon";
|
|
70
|
-
export { SurveyQuestionMatrixDynamicRemoveButton } from "../src/components/matrix-actions/remove-button/remove-button";
|
|
71
|
-
export { SurveyQuestionMatrixDetailButton } from "../src/components/matrix-actions/detail-button/detail-button";
|
|
72
70
|
export { SurveyQuestionMatrixDynamicDragDropIcon } from "../src/components/matrix-actions/drag-drop-icon/drag-drop-icon";
|
|
73
|
-
export { SurveyQuestionPanelDynamicAddButton } from "../src/components/paneldynamic-actions/paneldynamic-add-btn";
|
|
74
|
-
export { SurveyQuestionPanelDynamicRemoveButton } from "../src/components/paneldynamic-actions/paneldynamic-remove-btn";
|
|
75
|
-
export { SurveyQuestionPanelDynamicPrevButton } from "../src/components/paneldynamic-actions/paneldynamic-prev-btn";
|
|
76
|
-
export { SurveyQuestionPanelDynamicNextButton } from "../src/components/paneldynamic-actions/paneldynamic-next-btn";
|
|
77
71
|
export { SurveyQuestionPanelDynamicProgressText } from "../src/components/paneldynamic-actions/paneldynamic-progress-text";
|
|
78
|
-
export { SurveyNavigationButton } from "../src/components/survey-actions/survey-nav-button";
|
|
79
72
|
export { QuestionErrorComponent } from "../src/components/question-error";
|
|
80
73
|
export { SliderLabelItem } from "../src/components/slider/slider-label-item";
|
|
81
74
|
export { MatrixRow } from "../src/components/matrix/row";
|
|
@@ -14,11 +14,14 @@ export declare class SurveyAction extends SurveyElementBase<IActionBarItemProps,
|
|
|
14
14
|
componentDidMount(): void;
|
|
15
15
|
}
|
|
16
16
|
export declare class SurveyActionBarItem extends SurveyElementBase<IActionBarItemProps, any> {
|
|
17
|
+
private ref;
|
|
17
18
|
get item(): Action;
|
|
18
19
|
protected getStateElement(): Base;
|
|
19
20
|
renderElement(): React.JSX.Element;
|
|
20
21
|
renderText(): React.JSX.Element;
|
|
21
22
|
renderButtonContent(): React.JSX.Element;
|
|
22
23
|
renderInnerButton(): React.JSX.Element;
|
|
24
|
+
componentDidMount(): void;
|
|
25
|
+
componentWillUnmount(): void;
|
|
23
26
|
}
|
|
24
27
|
export {};
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import {
|
|
3
|
-
|
|
2
|
+
import { ReactSurveyElement } from "../../reactquestion_element";
|
|
3
|
+
import { QuestionPanelDynamicModel } from "survey-core";
|
|
4
|
+
export declare class SurveyQuestionPanelDynamicProgressText extends ReactSurveyElement {
|
|
5
|
+
protected get data(): any;
|
|
6
|
+
protected get question(): QuestionPanelDynamicModel;
|
|
4
7
|
protected renderElement(): React.JSX.Element;
|
|
5
8
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import { ProgressButtons, PageModel, IProgressButtonsViewModel } from "survey-core";
|
|
2
|
+
import { ProgressButtons, PageModel, IProgressButtonsViewModel, Base } from "survey-core";
|
|
3
3
|
import { SurveyNavigationBase } from "./reactSurveyNavigationBase";
|
|
4
4
|
export declare class SurveyProgressButtons extends SurveyNavigationBase implements IProgressButtonsViewModel {
|
|
5
5
|
private respManager;
|
|
@@ -7,6 +7,7 @@ export declare class SurveyProgressButtons extends SurveyNavigationBase implemen
|
|
|
7
7
|
constructor(props: any);
|
|
8
8
|
protected get model(): ProgressButtons;
|
|
9
9
|
get container(): string;
|
|
10
|
+
protected getStateElement(): Base | null;
|
|
10
11
|
onResize(canShowItemTitles: boolean): void;
|
|
11
12
|
onUpdateScroller(hasScroller: boolean): void;
|
|
12
13
|
onUpdateSettings(): void;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
1
|
import { SurveyModel } from "survey-core";
|
|
3
|
-
|
|
2
|
+
import { SurveyElementBase } from "./reactquestion_element";
|
|
3
|
+
export declare class SurveyNavigationBase extends SurveyElementBase<any, any> {
|
|
4
4
|
constructor(props: any);
|
|
5
5
|
protected get survey(): SurveyModel;
|
|
6
6
|
protected get css(): any;
|
|
@@ -1,25 +1,18 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import { SurveyQuestionMatrixDropdownBase } from "./reactquestion_matrixdropdownbase";
|
|
3
|
-
import {
|
|
3
|
+
import { QuestionMatrixDynamicModel } from "survey-core";
|
|
4
4
|
import { ReactSurveyElement } from "./reactquestion_element";
|
|
5
5
|
export declare class SurveyQuestionMatrixDynamic extends SurveyQuestionMatrixDropdownBase {
|
|
6
6
|
constructor(props: any);
|
|
7
7
|
protected get matrix(): QuestionMatrixDynamicModel;
|
|
8
8
|
handleOnRowAddClick(event: any): void;
|
|
9
9
|
protected renderElement(): React.JSX.Element;
|
|
10
|
-
protected
|
|
11
|
-
protected
|
|
10
|
+
protected renderToolbar(): React.JSX.Element;
|
|
11
|
+
protected renderTopToolbar(): React.JSX.Element | null;
|
|
12
|
+
protected renderBottomToolbar(): React.JSX.Element | null;
|
|
12
13
|
protected renderNoRowsContent(cssClasses: any): React.JSX.Element;
|
|
13
|
-
protected renderAddRowButton(cssClasses: any, isEmptySection?: boolean): React.JSX.Element;
|
|
14
|
-
}
|
|
15
|
-
export declare class SurveyQuestionMatrixDynamicAddButton extends ReactSurveyElement {
|
|
16
|
-
constructor(props: any);
|
|
17
|
-
protected get matrix(): QuestionMatrixDynamicModel;
|
|
18
|
-
handleOnRowAddClick(event: any): void;
|
|
19
|
-
protected renderElement(): React.JSX.Element;
|
|
20
14
|
}
|
|
21
15
|
export declare class SurveyQuestionMatrixDynamicPlaceholder extends ReactSurveyElement {
|
|
22
16
|
constructor(props: any);
|
|
23
17
|
protected renderElement(): React.JSX.Element;
|
|
24
|
-
protected renderAddRowButton(cssClasses: any, question: Question): React.JSX.Element;
|
|
25
18
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import { SurveyQuestionElementBase } from "./reactquestion_element";
|
|
3
|
-
import { SurveyModel,
|
|
3
|
+
import { SurveyModel, QuestionPanelDynamicModel } from "survey-core";
|
|
4
4
|
import { SurveyPanel } from "./panel";
|
|
5
5
|
import { ReactSurveyElement } from "./reactquestion_element";
|
|
6
6
|
export declare class SurveyQuestionPanelDynamic extends SurveyQuestionElementBase {
|
|
@@ -11,8 +11,7 @@ export declare class SurveyQuestionPanelDynamic extends SurveyQuestionElementBas
|
|
|
11
11
|
private updateQuestionRendering;
|
|
12
12
|
protected renderElement(): React.JSX.Element;
|
|
13
13
|
protected renderRange(): React.JSX.Element;
|
|
14
|
-
protected
|
|
15
|
-
protected renderNavigatorV2(): React.JSX.Element | null;
|
|
14
|
+
protected renderNavigator(): React.JSX.Element | null;
|
|
16
15
|
protected renderPlaceholder(cssClasses: any): React.JSX.Element | null;
|
|
17
16
|
}
|
|
18
17
|
export declare class SurveyQuestionPanelDynamicItem extends SurveyPanel {
|
|
@@ -26,5 +25,4 @@ export declare class SurveyQuestionPanelDynamicItem extends SurveyPanel {
|
|
|
26
25
|
export declare class SurveyQuestionPanelDynamicPlaceholder extends ReactSurveyElement {
|
|
27
26
|
constructor(props: any);
|
|
28
27
|
protected renderElement(): React.JSX.Element;
|
|
29
|
-
protected renderAddRowButton(question: Question): React.JSX.Element;
|
|
30
28
|
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import * as React from "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(): React.JSX.Element;
|
|
12
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import * as React from "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(): React.JSX.Element;
|
|
9
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import * as React from "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(): React.JSX.Element | null;
|
|
12
|
-
}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import { SurveyQuestionPanelDynamicAction } from "./paneldynamic-add-btn";
|
|
3
|
-
export declare class SurveyQuestionPanelDynamicNextButton extends SurveyQuestionPanelDynamicAction {
|
|
4
|
-
protected handleClick: (event: any) => void;
|
|
5
|
-
protected renderElement(): React.JSX.Element;
|
|
6
|
-
}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import { SurveyQuestionPanelDynamicAction } from "./paneldynamic-add-btn";
|
|
3
|
-
export declare class SurveyQuestionPanelDynamicPrevButton extends SurveyQuestionPanelDynamicAction {
|
|
4
|
-
protected handleClick: (event: any) => void;
|
|
5
|
-
protected renderElement(): React.JSX.Element;
|
|
6
|
-
}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import { SurveyQuestionPanelDynamicAction } from "./paneldynamic-add-btn";
|
|
3
|
-
export declare class SurveyQuestionPanelDynamicRemoveButton extends SurveyQuestionPanelDynamicAction {
|
|
4
|
-
protected handleClick: (event: any) => void;
|
|
5
|
-
protected renderElement(): React.JSX.Element;
|
|
6
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import * as React from "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(): React.JSX.Element;
|
|
8
|
-
}
|