survey-react-ui 1.9.42 → 1.9.45

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.42",
3
+ "version": "1.9.45",
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.42
2
+ * Type definition for Survey JavaScript library for React (without core) v1.9.45
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
  */
@@ -13,8 +13,9 @@ import { QuestionBooleanModel, QuestionCheckboxModel, QuestionEmptyModel, Questi
13
13
  import { QuestionHtmlModel, QuestionImageModel, QuestionImagePickerModel, ImageItemValue, QuestionMatrixModel } from "survey-core";
14
14
  import { AdaptiveActionContainer, QuestionMatrixDynamicModel, MatrixDropdownColumn, QuestionMultipleTextModel, QuestionPanelDynamicModel } from "survey-core";
15
15
  import { QuestionRadiogroupModel, QuestionRankingModel, QuestionRatingModel, RenderedRatingItem, QuestionSignaturePadModel } from "survey-core";
16
- import { SurveyTimerModel, SurveyWindowModel, FlowPanelModel, QuestionCommentModel, QuestionCompositeModel } from "survey-core";
17
- import { QuestionCustomModel, QuestionTextModel, IArrayPropertyDecoratorOptions, IDialogOptions, IAttachKey2clickOptions } from "survey-core";
16
+ import { QuestionTagboxModel, SurveyTimerModel, SurveyWindowModel, FlowPanelModel, QuestionCommentModel } from "survey-core";
17
+ import { QuestionCompositeModel, QuestionCustomModel, QuestionTextModel, IArrayPropertyDecoratorOptions, IDialogOptions } from "survey-core";
18
+ import { IAttachKey2clickOptions } from "survey-core";
18
19
  import * as React from "react";
19
20
 
20
21
  export { SurveyModel } from "survey-core";
@@ -148,10 +149,12 @@ export declare class SurveyLocStringEditor extends React.Component<any, any> {
148
149
  }
149
150
  export declare class SurveyLocStringViewer extends React.Component<any, any> {
150
151
  constructor(props: any);
152
+ rootRef: any;
151
153
  componentDidMount(): void;
152
154
  componentWillUnmount(): void;
153
155
  componentDidUpdate(prevProps: any, prevState: any): void;
154
156
  isRendering: boolean;
157
+ onChangedHandler: (sender: any, options: any) => void;
155
158
  render(): JSX.Element;
156
159
  protected renderString(): JSX.Element;
157
160
  }
@@ -750,6 +753,14 @@ export declare class SurveyQuestionSignaturePad extends SurveyQuestionElementBas
750
753
  protected renderElement(): JSX.Element;
751
754
  renderCleanButton(): JSX.Element;
752
755
  }
756
+ export declare class SurveyQuestionTagboxItem extends ReactSurveyElement {
757
+ constructor(props: any);
758
+ protected getStateElement(): Base;
759
+ protected get question(): QuestionTagboxModel;
760
+ protected get item(): ItemValue;
761
+ protected canRender(): boolean;
762
+ protected renderElement(): JSX.Element;
763
+ }
753
764
  export declare class SurveyQuestionUncontrolledElement<T> extends SurveyQuestionElementBase {
754
765
  constructor(props: any);
755
766
  protected get question(): T;
@@ -835,7 +846,9 @@ export declare class SurveyQuestionDropdownBase<T> extends SurveyQuestionUncontr
835
846
  protected setValueCore(newValue: any): void;
836
847
  protected getValueCore(): any;
837
848
  protected renderSelect(cssClasses: any): JSX.Element;
849
+ protected renderInput(): JSX.Element;
838
850
  createClearButton(): JSX.Element;
851
+ protected renderOther(cssClasses: any): JSX.Element;
839
852
  }
840
853
  export declare class SurveyQuestionMatrixDropdown extends SurveyQuestionMatrixDropdownBase {
841
854
  constructor(props: any);
@@ -890,10 +903,10 @@ export declare class SurveyQuestionText extends SurveyQuestionUncontrolledElemen
890
903
  export declare class SurveyQuestionDropdown extends SurveyQuestionDropdownBase<Question> {
891
904
  constructor(props: any);
892
905
  protected renderElement(): JSX.Element;
893
- protected renderOther(cssClasses: any): JSX.Element;
894
906
  }
895
907
  export declare class SurveyQuestionMatrixDropdownCell extends SurveyQuestionAndErrorsCell {
896
908
  constructor(props: any);
909
+ protected get itemCss(): string;
897
910
  protected getQuestion(): Question;
898
911
  protected doAfterRender(): void;
899
912
  protected getShowErrors(): boolean;
@@ -905,10 +918,11 @@ export declare class SurveyQuestionRatingDropdown extends SurveyQuestionDropdown
905
918
  constructor(props: any);
906
919
  protected renderElement(): JSX.Element;
907
920
  }
908
- export declare class SurveyQuestionTagbox extends SurveyQuestionDropdownBase<Question> {
921
+ export declare class SurveyQuestionTagbox extends SurveyQuestionDropdownBase<QuestionTagboxModel> {
909
922
  constructor(props: any);
923
+ protected renderItem(key: string, item: any): JSX.Element;
924
+ protected renderInput(): JSX.Element;
910
925
  protected renderElement(): JSX.Element;
911
- protected renderOther(cssClasses: any): JSX.Element;
912
926
  }
913
927
  export declare class SurveyQuestionDropdownSelect extends SurveyQuestionDropdown {
914
928
  constructor(props: any);