mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2025-12-12 11:20:11 +00:00
feat(designer): add setRendererReady declaration (#2320)
This commit is contained in:
parent
288dbd6394
commit
d67eab0041
@ -2,14 +2,13 @@ import { obx, computed, makeObservable, action, IEventBus, createModuleEventBus
|
|||||||
import { IDesigner } from '../designer';
|
import { IDesigner } from '../designer';
|
||||||
import { DocumentModel, isDocumentModel } from '../document';
|
import { DocumentModel, isDocumentModel } from '../document';
|
||||||
import type { IDocumentModel } from '../document';
|
import type { IDocumentModel } from '../document';
|
||||||
import {
|
import { IPublicEnumTransformStage } from '@alilc/lowcode-types';
|
||||||
IPublicTypeComponentsMap,
|
|
||||||
IPublicEnumTransformStage,
|
|
||||||
IBaseApiProject,
|
|
||||||
} from '@alilc/lowcode-types';
|
|
||||||
import type {
|
import type {
|
||||||
|
IBaseApiProject,
|
||||||
IPublicTypeProjectSchema,
|
IPublicTypeProjectSchema,
|
||||||
IPublicTypeRootSchema,
|
IPublicTypeRootSchema,
|
||||||
|
IPublicTypeComponentsMap,
|
||||||
|
IPublicTypeSimulatorRenderer,
|
||||||
} from '@alilc/lowcode-types';
|
} from '@alilc/lowcode-types';
|
||||||
import { isLowCodeComponentType, isProCodeComponentType } from '@alilc/lowcode-utils';
|
import { isLowCodeComponentType, isProCodeComponentType } from '@alilc/lowcode-utils';
|
||||||
import { ISimulatorHost } from '../simulator';
|
import { ISimulatorHost } from '../simulator';
|
||||||
@ -87,6 +86,8 @@ export interface IProject extends Omit<IBaseApiProject<
|
|||||||
get(key: string): unknown;
|
get(key: string): unknown;
|
||||||
|
|
||||||
checkExclusive(activeDoc: DocumentModel): void;
|
checkExclusive(activeDoc: DocumentModel): void;
|
||||||
|
|
||||||
|
setRendererReady(renderer: IPublicTypeSimulatorRenderer<any, any>): void;
|
||||||
}
|
}
|
||||||
|
|
||||||
export class Project implements IProject {
|
export class Project implements IProject {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user