survey-react-ui 1.9.13 → 1.9.16
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 +37 -25
- package/survey-react-ui.js +335 -137
- package/survey-react-ui.min.js +2 -2
package/package.json
CHANGED
package/survey-react-ui.d.ts
CHANGED
|
@@ -1,22 +1,28 @@
|
|
|
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.16
|
|
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
8
|
import { QuestionRowModel, SurveyElement, QuestionSelectBase, ItemValue, QuestionMatrixDropdownRenderedCell } from "survey-core";
|
|
9
|
-
import { LocalizableString, Base,
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import { QuestionCompositeModel, QuestionCustomModel,
|
|
17
|
-
import { IArrayPropertyDecoratorOptions } 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, TooltipManager, PanelModel, QuestionBooleanModel, QuestionCheckboxModel } from "survey-core";
|
|
12
|
+
import { QuestionEmptyModel, QuestionExpressionModel, QuestionFileModel, QuestionHtmlModel, QuestionImageModel } from "survey-core";
|
|
13
|
+
import { QuestionImagePickerModel, QuestionMatrixModel, AdaptiveActionContainer, QuestionMultipleTextModel, MultipleTextItemModel } from "survey-core";
|
|
14
|
+
import { QuestionPanelDynamicModel, QuestionRadiogroupModel, QuestionRankingModel, QuestionRatingModel, RenderedRatingItem } from "survey-core";
|
|
15
|
+
import { QuestionSignaturePadModel, SurveyTimerModel, SurveyWindowModel, FlowPanelModel, QuestionCommentModel } from "survey-core";
|
|
16
|
+
import { QuestionCompositeModel, QuestionCustomModel, QuestionMatrixDynamicModel, QuestionTextModel } from "survey-core";
|
|
18
17
|
import * as React from "react";
|
|
19
18
|
|
|
19
|
+
export { SurveyModel } from "survey-core";
|
|
20
|
+
export { Model } from "survey-core";
|
|
21
|
+
export { SurveyWindowModel } from "survey-core";
|
|
22
|
+
export { settings } from "survey-core";
|
|
23
|
+
export { surveyLocalization } from "survey-core";
|
|
24
|
+
export { surveyStrings } from "survey-core";
|
|
25
|
+
|
|
20
26
|
export enum DragTypeOverMeEnum {
|
|
21
27
|
InsideEmptyPanel = 1,
|
|
22
28
|
MultilineRight,
|
|
@@ -147,11 +153,6 @@ export declare class SurveyNavigationBase extends React.Component<any, any> {
|
|
|
147
153
|
componentDidMount(): void;
|
|
148
154
|
componentWillUnmount(): void;
|
|
149
155
|
}
|
|
150
|
-
export declare class SurveyTimerPanel extends React.Component<any, any> {
|
|
151
|
-
constructor(props: any);
|
|
152
|
-
protected get survey(): SurveyTimerModel;
|
|
153
|
-
render(): any;
|
|
154
|
-
}
|
|
155
156
|
export declare class SvgIcon extends React.Component<any, any> {
|
|
156
157
|
constructor(props: any);
|
|
157
158
|
svgIconRef: any;
|
|
@@ -693,7 +694,6 @@ export declare class SurveyQuestionRating extends SurveyQuestionElementBase {
|
|
|
693
694
|
handleOnClick(event: any): void;
|
|
694
695
|
protected renderElement(): any;
|
|
695
696
|
protected renderItem(key: string, item: RenderedRatingItem, index: number, cssClasses: any): any;
|
|
696
|
-
protected renderOther(cssClasses: any): any;
|
|
697
697
|
}
|
|
698
698
|
export declare class SurveyQuestionSignaturePad extends SurveyQuestionElementBase {
|
|
699
699
|
constructor(props: any);
|
|
@@ -708,6 +708,12 @@ export declare class SurveyQuestionUncontrolledElement<T> extends SurveyQuestion
|
|
|
708
708
|
protected getValueCore(): any;
|
|
709
709
|
protected updateDomElement(): void;
|
|
710
710
|
}
|
|
711
|
+
export declare class SurveyTimerPanel extends ReactSurveyElement {
|
|
712
|
+
constructor(props: any);
|
|
713
|
+
protected getStateElement(): Base;
|
|
714
|
+
protected get timerModel(): SurveyTimerModel;
|
|
715
|
+
render(): any;
|
|
716
|
+
}
|
|
711
717
|
export declare class SurveyWindow extends Survey {
|
|
712
718
|
constructor(props: any);
|
|
713
719
|
protected window: SurveyWindowModel;
|
|
@@ -751,6 +757,11 @@ export declare class SurveyQuestionBooleanCheckbox extends SurveyQuestionBoolean
|
|
|
751
757
|
constructor(props: any);
|
|
752
758
|
protected renderElement(): any;
|
|
753
759
|
}
|
|
760
|
+
export declare class SurveyQuestionBooleanRadio extends SurveyQuestionBoolean {
|
|
761
|
+
constructor(props: any);
|
|
762
|
+
handleOnChange: any;
|
|
763
|
+
protected renderElement(): any;
|
|
764
|
+
}
|
|
754
765
|
export declare class SurveyQuestionComment extends SurveyQuestionUncontrolledElement<QuestionCommentModel> {
|
|
755
766
|
constructor(props: any);
|
|
756
767
|
protected renderElement(): any;
|
|
@@ -765,13 +776,11 @@ export declare class SurveyQuestionCustom extends SurveyQuestionUncontrolledElem
|
|
|
765
776
|
protected getStateElements(): Array<Base>;
|
|
766
777
|
protected renderElement(): any;
|
|
767
778
|
}
|
|
768
|
-
export declare class
|
|
779
|
+
export declare class SurveyQuestionDropdownBase<T> extends SurveyQuestionUncontrolledElement<T> {
|
|
769
780
|
constructor(props: any);
|
|
770
781
|
protected setValueCore(newValue: any): void;
|
|
771
782
|
protected getValueCore(): any;
|
|
772
|
-
protected renderElement(): any;
|
|
773
783
|
protected renderSelect(cssClasses: any): any;
|
|
774
|
-
protected renderOther(cssClasses: any): any;
|
|
775
784
|
}
|
|
776
785
|
export declare class SurveyQuestionMatrixDropdown extends SurveyQuestionMatrixDropdownBase {
|
|
777
786
|
constructor(props: any);
|
|
@@ -800,6 +809,11 @@ export declare class SurveyQuestionText extends SurveyQuestionUncontrolledElemen
|
|
|
800
809
|
protected renderInput(): any;
|
|
801
810
|
protected renderElement(): any;
|
|
802
811
|
}
|
|
812
|
+
export declare class SurveyQuestionDropdown extends SurveyQuestionDropdownBase<Question> {
|
|
813
|
+
constructor(props: any);
|
|
814
|
+
protected renderElement(): any;
|
|
815
|
+
protected renderOther(cssClasses: any): any;
|
|
816
|
+
}
|
|
803
817
|
export declare class SurveyQuestionMatrixDropdownCell extends SurveyQuestionAndErrorsCell {
|
|
804
818
|
constructor(props: any);
|
|
805
819
|
protected getQuestion(): Question;
|
|
@@ -809,11 +823,9 @@ export declare class SurveyQuestionMatrixDropdownCell extends SurveyQuestionAndE
|
|
|
809
823
|
protected getHeaderText(): string;
|
|
810
824
|
protected renderQuestion(): any;
|
|
811
825
|
}
|
|
812
|
-
export declare
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
export declare function getSize(value: any): any;
|
|
817
|
-
export declare function getCurrecyCodes(): Array<any>;
|
|
826
|
+
export declare class SurveyQuestionRatingDropdown extends SurveyQuestionDropdownBase<QuestionRatingModel> {
|
|
827
|
+
constructor(props: any);
|
|
828
|
+
protected renderElement(): any;
|
|
829
|
+
}
|
|
818
830
|
export declare function showModal(componentName: string, data: any, onApply: any, onCancel?: any, cssClass?: string, title?: string, displayMode?: "popup" | "overlay"): void;
|
|
819
831
|
export declare function attachKey2click(element: any, viewModel?: any, options?: any): any;
|