mirror of
https://gitee.com/baidu/amis.git
synced 2024-11-29 18:48:45 +08:00
feat: 导出部分基础插件
This commit is contained in:
parent
7e2c519bb1
commit
37b3c031ef
@ -34,6 +34,11 @@ import type {EditorNodeType, EditorNodeSnapshot} from './store/node';
|
|||||||
import {ContainerWrapper} from './component/ContainerWrapper';
|
import {ContainerWrapper} from './component/ContainerWrapper';
|
||||||
import type {EditorStoreType} from './store/editor';
|
import type {EditorStoreType} from './store/editor';
|
||||||
import {AvailableRenderersPlugin} from './plugin/AvailableRenderers';
|
import {AvailableRenderersPlugin} from './plugin/AvailableRenderers';
|
||||||
|
import {BasicToolbarPlugin} from './plugin/BasicToolbar';
|
||||||
|
import {CodePlugin} from './plugin/Code';
|
||||||
|
import {ErrorRendererPlugin} from './plugin/ErrorRenderer';
|
||||||
|
import {OutlinePlugin} from './plugin/Outline';
|
||||||
|
import {UnknownRendererPlugin} from './plugin/Unknown';
|
||||||
import ShortcutKey from './component/base/ShortcutKey';
|
import ShortcutKey from './component/base/ShortcutKey';
|
||||||
import WidthDraggableContainer from './component/base/WidthDraggableContainer';
|
import WidthDraggableContainer from './component/base/WidthDraggableContainer';
|
||||||
import {SchemaFrom} from './component/base/SchemaForm';
|
import {SchemaFrom} from './component/base/SchemaForm';
|
||||||
@ -59,6 +64,11 @@ export {
|
|||||||
EditorStoreType,
|
EditorStoreType,
|
||||||
ContainerWrapper,
|
ContainerWrapper,
|
||||||
AvailableRenderersPlugin,
|
AvailableRenderersPlugin,
|
||||||
|
BasicToolbarPlugin,
|
||||||
|
CodePlugin,
|
||||||
|
ErrorRendererPlugin,
|
||||||
|
OutlinePlugin,
|
||||||
|
UnknownRendererPlugin,
|
||||||
ShortcutKey,
|
ShortcutKey,
|
||||||
SchemaFrom,
|
SchemaFrom,
|
||||||
WidthDraggableContainer
|
WidthDraggableContainer
|
||||||
|
@ -6,7 +6,7 @@ import {
|
|||||||
RendererInfoResolveEventContext
|
RendererInfoResolveEventContext
|
||||||
} from '../plugin';
|
} from '../plugin';
|
||||||
|
|
||||||
export class UnkownRendererPlugin extends BasePlugin {
|
export class UnknownRendererPlugin extends BasePlugin {
|
||||||
static scene = ['layout'];
|
static scene = ['layout'];
|
||||||
order = 9999;
|
order = 9999;
|
||||||
|
|
||||||
@ -36,4 +36,4 @@ export class UnkownRendererPlugin extends BasePlugin {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
registerEditorPlugin(UnkownRendererPlugin);
|
registerEditorPlugin(UnknownRendererPlugin);
|
||||||
|
Loading…
Reference in New Issue
Block a user