From 64684f1c50375dc0dc05a0820f969aa5ae99fdf6 Mon Sep 17 00:00:00 2001 From: Nico Rehwaldt Date: Fri, 10 Jan 2025 23:57:34 +0100 Subject: [PATCH] WOOP --- lib/Diagram.d.ts | 4 +- lib/core/ElementFactory.d.ts | 16 ++++---- lib/core/EventBus.d.ts | 8 ++-- lib/features/context-pad/ContextPad.d.ts | 12 +++--- lib/features/keyboard/Keyboard.d.ts | 1 + lib/features/modeling/Modeling.d.ts | 12 +++--- lib/features/palette/Palette.d.ts | 12 +++--- lib/features/popup-menu/PopupMenu.d.ts | 12 +++--- lib/model/index.d.ts | 48 ++++++++++++------------ 9 files changed, 63 insertions(+), 62 deletions(-) diff --git a/lib/Diagram.d.ts b/lib/Diagram.d.ts index 94d590ec1..368a7cb3d 100644 --- a/lib/Diagram.d.ts +++ b/lib/Diagram.d.ts @@ -50,6 +50,7 @@ export default class Diagram { constructor(options?: DiagramOptions, injector?: Injector); /** + * * Resolves a diagram service. * * @@ -84,7 +85,6 @@ export default class Diagram { get(name: string, strict: true): T; /** - * * Resolves a diagram service. * * @@ -95,6 +95,7 @@ export default class Diagram { get(name: string): T; /** + * * Invoke the given function, injecting dependencies provided in * array notation. Return the result. * @@ -108,7 +109,6 @@ export default class Diagram { invoke(func: ArrayFunc, context?: InjectionContext, locals?: LocalsMap): T; /** - * * Invoke the given function, injecting dependencies. Return the result. * * diff --git a/lib/core/ElementFactory.d.ts b/lib/core/ElementFactory.d.ts index 09ab6abde..473a29ee2 100644 --- a/lib/core/ElementFactory.d.ts +++ b/lib/core/ElementFactory.d.ts @@ -40,40 +40,40 @@ export default class ElementFactory): T; /** - * Create a label. + * Create a root element. * * @param type * @param attrs * @return */ - create(type: 'label', attrs?: Partial