survey-react-ui 1.9.41 → 1.9.42

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.41",
3
+ "version": "1.9.42",
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.41
2
+ * Type definition for Survey JavaScript library for React (without core) v1.9.42
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
  */
@@ -14,7 +14,7 @@ import { QuestionHtmlModel, QuestionImageModel, QuestionImagePickerModel, ImageI
14
14
  import { AdaptiveActionContainer, QuestionMatrixDynamicModel, MatrixDropdownColumn, QuestionMultipleTextModel, QuestionPanelDynamicModel } from "survey-core";
15
15
  import { QuestionRadiogroupModel, QuestionRankingModel, QuestionRatingModel, RenderedRatingItem, QuestionSignaturePadModel } from "survey-core";
16
16
  import { SurveyTimerModel, SurveyWindowModel, FlowPanelModel, QuestionCommentModel, QuestionCompositeModel } from "survey-core";
17
- import { QuestionCustomModel, QuestionTextModel, IArrayPropertyDecoratorOptions, IAttachKey2clickOptions } from "survey-core";
17
+ import { QuestionCustomModel, QuestionTextModel, IArrayPropertyDecoratorOptions, IDialogOptions, IAttachKey2clickOptions } from "survey-core";
18
18
  import * as React from "react";
19
19
 
20
20
  export { SurveyModel } from "survey-core";
@@ -313,7 +313,7 @@ export declare class SurveyButtonGroupItem extends SurveyElementBase<any, any> {
313
313
  get question(): QuestionButtonGroupModel;
314
314
  get item(): ButtonGroupItemValue;
315
315
  getStateElement(): ButtonGroupItemValue;
316
- render(): JSX.Element;
316
+ renderElement(): JSX.Element;
317
317
  protected renderIcon(): JSX.Element;
318
318
  protected renderInput(): JSX.Element;
319
319
  protected renderCaption(): JSX.Element;
@@ -503,7 +503,7 @@ export declare class SurveyQuestionButtonGroup extends SurveyQuestionElementBase
503
503
  constructor(props: any);
504
504
  protected get question(): QuestionButtonGroupModel;
505
505
  getStateElement(): QuestionButtonGroupModel;
506
- render(): JSX.Element;
506
+ renderElement(): JSX.Element;
507
507
  renderItems(): any;
508
508
  }
509
509
  export declare class SurveyQuestionCheckbox extends SurveyQuestionElementBase {
@@ -905,6 +905,11 @@ export declare class SurveyQuestionRatingDropdown extends SurveyQuestionDropdown
905
905
  constructor(props: any);
906
906
  protected renderElement(): JSX.Element;
907
907
  }
908
+ export declare class SurveyQuestionTagbox extends SurveyQuestionDropdownBase<Question> {
909
+ constructor(props: any);
910
+ protected renderElement(): JSX.Element;
911
+ protected renderOther(cssClasses: any): JSX.Element;
912
+ }
908
913
  export declare class SurveyQuestionDropdownSelect extends SurveyQuestionDropdown {
909
914
  constructor(props: any);
910
915
  protected renderSelect(cssClasses: any): JSX.Element;
@@ -912,5 +917,6 @@ export declare class SurveyQuestionDropdownSelect extends SurveyQuestionDropdown
912
917
  export declare function property(options?: any): (target: any, key: string) => void;
913
918
  export declare function propertyArray(options?: IArrayPropertyDecoratorOptions): (target: any, key: string) => void;
914
919
  export declare function showModal(componentName: string, data: any, onApply: any, onCancel?: any, cssClass?: string, title?: string, displayMode?: "popup" | "overlay"): void;
920
+ export declare function showDialog(dialogOptions: IDialogOptions): void;
915
921
  export declare function attachKey2click(element: JSX.Element, viewModel?: any, options?: IAttachKey2clickOptions): JSX.Element;
916
922
  export declare var registerFunction: (name: string, func: any) => any;