mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2025-12-16 06:42:53 +00:00
feat(common): add some api to be compatible with old platforms
This commit is contained in:
parent
6160056139
commit
016d54bdde
@ -58,6 +58,9 @@ import {
|
|||||||
untracked as innerUntracked,
|
untracked as innerUntracked,
|
||||||
computed as innerComputed,
|
computed as innerComputed,
|
||||||
observer as innerObserver,
|
observer as innerObserver,
|
||||||
|
action as innerAction,
|
||||||
|
runInAction as innerRunInAction,
|
||||||
|
engineConfig as innerEngineConfig,
|
||||||
} from '@alilc/lowcode-editor-core';
|
} from '@alilc/lowcode-editor-core';
|
||||||
import { Dragon as ShellDragon } from '../model';
|
import { Dragon as ShellDragon } from '../model';
|
||||||
import { ReactNode } from 'react';
|
import { ReactNode } from 'react';
|
||||||
@ -302,6 +305,27 @@ class EditorCabin implements IPublicApiCommonEditorCabin {
|
|||||||
return innerObx;
|
return innerObx;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @deprecated
|
||||||
|
*/
|
||||||
|
get action() {
|
||||||
|
return innerAction;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @deprecated
|
||||||
|
*/
|
||||||
|
get engineConfig() {
|
||||||
|
return innerEngineConfig;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @deprecated
|
||||||
|
*/
|
||||||
|
get runInAction() {
|
||||||
|
return innerRunInAction;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @deprecated
|
* @deprecated
|
||||||
*/
|
*/
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user