@pimcore/studio-ui-bundle 1.0.0-canary.20251124-130633-8136b5d → 1.0.0-canary.20251124-160625-9aabc32
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/build/types/src/core/lib/event-bus/event-types.d.ts +1 -0
- package/dist/build/types/src/core/modules/widget-manager/events/{close-main-widget-event.d.ts → close-widget-events.d.ts} +11 -0
- package/dist/build/types/src/core/modules/widget-manager/events/index.d.ts +1 -1
- package/package.json +1 -1
|
@@ -17,6 +17,7 @@
|
|
|
17
17
|
*/
|
|
18
18
|
export declare const eventTypes: {
|
|
19
19
|
'widget-manager:inner:widget-closed': string;
|
|
20
|
+
'widget-manager:outer:widget-closed': string;
|
|
20
21
|
'data-object:editor:post-update': string;
|
|
21
22
|
'document:editor:post-update': string;
|
|
22
23
|
'asset:editor:post-update': string;
|
|
@@ -20,3 +20,14 @@ export interface CloseMainWidgetEvent extends AbstractEvent {
|
|
|
20
20
|
};
|
|
21
21
|
payload: CloseMainWidgetEventPayload;
|
|
22
22
|
}
|
|
23
|
+
export interface CloseOuterWidgetEventPayload {
|
|
24
|
+
widgetId: string;
|
|
25
|
+
node: TabNode;
|
|
26
|
+
}
|
|
27
|
+
export interface CloseOuterWidgetEvent extends AbstractEvent {
|
|
28
|
+
identifier: {
|
|
29
|
+
type: typeof eventTypes['widget-manager:outer:widget-closed'];
|
|
30
|
+
id?: string;
|
|
31
|
+
};
|
|
32
|
+
payload: CloseOuterWidgetEventPayload;
|
|
33
|
+
}
|