survey-react-ui 1.9.105 → 1.9.107

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.
@@ -73,3 +73,4 @@ export { ComponentsContainer } from "../react/components/components-container";
73
73
  export { CharacterCounterComponent } from "../react/components/character-counter";
74
74
  export { SurveyLocStringViewer } from "../react/string-viewer";
75
75
  export { SurveyLocStringEditor } from "../react/string-editor";
76
+ export { LoadingIndicatorComponent } from "../react/components/loading-indicator";
@@ -12,6 +12,7 @@ export declare class List extends SurveyElementBase<IListProps, any> {
12
12
  handleMouseMove: (event: any) => void;
13
13
  getStateElement(): ListModel<import("survey-core").Action>;
14
14
  componentDidMount(): void;
15
+ componentWillUnmount(): void;
15
16
  renderElement(): JSX.Element;
16
17
  renderList(): JSX.Element | null;
17
18
  renderItems(): JSX.Element[] | null;
@@ -0,0 +1,4 @@
1
+ import * as React from "react";
2
+ export declare class LoadingIndicatorComponent extends React.Component<any, any> {
3
+ render(): JSX.Element | null;
4
+ }
@@ -15,6 +15,7 @@ export declare class Popup extends SurveyElementBase<IPopupProps, any> {
15
15
  private setTargetElement;
16
16
  componentDidMount(): void;
17
17
  componentDidUpdate(prevProps: any, prevState: any): void;
18
+ componentWillUnmount(): void;
18
19
  shouldComponentUpdate(nextProps: IPopupProps, nextState: any): boolean;
19
20
  render(): JSX.Element;
20
21
  }
@@ -38,11 +38,7 @@ export declare class SurveyElementErrors extends ReactSurveyElement {
38
38
  protected get location(): string;
39
39
  private getState;
40
40
  protected canRender(): boolean;
41
- private tooltipManager;
42
- private tooltipRef;
43
- componentDidUpdate(prevProps: any, prevState: any): void;
44
41
  componentWillUnmount(): void;
45
- private disposeTooltipManager;
46
42
  protected renderElement(): JSX.Element;
47
43
  }
48
44
  export declare abstract class SurveyQuestionAndErrorsWrapped extends ReactSurveyElement {
@@ -57,7 +53,6 @@ export declare abstract class SurveyQuestionAndErrorsWrapped extends ReactSurvey
57
53
  componentDidUpdate(prevProps: any, prevState: any): void;
58
54
  protected doAfterRender(): void;
59
55
  protected canRender(): boolean;
60
- protected renderErrors(errorsLocation: string): JSX.Element | null;
61
56
  protected renderContent(): JSX.Element;
62
57
  protected abstract renderElement(): JSX.Element;
63
58
  protected getShowErrors(): boolean;
@@ -73,3 +68,13 @@ export declare class SurveyQuestionAndErrorsCell extends SurveyQuestionAndErrors
73
68
  protected getHeaderText(): string;
74
69
  protected wrapCell(cell: QuestionMatrixDropdownRenderedCell, element: JSX.Element): JSX.Element;
75
70
  }
71
+ export declare class SurveyQuestionErrorCell extends React.Component<any, any> {
72
+ constructor(props: any);
73
+ private get question();
74
+ private update;
75
+ private registerCallback;
76
+ private unRegisterCallback;
77
+ componentDidUpdate(prevProps: Readonly<any>): void;
78
+ componentWillUnmount(): void;
79
+ render(): JSX.Element;
80
+ }
@@ -4,8 +4,10 @@ import { SurveyQuestionElementBase } from "./reactquestion_element";
4
4
  export declare class SurveyQuestionFile extends SurveyQuestionElementBase {
5
5
  constructor(props: any);
6
6
  protected get question(): QuestionFileModel;
7
+ protected renderLoadingIndicator(): JSX.Element;
7
8
  protected renderElement(): JSX.Element;
8
9
  protected renderFileDecorator(): JSX.Element;
10
+ protected renderChooseButton(): JSX.Element;
9
11
  protected renderClearButton(className: string): JSX.Element | null;
10
12
  protected renderFileSign(className: string, val: any): JSX.Element | null;
11
13
  protected renderPreview(): JSX.Element | null;
@@ -1,4 +1,4 @@
1
- import * as React from "react";
1
+ /// <reference types="react" />
2
2
  import { SurveyQuestionElementBase } from "./reactquestion_element";
3
3
  import { SurveyQuestionAndErrorsCell } from "./reactquestion";
4
4
  import { QuestionMatrixDropdownModelBase, QuestionMatrixDropdownRenderedRow, QuestionMatrixDropdownRenderedCell, Question } from "survey-core";
@@ -32,13 +32,3 @@ export declare class SurveyQuestionMatrixDropdownCell extends SurveyQuestionAndE
32
32
  private renderCellCheckboxButton;
33
33
  private renderCellRadiogroupButton;
34
34
  }
35
- export declare class SurveyQuestionMatrixDropdownErrorCell extends React.Component<any, any> {
36
- constructor(props: any);
37
- private get cell();
38
- private update;
39
- private registerCallback;
40
- private unRegisterCallback;
41
- componentDidUpdate(prevProps: Readonly<any>): void;
42
- componentWillUnmount(): void;
43
- render(): JSX.Element;
44
- }
@@ -1,13 +1,14 @@
1
1
  /// <reference types="react" />
2
2
  import { SurveyQuestionElementBase } from "./reactquestion_element";
3
3
  import { SurveyQuestionAndErrorsWrapped } from "./reactquestion";
4
- import { QuestionMultipleTextModel, MultipleTextItemModel } from "survey-core";
4
+ import { QuestionMultipleTextModel, MultipleTextItemModel, MultipleTextCell } from "survey-core";
5
5
  import { ReactSurveyElement } from "./reactquestion_element";
6
6
  export declare class SurveyQuestionMultipleText extends SurveyQuestionElementBase {
7
7
  constructor(props: any);
8
8
  protected get question(): QuestionMultipleTextModel;
9
9
  protected renderElement(): JSX.Element;
10
- protected renderRow(rowIndex: number, items: Array<MultipleTextItemModel>, cssClasses: any): JSX.Element;
10
+ protected renderCell(cell: MultipleTextCell, cssClasses: any, index: number): JSX.Element;
11
+ protected renderRow(rowIndex: number, cells: Array<MultipleTextCell>, cssClasses: any): JSX.Element;
11
12
  }
12
13
  export declare class SurveyMultipleTextItem extends ReactSurveyElement {
13
14
  private get question();
@@ -15,7 +16,6 @@ export declare class SurveyMultipleTextItem extends ReactSurveyElement {
15
16
  protected getStateElements(): (MultipleTextItemModel | import("survey-core").MultipleTextEditorModel)[];
16
17
  private get creator();
17
18
  protected renderElement(): JSX.Element;
18
- protected renderItemTooltipError(item: MultipleTextItemModel, cssClasses: any): JSX.Element | null;
19
19
  }
20
20
  export declare class SurveyMultipleTextItemEditor extends SurveyQuestionAndErrorsWrapped {
21
21
  protected renderElement(): JSX.Element;