amis-editor 4.0.1-beta.18 → 4.0.1-beta.19

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,20 +1,8 @@
1
1
  import React from 'react';
2
2
  import { PanelProps } from '../plugin';
3
- declare type PanelStates = {
4
- toggleCollapseFolderStatus: boolean;
5
- };
6
- export declare class AvailableRenderersPanel extends React.Component<PanelProps, PanelStates> {
7
- state: {
8
- toggleCollapseFolderStatus: boolean;
9
- };
10
- curCollapseFolded: {
11
- [propName: string]: boolean;
12
- };
3
+ export declare class AvailableRenderersPanel extends React.Component<PanelProps> {
13
4
  handleRegionFilterClick(e: React.MouseEvent): void;
14
5
  handleDragStart(e: React.DragEvent): void;
15
- handleClick(e: React.MouseEvent): void;
16
- changeCollapseFoldStatus(tagKey: string, event: any): void;
17
6
  renderThumb(schema: any): JSX.Element;
18
7
  render(): JSX.Element;
19
8
  }
20
- export {};
@@ -2,17 +2,11 @@ import React from 'react';
2
2
  import { PanelProps } from '../plugin';
3
3
  import { EditorNodeType } from '../store/node';
4
4
  export declare class OutlinePanel extends React.Component<PanelProps> {
5
- state: {
6
- curSearchElemKey: string;
7
- };
8
5
  handleClick(e: React.MouseEvent<HTMLAnchorElement>): void;
9
6
  handleEnter(e: React.MouseEvent): void;
10
7
  handleDragStart(e: React.DragEvent): void;
11
8
  handleDragOver(e: React.DragEvent): void;
12
9
  handleDrop(e: React.DragEvent): void;
13
- handleSearchElemKeyChange(searchVal: string): void;
14
- clearSearchElemKey(): void;
15
- renderTitleByKeyword(rendererTitle: string, curSearchTitle: string): string | JSX.Element;
16
10
  renderItem(option: EditorNodeType, index: number): JSX.Element | null;
17
11
  render(): JSX.Element;
18
12
  }