survey-react-ui 2.2.5 → 2.2.6

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.
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * surveyjs - Survey JavaScript library v2.2.5
2
+ * surveyjs - Survey JavaScript library v2.2.6
3
3
  * Copyright (c) 2015-2025 Devsoft Baltic OÜ - http://surveyjs.io/
4
4
  * License: MIT (http://www.opensource.org/licenses/mit-license.php)
5
5
  */
@@ -1,5 +1,5 @@
1
1
  import * as React from "react";
2
- import { Question, DropdownListModel } from "survey-core";
2
+ import { Question, DropdownListModel, ItemValue } from "survey-core";
3
3
  import { SurveyQuestionUncontrolledElement } from "./reactquestion_element";
4
4
  export declare class SurveyQuestionDropdownBase<T extends Question> extends SurveyQuestionUncontrolledElement<T> {
5
5
  inputElement: HTMLInputElement | null;
@@ -18,7 +18,7 @@ export declare class SurveyQuestionDropdownBase<T extends Question> extends Surv
18
18
  renderValueElement(): React.JSX.Element | null;
19
19
  protected renderInput(): React.JSX.Element;
20
20
  protected renderFilterInput(): React.JSX.Element;
21
- protected renderOther(cssClasses: any): React.JSX.Element;
21
+ protected renderOther(item: ItemValue, cssClasses: any): React.JSX.Element;
22
22
  protected renderEditorButtons(): React.JSX.Element | null;
23
23
  componentDidUpdate(prevProps: any, prevState: any): void;
24
24
  componentDidMount(): void;
@@ -12,7 +12,6 @@ export declare class SurveyQuestionCheckbox extends SurveyQuestionElementBase {
12
12
  protected getBody(cssClasses: any): React.JSX.Element;
13
13
  protected getItems(cssClasses: any, choices: Array<ItemValue>): Array<any>;
14
14
  protected get textStyle(): any;
15
- protected renderOther(): React.JSX.Element;
16
15
  protected renderItem(item: any, isFirst: boolean, cssClasses: any, index?: string): React.JSX.Element;
17
16
  }
18
17
  export declare class SurveyQuestionCheckboxItem extends ReactSurveyElement {
@@ -32,6 +31,7 @@ export declare class SurveyQuestionCheckboxItem extends ReactSurveyElement {
32
31
  protected canRender(): boolean;
33
32
  protected renderElement(): React.JSX.Element;
34
33
  protected get inputStyle(): any;
34
+ protected renderComment(): React.JSX.Element | null;
35
35
  protected renderCheckbox(isChecked: boolean, otherItem: React.JSX.Element | null): React.JSX.Element;
36
36
  componentDidMount(): void;
37
37
  componentWillUnmount(): void;
@@ -12,7 +12,9 @@ export declare class SurveyQuestionCommentItem extends ReactSurveyElement {
12
12
  protected canRender(): boolean;
13
13
  protected getTextAreaModel(): TextAreaModel;
14
14
  protected renderElement(): React.JSX.Element;
15
+ protected getKey(): string;
15
16
  }
16
- export declare class SurveyQuestionOtherValueItem extends SurveyQuestionCommentItem {
17
+ export declare class SurveyQuestionCommentValueItem extends SurveyQuestionCommentItem {
17
18
  protected getTextAreaModel(): TextAreaModel;
19
+ protected getKey(): string;
18
20
  }
@@ -11,7 +11,6 @@ export declare class SurveyQuestionRadiogroup extends SurveyQuestionElementBase
11
11
  protected getBody(cssClasses: any): React.JSX.Element;
12
12
  protected getItems(cssClasses: any, choices: Array<ItemValue>): Array<any>;
13
13
  protected get textStyle(): any;
14
- protected renderOther(cssClasses: any): React.JSX.Element;
15
14
  private renderItem;
16
15
  private getStateValue;
17
16
  }
@@ -32,6 +31,8 @@ export declare class SurveyQuestionRadioItem extends ReactSurveyElement {
32
31
  protected canRender(): boolean;
33
32
  componentDidUpdate(prevProps: any, prevState: any): void;
34
33
  protected renderElement(): React.JSX.Element;
34
+ protected renderComment(): React.JSX.Element | null;
35
+ protected renderRadioButton(): React.JSX.Element;
35
36
  componentDidMount(): void;
36
37
  componentWillUnmount(): void;
37
38
  }