@cmusei/console-forge 0.18.0 → 0.19.1

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.
@@ -36,6 +36,7 @@ export declare class ConsoleComponent implements OnDestroy {
36
36
  protected readonly componentContainer: import("@angular/core").Signal<ElementRef<HTMLElement>>;
37
37
  protected readonly consoleHostElement: import("@angular/core").Signal<ElementRef<HTMLElement>>;
38
38
  protected readonly consoleClient: import("@angular/core").WritableSignal<ConsoleClientService | undefined>;
39
+ protected readonly consoleClientConnectionStatus: import("@angular/core").Signal<ConsoleConnectionStatus | undefined>;
39
40
  protected readonly consoleHostBackgroundStyle: string | undefined;
40
41
  protected readonly consoleHostElementId: string;
41
42
  protected readonly isRecording: import("@angular/core").Signal<boolean>;
@@ -25,10 +25,12 @@ export declare class ConsoleToolbarComponent {
25
25
  private readonly canvasRecorder;
26
26
  private readonly clipboardService;
27
27
  private readonly config;
28
+ private readonly fullscreen;
28
29
  private readonly logger;
29
30
  private readonly userSettings;
30
31
  private readonly window;
31
32
  private readonly activeConsoleRecording;
33
+ private readonly isConnected;
32
34
  private readonly isManualConsoleReconnectAvailable;
33
35
  protected readonly toolbarComponentContext: ConsoleToolbarContext;
34
36
  protected readonly toolbarComponent: import("@angular/core").Signal<Type<ConsoleToolbarComponentBase>>;
@@ -13,12 +13,15 @@ export declare class ConsoleToolbarDefaultComponent implements AfterViewInit, Co
13
13
  protected isNetworkDialogOpen: boolean;
14
14
  protected isPowerDialogOpen: boolean;
15
15
  protected isSettingsDialogOpen: boolean;
16
- protected keyboardInputText: import("@angular/core").ModelSignal<string>;
16
+ protected readonly keyboardInputText: import("@angular/core").ModelSignal<string>;
17
+ protected readonly selectedNetworkForChange: import("@angular/core").ModelSignal<string | undefined>;
17
18
  protected readonly cfConfig: ConsoleForgeConfig;
18
19
  private readonly clipboardService;
19
20
  protected readonly clipboardTextInput: import("@angular/core").Signal<ElementRef<any> | undefined>;
20
21
  private readonly picoCssService;
21
22
  private readonly hostElement;
23
+ private readonly currentNetwork;
24
+ constructor();
22
25
  ngAfterViewInit(): Promise<void>;
23
26
  protected handleChangeToolbarPosition(position: ConsoleToolbarPosition): void;
24
27
  protected handleClipboardDialogOpenClose(isOpen: boolean): void;
@@ -35,5 +38,5 @@ export declare class ConsoleToolbarDefaultComponent implements AfterViewInit, Co
35
38
  protected handleSettingsPreserveAspectRatioChange(preserveAspectRatioOnScale: boolean): void;
36
39
  protected handleToolbarThemeChange(theme?: ConsoleToolbarTheme): void;
37
40
  static ɵfac: i0.ɵɵFactoryDeclaration<ConsoleToolbarDefaultComponent, never>;
38
- static ɵcmp: i0.ɵɵComponentDeclaration<ConsoleToolbarDefaultComponent, "cf-console-toolbar-default", never, { "consoleContext": { "alias": "consoleContext"; "required": true; "isSignal": true; }; "keyboardInputText": { "alias": "keyboardInputText"; "required": false; "isSignal": true; }; }, { "keyboardInputText": "keyboardInputTextChange"; }, never, never, true, never>;
41
+ static ɵcmp: i0.ɵɵComponentDeclaration<ConsoleToolbarDefaultComponent, "cf-console-toolbar-default", never, { "consoleContext": { "alias": "consoleContext"; "required": true; "isSignal": true; }; "keyboardInputText": { "alias": "keyboardInputText"; "required": false; "isSignal": true; }; "selectedNetworkForChange": { "alias": "selectedNetworkForChange"; "required": false; "isSignal": true; }; }, { "keyboardInputText": "keyboardInputTextChange"; "selectedNetworkForChange": "selectedNetworkForChangeChange"; }, never, never, true, never>;
39
42
  }
@@ -27,6 +27,11 @@ export interface ConsoleSupportedFeatures {
27
27
  * of the machine, so we usually have to rely on the protocol-specific service to tell us whether the feature is enabled (see our VNC client, wrapping noVnc, for an example)
28
28
  */
29
29
  powerManagement: boolean;
30
+ /**
31
+ * NoVNC seems to have a quirk that causes it to lose proper mouse tracking after leaving fullscreen. We're working around this by requesting a reconnection of the console
32
+ * upon exiting. VMWare doesn't seem to need this.
33
+ */
34
+ requireReconnectOnExitingFullscreen?: boolean;
30
35
  /**
31
36
  * Whether the remote console protocol/library supports a "view/read"-only canvas. If it doesn't, we have to do some CSS/JS hacking in the console component, so
32
37
  * we prefer the client lib/protocol's implementation if we can get it.
@@ -3,6 +3,8 @@ export declare class FullScreenService {
3
3
  private doc;
4
4
  private readonly _isAvailable;
5
5
  readonly isAvailable: import("@angular/core").Signal<boolean>;
6
+ private readonly _isActive;
7
+ readonly isActive: import("@angular/core").Signal<boolean>;
6
8
  constructor();
7
9
  exitFullscreen(): Promise<void>;
8
10
  tryFullscreen(element: Element): Promise<void>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cmusei/console-forge",
3
- "version": "0.18.0",
3
+ "version": "0.19.1",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/cmu-sei/console-forge.git"