survey-creator-react 1.12.9 → 1.12.10

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,18 @@
1
1
  /// <reference types="react" />
2
2
  import { SurveyElementBase } from "survey-react-ui";
3
- export declare class ActionButton extends SurveyElementBase<any, any> {
3
+ interface IActionButtonProps {
4
+ classes?: any;
5
+ click: () => void;
6
+ selected?: boolean;
7
+ disabled?: boolean;
8
+ text?: string;
9
+ title?: string;
10
+ iconName?: string;
11
+ allowBubble?: boolean;
12
+ }
13
+ export declare class ActionButton extends SurveyElementBase<IActionButtonProps, any> {
4
14
  renderElement(): JSX.Element;
15
+ renderButtonText(classes: any): JSX.Element;
16
+ renderIcon(classes: any): JSX.Element;
5
17
  }
18
+ export {};
@@ -6,12 +6,14 @@ interface ICreatorSurveyPageComponentProps {
6
6
  creator: SurveyCreatorModel;
7
7
  survey: SurveyModel;
8
8
  page: PageModel;
9
+ isGhost: boolean;
9
10
  }
10
11
  export declare class CreatorSurveyPageComponent extends CreatorModelElement<ICreatorSurveyPageComponentProps, any> {
11
12
  private model;
12
13
  private rootRef;
13
14
  constructor(props: ICreatorSurveyPageComponentProps);
14
15
  protected createModel(props: ICreatorSurveyPageComponentProps): void;
16
+ shouldComponentUpdate(nextProps: any, nextState: any): boolean;
15
17
  componentDidUpdate(prevProps: any, prevState: any): void;
16
18
  protected getUpdatedModelProps(): string[];
17
19
  protected getStateElement(): Base;
@@ -0,0 +1,14 @@
1
+ /// <reference types="react" />
2
+ import { Base } from "survey-core";
3
+ import { SearchManager } from "survey-creator-core";
4
+ import { SurveyElementBase } from "survey-react-ui";
5
+ interface ISearchComponentProps {
6
+ model: SearchManager;
7
+ }
8
+ export declare class SearchComponent extends SurveyElementBase<ISearchComponentProps, any> {
9
+ protected get model(): SearchManager;
10
+ protected getStateElement(): Base;
11
+ constructor(props: any);
12
+ renderElement(): JSX.Element;
13
+ }
14
+ export {};
@@ -53,7 +53,7 @@ export * from "../tabs/SurveySimulator";
53
53
  export * from "../events";
54
54
  export * from "../side-bar/ObjectSelector";
55
55
  export * from "../side-bar/PropertyGrid";
56
- export * from "../side-bar/Search";
56
+ export * from "../components/Search";
57
57
  export * from "../Switcher";
58
58
  export * from "../tabs/JsonErrorItem";
59
59
  export * from "../custom-questions/SpinEditor";
@@ -1,14 +1,14 @@
1
- /// <reference types="react" />
2
- import { Base } from "survey-core";
3
- import { SearchManager } from "survey-creator-core";
4
- import { SurveyElementBase } from "survey-react-ui";
5
- interface ISearchComponentProps {
6
- model: SearchManager;
7
- }
8
- export declare class SearchComponent extends SurveyElementBase<ISearchComponentProps, any> {
9
- protected get model(): SearchManager;
10
- protected getStateElement(): Base;
11
- constructor(props: any);
12
- renderElement(): JSX.Element;
13
- }
14
- export {};
1
+ /// <reference types="react" />
2
+ import { Base } from "survey-core";
3
+ import { SearchManager } from "survey-creator-core";
4
+ import { SurveyElementBase } from "survey-react-ui";
5
+ interface ISearchComponentProps {
6
+ model: SearchManager;
7
+ }
8
+ export declare class SearchComponent extends SurveyElementBase<ISearchComponentProps, any> {
9
+ protected get model(): SearchManager;
10
+ protected getStateElement(): Base;
11
+ constructor(props: any);
12
+ renderElement(): JSX.Element;
13
+ }
14
+ export {};
@@ -18,7 +18,7 @@ export declare class TabDesignerComponent extends SurveyElementBase<ITabDesigner
18
18
  protected getRenderedPages(): JSX.Element[];
19
19
  protected createRenderedPage(page: PageModel, isGhostPage?: boolean): any;
20
20
  private renderNewPage;
21
- protected renderPage(pageV: PageModel): JSX.Element;
21
+ protected renderPage(pageV: PageModel, isGhost: boolean): JSX.Element;
22
22
  renderElement(): JSX.Element;
23
23
  renderHeader(condition: boolean): JSX.Element;
24
24
  renderPlaceHolder(): JSX.Element;