survey-react-ui 1.9.27 → 1.9.30

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.27",
3
+ "version": "1.9.30",
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.27
2
+ * Type definition for Survey JavaScript library for React (without core) v1.9.30
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,10 +8,10 @@ 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, PanelModel, QuestionBooleanModel } from "survey-core";
12
- import { QuestionCheckboxModel, QuestionEmptyModel, QuestionExpressionModel, QuestionFileModel, QuestionHtmlModel } from "survey-core";
13
- import { QuestionImageModel, QuestionImagePickerModel, ImageItemValue, QuestionMatrixModel, AdaptiveActionContainer } from "survey-core";
14
- import { QuestionMultipleTextModel, MultipleTextItemModel, QuestionPanelDynamicModel, QuestionRadiogroupModel, QuestionRankingModel } 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, QuestionMultipleTextModel, QuestionPanelDynamicModel, QuestionRadiogroupModel, QuestionRankingModel } from "survey-core";
15
15
  import { QuestionRatingModel, RenderedRatingItem, QuestionSignaturePadModel, SurveyTimerModel, SurveyWindowModel } from "survey-core";
16
16
  import { FlowPanelModel, QuestionCommentModel, QuestionCompositeModel, QuestionCustomModel, QuestionMatrixDynamicModel } from "survey-core";
17
17
  import { QuestionTextModel } from "survey-core";
@@ -62,15 +62,6 @@ export interface IListProps {
62
62
  export interface ILogoImageProps {
63
63
  data: SurveyModel;
64
64
  }
65
- export declare class DefaultTitle extends React.Component<any, any> {
66
- constructor(props: any);
67
- constructor(props: any, context: any);
68
- isNeedFocus: boolean;
69
- protected get cssClasses(): any;
70
- protected get element(): Question;
71
- render(): any;
72
- componentDidMount(): void;
73
- }
74
65
  export declare class LogoImage extends React.Component<ILogoImageProps, any> {
75
66
  constructor(props: ILogoImageProps);
76
67
  render(): any;
@@ -130,6 +121,12 @@ export declare class SurveyElementBase<P, S> extends React.Component<P, S> {
130
121
  protected renderLocString(locStr: LocalizableString, style?: any): any;
131
122
  protected canUsePropInState(key: string): boolean;
132
123
  }
124
+ export declare class SurveyElementHeader extends React.Component<any, any> {
125
+ constructor(props: any);
126
+ constructor(props: any, context: any);
127
+ render(): any;
128
+ protected renderDescription(): any;
129
+ }
133
130
  export declare class SurveyHeader extends React.Component<ISurveyHeaderProps, any> {
134
131
  constructor(props: ISurveyHeaderProps);
135
132
  componentDidMount(): void;
@@ -372,7 +369,7 @@ export declare class SurveyQuestion extends SurveyElementBase<any, any> {
372
369
  protected wrapElement(element: any): any;
373
370
  protected wrapQuestionContent(element: any): any;
374
371
  protected renderQuestion(): any;
375
- protected renderDescription(cssClasses: any, isUnderInput?: boolean): any;
372
+ protected renderDescription(): any;
376
373
  protected renderComment(cssClasses: any): any;
377
374
  protected renderHeader(question: Question): any;
378
375
  protected renderErrors(cssClasses: any, location: string): any;
@@ -432,6 +429,12 @@ export declare class SurveyElementErrors extends ReactSurveyElement {
432
429
  componentWillUnmount(): void;
433
430
  protected renderElement(): any;
434
431
  }
432
+ export declare class SurveyMultipleTextItem extends ReactSurveyElement {
433
+ constructor(props: any);
434
+ protected getStateElements(): any;
435
+ protected renderElement(): any;
436
+ protected renderItemTooltipError(item: MultipleTextItemModel, cssClasses: any): any;
437
+ }
435
438
  export declare class SurveyNavigationButton extends ReactSurveyElement {
436
439
  constructor(props: any);
437
440
  protected get item(): Action;
@@ -640,7 +643,6 @@ export declare class SurveyQuestionMultipleText extends SurveyQuestionElementBas
640
643
  constructor(props: any);
641
644
  protected get question(): QuestionMultipleTextModel;
642
645
  protected renderElement(): any;
643
- protected renderItemTooltipError(item: MultipleTextItemModel, cssClasses: any): any;
644
646
  protected renderRow(rowIndex: number, items: any, cssClasses: any): any;
645
647
  }
646
648
  export declare class SurveyQuestionOptionItem extends ReactSurveyElement {
@@ -721,6 +723,7 @@ export declare class SurveyQuestionSignaturePad extends SurveyQuestionElementBas
721
723
  constructor(props: any);
722
724
  protected get question(): QuestionSignaturePadModel;
723
725
  protected renderElement(): any;
726
+ renderCleanButton(): any;
724
727
  }
725
728
  export declare class SurveyQuestionUncontrolledElement<T> extends SurveyQuestionElementBase {
726
729
  constructor(props: any);