survey-react-ui 1.9.46 → 1.9.47

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "survey-react-ui",
3
- "version": "1.9.46",
3
+ "version": "1.9.47",
4
4
  "description": "survey.js is a JavaScript Survey Library. It is a modern way to add a survey to your website. It uses JSON for survey metadata and results.",
5
5
  "keywords": [
6
6
  "Survey",
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Type definition for Survey JavaScript library for React (without core) v1.9.46
2
+ * Type definition for Survey JavaScript library for React (without core) v1.9.47
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, 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, QuestionMatrixDynamicModel, MatrixDropdownColumn, QuestionMultipleTextModel, QuestionPanelDynamicModel } from "survey-core";
15
- import { QuestionRadiogroupModel, QuestionRankingModel, QuestionRatingModel, RenderedRatingItem, QuestionSignaturePadModel } from "survey-core";
16
- import { QuestionTagboxModel, SurveyTimerModel, SurveyWindowModel, FlowPanelModel, QuestionCommentModel } from "survey-core";
11
+ import { IElement, PopupSurveyModel, ActionDropdownViewModel, TooltipManager, MultipleTextItemModel } from "survey-core";
12
+ import { PanelModel, QuestionBooleanModel, QuestionCheckboxModel, QuestionEmptyModel, QuestionExpressionModel } from "survey-core";
13
+ import { QuestionFileModel, QuestionHtmlModel, QuestionImageModel, QuestionImagePickerModel, ImageItemValue } from "survey-core";
14
+ import { QuestionMatrixModel, AdaptiveActionContainer, QuestionMatrixDynamicModel, MatrixDropdownColumn, QuestionMultipleTextModel } from "survey-core";
15
+ import { QuestionPanelDynamicModel, QuestionRadiogroupModel, QuestionRankingModel, QuestionRatingModel, RenderedRatingItem } from "survey-core";
16
+ import { QuestionSignaturePadModel, QuestionTagboxModel, SurveyTimerModel, FlowPanelModel, QuestionCommentModel } from "survey-core";
17
17
  import { QuestionCompositeModel, QuestionCustomModel, QuestionTextModel, IArrayPropertyDecoratorOptions, IDialogOptions } from "survey-core";
18
18
  import { IAttachKey2clickOptions } from "survey-core";
19
19
  import * as React from "react";
@@ -414,6 +414,17 @@ export declare class SurveyRow extends SurveyElementBase<any, any> {
414
414
  componentWillUnmount(): void;
415
415
  protected createElement(element: IElement, elementIndex?: number): JSX.Element;
416
416
  }
417
+ export declare class PopupSurvey extends Survey {
418
+ constructor(props: any);
419
+ protected popup: PopupSurveyModel;
420
+ protected getStateElements(): Array<Base>;
421
+ handleOnExpanded(event: any): void;
422
+ protected canRender(): boolean;
423
+ protected renderElement(): JSX.Element;
424
+ protected renderWindowHeader(): JSX.Element;
425
+ protected renderBody(): JSX.Element;
426
+ protected createSurvey(newProps: any): void;
427
+ }
417
428
  export declare class SurveyActionBarItemDropdown extends SurveyActionBarItem {
418
429
  constructor(props: any);
419
430
  viewModel: ActionDropdownViewModel;
@@ -776,17 +787,6 @@ export declare class SurveyTimerPanel extends ReactSurveyElement {
776
787
  protected get timerModel(): SurveyTimerModel;
777
788
  render(): JSX.Element;
778
789
  }
779
- export declare class SurveyWindow extends Survey {
780
- constructor(props: any);
781
- protected window: SurveyWindowModel;
782
- protected getStateElements(): Array<Base>;
783
- handleOnExpanded(event: any): void;
784
- protected canRender(): boolean;
785
- protected renderElement(): JSX.Element;
786
- protected renderWindowHeader(): JSX.Element;
787
- protected renderBody(): JSX.Element;
788
- protected createSurvey(newProps: any): void;
789
- }
790
790
  export declare class SurveyFlowPanel extends SurveyPanel {
791
791
  constructor(props: any);
792
792
  get flowPanel(): FlowPanelModel;
@@ -901,6 +901,12 @@ export declare class SurveyQuestionText extends SurveyQuestionUncontrolledElemen
901
901
  protected renderInput(): JSX.Element;
902
902
  protected renderElement(): JSX.Element;
903
903
  }
904
+ /*
905
+ * Obsolete. Please use PopupSurvey
906
+ */
907
+ export declare class SurveyWindow extends PopupSurvey {
908
+ constructor(props: any);
909
+ }
904
910
  export declare class SurveyQuestionDropdown extends SurveyQuestionDropdownBase<Question> {
905
911
  constructor(props: any);
906
912
  protected renderElement(): JSX.Element;