survey-react-ui 1.9.39 → 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 +23 -8
- package/survey-react-ui.js +495 -249
- 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;
|
|
@@ -808,10 +820,14 @@ export declare class SurveyQuestionCustom extends SurveyQuestionUncontrolledElem
|
|
|
808
820
|
}
|
|
809
821
|
export declare class SurveyQuestionDropdownBase<T> extends SurveyQuestionUncontrolledElement<T> {
|
|
810
822
|
constructor(props: any);
|
|
811
|
-
|
|
823
|
+
click: (event: any) => void;
|
|
824
|
+
clear: (event: any) => void;
|
|
825
|
+
keyup: (event: any) => void;
|
|
826
|
+
blur: (event: any) => void;
|
|
812
827
|
protected setValueCore(newValue: any): void;
|
|
813
828
|
protected getValueCore(): any;
|
|
814
829
|
protected renderSelect(cssClasses: any): JSX.Element;
|
|
830
|
+
createClearButton(): JSX.Element;
|
|
815
831
|
}
|
|
816
832
|
export declare class SurveyQuestionMatrixDropdown extends SurveyQuestionMatrixDropdownBase {
|
|
817
833
|
constructor(props: any);
|
|
@@ -884,10 +900,9 @@ export declare class SurveyQuestionRatingDropdown extends SurveyQuestionDropdown
|
|
|
884
900
|
export declare class SurveyQuestionDropdownSelect extends SurveyQuestionDropdown {
|
|
885
901
|
constructor(props: any);
|
|
886
902
|
protected renderSelect(cssClasses: any): JSX.Element;
|
|
887
|
-
createClearButton(): JSX.Element;
|
|
888
903
|
}
|
|
889
904
|
export declare function property(options?: any): (target: any, key: string) => void;
|
|
890
905
|
export declare function propertyArray(options?: IArrayPropertyDecoratorOptions): (target: any, key: string) => void;
|
|
891
906
|
export declare function showModal(componentName: string, data: any, onApply: any, onCancel?: any, cssClass?: string, title?: string, displayMode?: "popup" | "overlay"): void;
|
|
892
|
-
export declare function attachKey2click(element: JSX.Element, viewModel?: any, options?:
|
|
907
|
+
export declare function attachKey2click(element: JSX.Element, viewModel?: any, options?: IAttachKey2clickOptions): JSX.Element;
|
|
893
908
|
export declare var registerFunction: (name: string, func: any) => any;
|