survey-react-ui 1.9.65 → 1.9.67

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.65",
3
+ "version": "1.9.67",
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",
@@ -38,8 +38,20 @@ declare module "react/reactquestion_comment" {
38
38
  }
39
39
  export class SurveyQuestionCommentItem extends ReactSurveyElement {
40
40
  protected canRender(): boolean;
41
+ protected onCommentChange(event: any): void;
42
+ protected onCommentInput(event: any): void;
43
+ protected getComment(): string;
44
+ protected getId(): string;
45
+ protected getPlaceholder(): string;
41
46
  protected renderElement(): JSX.Element;
42
47
  }
48
+ export class SurveyQuestionOtherValueItem extends SurveyQuestionCommentItem {
49
+ protected onCommentChange(event: any): void;
50
+ protected onCommentInput(event: any): void;
51
+ protected getComment(): string;
52
+ protected getId(): string;
53
+ protected getPlaceholder(): string;
54
+ }
43
55
  }
44
56
  declare module "react/custom-widget" {
45
57
  import { SurveyQuestionElementBase } from "react/reactquestion_element";
@@ -468,9 +480,12 @@ declare module "react/reactSurvey" {
468
480
  private rootNodeClassName;
469
481
  constructor(props: any);
470
482
  protected getStateElement(): Base;
483
+ private isSurveyUpdated;
484
+ private onSurveyUpdated;
471
485
  shouldComponentUpdate(nextProps: any, nextState: any): boolean;
472
486
  componentDidUpdate(prevProps: any, prevState: any): void;
473
487
  componentDidMount(): void;
488
+ destroySurvey(): void;
474
489
  componentWillUnmount(): void;
475
490
  doRender(): JSX.Element;
476
491
  protected renderElement(): JSX.Element;