survey-creator-react 1.12.11 → 1.12.13

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.
@@ -0,0 +1,13 @@
1
+ import * as React from "react";
2
+ interface IScrollComponentProps {
3
+ children: React.ReactNode;
4
+ }
5
+ export declare class ScrollComponent extends React.Component<IScrollComponentProps, any> {
6
+ private model;
7
+ private rootRef;
8
+ constructor(props: any);
9
+ componentDidMount(): void;
10
+ componentWillUnmount(): void;
11
+ render(): JSX.Element;
12
+ }
13
+ export {};
@@ -24,7 +24,6 @@ export * from "../Results";
24
24
  export * from "../toolbox/ToolboxItem";
25
25
  export * from "../toolbox/ToolboxItemGroup";
26
26
  export * from "../toolbox/ToolboxCategory";
27
- export * from "../toolbox/Toolbox";
28
27
  export * from "../toolbox/ToolboxList";
29
28
  export * from "../toolbox/AdaptiveToolbox";
30
29
  export * from "../TabbedMenu";
@@ -1,11 +1,21 @@
1
1
  /// <reference types="react" />
2
- import { ISurveyCreatorToolboxProps, Toolbox } from "./Toolbox";
3
- export declare class AdaptiveToolbox extends Toolbox {
2
+ import { Base } from "survey-core";
3
+ import { SurveyElementBase } from "survey-react-ui";
4
+ import { SurveyCreatorModel } from "survey-creator-core";
5
+ export interface ISurveyCreatorToolboxProps {
6
+ model: SurveyCreatorModel;
7
+ }
8
+ export declare class AdaptiveToolbox extends SurveyElementBase<ISurveyCreatorToolboxProps, any> {
4
9
  private manager;
5
10
  private rootRef;
6
11
  constructor(props: ISurveyCreatorToolboxProps);
7
12
  componentDidMount(): void;
8
13
  componentWillUnmount(): void;
14
+ get creator(): SurveyCreatorModel;
15
+ get toolbox(): import("survey-creator-core").QuestionToolbox;
16
+ protected getStateElement(): Base;
17
+ renderItems(items: Array<any>, isCompact?: boolean): Array<JSX.Element>;
18
+ renderCategories(): JSX.Element[];
9
19
  renderSearch(): JSX.Element;
10
20
  render(): JSX.Element;
11
21
  }
@@ -1,15 +1,15 @@
1
- /// <reference types="react" />
2
- import { Base } from "survey-core";
3
- import { SurveyElementBase } from "survey-react-ui";
4
- import { SurveyCreatorModel } from "survey-creator-core";
5
- export interface ISurveyCreatorToolboxProps {
6
- model: SurveyCreatorModel;
7
- }
8
- export declare class Toolbox extends SurveyElementBase<ISurveyCreatorToolboxProps, any> {
9
- get creator(): SurveyCreatorModel;
10
- get toolbox(): import("survey-creator-core").QuestionToolbox;
11
- protected getStateElement(): Base;
12
- render(): JSX.Element;
13
- renderItems(items: Array<any>, isCompact?: boolean): Array<JSX.Element>;
14
- renderCategories(): JSX.Element[];
15
- }
1
+ /// <reference types="react" />
2
+ import { Base } from "survey-core";
3
+ import { SurveyElementBase } from "survey-react-ui";
4
+ import { SurveyCreatorModel } from "survey-creator-core";
5
+ export interface ISurveyCreatorToolboxProps {
6
+ model: SurveyCreatorModel;
7
+ }
8
+ export declare class Toolbox extends SurveyElementBase<ISurveyCreatorToolboxProps, any> {
9
+ get creator(): SurveyCreatorModel;
10
+ get toolbox(): import("survey-creator-core").QuestionToolbox;
11
+ protected getStateElement(): Base;
12
+ render(): JSX.Element;
13
+ renderItems(items: Array<any>, isCompact?: boolean): Array<JSX.Element>;
14
+ renderCategories(): JSX.Element[];
15
+ }