survey-react-ui 1.9.53 → 1.9.54

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.53",
3
+ "version": "1.9.54",
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,12 +1,12 @@
1
1
  /*
2
- * Type definition for Survey JavaScript library for React (without core) v1.9.53
2
+ * Type definition for Survey JavaScript library for React (without core) v1.9.54
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, DropdownMultiSelectListModel, QuestionTagboxModel, QuestionMatrixDropdownRenderedRow, QuestionMatrixDropdownModelBase } from "survey-core";
8
- import { ListModel, HashTable, QuestionRowModel, SurveyElement, QuestionSelectBase } from "survey-core";
9
- import { ItemValue, QuestionMatrixDropdownRenderedCell, LocalizableString, Base, ITitleOwner } from "survey-core";
8
+ import { ListModel, HashTable, QuestionRowModel, QuestionSelectBase, ItemValue } from "survey-core";
9
+ import { QuestionMatrixDropdownRenderedCell, LocalizableString, Base, SurveyElement, ITitleOwner } from "survey-core";
10
10
  import { PopupBaseViewModel, PageModel, ButtonGroupItemModel, QuestionButtonGroupModel, ButtonGroupItemValue } from "survey-core";
11
11
  import { PanelModelBase, SurveyProgressButtonsModel, IElement, PopupSurveyModel, ActionDropdownViewModel } from "survey-core";
12
12
  import { TooltipManager, MultipleTextItemModel, PanelModel, QuestionBooleanModel, QuestionCheckboxModel } from "survey-core";
@@ -93,8 +93,8 @@ export declare class ReactQuestionFactory {
93
93
  }
94
94
  export declare class ReactSurveyElementsWrapper {
95
95
  static wrapRow(survey: SurveyModel, element: JSX.Element, row: QuestionRowModel): JSX.Element;
96
- static wrapElement(survey: SurveyModel, element: JSX.Element, question: SurveyElement): JSX.Element;
97
- static wrapQuestionContent(survey: SurveyModel, element: JSX.Element, question: SurveyElement): JSX.Element;
96
+ static wrapElement(survey: SurveyModel, element: JSX.Element, question: any): JSX.Element;
97
+ static wrapQuestionContent(survey: SurveyModel, element: JSX.Element, question: any): JSX.Element;
98
98
  static wrapItemValue(survey: SurveyModel, element: JSX.Element, question: QuestionSelectBase, item: ItemValue): JSX.Element;
99
99
  static wrapMatrixCell(survey: SurveyModel, element: JSX.Element, cell: QuestionMatrixDropdownRenderedCell, reason?: string): JSX.Element;
100
100
  }
@@ -182,7 +182,7 @@ export declare class TitleActions extends React.Component<any, any> {
182
182
  constructor(props: any);
183
183
  constructor(props: any, context: any);
184
184
  protected get cssClasses(): any;
185
- protected get element(): SurveyElement;
185
+ protected get element(): any;
186
186
  render(): JSX.Element;
187
187
  }
188
188
  export declare class TitleContent extends React.Component<any, any> {
@@ -464,7 +464,7 @@ export declare class SurveyCustomWidget extends SurveyQuestionElementBase {
464
464
  export declare class SurveyElementErrors extends ReactSurveyElement {
465
465
  constructor(props: any);
466
466
  protected get id(): string;
467
- protected get element(): SurveyElement;
467
+ protected get element(): any;
468
468
  protected get location(): string;
469
469
  protected canRender(): boolean;
470
470
  tooltipManager: TooltipManager;
@@ -964,7 +964,7 @@ export declare class SurveyQuestionDropdownSelect extends SurveyQuestionDropdown
964
964
  }
965
965
  export declare function property(options?: any): (target: any, key: string) => void;
966
966
  export declare function propertyArray(options?: IArrayPropertyDecoratorOptions): (target: any, key: string) => void;
967
- export declare function showModal(componentName: string, data: any, onApply: any, onCancel?: any, cssClass?: string, title?: string, displayMode?: "popup" | "overlay"): void;
968
- export declare function showDialog(dialogOptions: IDialogOptions): void;
967
+ export declare function showModal(componentName: string, data: any, onApply: any, onCancel?: any, cssClass?: string, title?: string, displayMode?: "popup" | "overlay"): PopupBaseViewModel;
968
+ export declare function showDialog(dialogOptions: IDialogOptions): PopupBaseViewModel;
969
969
  export declare function attachKey2click(element: JSX.Element, viewModel?: any, options?: IAttachKey2clickOptions): JSX.Element;
970
970
  export declare var registerFunction: (name: string, func: any) => any;