survey-react-ui 1.9.5 → 1.9.9
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 +14 -12
- package/survey-react-ui.js +87 -68
- package/survey-react-ui.min.js +2 -2
package/package.json
CHANGED
package/survey-react-ui.d.ts
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
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.9
|
|
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, QuestionMatrixDropdownRenderedRow, ListModel, HashTable
|
|
8
|
-
import { Base, SurveyElement, ITitleOwner, PopupBaseViewModel
|
|
9
|
-
import { ButtonGroupItemModel, QuestionButtonGroupModel, ButtonGroupItemValue, PanelModelBase
|
|
10
|
-
import { SurveyProgressButtonsModel, IElement, SurveyWindowModel, TooltipManager
|
|
11
|
-
import { QuestionBooleanModel, QuestionCheckboxModel, ItemValue, QuestionEmptyModel
|
|
12
|
-
import { QuestionFileModel, QuestionHtmlModel, QuestionImageModel, QuestionImagePickerModel
|
|
13
|
-
import {
|
|
7
|
+
import { SurveyModel, QuestionMatrixDropdownRenderedRow, QuestionMatrixDropdownModelBase, ListModel, HashTable } from "survey-core";
|
|
8
|
+
import { LocalizableString, Base, SurveyElement, ITitleOwner, PopupBaseViewModel } from "survey-core";
|
|
9
|
+
import { PageModel, ButtonGroupItemModel, QuestionButtonGroupModel, ButtonGroupItemValue, PanelModelBase } from "survey-core";
|
|
10
|
+
import { QuestionRowModel, SurveyProgressButtonsModel, IElement, SurveyWindowModel, TooltipManager } from "survey-core";
|
|
11
|
+
import { PanelModel, QuestionBooleanModel, QuestionCheckboxModel, ItemValue, QuestionEmptyModel } from "survey-core";
|
|
12
|
+
import { QuestionExpressionModel, QuestionFileModel, QuestionHtmlModel, QuestionImageModel, QuestionImagePickerModel } from "survey-core";
|
|
13
|
+
import { QuestionMatrixModel, AdaptiveActionContainer, QuestionMatrixDropdownRenderedCell, QuestionMultipleTextModel, MultipleTextItemModel } from "survey-core";
|
|
14
14
|
import { QuestionPanelDynamicModel, QuestionRadiogroupModel, QuestionRankingModel, QuestionRatingModel, RenderedRatingItem } from "survey-core";
|
|
15
15
|
import { QuestionSignaturePadModel, QuestionSelectBase, FlowPanelModel, QuestionCommentModel, QuestionCompositeModel } from "survey-core";
|
|
16
16
|
import { QuestionCustomModel, QuestionDropdownModel, QuestionMatrixDynamicModel, QuestionTextModel, IArrayPropertyDecoratorOptions } from "survey-core";
|
|
@@ -45,6 +45,7 @@ export interface ISurveyHeaderProps {
|
|
|
45
45
|
}
|
|
46
46
|
export interface IMAtrixRowProps {
|
|
47
47
|
model: QuestionMatrixDropdownRenderedRow;
|
|
48
|
+
parentMatrix: QuestionMatrixDropdownModelBase;
|
|
48
49
|
}
|
|
49
50
|
export interface IListItemProps {
|
|
50
51
|
model: ListModel;
|
|
@@ -70,7 +71,6 @@ export declare class LogoImage extends React.Component<ILogoImageProps, any> {
|
|
|
70
71
|
render(): any;
|
|
71
72
|
}
|
|
72
73
|
export declare class ReactElementFactory {
|
|
73
|
-
constructor();
|
|
74
74
|
static Instance: ReactElementFactory;
|
|
75
75
|
creatorHash: any;
|
|
76
76
|
registerElement(elementType: string, elementCreator: any): void;
|
|
@@ -79,7 +79,6 @@ export declare class ReactElementFactory {
|
|
|
79
79
|
createElement(elementType: string, params: any): any;
|
|
80
80
|
}
|
|
81
81
|
export declare class ReactQuestionFactory {
|
|
82
|
-
constructor();
|
|
83
82
|
static Instance: ReactQuestionFactory;
|
|
84
83
|
creatorHash: any;
|
|
85
84
|
registerQuestion(questionType: string, questionCreator: any): void;
|
|
@@ -181,7 +180,7 @@ export declare class List extends SurveyElementBase<IListProps, any> {
|
|
|
181
180
|
get model(): ListModel;
|
|
182
181
|
handleKeydown: any;
|
|
183
182
|
getStateElement(): ListModel;
|
|
184
|
-
|
|
183
|
+
renderElement(): any;
|
|
185
184
|
renderItems(): any;
|
|
186
185
|
searchElementContent(): any;
|
|
187
186
|
}
|
|
@@ -196,7 +195,9 @@ export declare class ListItem extends SurveyElementBase<IListItemProps, any> {
|
|
|
196
195
|
export declare class MatrixRow extends SurveyElementBase<IMAtrixRowProps, any> {
|
|
197
196
|
constructor(props: IMAtrixRowProps);
|
|
198
197
|
get model(): QuestionMatrixDropdownRenderedRow;
|
|
198
|
+
get parentMatrix(): QuestionMatrixDropdownModelBase;
|
|
199
199
|
protected getStateElement(): QuestionMatrixDropdownRenderedRow;
|
|
200
|
+
protected onPointerDownHandler: any;
|
|
200
201
|
render(): any;
|
|
201
202
|
}
|
|
202
203
|
export declare class Popup extends SurveyElementBase<IPopupProps, any> {
|
|
@@ -238,6 +239,8 @@ export declare class Survey extends SurveyElementBase<any, any> implements ISurv
|
|
|
238
239
|
static get cssType(): string;
|
|
239
240
|
static set cssType(val: string);
|
|
240
241
|
protected survey: ReactSurveyModel;
|
|
242
|
+
rootNodeId: string;
|
|
243
|
+
rootNodeClassName: string;
|
|
241
244
|
protected getStateElement(): Base;
|
|
242
245
|
shouldComponentUpdate(nextProps: any, nextState: any): boolean;
|
|
243
246
|
componentDidUpdate(prevProps: any, prevState: any): void;
|
|
@@ -603,7 +606,6 @@ export declare class SurveyQuestionMatrixDropdownBase extends SurveyQuestionElem
|
|
|
603
606
|
}
|
|
604
607
|
export declare class SurveyQuestionMatrixDynamicDragDropIcon extends ReactSurveyElement {
|
|
605
608
|
constructor(props: any);
|
|
606
|
-
onPointerDownHandler(event: any): void;
|
|
607
609
|
protected renderElement(): any;
|
|
608
610
|
}
|
|
609
611
|
export declare class SurveyQuestionMatrixDynamicRemoveButton extends ReactSurveyElement {
|