mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2026-04-20 12:28:08 +00:00
Merge branch 'fix/preset-general' into 'preset-general/0.9.0'
fix: 一些可见的小问题 See merge request !829153
This commit is contained in:
commit
6fc9485c7c
@ -64,7 +64,7 @@ export default {
|
|||||||
type: 'PanelIcon',
|
type: 'PanelIcon',
|
||||||
props: {
|
props: {
|
||||||
align: 'top',
|
align: 'top',
|
||||||
icon: 'zujianku',
|
icon: 'wenjian',
|
||||||
description: '资源面板',
|
description: '资源面板',
|
||||||
panelProps: {
|
panelProps: {
|
||||||
floatable: true,
|
floatable: true,
|
||||||
|
|||||||
@ -1,47 +0,0 @@
|
|||||||
import { globalContext, Editor } from '@ali/lowcode-editor-core';
|
|
||||||
import { Designer, addBuiltinComponentAction } from '@ali/lowcode-designer';
|
|
||||||
import Outline from '@ali/lowcode-plugin-outline-pane';
|
|
||||||
|
|
||||||
import DesignerPlugin from '@ali/lowcode-plugin-designer';
|
|
||||||
import { Skeleton, SettingsPrimaryPane } from '@ali/lowcode-editor-skeleton';
|
|
||||||
|
|
||||||
import { InstanceNodeSelector } from './components';
|
|
||||||
|
|
||||||
export const editor = new Editor();
|
|
||||||
globalContext.register(editor, Editor);
|
|
||||||
|
|
||||||
export const skeleton = new Skeleton(editor);
|
|
||||||
editor.set(Skeleton, skeleton);
|
|
||||||
|
|
||||||
export const designer = new Designer({ editor: editor });
|
|
||||||
editor.set(Designer, designer);
|
|
||||||
|
|
||||||
skeleton.add({
|
|
||||||
area: 'mainArea',
|
|
||||||
name: 'designer',
|
|
||||||
type: 'Widget',
|
|
||||||
content: DesignerPlugin,
|
|
||||||
});
|
|
||||||
skeleton.add({
|
|
||||||
area: 'rightArea',
|
|
||||||
name: 'settingsPane',
|
|
||||||
type: 'Panel',
|
|
||||||
content: SettingsPrimaryPane,
|
|
||||||
});
|
|
||||||
skeleton.add({
|
|
||||||
area: 'leftArea',
|
|
||||||
name: 'outlinePane',
|
|
||||||
type: 'PanelDock',
|
|
||||||
content: Outline,
|
|
||||||
panelProps: {
|
|
||||||
area: 'leftFixedArea',
|
|
||||||
},
|
|
||||||
});
|
|
||||||
|
|
||||||
// 实例节点选择器,线框高亮
|
|
||||||
addBuiltinComponentAction({
|
|
||||||
name: 'instance-node-selector',
|
|
||||||
content: InstanceNodeSelector,
|
|
||||||
important: true,
|
|
||||||
condition: 'always',
|
|
||||||
});
|
|
||||||
@ -23,14 +23,11 @@
|
|||||||
"@alifd/next": "^1.19.12",
|
"@alifd/next": "^1.19.12",
|
||||||
"@alife/theme-lowcode-dark": "^0.1.0",
|
"@alife/theme-lowcode-dark": "^0.1.0",
|
||||||
"@alife/theme-lowcode-light": "^0.1.0",
|
"@alife/theme-lowcode-light": "^0.1.0",
|
||||||
"domready": "^1.0.8",
|
|
||||||
"immutable": "^3.8.1",
|
|
||||||
"react": "^16.8.1",
|
"react": "^16.8.1",
|
||||||
"react-dom": "^16.8.1"
|
"react-dom": "^16.8.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@alib/build-scripts": "^0.1.18",
|
"@alib/build-scripts": "^0.1.18",
|
||||||
"@types/domready": "^1.0.0",
|
|
||||||
"@types/events": "^3.0.0",
|
"@types/events": "^3.0.0",
|
||||||
"@types/react": "^16.8.3",
|
"@types/react": "^16.8.3",
|
||||||
"@types/react-dom": "^16.8.2",
|
"@types/react-dom": "^16.8.2",
|
||||||
|
|||||||
@ -1,8 +1,7 @@
|
|||||||
import { render } from 'react-dom';
|
import { render } from 'react-dom';
|
||||||
import { createElement } from 'react';
|
import { createElement } from 'react';
|
||||||
import { Workbench } from '@ali/lowcode-editor-skeleton';
|
import { Workbench, Skeleton, SettingsPrimaryPane } from '@ali/lowcode-editor-skeleton';
|
||||||
import { globalContext, Editor } from '@ali/lowcode-editor-core';
|
import { globalContext, Editor } from '@ali/lowcode-editor-core';
|
||||||
import { Skeleton, SettingsPrimaryPane } from '@ali/lowcode-editor-skeleton';
|
|
||||||
import { Designer } from '@ali/lowcode-designer';
|
import { Designer } from '@ali/lowcode-designer';
|
||||||
import { OutlineBackupPane, getTreeMaster } from '@ali/lowcode-plugin-outline-pane';
|
import { OutlineBackupPane, getTreeMaster } from '@ali/lowcode-plugin-outline-pane';
|
||||||
import DesignerPlugin from '@ali/lowcode-plugin-designer';
|
import DesignerPlugin from '@ali/lowcode-plugin-designer';
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user