amis-editor 3.3.10 → 4.0.1-beta.16

Sign up to get free protection for your applications and to get access to all the features.
Files changed (77) hide show
  1. package/dist/150a58f3318ca7541ed9.png +0 -0
  2. package/dist/471adb97c322b226e589.png +0 -0
  3. package/dist/4de5f42360bc5946c3c2.png +0 -0
  4. package/dist/4e9968bba3855f088fed.png +0 -0
  5. package/dist/7f09c38ebc687fea847a.png +0 -0
  6. package/dist/c94073576487510314ea.png +0 -0
  7. package/dist/cebfe0bc5a1dbde02da1.svg +10 -0
  8. package/dist/component/AvailableRenderersPanel.d.ts +13 -1
  9. package/dist/component/BackTop.d.ts +26 -0
  10. package/dist/component/Breadcrumb.d.ts +1 -1
  11. package/dist/component/ContextMenuPanel.d.ts +8 -0
  12. package/dist/component/InputComponentName.d.ts +8 -0
  13. package/dist/component/Outline.d.ts +6 -0
  14. package/dist/component/Panel/AMisCodeEditor.d.ts +37 -0
  15. package/dist/component/Panel/AvailableRenderersPanel.d.ts +20 -0
  16. package/dist/component/Panel/CodeEditorPanel.d.ts +6 -0
  17. package/dist/component/Panel/ContextMenuPanel.d.ts +8 -0
  18. package/dist/component/Panel/DrawerPanel.d.ts +15 -0
  19. package/dist/component/Panel/InsertSubRendererPanel.d.ts +11 -0
  20. package/dist/component/Panel/LeftPanels.d.ts +21 -0
  21. package/dist/component/Panel/Outline.d.ts +18 -0
  22. package/dist/component/Panel/RightPanels.d.ts +21 -0
  23. package/dist/component/Panel/TargetNamePanel.d.ts +7 -0
  24. package/dist/component/Preview.d.ts +2 -0
  25. package/dist/component/RegionHLBox.d.ts +1 -8
  26. package/dist/component/ScaffoldModal.d.ts +1 -1
  27. package/dist/component/base/BackTop.d.ts +26 -0
  28. package/dist/component/base/ErrorRenderer.d.ts +4 -0
  29. package/dist/component/base/InputComponentName.d.ts +8 -0
  30. package/dist/component/base/WidthDraggableBtn.d.ts +16 -0
  31. package/dist/component/base/WidthDraggableContainer.d.ts +2 -0
  32. package/dist/dnd/default.d.ts +1 -1
  33. package/dist/dnd/index.d.ts +1 -1
  34. package/dist/index.d.ts +9 -10
  35. package/dist/index.min.js +1 -1
  36. package/dist/manager.d.ts +442 -0
  37. package/dist/plugin/BasicToolbar.d.ts +1 -1
  38. package/dist/plugin/Date.d.ts +1 -0
  39. package/dist/plugin/Datetime.d.ts +3 -0
  40. package/dist/plugin/Form/CodeEditor.d.ts +39 -0
  41. package/dist/plugin/Form/FieldSet.d.ts +1 -0
  42. package/dist/plugin/Form/Group.d.ts +1 -0
  43. package/dist/plugin/Form/InputExcel.d.ts +13 -1
  44. package/dist/plugin/Form/InputGroup.d.ts +0 -2
  45. package/dist/plugin/Form/InputKV.d.ts +28 -0
  46. package/dist/plugin/Form/Item.d.ts +1 -1
  47. package/dist/plugin/Grid.d.ts +17 -20
  48. package/dist/plugin/HBox.d.ts +1 -0
  49. package/dist/plugin/Log.d.ts +1 -0
  50. package/dist/plugin/Panel/AvailableRenderers.d.ts +8 -0
  51. package/dist/plugin/Panel/Code.d.ts +9 -0
  52. package/dist/plugin/Panel/Name.d.ts +8 -0
  53. package/dist/plugin/Panel.d.ts +15 -3
  54. package/dist/plugin/Plain.d.ts +1 -0
  55. package/dist/plugin/Reset.d.ts +1 -0
  56. package/dist/plugin/Steps.d.ts +1 -7
  57. package/dist/plugin/Submit.d.ts +1 -0
  58. package/dist/plugin/Time.d.ts +3 -0
  59. package/dist/plugin/WebComponent.d.ts +1 -0
  60. package/dist/plugin/Wrapper.d.ts +1 -0
  61. package/dist/plugin.d.ts +22 -3
  62. package/dist/store/editor.d.ts +8 -3
  63. package/dist/style.css +1 -1
  64. package/package.json +14 -6
  65. package/static/Code-hover.png +0 -0
  66. package/static/Code.png +0 -0
  67. package/static/Outline-hover.png +0 -0
  68. package/static/Outline.png +0 -0
  69. package/static/Renderers-hover.png +0 -0
  70. package/static/Renderers.png +0 -0
  71. package/static/side_hide_left.svg +10 -0
  72. package/.editorconfig +0 -12
  73. package/.fecsrc +0 -8
  74. package/.prettierrc +0 -20
  75. package/dist/plugin/Form/Reset.d.ts +0 -7
  76. package/dist/plugin/Form/Submit.d.ts +0 -6
  77. package/rollup.config.js +0 -24
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
@@ -0,0 +1,10 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <svg width="6px" height="8px" viewBox="0 0 6 8" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
3
+ <g id="折叠icon" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
4
+ <g id="折叠icon svg" transform="translate(-305.000000, -566.000000)" fill="#A1A6B3" fill-rule="nonzero">
5
+ <g id="折叠icon svg g" transform="translate(60.000000, 60.000000)">
6
+ <path d="M245.77735,506.518233 L250.375962,509.583975 C250.605727,509.737151 250.667814,510.047586 250.514637,510.27735 C250.47802,510.332276 250.430888,510.379408 250.375962,510.416025 L245.77735,513.481767 C245.547586,513.634943 245.237151,513.572856 245.083975,513.343092 C245.029219,513.260958 245,513.164454 245,513.065741 L245,506.934259 C245,506.658116 245.223858,506.434259 245.5,506.434259 C245.598712,506.434259 245.695216,506.463478 245.77735,506.518233 Z" id="矩形" transform="translate(248.000000, 510.000000) scale(-1, 1) translate(-248.000000, -510.000000) "></path>
7
+ </g>
8
+ </g>
9
+ </g>
10
+ </svg>
@@ -1,8 +1,20 @@
1
1
  import React from 'react';
