@open-amt-cloud-toolkit/ui-toolkit-angular 9.1.2 → 11.0.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.
Files changed (35) hide show
  1. package/README.md +8 -8
  2. package/fesm2022/{open-amt-cloud-toolkit-ui-toolkit-angular-ider.mjs → device-management-toolkit-ui-toolkit-angular-ider.mjs} +22 -19
  3. package/fesm2022/device-management-toolkit-ui-toolkit-angular-ider.mjs.map +1 -0
  4. package/fesm2022/device-management-toolkit-ui-toolkit-angular-kvm.mjs +346 -0
  5. package/fesm2022/device-management-toolkit-ui-toolkit-angular-kvm.mjs.map +1 -0
  6. package/fesm2022/{open-amt-cloud-toolkit-ui-toolkit-angular-sol.mjs → device-management-toolkit-ui-toolkit-angular-sol.mjs} +28 -33
  7. package/fesm2022/device-management-toolkit-ui-toolkit-angular-sol.mjs.map +1 -0
  8. package/fesm2022/{open-amt-cloud-toolkit-ui-toolkit-angular.mjs → device-management-toolkit-ui-toolkit-angular.mjs} +268 -110
  9. package/fesm2022/device-management-toolkit-ui-toolkit-angular.mjs.map +1 -0
  10. package/package.json +20 -12
  11. package/types/device-management-toolkit-ui-toolkit-angular-ider.d.ts +39 -0
  12. package/types/device-management-toolkit-ui-toolkit-angular-kvm.d.ts +55 -0
  13. package/types/device-management-toolkit-ui-toolkit-angular-sol.d.ts +33 -0
  14. package/types/device-management-toolkit-ui-toolkit-angular.d.ts +117 -0
  15. package/fesm2022/open-amt-cloud-toolkit-ui-toolkit-angular-ider.mjs.map +0 -1
  16. package/fesm2022/open-amt-cloud-toolkit-ui-toolkit-angular-kvm.mjs +0 -186
  17. package/fesm2022/open-amt-cloud-toolkit-ui-toolkit-angular-kvm.mjs.map +0 -1
  18. package/fesm2022/open-amt-cloud-toolkit-ui-toolkit-angular-sol.mjs.map +0 -1
  19. package/fesm2022/open-amt-cloud-toolkit-ui-toolkit-angular.mjs.map +0 -1
  20. package/ider/ider.component.d.ts +0 -34
  21. package/ider/index.d.ts +0 -5
  22. package/ider/public_api.d.ts +0 -1
  23. package/ider/src/ider.component.d.ts +0 -34
  24. package/index.d.ts +0 -5
  25. package/kvm/index.d.ts +0 -5
  26. package/kvm/kvm.component.d.ts +0 -54
  27. package/kvm/public_api.d.ts +0 -5
  28. package/kvm/src/kvm.component.d.ts +0 -54
  29. package/public-api.d.ts +0 -7
  30. package/sol/index.d.ts +0 -5
  31. package/sol/public_api.d.ts +0 -5
  32. package/sol/sol.component.d.ts +0 -35
  33. package/sol/src/sol.component.d.ts +0 -35
  34. package/sol/src/terminal/terminal.component.d.ts +0 -15
  35. package/sol/terminal/terminal.component.d.ts +0 -15
@@ -1,7 +1,7 @@
1
1
  import * as i0 from '@angular/core';
2
- import { input, output, Component, EventEmitter, ViewEncapsulation } from '@angular/core';
2
+ import { input, output, Component, inject, DestroyRef, effect, ViewEncapsulation } from '@angular/core';
3
3
  import { Terminal } from '@xterm/xterm';
4
- import { AmtTerminal, TerminalDataProcessor, Protocol, AMTRedirector } from '@open-amt-cloud-toolkit/ui-toolkit/core';
4
+ import { AmtTerminal, TerminalDataProcessor, Protocol, AMTRedirector } from '@device-management-toolkit/ui-toolkit/core';
5
5
 
