survey-react-ui 1.9.44 → 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.44",
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.44
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";
@@ -198,6 +198,7 @@ export declare class List extends SurveyElementBase<IListProps, any> {
198
198
  renderElement(): JSX.Element;
199
199
  renderItems(): any;
200
200
  searchElementContent(): JSX.Element;
201
+ emptyContent(): JSX.Element;
201
202
  }
202
203
  export declare class ListItem extends SurveyElementBase<IListItemProps, any> {
203
204
  constructor(props: any);
@@ -413,6 +414,17 @@ export declare class SurveyRow extends SurveyElementBase<any, any> {
413
414
  componentWillUnmount(): void;
414
415
  protected createElement(element: IElement, elementIndex?: number): JSX.Element;
415
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
+ }
416
428
  export declare class SurveyActionBarItemDropdown extends SurveyActionBarItem {
417
429
  constructor(props: any);
418
430
  viewModel: ActionDropdownViewModel;
@@ -775,17 +787,6 @@ export declare class SurveyTimerPanel extends ReactSurveyElement {
775
787
  protected get timerModel(): SurveyTimerModel;
776
788
  render(): JSX.Element;
777
789
  }
778
- export declare class SurveyWindow extends Survey {
779
- constructor(props: any);
780
- protected window: SurveyWindowModel;
781
- protected getStateElements(): Array<Base>;
782
- handleOnExpanded(event: any): void;
783
- protected canRender(): boolean;
784
- protected renderElement(): JSX.Element;
785
- protected renderWindowHeader(): JSX.Element;
786
- protected renderBody(): JSX.Element;
787
- protected createSurvey(newProps: any): void;
788
- }
789
790
  export declare class SurveyFlowPanel extends SurveyPanel {
790
791
  constructor(props: any);
791
792
  get flowPanel(): FlowPanelModel;
@@ -900,6 +901,12 @@ export declare class SurveyQuestionText extends SurveyQuestionUncontrolledElemen
900
901
  protected renderInput(): JSX.Element;
901
902
  protected renderElement(): JSX.Element;
902
903
  }
904
+ /*
905
+ * Obsolete. Please use PopupSurvey
906
+ */
907
+ export declare class SurveyWindow extends PopupSurvey {
908
+ constructor(props: any);
909
+ }
903
910
  export declare class SurveyQuestionDropdown extends SurveyQuestionDropdownBase<Question> {
904
911
  constructor(props: any);
905
912
  protected renderElement(): JSX.Element;