@scion/workbench 19.0.0-beta.2 → 19.0.0-beta.3

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.
Files changed (195) hide show
  1. package/README.md +6 -4
  2. package/design/_workbench-dark-theme-design-tokens.scss +52 -12
  3. package/design/_workbench-icon-font.scss +1 -1
  4. package/design/_workbench-light-theme-design-tokens.scss +54 -14
  5. package/fesm2022/scion-workbench.mjs +7265 -5286
  6. package/fesm2022/scion-workbench.mjs.map +1 -1
  7. package/lib/activity/activity-bar/activity-bar.component.d.ts +10 -0
  8. package/lib/activity/activity-bar/activity-item/activity-item.component.d.ts +16 -0
  9. package/lib/activity/activity-bar/activity-stack/activity-stack.component.d.ts +10 -0
  10. package/lib/activity/activity-panel/activity-panel.component.d.ts +41 -0
  11. package/lib/activity/public_api.d.ts +1 -0
  12. package/lib/activity/workbench-activity.model.d.ts +110 -0
  13. package/lib/common/asserts.util.d.ts +1 -1
  14. package/lib/common/dasherize.util.d.ts +4 -0
  15. package/lib/common/disposable.d.ts +4 -0
  16. package/lib/common/dom.util.d.ts +19 -1
  17. package/lib/common/grid-if-visible.pipe.d.ts +13 -0
  18. package/lib/common/objects.util.d.ts +11 -3
  19. package/lib/common/observables.d.ts +8 -8
  20. package/lib/common/public_api.d.ts +1 -1
  21. package/lib/common/resolve-when.util.d.ts +9 -0
  22. package/lib/common/utility-types.d.ts +6 -0
  23. package/lib/content-projection/content-as-overlay.component.d.ts +1 -1
  24. package/lib/desktop/desktop.directive.d.ts +1 -1
  25. package/lib/dialog/dialog-footer/dialog-footer.component.d.ts +1 -2
  26. package/lib/dialog/dialog-footer/workbench-dialog-action.directive.d.ts +8 -10
  27. package/lib/dialog/dialog-footer/workbench-dialog-footer.directive.d.ts +8 -11
  28. package/lib/dialog/dialog-header/dialog-header.component.d.ts +1 -2
  29. package/lib/dialog/dialog-header/workbench-dialog-header.directive.d.ts +8 -11
  30. package/lib/dialog/movable.directive.d.ts +11 -12
  31. package/lib/dialog/public_api.d.ts +2 -2
  32. package/lib/dialog/resizable.directive.d.ts +8 -16
  33. package/lib/dialog/workbench-dialog.component.d.ts +9 -14
  34. package/lib/dialog/workbench-dialog.d.ts +6 -5
  35. package/lib/dialog//311/265workbench-dialog.d.ts +7 -6
  36. package/lib/filter-field/filter-field.component.d.ts +23 -26
  37. package/lib/glass-pane/glass-pane.directive.d.ts +4 -5
  38. package/lib/icon/icon-providers.d.ts +6 -0
  39. package/lib/icon/icon.component.d.ts +33 -0
  40. package/lib/icon/material-icon-provider.d.ts +25 -0
  41. package/lib/icon/public_api.d.ts +1 -0
  42. package/lib/icon/workbench-icon-provider.d.ts +30 -0
  43. package/lib/icon/workbench-icon-provider.model.d.ts +64 -0
  44. package/lib/layout/{workbench-layout.component.d.ts → grid/grid.component.d.ts} +38 -10
  45. package/lib/layout/grid-element/grid-element.component.d.ts +16 -20
  46. package/lib/layout/layout.component.d.ts +60 -0
  47. package/lib/layout/migration/model/workbench-grid-migration-v2.model.d.ts +22 -0
  48. package/lib/layout/migration/model/workbench-grid-migration-v3.model.d.ts +30 -0
  49. package/lib/layout/migration/model/workbench-grid-migration-v4.model.d.ts +31 -0
  50. package/lib/layout/migration/model/{workbench-layout-migration-v5.model.d.ts → workbench-grid-migration-v5.model.d.ts} +3 -3
  51. package/lib/layout/migration/model/{workbench-layout-migration-v6.model.d.ts → workbench-grid-migration-v6.model.d.ts} +3 -3
  52. package/lib/layout/migration/model/{workbench-layout-migration-v7.model.d.ts → workbench-grid-migration-v7.model.d.ts} +3 -3
  53. package/lib/layout/migration/model/workbench-layout-migration-v2.model.d.ts +9 -21
  54. package/lib/layout/migration/model/workbench-layout-migration-v3.model.d.ts +8 -28
  55. package/lib/layout/migration/model/workbench-layout-migration-v4.model.d.ts +18 -29
  56. package/lib/layout/migration/workbench-grid-migration-v3.service.d.ts +14 -0
  57. package/lib/layout/migration/workbench-grid-migration-v4.service.d.ts +12 -0
  58. package/lib/layout/migration/{workbench-layout-migration-v5.service.d.ts → workbench-grid-migration-v5.service.d.ts} +3 -3
  59. package/lib/layout/migration/workbench-grid-migration-v6.service.d.ts +12 -0
  60. package/lib/layout/migration/workbench-grid-migration-v7.service.d.ts +10 -0
  61. package/lib/layout/migration/{workbench-layout-migration-v6.service.d.ts → workbench-layout-migration-v2.service.d.ts} +5 -4
  62. package/lib/layout/migration/workbench-layout-migration-v3.service.d.ts +1 -5
  63. package/lib/layout/migration/workbench-layout-migration-v4.service.d.ts +1 -1
  64. package/lib/layout/public_api.d.ts +1 -1
  65. package/lib/layout/rendering-flag.d.ts +7 -0
  66. package/lib/layout/{workbench-layout.model.d.ts → workbench-grid.model.d.ts} +26 -3
  67. package/lib/{perspective/workbench-grid-merger.service.d.ts → layout/workbench-layout-merger.service.d.ts} +5 -5
  68. package/lib/layout/workbench-layout-storage.service.d.ts +28 -0
  69. package/lib/layout/workbench-layout.d.ts +289 -28
  70. package/lib/layout/workbench-layout.factory.d.ts +4 -6
  71. package/lib/layout/workbench-layout.service.d.ts +24 -13
  72. package/lib/layout/workbench-layouts.util.d.ts +25 -1
  73. package/lib/layout/workench-layout-serializer.service.d.ts +52 -14
  74. package/lib/layout//311/265workbench-layout.d.ts +351 -83
  75. package/lib/layout//311/265workbench-layout.factory.d.ts +6 -21
  76. package/lib/logging/console-appender.service.d.ts +0 -1
  77. package/lib/logging/public_api.d.ts +1 -1
  78. package/lib/message-box/message-box-footer/message-box-footer.component.d.ts +7 -8
  79. package/lib/message-box/message-box-header/message-box-header.component.d.ts +3 -3
  80. package/lib/message-box/public_api.d.ts +1 -1
  81. package/lib/message-box/workbench-message-box.component.d.ts +5 -8
  82. package/lib/message-box/workbench-message-box.options.d.ts +6 -5
  83. package/lib/message-box/workbench-message-box.service.d.ts +2 -1
  84. package/lib/message-box//311/265workbench-message-box.service.d.ts +4 -6
  85. package/lib/microfrontend-platform/common/microfrontend.util.d.ts +15 -2
  86. package/lib/microfrontend-platform/initialization/microfrontend-platform-initializer.service.d.ts +20 -38
  87. package/lib/microfrontend-platform/initialization/ng-zone-observable-decorator.d.ts +1 -3
  88. package/lib/microfrontend-platform/manifest-object-cache.service.d.ts +9 -10
  89. package/lib/microfrontend-platform/microfrontend-dialog/microfrontend-dialog-intent-handler.interceptor.d.ts +2 -5
  90. package/lib/microfrontend-platform/microfrontend-dialog/microfrontend-dialog.component.d.ts +14 -34
  91. package/lib/microfrontend-platform/microfrontend-host-dialog/microfrontend-host-dialog.component.d.ts +13 -16
  92. package/lib/microfrontend-platform/microfrontend-host-message-box/microfrontend-host-message-box.component.d.ts +15 -18
  93. package/lib/microfrontend-platform/microfrontend-host-message-box/text-message/text-message.component.d.ts +0 -2
  94. package/lib/microfrontend-platform/microfrontend-host-popup/microfrontend-host-popup.component.d.ts +8 -12
  95. package/lib/microfrontend-platform/microfrontend-message-box/microfrontend-message-box-intent-handler.interceptor.d.ts +2 -5
  96. package/lib/microfrontend-platform/microfrontend-message-box/microfrontend-message-box.component.d.ts +14 -33
  97. package/lib/microfrontend-platform/microfrontend-notification/microfrontend-notification-intent-handler.d.ts +7 -0
  98. package/lib/microfrontend-platform/microfrontend-perspective/microfrontend-perspective-installer.service.d.ts +3 -22
  99. package/lib/microfrontend-platform/microfrontend-perspective/microfrontend-perspective-intent-handler.interceptor.d.ts +2 -5
  100. package/lib/microfrontend-platform/microfrontend-platform-initializer.provider.d.ts +85 -0
  101. package/lib/microfrontend-platform/microfrontend-popup/microfrontend-popup.component.d.ts +19 -33
  102. package/lib/microfrontend-platform/microfrontend-view/microfrontend-view-command-handler.service.d.ts +3 -40
  103. package/lib/microfrontend-platform/{routing → microfrontend-view}/microfrontend-view-intent-handler.interceptor.d.ts +5 -4
  104. package/lib/microfrontend-platform/{routing → microfrontend-view}/microfrontend-view-routes.d.ts +2 -2
  105. package/lib/microfrontend-platform/microfrontend-view/microfrontend-view.component.d.ts +28 -33
  106. package/lib/microfrontend-platform/public_api.d.ts +2 -0
  107. package/lib/notification/notification-list.component.d.ts +3 -6
  108. package/lib/notification/notification.component.d.ts +14 -16
  109. package/lib/notification/notification.config.d.ts +4 -3
  110. package/lib/notification/notification.d.ts +2 -1
  111. package/lib/notification/notification.service.d.ts +6 -6
  112. package/lib/notification/public_api.d.ts +1 -1
  113. package/lib/notification/text-notification.component.d.ts +2 -3
  114. package/lib/notification//311/265notification.d.ts +5 -4
  115. package/lib/null-content/null-content.component.d.ts +11 -0
  116. package/lib/part/main-area-part/main-area-part.component.d.ts +7 -3
  117. package/lib/part/part-action-bar/part-action.directive.d.ts +1 -1
  118. package/lib/part/part-bar/part-bar.component.d.ts +6 -1
  119. package/lib/part/part.component.d.ts +3 -4
  120. package/lib/part/public_api.d.ts +1 -1
  121. package/lib/part/view-context-menu/text/text.component.d.ts +1 -1
  122. package/lib/part/view-context-menu/view-menu-item.directive.d.ts +1 -1
  123. package/lib/part/view-context-menu/view-menu.service.d.ts +7 -5
  124. package/lib/part/view-list/view-list.component.d.ts +14 -24
  125. package/lib/part/view-list-button/view-list-button.component.d.ts +6 -10
  126. package/lib/part/view-list-item/view-list-item.component.d.ts +7 -11
  127. package/lib/part/view-tab/view-tab.component.d.ts +14 -30
  128. package/lib/part/view-tab-bar/view-tab-bar.component.d.ts +1 -0
  129. package/lib/part/view-tab-content/view-tab-content.component.d.ts +1 -4
  130. package/lib/part/view-tab-drag-image/view-tab-drag-image.component.d.ts +20 -18
  131. package/lib/part/workbench-part.model.d.ts +23 -3
  132. package/lib/part//311/265workbench-part.model.d.ts +28 -8
  133. package/lib/perspective/public_api.d.ts +1 -1
  134. package/lib/perspective/workbench-perspective-view-conflict-resolver.service.d.ts +5 -5
  135. package/lib/perspective/workbench-perspective.model.d.ts +14 -138
  136. package/lib/perspective/workbench-perspective.service.d.ts +15 -5
  137. package/lib/perspective//311/265workbench-perspective.model.d.ts +9 -8
  138. package/lib/popup/popup.component.d.ts +14 -16
  139. package/lib/popup/popup.config.d.ts +10 -15
  140. package/lib/popup/popup.service.d.ts +12 -22
  141. package/lib/popup/public_api.d.ts +2 -2
  142. package/lib/portal/workbench-portal-outlet.directive.d.ts +9 -7
  143. package/lib/public_api.d.ts +6 -3
  144. package/lib/routing/public_api.d.ts +1 -1
  145. package/lib/routing/routing.model.d.ts +14 -13
  146. package/lib/routing/routing.util.d.ts +8 -8
  147. package/lib/routing/url-segment-matcher.d.ts +1 -1
  148. package/lib/routing/workbench-auxiliary-route-installer.service.d.ts +3 -12
  149. package/lib/routing/workbench-layout-differ.d.ts +2 -2
  150. package/lib/routing/workbench-navigational-states.d.ts +16 -8
  151. package/lib/routing/workbench-route-data.d.ts +4 -0
  152. package/lib/routing/workbench-router-link.directive.d.ts +16 -29
  153. package/lib/routing/workbench-router.service.d.ts +4 -3
  154. package/lib/routing//311/265workbench-router.service.d.ts +4 -4
  155. package/lib/startup/public_api.d.ts +4 -2
  156. package/lib/startup/workbench-initializer.d.ts +128 -87
  157. package/lib/startup/workbench-launcher.service.d.ts +41 -77
  158. package/lib/startup/workbench-startup.service.d.ts +37 -0
  159. package/lib/startup//311/265workbench-launcher.service.d.ts +19 -0
  160. package/lib/startup//311/265workbench-startup.service.d.ts +16 -0
  161. package/lib/text/public_api.d.ts +1 -0
  162. package/lib/text/text-providers.d.ts +6 -0
  163. package/lib/text/text.d.ts +30 -0
  164. package/lib/text/text.pipe.d.ts +24 -0
  165. package/lib/text/workbench-text-provider.d.ts +7 -0
  166. package/lib/text/workbench-text-provider.model.d.ts +40 -0
  167. package/lib/text/workbench-view-menu-config-text-provider.d.ts +8 -0
  168. package/lib/theme/workbench-theme-switcher.service.d.ts +14 -19
  169. package/lib/view/public_api.d.ts +1 -1
  170. package/lib/view/view.component.d.ts +1 -1
  171. package/lib/view/workbench-view.model.d.ts +11 -10
  172. package/lib/view//311/265workbench-view.model.d.ts +9 -7
  173. package/lib/view-dnd/grid-drop-targets.util.d.ts +1 -1
  174. package/lib/view-dnd/requires-drop-zone.pipe.d.ts +1 -1
  175. package/lib/view-dnd/view-drag.service.d.ts +24 -7
  176. package/lib/view-dnd/view-drop-zone.directive.d.ts +7 -10
  177. package/lib/workbench-config.d.ts +199 -28
  178. package/lib/workbench.component.d.ts +8 -1
  179. package/lib/workbench.constants.d.ts +4 -0
  180. package/lib/workbench.model.d.ts +2 -0
  181. package/lib/workbench.provider.d.ts +66 -15
  182. package/lib/workbench.service.d.ts +45 -10
  183. package/lib//311/265workbench.service.d.ts +9 -7
  184. package/package.json +3 -3
  185. package/lib/common/grid-element-if-visible.pipe.d.ts +0 -13
  186. package/lib/layout/migration/workbench-layout-migration-v7.service.d.ts +0 -10
  187. package/lib/microfrontend-platform/microfrontend-notification/microfrontend-notification-intent-handler.service.d.ts +0 -17
  188. package/lib/perspective/migration/model/workbench-perspective-migration-v2.model.d.ts +0 -10
  189. package/lib/perspective/migration/model/workbench-perspective-migration-v3.model.d.ts +0 -10
  190. package/lib/perspective/migration/workbench-perspective-migration-v2.service.d.ts +0 -13
  191. package/lib/perspective/migration/workbench-perspective-migration-v3.service.d.ts +0 -12
  192. package/lib/perspective/workbench-perspective-storage.service.d.ts +0 -32
  193. package/lib/perspective/workench-perspective-serializer.service.d.ts +0 -26
  194. /package/lib/{perspective/migration/model/workbench-perspective-migration-v1.model.d.ts → layout/migration/model/workbench-layout-migration-v1.model.d.ts} +0 -0
  195. /package/lib/microfrontend-platform/{routing → microfrontend-view}/microfrontend-view-capability-validator.interceptor.d.ts +0 -0