6
6
  /*********************************************************************
7
7
  * Copyright (c) Intel Corporation 2023
@@ -12,7 +12,7 @@ class TerminalComponent {
12
12
  // TODO: Notes from signal input migration:
13
13
  // Input is initialized to `undefined` but type does not allow this value.
14
14
  // This worked with `@Input` because your project uses `--strictPropertyInitialization=false`.
15
- this.term = input(undefined);
15
+ this.term = input(undefined, ...(ngDevMode ? [{ debugName: "term" }] : []));
16
16
  this.handleKeyPress = output();
17
17
  }
18
18
  ngOnInit() {
@@ -56,13 +56,13 @@ class TerminalComponent {
56
56
  this.handleKeyPress.emit(key);
57
57
  });
58
58
  }
59
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.1", ngImport: i0, type: TerminalComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
60
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "19.2.1", type: TerminalComponent, isStandalone: true, selector: "amt-terminal", inputs: { term: { classPropertyName: "term", publicName: "term", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { handleKeyPress: "handleKeyPress" }, ngImport: i0, template: "<div id=\"terminal\" class=\"xtermDisplay\" style=\"width: fit-content\"></div>\n" }); }
59
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: TerminalComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
60
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.0.6", type: TerminalComponent, isStandalone: true, selector: "amt-terminal", inputs: { term: { classPropertyName: "term", publicName: "term", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { handleKeyPress: "handleKeyPress" }, ngImport: i0, template: "<div id=\"terminal\" class=\"xtermDisplay\" style=\"width: fit-content\"></div>\n" }); }
61
61
  }
62
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.1", ngImport: i0, type: TerminalComponent, decorators: [{
62
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: TerminalComponent, decorators: [{
63
63
  type: Component,
64
64
  args: [{ selector: 'amt-terminal', template: "<div id=\"terminal\" class=\"xtermDisplay\" style=\"width: fit-content\"></div>\n" }]
65
- }] });
65
+ }], propDecorators: { term: [{ type: i0.Input, args: [{ isSignal: true, alias: "term", required: false }] }], handleKeyPress: [{ type: i0.Output, args: ["handleKeyPress"] }] } });
66
66
 
67
67
  /*********************************************************************
68
68
  * Copyright (c) Intel Corporation 2023
@@ -70,32 +70,27 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.1", ngImpor
70
70
  **********************************************************************/
