amis-editor 4.0.2-beta.12 → 4.1.0-beta.1
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.
- package/dist/component/RegionWrapper.d.ts +1 -1
- package/dist/component/RendererThumb.d.ts +1 -1
- package/dist/component/VRenderer.d.ts +1 -1
- package/dist/component/base/SearchRendererPanel.d.ts +1 -1
- package/dist/exports.min.js +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.min.js +1 -1
- package/dist/plugin/DropDownButton.d.ts +1 -0
- package/dist/plugin/Form/Combo.d.ts +1 -1
- package/dist/plugin/TooltipWrapper.d.ts +30 -0
- package/dist/plugin.d.ts +2 -0
- package/dist/store/editor.d.ts +6 -2
- package/dist/style.css +1 -1
- package/package.json +2 -2
- package/dist/component/AvailableRenderersPanel.d.ts +0 -20
- package/dist/component/BackTop.d.ts +0 -26
- package/dist/component/CodeEditor.d.ts +0 -37
- package/dist/component/CodeEditorPanel.d.ts +0 -12
- package/dist/component/ContextMenuPanel.d.ts +0 -8
- package/dist/component/ErrorRenderer.d.ts +0 -4
- package/dist/component/InputComponentName.d.ts +0 -8
- package/dist/component/InsertSubRendererPanel.d.ts +0 -11
- package/dist/component/Outline.d.ts +0 -18
- package/dist/component/Panels.d.ts +0 -17
- package/dist/component/TargetNamePanel.d.ts +0 -7
- package/dist/plugin/Action.d.ts +0 -6
- package/dist/plugin/AvailableRenderers.d.ts +0 -8
- package/dist/plugin/BasicToolbar.d.ts +0 -11
- package/dist/plugin/Code.d.ts +0 -9
- package/dist/plugin/DataDebug.d.ts +0 -19
- package/dist/plugin/Form/Editor.d.ts +0 -39
- package/dist/plugin/Name.d.ts +0 -8
- package/dist/plugin/TableCell.d.ts +0 -8
- package/dist/plugin/Unknown.d.ts +0 -5
| @@ -1,11 +0,0 @@ | |
| 1 | 
            -
            import { BasePlugin, BaseEventContext, BasicToolbarItem, ContextMenuItem, ContextMenuEventContext, BasicPanelItem, BuildPanelEventContext, PluginEvent, InsertEventContext } from '../plugin';
         | 
| 2 | 
            -
            /**
         | 
| 3 | 
            -
             * 用来给当前选中的元素添加一些基本的工具栏按钮。
         | 
| 4 | 
            -
             */
         | 
| 5 | 
            -
            export declare class BasicToolbarPlugin extends BasePlugin {
         | 
| 6 | 
            -
                order: number;
         | 
| 7 | 
            -
                buildEditorToolbar({ id, schema }: BaseEventContext, toolbars: Array<BasicToolbarItem>): void;
         | 
| 8 | 
            -
                buildEditorContextMenu({ id, schema, region, selections }: ContextMenuEventContext, menus: Array<ContextMenuItem>): void;
         | 
| 9 | 
            -
                buildEditorPanel(context: BuildPanelEventContext, panels: Array<BasicPanelItem>): void;
         | 
| 10 | 
            -
                afterInsert(event: PluginEvent<InsertEventContext>): void;
         | 
| 11 | 
            -
            }
         | 
    
        package/dist/plugin/Code.d.ts
    DELETED
    
    | @@ -1,9 +0,0 @@ | |
| 1 | 
            -
            import { BasePlugin, BasicPanelItem, RendererJSONSchemaResolveEventContext, BuildPanelEventContext } from '../plugin';
         | 
| 2 | 
            -
            /**
         | 
| 3 | 
            -
             * 添加源码编辑功能
         | 
| 4 | 
            -
             */
         | 
| 5 | 
            -
            export declare class CodePlugin extends BasePlugin {
         | 
| 6 | 
            -
                order: number;
         | 
| 7 | 
            -
                buildJSONSchema({ info }: RendererJSONSchemaResolveEventContext): string | undefined;
         | 
| 8 | 
            -
                buildEditorPanel({ info, selections }: BuildPanelEventContext, panels: Array<BasicPanelItem>): void;
         | 
| 9 | 
            -
            }
         | 
| @@ -1,19 +0,0 @@ | |
| 1 | 
            -
            import { BaseEventContext, BasePlugin, BasicToolbarItem } from '../plugin';
         | 
| 2 | 
            -
            /**
         | 
| 3 | 
            -
             * 添加调试功能
         | 
| 4 | 
            -
             */
         | 
