survey-react-ui 1.9.22 → 1.9.25
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 +28 -21
- package/survey-react-ui.js +882 -304
- package/survey-react-ui.min.js +2 -2
package/package.json
CHANGED
package/survey-react-ui.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
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.25
|
|
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
|
*/
|
|
@@ -10,10 +10,11 @@ import { LocalizableString, Base, ITitleOwner, PopupBaseViewModel, PageModel } f
|
|
|
10
10
|
import { ButtonGroupItemModel, QuestionButtonGroupModel, ButtonGroupItemValue, PanelModelBase, SurveyProgressButtonsModel } from "survey-core";
|
|
11
11
|
import { IElement, ActionDropdownViewModel, TooltipManager, PanelModel, QuestionBooleanModel } from "survey-core";
|
|
12
12
|
import { QuestionCheckboxModel, QuestionEmptyModel, QuestionExpressionModel, QuestionFileModel, QuestionHtmlModel } from "survey-core";
|
|
13
|
-
import { QuestionImageModel, QuestionImagePickerModel, QuestionMatrixModel, AdaptiveActionContainer
|
|
14
|
-
import { MultipleTextItemModel, QuestionPanelDynamicModel, QuestionRadiogroupModel, QuestionRankingModel
|
|
15
|
-
import { RenderedRatingItem, QuestionSignaturePadModel, SurveyTimerModel, SurveyWindowModel
|
|
16
|
-
import { QuestionCommentModel, QuestionCompositeModel, QuestionCustomModel, QuestionMatrixDynamicModel
|
|
13
|
+
import { QuestionImageModel, QuestionImagePickerModel, ImageItemValue, QuestionMatrixModel, AdaptiveActionContainer } from "survey-core";
|
|
14
|
+
import { QuestionMultipleTextModel, MultipleTextItemModel, QuestionPanelDynamicModel, QuestionRadiogroupModel, QuestionRankingModel } from "survey-core";
|
|
15
|
+
import { QuestionRatingModel, RenderedRatingItem, QuestionSignaturePadModel, SurveyTimerModel, SurveyWindowModel } from "survey-core";
|
|
16
|
+
import { FlowPanelModel, QuestionCommentModel, QuestionCompositeModel, QuestionCustomModel, QuestionMatrixDynamicModel } from "survey-core";
|
|
17
|
+
import { QuestionTextModel } from "survey-core";
|
|
17
18
|
import * as React from "react";
|
|
18
19
|
|
|
19
20
|
export { SurveyModel } from "survey-core";
|
|
@@ -119,7 +120,7 @@ export declare class SurveyElementBase<P, S> extends React.Component<P, S> {
|
|
|
119
120
|
render(): any;
|
|
120
121
|
protected wrapElement(element: any): any;
|
|
121
122
|
protected get isRendering(): boolean;
|
|
122
|
-
protected
|
|
123
|
+
protected getRenderedElements(): Array<Base>;
|
|
123
124
|
protected canRender(): boolean;
|
|
124
125
|
protected renderElement(): any;
|
|
125
126
|
protected get changedStatePropName(): string;
|
|
@@ -312,18 +313,6 @@ export declare class SurveyButtonGroupItem extends SurveyElementBase<any, any> {
|
|
|
312
313
|
protected renderInput(): any;
|
|
313
314
|
protected renderCaption(): any;
|
|
314
315
|
}
|
|
315
|
-
export declare class SurveyNavigation extends SurveyNavigationBase {
|
|
316
|
-
constructor(props: any);
|
|
317
|
-
handlePrevClick(event: any): void;
|
|
318
|
-
handleNextClick(event: any): void;
|
|
319
|
-
handleNextMouseDown(event: any): boolean;
|
|
320
|
-
handleMouseDown(event: any): boolean;
|
|
321
|
-
handleCompleteClick(event: any): void;
|
|
322
|
-
handlePreviewClick(event: any): void;
|
|
323
|
-
handleStartClick(event: any): void;
|
|
324
|
-
render(): any;
|
|
325
|
-
protected renderButton(click: any, mouseDown: any, text: string, btnClassName: string): any;
|
|
326
|
-
}
|
|
327
316
|
export declare class SurveyPanelBase extends SurveyElementBase<any, any> {
|
|
328
317
|
constructor(props: any);
|
|
329
318
|
protected rootRef: any;
|
|
@@ -396,7 +385,7 @@ export declare class SurveyQuestionElementBase extends SurveyElementBase<any, an
|
|
|
396
385
|
componentWillUnmount(): void;
|
|
397
386
|
protected updateDomElement(): void;
|
|
398
387
|
protected get questionBase(): Question;
|
|
399
|
-
protected
|
|
388
|
+
protected getRenderedElements(): Array<Base>;
|
|
400
389
|
protected get creator(): ISurveyCreator;
|
|
401
390
|
protected canRender(): boolean;
|
|
402
391
|
shouldComponentUpdate(nextProps: any, nextState: any): boolean;
|
|
@@ -443,6 +432,12 @@ export declare class SurveyElementErrors extends ReactSurveyElement {
|
|
|
443
432
|
componentWillUnmount(): void;
|
|
444
433
|
protected renderElement(): any;
|
|
445
434
|
}
|
|
435
|
+
export declare class SurveyNavigationButton extends ReactSurveyElement {
|
|
436
|
+
constructor(props: any);
|
|
437
|
+
protected get item(): Action;
|
|
438
|
+
protected canRender(): boolean;
|
|
439
|
+
protected renderElement(): any;
|
|
440
|
+
}
|
|
446
441
|
export declare class SurveyPage extends SurveyPanelBase {
|
|
447
442
|
constructor(props: any);
|
|
448
443
|
protected getPanelBase(): PanelModelBase;
|
|
@@ -572,11 +567,23 @@ export declare class SurveyQuestionImage extends SurveyQuestionElementBase {
|
|
|
572
567
|
export declare class SurveyQuestionImagePicker extends SurveyQuestionElementBase {
|
|
573
568
|
constructor(props: any);
|
|
574
569
|
protected get question(): QuestionImagePickerModel;
|
|
575
|
-
handleOnChange(event: any): void;
|
|
576
570
|
protected renderElement(): any;
|
|
571
|
+
protected getColumns(cssClasses: any): any;
|
|
577
572
|
protected getItems(cssClasses: any): Array<any>;
|
|
578
573
|
protected get textStyle(): any;
|
|
579
|
-
protected renderItem(key: string, item:
|
|
574
|
+
protected renderItem(key: string, item: ImageItemValue, cssClasses: any): any;
|
|
575
|
+
}
|
|
576
|
+
export declare class SurveyQuestionImagePickerItem extends ReactSurveyElement {
|
|
577
|
+
constructor(props: any);
|
|
578
|
+
protected getStateElement(): any;
|
|
579
|
+
componentDidMount(): void;
|
|
580
|
+
componentWillUnmount(): void;
|
|
581
|
+
componentDidUpdate(prevProps: any, prevState: any): void;
|
|
582
|
+
protected get cssClasses(): any;
|
|
583
|
+
protected get item(): any;
|
|
584
|
+
protected get question(): any;
|
|
585
|
+
handleOnChange(event: any): void;
|
|
586
|
+
protected renderElement(): any;
|
|
580
587
|
}
|
|
581
588
|
export declare class SurveyQuestionMatrix extends SurveyQuestionElementBase {
|
|
582
589
|
constructor(props: any);
|