71
71
  class SOLComponent {
72
72
  constructor() {
73
+ this.destroyRef = inject(DestroyRef);
73
74
  this.deviceState = 0;
74
75
  this.deviceStatus = output();
75
- this.deviceConnection = input(new EventEmitter());
76
- this.mpsServer = input('');
77
- this.authToken = input('');
78
- this.deviceId = input('');
79
- }
80
- ngOnInit() {
81
- this.deviceConnection().subscribe((data) => {
82
- if (data) {
83
- this.init();
76
+ this.deviceConnection = input(false, ...(ngDevMode ? [{ debugName: "deviceConnection" }] : []));
77
+ this.mpsServer = input('', ...(ngDevMode ? [{ debugName: "mpsServer" }] : []));
78
+ this.authToken = input('', ...(ngDevMode ? [{ debugName: "authToken" }] : []));
79
+ this.deviceId = input('', ...(ngDevMode ? [{ debugName: "deviceId" }] : []));
80
+ // React to deviceConnection changes
81
+ effect(() => {
82
+ const connected = this.deviceConnection();
83
+ if (connected) {
84
+ if (this.redirector == null) {
85
+ this.instantiate();
86
+ }
87
+ this.startSol();
84
88
  }
85
- else {
89
+ else if (this.redirector != null) {
86
90
  this.stopSol();
87
91
  }
88
92
  });
89
93
  }
90
- ngAfterViewInit() {
91
- this.init();
92
- }
93
- init() {
94
- this.instantiate();
95
- setTimeout(() => {
96
- this.startSol();
97
- }, 4000);
98
- }
99
94
  instantiate() {
100
95
  this.terminal = new AmtTerminal();
101
96
  this.dataProcessor = new TerminalDataProcessor(this.terminal);
@@ -140,12 +135,12 @@ class SOLComponent {
140
135
  this.deviceState = state;
141
136
  }
142
137
  startSol() {
143
- if (this.redirector !== null) {
138
+ if (this.redirector != null) {
144
139
  this.redirector.start(WebSocket);
145
140
  }
146
141
  }
147
142
  stopSol() {
148
- if (this.redirector !== null) {
143
+ if (this.redirector != null) {
149
144
  this.redirector.stop();
150
145
  this.handleClearTerminal();
151
146
  this.term?.dispose();
@@ -162,13 +157,13 @@ class SOLComponent {
162
157
  ngOnDestroy() {
163
158
  this.stopSol();
164
159
  }
165
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.1", ngImport: i0, type: SOLComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
166
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.1", type: SOLComponent, isStandalone: true, selector: "amt-sol", inputs: { deviceConnection: { classPropertyName: "deviceConnection", publicName: "deviceConnection", isSignal: true, isRequired: false, transformFunction: null }, mpsServer: { classPropertyName: "mpsServer", publicName: "mpsServer", isSignal: true, isRequired: false, transformFunction: null }, authToken: { classPropertyName: "authToken", publicName: "authToken", isSignal: true, isRequired: false, transformFunction: null }, deviceId: { classPropertyName: "deviceId", publicName: "deviceId", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { deviceStatus: "deviceStatus" }, ngImport: i0, template: "<div class=\"container\">\n @if (deviceState === 3) {\n <amt-terminal [term]=\"term\" (handleKeyPress)=\"handleKeyPress($event)\"></amt-terminal>\n }\n</div>\n", styles: [".container{display:block;text-align:center}.xtermDisplay{display:inline-block}\n"], dependencies: [{ kind: "component", type: TerminalComponent, selector: "amt-terminal", inputs: ["term"], outputs: ["handleKeyPress"] }], encapsulation: i0.ViewEncapsulation.None }); }
160
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: SOLComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
161
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.0.6", type: SOLComponent, isStandalone: true, selector: "amt-sol", inputs: { deviceConnection: { classPropertyName: "deviceConnection", publicName: "deviceConnection", isSignal: true, isRequired: false, transformFunction: null }, mpsServer: { classPropertyName: "mpsServer", publicName: "mpsServer", isSignal: true, isRequired: false, transformFunction: null }, authToken: { classPropertyName: "authToken", publicName: "authToken", isSignal: true, isRequired: false, transformFunction: null }, deviceId: { classPropertyName: "deviceId", publicName: "deviceId", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { deviceStatus: "deviceStatus" }, ngImport: i0, template: "<div class=\"container\">\n @if (deviceState === 3) {\n <amt-terminal [term]=\"term\" (handleKeyPress)=\"handleKeyPress($event)\"></amt-terminal>\n }\n</div>\n", styles: [".container{display:block;text-align:center}.xtermDisplay{display:inline-block}\n"], dependencies: [{ kind: "component", type: TerminalComponent, selector: "amt-terminal", inputs: ["term"], outputs: ["handleKeyPress"] }], encapsulation: i0.ViewEncapsulation.None }); }
167
162
  }
168
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.1", ngImport: i0, type: SOLComponent, decorators: [{
163
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: SOLComponent, decorators: [{
169
164
  type: Component,
170
165
  args: [{ selector: 'amt-sol', encapsulation: ViewEncapsulation.None, imports: [TerminalComponent], template: "<div class=\"container\">\n @if (deviceState === 3) {\n <amt-terminal [term]=\"term\" (handleKeyPress)=\"handleKeyPress($event)\"></amt-terminal>\n }\n</div>\n", styles: [".container{display:block;text-align:center}.xtermDisplay{display:inline-block}\n"] }]
171
- }] });
166
+ }], ctorParameters: () => [], propDecorators: { deviceStatus: [{ type: i0.Output, args: ["deviceStatus"] }], deviceConnection: [{ type: i0.Input, args: [{ isSignal: true, alias: "deviceConnection", required: false }] }], mpsServer: [{ type: i0.Input, args: [{ isSignal: true, alias: "mpsServer", required: false }] }], authToken: [{ type: i0.Input, args: [{ isSignal: true, alias: "authToken", required: false }] }], deviceId: [{ type: i0.Input, args: [{ isSignal: true, alias: "deviceId", required: false }] }] } });
172
167
 
