survey-react-ui 1.9.4 → 1.9.5
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 +17 -17
- package/survey-react-ui.js +13 -15
- package/survey-react-ui.min.js +3 -3
package/package.json
CHANGED
package/survey-react-ui.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Type definition for Survey JavaScript library for React (without core) v1.9.
|
|
3
|
-
* Copyright (c) 2015-
|
|
2
|
+
* Type definition for Survey JavaScript library for React (without core) v1.9.5
|
|
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
|
*/
|
|
6
6
|
import { Action, PopupModel, ActionContainer, Question, SurveyError } from "survey-core";
|
|
@@ -74,7 +74,7 @@ export declare class ReactElementFactory {
|
|
|
74
74
|
static Instance: ReactElementFactory;
|
|
75
75
|
creatorHash: any;
|
|
76
76
|
registerElement(elementType: string, elementCreator: any): void;
|
|
77
|
-
getAllTypes(): any
|
|
77
|
+
getAllTypes(): Array<any>;
|
|
78
78
|
isElementRegistered(elementType: string): boolean;
|
|
79
79
|
createElement(elementType: string, params: any): any;
|
|
80
80
|
}
|
|
@@ -83,7 +83,7 @@ export declare class ReactQuestionFactory {
|
|
|
83
83
|
static Instance: ReactQuestionFactory;
|
|
84
84
|
creatorHash: any;
|
|
85
85
|
registerQuestion(questionType: string, questionCreator: any): void;
|
|
86
|
-
getAllTypes(): any
|
|
86
|
+
getAllTypes(): Array<any>;
|
|
87
87
|
createQuestion(questionType: string, params: any): any;
|
|
88
88
|
}
|
|
89
89
|
export declare class Skeleton extends React.Component<any, any> {
|
|
@@ -109,7 +109,7 @@ export declare class SurveyElementBase<P, S> extends React.Component<P, S> {
|
|
|
109
109
|
protected canRender(): boolean;
|
|
110
110
|
protected renderElement(): any;
|
|
111
111
|
protected get changedStatePropName(): string;
|
|
112
|
-
protected getStateElements():
|
|
112
|
+
protected getStateElements(): Array<Base>;
|
|
113
113
|
protected getStateElement(): Base;
|
|
114
114
|
protected get isDisplayMode(): boolean;
|
|
115
115
|
protected renderLocString(locStr: LocalizableString, style?: any): any;
|
|
@@ -170,7 +170,7 @@ export declare class TitleActions extends React.Component<any, any> {
|
|
|
170
170
|
export declare class TitleContent extends React.Component<any, any> {
|
|
171
171
|
constructor(props: any);
|
|
172
172
|
render(): any;
|
|
173
|
-
protected renderTitleSpans(element: ITitleOwner, cssClasses: any):
|
|
173
|
+
protected renderTitleSpans(element: ITitleOwner, cssClasses: any): Array<Element>;
|
|
174
174
|
}
|
|
175
175
|
export declare class TitleElement extends React.Component<any, any> {
|
|
176
176
|
constructor(props: any);
|
|
@@ -333,7 +333,7 @@ export declare class SurveyPanelBase extends SurveyElementBase<any, any> {
|
|
|
333
333
|
componentDidUpdate(prevProps: any, prevState: any): void;
|
|
334
334
|
protected canRender(): boolean;
|
|
335
335
|
renderedRowsCache: any;
|
|
336
|
-
protected renderRows(css: any):
|
|
336
|
+
protected renderRows(css: any): Array<Element>;
|
|
337
337
|
protected createRow(row: QuestionRowModel, css: any): any;
|
|
338
338
|
}
|
|
339
339
|
export declare class SurveyProgress extends SurveyNavigationBase {
|
|
@@ -349,7 +349,7 @@ export declare class SurveyProgressButtons extends SurveyNavigationBase {
|
|
|
349
349
|
updateScroller: any;
|
|
350
350
|
listContainerRef: any;
|
|
351
351
|
render(): any;
|
|
352
|
-
protected getListElements():
|
|
352
|
+
protected getListElements(): Array<Element>;
|
|
353
353
|
protected renderListElement(page: PageModel, index: number): any;
|
|
354
354
|
protected isListElementClickable(index: number): boolean;
|
|
355
355
|
protected getListElementCss(index: number): string;
|
|
@@ -498,7 +498,7 @@ export declare class SurveyQuestionCheckbox extends SurveyQuestionElementBase {
|
|
|
498
498
|
protected get question(): QuestionCheckboxModel;
|
|
499
499
|
protected renderElement(): any;
|
|
500
500
|
protected getColumns(cssClasses: any): any;
|
|
501
|
-
protected getItems(cssClasses: any): any
|
|
501
|
+
protected getItems(cssClasses: any): Array<any>;
|
|
502
502
|
protected get textStyle(): any;
|
|
503
503
|
protected renderItem(key: string, item: any, isFirst: boolean, cssClasses: any, index: string): any;
|
|
504
504
|
}
|
|
@@ -565,7 +565,7 @@ export declare class SurveyQuestionImagePicker extends SurveyQuestionElementBase
|
|
|
565
565
|
protected get question(): QuestionImagePickerModel;
|
|
566
566
|
handleOnChange(event: any): void;
|
|
567
567
|
protected renderElement(): any;
|
|
568
|
-
protected getItems(cssClasses: any): any
|
|
568
|
+
protected getItems(cssClasses: any): Array<any>;
|
|
569
569
|
protected get textStyle(): any;
|
|
570
570
|
protected renderItem(key: string, item: ItemValue, cssClasses: any): any;
|
|
571
571
|
}
|
|
@@ -670,14 +670,14 @@ export declare class SurveyQuestionRadiogroup extends SurveyQuestionElementBase
|
|
|
670
670
|
protected get question(): QuestionRadiogroupModel;
|
|
671
671
|
protected renderElement(): any;
|
|
672
672
|
protected getColumns(cssClasses: any): any;
|
|
673
|
-
protected getItems(cssClasses: any): any
|
|
673
|
+
protected getItems(cssClasses: any): Array<any>;
|
|
674
674
|
protected get textStyle(): any;
|
|
675
675
|
}
|
|
676
676
|
export declare class SurveyQuestionRanking extends SurveyQuestionElementBase {
|
|
677
677
|
constructor(props: any);
|
|
678
678
|
protected get question(): QuestionRankingModel;
|
|
679
679
|
protected renderElement(): any;
|
|
680
|
-
protected getItems(): any
|
|
680
|
+
protected getItems(): Array<any>;
|
|
681
681
|
protected renderItem(item: ItemValue, i: number, handleKeydown: any, handlePointerDown: any, cssClasses: any, itemClass: string, question: QuestionRankingModel): any;
|
|
682
682
|
}
|
|
683
683
|
export declare class SurveyQuestionRankingItem extends ReactSurveyElement {
|
|
@@ -716,7 +716,7 @@ export declare class SurveyQuestionUncontrolledElement<T> extends SurveyQuestion
|
|
|
716
716
|
export declare class SurveyWindow extends Survey {
|
|
717
717
|
constructor(props: any);
|
|
718
718
|
protected window: ReactWindowModel;
|
|
719
|
-
protected getStateElements():
|
|
719
|
+
protected getStateElements(): Array<Base>;
|
|
720
720
|
handleOnExpanded(event: any): void;
|
|
721
721
|
protected canRender(): boolean;
|
|
722
722
|
protected renderElement(): any;
|
|
@@ -746,10 +746,10 @@ export declare class SurveyFlowPanel extends SurveyPanel {
|
|
|
746
746
|
componentWillUnmount(): void;
|
|
747
747
|
protected getQuestion(name: string): Question;
|
|
748
748
|
protected renderQuestion(question: Question): string;
|
|
749
|
-
protected renderRows():
|
|
749
|
+
protected renderRows(): Array<Element>;
|
|
750
750
|
renderedIndex: number;
|
|
751
751
|
protected renderHtml(): any;
|
|
752
|
-
protected renderNodes(domNodes: any):
|
|
752
|
+
protected renderNodes(domNodes: any): Array<Element>;
|
|
753
753
|
protected renderParentNode(node: any): any;
|
|
754
754
|
protected renderNode(node: any): any;
|
|
755
755
|
protected renderContent(style: any, rows: any): any;
|
|
@@ -782,7 +782,7 @@ export declare class SurveyQuestionComposite extends SurveyQuestionUncontrolledE
|
|
|
782
782
|
}
|
|
783
783
|
export declare class SurveyQuestionCustom extends SurveyQuestionUncontrolledElement<QuestionCustomModel> {
|
|
784
784
|
constructor(props: any);
|
|
785
|
-
protected getStateElements():
|
|
785
|
+
protected getStateElements(): Array<Base>;
|
|
786
786
|
protected renderElement(): any;
|
|
787
787
|
}
|
|
788
788
|
export declare class SurveyQuestionDropdown extends SurveyQuestionUncontrolledElement<QuestionDropdownModel> {
|
|
@@ -834,6 +834,6 @@ export declare function propertyArray(options?: IArrayPropertyDecoratorOptions):
|
|
|
834
834
|
export declare function createPopupModalViewModel(componentName: string, data: any, onApply: any, onCancel?: any, onHide?: any, onShow?: any, cssClass?: string, title?: string, displayMode?: "popup" | "overlay"): PopupBaseViewModel;
|
|
835
835
|
export declare function unwrap<T>(value: any): T;
|
|
836
836
|
export declare function getSize(value: any): any;
|
|
837
|
-
export declare function getCurrecyCodes(): any
|
|
837
|
+
export declare function getCurrecyCodes(): Array<any>;
|
|
838
838
|
export declare function showModal(componentName: string, data: any, onApply: any, onCancel?: any, cssClass?: string, title?: string, displayMode?: "popup" | "overlay"): void;
|
|
839
839
|
export declare function attachKey2click(element: any, viewModel?: any, options?: any): any;
|