survey-react-ui 1.9.8 → 1.9.12
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 +21 -11
- package/survey-react-ui.js +76 -47
- package/survey-react-ui.min.js +2 -2
package/package.json
CHANGED
package/survey-react-ui.d.ts
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
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.12
|
|
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 {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import { QuestionPanelDynamicModel, QuestionRadiogroupModel, QuestionRankingModel, QuestionRatingModel
|
|
15
|
-
import {
|
|
7
|
+
import { SurveyModel, QuestionMatrixDropdownRenderedRow, QuestionMatrixDropdownModelBase, ListModel, HashTable } from "survey-core";
|
|
8
|
+
import { QuestionRowModel, SurveyElement, QuestionSelectBase, ItemValue, QuestionMatrixDropdownRenderedCell } from "survey-core";
|
|
9
|
+
import { LocalizableString, Base, ITitleOwner, PopupBaseViewModel, PageModel } from "survey-core";
|
|
10
|
+
import { ButtonGroupItemModel, QuestionButtonGroupModel, ButtonGroupItemValue, PanelModelBase, SurveyProgressButtonsModel } from "survey-core";
|
|
11
|
+
import { IElement, SurveyWindowModel, TooltipManager, PanelModel, QuestionBooleanModel } from "survey-core";
|
|
12
|
+
import { QuestionCheckboxModel, QuestionEmptyModel, QuestionExpressionModel, QuestionFileModel, QuestionHtmlModel } from "survey-core";
|
|
13
|
+
import { QuestionImageModel, QuestionImagePickerModel, QuestionMatrixModel, AdaptiveActionContainer, QuestionMultipleTextModel } from "survey-core";
|
|
14
|
+
import { MultipleTextItemModel, QuestionPanelDynamicModel, QuestionRadiogroupModel, QuestionRankingModel, QuestionRatingModel } from "survey-core";
|
|
15
|
+
import { RenderedRatingItem, QuestionSignaturePadModel, FlowPanelModel, QuestionCommentModel, QuestionCompositeModel } from "survey-core";
|
|
16
16
|
import { QuestionCustomModel, QuestionDropdownModel, QuestionMatrixDynamicModel, QuestionTextModel, IArrayPropertyDecoratorOptions } from "survey-core";
|
|
17
17
|
import * as React from "react";
|
|
18
18
|
|
|
@@ -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;
|
|
@@ -84,6 +85,14 @@ export declare class ReactQuestionFactory {
|
|
|
84
85
|
getAllTypes(): Array<any>;
|
|
85
86
|
createQuestion(questionType: string, params: any): any;
|
|
86
87
|
}
|
|
88
|
+
export declare class ReactSurveyElementsWrapper {
|
|
89
|
+
constructor(survey: SurveyModel);
|
|
90
|
+
survey: SurveyModel;
|
|
91
|
+
wrapRow(element: any, row: QuestionRowModel): any;
|
|
92
|
+
wrapElement(element: any, question: SurveyElement): any;
|
|
93
|
+
wrapItemValue(element: any, question: QuestionSelectBase, item: ItemValue): any;
|
|
94
|
+
wrapMatrixCell(element: any, cell: QuestionMatrixDropdownRenderedCell, reason?: string): any;
|
|
95
|
+
}
|
|
87
96
|
export declare class Skeleton extends React.Component<any, any> {
|
|
88
97
|
constructor(props: any);
|
|
89
98
|
constructor(props: any, context: any);
|
|
@@ -194,7 +203,9 @@ export declare class ListItem extends SurveyElementBase<IListItemProps, any> {
|
|
|
194
203
|
export declare class MatrixRow extends SurveyElementBase<IMAtrixRowProps, any> {
|
|
195
204
|
constructor(props: IMAtrixRowProps);
|
|
196
205
|
get model(): QuestionMatrixDropdownRenderedRow;
|
|
206
|
+
get parentMatrix(): QuestionMatrixDropdownModelBase;
|
|
197
207
|
protected getStateElement(): QuestionMatrixDropdownRenderedRow;
|
|
208
|
+
protected onPointerDownHandler: any;
|
|
198
209
|
render(): any;
|
|
199
210
|
}
|
|
200
211
|
export declare class Popup extends SurveyElementBase<IPopupProps, any> {
|
|
@@ -603,7 +614,6 @@ export declare class SurveyQuestionMatrixDropdownBase extends SurveyQuestionElem
|
|
|
603
614
|
}
|
|
604
615
|
export declare class SurveyQuestionMatrixDynamicDragDropIcon extends ReactSurveyElement {
|
|
605
616
|
constructor(props: any);
|
|
606
|
-
onPointerDownHandler(event: any): void;
|
|
607
617
|
protected renderElement(): any;
|
|
608
618
|
}
|
|
609
619
|
export declare class SurveyQuestionMatrixDynamicRemoveButton extends ReactSurveyElement {
|