survey-react-ui 1.9.37 → 1.9.40
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 +30 -9
- package/survey-react-ui.js +579 -260
- 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.40
|
|
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
|
*/
|
|
@@ -11,10 +11,10 @@ import { ButtonGroupItemModel, QuestionButtonGroupModel, ButtonGroupItemValue, P
|
|
|
11
11
|
import { IElement, ActionDropdownViewModel, TooltipManager, MultipleTextItemModel, PanelModel } from "survey-core";
|
|
12
12
|
import { QuestionBooleanModel, QuestionCheckboxModel, QuestionEmptyModel, QuestionExpressionModel, QuestionFileModel } from "survey-core";
|
|
13
13
|
import { QuestionHtmlModel, QuestionImageModel, QuestionImagePickerModel, ImageItemValue, QuestionMatrixModel } from "survey-core";
|
|
14
|
-
import { AdaptiveActionContainer, QuestionMultipleTextModel, QuestionPanelDynamicModel, QuestionRadiogroupModel
|
|
15
|
-
import { QuestionRatingModel, RenderedRatingItem, QuestionSignaturePadModel, SurveyTimerModel
|
|
16
|
-
import { FlowPanelModel, QuestionCommentModel, QuestionCompositeModel, QuestionCustomModel
|
|
17
|
-
import { QuestionTextModel, IArrayPropertyDecoratorOptions } from "survey-core";
|
|
14
|
+
import { AdaptiveActionContainer, MatrixDropdownColumn, QuestionMultipleTextModel, QuestionPanelDynamicModel, QuestionRadiogroupModel } from "survey-core";
|
|
15
|
+
import { QuestionRankingModel, QuestionRatingModel, RenderedRatingItem, QuestionSignaturePadModel, SurveyTimerModel } from "survey-core";
|
|
16
|
+
import { SurveyWindowModel, FlowPanelModel, QuestionCommentModel, QuestionCompositeModel, QuestionCustomModel } from "survey-core";
|
|
17
|
+
import { QuestionMatrixDynamicModel, QuestionTextModel, IArrayPropertyDecoratorOptions, IAttachKey2clickOptions } from "survey-core";
|
|
18
18
|
import * as React from "react";
|
|
19
19
|
|
|
20
20
|
export { SurveyModel } from "survey-core";
|
|
@@ -62,6 +62,11 @@ export interface IListProps {
|
|
|
62
62
|
export interface ILogoImageProps {
|
|
63
63
|
data: SurveyModel;
|
|
64
64
|
}
|
|
65
|
+
export declare class BrandInfo extends React.Component<any, any> {
|
|
66
|
+
constructor(props: any);
|
|
67
|
+
constructor(props: any, context: any);
|
|
68
|
+
render(): JSX.Element;
|
|
69
|
+
}
|
|
65
70
|
export declare class LogoImage extends React.Component<ILogoImageProps, any> {
|
|
66
71
|
constructor(props: ILogoImageProps);
|
|
67
72
|
render(): JSX.Element;
|
|
@@ -633,6 +638,13 @@ export declare class SurveyQuestionMatrixDynamicRemoveButton extends ReactSurvey
|
|
|
633
638
|
handleOnRowRemoveClick(event: any): void;
|
|
634
639
|
protected renderElement(): JSX.Element;
|
|
635
640
|
}
|
|
641
|
+
export declare class SurveyQuestionMatrixHeaderRequired extends ReactSurveyElement {
|
|
642
|
+
constructor(props: any);
|
|
643
|
+
get column(): MatrixDropdownColumn;
|
|
644
|
+
get question(): Question;
|
|
645
|
+
protected getStateElement(): Base;
|
|
646
|
+
protected renderElement(): JSX.Element;
|
|
647
|
+
}
|
|
636
648
|
export declare class SurveyQuestionMatrixRow extends ReactSurveyElement {
|
|
637
649
|
constructor(props: any);
|
|
638
650
|
handleOnChange(event: any): void;
|
|
@@ -650,6 +662,8 @@ export declare class SurveyQuestionMultipleText extends SurveyQuestionElementBas
|
|
|
650
662
|
}
|
|
651
663
|
export declare class SurveyQuestionOptionItem extends ReactSurveyElement {
|
|
652
664
|
constructor(props: any);
|
|
665
|
+
componentDidUpdate(prevProps: any, prevState: any): void;
|
|
666
|
+
componentWillUnmount(): void;
|
|
653
667
|
protected getStateElement(): Base;
|
|
654
668
|
protected canRender(): boolean;
|
|
655
669
|
protected renderElement(): JSX.Element;
|
|
@@ -806,10 +820,14 @@ export declare class SurveyQuestionCustom extends SurveyQuestionUncontrolledElem
|
|
|
806
820
|
}
|
|
807
821
|
export declare class SurveyQuestionDropdownBase<T> extends SurveyQuestionUncontrolledElement<T> {
|
|
808
822
|
constructor(props: any);
|
|
809
|
-
|
|
823
|
+
click: (event: any) => void;
|
|
824
|
+
clear: (event: any) => void;
|
|
825
|
+
keyup: (event: any) => void;
|
|
826
|
+
blur: (event: any) => void;
|
|
810
827
|
protected setValueCore(newValue: any): void;
|
|
811
828
|
protected getValueCore(): any;
|
|
812
829
|
protected renderSelect(cssClasses: any): JSX.Element;
|
|
830
|
+
createClearButton(): JSX.Element;
|
|
813
831
|
}
|
|
814
832
|
export declare class SurveyQuestionMatrixDropdown extends SurveyQuestionMatrixDropdownBase {
|
|
815
833
|
constructor(props: any);
|
|
@@ -833,7 +851,6 @@ export declare class SurveyQuestionPanelDynamicItem extends SurveyPanel {
|
|
|
833
851
|
constructor(props: any);
|
|
834
852
|
protected getSurvey(): SurveyModel;
|
|
835
853
|
protected getCss(): any;
|
|
836
|
-
handleOnPanelRemoveClick(event: any): void;
|
|
837
854
|
render(): JSX.Element;
|
|
838
855
|
protected renderButton(): JSX.Element;
|
|
839
856
|
}
|
|
@@ -851,6 +868,11 @@ export declare class SurveyQuestionPanelDynamicProgressText extends SurveyQuesti
|
|
|
851
868
|
constructor(props: any);
|
|
852
869
|
protected renderElement(): JSX.Element;
|
|
853
870
|
}
|
|
871
|
+
export declare class SurveyQuestionPanelDynamicRemoveButton extends SurveyQuestionPanelDynamicAction {
|
|
872
|
+
constructor(props: any);
|
|
873
|
+
protected handleClick: (event: any) => void;
|
|
874
|
+
protected renderElement(): JSX.Element;
|
|
875
|
+
}
|
|
854
876
|
export declare class SurveyQuestionText extends SurveyQuestionUncontrolledElement<QuestionTextModel> {
|
|
855
877
|
constructor(props: any);
|
|
856
878
|
_isWaitingForEnter: boolean;
|
|
@@ -878,10 +900,9 @@ export declare class SurveyQuestionRatingDropdown extends SurveyQuestionDropdown
|
|
|
878
900
|
export declare class SurveyQuestionDropdownSelect extends SurveyQuestionDropdown {
|
|
879
901
|
constructor(props: any);
|
|
880
902
|
protected renderSelect(cssClasses: any): JSX.Element;
|
|
881
|
-
createClearButton(): JSX.Element;
|
|
882
903
|
}
|
|
883
904
|
export declare function property(options?: any): (target: any, key: string) => void;
|
|
884
905
|
export declare function propertyArray(options?: IArrayPropertyDecoratorOptions): (target: any, key: string) => void;
|
|
885
906
|
export declare function showModal(componentName: string, data: any, onApply: any, onCancel?: any, cssClass?: string, title?: string, displayMode?: "popup" | "overlay"): void;
|
|
886
|
-
export declare function attachKey2click(element: JSX.Element, viewModel?: any, options?:
|
|
907
|
+
export declare function attachKey2click(element: JSX.Element, viewModel?: any, options?: IAttachKey2clickOptions): JSX.Element;
|
|
887
908
|
export declare var registerFunction: (name: string, func: any) => any;
|