feat: update @alilc/lowcode-plugin-components-pane to 2.0.0 version
This commit is contained in:
parent
9961f73b27
commit
fe1d4885da
|
@ -19,7 +19,7 @@
|
|||
"@alilc/lowcode-datasource-fetch-handler": "^1.0.1",
|
||||
"@alilc/lowcode-plugin-code-editor": "^1.0.3",
|
||||
"@alilc/lowcode-plugin-code-generator": "^1.0.4",
|
||||
"@alilc/lowcode-plugin-components-pane": "^1.0.4",
|
||||
"@alilc/lowcode-plugin-components-pane": "^2.0.0",
|
||||
"@alilc/lowcode-plugin-datasource-pane": "^1.0.9",
|
||||
"@alilc/lowcode-plugin-inject": "^1.2.1",
|
||||
"@alilc/lowcode-plugin-manual": "^1.0.4",
|
||||
|
|
|
@ -10,7 +10,7 @@ import CodeEditorPlugin from "@alilc/lowcode-plugin-code-editor";
|
|||
import ManualPlugin from "@alilc/lowcode-plugin-manual";
|
||||
import InjectPlugin from '@alilc/lowcode-plugin-inject';
|
||||
import SimulatorResizerPlugin from '@alilc/lowcode-plugin-simulator-select';
|
||||
import ComponentPanelPlugin from './plugins/plugin-component-panel';
|
||||
import ComponentPanelPlugin from '@alilc/lowcode-plugin-components-pane';
|
||||
import DefaultSettersRegistryPlugin from './plugins/plugin-default-setters-registry';
|
||||
import LoadIncrementalAssetsWidgetPlugin from './plugins/plugin-load-incremental-assets-widget';
|
||||
import SaveSamplePlugin from './plugins/plugin-save-sample';
|
||||
|
|
|
@ -1,28 +0,0 @@
|
|||
import { IPublicModelPluginContext } from '@alilc/lowcode-types';
|
||||
import ComponentsPane from '@alilc/lowcode-plugin-components-pane';
|
||||
const ComponentPanelPlugin = (ctx: IPublicModelPluginContext) => {
|
||||
return {
|
||||
async init() {
|
||||
const { skeleton, project } = ctx;
|
||||
// 注册组件面板
|
||||
const componentsPane = skeleton.add({
|
||||
area: 'leftArea',
|
||||
type: 'PanelDock',
|
||||
name: 'componentsPane',
|
||||
content: ComponentsPane,
|
||||
contentProps: {},
|
||||
props: {
|
||||
align: 'top',
|
||||
icon: 'zujianku',
|
||||
description: '组件库',
|
||||
},
|
||||
});
|
||||
componentsPane?.disable?.();
|
||||
project.onSimulatorRendererReady(() => {
|
||||
componentsPane?.enable?.();
|
||||
})
|
||||
},
|
||||
};
|
||||
}
|
||||
ComponentPanelPlugin.pluginName = 'ComponentPanelPlugin';
|
||||
export default ComponentPanelPlugin;
|
|
@ -19,7 +19,7 @@
|
|||
"@alilc/lowcode-datasource-fetch-handler": "^1.0.1",
|
||||
"@alilc/lowcode-plugin-code-editor": "^1.0.3",
|
||||
"@alilc/lowcode-plugin-code-generator": "^1.0.4",
|
||||
"@alilc/lowcode-plugin-components-pane": "^1.0.4",
|
||||
"@alilc/lowcode-plugin-components-pane": "^2.0.0",
|
||||
"@alilc/lowcode-plugin-datasource-pane": "^1.0.9",
|
||||
"@alilc/lowcode-plugin-inject": "^1.2.1",
|
||||
"@alilc/lowcode-plugin-manual": "^1.0.4",
|
||||
|
|
|
@ -10,7 +10,7 @@ import CodeEditorPlugin from "@alilc/lowcode-plugin-code-editor";
|
|||
import ManualPlugin from "@alilc/lowcode-plugin-manual";
|
||||
import InjectPlugin from '@alilc/lowcode-plugin-inject';
|
||||
import SimulatorResizerPlugin from '@alilc/lowcode-plugin-simulator-select';
|
||||
import ComponentPanelPlugin from './plugins/plugin-component-panel';
|
||||
import ComponentPanelPlugin from '@alilc/lowcode-plugin-components-pane';
|
||||
import DefaultSettersRegistryPlugin from './plugins/plugin-default-setters-registry';
|
||||
import LoadIncrementalAssetsWidgetPlugin from './plugins/plugin-load-incremental-assets-widget';
|
||||
import SaveSamplePlugin from './plugins/plugin-save-sample';
|
||||
|
|
|
@ -1,28 +0,0 @@
|
|||
import { IPublicModelPluginContext } from '@alilc/lowcode-types';
|
||||
import ComponentsPane from '@alilc/lowcode-plugin-components-pane';
|
||||
const ComponentPanelPlugin = (ctx: IPublicModelPluginContext) => {
|
||||
return {
|
||||
async init() {
|
||||
const { skeleton, project } = ctx;
|
||||
// 注册组件面板
|
||||
const componentsPane = skeleton.add({
|
||||
area: 'leftArea',
|
||||
type: 'PanelDock',
|
||||
name: 'componentsPane',
|
||||
content: ComponentsPane,
|
||||
contentProps: {},
|
||||
props: {
|
||||
align: 'top',
|
||||
icon: 'zujianku',
|
||||
description: '组件库',
|
||||
},
|
||||
});
|
||||
componentsPane?.disable?.();
|
||||
project.onSimulatorRendererReady(() => {
|
||||
componentsPane?.enable?.();
|
||||
})
|
||||
},
|
||||
};
|
||||
}
|
||||
ComponentPanelPlugin.pluginName = 'ComponentPanelPlugin';
|
||||
export default ComponentPanelPlugin;
|
|
@ -19,7 +19,7 @@
|
|||
"@alilc/lowcode-datasource-fetch-handler": "^1.0.1",
|
||||
"@alilc/lowcode-plugin-code-editor": "^1.0.3",
|
||||
"@alilc/lowcode-plugin-code-generator": "^1.0.4",
|
||||
"@alilc/lowcode-plugin-components-pane": "^1.0.4",
|
||||
"@alilc/lowcode-plugin-components-pane": "^2.0.0",
|
||||
"@alilc/lowcode-plugin-datasource-pane": "^1.0.9",
|
||||
"@alilc/lowcode-plugin-inject": "^1.2.1",
|
||||
"@alilc/lowcode-plugin-manual": "^1.0.4",
|
||||
|
|
|
@ -10,7 +10,7 @@ import CodeEditorPlugin from "@alilc/lowcode-plugin-code-editor";
|
|||
import ManualPlugin from "@alilc/lowcode-plugin-manual";
|
||||
import InjectPlugin from '@alilc/lowcode-plugin-inject';
|
||||
import SimulatorResizerPlugin from '@alilc/lowcode-plugin-simulator-select';
|
||||
import ComponentPanelPlugin from './plugins/plugin-component-panel';
|
||||
import ComponentPanelPlugin from '@alilc/lowcode-plugin-components-pane';
|
||||
import DefaultSettersRegistryPlugin from './plugins/plugin-default-setters-registry';
|
||||
import LoadIncrementalAssetsWidgetPlugin from './plugins/plugin-load-incremental-assets-widget';
|
||||
import SaveSamplePlugin from './plugins/plugin-save-sample';
|
||||
|
|
|
@ -1,28 +0,0 @@
|
|||
import { IPublicModelPluginContext } from '@alilc/lowcode-types';
|
||||
import ComponentsPane from '@alilc/lowcode-plugin-components-pane';
|
||||
const ComponentPanelPlugin = (ctx: IPublicModelPluginContext) => {
|
||||
return {
|
||||
async init() {
|
||||
const { skeleton, project } = ctx;
|
||||
// 注册组件面板
|
||||
const componentsPane = skeleton.add({
|
||||
area: 'leftArea',
|
||||
type: 'PanelDock',
|
||||
name: 'componentsPane',
|
||||
content: ComponentsPane,
|
||||
contentProps: {},
|
||||
props: {
|
||||
align: 'top',
|
||||
icon: 'zujianku',
|
||||
description: '组件库',
|
||||
},
|
||||
});
|
||||
componentsPane?.disable?.();
|
||||
project.onSimulatorRendererReady(() => {
|
||||
componentsPane?.enable?.();
|
||||
})
|
||||
},
|
||||
};
|
||||
}
|
||||
ComponentPanelPlugin.pluginName = 'ComponentPanelPlugin';
|
||||
export default ComponentPanelPlugin;
|
|
@ -19,7 +19,7 @@
|
|||
"@alilc/lowcode-datasource-fetch-handler": "^1.0.1",
|
||||
"@alilc/lowcode-plugin-code-editor": "^1.0.3",
|
||||
"@alilc/lowcode-plugin-code-generator": "^1.0.4",
|
||||
"@alilc/lowcode-plugin-components-pane": "^1.0.4",
|
||||
"@alilc/lowcode-plugin-components-pane": "^2.0.0",
|
||||
"@alilc/lowcode-plugin-datasource-pane": "^1.0.9",
|
||||
"@alilc/lowcode-plugin-inject": "^1.2.1",
|
||||
"@alilc/lowcode-plugin-manual": "^1.0.4",
|
||||
|
|
|
@ -12,7 +12,7 @@ import CodeEditorPlugin from "@alilc/lowcode-plugin-code-editor";
|
|||
import ManualPlugin from "@alilc/lowcode-plugin-manual";
|
||||
import InjectPlugin from '@alilc/lowcode-plugin-inject';
|
||||
import SimulatorResizerPlugin from '@alilc/lowcode-plugin-simulator-select';
|
||||
import ComponentPanelPlugin from './plugins/plugin-component-panel';
|
||||
import ComponentPanelPlugin from '@alilc/lowcode-plugin-components-pane';
|
||||
import DefaultSettersRegistryPlugin from './plugins/plugin-default-setters-registry';
|
||||
import LoadIncrementalAssetsWidgetPlugin from './plugins/plugin-load-incremental-assets-widget';
|
||||
import SaveSamplePlugin from './plugins/plugin-save-sample';
|
||||
|
|
|
@ -1,28 +0,0 @@
|
|||
import { IPublicModelPluginContext } from '@alilc/lowcode-types';
|
||||
import ComponentsPane from '@alilc/lowcode-plugin-components-pane';
|
||||
const ComponentPanelPlugin = (ctx: IPublicModelPluginContext) => {
|
||||
return {
|
||||
async init() {
|
||||
const { skeleton, project } = ctx;
|
||||
// 注册组件面板
|
||||
const componentsPane = skeleton.add({
|
||||
area: 'leftArea',
|
||||
type: 'PanelDock',
|
||||
name: 'componentsPane',
|
||||
content: ComponentsPane,
|
||||
contentProps: {},
|
||||
props: {
|
||||
align: 'top',
|
||||
icon: 'zujianku',
|
||||
description: '组件库',
|
||||
},
|
||||
});
|
||||
componentsPane?.disable?.();
|
||||
project.onSimulatorRendererReady(() => {
|
||||
componentsPane?.enable?.();
|
||||
})
|
||||
},
|
||||
};
|
||||
}
|
||||
ComponentPanelPlugin.pluginName = 'ComponentPanelPlugin';
|
||||
export default ComponentPanelPlugin;
|
|
@ -19,7 +19,7 @@
|
|||
"@alilc/lowcode-datasource-fetch-handler": "^1.0.1",
|
||||
"@alilc/lowcode-plugin-code-editor": "^1.0.3",
|
||||
"@alilc/lowcode-plugin-code-generator": "^1.0.4",
|
||||
"@alilc/lowcode-plugin-components-pane": "^1.0.4",
|
||||
"@alilc/lowcode-plugin-components-pane": "^2.0.0",
|
||||
"@alilc/lowcode-plugin-datasource-pane": "^1.0.9",
|
||||
"@alilc/lowcode-plugin-inject": "^1.2.1",
|
||||
"@alilc/lowcode-plugin-manual": "^1.0.4",
|
||||
|
|
|
@ -10,7 +10,7 @@ import CodeEditorPlugin from "@alilc/lowcode-plugin-code-editor";
|
|||
import ManualPlugin from "@alilc/lowcode-plugin-manual";
|
||||
import InjectPlugin from '@alilc/lowcode-plugin-inject';
|
||||
import SimulatorResizerPlugin from '@alilc/lowcode-plugin-simulator-select';
|
||||
import ComponentPanelPlugin from './plugins/plugin-component-panel';
|
||||
import ComponentPanelPlugin from '@alilc/lowcode-plugin-components-pane';
|
||||
import DefaultSettersRegistryPlugin from './plugins/plugin-default-setters-registry';
|
||||
import LoadIncrementalAssetsWidgetPlugin from './plugins/plugin-load-incremental-assets-widget';
|
||||
import SaveSamplePlugin from './plugins/plugin-save-sample';
|
||||
|
|
|
@ -1,28 +0,0 @@
|
|||
import { IPublicModelPluginContext } from '@alilc/lowcode-types';
|
||||
import ComponentsPane from '@alilc/lowcode-plugin-components-pane';
|
||||
const ComponentPanelPlugin = (ctx: IPublicModelPluginContext) => {
|
||||
return {
|
||||
async init() {
|
||||
const { skeleton, project } = ctx;
|
||||
// 注册组件面板
|
||||
const componentsPane = skeleton.add({
|
||||
area: 'leftArea',
|
||||
type: 'PanelDock',
|
||||
name: 'componentsPane',
|
||||
content: ComponentsPane,
|
||||
contentProps: {},
|
||||
props: {
|
||||
align: 'top',
|
||||
icon: 'zujianku',
|
||||
description: '组件库',
|
||||
},
|
||||
});
|
||||
componentsPane?.disable?.();
|
||||
project.onSimulatorRendererReady(() => {
|
||||
componentsPane?.enable?.();
|
||||
})
|
||||
},
|
||||
};
|
||||
}
|
||||
ComponentPanelPlugin.pluginName = 'ComponentPanelPlugin';
|
||||
export default ComponentPanelPlugin;
|
|
@ -19,7 +19,7 @@
|
|||
"@alilc/lowcode-datasource-fetch-handler": "^1.0.1",
|
||||
"@alilc/lowcode-plugin-code-editor": "^1.0.3",
|
||||
"@alilc/lowcode-plugin-code-generator": "^1.0.4",
|
||||
"@alilc/lowcode-plugin-components-pane": "^1.0.4",
|
||||
"@alilc/lowcode-plugin-components-pane": "^2.0.0",
|
||||
"@alilc/lowcode-plugin-datasource-pane": "^1.0.9",
|
||||
"@alilc/lowcode-plugin-inject": "^1.2.1",
|
||||
"@alilc/lowcode-plugin-manual": "^1.0.4",
|
||||
|
|
|
@ -9,7 +9,7 @@ import CodeEditorPlugin from "@alilc/lowcode-plugin-code-editor";
|
|||
import ManualPlugin from "@alilc/lowcode-plugin-manual";
|
||||
import InjectPlugin from '@alilc/lowcode-plugin-inject';
|
||||
import SimulatorResizerPlugin from '@alilc/lowcode-plugin-simulator-select';
|
||||
import ComponentPanelPlugin from './plugins/plugin-component-panel';
|
||||
import ComponentPanelPlugin from '@alilc/lowcode-plugin-components-pane';
|
||||
import DefaultSettersRegistryPlugin from './plugins/plugin-default-setters-registry';
|
||||
import SaveSamplePlugin from './plugins/plugin-save-sample';
|
||||
import PreviewSamplePlugin from './plugins/plugin-preview-sample';
|
||||
|
|
|
@ -1,28 +0,0 @@
|
|||
import { IPublicModelPluginContext } from '@alilc/lowcode-types';
|
||||
import ComponentsPane from '@alilc/lowcode-plugin-components-pane';
|
||||
const ComponentPanelPlugin = (ctx: IPublicModelPluginContext) => {
|
||||
return {
|
||||
async init() {
|
||||
const { skeleton, project } = ctx;
|
||||
// 注册组件面板
|
||||
const componentsPane = skeleton.add({
|
||||
area: 'leftArea',
|
||||
type: 'PanelDock',
|
||||
name: 'componentsPane',
|
||||
content: ComponentsPane,
|
||||
contentProps: {},
|
||||
props: {
|
||||
align: 'top',
|
||||
icon: 'zujianku',
|
||||
description: '组件库',
|
||||
},
|
||||
});
|
||||
componentsPane?.disable?.();
|
||||
project.onSimulatorRendererReady(() => {
|
||||
componentsPane?.enable?.();
|
||||
})
|
||||
},
|
||||
};
|
||||
}
|
||||
ComponentPanelPlugin.pluginName = 'ComponentPanelPlugin';
|
||||
export default ComponentPanelPlugin;
|
|
@ -19,7 +19,7 @@
|
|||
"@alilc/lowcode-datasource-fetch-handler": "^1.0.1",
|
||||
"@alilc/lowcode-plugin-code-editor": "^1.0.3",
|
||||
"@alilc/lowcode-plugin-code-generator": "^1.0.4",
|
||||
"@alilc/lowcode-plugin-components-pane": "^1.0.4",
|
||||
"@alilc/lowcode-plugin-components-pane": "^2.0.0",
|
||||
"@alilc/lowcode-plugin-datasource-pane": "^1.0.9",
|
||||
"@alilc/lowcode-plugin-inject": "^1.2.1",
|
||||
"@alilc/lowcode-plugin-manual": "^1.0.4",
|
||||
|
|
|
@ -10,7 +10,7 @@ import CodeEditorPlugin from "@alilc/lowcode-plugin-code-editor";
|
|||
import ManualPlugin from "@alilc/lowcode-plugin-manual";
|
||||
import InjectPlugin from '@alilc/lowcode-plugin-inject';
|
||||
import SimulatorResizerPlugin from '@alilc/lowcode-plugin-simulator-select';
|
||||
import ComponentPanelPlugin from './plugins/plugin-component-panel';
|
||||
import ComponentPanelPlugin from '@alilc/lowcode-plugin-components-pane';
|
||||
import DefaultSettersRegistryPlugin from './plugins/plugin-default-setters-registry';
|
||||
import LoadIncrementalAssetsWidgetPlugin from './plugins/plugin-load-incremental-assets-widget';
|
||||
import SaveSamplePlugin from './plugins/plugin-save-sample';
|
||||
|
|
|
@ -1,28 +0,0 @@
|
|||
import { IPublicModelPluginContext } from '@alilc/lowcode-types';
|
||||
import ComponentsPane from '@alilc/lowcode-plugin-components-pane';
|
||||
const ComponentPanelPlugin = (ctx: IPublicModelPluginContext) => {
|
||||
return {
|
||||
async init() {
|
||||
const { skeleton, project } = ctx;
|
||||
// 注册组件面板
|
||||
const componentsPane = skeleton.add({
|
||||
area: 'leftArea',
|
||||
type: 'PanelDock',
|
||||
name: 'componentsPane',
|
||||
content: ComponentsPane,
|
||||
contentProps: {},
|
||||
props: {
|
||||
align: 'top',
|
||||
icon: 'zujianku',
|
||||
description: '组件库',
|
||||
},
|
||||
});
|
||||
componentsPane?.disable?.();
|
||||
project.onSimulatorRendererReady(() => {
|
||||
componentsPane?.enable?.();
|
||||
})
|
||||
},
|
||||
};
|
||||
}
|
||||
ComponentPanelPlugin.pluginName = 'ComponentPanelPlugin';
|
||||
export default ComponentPanelPlugin;
|
|
@ -19,7 +19,7 @@
|
|||
"@alilc/lowcode-datasource-fetch-handler": "^1.0.1",
|
||||
"@alilc/lowcode-plugin-code-editor": "^1.0.3",
|
||||
"@alilc/lowcode-plugin-code-generator": "^1.0.4",
|
||||
"@alilc/lowcode-plugin-components-pane": "^1.0.4",
|
||||
"@alilc/lowcode-plugin-components-pane": "^2.0.0",
|
||||
"@alilc/lowcode-plugin-datasource-pane": "^1.0.9",
|
||||
"@alilc/lowcode-plugin-inject": "^1.2.1",
|
||||
"@alilc/lowcode-plugin-manual": "^1.0.4",
|
||||
|
|
|
@ -10,7 +10,7 @@ import CodeEditorPlugin from "@alilc/lowcode-plugin-code-editor";
|
|||
import ManualPlugin from "@alilc/lowcode-plugin-manual";
|
||||
import InjectPlugin from '@alilc/lowcode-plugin-inject';
|
||||
import SimulatorResizerPlugin from '@alilc/lowcode-plugin-simulator-select';
|
||||
import ComponentPanelPlugin from './plugins/plugin-component-panel';
|
||||
import ComponentPanelPlugin from '@alilc/lowcode-plugin-components-pane';
|
||||
import DefaultSettersRegistryPlugin from './plugins/plugin-default-setters-registry';
|
||||
import LoadIncrementalAssetsWidgetPlugin from './plugins/plugin-load-incremental-assets-widget';
|
||||
import SaveSamplePlugin from './plugins/plugin-save-sample';
|
||||
|
|
|
@ -1,28 +0,0 @@
|
|||
import { IPublicModelPluginContext } from '@alilc/lowcode-types';
|
||||
import ComponentsPane from '@alilc/lowcode-plugin-components-pane';
|
||||
const ComponentPanelPlugin = (ctx: IPublicModelPluginContext) => {
|
||||
return {
|
||||
async init() {
|
||||
const { skeleton, project } = ctx;
|
||||
// 注册组件面板
|
||||
const componentsPane = skeleton.add({
|
||||
area: 'leftArea',
|
||||
type: 'PanelDock',
|
||||
name: 'componentsPane',
|
||||
content: ComponentsPane,
|
||||
contentProps: {},
|
||||
props: {
|
||||
align: 'top',
|
||||
icon: 'zujianku',
|
||||
description: '组件库',
|
||||
},
|
||||
});
|
||||
componentsPane?.disable?.();
|
||||
project.onSimulatorRendererReady(() => {
|
||||
componentsPane?.enable?.();
|
||||
})
|
||||
},
|
||||
};
|
||||
}
|
||||
ComponentPanelPlugin.pluginName = 'ComponentPanelPlugin';
|
||||
export default ComponentPanelPlugin;
|
|
@ -21,7 +21,7 @@
|
|||
"@alilc/lowcode-datasource-fetch-handler": "^1.0.1",
|
||||
"@alilc/lowcode-plugin-code-editor": "^1.0.3",
|
||||
"@alilc/lowcode-plugin-code-generator": "^1.0.4",
|
||||
"@alilc/lowcode-plugin-components-pane": "^1.0.4",
|
||||
"@alilc/lowcode-plugin-components-pane": "^2.0.0",
|
||||
"@alilc/lowcode-plugin-datasource-pane": "^1.0.9",
|
||||
"@alilc/lowcode-plugin-inject": "^1.2.1",
|
||||
"@alilc/lowcode-plugin-manual": "^1.0.4",
|
||||
|
|
Loading…
Reference in New Issue