survey-react-ui 1.9.9 → 1.9.13
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 +19 -41
- package/survey-react-ui.js +279 -223
- package/survey-react-ui.min.js +2 -2
package/package.json
CHANGED
package/survey-react-ui.d.ts
CHANGED
|
@@ -1,24 +1,22 @@
|
|
|
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.13
|
|
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
7
|
import { SurveyModel, QuestionMatrixDropdownRenderedRow, QuestionMatrixDropdownModelBase, ListModel, HashTable } from "survey-core";
|
|
8
|
-
import {
|
|
8
|
+
import { QuestionRowModel, SurveyElement, QuestionSelectBase, ItemValue, QuestionMatrixDropdownRenderedCell } from "survey-core";
|
|
9
|
+
import { LocalizableString, Base, SurveyTimerModel, ITitleOwner, PopupBaseViewModel } from "survey-core";
|
|
9
10
|
import { PageModel, ButtonGroupItemModel, QuestionButtonGroupModel, ButtonGroupItemValue, PanelModelBase } from "survey-core";
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
11
|
+
import { SurveyProgressButtonsModel, IElement, 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, SurveyWindowModel, FlowPanelModel, QuestionCommentModel } from "survey-core";
|
|
16
|
+
import { QuestionCompositeModel, QuestionCustomModel, QuestionDropdownModel, QuestionMatrixDynamicModel, QuestionTextModel } from "survey-core";
|
|
17
|
+
import { IArrayPropertyDecoratorOptions } from "survey-core";
|
|
17
18
|
import * as React from "react";
|
|
18
19
|
|
|
19
|
-
export { ReactSurveyModel as Model };
|
|
20
|
-
export { ReactWindowModel as WindowModel };
|
|
21
|
-
|
|
22
20
|
export enum DragTypeOverMeEnum {
|
|
23
21
|
InsideEmptyPanel = 1,
|
|
24
22
|
MultilineRight,
|
|
@@ -85,6 +83,12 @@ export declare class ReactQuestionFactory {
|
|
|
85
83
|
getAllTypes(): Array<any>;
|
|
86
84
|
createQuestion(questionType: string, params: any): any;
|
|
87
85
|
}
|
|
86
|
+
export declare class ReactSurveyElementsWrapper {
|
|
87
|
+
static wrapRow(survey: SurveyModel, element: any, row: QuestionRowModel): any;
|
|
88
|
+
static wrapElement(survey: SurveyModel, element: any, question: SurveyElement): any;
|
|
89
|
+
static wrapItemValue(survey: SurveyModel, element: any, question: QuestionSelectBase, item: ItemValue): any;
|
|
90
|
+
static wrapMatrixCell(survey: SurveyModel, element: any, cell: QuestionMatrixDropdownRenderedCell, reason?: string): any;
|
|
91
|
+
}
|
|
88
92
|
export declare class Skeleton extends React.Component<any, any> {
|
|
89
93
|
constructor(props: any);
|
|
90
94
|
constructor(props: any, context: any);
|
|
@@ -145,10 +149,7 @@ export declare class SurveyNavigationBase extends React.Component<any, any> {
|
|
|
145
149
|
}
|
|
146
150
|
export declare class SurveyTimerPanel extends React.Component<any, any> {
|
|
147
151
|
constructor(props: any);
|
|
148
|
-
protected get survey():
|
|
149
|
-
update: any;
|
|
150
|
-
componentDidMount(): void;
|
|
151
|
-
componentWillUnmount(): void;
|
|
152
|
+
protected get survey(): SurveyTimerModel;
|
|
152
153
|
render(): any;
|
|
153
154
|
}
|
|
154
155
|
export declare class SvgIcon extends React.Component<any, any> {
|
|
@@ -238,7 +239,7 @@ export declare class Survey extends SurveyElementBase<any, any> implements ISurv
|
|
|
238
239
|
rootRef: any;
|
|
239
240
|
static get cssType(): string;
|
|
240
241
|
static set cssType(val: string);
|
|
241
|
-
protected survey:
|
|
242
|
+
protected survey: SurveyModel;
|
|
242
243
|
rootNodeId: string;
|
|
243
244
|
rootNodeClassName: string;
|
|
244
245
|
protected getStateElement(): Base;
|
|
@@ -254,7 +255,6 @@ export declare class Survey extends SurveyElementBase<any, any> implements ISurv
|
|
|
254
255
|
protected renderCompleted(): any;
|
|
255
256
|
protected renderCompletedBefore(): any;
|
|
256
257
|
protected renderLoading(): any;
|
|
257
|
-
protected renderStartPage(): any;
|
|
258
258
|
protected renderSurvey(): any;
|
|
259
259
|
protected renderTimerPanel(location: string): any;
|
|
260
260
|
protected renderPage(page: PageModel): any;
|
|
@@ -308,7 +308,6 @@ export declare class SurveyButtonGroupItem extends SurveyElementBase<any, any> {
|
|
|
308
308
|
}
|
|
309
309
|
export declare class SurveyNavigation extends SurveyNavigationBase {
|
|
310
310
|
constructor(props: any);
|
|
311
|
-
mouseDownPage: any;
|
|
312
311
|
handlePrevClick(event: any): void;
|
|
313
312
|
handleNextClick(event: any): void;
|
|
314
313
|
handleNextMouseDown(event: any): boolean;
|
|
@@ -409,12 +408,6 @@ export declare class SurveyRow extends SurveyElementBase<any, any> {
|
|
|
409
408
|
componentWillUnmount(): void;
|
|
410
409
|
protected createElement(element: IElement, elementIndex?: number): any;
|
|
411
410
|
}
|
|
412
|
-
export declare class ReactWindowModel extends SurveyWindowModel {
|
|
413
|
-
constructor(jsonObj?: any, model?: ReactSurveyModel);
|
|
414
|
-
protected createSurvey(jsonObj: any): SurveyModel;
|
|
415
|
-
get renderCallback(): any;
|
|
416
|
-
set renderCallback(val: any);
|
|
417
|
-
}
|
|
418
411
|
export declare class SurveyActionBarItemDropdown extends SurveyActionBarItem {
|
|
419
412
|
constructor(props: any);
|
|
420
413
|
renderButtonContent(): any;
|
|
@@ -717,7 +710,7 @@ export declare class SurveyQuestionUncontrolledElement<T> extends SurveyQuestion
|
|
|
717
710
|
}
|
|
718
711
|
export declare class SurveyWindow extends Survey {
|
|
719
712
|
constructor(props: any);
|
|
720
|
-
protected window:
|
|
713
|
+
protected window: SurveyWindowModel;
|
|
721
714
|
protected getStateElements(): Array<Base>;
|
|
722
715
|
handleOnExpanded(event: any): void;
|
|
723
716
|
protected canRender(): boolean;
|
|
@@ -726,21 +719,6 @@ export declare class SurveyWindow extends Survey {
|
|
|
726
719
|
protected renderBody(): any;
|
|
727
720
|
protected createSurvey(newProps: any): void;
|
|
728
721
|
}
|
|
729
|
-
export declare class ReactSurveyModel extends SurveyModel {
|
|
730
|
-
constructor(jsonObj?: any);
|
|
731
|
-
renderCallback: any;
|
|
732
|
-
render(): void;
|
|
733
|
-
mergeCss(src: any, dest: any): void;
|
|
734
|
-
doAfterRenderSurvey(el: any): void;
|
|
735
|
-
protected onLoadSurveyFromService(): void;
|
|
736
|
-
protected onLoadingSurveyFromService(): void;
|
|
737
|
-
setCompletedState(value: string, text: string): void;
|
|
738
|
-
start(): boolean;
|
|
739
|
-
wrapRow(element: any, row: QuestionRowModel): any;
|
|
740
|
-
wrapElement(element: any, question: SurveyElement): any;
|
|
741
|
-
wrapItemValue(element: any, question: QuestionSelectBase, item: ItemValue): any;
|
|
742
|
-
wrapMatrixCell(element: any, cell: QuestionMatrixDropdownRenderedCell, reason?: string): any;
|
|
743
|
-
}
|
|
744
722
|
export declare class SurveyFlowPanel extends SurveyPanel {
|
|
745
723
|
constructor(props: any);
|
|
746
724
|
get flowPanel(): FlowPanelModel;
|