survey-react-ui 1.9.41 → 1.9.44
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 +26 -6
- package/survey-react-ui.js +347 -158
- 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.44
|
|
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
|
*/
|
|
@@ -13,8 +13,9 @@ import { QuestionBooleanModel, QuestionCheckboxModel, QuestionEmptyModel, Questi
|
|
|
13
13
|
import { QuestionHtmlModel, QuestionImageModel, QuestionImagePickerModel, ImageItemValue, QuestionMatrixModel } from "survey-core";
|
|
14
14
|
import { AdaptiveActionContainer, QuestionMatrixDynamicModel, MatrixDropdownColumn, QuestionMultipleTextModel, QuestionPanelDynamicModel } from "survey-core";
|
|
15
15
|
import { QuestionRadiogroupModel, QuestionRankingModel, QuestionRatingModel, RenderedRatingItem, QuestionSignaturePadModel } from "survey-core";
|
|
16
|
-
import { SurveyTimerModel, SurveyWindowModel, FlowPanelModel, QuestionCommentModel
|
|
17
|
-
import { QuestionCustomModel, QuestionTextModel, IArrayPropertyDecoratorOptions,
|
|
16
|
+
import { QuestionTagboxModel, SurveyTimerModel, SurveyWindowModel, FlowPanelModel, QuestionCommentModel } from "survey-core";
|
|
17
|
+
import { QuestionCompositeModel, QuestionCustomModel, QuestionTextModel, IArrayPropertyDecoratorOptions, IDialogOptions } from "survey-core";
|
|
18
|
+
import { IAttachKey2clickOptions } from "survey-core";
|
|
18
19
|
import * as React from "react";
|
|
19
20
|
|
|
20
21
|
export { SurveyModel } from "survey-core";
|
|
@@ -148,10 +149,12 @@ export declare class SurveyLocStringEditor extends React.Component<any, any> {
|
|
|
148
149
|
}
|
|
149
150
|
export declare class SurveyLocStringViewer extends React.Component<any, any> {
|
|
150
151
|
constructor(props: any);
|
|
152
|
+
rootRef: any;
|
|
151
153
|
componentDidMount(): void;
|
|
152
154
|
componentWillUnmount(): void;
|
|
153
155
|
componentDidUpdate(prevProps: any, prevState: any): void;
|
|
154
156
|
isRendering: boolean;
|
|
157
|
+
onChangedHandler: (sender: any, options: any) => void;
|
|
155
158
|
render(): JSX.Element;
|
|
156
159
|
protected renderString(): JSX.Element;
|
|
157
160
|
}
|
|
@@ -313,7 +316,7 @@ export declare class SurveyButtonGroupItem extends SurveyElementBase<any, any> {
|
|
|
313
316
|
get question(): QuestionButtonGroupModel;
|
|
314
317
|
get item(): ButtonGroupItemValue;
|
|
315
318
|
getStateElement(): ButtonGroupItemValue;
|
|
316
|
-
|
|
319
|
+
renderElement(): JSX.Element;
|
|
317
320
|
protected renderIcon(): JSX.Element;
|
|
318
321
|
protected renderInput(): JSX.Element;
|
|
319
322
|
protected renderCaption(): JSX.Element;
|
|
@@ -503,7 +506,7 @@ export declare class SurveyQuestionButtonGroup extends SurveyQuestionElementBase
|
|
|
503
506
|
constructor(props: any);
|
|
504
507
|
protected get question(): QuestionButtonGroupModel;
|
|
505
508
|
getStateElement(): QuestionButtonGroupModel;
|
|
506
|
-
|
|
509
|
+
renderElement(): JSX.Element;
|
|
507
510
|
renderItems(): any;
|
|
508
511
|
}
|
|
509
512
|
export declare class SurveyQuestionCheckbox extends SurveyQuestionElementBase {
|
|
@@ -750,6 +753,14 @@ export declare class SurveyQuestionSignaturePad extends SurveyQuestionElementBas
|
|
|
750
753
|
protected renderElement(): JSX.Element;
|
|
751
754
|
renderCleanButton(): JSX.Element;
|
|
752
755
|
}
|
|
756
|
+
export declare class SurveyQuestionTagboxItem extends ReactSurveyElement {
|
|
757
|
+
constructor(props: any);
|
|
758
|
+
protected getStateElement(): Base;
|
|
759
|
+
protected get question(): QuestionTagboxModel;
|
|
760
|
+
protected get item(): ItemValue;
|
|
761
|
+
protected canRender(): boolean;
|
|
762
|
+
protected renderElement(): JSX.Element;
|
|
763
|
+
}
|
|
753
764
|
export declare class SurveyQuestionUncontrolledElement<T> extends SurveyQuestionElementBase {
|
|
754
765
|
constructor(props: any);
|
|
755
766
|
protected get question(): T;
|
|
@@ -835,7 +846,9 @@ export declare class SurveyQuestionDropdownBase<T> extends SurveyQuestionUncontr
|
|
|
835
846
|
protected setValueCore(newValue: any): void;
|
|
836
847
|
protected getValueCore(): any;
|
|
837
848
|
protected renderSelect(cssClasses: any): JSX.Element;
|
|
849
|
+
protected renderInput(): JSX.Element;
|
|
838
850
|
createClearButton(): JSX.Element;
|
|
851
|
+
protected renderOther(cssClasses: any): JSX.Element;
|
|
839
852
|
}
|
|
840
853
|
export declare class SurveyQuestionMatrixDropdown extends SurveyQuestionMatrixDropdownBase {
|
|
841
854
|
constructor(props: any);
|
|
@@ -890,10 +903,10 @@ export declare class SurveyQuestionText extends SurveyQuestionUncontrolledElemen
|
|
|
890
903
|
export declare class SurveyQuestionDropdown extends SurveyQuestionDropdownBase<Question> {
|
|
891
904
|
constructor(props: any);
|
|
892
905
|
protected renderElement(): JSX.Element;
|
|
893
|
-
protected renderOther(cssClasses: any): JSX.Element;
|
|
894
906
|
}
|
|
895
907
|
export declare class SurveyQuestionMatrixDropdownCell extends SurveyQuestionAndErrorsCell {
|
|
896
908
|
constructor(props: any);
|
|
909
|
+
protected get itemCss(): string;
|
|
897
910
|
protected getQuestion(): Question;
|
|
898
911
|
protected doAfterRender(): void;
|
|
899
912
|
protected getShowErrors(): boolean;
|
|
@@ -905,6 +918,12 @@ export declare class SurveyQuestionRatingDropdown extends SurveyQuestionDropdown
|
|
|
905
918
|
constructor(props: any);
|
|
906
919
|
protected renderElement(): JSX.Element;
|
|
907
920
|
}
|
|
921
|
+
export declare class SurveyQuestionTagbox extends SurveyQuestionDropdownBase<QuestionTagboxModel> {
|
|
922
|
+
constructor(props: any);
|
|
923
|
+
protected renderItem(key: string, item: any): JSX.Element;
|
|
924
|
+
protected renderInput(): JSX.Element;
|
|
925
|
+
protected renderElement(): JSX.Element;
|
|
926
|
+
}
|
|
908
927
|
export declare class SurveyQuestionDropdownSelect extends SurveyQuestionDropdown {
|
|
909
928
|
constructor(props: any);
|
|
910
929
|
protected renderSelect(cssClasses: any): JSX.Element;
|
|
@@ -912,5 +931,6 @@ export declare class SurveyQuestionDropdownSelect extends SurveyQuestionDropdown
|
|
|
912
931
|
export declare function property(options?: any): (target: any, key: string) => void;
|
|
913
932
|
export declare function propertyArray(options?: IArrayPropertyDecoratorOptions): (target: any, key: string) => void;
|
|
914
933
|
export declare function showModal(componentName: string, data: any, onApply: any, onCancel?: any, cssClass?: string, title?: string, displayMode?: "popup" | "overlay"): void;
|
|
934
|
+
export declare function showDialog(dialogOptions: IDialogOptions): void;
|
|
915
935
|
export declare function attachKey2click(element: JSX.Element, viewModel?: any, options?: IAttachKey2clickOptions): JSX.Element;
|
|
916
936
|
export declare var registerFunction: (name: string, func: any) => any;
|