| 5 | 
            -
            export declare class DataDebugPlugin extends BasePlugin {
         | 
| 6 | 
            -
                buildEditorToolbar({ id, schema, node }: BaseEventContext, toolbars: Array<BasicToolbarItem>): void;
         | 
| 7 | 
            -
                dataViewer: {
         | 
| 8 | 
            -
                    type: string;
         | 
| 9 | 
            -
                    name: string;
         | 
| 10 | 
            -
                    asFormItem: boolean;
         | 
| 11 | 
            -
                    className: string;
         | 
| 12 | 
            -
                    component: ({ value, onChange, readOnly }: {
         | 
| 13 | 
            -
                        value: any;
         | 
| 14 | 
            -
                        onChange: (value: any) => void;
         | 
| 15 | 
            -
                        readOnly?: boolean | undefined;
         | 
| 16 | 
            -
                    }) => JSX.Element;
         | 
| 17 | 
            -
                };
         | 
| 18 | 
            -
                openDebugForm(data: any, callback?: (values: any) => void): Promise<void>;
         | 
| 19 | 
            -
            }
         | 
| @@ -1,39 +0,0 @@ | |
| 1 | 
            -
            import { BasePlugin } from '../../plugin';
         | 
| 2 | 
            -
            export declare class EditorControlPlugin extends BasePlugin {
         | 
| 3 | 
            -
                rendererName: string;
         | 
| 4 | 
            -
                $schema: string;
         | 
| 5 | 
            -
                name: string;
         | 
| 6 | 
            -
                icon: string;
         | 
| 7 | 
            -
                description: string;
         | 
| 8 | 
            -
                docLink: string;
         | 
| 9 | 
            -
                tags: string[];
         | 
| 10 | 
            -
                scaffold: {
         | 
| 11 | 
            -
                    type: string;
         | 
| 12 | 
            -
                    label: string;
         | 
| 13 | 
            -
                    name: string;
         | 
| 14 | 
            -
                };
         | 
| 15 | 
            -
                previewSchema: any;
         | 
| 16 | 
            -
                panelTitle: string;
         | 
| 17 | 
            -
                panelBody: ({
         | 
| 18 | 
            -
                    label: string;
         | 
| 19 | 
            -
                    name: string;
         | 
| 20 | 
            -
                    type: string;
         | 
| 21 | 
            -
                    value: string;
         | 
| 22 | 
            -
                    searchable: boolean;
         | 
| 23 | 
            -
                    options: string[];
         | 
| 24 | 
            -
                    size?: undefined;
         | 
| 25 | 
            -
                    pipeIn?: undefined;
         | 
| 26 | 
            -
                } | {
         | 
| 27 | 
            -
                    name: string;
         | 
| 28 | 
            -
                    type: string;
         | 
| 29 | 
            -
                    size: string;
         | 
| 30 | 
            -
                    pipeIn: (value: any) => any;
         | 
| 31 | 
            -
                    label: string;
         | 
| 32 | 
            -
                    options: {
         | 
| 33 | 
            -
                        label: string;
         | 
| 34 | 
            -
                        value: string;
         | 
| 35 | 
            -
                    }[];
         | 
| 36 | 
            -
                    value?: undefined;
         | 
| 37 | 
            -
                    searchable?: undefined;
         | 
| 38 | 
            -
                })[];
         | 
| 39 | 
            -
            }
         | 
    
        package/dist/plugin/Name.d.ts
    DELETED
    
    | @@ -1,8 +0,0 @@ | |
| 1 | 
            -
            import { BasePlugin, BasicPanelItem, BuildPanelEventContext } from '../plugin';
         | 
| 2 | 
            -
            /**
         | 
| 3 | 
            -
             * 添加名字面板,方便根据组件名字定位节点
         | 
| 4 | 
            -
             */
         | 
| 5 | 
            -
            export declare class NamePlugin extends BasePlugin {
         | 
| 6 | 
            -
                order: number;
         | 
| 7 | 
            -
                buildEditorPanel({ info, selections }: BuildPanelEventContext, panels: Array<BasicPanelItem>): void;
         | 
| 8 | 
            -
            }
         | 
| @@ -1,8 +0,0 @@ | |
| 1 | 
            -
            import { BasePlugin, BasicRendererInfo, BaseEventContext, RendererInfoResolveEventContext, ReplaceEventContext, PluginEvent } from '../plugin';
         | 
| 2 | 
            -
            export declare class TableCellPlugin extends BasePlugin {
         | 
| 3 | 
            -
                panelTitle: string;
         | 
| 4 | 
            -
                panelIcon: string;
         | 
| 5 | 
            -
                panelBodyCreator: (context: BaseEventContext) => any[];
         | 
| 6 | 
            -
                getRendererInfo({ renderer, schema }: RendererInfoResolveEventContext): BasicRendererInfo | void;
         | 
| 7 | 
            -
                beforeReplace(event: PluginEvent<ReplaceEventContext>): void;
         | 
| 8 | 
            -
            }
         | 
    
        package/dist/plugin/Unknown.d.ts
    DELETED
    
    | @@ -1,5 +0,0 @@ | |
| 1 | 
            -
            import { BasePlugin, BasicRendererInfo, RendererInfoResolveEventContext } from '../plugin';
         | 
| 2 | 
            -
            export declare class UnkownRendererPlugin extends BasePlugin {
         | 
| 3 | 
            -
                order: number;
         | 
| 4 | 
            -
                getRendererInfo({ renderer, schema, path }: RendererInfoResolveEventContext): BasicRendererInfo | void;
         | 
| 5 | 
            -
            }
         |