2
2
  import { PanelProps } from '../plugin';
3
- export declare class AvailableRenderersPanel extends React.Component<PanelProps> {
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
+ };
4
13
  handleRegionFilterClick(e: React.MouseEvent): void;
5
14
  handleDragStart(e: React.DragEvent): void;
15
+ handleClick(e: React.MouseEvent): void;
16
+ changeCollapseFoldStatus(tagKey: string, event: any): void;
6
17
  renderThumb(schema: any): JSX.Element;
7
18
  render(): JSX.Element;
8
19
  }
20
+ export {};
@@ -0,0 +1,26 @@
1
+ import React from 'react';
2
+ export interface BackTopProps {
3
+ visibilityHeight?: number;
4
+ onClick?: React.MouseEventHandler<HTMLElement>;
5
+ target: () => HTMLElement | Window | Document;
6
+ children?: React.ReactNode;
7
+ className?: string;
8
+ visible?: boolean;
9
+ }
10
+ export interface BackTopStates {
11
+ visible: boolean;
12
+ }
13
+ export default class BackTop extends React.Component<BackTopProps, BackTopStates> {
14
+ ref: React.RefObject<HTMLDivElement>;
15
+ scrollElem: any;
16
+ constructor(props: any);
17
+ componentDidMount(): void;
18
+ componentWillUnmount(): void;
19
+ getDefaultTarget(): (Window & typeof globalThis) | Document;
20
+ handleScroll(e: React.UIEvent<HTMLElement> | {
21
+ target: any;
22
+ }): void;
23
+ bindScrollEvent(): void;
24
+ scrollToTop(e: React.MouseEvent<HTMLDivElement>): void;
25
+ render(): JSX.Element;
26
+ }
@@ -8,5 +8,5 @@ export interface BreadcrumbProps {
8
8
  export default class Breadcrumb extends React.Component<BreadcrumbProps> {
9
9
  handleClick(e: React.MouseEvent<HTMLAnchorElement>): void;
10
10
  handleMouseEnter(e: React.MouseEvent<HTMLAnchorElement>): void;
11
- render(): JSX.Element;
11
+ render(): JSX.Element | null;
12
12
  }
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ import { EditorStoreType } from '../store/editor';
3
+ export interface ContextMenuPanelProps {
4
+ store: EditorStoreType;
5
+ }
6
+ export declare class ContextMenuPanel extends React.Component<ContextMenuPanelProps> {
7
+ render(): JSX.Element | null;
8
+ }
@@ -0,0 +1,8 @@
1
+ /// <reference types="react" />
2
+ import { RendererProps } from 'amis/lib/factory';
3
+ interface InputCompoonentNameProps extends RendererProps {
4
+ value: any;
5
+ onChange: (value: any) => void;
6
+ }
7
+ export declare function InputCompoonentName(props: InputCompoonentNameProps): JSX.Element;
8
+ export {};
@@ -2,11 +2,17 @@ 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
+ };
5
8
  handleClick(e: React.MouseEvent<HTMLAnchorElement>): void;