@@ -5,7 +5,6 @@ import * as i0 from "@angular/core";
5
5
  */
6
6
  export declare class ConsoleAppender implements LogAppender {
7
7
  onLogMessage(event: LogEvent): void;
8
- private hasConsole;
9
8
  static ɵfac: i0.ɵɵFactoryDeclaration<ConsoleAppender, never>;
10
9
  static ɵprov: i0.ɵɵInjectableDeclaration<ConsoleAppender>;
11
10
  }
@@ -1,2 +1,2 @@
1
- export { LogAppender, LogEvent, LogLevel, LoggerName } from './logging.model';
1
+ export { LogAppender, type LogEvent, LogLevel, LoggerName } from './logging.model';
2
2
  export { Logger } from './logger';
@@ -1,18 +1,17 @@
1
- import { EventEmitter } from '@angular/core';
2
1
  import * as i0 from "@angular/core";
3
2
  export declare class MessageBoxFooterComponent {
4
- private _actionButtons;
5
- actions: {
3
+ readonly actions: import("@angular/core").InputSignal<{
6
4
  [key: string]: string;
7
- };
8
- severity: 'info' | 'warn' | 'error';
9
- action: EventEmitter<string>;
10
- preferredSizeChange: EventEmitter<number>;
5
+ }>;
6
+ readonly severity: import("@angular/core").InputSignal<"error" | "info" | "warn">;
7
+ readonly action: import("@angular/core").OutputEmitterRef<string>;
8
+ readonly preferredSizeChange: import("@angular/core").OutputEmitterRef<number>;
9
+ private readonly _actionButtons;
11
10
  constructor();
12
11
  protected insertionSortOrderFn: () => number;
13
12
  protected onAction(key: string): void;
14
13
  protected onArrowKey(index: number, direction: 'left' | 'right'): void;
15
14
  private emitPreferredSize;
16
15
  static ɵfac: i0.ɵɵFactoryDeclaration<MessageBoxFooterComponent, never>;
17
- static ɵcmp: i0.ɵɵComponentDeclaration<MessageBoxFooterComponent, "wb-message-box-footer", never, { "actions": { "alias": "actions"; "required": true; }; "severity": { "alias": "severity"; "required": true; }; }, { "action": "action"; "preferredSizeChange": "preferredSizeChange"; }, never, never, true, never>;
16
+ static ɵcmp: i0.ɵɵComponentDeclaration<MessageBoxFooterComponent, "wb-message-box-footer", never, { "actions": { "alias": "actions"; "required": true; "isSignal": true; }; "severity": { "alias": "severity"; "required": true; "isSignal": true; }; }, { "action": "action"; "preferredSizeChange": "preferredSizeChange"; }, never, never, true, never>;
18
17
  }
