survey-react-ui 1.9.20 → 1.9.23
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 +30 -12
- package/survey-react-ui.js +714 -94
- 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.23
|
|
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
|
*/
|
|
@@ -8,12 +8,12 @@ import { SurveyModel, QuestionMatrixDropdownRenderedRow, QuestionMatrixDropdownM
|
|
|
8
8
|
import { QuestionRowModel, SurveyElement, QuestionSelectBase, ItemValue, QuestionMatrixDropdownRenderedCell } from "survey-core";
|
|
9
9
|
import { LocalizableString, Base, ITitleOwner, PopupBaseViewModel, PageModel } from "survey-core";
|
|
10
10
|
import { ButtonGroupItemModel, QuestionButtonGroupModel, ButtonGroupItemValue, PanelModelBase, SurveyProgressButtonsModel } from "survey-core";
|
|
11
|
-
import { IElement, TooltipManager, PanelModel, QuestionBooleanModel
|
|
12
|
-
import { QuestionEmptyModel, QuestionExpressionModel, QuestionFileModel, QuestionHtmlModel
|
|
13
|
-
import { QuestionImagePickerModel, QuestionMatrixModel, AdaptiveActionContainer, QuestionMultipleTextModel
|
|
14
|
-
import { QuestionPanelDynamicModel, QuestionRadiogroupModel, QuestionRankingModel, QuestionRatingModel
|
|
15
|
-
import { QuestionSignaturePadModel, SurveyTimerModel, SurveyWindowModel, FlowPanelModel
|
|
16
|
-
import { QuestionCompositeModel, QuestionCustomModel, QuestionMatrixDynamicModel, QuestionTextModel } from "survey-core";
|
|
11
|
+
import { IElement, ActionDropdownViewModel, 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, SurveyTimerModel, SurveyWindowModel, FlowPanelModel } from "survey-core";
|
|
16
|
+
import { QuestionCommentModel, QuestionCompositeModel, QuestionCustomModel, QuestionMatrixDynamicModel, QuestionTextModel } from "survey-core";
|
|
17
17
|
import * as React from "react";
|
|
18
18
|
|
|
19
19
|
export { SurveyModel } from "survey-core";
|
|
@@ -119,7 +119,7 @@ export declare class SurveyElementBase<P, S> extends React.Component<P, S> {
|
|
|
119
119
|
render(): any;
|
|
120
120
|
protected wrapElement(element: any): any;
|
|
121
121
|
protected get isRendering(): boolean;
|
|
122
|
-
protected
|
|
122
|
+
protected getRenderedElements(): Array<Base>;
|
|
123
123
|
protected canRender(): boolean;
|
|
124
124
|
protected renderElement(): any;
|
|
125
125
|
protected get changedStatePropName(): string;
|
|
@@ -396,7 +396,7 @@ export declare class SurveyQuestionElementBase extends SurveyElementBase<any, an
|
|
|
396
396
|
componentWillUnmount(): void;
|
|
397
397
|
protected updateDomElement(): void;
|
|
398
398
|
protected get questionBase(): Question;
|
|
399
|
-
protected
|
|
399
|
+
protected getRenderedElements(): Array<Base>;
|
|
400
400
|
protected get creator(): ISurveyCreator;
|
|
401
401
|
protected canRender(): boolean;
|
|
402
402
|
shouldComponentUpdate(nextProps: any, nextState: any): boolean;
|
|
@@ -418,7 +418,9 @@ export declare class SurveyRow extends SurveyElementBase<any, any> {
|
|
|
418
418
|
}
|
|
419
419
|
export declare class SurveyActionBarItemDropdown extends SurveyActionBarItem {
|
|
420
420
|
constructor(props: any);
|
|
421
|
+
viewModel: ActionDropdownViewModel;
|
|
421
422
|
renderButtonContent(): any;
|
|
423
|
+
componentWillUnmount(): void;
|
|
422
424
|
}
|
|
423
425
|
export declare class SurveyCustomWidget extends SurveyQuestionElementBase {
|
|
424
426
|
constructor(props: any);
|
|
@@ -501,9 +503,13 @@ export declare class SurveyQuestionCheckbox extends SurveyQuestionElementBase {
|
|
|
501
503
|
constructor(props: any);
|
|
502
504
|
protected get question(): QuestionCheckboxModel;
|
|
503
505
|
protected renderElement(): any;
|
|
506
|
+
protected getHeader(): any;
|
|
507
|
+
protected getFooter(): any;
|
|
508
|
+
protected getColumnedBody(cssClasses: any): any;
|
|
504
509
|
protected getColumns(cssClasses: any): any;
|
|
505
510
|
protected getItems(cssClasses: any): Array<any>;
|
|
506
511
|
protected get textStyle(): any;
|
|
512
|
+
protected renderOther(): any;
|
|
507
513
|
protected renderItem(key: string, item: any, isFirst: boolean, cssClasses: any, index: string): any;
|
|
508
514
|
}
|
|
509
515
|
export declare class SurveyQuestionCheckboxItem extends ReactSurveyElement {
|
|
@@ -521,7 +527,6 @@ export declare class SurveyQuestionCheckboxItem extends ReactSurveyElement {
|
|
|
521
527
|
protected renderElement(): any;
|
|
522
528
|
protected get inputStyle(): any;
|
|
523
529
|
protected renderCheckbox(isChecked: boolean, otherItem: any): any;
|
|
524
|
-
protected renderOther(): any;
|
|
525
530
|
}
|
|
526
531
|
export declare class SurveyQuestionCommentItem extends ReactSurveyElement {
|
|
527
532
|
constructor(props: any);
|
|
@@ -567,12 +572,23 @@ export declare class SurveyQuestionImage extends SurveyQuestionElementBase {
|
|
|
567
572
|
export declare class SurveyQuestionImagePicker extends SurveyQuestionElementBase {
|
|
568
573
|
constructor(props: any);
|
|
569
574
|
protected get question(): QuestionImagePickerModel;
|
|
570
|
-
handleOnChange(event: any): void;
|
|
571
575
|
protected renderElement(): any;
|
|
572
576
|
protected getItems(cssClasses: any): Array<any>;
|
|
573
577
|
protected get textStyle(): any;
|
|
574
578
|
protected renderItem(key: string, item: ItemValue, cssClasses: any): any;
|
|
575
579
|
}
|
|
580
|
+
export declare class SurveyQuestionImagePickerItem extends ReactSurveyElement {
|
|
581
|
+
constructor(props: any);
|
|
582
|
+
protected getStateElement(): any;
|
|
583
|
+
componentDidMount(): void;
|
|
584
|
+
componentWillUnmount(): void;
|
|
585
|
+
componentDidUpdate(prevProps: any, prevState: any): void;
|
|
586
|
+
protected get cssClasses(): any;
|
|
587
|
+
protected get item(): any;
|
|
588
|
+
protected get question(): any;
|
|
589
|
+
handleOnChange(event: any): void;
|
|
590
|
+
protected renderElement(): any;
|
|
591
|
+
}
|
|
576
592
|
export declare class SurveyQuestionMatrix extends SurveyQuestionElementBase {
|
|
577
593
|
constructor(props: any);
|
|
578
594
|
protected get question(): QuestionMatrixModel;
|
|
@@ -666,15 +682,17 @@ export declare class SurveyQuestionRadioItem extends ReactSurveyElement {
|
|
|
666
682
|
handleOnChange(event: any): void;
|
|
667
683
|
protected canRender(): boolean;
|
|
668
684
|
protected renderElement(): any;
|
|
669
|
-
protected renderOther(cssClasses: any): any;
|
|
670
685
|
}
|
|
671
686
|
export declare class SurveyQuestionRadiogroup extends SurveyQuestionElementBase {
|
|
672
687
|
constructor(props: any);
|
|
673
688
|
protected get question(): QuestionRadiogroupModel;
|
|
674
689
|
protected renderElement(): any;
|
|
690
|
+
protected getFooter(): any;
|
|
691
|
+
protected getColumnedBody(cssClasses: any): any;
|
|
675
692
|
protected getColumns(cssClasses: any): any;
|
|
676
693
|
protected getItems(cssClasses: any): Array<any>;
|
|
677
694
|
protected get textStyle(): any;
|
|
695
|
+
protected renderOther(cssClasses: any): any;
|
|
678
696
|
}
|
|
679
697
|
export declare class SurveyQuestionRanking extends SurveyQuestionElementBase {
|
|
680
698
|
constructor(props: any);
|