survey-react-ui 1.9.18 → 1.9.19
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 +1 -1
- package/survey-react-ui.d.ts +35 -9
- package/survey-react-ui.js +418 -122
- package/survey-react-ui.min.js +2 -2
package/package.json
CHANGED
package/survey-react-ui.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Type definition for Survey JavaScript library for React (without core) v1.9.
|
|
2
|
+
* Type definition for Survey JavaScript library for React (without core) v1.9.19
|
|
3
3
|
* Copyright (c) 2015-2022 Devsoft Baltic OÜ - https://surveyjs.io/
|
|
4
4
|
* License: MIT (http://www.opensource.org/licenses/mit-license.php)
|
|
5
5
|
*/
|
|
@@ -92,6 +92,7 @@ export declare class ReactQuestionFactory {
|
|
|
92
92
|
export declare class ReactSurveyElementsWrapper {
|
|
93
93
|
static wrapRow(survey: SurveyModel, element: any, row: QuestionRowModel): any;
|
|
94
94
|
static wrapElement(survey: SurveyModel, element: any, question: SurveyElement): any;
|
|
95
|
+
static wrapQuestionContent(survey: SurveyModel, element: any, question: SurveyElement): any;
|
|
95
96
|
static wrapItemValue(survey: SurveyModel, element: any, question: QuestionSelectBase, item: ItemValue): any;
|
|
96
97
|
static wrapMatrixCell(survey: SurveyModel, element: any, cell: QuestionMatrixDropdownRenderedCell, reason?: string): any;
|
|
97
98
|
}
|
|
@@ -111,6 +112,10 @@ export declare class SurveyElementBase<P, S> extends React.Component<P, S> {
|
|
|
111
112
|
componentDidMount(): void;
|
|
112
113
|
componentWillUnmount(): void;
|
|
113
114
|
componentDidUpdate(prevProps: any, prevState: any): void;
|
|
115
|
+
_allowComponentUpdate: boolean;
|
|
116
|
+
protected allowComponentUpdate(): void;
|
|
117
|
+
protected denyComponentUpdate(): void;
|
|
118
|
+
shouldComponentUpdate(nextProps: any, nextState: any): boolean;
|
|
114
119
|
render(): any;
|
|
115
120
|
protected wrapElement(element: any): any;
|
|
116
121
|
protected get isRendering(): boolean;
|
|
@@ -210,7 +215,7 @@ export declare class Popup extends SurveyElementBase<IPopupProps, any> {
|
|
|
210
215
|
protected getStateElement(): PopupModel;
|
|
211
216
|
componentDidMount(): void;
|
|
212
217
|
componentWillUnmount(): void;
|
|
213
|
-
shouldComponentUpdate(nextProps: IPopupProps): boolean;
|
|
218
|
+
shouldComponentUpdate(nextProps: IPopupProps, nextState: any): boolean;
|
|
214
219
|
render(): any;
|
|
215
220
|
}
|
|
216
221
|
export declare class PopupContainer extends SurveyElementBase<any, any> {
|
|
@@ -373,8 +378,10 @@ export declare class SurveyQuestion extends SurveyElementBase<any, any> {
|
|
|
373
378
|
componentWillUnmount(): void;
|
|
374
379
|
componentDidUpdate(prevProps: any, prevState: any): void;
|
|
375
380
|
protected canRender(): boolean;
|
|
381
|
+
protected renderQuestionContent(): any;
|
|
376
382
|
protected renderElement(): any;
|
|
377
383
|
protected wrapElement(element: any): any;
|
|
384
|
+
protected wrapQuestionContent(element: any): any;
|
|
378
385
|
protected renderQuestion(): any;
|
|
379
386
|
protected renderDescription(cssClasses: any, isUnderInput?: boolean): any;
|
|
380
387
|
protected renderComment(cssClasses: any): any;
|
|
@@ -392,7 +399,7 @@ export declare class SurveyQuestionElementBase extends SurveyElementBase<any, an
|
|
|
392
399
|
protected getRenderedElement(): Base;
|
|
393
400
|
protected get creator(): ISurveyCreator;
|
|
394
401
|
protected canRender(): boolean;
|
|
395
|
-
shouldComponentUpdate(): boolean;
|
|
402
|
+
shouldComponentUpdate(nextProps: any, nextState: any): boolean;
|
|
396
403
|
protected get isDisplayMode(): boolean;
|
|
397
404
|
protected wrapCell(cell: any, element: any, reason: string): any;
|
|
398
405
|
}
|
|
@@ -507,7 +514,7 @@ export declare class SurveyQuestionCheckboxItem extends ReactSurveyElement {
|
|
|
507
514
|
protected get textStyle(): any;
|
|
508
515
|
protected get isFirst(): any;
|
|
509
516
|
protected get index(): number;
|
|
510
|
-
shouldComponentUpdate(): boolean;
|
|
517
|
+
shouldComponentUpdate(nextProps: any, nextState: any): boolean;
|
|
511
518
|
handleOnChange: any;
|
|
512
519
|
selectAllChanged: any;
|
|
513
520
|
protected canRender(): boolean;
|
|
@@ -634,10 +641,6 @@ export declare class SurveyQuestionPanelDynamic extends SurveyQuestionElementBas
|
|
|
634
641
|
protected get question(): QuestionPanelDynamicModel;
|
|
635
642
|
componentDidMount(): void;
|
|
636
643
|
componentWillUnmount(): void;
|
|
637
|
-
handleOnPanelAddClick(event: any): void;
|
|
638
|
-
handleOnPanelPrevClick(event: any): void;
|
|
639
|
-
handleOnPanelNextClick(event: any): void;
|
|
640
|
-
handleOnRangeChange(event: any): void;
|
|
641
644
|
protected renderElement(): any;
|
|
642
645
|
protected renderNavigator(): any;
|
|
643
646
|
protected rendrerPrevButton(): any;
|
|
@@ -647,6 +650,10 @@ export declare class SurveyQuestionPanelDynamic extends SurveyQuestionElementBas
|
|
|
647
650
|
protected renderNavigatorV2(): any;
|
|
648
651
|
protected renderPlaceholder(): any;
|
|
649
652
|
}
|
|
653
|
+
export declare class SurveyQuestionPanelDynamicAction extends ReactSurveyElement {
|
|
654
|
+
constructor(props: any);
|
|
655
|
+
protected get question(): QuestionPanelDynamicModel;
|
|
656
|
+
}
|
|
650
657
|
export declare class SurveyQuestionRadioItem extends ReactSurveyElement {
|
|
651
658
|
constructor(props: any);
|
|
652
659
|
protected getStateElement(): Base;
|
|
@@ -655,7 +662,7 @@ export declare class SurveyQuestionRadioItem extends ReactSurveyElement {
|
|
|
655
662
|
protected get textStyle(): any;
|
|
656
663
|
protected get index(): number;
|
|
657
664
|
protected get isChecked(): boolean;
|
|
658
|
-
shouldComponentUpdate(): boolean;
|
|
665
|
+
shouldComponentUpdate(nextProps: any, nextState: any): boolean;
|
|
659
666
|
handleOnChange(event: any): void;
|
|
660
667
|
protected canRender(): boolean;
|
|
661
668
|
protected renderElement(): any;
|
|
@@ -795,6 +802,11 @@ export declare class SurveyQuestionMatrixDynamic extends SurveyQuestionMatrixDro
|
|
|
795
802
|
protected renderNoRowsContent(cssClasses: any): any;
|
|
796
803
|
protected renderAddRowButton(cssClasses: any, isEmptySection?: boolean): any;
|
|
797
804
|
}
|
|
805
|
+
export declare class SurveyQuestionPanelDynamicAddButton extends SurveyQuestionPanelDynamicAction {
|
|
806
|
+
constructor(props: any);
|
|
807
|
+
protected handleClick: any;
|
|
808
|
+
protected renderElement(): any;
|
|
809
|
+
}
|
|
798
810
|
export declare class SurveyQuestionPanelDynamicItem extends SurveyPanel {
|
|
799
811
|
constructor(props: any);
|
|
800
812
|
protected getSurvey(): SurveyModel;
|
|
@@ -803,6 +815,20 @@ export declare class SurveyQuestionPanelDynamicItem extends SurveyPanel {
|
|
|
803
815
|
render(): any;
|
|
804
816
|
protected renderButton(): any;
|
|
805
817
|
}
|
|
818
|
+
export declare class SurveyQuestionPanelDynamicNextButton extends SurveyQuestionPanelDynamicAction {
|
|
819
|
+
constructor(props: any);
|
|
820
|
+
protected handleClick: any;
|
|
821
|
+
protected renderElement(): any;
|
|
822
|
+
}
|
|
823
|
+
export declare class SurveyQuestionPanelDynamicPrevButton extends SurveyQuestionPanelDynamicAction {
|
|
824
|
+
constructor(props: any);
|
|
825
|
+
protected handleClick: any;
|
|
826
|
+
protected renderElement(): any;
|
|
827
|
+
}
|
|
828
|
+
export declare class SurveyQuestionPanelDynamicProgressText extends SurveyQuestionPanelDynamicAction {
|
|
829
|
+
constructor(props: any);
|
|
830
|
+
protected renderElement(): any;
|
|
831
|
+
}
|
|
806
832
|
export declare class SurveyQuestionText extends SurveyQuestionUncontrolledElement<QuestionTextModel> {
|
|
807
833
|
constructor(props: any);
|
|
808
834
|
_isWaitingForEnter: boolean;
|