@@ -1,7 +1,7 @@
1
1
  import * as i0 from "@angular/core";
2
2
  export declare class MessageBoxHeaderComponent {
3
- title?: string;
4
- severity: 'info' | 'warn' | 'error';
3
+ readonly title: import("@angular/core").InputSignal<string | undefined>;
4
+ readonly severity: import("@angular/core").InputSignal<"error" | "info" | "warn">;
5
5
  static ɵfac: i0.ɵɵFactoryDeclaration<MessageBoxHeaderComponent, never>;
6
- static ɵcmp: i0.ɵɵComponentDeclaration<MessageBoxHeaderComponent, "wb-message-box-header", never, { "title": { "alias": "title"; "required": false; }; "severity": { "alias": "severity"; "required": true; }; }, {}, never, never, true, never>;
6
+ static ɵcmp: i0.ɵɵComponentDeclaration<MessageBoxHeaderComponent, "wb-message-box-header", never, { "title": { "alias": "title"; "required": false; "isSignal": true; }; "severity": { "alias": "severity"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
7
7
  }
@@ -1,2 +1,2 @@
1
1
  export { WorkbenchMessageBoxService } from './workbench-message-box.service';
2
- export { WorkbenchMessageBoxOptions } from './workbench-message-box.options';
2
+ export { type WorkbenchMessageBoxOptions } from './workbench-message-box.options';
@@ -1,28 +1,25 @@
1
1
  import { WorkbenchMessageBoxOptions } from './workbench-message-box.options';
2
- import { ɵWorkbenchDialog } from '../dialog/ɵworkbench-dialog';
3
2
  import { ComponentType } from '@angular/cdk/portal';
4
3
  import { Dimension } from '@scion/toolkit/observable';
5
4
  import * as i0 from "@angular/core";
6
- import * as i1 from "@angular/cdk/portal";
7
5
  /**
8
6
  * Renders the workbench message box.
9
7
  *
10
8
  * This component is designed to be opened in a workbench dialog.
11
9
  */
12
10
  export declare class WorkbenchMessageBoxComponent {
13
- private _dialog;
11
+ readonly message: import("@angular/core").InputSignalWithTransform<string | ComponentType<unknown> | null, string | ComponentType<unknown>>;
12
+ readonly options: import("@angular/core").InputSignal<WorkbenchMessageBoxOptions | undefined>;
13
+ private readonly _dialog;
14
14
  protected tabindex: number;
15
15
  protected empty: boolean;
16
- message: string | ComponentType<unknown> | null;
17
- options?: WorkbenchMessageBoxOptions;
18
16
  protected get contentSelectable(): boolean | undefined;
19
17
  protected get hasTitle(): boolean;
20
- constructor(_dialog: ɵWorkbenchDialog);
18
+ constructor();
21
19
  protected onAction(action: string): void;
22
20
  protected onEscape(): void;
23
21
  protected onFooterPreferredSizeChange(preferredSize: number): void;
24
22
  protected onContentDimensionChange(dimension: Dimension): void;
25
23
  static ɵfac: i0.ɵɵFactoryDeclaration<WorkbenchMessageBoxComponent, never>;
26
- static ɵcmp: i0.ɵɵComponentDeclaration<WorkbenchMessageBoxComponent, "wb-message-box", never, { "message": { "alias": "message"; "required": true; }; "options": { "alias": "options"; "required": false; }; }, {}, never, never, true, never>;
27
- static ngAcceptInputType_message: string | i1.ComponentType<unknown>;
24
+ static ɵcmp: i0.ɵɵComponentDeclaration<WorkbenchMessageBoxComponent, "wb-message-box", never, { "message": { "alias": "message"; "required": true; "isSignal": true; }; "options": { "alias": "options"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
28
25
  }
@@ -1,5 +1,6 @@
1
1
  import { Injector } from '@angular/core';
2
2
  import { ViewId } from '../view/workbench-view.model';
3
+ import { Translatable } from '../text/workbench-text-provider.model';
3
4
  /**
4
5
  * Controls the appearance and behavior of a message box.
5
6
  */
@@ -7,9 +8,9 @@ export interface WorkbenchMessageBoxOptions {
7
8
  /**
8
9
  * Specifies the title of the message box.
9
10
  */
10
- title?: string;
11
+ title?: Translatable;
11
12
  /**
12
- * Defines buttons of the message box. If not set, an OK button is displayed by default.
13
+ * Defines buttons of the message box. Defaults to an 'OK' button (translation key: `workbench.ok.action`).
13
14
  *
14
15
  * Each property in the object literal represents a button, with the property value used as the button label.
15
16
  * Clicking a button closes the message box and returns the property key to the message box opener.
@@ -26,10 +27,10 @@ export interface WorkbenchMessageBoxOptions {
26
27
  * ```
27
28
  */
28
29
  actions?: {
29
- [key: string]: string;
30
+ [key: string]: Translatable;
30
31
  };
31
32
  /**
32
- * Specifies the severity of the message. Default is `info`.
33
+ * Specifies the severity of the message. Defaults to `info`.
33
34
  */
34
35
  severity?: 'info' | 'warn' | 'error';
35
36
  /**
@@ -44,7 +45,7 @@ export interface WorkbenchMessageBoxOptions {
44
45
  */
45
46
  modality?: 'application' | 'view';
46
47
  /**
47
- * Specifies if the user can select text displayed in the message box. Default is `false`.
48
+ * Specifies if the user can select text displayed in the message box. Defaults to `false`.
48
49
  */
49
50
  contentSelectable?: boolean;
50
51
  /**
@@ -1,5 +1,6 @@
1
1
  import { WorkbenchMessageBoxOptions } from './workbench-message-box.options';
2
2
  import { ComponentType } from '@angular/cdk/portal';
3
+ import { Translatable } from '../text/workbench-text-provider.model';
3
4
  import * as i0 from "@angular/core";
4
5
  /**
5
6
  * Provides a standardized dialog for presenting a message to the user, such as an info, warning or alert,
@@ -51,7 +52,7 @@ export declare abstract class WorkbenchMessageBoxService {
51
52
  * @param options - Controls the appearance and behavior of the message box.
52
53
  * @return Promise that resolves to the key of the action button that the user clicked to close the message box.
53
54
  */
54
- abstract open(message: string, options?: WorkbenchMessageBoxOptions): Promise<string>;
55
+ abstract open(message: Translatable, options?: WorkbenchMessageBoxOptions): Promise<string>;
55
56
  /**
56
57
  * Displays the specified component in a message box.
57
58
  *
@@ -1,18 +1,16 @@
1
- import { NgZone } from '@angular/core';
2
1
  import { WorkbenchMessageBoxOptions } from './workbench-message-box.options';
3
- import { WorkbenchDialogService } from '../dialog/workbench-dialog.service';
4
2
  import { ComponentType } from '@angular/cdk/portal';
5
3
  import { WorkbenchMessageBoxService } from './workbench-message-box.service';
4
+ import { Translatable } from '../text/workbench-text-provider.model';
6
5
  import * as i0 from "@angular/core";
7
6
  /** @inheritDoc */
8
7
  export declare class ɵWorkbenchMessageBoxService implements WorkbenchMessageBoxService {
9
- private _workbenchDialogService;
10
- private _zone;
11
- constructor(_workbenchDialogService: WorkbenchDialogService, _zone: NgZone);
8
+ private readonly _workbenchDialogService;
9
+ private readonly _zone;
12
10
  /**
13
11
  * @inheritDoc
14
12
  */
15
- open(message: string | ComponentType<unknown>, options?: WorkbenchMessageBoxOptions): Promise<string>;
13
+ open(message: Translatable | ComponentType<unknown>, options?: WorkbenchMessageBoxOptions): Promise<string>;
16
14
  static ɵfac: i0.ɵɵFactoryDeclaration<ɵWorkbenchMessageBoxService, never>;
17
15
  static ɵprov: i0.ɵɵInjectableDeclaration<ɵWorkbenchMessageBoxService>;
18
16
  }
@@ -1,4 +1,5 @@
1
1
  import { Capability, SciRouterOutletElement } from '@scion/microfrontend-platform';
2
+ import { ElementRef, Injector, Signal } from '@angular/core';
2
3
  /**
3
4
  * Provides functions related to workbench themes.
4
5
  */
@@ -7,9 +8,21 @@ export declare const Microfrontends: {
7
8
  * Propagates the workbench theme and color scheme via contextual data to the microfrontend displayed in the given router outlet,
8
9
  * ensuring consistent styling across microfrontends.
9
10
  *
10
- * This method should be invoked in the component's injection context to stop propagation when the component is destroyed.
11
+ * This method must be passed an injector or called in an injection context. If used in a component, use the component's injector.
12
+ * Stops theme propagation when the injection context is destroyed.
11
13
  */
12
- readonly propagateTheme: (sciRouterOutletElement: SciRouterOutletElement) => void;
14
+ readonly propagateTheme: (routerOutletElement: Signal<SciRouterOutletElement | ElementRef<SciRouterOutletElement>>, options?: {
15
+ injector?: Injector;
16
+ }) => void;
17
+ /**
18
+ * Waits for contextual data to be available to embedded content.
19
+ *
20
+ * This method must be passed an injector or called in an injection context. If used in a component, use the component's injector.
21
+ * Stops waiting when the injection context is destroyed.
22
+ */
23
+ readonly waitForContext: (routerOutletElement: Signal<SciRouterOutletElement | ElementRef<SciRouterOutletElement>>, name: string, options?: {
24
+ injector?: Injector;
25
+ }) => Promise<void>;
13
26
  /**
14
27
  * Creates a stable identifier for given capability.
15
28
  */
@@ -1,47 +1,29 @@
1
- import { Injector, NgZone, OnDestroy } from '@angular/core';
1
+ import { OnDestroy } from '@angular/core';
2
2
  import { MicrofrontendPlatformConfig } from '@scion/microfrontend-platform';
3
- import { Logger } from '../../logging';
4
- import { NgZoneObservableDecorator } from './ng-zone-observable-decorator';
5
- import { WorkbenchInitializer } from '../../startup/workbench-initializer';
6
- import { MicrofrontendPlatformConfigLoader } from '../microfrontend-platform-config-loader';
7
- import { MicrofrontendViewIntentHandler } from '../routing/microfrontend-view-intent-handler.interceptor';
8
- import { WorkbenchHostManifestInterceptor } from './workbench-host-manifest-interceptor.service';
9
- import { MicrofrontendPopupIntentHandler } from '../microfrontend-popup/microfrontend-popup-intent-handler.interceptor';
10
- import { MicrofrontendPopupCapabilityValidator } from '../microfrontend-popup/microfrontend-popup-capability-validator.interceptor';
11
- import { MicrofrontendMessageBoxIntentHandler } from '../microfrontend-message-box/microfrontend-message-box-intent-handler.interceptor';
12
- import { MicrofrontendDialogIntentHandler } from '../microfrontend-dialog/microfrontend-dialog-intent-handler.interceptor';
13
- import { MicrofrontendDialogCapabilityValidator } from '../microfrontend-dialog/microfrontend-dialog-capability-validator.interceptor';
14
- import { MicrofrontendViewCapabilityValidator } from '../routing/microfrontend-view-capability-validator.interceptor';
15
- import { StableCapabilityIdAssigner } from '../stable-capability-id-assigner.interceptor';
16
- import { MicrofrontendMessageBoxCapabilityValidator } from '../microfrontend-message-box/microfrontend-message-box-capability-validator.interceptor';
17
- import { MicrofrontendMessageBoxLegacyIntentTranslator } from '../microfrontend-message-box/microfrontend-message-box-legacy-intent-translator.interceptor';
18
- import { MicrofrontendPerspectiveCapabilityValidator } from '../microfrontend-perspective/microfrontend-perspective-capability-validator.interceptor';
19
- import { MicrofrontendPerspectiveIntentHandler } from '../microfrontend-perspective/microfrontend-perspective-intent-handler.interceptor';
20
3
  import * as i0 from "@angular/core";
21
4
  /**
22
5
  * Initializes and starts the SCION Microfrontend Platform in host mode.
23
6
  */
24
- export declare class MicrofrontendPlatformInitializer implements WorkbenchInitializer, OnDestroy {
25
- private _microfrontendPlatformConfigLoader;
26
- private _hostManifestInterceptor;
27
- private _ngZoneObservableDecorator;
28
- private _perspectiveIntentHandler;
29
- private _viewIntentHandler;
30
- private _popupIntentHandler;
31
- private _dialogIntentHandler;
32
- private _messageBoxIntentHandler;
33
- private _messageBoxLegacyIntentTranslator;
34
- private _viewCapabilityValidator;
35
- private _perspectiveCapabilityValidator;
36
- private _popupCapabilityValidator;
37
- private _dialogCapabilityValidator;
38
- private _messageBoxCapabilityValidator;
39
- private _stableCapabilityIdAssigner;
40
- private _injector;
41
- private _zone;
42
- private _logger;
7
+ export declare class MicrofrontendPlatformInitializer implements OnDestroy {
8
+ private readonly _microfrontendPlatformConfigLoader;
9
+ private readonly _hostManifestInterceptor;
10
+ private readonly _ngZoneObservableDecorator;
11
+ private readonly _perspectiveIntentHandler;
12
+ private readonly _viewIntentHandler;
13
+ private readonly _popupIntentHandler;
14
+ private readonly _dialogIntentHandler;
15
+ private readonly _messageBoxIntentHandler;
16
+ private readonly _messageBoxLegacyIntentTranslator;
17
+ private readonly _viewCapabilityValidator;
18
+ private readonly _perspectiveCapabilityValidator;
19
+ private readonly _popupCapabilityValidator;
20
+ private readonly _dialogCapabilityValidator;
21
+ private readonly _messageBoxCapabilityValidator;
22
+ private readonly _stableCapabilityIdAssigner;
23
+ private readonly _injector;
24
+ private readonly _zone;
25
+ private readonly _logger;
43
26
  config: MicrofrontendPlatformConfig | undefined;
44
- constructor(_microfrontendPlatformConfigLoader: MicrofrontendPlatformConfigLoader, _hostManifestInterceptor: WorkbenchHostManifestInterceptor, _ngZoneObservableDecorator: NgZoneObservableDecorator, _perspectiveIntentHandler: MicrofrontendPerspectiveIntentHandler, _viewIntentHandler: MicrofrontendViewIntentHandler, _popupIntentHandler: MicrofrontendPopupIntentHandler, _dialogIntentHandler: MicrofrontendDialogIntentHandler, _messageBoxIntentHandler: MicrofrontendMessageBoxIntentHandler, _messageBoxLegacyIntentTranslator: MicrofrontendMessageBoxLegacyIntentTranslator, _viewCapabilityValidator: MicrofrontendViewCapabilityValidator, _perspectiveCapabilityValidator: MicrofrontendPerspectiveCapabilityValidator, _popupCapabilityValidator: MicrofrontendPopupCapabilityValidator, _dialogCapabilityValidator: MicrofrontendDialogCapabilityValidator, _messageBoxCapabilityValidator: MicrofrontendMessageBoxCapabilityValidator, _stableCapabilityIdAssigner: StableCapabilityIdAssigner, _injector: Injector, _zone: NgZone, _logger: Logger);
45
27
  init(): Promise<void>;
46
28
  ngOnDestroy(): void;
47
29
  static ɵfac: i0.ɵɵFactoryDeclaration<MicrofrontendPlatformInitializer, never>;
@@ -1,13 +1,11 @@
1
1
  import { Observable } from 'rxjs';
2
- import { NgZone } from '@angular/core';
3
2
  import { ObservableDecorator } from '@scion/microfrontend-platform';
4
3
  import * as i0 from "@angular/core";
5
4
  /**
6
5
  * Mirrors the source, but ensures subscription and emission {@link NgZone} to be identical.
7
6
  */
8
7
  export declare class NgZoneObservableDecorator implements ObservableDecorator {
9
- private _zone;
10
- constructor(_zone: NgZone);
8
+ private readonly _zone;
11
9
  decorate$<T>(source$: Observable<T>): Observable<T>;
12
10
  static ɵfac: i0.ɵɵFactoryDeclaration<NgZoneObservableDecorator, never>;
13
11
  static ɵprov: i0.ɵɵInjectableDeclaration<NgZoneObservableDecorator>;
@@ -1,14 +1,10 @@
1
- import { Capability, ManifestService } from '@scion/microfrontend-platform';
1
+ import { EnvironmentProviders } from '@angular/core';
2
+ import { Capability } from '@scion/microfrontend-platform';
2
3
  import { Observable } from 'rxjs';
3
- import { WorkbenchInitializer } from '../startup/workbench-initializer';
4
4
  import * as i0 from "@angular/core";
5
- /**
6
- * Provides cached access to manifest objects.
7
- */
8
- export declare class ManifestObjectCache implements WorkbenchInitializer {
9
- private _manifestService;
10
- private _capabilities$;
11
- constructor(_manifestService: ManifestService);
5
+ export declare class ManifestObjectCache {
6
+ private readonly _manifestService;
7
+ private readonly _capabilities$;
12
8
  init(): Promise<void>;
13
9
  /**
14
10
  * Tests if given capability exists.
@@ -27,7 +23,10 @@ export declare class ManifestObjectCache implements WorkbenchInitializer {
27
23
  * Upon subscription, emits the requested capability, and then emits continuously when it changes. It never completes.
28
24
  */
29
25
  observeCapability$<T extends Capability = Capability>(capabilityId: string): Observable<T | null>;
30
- private installCapabilityLookup;
31
26
  static ɵfac: i0.ɵɵFactoryDeclaration<ManifestObjectCache, never>;
32
27
  static ɵprov: i0.ɵɵInjectableDeclaration<ManifestObjectCache>;
33
28
  }
29
+ /**
30
+ * Provides cached access to manifest objects.
31
+ */
32
+ export declare function provideManifestObjectCache(): EnvironmentProviders;
@@ -1,6 +1,4 @@
1
1
  import { Handler, IntentInterceptor, IntentMessage } from '@scion/microfrontend-platform';
2
- import { Logger } from '../../logging';
3
- import { WorkbenchDialogService } from '../../dialog/workbench-dialog.service';
4
2
  import * as i0 from "@angular/core";
5
3
  /**
6
4
  * Handles dialog intents, instructing the workbench to open a dialog with the microfrontend declared on the resolved capability.
@@ -11,9 +9,8 @@ import * as i0 from "@angular/core";
11
9
  * that are not connected to the SCION Workbench.
12
10
  */
13
11
  export declare class MicrofrontendDialogIntentHandler implements IntentInterceptor {
14
- private _dialogService;
15
- private _logger;
16
- constructor(_dialogService: WorkbenchDialogService, _logger: Logger);
12
+ private readonly _dialogService;
13
+ private readonly _logger;
17
14
  /**
18
15
  * Dialog intents are handled in this interceptor and then swallowed.
19
16
  */
@@ -1,9 +1,5 @@
1
- import { ElementRef, Injector, OnDestroy, OnInit } from '@angular/core';
2
- import { ManifestService, MessageClient, OutletRouter, SciRouterOutletElement } from '@scion/microfrontend-platform';
3
- import { Logger } from '../../logging';
4
1
  import { WorkbenchDialogCapability } from '@scion/workbench-client';
5
2
  import { WorkbenchLayoutService } from '../../layout/workbench-layout.service';
6
- import { ComponentType } from '@angular/cdk/portal';
7
3
  import { ɵWorkbenchDialog } from '../../dialog/ɵworkbench-dialog';
8
4
  import * as i0 from "@angular/core";
9
5
  /**
@@ -11,42 +7,26 @@ import * as i0 from "@angular/core";
11
7
  *
12
8
  * This component is designed to be displayed in a workbench dialog.
13
9
  */
14
- export declare class MicrofrontendDialogComponent implements OnInit, OnDestroy {
15
- protected dialog: ɵWorkbenchDialog;
16
- private _outletRouter;
17
- private _manifestService;
18
- private _messageClient;
19
- private _workbenchLayoutService;
20
- private _injector;
21
- private _logger;
22
- capability: WorkbenchDialogCapability;
23
- params: Map<string, unknown>;
10
+ export declare class MicrofrontendDialogComponent {
11
+ readonly capability: import("@angular/core").InputSignal<WorkbenchDialogCapability>;
12
+ readonly params: import("@angular/core").InputSignal<Map<string, unknown>>;
13
+ private readonly _outletRouter;
14
+ private readonly _logger;
15
+ private readonly _routerOutletElement;
16
+ protected readonly dialog: ɵWorkbenchDialog<any>;
17
+ /** Splash to display until the microfrontend signals readiness. */
18
+ protected readonly splash: import("@angular/cdk/portal").ComponentType<unknown>;
19
+ protected readonly workbenchLayoutService: WorkbenchLayoutService;
20
+ constructor();
21
+ private installNavigator;
24
22
  /**
25
- * Indicates if a workbench drag operation is in progress, such as when dragging a view or moving a sash.
26
- */
27
- isWorkbenchDrag: boolean;
28
- routerOutletElement: ElementRef<SciRouterOutletElement>;
29
- /**
30
- * Splash to display until the microfrontend signals readiness.
31
- */
32
- protected splash: ComponentType<unknown>;
33
- constructor(dialog: ɵWorkbenchDialog, _outletRouter: OutletRouter, _manifestService: ManifestService, _messageClient: MessageClient, _workbenchLayoutService: WorkbenchLayoutService, _injector: Injector, _logger: Logger);
34
- ngOnInit(): void;
35
- private navigate;
36
- /**
37
- * Make the dialog context available to embedded content.
23
+ * Provides the dialog context to embedded content.
38
24
  */
39
25
  private propagateDialogContext;
40
26
  private setDialogProperties;
41
27
  private propagateWorkbenchTheme;
42
28
  private installDialogCloseListener;
43
29
  private installDialogTitleListener;
44
- /**
45
- * Sets the {@link isWorkbenchDrag} property when a workbench drag operation is detected,
46
- * such as when dragging a view or moving a sash.
47
- */
48
- private installWorkbenchDragDetector;
49
- ngOnDestroy(): void;
50
30
  static ɵfac: i0.ɵɵFactoryDeclaration<MicrofrontendDialogComponent, never>;
51
- static ɵcmp: i0.ɵɵComponentDeclaration<MicrofrontendDialogComponent, "wb-microfrontend-dialog", never, { "capability": { "alias": "capability"; "required": true; }; "params": { "alias": "params"; "required": true; }; }, {}, never, never, true, never>;
31
+ static ɵcmp: i0.ɵɵComponentDeclaration<MicrofrontendDialogComponent, "wb-microfrontend-dialog", never, { "capability": { "alias": "capability"; "required": true; "isSignal": true; }; "params": { "alias": "params"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
52
32
  }
@@ -1,7 +1,5 @@
1
- import { Injector, OnDestroy, OnInit } from '@angular/core';
1
+ import { Injector } from '@angular/core';
2
2
  import { WorkbenchDialogCapability } from '@scion/workbench-client';
3
- import { Router } from '@angular/router';
4
- import { ɵWorkbenchDialog } from '../../dialog/ɵworkbench-dialog';
5
3
  import * as i0 from "@angular/core";
6
4
  /**
7
5
  * Navigates to the microfrontend of a given {@link WorkbenchDialogCapability} via {@link Router}.
@@ -11,25 +9,24 @@ import * as i0 from "@angular/core";
11
9
  *
12
10
  * This component is designed to be displayed in a workbench dialog.
13
11
  */
14
- export declare class MicrofrontendHostDialogComponent implements OnDestroy, OnInit {
15
- private _dialog;
16
- private _injector;
17
- private _router;
18
- capability: WorkbenchDialogCapability;
19
- params: Map<string, unknown>;
20
- protected outletName: string;
21
- protected outletInjector: Injector;
12
+ export declare class MicrofrontendHostDialogComponent {
13
+ readonly capability: import("@angular/core").InputSignal<WorkbenchDialogCapability>;
14
+ readonly params: import("@angular/core").InputSignal<Map<string, unknown>>;
15
+ private readonly _dialog;
16
+ private readonly _injector;
17
+ private readonly _router;
22
18
  /** Mutex to serialize Angular Router navigation requests, preventing the cancellation of previously initiated asynchronous navigations. */
23
- private _angularRouterMutex;
24
- constructor(_dialog: ɵWorkbenchDialog, _injector: Injector, _router: Router);
25
- ngOnInit(): void;
19
+ private readonly _angularRouterMutex;
20
+ protected readonly outletName: string;
21
+ protected outletInjector: Injector;
22
+ constructor();
23
+ private navigateCapability;
26
24
  /**
27
25
  * Performs navigation in the named outlet, substituting path params if any. To clear navigation, pass `null` as the path.
28
26
  */
29
27
  private navigate;
30
28
  private createOutletInjector;
31
29
  private setDialogProperties;
32
- ngOnDestroy(): void;
33
30
  static ɵfac: i0.ɵɵFactoryDeclaration<MicrofrontendHostDialogComponent, never>;
34
- static ɵcmp: i0.ɵɵComponentDeclaration<MicrofrontendHostDialogComponent, "wb-microfrontend-host-dialog", never, { "capability": { "alias": "capability"; "required": true; }; "params": { "alias": "params"; "required": true; }; }, {}, never, never, true, never>;
31
+ static ɵcmp: i0.ɵɵComponentDeclaration<MicrofrontendHostDialogComponent, "wb-microfrontend-host-dialog", never, { "capability": { "alias": "capability"; "required": true; "isSignal": true; }; "params": { "alias": "params"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
35
32
  }
@@ -1,7 +1,5 @@
1
- import { ElementRef, Injector, OnDestroy, OnInit, StaticProvider } from '@angular/core';
1
+ import { Injector, StaticProvider } from '@angular/core';
2
2
  import { WorkbenchMessageBoxCapability } from '@scion/workbench-client';
3
- import { Router } from '@angular/router';
4
- import { ɵWorkbenchDialog } from '../../dialog/ɵworkbench-dialog';
5
3
  import * as i0 from "@angular/core";
6
4
  /**
7
5
  * Navigates to the microfrontend of a given {@link WorkbenchMessageBoxCapability} via {@link Router}.
@@ -11,28 +9,27 @@ import * as i0 from "@angular/core";
11
9
  *
12
10
  * This component is designed to be displayed in a workbench message box.
13
11
  */
14
- export declare class MicrofrontendHostMessageBoxComponent implements OnDestroy, OnInit {
15
- private _host;
16
- private _dialog;
17
- private _injector;
18
- private _router;
19
- capability: WorkbenchMessageBoxCapability;
20
- params: Map<string, unknown>;
21
- protected outletName: string;
22
- protected outletInjector: Injector;
12
+ export declare class MicrofrontendHostMessageBoxComponent {
13
+ readonly capability: import("@angular/core").InputSignal<WorkbenchMessageBoxCapability>;
14
+ readonly params: import("@angular/core").InputSignal<Map<string, unknown>>;
15
+ private readonly _host;
16
+ private readonly _dialog;
17
+ private readonly _injector;
18
+ private readonly _router;
23
19
  /** Mutex to serialize Angular Router navigation requests, preventing the cancellation of previously initiated asynchronous navigations. */
24
- private _angularRouterMutex;
25
- constructor(_host: ElementRef<HTMLElement>, _dialog: ɵWorkbenchDialog, _injector: Injector, _router: Router);
26
- ngOnInit(): void;
20
+ private readonly _angularRouterMutex;
21
+ protected readonly outletName: string;
22
+ protected outletInjector: Injector;
23
+ constructor();
24
+ private navigateCapability;
27
25
  /**
28
26
  * Performs navigation in the named outlet, substituting path params if any. To clear navigation, pass `null` as the path.
29
27
  */
30
28
  private navigate;
31
29
  private createOutletInjector;
32
- private setSizeProperties;
33
- ngOnDestroy(): void;
30
+ private setMessageBoxProperties;
34
31
  static ɵfac: i0.ɵɵFactoryDeclaration<MicrofrontendHostMessageBoxComponent, never>;
35
- static ɵcmp: i0.ɵɵComponentDeclaration<MicrofrontendHostMessageBoxComponent, "wb-microfrontend-host-message-box", never, { "capability": { "alias": "capability"; "required": true; }; "params": { "alias": "params"; "required": true; }; }, {}, never, never, true, never>;
32
+ static ɵcmp: i0.ɵɵComponentDeclaration<MicrofrontendHostMessageBoxComponent, "wb-microfrontend-host-message-box", never, { "capability": { "alias": "capability"; "required": true; "isSignal": true; }; "params": { "alias": "params"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
36
33
  }
37
34
  /**
38
35
  * Provides the {WorkbenchMessageBox} handle to the routed component.
@@ -1,4 +1,3 @@
1
- import { WorkbenchMessageBox } from '@scion/workbench-client';
2
1
  import * as i0 from "@angular/core";
3
2
  /**
4
3
  * Displays the text message for the built-in message box capability.
@@ -7,7 +6,6 @@ import * as i0 from "@angular/core";
7
6
  */
8
7
  export default class TextMessageComponent {
9
8
  protected message: string;
10
- constructor(messageBox: WorkbenchMessageBox);
11
9
  static ɵfac: i0.ɵɵFactoryDeclaration<TextMessageComponent, never>;
12
10
  static ɵcmp: i0.ɵɵComponentDeclaration<TextMessageComponent, "wb-text-message", never, {}, {}, never, never, true, never>;
13
11
  }
@@ -1,7 +1,4 @@
1
- import { Injector, OnDestroy } from '@angular/core';
2
- import { ɵPopupContext } from '@scion/workbench-client';
3
- import { Router } from '@angular/router';
4
- import { ɵPopup } from '../../popup/popup.config';
1
+ import { Injector } from '@angular/core';
5
2
  import * as i0 from "@angular/core";
6
3
  /**
7
4
  * Displays the microfrontend of a popup capability provided by the host inside a workbench popup.
@@ -9,19 +6,18 @@ import * as i0 from "@angular/core";
9
6
  * Unlike {@link MicrofrontendPopupComponent}, this component uses a `<router-outlet>` instead of a `<sci-router-outlet>`
10
7
  * because integrating the microfrontend directly via Angular router and not via iframe.
11
8
  */
12
- export declare class MicrofrontendHostPopupComponent implements OnDestroy {
13
- private _injector;
14
- private _router;
15
- readonly outletName: string;
16
- readonly outletInjector: Injector;
9
+ export declare class MicrofrontendHostPopupComponent {
10
+ private readonly _injector;
11
+ private readonly _router;
17
12
  /** Mutex to serialize Angular Router navigation requests, preventing the cancellation of previously initiated asynchronous navigations. */
18
- private _angularRouterMutex;
19
- constructor(popup: ɵPopup<ɵPopupContext>, _injector: Injector, _router: Router);
13
+ private readonly _angularRouterMutex;
14
+ protected readonly outletName: string;
15
+ protected readonly outletInjector: Injector;
16
+ constructor();
20
17
  /**
21
18
  * Performs navigation in the specified outlet, substituting path params if any. To clear navigation, pass `null` as the path.
22
19
  */
23
20
  private navigate;
24
- ngOnDestroy(): void;
25
21
  static ɵfac: i0.ɵɵFactoryDeclaration<MicrofrontendHostPopupComponent, never>;
26
22
  static ɵcmp: i0.ɵɵComponentDeclaration<MicrofrontendHostPopupComponent, "wb-microfrontend-host-popup", never, {}, {}, never, never, true, never>;
27
23
  }
@@ -1,6 +1,4 @@
1
1
  import { Handler, IntentInterceptor, IntentMessage } from '@scion/microfrontend-platform';
2
- import { Logger } from '../../logging';
3
- import { WorkbenchMessageBoxService } from '../../message-box/workbench-message-box.service';
4
2
  import * as i0 from "@angular/core";
5
3
  /**
6
4
  * Handles messagebox intents, instructing the workbench to open a message box with the microfrontend declared on the resolved capability.
@@ -11,9 +9,8 @@ import * as i0 from "@angular/core";
11
9
  * that are not connected to the SCION Workbench.
12
10
  */
13
11
  export declare class MicrofrontendMessageBoxIntentHandler implements IntentInterceptor {
14
- private _messageBoxService;
15
- private _logger;
16
- constructor(_messageBoxService: WorkbenchMessageBoxService, _logger: Logger);
12
+ private readonly _messageBoxService;
13
+ private readonly _logger;
17
14
  /**
18
15
  * Message box intents are handled in this interceptor and then swallowed.
19
16
  */