survey-react-ui 1.9.26 → 1.9.29
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 +24 -16
- package/survey-react-ui.js +482 -248
- 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.29
|
|
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,10 +8,10 @@ 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, ActionDropdownViewModel, TooltipManager,
|
|
12
|
-
import { QuestionCheckboxModel, QuestionEmptyModel, QuestionExpressionModel, QuestionFileModel
|
|
13
|
-
import { QuestionImageModel, QuestionImagePickerModel, ImageItemValue, QuestionMatrixModel
|
|
14
|
-
import {
|
|
11
|
+
import { IElement, ActionDropdownViewModel, TooltipManager, MultipleTextItemModel, PanelModel } from "survey-core";
|
|
12
|
+
import { QuestionBooleanModel, QuestionCheckboxModel, QuestionEmptyModel, QuestionExpressionModel, QuestionFileModel } from "survey-core";
|
|
13
|
+
import { QuestionHtmlModel, QuestionImageModel, QuestionImagePickerModel, ImageItemValue, QuestionMatrixModel } from "survey-core";
|
|
14
|
+
import { AdaptiveActionContainer, QuestionMultipleTextModel, QuestionPanelDynamicModel, QuestionRadiogroupModel, QuestionRankingModel } from "survey-core";
|
|
15
15
|
import { QuestionRatingModel, RenderedRatingItem, QuestionSignaturePadModel, SurveyTimerModel, SurveyWindowModel } from "survey-core";
|
|
16
16
|
import { FlowPanelModel, QuestionCommentModel, QuestionCompositeModel, QuestionCustomModel, QuestionMatrixDynamicModel } from "survey-core";
|
|
17
17
|
import { QuestionTextModel } from "survey-core";
|
|
@@ -62,15 +62,6 @@ export interface IListProps {
|
|
|
62
62
|
export interface ILogoImageProps {
|
|
63
63
|
data: SurveyModel;
|
|
64
64
|
}
|
|
65
|
-
export declare class DefaultTitle extends React.Component<any, any> {
|
|
66
|
-
constructor(props: any);
|
|
67
|
-
constructor(props: any, context: any);
|
|
68
|
-
isNeedFocus: boolean;
|
|
69
|
-
protected get cssClasses(): any;
|
|
70
|
-
protected get element(): Question;
|
|
71
|
-
render(): any;
|
|
72
|
-
componentDidMount(): void;
|
|
73
|
-
}
|
|
74
65
|
export declare class LogoImage extends React.Component<ILogoImageProps, any> {
|
|
75
66
|
constructor(props: ILogoImageProps);
|
|
76
67
|
render(): any;
|
|
@@ -130,6 +121,12 @@ export declare class SurveyElementBase<P, S> extends React.Component<P, S> {
|
|
|
130
121
|
protected renderLocString(locStr: LocalizableString, style?: any): any;
|
|
131
122
|
protected canUsePropInState(key: string): boolean;
|
|
132
123
|
}
|
|
124
|
+
export declare class SurveyElementHeader extends React.Component<any, any> {
|
|
125
|
+
constructor(props: any);
|
|
126
|
+
constructor(props: any, context: any);
|
|
127
|
+
render(): any;
|
|
128
|
+
protected renderDescription(): any;
|
|
129
|
+
}
|
|
133
130
|
export declare class SurveyHeader extends React.Component<ISurveyHeaderProps, any> {
|
|
134
131
|
constructor(props: ISurveyHeaderProps);
|
|
135
132
|
componentDidMount(): void;
|
|
@@ -372,7 +369,7 @@ export declare class SurveyQuestion extends SurveyElementBase<any, any> {
|
|
|
372
369
|
protected wrapElement(element: any): any;
|
|
373
370
|
protected wrapQuestionContent(element: any): any;
|
|
374
371
|
protected renderQuestion(): any;
|
|
375
|
-
protected renderDescription(
|
|
372
|
+
protected renderDescription(): any;
|
|
376
373
|
protected renderComment(cssClasses: any): any;
|
|
377
374
|
protected renderHeader(question: Question): any;
|
|
378
375
|
protected renderErrors(cssClasses: any, location: string): any;
|
|
@@ -432,6 +429,12 @@ export declare class SurveyElementErrors extends ReactSurveyElement {
|
|
|
432
429
|
componentWillUnmount(): void;
|
|
433
430
|
protected renderElement(): any;
|
|
434
431
|
}
|
|
432
|
+
export declare class SurveyMultipleTextItem extends ReactSurveyElement {
|
|
433
|
+
constructor(props: any);
|
|
434
|
+
protected getStateElements(): any;
|
|
435
|
+
protected renderElement(): any;
|
|
436
|
+
protected renderItemTooltipError(item: MultipleTextItemModel, cssClasses: any): any;
|
|
437
|
+
}
|
|
435
438
|
export declare class SurveyNavigationButton extends ReactSurveyElement {
|
|
436
439
|
constructor(props: any);
|
|
437
440
|
protected get item(): Action;
|
|
@@ -484,6 +487,7 @@ export declare class SurveyQuestionBoolean extends SurveyQuestionElementBase {
|
|
|
484
487
|
handleOnClick(event: any): void;
|
|
485
488
|
handleOnSwitchClick(event: any): void;
|
|
486
489
|
handleOnLabelClick(event: any, value: boolean): void;
|
|
490
|
+
handleOnKeyDown(event: any): void;
|
|
487
491
|
protected updateDomElement(): void;
|
|
488
492
|
protected renderElement(): any;
|
|
489
493
|
}
|
|
@@ -639,7 +643,6 @@ export declare class SurveyQuestionMultipleText extends SurveyQuestionElementBas
|
|
|
639
643
|
constructor(props: any);
|
|
640
644
|
protected get question(): QuestionMultipleTextModel;
|
|
641
645
|
protected renderElement(): any;
|
|
642
|
-
protected renderItemTooltipError(item: MultipleTextItemModel, cssClasses: any): any;
|
|
643
646
|
protected renderRow(rowIndex: number, items: any, cssClasses: any): any;
|
|
644
647
|
}
|
|
645
648
|
export declare class SurveyQuestionOptionItem extends ReactSurveyElement {
|
|
@@ -720,6 +723,7 @@ export declare class SurveyQuestionSignaturePad extends SurveyQuestionElementBas
|
|
|
720
723
|
constructor(props: any);
|
|
721
724
|
protected get question(): QuestionSignaturePadModel;
|
|
722
725
|
protected renderElement(): any;
|
|
726
|
+
renderCleanButton(): any;
|
|
723
727
|
}
|
|
724
728
|
export declare class SurveyQuestionUncontrolledElement<T> extends SurveyQuestionElementBase {
|
|
725
729
|
constructor(props: any);
|
|
@@ -867,5 +871,9 @@ export declare class SurveyQuestionRatingDropdown extends SurveyQuestionDropdown
|
|
|
867
871
|
constructor(props: any);
|
|
868
872
|
protected renderElement(): any;
|
|
869
873
|
}
|
|
874
|
+
export declare class SurveyQuestionDropdownSelect extends SurveyQuestionDropdown {
|
|
875
|
+
constructor(props: any);
|
|
876
|
+
protected renderSelect(cssClasses: any): any;
|
|
877
|
+
}
|
|
870
878
|
export declare function showModal(componentName: string, data: any, onApply: any, onCancel?: any, cssClass?: string, title?: string, displayMode?: "popup" | "overlay"): void;
|
|
871
879
|
export declare function attachKey2click(element: any, viewModel?: any, options?: any): any;
|