mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2026-06-09 17:02:22 +00:00
Compare commits
10 Commits
main
...
v1.1.0-bet
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0d8e00b781 | ||
|
|
f0c3b1f2e5 | ||
|
|
f831643dc1 | ||
|
|
87be4f2761 | ||
|
|
f610c7d0b0 | ||
|
|
7f69561232 | ||
|
|
0f38cc8e3d | ||
|
|
46789ac581 | ||
|
|
81c4659b79 | ||
|
|
cb9b85660b |
@ -5,6 +5,7 @@ tags: [FAQ]
|
||||
---
|
||||
## 简单场景
|
||||
可以利用 props.__designMode
|
||||
|
||||

|
||||
|
||||
设计态中,__designMode 值为 "design"
|
||||
@ -13,10 +14,12 @@ tags: [FAQ]
|
||||
|
||||
## 复杂场景
|
||||
在资产包里定义 editUrls
|
||||
|
||||

|
||||
|
||||
### editUrls
|
||||
在 lowcode/xx/ 下新建一个 view.tsx
|
||||
|
||||

|
||||
|
||||
再执行
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@alilc/lowcode-engine-docs",
|
||||
"version": "1.0.9",
|
||||
"version": "1.0.10",
|
||||
"description": "低代码引擎版本化文档",
|
||||
"license": "MIT",
|
||||
"files": [
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"lerna": "4.0.0",
|
||||
"version": "1.0.18",
|
||||
"version": "1.1.0-beta.10",
|
||||
"npmClient": "yarn",
|
||||
"useWorkspaces": true,
|
||||
"packages": [
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@alilc/lowcode-designer",
|
||||
"version": "1.0.18",
|
||||
"version": "1.1.0-beta.10",
|
||||
"description": "Designer for Ali LowCode Engine",
|
||||
"main": "lib/index.js",
|
||||
"module": "es/index.js",
|
||||
@ -15,9 +15,9 @@
|
||||
},
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@alilc/lowcode-editor-core": "1.0.18",
|
||||
"@alilc/lowcode-types": "1.0.18",
|
||||
"@alilc/lowcode-utils": "1.0.18",
|
||||
"@alilc/lowcode-editor-core": "1.1.0-beta.10",
|
||||
"@alilc/lowcode-types": "1.1.0-beta.10",
|
||||
"@alilc/lowcode-utils": "1.1.0-beta.10",
|
||||
"classnames": "^2.2.6",
|
||||
"react": "^16",
|
||||
"react-dom": "^16.7.0",
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@alilc/lowcode-editor-core",
|
||||
"version": "1.0.18",
|
||||
"version": "1.1.0-beta.10",
|
||||
"description": "Core Api for Ali lowCode engine",
|
||||
"license": "MIT",
|
||||
"main": "lib/index.js",
|
||||
@ -14,8 +14,8 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@alifd/next": "^1.19.16",
|
||||
"@alilc/lowcode-types": "1.0.18",
|
||||
"@alilc/lowcode-utils": "1.0.18",
|
||||
"@alilc/lowcode-types": "1.1.0-beta.10",
|
||||
"@alilc/lowcode-utils": "1.1.0-beta.10",
|
||||
"classnames": "^2.2.6",
|
||||
"debug": "^4.1.1",
|
||||
"intl-messageformat": "^9.3.1",
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@alilc/lowcode-editor-skeleton",
|
||||
"version": "1.0.18",
|
||||
"version": "1.1.0-beta.10",
|
||||
"description": "alibaba lowcode editor skeleton",
|
||||
"main": "lib/index.js",
|
||||
"module": "es/index.js",
|
||||
@ -18,10 +18,10 @@
|
||||
],
|
||||
"dependencies": {
|
||||
"@alifd/next": "^1.20.12",
|
||||
"@alilc/lowcode-designer": "1.0.18",
|
||||
"@alilc/lowcode-editor-core": "1.0.18",
|
||||
"@alilc/lowcode-types": "1.0.18",
|
||||
"@alilc/lowcode-utils": "1.0.18",
|
||||
"@alilc/lowcode-designer": "1.1.0-beta.10",
|
||||
"@alilc/lowcode-editor-core": "1.1.0-beta.10",
|
||||
"@alilc/lowcode-types": "1.1.0-beta.10",
|
||||
"@alilc/lowcode-utils": "1.1.0-beta.10",
|
||||
"classnames": "^2.2.6",
|
||||
"react": "^16.8.1",
|
||||
"react-dom": "^16.8.1"
|
||||
|
||||
@ -13,7 +13,7 @@ export class SettingsMain {
|
||||
|
||||
private _sessionId = '';
|
||||
|
||||
@obx.ref private _settings?: SettingTopEntry | null = null;
|
||||
@obx.ref private _settings?: SettingTopEntry;
|
||||
|
||||
@computed get length(): number | undefined {
|
||||
return this._settings?.nodes.length;
|
||||
|
||||
@ -21,6 +21,9 @@ export class SettingsPrimaryPane extends Component<{ engineEditor: Editor; confi
|
||||
constructor(props) {
|
||||
super(props);
|
||||
makeObservable(this);
|
||||
const workspace = globalContext.get('workspace');
|
||||
const editor = workspace.isActive ? workspace.window.editor : globalContext.get('editor');
|
||||
this.main = new SettingsMain(editor);
|
||||
}
|
||||
|
||||
componentDidMount() {
|
||||
|
||||
@ -370,6 +370,12 @@ export class Skeleton {
|
||||
...this.parseConfig(config),
|
||||
...extraConfig,
|
||||
};
|
||||
parsedConfig.contentProps = {
|
||||
pluginContext: this.editor.get('innerPlugins')?._getLowCodePluginContext({
|
||||
pluginName: 'any',
|
||||
}),
|
||||
...(parsedConfig.contentProps || {}),
|
||||
};
|
||||
let { area } = parsedConfig;
|
||||
if (!area) {
|
||||
if (parsedConfig.type === 'Panel') {
|
||||
|
||||
@ -25,6 +25,25 @@ const releaseVersion = getVersion();
|
||||
|
||||
module.exports = ({ context, onGetWebpackConfig }) => {
|
||||
onGetWebpackConfig((config) => {
|
||||
['jsx', 'tsx'].forEach((rule) => {
|
||||
config.module
|
||||
.rule(rule)
|
||||
.exclude.clear()
|
||||
.add(/node_modules(?!(.+_component_demo|.+build-plugin-component))/)
|
||||
.end()
|
||||
.use('babel-loader')
|
||||
.tap((options) => {
|
||||
const { plugins = [] } = options;
|
||||
console.log('plugins', plugins);
|
||||
return {
|
||||
...options,
|
||||
plugins: [
|
||||
...plugins,
|
||||
['@babel/plugin-proposal-class-properties', { loose: true }],
|
||||
],
|
||||
};
|
||||
});
|
||||
});
|
||||
config.resolve
|
||||
.plugin('tsconfigpaths')
|
||||
.use(TsconfigPathsPlugin, [{
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@alilc/lowcode-engine",
|
||||
"version": "1.0.18",
|
||||
"version": "1.1.0-beta.10",
|
||||
"description": "An enterprise-class low-code technology stack with scale-out design / 一套面向扩展设计的企业级低代码技术体系",
|
||||
"main": "lib/engine-core.js",
|
||||
"module": "es/engine-core.js",
|
||||
@ -19,14 +19,14 @@
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@alifd/next": "^1.19.12",
|
||||
"@alilc/lowcode-designer": "1.0.18",
|
||||
"@alilc/lowcode-editor-core": "1.0.18",
|
||||
"@alilc/lowcode-editor-skeleton": "1.0.18",
|
||||
"@alilc/lowcode-designer": "1.1.0-beta.10",
|
||||
"@alilc/lowcode-editor-core": "1.1.0-beta.10",
|
||||
"@alilc/lowcode-editor-skeleton": "1.1.0-beta.10",
|
||||
"@alilc/lowcode-engine-ext": "^1.0.0",
|
||||
"@alilc/lowcode-plugin-designer": "1.0.18",
|
||||
"@alilc/lowcode-plugin-outline-pane": "1.0.18",
|
||||
"@alilc/lowcode-shell": "1.0.18",
|
||||
"@alilc/lowcode-utils": "1.0.18",
|
||||
"@alilc/lowcode-plugin-designer": "1.1.0-beta.10",
|
||||
"@alilc/lowcode-plugin-outline-pane": "1.1.0-beta.10",
|
||||
"@alilc/lowcode-shell": "1.1.0-beta.10",
|
||||
"@alilc/lowcode-utils": "1.1.0-beta.10",
|
||||
"react": "^16.8.1",
|
||||
"react-dom": "^16.8.1"
|
||||
},
|
||||
|
||||
@ -172,7 +172,7 @@ export async function init(
|
||||
// 注册一批内置插件
|
||||
await plugins.register(OutlinePlugin);
|
||||
await plugins.register(componentMetaParser(designer));
|
||||
await plugins.register(setterRegistry);
|
||||
await plugins.register(setterRegistry, {}, { autoInit: true });
|
||||
await plugins.register(defaultPanelRegistry(editor, designer));
|
||||
await plugins.register(builtinHotkey);
|
||||
|
||||
|
||||
@ -6,6 +6,26 @@ const { version } = lernaConfig;
|
||||
|
||||
module.exports = ({ context, onGetWebpackConfig }) => {
|
||||
onGetWebpackConfig((config) => {
|
||||
['jsx', 'tsx'].forEach((rule) => {
|
||||
config.module
|
||||
.rule(rule)
|
||||
.exclude.clear()
|
||||
.add(/node_modules(?!(.+_component_demo|.+build-plugin-component))/)
|
||||
.end()
|
||||
.use('babel-loader')
|
||||
.tap((options) => {
|
||||
const { plugins = [] } = options;
|
||||
console.log('plugins', plugins);
|
||||
return {
|
||||
...options,
|
||||
plugins: [
|
||||
...plugins,
|
||||
['@babel/plugin-proposal-class-properties', { loose: true }],
|
||||
],
|
||||
};
|
||||
});
|
||||
});
|
||||
|
||||
config.resolve.plugin('tsconfigpaths').use(TsconfigPathsPlugin, [
|
||||
{
|
||||
configFile: './tsconfig.json',
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@alilc/lowcode-ignitor",
|
||||
"version": "1.0.18",
|
||||
"version": "1.1.0-beta.10",
|
||||
"description": "点火器,bootstrap lce project",
|
||||
"main": "lib/index.js",
|
||||
"private": true,
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@alilc/lowcode-plugin-designer",
|
||||
"version": "1.0.18",
|
||||
"version": "1.1.0-beta.10",
|
||||
"description": "alibaba lowcode editor designer plugin",
|
||||
"files": [
|
||||
"es",
|
||||
@ -18,9 +18,9 @@
|
||||
],
|
||||
"author": "xiayang.xy",
|
||||
"dependencies": {
|
||||
"@alilc/lowcode-designer": "1.0.18",
|
||||
"@alilc/lowcode-editor-core": "1.0.18",
|
||||
"@alilc/lowcode-utils": "1.0.18",
|
||||
"@alilc/lowcode-designer": "1.1.0-beta.10",
|
||||
"@alilc/lowcode-editor-core": "1.1.0-beta.10",
|
||||
"@alilc/lowcode-utils": "1.1.0-beta.10",
|
||||
"react": "^16.8.1",
|
||||
"react-dom": "^16.8.1"
|
||||
},
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@alilc/lowcode-plugin-outline-pane",
|
||||
"version": "1.0.18",
|
||||
"version": "1.1.0-beta.10",
|
||||
"description": "Outline pane for Ali lowCode engine",
|
||||
"files": [
|
||||
"es",
|
||||
@ -13,10 +13,10 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@alifd/next": "^1.19.16",
|
||||
"@alilc/lowcode-designer": "1.0.18",
|
||||
"@alilc/lowcode-editor-core": "1.0.18",
|
||||
"@alilc/lowcode-types": "1.0.18",
|
||||
"@alilc/lowcode-utils": "1.0.18",
|
||||
"@alilc/lowcode-designer": "1.1.0-beta.10",
|
||||
"@alilc/lowcode-editor-core": "1.1.0-beta.10",
|
||||
"@alilc/lowcode-types": "1.1.0-beta.10",
|
||||
"@alilc/lowcode-utils": "1.1.0-beta.10",
|
||||
"classnames": "^2.2.6",
|
||||
"react": "^16",
|
||||
"react-dom": "^16.7.0",
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@alilc/lowcode-rax-renderer",
|
||||
"version": "1.0.18",
|
||||
"version": "1.1.0-beta.10",
|
||||
"description": "Rax renderer for Ali lowCode engine",
|
||||
"main": "lib/index.js",
|
||||
"module": "es/index.js",
|
||||
@ -30,8 +30,8 @@
|
||||
"build": "build-scripts build"
|
||||
},
|
||||
"dependencies": {
|
||||
"@alilc/lowcode-renderer-core": "1.0.18",
|
||||
"@alilc/lowcode-utils": "1.0.18",
|
||||
"@alilc/lowcode-renderer-core": "1.1.0-beta.10",
|
||||
"@alilc/lowcode-utils": "1.1.0-beta.10",
|
||||
"rax-find-dom-node": "^1.0.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
||||
@ -41,8 +41,8 @@ function factory() {
|
||||
};
|
||||
}
|
||||
|
||||
const RaxRenderer = factory();
|
||||
const Engine = RaxRenderer;
|
||||
const RaxRenderer: any = factory();
|
||||
const Engine: any = RaxRenderer;
|
||||
|
||||
export {
|
||||
Engine,
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
import { blockRendererFactory, types } from '@alilc/lowcode-renderer-core';
|
||||
|
||||
export default function raxBlockRendererFactory() {
|
||||
const raxBlockRendererFactory: () => any = () => {
|
||||
const OriginBlock = blockRendererFactory();
|
||||
return class BlockRenderer extends OriginBlock {
|
||||
render() {
|
||||
@ -21,4 +21,5 @@ export default function raxBlockRendererFactory() {
|
||||
return that.__renderContextConsumer(children);
|
||||
}
|
||||
};
|
||||
}
|
||||
};
|
||||
export default raxBlockRendererFactory;
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
import { componentRendererFactory, types } from '@alilc/lowcode-renderer-core';
|
||||
|
||||
export default function raxComponentRendererFactory() {
|
||||
const raxComponentRendererFactory: () => any = () => {
|
||||
const OriginComponent = componentRendererFactory();
|
||||
return class ComponentRenderer extends OriginComponent {
|
||||
render() {
|
||||
@ -33,4 +33,5 @@ export default function raxComponentRendererFactory() {
|
||||
return that.__renderContent(content);
|
||||
}
|
||||
};
|
||||
}
|
||||
};
|
||||
export default raxComponentRendererFactory;
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
import { pageRendererFactory, types } from '@alilc/lowcode-renderer-core';
|
||||
|
||||
export default function raxPageRendererFactory() {
|
||||
const raxPageRendererFactory: () => any = () => {
|
||||
const OriginPage = pageRendererFactory();
|
||||
return class PageRenderer extends OriginPage {
|
||||
async componentDidUpdate() {
|
||||
@ -33,4 +33,6 @@ export default function raxPageRendererFactory() {
|
||||
}));
|
||||
}
|
||||
};
|
||||
}
|
||||
};
|
||||
|
||||
export default raxPageRendererFactory;
|
||||
|
||||
@ -1,5 +1,24 @@
|
||||
module.exports = ({ onGetWebpackConfig }) => {
|
||||
onGetWebpackConfig((config) => {
|
||||
['jsx', 'tsx'].forEach((rule) => {
|
||||
config.module
|
||||
.rule(rule)
|
||||
.exclude.clear()
|
||||
.add(/node_modules(?!(.+_component_demo|.+build-plugin-component))/)
|
||||
.end()
|
||||
.use('babel-loader')
|
||||
.tap((options) => {
|
||||
const { plugins = [] } = options;
|
||||
console.log('plugins', plugins);
|
||||
return {
|
||||
...options,
|
||||
plugins: [
|
||||
...plugins,
|
||||
['@babel/plugin-proposal-class-properties', { loose: true }],
|
||||
],
|
||||
};
|
||||
});
|
||||
});
|
||||
config.performance.hints(false);
|
||||
});
|
||||
};
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@alilc/lowcode-rax-simulator-renderer",
|
||||
"version": "1.0.18",
|
||||
"version": "1.1.0-beta.10",
|
||||
"description": "rax simulator renderer for alibaba lowcode designer",
|
||||
"main": "lib/index.js",
|
||||
"module": "es/index.js",
|
||||
@ -13,10 +13,10 @@
|
||||
"build:umd": "build-scripts build --config build.umd.json"
|
||||
},
|
||||
"dependencies": {
|
||||
"@alilc/lowcode-designer": "1.0.18",
|
||||
"@alilc/lowcode-rax-renderer": "1.0.18",
|
||||
"@alilc/lowcode-types": "1.0.18",
|
||||
"@alilc/lowcode-utils": "1.0.18",
|
||||
"@alilc/lowcode-designer": "1.1.0-beta.10",
|
||||
"@alilc/lowcode-rax-renderer": "1.1.0-beta.10",
|
||||
"@alilc/lowcode-types": "1.1.0-beta.10",
|
||||
"@alilc/lowcode-utils": "1.1.0-beta.10",
|
||||
"classnames": "^2.2.6",
|
||||
"driver-universal": "^3.1.3",
|
||||
"history": "^5.0.0",
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@alilc/lowcode-react-renderer",
|
||||
"version": "1.0.18",
|
||||
"version": "1.1.0-beta.10",
|
||||
"description": "react renderer for ali lowcode engine",
|
||||
"main": "lib/index.js",
|
||||
"module": "es/index.js",
|
||||
@ -22,7 +22,7 @@
|
||||
],
|
||||
"dependencies": {
|
||||
"@alifd/next": "^1.21.16",
|
||||
"@alilc/lowcode-renderer-core": "1.0.18"
|
||||
"@alilc/lowcode-renderer-core": "1.1.0-beta.10"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@alib/build-scripts": "^0.1.18",
|
||||
|
||||
@ -1,5 +1,24 @@
|
||||
module.exports = ({ onGetWebpackConfig }) => {
|
||||
onGetWebpackConfig((config) => {
|
||||
['jsx', 'tsx'].forEach((rule) => {
|
||||
config.module
|
||||
.rule(rule)
|
||||
.exclude.clear()
|
||||
.add(/node_modules(?!(.+_component_demo|.+build-plugin-component))/)
|
||||
.end()
|
||||
.use('babel-loader')
|
||||
.tap((options) => {
|
||||
const { plugins = [] } = options;
|
||||
console.log('plugins', plugins);
|
||||
return {
|
||||
...options,
|
||||
plugins: [
|
||||
...plugins,
|
||||
['@babel/plugin-proposal-class-properties', { loose: true }],
|
||||
],
|
||||
};
|
||||
});
|
||||
});
|
||||
config.performance.hints(false);
|
||||
});
|
||||
};
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@alilc/lowcode-react-simulator-renderer",
|
||||
"version": "1.0.18",
|
||||
"version": "1.1.0-beta.10",
|
||||
"description": "react simulator renderer for alibaba lowcode designer",
|
||||
"main": "lib/index.js",
|
||||
"module": "es/index.js",
|
||||
@ -17,10 +17,10 @@
|
||||
"test:cov": "build-scripts test --config build.test.json --jest-coverage"
|
||||
},
|
||||
"dependencies": {
|
||||
"@alilc/lowcode-designer": "1.0.18",
|
||||
"@alilc/lowcode-react-renderer": "1.0.18",
|
||||
"@alilc/lowcode-types": "1.0.18",
|
||||
"@alilc/lowcode-utils": "1.0.18",
|
||||
"@alilc/lowcode-designer": "1.1.0-beta.10",
|
||||
"@alilc/lowcode-react-renderer": "1.1.0-beta.10",
|
||||
"@alilc/lowcode-types": "1.1.0-beta.10",
|
||||
"@alilc/lowcode-utils": "1.1.0-beta.10",
|
||||
"classnames": "^2.2.6",
|
||||
"mobx": "^6.3.0",
|
||||
"mobx-react": "^7.2.0",
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@alilc/lowcode-renderer-core",
|
||||
"version": "1.0.18",
|
||||
"version": "1.1.0-beta.10",
|
||||
"description": "renderer core",
|
||||
"license": "MIT",
|
||||
"main": "lib/index.js",
|
||||
@ -16,8 +16,8 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@alilc/lowcode-datasource-engine": "^1.0.0",
|
||||
"@alilc/lowcode-types": "1.0.18",
|
||||
"@alilc/lowcode-utils": "1.0.18",
|
||||
"@alilc/lowcode-types": "1.1.0-beta.10",
|
||||
"@alilc/lowcode-utils": "1.1.0-beta.10",
|
||||
"classnames": "^2.2.6",
|
||||
"debug": "^4.1.1",
|
||||
"fetch-jsonp": "^1.1.3",
|
||||
@ -32,7 +32,7 @@
|
||||
"devDependencies": {
|
||||
"@alib/build-scripts": "^0.1.18",
|
||||
"@alifd/next": "^1.26.0",
|
||||
"@alilc/lowcode-designer": "1.0.18",
|
||||
"@alilc/lowcode-designer": "1.1.0-beta.10",
|
||||
"@babel/plugin-transform-typescript": "^7.16.8",
|
||||
"@testing-library/react": "^11.2.2",
|
||||
"@types/classnames": "^2.2.11",
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@alilc/lowcode-shell",
|
||||
"version": "1.0.18",
|
||||
"version": "1.1.0-beta.10",
|
||||
"description": "Shell Layer for AliLowCodeEngine",
|
||||
"main": "lib/index.js",
|
||||
"module": "es/index.js",
|
||||
@ -15,11 +15,11 @@
|
||||
},
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@alilc/lowcode-designer": "1.0.18",
|
||||
"@alilc/lowcode-editor-core": "1.0.18",
|
||||
"@alilc/lowcode-editor-skeleton": "1.0.18",
|
||||
"@alilc/lowcode-types": "1.0.18",
|
||||
"@alilc/lowcode-utils": "1.0.18",
|
||||
"@alilc/lowcode-designer": "1.1.0-beta.10",
|
||||
"@alilc/lowcode-editor-core": "1.1.0-beta.10",
|
||||
"@alilc/lowcode-editor-skeleton": "1.1.0-beta.10",
|
||||
"@alilc/lowcode-types": "1.1.0-beta.10",
|
||||
"@alilc/lowcode-utils": "1.1.0-beta.10",
|
||||
"classnames": "^2.2.6",
|
||||
"enzyme": "^3.11.0",
|
||||
"enzyme-adapter-react-16": "^1.15.5",
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@alilc/lowcode-types",
|
||||
"version": "1.0.18",
|
||||
"version": "1.1.0-beta.10",
|
||||
"description": "Types for Ali lowCode engine",
|
||||
"files": [
|
||||
"es",
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@alilc/lowcode-utils",
|
||||
"version": "1.0.18",
|
||||
"version": "1.1.0-beta.10",
|
||||
"description": "Utils for Ali lowCode engine",
|
||||
"files": [
|
||||
"lib",
|
||||
@ -14,7 +14,7 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@alifd/next": "^1.19.16",
|
||||
"@alilc/lowcode-types": "1.0.18",
|
||||
"@alilc/lowcode-types": "1.1.0-beta.10",
|
||||
"lodash": "^4.17.21",
|
||||
"mobx": "^6.3.0",
|
||||
"react": "^16"
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@alilc/lowcode-workspace",
|
||||
"version": "1.0.15",
|
||||
"version": "1.1.0-beta.10",
|
||||
"description": "Shell Layer for AliLowCodeEngine",
|
||||
"main": "lib/index.js",
|
||||
"private": true,
|
||||
|
||||
@ -133,7 +133,7 @@ export class BasicContext {
|
||||
// 注册一批内置插件
|
||||
this.registerInnerPlugins = async function registerPlugins() {
|
||||
await plugins.register(componentMetaParser(designer));
|
||||
await plugins.register(setterRegistry);
|
||||
await plugins.register(setterRegistry, {}, { autoInit: true });
|
||||
await plugins.register(defaultPanelRegistry(editor, designer));
|
||||
await plugins.register(builtinHotkey);
|
||||
};
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user