survey-react-ui 1.9.47 → 1.9.49
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 +40 -17
- package/survey-react-ui.js +681 -186
- package/survey-react-ui.min.js +2 -2
package/package.json
CHANGED
package/survey-react-ui.d.ts
CHANGED
|
@@ -1,29 +1,29 @@
|
|
|
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.49
|
|
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
|
*/
|
|
6
6
|
import { Action, PopupModel, ActionContainer, Question, SurveyError } from "survey-core";
|
|
7
|
-
import { SurveyModel,
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import { QuestionCompositeModel, QuestionCustomModel,
|
|
18
|
-
import { IAttachKey2clickOptions } from "survey-core";
|
|
7
|
+
import { SurveyModel, DropdownMultiSelectListModel, QuestionTagboxModel, QuestionMatrixDropdownRenderedRow, QuestionMatrixDropdownModelBase } from "survey-core";
|
|
8
|
+
import { ListModel, HashTable, QuestionRowModel, SurveyElement, QuestionSelectBase } from "survey-core";
|
|
9
|
+
import { ItemValue, QuestionMatrixDropdownRenderedCell, LocalizableString, Base, ITitleOwner } from "survey-core";
|
|
10
|
+
import { PopupBaseViewModel, PageModel, ButtonGroupItemModel, QuestionButtonGroupModel, ButtonGroupItemValue } from "survey-core";
|
|
11
|
+
import { PanelModelBase, SurveyProgressButtonsModel, IElement, PopupSurveyModel, ActionDropdownViewModel } from "survey-core";
|
|
12
|
+
import { TooltipManager, MultipleTextItemModel, PanelModel, QuestionBooleanModel, QuestionCheckboxModel } from "survey-core";
|
|
13
|
+
import { QuestionEmptyModel, QuestionExpressionModel, QuestionFileModel, QuestionHtmlModel, QuestionImageModel } from "survey-core";
|
|
14
|
+
import { QuestionImagePickerModel, ImageItemValue, QuestionMatrixModel, AdaptiveActionContainer, QuestionMatrixDynamicModel } from "survey-core";
|
|
15
|
+
import { MatrixDropdownColumn, QuestionMultipleTextModel, QuestionPanelDynamicModel, QuestionRadiogroupModel, QuestionRankingModel } from "survey-core";
|
|
16
|
+
import { QuestionRatingModel, RenderedRatingItem, QuestionSignaturePadModel, SurveyTimerModel, FlowPanelModel } from "survey-core";
|
|
17
|
+
import { QuestionCommentModel, QuestionCompositeModel, QuestionCustomModel, DropdownListModel, QuestionTextModel } from "survey-core";
|
|
18
|
+
import { IArrayPropertyDecoratorOptions, IDialogOptions, IAttachKey2clickOptions } from "survey-core";
|
|
19
19
|
import * as React from "react";
|
|
20
20
|
|
|
21
21
|
export { SurveyModel } from "survey-core";
|
|
22
|
-
export { Model } from "survey-core";
|
|
23
22
|
export { SurveyWindowModel } from "survey-core";
|
|
24
23
|
export { settings } from "survey-core";
|
|
25
24
|
export { surveyLocalization } from "survey-core";
|
|
26
25
|
export { surveyStrings } from "survey-core";
|
|
26
|
+
export { SurveyModel as Model } from "survey-core";
|
|
27
27
|
|
|
28
28
|
export enum DragTypeOverMeEnum {
|
|
29
29
|
InsideEmptyPanel = 1,
|
|
@@ -49,6 +49,10 @@ export interface ISurveyCreator {
|
|
|
49
49
|
export interface ISurveyHeaderProps {
|
|
50
50
|
survey: SurveyModel;
|
|
51
51
|
}
|
|
52
|
+
export interface ITagboxFilterProps {
|
|
53
|
+
model: DropdownMultiSelectListModel;
|
|
54
|
+
question: QuestionTagboxModel;
|
|
55
|
+
}
|
|
52
56
|
export interface IMatrixRowProps {
|
|
53
57
|
model: QuestionMatrixDropdownRenderedRow;
|
|
54
58
|
parentMatrix: QuestionMatrixDropdownModelBase;
|
|
@@ -124,7 +128,7 @@ export declare class SurveyElementBase<P, S> extends React.Component<P, S> {
|
|
|
124
128
|
protected getStateElements(): Array<Base>;
|
|
125
129
|
protected getStateElement(): Base;
|
|
126
130
|
protected get isDisplayMode(): boolean;
|
|
127
|
-
protected renderLocString(locStr: LocalizableString, style?: any): JSX.Element;
|
|
131
|
+
protected renderLocString(locStr: LocalizableString, style?: any, key?: string): JSX.Element;
|
|
128
132
|
protected canUsePropInState(key: string): boolean;
|
|
129
133
|
}
|
|
130
134
|
export declare class SurveyElementHeader extends React.Component<any, any> {
|
|
@@ -194,6 +198,7 @@ export declare class List extends SurveyElementBase<IListProps, any> {
|
|
|
194
198
|
constructor(props: any);
|
|
195
199
|
get model(): ListModel;
|
|
196
200
|
handleKeydown: (event: any) => void;
|
|
201
|
+
handleMouseMove: (event: any) => void;
|
|
197
202
|
getStateElement(): ListModel;
|
|
198
203
|
renderElement(): JSX.Element;
|
|
199
204
|
renderItems(): any;
|
|
@@ -414,6 +419,20 @@ export declare class SurveyRow extends SurveyElementBase<any, any> {
|
|
|
414
419
|
componentWillUnmount(): void;
|
|
415
420
|
protected createElement(element: IElement, elementIndex?: number): JSX.Element;
|
|
416
421
|
}
|
|
422
|
+
export declare class TagboxFilterString extends SurveyElementBase<ITagboxFilterProps, any> {
|
|
423
|
+
constructor(props: any);
|
|
424
|
+
inputElement: any;
|
|
425
|
+
get model(): DropdownMultiSelectListModel;
|
|
426
|
+
get question(): QuestionTagboxModel;
|
|
427
|
+
componentDidUpdate(prevProps: any, prevState: any): void;
|
|
428
|
+
componentDidMount(): void;
|
|
429
|
+
updateDomElement(): void;
|
|
430
|
+
onChange(e: any): void;
|
|
431
|
+
onKeyUp(e: any): void;
|
|
432
|
+
onBlur(e: any): void;
|
|
433
|
+
getStateElement(): DropdownMultiSelectListModel;
|
|
434
|
+
render(): JSX.Element;
|
|
435
|
+
}
|
|
417
436
|
export declare class PopupSurvey extends Survey {
|
|
418
437
|
constructor(props: any);
|
|
419
438
|
protected popup: PopupSurveyModel;
|
|
@@ -840,6 +859,7 @@ export declare class SurveyQuestionCustom extends SurveyQuestionUncontrolledElem
|
|
|
840
859
|
}
|
|
841
860
|
export declare class SurveyQuestionDropdownBase<T> extends SurveyQuestionUncontrolledElement<T> {
|
|
842
861
|
constructor(props: any);
|
|
862
|
+
inputElement: any;
|
|
843
863
|
click: (event: any) => void;
|
|
844
864
|
clear: (event: any) => void;
|
|
845
865
|
keyup: (event: any) => void;
|
|
@@ -847,9 +867,12 @@ export declare class SurveyQuestionDropdownBase<T> extends SurveyQuestionUncontr
|
|
|
847
867
|
protected setValueCore(newValue: any): void;
|
|
848
868
|
protected getValueCore(): any;
|
|
849
869
|
protected renderSelect(cssClasses: any): JSX.Element;
|
|
850
|
-
protected renderInput(): JSX.Element;
|
|
870
|
+
protected renderInput(dropdownListModel: DropdownListModel): JSX.Element;
|
|
851
871
|
createClearButton(): JSX.Element;
|
|
852
872
|
protected renderOther(cssClasses: any): JSX.Element;
|
|
873
|
+
componentDidUpdate(prevProps: any, prevState: any): void;
|
|
874
|
+
componentDidMount(): void;
|
|
875
|
+
updateInputDomElement(): void;
|
|
853
876
|
}
|
|
854
877
|
export declare class SurveyQuestionMatrixDropdown extends SurveyQuestionMatrixDropdownBase {
|
|
855
878
|
constructor(props: any);
|
|
@@ -928,7 +951,7 @@ export declare class SurveyQuestionRatingDropdown extends SurveyQuestionDropdown
|
|
|
928
951
|
export declare class SurveyQuestionTagbox extends SurveyQuestionDropdownBase<QuestionTagboxModel> {
|
|
929
952
|
constructor(props: any);
|
|
930
953
|
protected renderItem(key: string, item: any): JSX.Element;
|
|
931
|
-
protected renderInput(): JSX.Element;
|
|
954
|
+
protected renderInput(dropdownListModel: DropdownListModel): JSX.Element;
|
|
932
955
|
protected renderElement(): JSX.Element;
|
|
933
956
|
}
|
|
934
957
|
export declare class SurveyQuestionDropdownSelect extends SurveyQuestionDropdown {
|