survey-react-ui 1.9.24 → 1.9.27
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 +13 -6
- package/survey-react-ui.js +375 -128
- 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.27
|
|
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";
|
|
@@ -483,6 +484,7 @@ export declare class SurveyQuestionBoolean extends SurveyQuestionElementBase {
|
|
|
483
484
|
handleOnClick(event: any): void;
|
|
484
485
|
handleOnSwitchClick(event: any): void;
|
|
485
486
|
handleOnLabelClick(event: any, value: boolean): void;
|
|
487
|
+
handleOnKeyDown(event: any): void;
|
|
486
488
|
protected updateDomElement(): void;
|
|
487
489
|
protected renderElement(): any;
|
|
488
490
|
}
|
|
@@ -567,9 +569,10 @@ export declare class SurveyQuestionImagePicker extends SurveyQuestionElementBase
|
|
|
567
569
|
constructor(props: any);
|
|
568
570
|
protected get question(): QuestionImagePickerModel;
|
|
569
571
|
protected renderElement(): any;
|
|
572
|
+
protected getColumns(cssClasses: any): any;
|
|
570
573
|
protected getItems(cssClasses: any): Array<any>;
|
|
571
574
|
protected get textStyle(): any;
|
|
572
|
-
protected renderItem(key: string, item:
|
|
575
|
+
protected renderItem(key: string, item: ImageItemValue, cssClasses: any): any;
|
|
573
576
|
}
|
|
574
577
|
export declare class SurveyQuestionImagePickerItem extends ReactSurveyElement {
|
|
575
578
|
constructor(props: any);
|
|
@@ -865,5 +868,9 @@ export declare class SurveyQuestionRatingDropdown extends SurveyQuestionDropdown
|
|
|
865
868
|
constructor(props: any);
|
|
866
869
|
protected renderElement(): any;
|
|
867
870
|
}
|
|
871
|
+
export declare class SurveyQuestionDropdownSelect extends SurveyQuestionDropdown {
|
|
872
|
+
constructor(props: any);
|
|
873
|
+
protected renderSelect(cssClasses: any): any;
|
|
874
|
+
}
|
|
868
875
|
export declare function showModal(componentName: string, data: any, onApply: any, onCancel?: any, cssClass?: string, title?: string, displayMode?: "popup" | "overlay"): void;
|
|
869
876
|
export declare function attachKey2click(element: any, viewModel?: any, options?: any): any;
|