6
9
  handleEnter(e: React.MouseEvent): void;
7
10
  handleDragStart(e: React.DragEvent): void;
8
11
  handleDragOver(e: React.DragEvent): void;
9
12
  handleDrop(e: React.DragEvent): void;
13
+ handleSearchElemKeyChange(searchVal: string): void;
14
+ clearSearchElemKey(): void;
15
+ renderTitleByKeyword(rendererTitle: string, curSearchTitle: string): string | JSX.Element;
10
16
  renderItem(option: EditorNodeType, index: number): JSX.Element | null;
11
17
  render(): JSX.Element;
12
18
  }
@@ -0,0 +1,37 @@
1
+ /// <reference types="lodash" />
2
+ import React from 'react';
3
+ export interface AMisCodeEditorProps {
4
+ value: any;
5
+ onChange: (value: any, diff: any) => void;
6
+ onPaste?: () => void;
7
+ disabled?: boolean;
8
+ $schemaUrl?: string;
9
+ $schema?: string;
10
+ className?: string;
11
+ theme?: string;
12
+ }
13
+ export default class AMisCodeEditor extends React.Component<AMisCodeEditorProps> {
14
+ state: {
15
+ wrongSchema: string;
16
+ value: any;
17
+ contents: any;
18
+ };
19
+ lastResult: any;
20
+ toDispose: Array<() => void>;
21
+ editor: any;
22
+ monaco: any;
23
+ model: any;
24
+ decorations: any;
25
+ uri: string;
26
+ componentDidUpdate(prevProps: AMisCodeEditorProps): void;
27
+ obj2str(value: any, props: AMisCodeEditorProps): any;
28
+ str2obj(str: string): any;
29
+ emitChange: import("lodash").DebouncedFunc<() => void>;
30
+ changeJsonOptions(props?: AMisCodeEditorProps): void;
31
+ editorFactory: (containerElement: HTMLElement, monaco: any, options: any) => any;
32
+ editorDidMount: (editor: any, monaco: any) => void;
33
+ editorWillUnmount: (editor: any, monaco: any) => void;
34
+ handleChange: (value: string) => void;
35
+ handleBlur: () => Promise<void>;
36
+ render(): JSX.Element;
37
+ }
@@ -0,0 +1,20 @@
1
+ import React from 'react';
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
+ };
13
+ handleRegionFilterClick(e: React.MouseEvent): void;
14
+ handleDragStart(e: React.DragEvent): void;
15
+ handleClick(e: React.MouseEvent): void;
16
+ changeCollapseFoldStatus(tagKey: string, event: any): void;
17
+ renderThumb(schema: any): JSX.Element;
18
+ render(): JSX.Element;
19
+ }
20
+ export {};
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ import { PanelProps } from '../../plugin';
3
+ export default class CodeEditorPanel extends React.Component<PanelProps> {
4
+ handleCodePaste(): void;
5
+ render(): JSX.Element;
6
+ }
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ import { EditorStoreType } from '../../store/editor';
3
+ export interface ContextMenuPanelProps {
4
+ store: EditorStoreType;
5
+ }
6
+ export declare class ContextMenuPanel extends React.Component<ContextMenuPanelProps> {
7
+ render(): JSX.Element | null;
8
+ }
@@ -0,0 +1,15 @@
1
+ import React from 'react';
2
+ import { EditorManager } from '../../manager';
3
+ import { EditorStoreType } from '../../store/editor';
4
+ import { EditorNodeType } from '../../store/node';
5
+ export interface PanelsProps {
6
+ store: EditorStoreType;
7
+ manager: EditorManager;
8
+ node: EditorNodeType | undefined;
9
+ panelItem: any;
10
+ theme?: string;
11
+ }
12
+ export declare class DrawerPanel extends React.Component<PanelsProps> {
13
+ getPopOverContainer(): HTMLElement;
14
+ render(): JSX.Element;
15
+ }
@@ -0,0 +1,11 @@
1
+ import React from 'react';
2
+ import { PanelProps } from '../../plugin';
3
+ export declare class InsertSubRendererPanel extends React.Component<PanelProps> {
4
+ handleLeftClick(e: React.MouseEvent): void;
5
+ handleClick(e: React.MouseEvent): void;
6
+ hadnlDBClick(e: React.MouseEvent): void;
7
+ handleInsert(): void;
8
+ handleReplace(): void;
9
+ handleCancel(): void;
10
+ render(): JSX.Element;
11
+ }
@@ -0,0 +1,21 @@
1
+ import React from 'react';
2
+ import { EditorManager } from '../../manager';
3
+ import { EditorStoreType } from '../../store/editor';
4
+ interface LeftPanelsProps {
5
+ store: EditorStoreType;
6
+ manager: EditorManager;
7
+ theme?: string;
8
+ }
9
+ interface LeftPanelsStates {
10
+ isOpenStatus: boolean;
11
+ isFixedStatus: boolean;
12
+ }
13
+ export declare class LeftPanels extends React.Component<LeftPanelsProps, LeftPanelsStates> {
14
+ constructor(props: any);
15
+ handleHidden(): void;
16
+ handleFixed(): void;
17
+ handleSelect(key: string): void;
18
+ getPopOverContainer(): HTMLElement;
19
+ render(): JSX.Element;
20
+ }
21
+ export {};
@@ -0,0 +1,18 @@
1
+ import React from 'react';
2
+ import { PanelProps } from '../../plugin';
3
+ import { EditorNodeType } from '../../store/node';
4
+ export declare class OutlinePanel extends React.Component<PanelProps> {
5
+ state: {
6
+ curSearchElemKey: string;
7
+ };
8
+ handleClick(e: React.MouseEvent<HTMLAnchorElement>): void;
9
+ handleEnter(e: React.MouseEvent): void;
10
+ handleDragStart(e: React.DragEvent): void;
11
+ handleDragOver(e: React.DragEvent): void;
12
+ handleDrop(e: React.DragEvent): void;
13
+ handleSearchElemKeyChange(searchVal: string): void;
14
+ clearSearchElemKey(): void;
15
+ renderTitleByKeyword(rendererTitle: string, curSearchTitle: string): string | JSX.Element;
16
+ renderItem(option: EditorNodeType, index: number): JSX.Element | null;
17
+ render(): JSX.Element;
18
+ }
@@ -0,0 +1,21 @@
1
+ import React from 'react';
2
+ import { EditorManager } from '../../manager';
3
+ import { EditorStoreType } from '../../store/editor';
4
+ interface RightPanelsProps {
5
+ store: EditorStoreType;
6
+ manager: EditorManager;
7
+ theme?: string;
8
+ }
9
+ interface RightPanelsStates {
10
+ isOpenStatus: boolean;
11
+ isFixedStatus: boolean;
12
+ }
13
+ export declare class RightPanels extends React.Component<RightPanelsProps, RightPanelsStates> {
14
+ constructor(props: any);
15
+ handleFixed(): void;
16
+ handleSelect(key: string): void;
17
+ handleHidden(): void;
18
+ getPopOverContainer(): HTMLElement;
19
+ render(): JSX.Element | null;
20
+ }
21
+ export {};
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ import { PanelProps } from '../../plugin';
3
+ export declare class TargetNamePanel extends React.Component<PanelProps> {
4
+ handleClick(e: React.MouseEvent<HTMLElement>): void;
5
+ handleEnter(e: React.MouseEvent<HTMLElement>): void;
6
+ render(): JSX.Element;
7
+ }
@@ -20,6 +20,7 @@ export interface PreviewState {
20
20
  ready?: boolean;
21
21
  }
