survey-react-ui 1.9.109 → 1.9.111

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.
@@ -24,6 +24,8 @@ export { SurveyQuestionDropdownSelect } from "../react/dropdown-select";
24
24
  export { SurveyQuestionMatrix, SurveyQuestionMatrixRow, } from "../react/reactquestion_matrix";
25
25
  export { SurveyQuestionHtml } from "../react/reactquestion_html";
26
26
  export { SurveyQuestionFile } from "../react/reactquestion_file";
27
+ export { SurveyFileChooseButton } from "../react/components/file/file-choose-button";
28
+ export { SurveyFilePreview } from "../react/components/file/file-preview";
27
29
  export { SurveyQuestionMultipleText } from "../react/reactquestion_multipletext";
28
30
  export { SurveyQuestionRadiogroup, SurveyQuestionRadioItem } from "../react/reactquestion_radiogroup";
29
31
  export { SurveyQuestionText } from "../react/reactquestion_text";
@@ -71,6 +73,7 @@ export { Skeleton } from "../react/components/skeleton";
71
73
  export { NotifierComponent } from "../react/components/notifier";
72
74
  export { ComponentsContainer } from "../react/components/components-container";
73
75
  export { CharacterCounterComponent } from "../react/components/character-counter";
76
+ export * from "../react/components/cover";
74
77
  export { SurveyLocStringViewer } from "../react/string-viewer";
75
78
  export { SurveyLocStringEditor } from "../react/string-editor";
76
79
  export { LoadingIndicatorComponent } from "../react/components/loading-indicator";
@@ -0,0 +1,17 @@
1
+ import React from "react";
2
+ import { Base, SurveyModel, Cover, CoverCell } from "survey-core";
3
+ import { SurveyElementBase } from "../reactquestion_element";
4
+ export interface ILayoutElementProps<T = Base> {
5
+ survey: SurveyModel;
6
+ model: T;
7
+ }
8
+ export declare class CoverCellComponent extends React.Component<any, any> {
9
+ get model(): CoverCell;
10
+ private renderLogoImage;
11
+ render(): JSX.Element | null;
12
+ }
13
+ export declare class CoverComponent extends SurveyElementBase<ILayoutElementProps<Cover>, any> {
14
+ get model(): Cover;
15
+ protected getStateElement(): Base;
16
+ renderElement(): JSX.Element | null;
17
+ }
@@ -0,0 +1,8 @@
1
+ /// <reference types="react" />
2
+ import { ReactSurveyElement } from "../../reactquestion_element";
3
+ import { QuestionFileModel } from "survey-core";
4
+ export declare class SurveyFileChooseButton extends ReactSurveyElement {
5
+ constructor(props: any);
6
+ protected get question(): QuestionFileModel;
7
+ render(): JSX.Element;
8
+ }
@@ -0,0 +1,11 @@
1
+ /// <reference types="react" />
2
+ import { SurveyElementBase } from "../../reactquestion_element";
3
+ import { QuestionFileModel } from "survey-core";
4
+ export declare class SurveyFilePreview extends SurveyElementBase<{
5
+ question: QuestionFileModel;
6
+ }, {}> {
7
+ protected get question(): QuestionFileModel;
8
+ protected renderFileSign(className: string, val: any): JSX.Element | null;
9
+ protected renderElement(): JSX.Element | null;
10
+ protected canRender(): boolean;
11
+ }
@@ -0,0 +1,8 @@
1
+ /// <reference types="react" />
2
+ import { ReactSurveyElement } from "../../reactquestion_element";
3
+ import { QuestionFileModel } from "survey-core";
4
+ export declare class SurveyFileChooseButton extends ReactSurveyElement {
5
+ constructor(props: any);
6
+ protected get question(): QuestionFileModel;
7
+ render(): JSX.Element;
8
+ }
@@ -4,6 +4,7 @@ import { SurveyQuestionUncontrolledElement } from "./reactquestion_element";
4
4
  export declare class SurveyQuestionDropdownBase<T extends Question> extends SurveyQuestionUncontrolledElement<T> {
5
5
  inputElement: HTMLInputElement | null;
6
6
  click: (event: any) => void;
7
+ chevronPointerDown: (event: any) => void;
7
8
  clear: (event: any) => void;
8
9
  keyhandler: (event: any) => void;
9
10
  blur: (event: any) => void;
@@ -4,11 +4,11 @@ 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;
8
7
  protected renderElement(): JSX.Element;
9
8
  protected renderFileDecorator(): JSX.Element;
10
9
  protected renderChooseButton(): JSX.Element;
11
10
  protected renderClearButton(className: string): JSX.Element | null;
12
- protected renderFileSign(className: string, val: any): JSX.Element | null;
13
- protected renderPreview(): JSX.Element | null;
11
+ protected renderPreview(): JSX.Element;
12
+ protected renderLoadingIndicator(): JSX.Element;
13
+ protected renderVideo(): JSX.Element;
14
14
  }