diff --git a/libs/integration-interface/src/index.ts b/libs/integration-interface/src/index.ts index 2d617036..95be328d 100644 --- a/libs/integration-interface/src/index.ts +++ b/libs/integration-interface/src/index.ts @@ -38,4 +38,5 @@ export * from './lib/topics/permissions-rpc/v1/permissions-rpc.model' export * from './lib/topics/events/v1/events-topic' export * from './lib/topics/events/v1/topic-event-type' +export * from './lib/topics/events/v1/navigated-event-type' export * from './lib/topics/events/v1/navigated-event-payload' diff --git a/libs/integration-interface/src/lib/topics/events/v1/navigated-event-type.ts b/libs/integration-interface/src/lib/topics/events/v1/navigated-event-type.ts new file mode 100644 index 00000000..2b11cc41 --- /dev/null +++ b/libs/integration-interface/src/lib/topics/events/v1/navigated-event-type.ts @@ -0,0 +1,3 @@ +import { NavigatedEventPayload } from './navigated-event-payload' + +export type NavigatedEvent = { type: 'navigated'; payload: NavigatedEventPayload } diff --git a/libs/integration-interface/src/lib/topics/events/v1/topic-event-type.ts b/libs/integration-interface/src/lib/topics/events/v1/topic-event-type.ts index 47ee692e..640fc0f4 100644 --- a/libs/integration-interface/src/lib/topics/events/v1/topic-event-type.ts +++ b/libs/integration-interface/src/lib/topics/events/v1/topic-event-type.ts @@ -1 +1,3 @@ -export type TopicEventType = { type: string; payload?: unknown | undefined } +import { NavigatedEvent } from './navigated-event-type' + +export type TopicEventType = NavigatedEvent | { type: string; payload?: unknown | undefined } diff --git a/libs/portal-integration-angular/src/lib/core/components/button-dialog/button-dialog.component.html b/libs/portal-integration-angular/src/lib/core/components/button-dialog/button-dialog.component.html index 641f66c5..ec990a1b 100644 --- a/libs/portal-integration-angular/src/lib/core/components/button-dialog/button-dialog.component.html +++ b/libs/portal-integration-angular/src/lib/core/components/button-dialog/button-dialog.component.html @@ -3,43 +3,46 @@ -
-
-
- +
+ +
+
+
+
- -
-
+
+
+
-
-
- -
+
+