22
22
  export default class Preview extends Component<PreviewProps> {
23
+ currentDom: HTMLElement;
23
24
  env: RenderOptions;
24
25
  doingSelection: boolean;
25
26
  componentDidMount(): void;
@@ -47,6 +48,7 @@ export default class Preview extends Component<PreviewProps> {
47
48
  handleDragLeave(e: React.DragEvent): void;
48
49
  handleDragOver(e: React.DragEvent): void;
49
50
  handleDrop(e: React.DragEvent): void;
51
+ getCurrentTarget(): HTMLDivElement;
50
52
  rendererResolver(path: string, schema: Schema, props: any): RendererConfig;
51
53
  render(): JSX.Element;
52
54
  }
@@ -12,16 +12,9 @@ export interface HighlightBoxProps {
12
12
  title: string;
13
13
  preferTag?: string;
14
14
  manager: EditorManager;
15
+ isOnlyChildRegion: boolean;
15
16
  }
16
17
  export default class RegionHighlightBox extends React.Component<HighlightBoxProps> {
17
- addBtn: HTMLElement;
18
- constructor(props: HighlightBoxProps);
19
- componentDidMount(): void;
20
- componentDidUpdate(): void;
21
- componentWillUnmount(): void;
22
- attachAddBtn(): void;
23
18
  handleClick(): void;
24
- handleMouseEnter(): void;
25
- handleMouseLeave(): void;
26
19
  render(): JSX.Element;
27
20
  }
@@ -14,7 +14,7 @@ export declare class ScaffoldModal extends React.Component<SubEditorProps> {
14
14
  wrapWithPanel: boolean;
15
15
  initApi: any;
16
16
  api: any;
17
- mode: "normal" | "inline" | "horizontal";
17
+ mode: "normal" | "horizontal" | "inline";
18
18
  wrapperComponent: string;
19
19
  };
20
20
  amisScope: any;
@@ -0,0 +1,26 @@
1
+ import React from 'react';
2
+ export interface BackTopProps {
3
+ visibilityHeight?: number;
4
+ onClick?: React.MouseEventHandler<HTMLElement>;
5
+ target: () => HTMLElement | Window | Document;
6
+ children?: React.ReactNode;
7
+ className?: string;
8
+ visible?: boolean;
9
+ }
10
+ export interface BackTopStates {
11
+ visible: boolean;
12
+ }
13
+ export default class BackTop extends React.Component<BackTopProps, BackTopStates> {
14
+ ref: React.RefObject<HTMLDivElement>;
15
+ scrollElem: any;
16
+ constructor(props: any);
17
+ componentDidMount(): void;
18
+ componentWillUnmount(): void;
19
+ getDefaultTarget(): (Window & typeof globalThis) | Document;
20
+ handleScroll(e: React.UIEvent<HTMLElement> | {
21
+ target: any;
22
+ }): void;
23
+ bindScrollEvent(): void;
24
+ scrollToTop(e: React.MouseEvent<HTMLDivElement>): void;
25
+ render(): JSX.Element;
26
+ }
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ export declare class ErrorRenderer extends React.Component<any> {
3
+ render(): JSX.Element;
4
+ }
@@ -0,0 +1,8 @@
1
+ /// <reference types="react" />
2
+ import { RendererProps } from 'amis/lib/factory';
3
+ interface InputComponentNameProps extends RendererProps {
4
+ value: any;
5
+ onChange: (value: any) => void;
6
+ }
7
+ export declare function InputComponentName(props: InputComponentNameProps): JSX.Element;
8
+ export {};
@@ -0,0 +1,16 @@
1
+ import React from 'react';
2
+ interface WidthDraggableProps {
3
+ isLeftDragIcon?: boolean;
4
+ className?: any;
5
+ }
6
+ export declare class WidthDraggableBtn extends React.Component<WidthDraggableProps> {
7
+ startX: number;
8
+ startWidth: number;
9
+ dragWrap: HTMLElement;
10
+ constructor(props: any);
11
+ handleResizeMouseDown(e: React.MouseEvent): void;
12
+ handleResizeMouseMove(e: MouseEvent): void;
13
+ handleResizeMouseUp(): void;
14
+ render(): JSX.Element;
15
+ }
16
+ export {};
@@ -0,0 +1,2 @@
1
+ import React from 'react';
2
+ export default function (NeedWidthDraggableComp: React.ComponentType, isLeftDragIcon?: boolean): React.ComponentType;
@@ -4,7 +4,7 @@ import { DNDModeInterface } from './interface';
4
4
  export declare class DefaultDNDMode implements DNDModeInterface {
5
5
  readonly dnd: EditorDNDManager;
6
6
  readonly region: EditorNodeType;
7
- readonly constainer: HTMLElement;
7
+ readonly dndContainer: HTMLElement;
8
8
  dropBeforeId?: string;
9
9
  constructor(dnd: EditorDNDManager, region: EditorNodeType);
10
10
  /**
@@ -24,7 +24,7 @@ export declare class EditorDNDManager {
24
24
  */
25
25
  dragElement?: HTMLElement;
26
26
  /**
27
- * 这个是跟拖动中随鼠标的那个那个元素。
27
+ * 拖拽跟随元素
28
28
  */
29
29
  dragImage?: HTMLElement;
30
30
  /**
package/dist/index.d.ts CHANGED
@@ -3,9 +3,9 @@
3
3
  */
4
4
  import Editor from './component/Editor';
5
5
  import './component/ClassNameControl';
6
- import './plugin/AvailableRenderers';
7
- import './plugin/Code';
8
- import './plugin/Name';
6
+ import './plugin/Panel/AvailableRenderers';
7
+ import './plugin/Panel/Code';
8
+ import './plugin/Panel/Name';
9
9
  import './plugin/ErrorRenderer';
10
10
  import './plugin/BasicToolbar';
11
11
  import './plugin/Unknown';
@@ -25,7 +25,7 @@ import './plugin/Form/InputDateRange';
25
25
  import './plugin/Form/InputDateTime';
26
26
  import './plugin/Form/InputDateTimeRange';
27
27
  import './plugin/Form/DiffEditor';
28
- import './plugin/Form/Editor';
28
+ import './plugin/Form/CodeEditor';
29
29
  import './plugin/Form/InputEmail';
30
30
  import './plugin/Form/FieldSet';
31
31
  import './plugin/Form/InputFile';
@@ -52,12 +52,10 @@ import './plugin/Form/Radios';
52
52
  import './plugin/Form/InputRange';
53
53
  import './plugin/Form/InputRating';
54
54
  import './plugin/Form/InputRepeat';
55
- import './plugin/Form/Reset';
56
55
  import './plugin/Form/InputRichText';
57
56
  import './plugin/Form/Select';
58
57
  import './plugin/Form/Static';
59
58
  import './plugin/Form/InputSubForm';
60
- import './plugin/Form/Submit';
61
59
  import './plugin/Form/Switch';
62
60
  import './plugin/Form/InputTable';
63
61
  import './plugin/Form/InputTag';
@@ -71,6 +69,7 @@ import './plugin/Form/TreeSelect';
71
69
  import './plugin/Form/InputURL';
72
70
  import './plugin/Form/InputYear';
73
71
  import './plugin/Form/InputExcel';
72
+ import './plugin/Form/InputKV';
74
73
  import './plugin/Action';
75
74
  import './plugin/Alert';
76
75
  import './plugin/Audio';
@@ -137,17 +136,17 @@ import './plugin/WebComponent';
137
136
  import './plugin/DataDebug';
138
137
  import * as utils from './util';
139
138
  import { getSchemaTpl, defaultValue, setSchemaTpl } from './component/schemaTpl';
140
- import { registerEditorPlugin } from './manager';
139
+ import { registerEditorPlugin, unRegisterEditorPlugin } from './manager';
141
140
  import { BasePlugin } from './plugin';
142
141
  import { BasicEditor, RendererEditor } from './compat';
143
142
  import MiniEditor from './component/MiniEditor';
144
- import CodeEditor from './component/CodeEditor';
143
+ import CodeEditor from './component/Panel/AMisCodeEditor';
145
144
  import IFramePreview from './component/IFramePreview';
146
145
  import { mountInIframe } from './component/IFrameBridge';
147
- import { AvailableRenderersPlugin } from './plugin/AvailableRenderers';
146
+ import { AvailableRenderersPlugin } from './plugin/Panel/AvailableRenderers';
148
147
  import { BasicToolbarPlugin } from './plugin/BasicToolbar';
149
148
  import { VRenderer } from './component/VRenderer';
150
149
  import { RegionWrapper } from './component/RegionWrapper';
151
150
  import { GridPlugin } from './plugin/Grid';
152
151
  import { mapReactElement } from './component/factory';
153
- export { Editor, MiniEditor, utils, BasePlugin, getSchemaTpl, setSchemaTpl, defaultValue, registerEditorPlugin, mapReactElement, RendererEditor, BasicEditor, CodeEditor, VRenderer, RegionWrapper, mountInIframe, IFramePreview as IFrameEditor, AvailableRenderersPlugin, BasicToolbarPlugin, GridPlugin };
152
+ export { Editor, MiniEditor, utils, BasePlugin, getSchemaTpl, setSchemaTpl, defaultValue, registerEditorPlugin, unRegisterEditorPlugin, mapReactElement, RendererEditor, BasicEditor, CodeEditor, VRenderer, RegionWrapper, mountInIframe, IFramePreview as IFrameEditor, AvailableRenderersPlugin, BasicToolbarPlugin, GridPlugin };