@elyx-code/project-logic-tree 0.0.6595 → 0.0.6597
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +13 -4
- package/dist/index.js +1166 -1104
- package/dist/index.umd.cjs +38 -38
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -5885,6 +5885,7 @@ export declare class ExtensionContextBase<CT = ExtensionContextType> implements
|
|
|
5885
5885
|
export declare enum ExtensionContextType {
|
|
5886
5886
|
Logic = "logic",
|
|
5887
5887
|
EditorGUI = "editor-gui",
|
|
5888
|
+
GUI = "gui",
|
|
5888
5889
|
Editor = "editor",
|
|
5889
5890
|
Compile = "compile",
|
|
5890
5891
|
PublicationRun = "publication-run"
|
|
@@ -5938,26 +5939,28 @@ export declare enum ExtensionPermissions {
|
|
|
5938
5939
|
UpdateGUIGlobalTheme = "update:gui:global:theme"
|
|
5939
5940
|
}
|
|
5940
5941
|
|
|
5941
|
-
export declare class ExtensionsRegistry<TEditorContext extends Omit<IEditorContext, '_editor'> = IEditorContext, TProjectLogicContext extends DefaultProjectLogicContext = DefaultProjectLogicContext, TCompilerContext extends ICompilerContext = ICompilerContext, TPublicationRunContext extends Omit<IPublicationRunContext, '_publicationRun'> = Omit<DefaultPublicationRunContext, '_publicationRun'
|
|
5942
|
+
export declare class ExtensionsRegistry<TEditorContext extends Omit<IEditorContext, '_editor'> = IEditorContext, TProjectLogicContext extends DefaultProjectLogicContext = DefaultProjectLogicContext, TCompilerContext extends ICompilerContext = ICompilerContext, TPublicationRunContext extends Omit<IPublicationRunContext, '_publicationRun'> = Omit<DefaultPublicationRunContext, '_publicationRun'>, TEditorGUIContext extends ExtensionContextBase<ExtensionContextType.EditorGUI> = any, TGUIContext extends ExtensionContextBase<ExtensionContextType.GUI> = any> implements Omit<IEventsBus, 'destroy'> {
|
|
5942
5943
|
private events;
|
|
5943
5944
|
private extensionsRegistry;
|
|
5944
5945
|
private initialized;
|
|
5945
5946
|
private initializedContexts;
|
|
5946
5947
|
onResolveEditorContextCallback: () => TEditorContext | null;
|
|
5947
5948
|
onResolveProjectLogicContextCallback: () => TProjectLogicContext | null;
|
|
5948
|
-
onResolveEditorGUIContextCallback: () => null;
|
|
5949
|
+
onResolveEditorGUIContextCallback: () => TEditorGUIContext | null;
|
|
5950
|
+
onResolveGUIContextCallback: () => TGUIContext | null;
|
|
5949
5951
|
onResolveCompileContextCallback: () => TCompilerContext | null;
|
|
5950
5952
|
onResolvePublicationRunContextCallback: () => TPublicationRunContext | null;
|
|
5951
5953
|
constructor(events?: Events);
|
|
5952
5954
|
onResolveEditorContext(callback: () => TEditorContext | null): void;
|
|
5953
5955
|
onResolveProjectLogicContext(callback: () => TProjectLogicContext | null): void;
|
|
5954
|
-
onResolveGUIContext(callback: () => null): void;
|
|
5956
|
+
onResolveGUIContext(callback: () => TGUIContext | null): void;
|
|
5957
|
+
onResolveEditorGUIContext(callback: () => TEditorGUIContext | null): void;
|
|
5955
5958
|
onResolveCompileContext(callback: () => TCompilerContext | null): void;
|
|
5956
5959
|
onResolvePublicationRunContext(callback: () => TPublicationRunContext | null): void;
|
|
5957
5960
|
get extensionInOrder(): IRegisteredExtension[];
|
|
5958
5961
|
setup(): Promise<void>;
|
|
5959
5962
|
private requestContext;
|
|
5960
|
-
requestContexts(_module: IRegisteredExtension<any>, _contextTypes?: ExtensionContextType[]): (TEditorContext | TProjectLogicContext | TCompilerContext | TPublicationRunContext)[];
|
|
5963
|
+
requestContexts(_module: IRegisteredExtension<any>, _contextTypes?: ExtensionContextType[]): (TEditorContext | TProjectLogicContext | TCompilerContext | TPublicationRunContext | TEditorGUIContext | TGUIContext)[];
|
|
5961
5964
|
requestExtension<T = any>(moduleId: string): IRegisteredExtension<T>;
|
|
5962
5965
|
register(extension: IRegisteredExtension<any>): void;
|
|
5963
5966
|
initAll(): Promise<void>;
|
|
@@ -17643,6 +17646,12 @@ export declare class ProjectState extends UserManagedVersionedState implements I
|
|
|
17643
17646
|
get off(): Events['off'];
|
|
17644
17647
|
get on(): Events['on'];
|
|
17645
17648
|
get emit(): Events['emit'];
|
|
17649
|
+
get emitAsync(): Events['emitAsync'];
|
|
17650
|
+
get emitAsyncAll(): Events['emitAsyncAll'];
|
|
17651
|
+
get emitAsyncAllSettled(): Events['emitAsyncAllSettled'];
|
|
17652
|
+
get emitAsyncSequentially(): Events['emitAsyncSequentially'];
|
|
17653
|
+
get emitAsyncSequentiallyAll(): Events['emitAsyncSequentiallyAll'];
|
|
17654
|
+
get emitAsyncSequentiallyAllSettled(): Events['emitAsyncSequentiallyAllSettled'];
|
|
17646
17655
|
closePendingChangeSets(): Promise<void>;
|
|
17647
17656
|
onCloseChangeSet(callback: (changeSet: ChangeSet) => Promise<{
|
|
17648
17657
|
success: boolean;
|