From 280d4a9e51d1072d5bb35c511a4b36c88850926b Mon Sep 17 00:00:00 2001 From: liujuping Date: Fri, 2 Feb 2024 17:28:46 +0800 Subject: [PATCH] feat: export SettingField symbol --- packages/engine/src/modules/classes.ts | 1 + packages/engine/src/modules/symbols.ts | 1 + packages/types/src/shell/model/window.ts | 4 ++-- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/packages/engine/src/modules/classes.ts b/packages/engine/src/modules/classes.ts index 3b7627deb..950c31989 100644 --- a/packages/engine/src/modules/classes.ts +++ b/packages/engine/src/modules/classes.ts @@ -11,6 +11,7 @@ export { Prop, SimulatorHost, SkeletonItem, + SettingField, } from '@alilc/lowcode-shell'; export { Node as InnerNode } from '@alilc/lowcode-designer'; diff --git a/packages/engine/src/modules/symbols.ts b/packages/engine/src/modules/symbols.ts index 55c70e5dc..cb46b1f36 100644 --- a/packages/engine/src/modules/symbols.ts +++ b/packages/engine/src/modules/symbols.ts @@ -34,4 +34,5 @@ export default { simulatorHostSymbol, skeletonItemSymbol, simulatorRenderSymbol, + settingFieldSymbol, }; diff --git a/packages/types/src/shell/model/window.ts b/packages/types/src/shell/model/window.ts index 95ab738bc..8cb2380fb 100644 --- a/packages/types/src/shell/model/window.ts +++ b/packages/types/src/shell/model/window.ts @@ -1,5 +1,5 @@ import { ReactElement } from 'react'; -import { IPublicTypeDisposable, IPublicTypeNodeSchema } from '../type'; +import { IPublicTypeDisposable, IPublicTypeRootSchema } from '../type'; import { IPublicModelResource } from './resource'; import { IPublicModelEditorView } from './editor-view'; @@ -32,7 +32,7 @@ export interface IPublicModelWindow< editorViews: IPublicModelEditorView[]; /** 当前窗口导入 schema */ - importSchema(schema: IPublicTypeNodeSchema): void; + importSchema(schema: IPublicTypeRootSchema): void; /** 修改当前窗口视图类型 */ changeViewType(viewName: string): void;