survey-react-ui 1.9.25 → 1.9.28

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.25",
3
+ "version": "1.9.28",
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.25
2
+ * Type definition for Survey JavaScript library for React (without core) v1.9.28
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
  */
@@ -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;
@@ -484,6 +481,7 @@ export declare class SurveyQuestionBoolean extends SurveyQuestionElementBase {
484
481
  handleOnClick(event: any): void;
485
482
  handleOnSwitchClick(event: any): void;
486
483
  handleOnLabelClick(event: any, value: boolean): void;
484
+ handleOnKeyDown(event: any): void;
487
485
  protected updateDomElement(): void;
488
486
  protected renderElement(): any;
489
487
  }
@@ -720,6 +718,7 @@ export declare class SurveyQuestionSignaturePad extends SurveyQuestionElementBas
720
718
  constructor(props: any);
721
719
  protected get question(): QuestionSignaturePadModel;
722
720
  protected renderElement(): any;
721
+ renderCleanButton(): any;
723
722
  }
724
723
  export declare class SurveyQuestionUncontrolledElement<T> extends SurveyQuestionElementBase {
725
724
  constructor(props: any);
@@ -867,5 +866,9 @@ export declare class SurveyQuestionRatingDropdown extends SurveyQuestionDropdown
867
866
  constructor(props: any);
868
867
  protected renderElement(): any;
869
868
  }
869
+ export declare class SurveyQuestionDropdownSelect extends SurveyQuestionDropdown {
870
+ constructor(props: any);
871
+ protected renderSelect(cssClasses: any): any;
872
+ }
870
873
  export declare function showModal(componentName: string, data: any, onApply: any, onCancel?: any, cssClass?: string, title?: string, displayMode?: "popup" | "overlay"): void;
871
874
  export declare function attachKey2click(element: any, viewModel?: any, options?: any): any;