173
168
  /*********************************************************************
174
169
  * Copyright (c) Intel Corporation 2023
@@ -183,4 +178,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.1", ngImpor
183
178
  */
184
179
 
185
180
  export { SOLComponent };
186
- //# sourceMappingURL=open-amt-cloud-toolkit-ui-toolkit-angular-sol.mjs.map
181
+ //# sourceMappingURL=device-management-toolkit-ui-toolkit-angular-sol.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"device-management-toolkit-ui-toolkit-angular-sol.mjs","sources":["../../sol/src/terminal/terminal.component.ts","../../sol/src/terminal/terminal.component.html","../../sol/src/sol.component.ts","../../sol/src/sol.component.html","../../sol/src/public_api.ts","../../sol/src/device-management-toolkit-ui-toolkit-angular-sol.ts"],"sourcesContent":["/*********************************************************************\n * Copyright (c) Intel Corporation 2023\n * SPDX-License-Identifier: Apache-2.0\n **********************************************************************/\nimport { Component, OnInit, input, output } from '@angular/core'\nimport { Terminal } from '@xterm/xterm'\n@Component({\n selector: 'amt-terminal',\n templateUrl: './terminal.component.html'\n})\nexport class TerminalComponent implements OnInit {\n // TODO: Notes from signal input migration:\n // Input is initialized to `undefined` but type does not allow this value.\n // This worked with `@Input` because your project uses `--strictPropertyInitialization=false`.\n readonly term = input<Terminal>(undefined!)\n readonly handleKeyPress = output<any>()\n container!: HTMLElement | null\n ngOnInit(): void {\n const term = this.term()\n if (term == null) throw new Error('Terminal not found')\n this.container = document.getElementById('terminal')\n if (this.container == null) throw new Error('Container not found')\n term.open(this.container)\n term.onKey(({ key, domEvent }) => {\n domEvent.preventDefault()\n if (domEvent.ctrlKey && domEvent.key === 'c') {\n const termValue = this.term()\n if (termValue.hasSelection()) {\n navigator.clipboard\n .writeText(termValue.getSelection())\n .then(() => {})\n .catch((err) => {\n console.error('Failed to copy to clipboard', err)\n })\n } else {\n // Send interrupt signal (SIGINT) to terminal\n termValue.write('\\x03') // Sends Ctrl + C (ASCII code 03)\n }\n // Prevent the default browser behavior (like opening menus)\n return false\n }\n if (domEvent.ctrlKey && domEvent.key === 'v') {\n navigator.clipboard\n .readText()\n .then((text) => {\n this.handleKeyPress.emit(text)\n })\n .catch((err) => {\n console.error('Failed to read clipboard', err)\n })\n return false\n }\n this.handleKeyPress.emit(key)\n })\n }\n}\n","<div id=\"terminal\" class=\"xtermDisplay\" style=\"width: fit-content\"></div>\n","/*********************************************************************\n * Copyright (c) Intel Corporation 2023\n * SPDX-License-Identifier: Apache-2.0\n **********************************************************************/\nimport {\n Component,\n ViewEncapsulation,\n OnDestroy,\n AfterViewInit,\n input,\n output,\n inject,\n DestroyRef,\n effect\n} from '@angular/core'\nimport { takeUntilDestroyed } from '@angular/core/rxjs-interop'\nimport { Terminal } from '@xterm/xterm'\nimport {\n AmtTerminal,\n AMTRedirector,\n TerminalDataProcessor,\n RedirectorConfig,\n Protocol\n} from '@device-management-toolkit/ui-toolkit/core'\nimport { TerminalComponent } from './terminal/terminal.component'\n\n@Component({\n selector: 'amt-sol',\n templateUrl: './sol.component.html',\n styleUrls: ['./sol.component.css'],\n encapsulation: ViewEncapsulation.None,\n imports: [TerminalComponent]\n})\nexport class SOLComponent implements OnDestroy {\n private readonly destroyRef = inject(DestroyRef)\n\n terminal: AmtTerminal\n container!: any\n term: Terminal\n redirector: AMTRedirector\n dataProcessor: TerminalDataProcessor\n deviceState = 0\n\n readonly deviceStatus = output<number>()\n readonly deviceConnection = input<boolean>(false)\n public mpsServer = input('')\n public authToken = input('')\n public deviceId = input('')\n\n constructor() {\n // React to deviceConnection changes\n effect(() => {\n const connected = this.deviceConnection()\n if (connected) {\n if (this.redirector == null) {\n this.instantiate()\n }\n this.startSol()\n } else if (this.redirector != null) {\n this.stopSol()\n }\n })\n }\n\n instantiate(): void {\n this.terminal = new AmtTerminal()\n this.dataProcessor = new TerminalDataProcessor(this.terminal)\n const config: RedirectorConfig = {\n mode: 'sol',\n protocol: Protocol.SOL,\n fr: new FileReader(),\n host: this.deviceId(),\n port: 16994,\n user: '',\n pass: '',\n tls: 0,\n tls1only: 0,\n authToken: this.authToken(),\n server: this.mpsServer()\n }\n this.redirector = new AMTRedirector(config)\n this.terminal.onSend = this.redirector.send.bind(this.redirector)\n this.redirector.onNewState = this.terminal.StateChange.bind(this.terminal)\n this.redirector.onStateChanged = this.onTerminalStateChange.bind(this)\n this.redirector.onProcessData = this.dataProcessor.processData.bind(this)\n this.dataProcessor.processDataToXterm = this.handleWriteToXterm.bind(this)\n this.dataProcessor.clearTerminal = this.handleClearTerminal.bind(this)\n this.term = new Terminal({\n rows: 30,\n cols: 100,\n cursorStyle: 'block',\n fontWeight: 'bold'\n })\n }\n\n handleKeyPress(domEvent: any): void {\n this.terminal?.TermSendKeys(domEvent)\n }\n\n handleClearTerminal(): void {\n this.term?.reset()\n }\n\n handleWriteToXterm(str: string): void {\n this.term?.write(str)\n }\n\n onTerminalStateChange(redirector: AMTRedirector, state: number): void {\n this.deviceStatus.emit(state)\n this.deviceState = state\n }\n\n startSol(): void {\n if (this.redirector != null) {\n this.redirector.start(WebSocket)\n }\n }\n\n stopSol(): void {\n if (this.redirector != null) {\n this.redirector.stop()\n this.handleClearTerminal()\n this.term?.dispose()\n this.cleanup()\n }\n }\n\n cleanup(): void {\n ;(this.terminal as any) = null\n ;(this.redirector as any) = null\n ;(this.dataProcessor as any) = null\n ;(this.term as any) = null\n }\n\n ngOnDestroy(): void {\n this.stopSol()\n }\n}\n","<div class=\"container\">\n @if (deviceState === 3) {\n <amt-terminal [term]=\"term\" (handleKeyPress)=\"handleKeyPress($event)\"></amt-terminal>\n }\n</div>\n","/*********************************************************************\n * Copyright (c) Intel Corporation 2023\n * SPDX-License-Identifier: Apache-2.0\n **********************************************************************/\n/*\n * Public API Surface of sol\n */\n\nexport * from './sol.component'\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;AAAA;;;AAGwE;MAO3D,iBAAiB,CAAA;AAJ9B,IAAA,WAAA,GAAA;;;;AAQW,QAAA,IAAA,CAAA,IAAI,GAAG,KAAK,CAAW,SAAU,gDAAC;QAClC,IAAA,CAAA,cAAc,GAAG,MAAM,EAAO;AAwCxC,IAAA;IAtCC,QAAQ,GAAA;AACN,QAAA,MAAM,IAAI,GAAG,IAAI,CAAC,IAAI,EAAE;QACxB,IAAI,IAAI,IAAI,IAAI;AAAE,YAAA,MAAM,IAAI,KAAK,CAAC,oBAAoB,CAAC;QACvD,IAAI,CAAC,SAAS,GAAG,QAAQ,CAAC,cAAc,CAAC,UAAU,CAAC;AACpD,QAAA,IAAI,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