@open-amt-cloud-toolkit/ui-toolkit-react 4.0.6 → 5.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.
- package/README.md +40 -33
- package/components/ider/AttachDiskImage.d.ts +31 -0
- package/components/ider/AttachDiskImage.d.ts.map +1 -0
- package/components/ider/AttachDiskImage.test.d.ts +6 -0
- package/components/ider/AttachDiskImage.test.d.ts.map +1 -0
- package/components/ider/ider.d.ts +23 -0
- package/components/ider/ider.d.ts.map +1 -0
- package/components/ider/ider.test.d.ts +6 -0
- package/components/ider/ider.test.d.ts.map +1 -0
- package/components/ider/index.d.ts +7 -0
- package/components/ider/index.d.ts.map +1 -0
- package/components/kvm/ConnectButton.d.ts +22 -0
- package/components/kvm/ConnectButton.d.ts.map +1 -0
- package/{reactjs/shared/Utilities.d.ts → components/kvm/ConnectButton.test.d.ts} +2 -4
- package/components/kvm/ConnectButton.test.d.ts.map +1 -0
- package/components/kvm/DesktopSettings.d.ts +24 -0
- package/components/kvm/DesktopSettings.d.ts.map +1 -0
- package/components/kvm/DesktopSettings.test.d.ts +6 -0
- package/components/kvm/DesktopSettings.test.d.ts.map +1 -0
- package/components/kvm/EncodingOptions.d.ts +25 -0
- package/components/kvm/EncodingOptions.d.ts.map +1 -0
- package/components/kvm/EncodingOptions.test.d.ts +6 -0
- package/components/kvm/EncodingOptions.test.d.ts.map +1 -0
- package/components/kvm/Header.d.ts +31 -0
- package/components/kvm/Header.d.ts.map +1 -0
- package/components/kvm/Header.test.d.ts +6 -0
- package/components/kvm/Header.test.d.ts.map +1 -0
- package/{reactjs/KVM → components/kvm}/PureCanvas.d.ts +14 -5
- package/components/kvm/PureCanvas.d.ts.map +1 -0
- package/components/kvm/PureCanvas.test.d.ts +6 -0
- package/components/kvm/PureCanvas.test.d.ts.map +1 -0
- package/components/kvm/UI.d.ts +29 -0
- package/components/kvm/UI.d.ts.map +1 -0
- package/components/kvm/UI.test.d.ts +6 -0
- package/components/kvm/UI.test.d.ts.map +1 -0
- package/components/kvm/index.d.ts +11 -0
- package/components/kvm/index.d.ts.map +1 -0
- package/components/sol/Sol.d.ts +30 -0
- package/components/sol/Sol.d.ts.map +1 -0
- package/components/sol/Sol.test.d.ts +6 -0
- package/components/sol/Sol.test.d.ts.map +1 -0
- package/components/sol/Terminal.d.ts +28 -0
- package/components/sol/Terminal.d.ts.map +1 -0
- package/components/sol/Terminal.test.d.ts +6 -0
- package/components/sol/Terminal.test.d.ts.map +1 -0
- package/components/sol/index.d.ts +7 -0
- package/components/sol/index.d.ts.map +1 -0
- package/i18n/config.d.ts +7 -0
- package/i18n/config.d.ts.map +1 -0
- package/i18n/index.d.ts +6 -0
- package/i18n/index.d.ts.map +1 -0
- package/index.cjs.js +2 -0
- package/index.cjs.js.map +1 -0
- package/index.d.ts +10 -0
- package/index.d.ts.map +1 -0
- package/index.esm.js +2 -0
- package/index.esm.js.map +1 -0
- package/package.json +69 -60
- package/utils/logger.d.ts +11 -0
- package/utils/logger.d.ts.map +1 -0
- package/dist/package.json +0 -91
- package/i18n.d.ts +0 -6
- package/reactjs/IDER/AttachDiskImage.d.ts +0 -18
- package/reactjs/IDER/ider.d.ts +0 -40
- package/reactjs/IDER/index.d.ts +0 -5
- package/reactjs/KVM/ConnectButton.d.ts +0 -13
- package/reactjs/KVM/DesktopSettings.d.ts +0 -17
- package/reactjs/KVM/EncodingOptions.d.ts +0 -17
- package/reactjs/KVM/Header.d.ts +0 -17
- package/reactjs/KVM/UI.d.ts +0 -45
- package/reactjs/KVM/index.d.ts +0 -1
- package/reactjs/SerialOverLAN/Sol.d.ts +0 -53
- package/reactjs/SerialOverLAN/Terminal.d.ts +0 -16
- package/reactjs/SerialOverLAN/index.d.ts +0 -5
- package/reactjs/services/HttpClient.d.ts +0 -10
- package/reactjs/shared/Methods.d.ts +0 -13
- package/reactjs/src/ider.bundle.js +0 -1
- package/reactjs/src/kvm.bundle.js +0 -1
- package/reactjs/src/sol.bundle.js +0 -14
package/README.md
CHANGED
|
@@ -6,76 +6,83 @@
|
|
|
6
6
|
[](https://api.securityscorecards.dev/projects/github.com/open-amt-cloud-toolkit/ui-toolkir-react)
|
|
7
7
|
[](https://discord.gg/DKHeUNEWVH)
|
|
8
8
|
|
|
9
|
-
|
|
10
|
-
> Disclaimer: Production viable releases are tagged and listed under 'Releases'. All other check-ins should be considered 'in-development' and should not be used in production
|
|
9
|
+
> Disclaimer: Production viable releases are tagged and listed under 'Releases'. All other check-ins should be considered 'in-development' and should not be used in production
|
|
11
10
|
|
|
12
11
|
> IMPORTANT: For now, we are continuing to publish both @device-management-toolkit/ui-toolkit-react and @open-amt-cloud-toolkit/ui-toolkit-react npm packages to avoid a breaking change. Please update your package.json at your earliest convenience for when we cease to publish @open-amt-cloud-toolkit/ui-toolkit-react. This is in effort to support the renaming of the toolkit.
|
|
13
12
|
|
|
14
|
-
|
|
15
13
|
The UI Toolkit provides prebuilt, React-based components for integrating remote management features such as a keyboard, video, mouse (KVM) control into a web-based management console UI. The controls have a reference UI and layout that can be customized further to seamlessly integrate with existing management console solutions.
|
|
16
14
|
|
|
17
15
|
**For detailed documentation** about [Getting Started with the UI Toolkit](https://device-management-toolkit.github.io/docs/2.0/Tutorials/uitoolkit) or other features of the Device Management Toolkit, see the [docs](https://device-management-toolkit.github.io/docs/).
|
|
18
16
|
|
|
19
|
-
|
|
20
17
|
## Prerequisites
|
|
21
18
|
|
|
22
19
|
To succesfully deploy the UI Toolkit using React, the following software must be installed on your development system:
|
|
23
20
|
|
|
24
|
-
- [Node.js
|
|
21
|
+
- [Node.js\* LTS 18.x.x or newer](https://nodejs.org/en/)
|
|
25
22
|
- [git](https://git-scm.com/downloads)
|
|
26
23
|
- [Visual Studio Code](https://code.visualstudio.com/) or any other IDE of choice
|
|
27
24
|
|
|
25
|
+
## NPM Install command
|
|
28
26
|
|
|
29
|
-
|
|
27
|
+
```bash
|
|
28
|
+
# Install UI Toolkit
|
|
29
|
+
npm install @device-management-toolkit/ui-toolkit-react
|
|
30
|
+
```
|
|
30
31
|
|
|
31
|
-
|
|
32
|
+
### Run the Example
|
|
32
33
|
|
|
33
|
-
|
|
34
|
+
This example is created using the following command:
|
|
34
35
|
|
|
35
|
-
|
|
36
|
+
```bash
|
|
37
|
+
# Create a new React app with Vite
|
|
38
|
+
npm create vite@latest my-app -- --template react-ts
|
|
39
|
+
```
|
|
36
40
|
|
|
37
|
-
|
|
38
|
-
npx create-react-app my-app && cd my-app
|
|
39
|
-
```
|
|
41
|
+
For quick testing, an example app is included. This requires a deployed MPS/RPS instance and an AMT device connected to it.
|
|
40
42
|
|
|
41
|
-
|
|
43
|
+
```bash
|
|
44
|
+
cd example
|
|
45
|
+
npm install
|
|
46
|
+
npm run dev
|
|
47
|
+
```
|
|
42
48
|
|
|
43
|
-
|
|
49
|
+
## Development
|
|
44
50
|
|
|
45
|
-
|
|
46
|
-
npm install @device-management-toolkit/ui-toolkit-react
|
|
47
|
-
```
|
|
51
|
+
To build and develop the library locally:
|
|
48
52
|
|
|
49
|
-
|
|
53
|
+
```bash
|
|
54
|
+
# Clone the repository
|
|
55
|
+
git clone https://github.com/device-management-toolkit/ui-toolkit-react.git
|
|
56
|
+
cd ui-toolkit-react
|
|
50
57
|
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
```
|
|
58
|
+
# Install dependencies
|
|
59
|
+
npm install
|
|
54
60
|
|
|
55
|
-
|
|
61
|
+
# Run tests
|
|
62
|
+
npm test
|
|
56
63
|
|
|
57
|
-
|
|
64
|
+
# Run tests with coverage
|
|
65
|
+
npm run test:coverage
|
|
58
66
|
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
Local: http://localhost:3000
|
|
62
|
-
On Your Network: http://172.16.17.4:3000
|
|
63
|
-
```
|
|
67
|
+
# Run linting
|
|
68
|
+
npm run lint
|
|
64
69
|
|
|
70
|
+
# Build the library
|
|
71
|
+
npm run build
|
|
72
|
+
```
|
|
65
73
|
|
|
66
74
|
## Additional Resources
|
|
67
75
|
|
|
68
|
-
- For detailed documentation and Getting Started, [visit the docs site](https://device-management-toolkit.github.io/docs)
|
|
76
|
+
- For detailed documentation and Getting Started, [visit the docs site](https://device-management-toolkit.github.io/docs)
|
|
69
77
|
|
|
70
|
-
- Looking to contribute? [Find more information here about contribution guidelines and practices](
|
|
78
|
+
- Looking to contribute? [Find more information here about contribution guidelines and practices](./CONTRIBUTING.md)
|
|
71
79
|
|
|
72
|
-
- Find a bug? Or have ideas for new features? [Open a new Issue](https://github.com/device-management-toolkit/ui-toolkit-react/issues)
|
|
80
|
+
- Find a bug? Or have ideas for new features? [Open a new Issue](https://github.com/device-management-toolkit/ui-toolkit-react/issues)
|
|
73
81
|
|
|
74
82
|
- Need additional support or want to get the latest news and events about Open AMT? Connect with the team directly through Discord.
|
|
75
83
|
|
|
76
|
-
|
|
84
|
+
[](https://discord.gg/DKHeUNEWVH)
|
|
77
85
|
|
|
78
86
|
## License Note
|
|
79
87
|
|
|
80
88
|
If you are distributing the FortAwesome Icons, please provide attribution to the source per the [CC-by 4.0](https://creativecommons.org/licenses/by/4.0/deed.ast) license obligations.
|
|
81
|
-
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/*********************************************************************
|
|
2
|
+
* Copyright (c) Intel Corporation 2023
|
|
3
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
4
|
+
**********************************************************************/
|
|
5
|
+
/**
|
|
6
|
+
* AttachDiskImage Component
|
|
7
|
+
*
|
|
8
|
+
* A complete UI component for IDE Redirection (IDER) that allows users to:
|
|
9
|
+
* - Select an ISO file from their local machine
|
|
10
|
+
* - Mount it as a virtual CD-ROM on a remote AMT device
|
|
11
|
+
* - Start/stop the IDER session
|
|
12
|
+
*
|
|
13
|
+
*/
|
|
14
|
+
import React from 'react';
|
|
15
|
+
export interface AttachDiskImageProps {
|
|
16
|
+
deviceId: string | null;
|
|
17
|
+
mpsServer: string | null;
|
|
18
|
+
authToken?: string;
|
|
19
|
+
fileSelectLabel?: string;
|
|
20
|
+
noFileSelectedLabel?: string;
|
|
21
|
+
containerClassName?: string;
|
|
22
|
+
containerStyle?: React.CSSProperties;
|
|
23
|
+
buttonClassName?: string;
|
|
24
|
+
buttonStyle?: React.CSSProperties;
|
|
25
|
+
fileSelectClassName?: string;
|
|
26
|
+
fileSelectStyle?: React.CSSProperties;
|
|
27
|
+
fileNameClassName?: string;
|
|
28
|
+
fileNameStyle?: React.CSSProperties;
|
|
29
|
+
}
|
|
30
|
+
export declare const AttachDiskImage: React.FC<AttachDiskImageProps>;
|
|
31
|
+
//# sourceMappingURL=AttachDiskImage.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AttachDiskImage.d.ts","sourceRoot":"","sources":["../../../src/components/ider/AttachDiskImage.tsx"],"names":[],"mappings":"AAAA;;;wEAGwE;AAExE;;;;;;;;GAQG;AAEH,OAAO,KAAwC,MAAM,OAAO,CAAA;AA4C5D,MAAM,WAAW,oBAAoB;IACnC,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAA;IACvB,SAAS,EAAE,MAAM,GAAG,IAAI,CAAA;IACxB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB,mBAAmB,CAAC,EAAE,MAAM,CAAA;IAC5B,kBAAkB,CAAC,EAAE,MAAM,CAAA;IAC3B,cAAc,CAAC,EAAE,KAAK,CAAC,aAAa,CAAA;IACpC,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB,WAAW,CAAC,EAAE,KAAK,CAAC,aAAa,CAAA;IACjC,mBAAmB,CAAC,EAAE,MAAM,CAAA;IAC5B,eAAe,CAAC,EAAE,KAAK,CAAC,aAAa,CAAA;IACrC,iBAAiB,CAAC,EAAE,MAAM,CAAA;IAC1B,aAAa,CAAC,EAAE,KAAK,CAAC,aAAa,CAAA;CACpC;AAED,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CA0G1D,CAAA"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/*********************************************************************
|
|
2
|
+
* Copyright (c) Intel Corporation 2023
|
|
3
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
4
|
+
**********************************************************************/
|
|
5
|
+
export {};
|
|
6
|
+
//# sourceMappingURL=AttachDiskImage.test.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AttachDiskImage.test.d.ts","sourceRoot":"","sources":["../../../src/components/ider/AttachDiskImage.test.tsx"],"names":[],"mappings":"AAAA;;;wEAGwE"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*********************************************************************
|
|
2
|
+
* Copyright (c) Intel Corporation 2023
|
|
3
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
4
|
+
**********************************************************************/
|
|
5
|
+
import React from 'react';
|
|
6
|
+
export interface IDERProps {
|
|
7
|
+
iderState: number;
|
|
8
|
+
updateIderState: (newState: number) => void;
|
|
9
|
+
iderData: IDERData | null;
|
|
10
|
+
cdrom: File | null;
|
|
11
|
+
floppy: File | null;
|
|
12
|
+
mpsServer: string | null;
|
|
13
|
+
authToken?: string;
|
|
14
|
+
deviceId: string | null;
|
|
15
|
+
}
|
|
16
|
+
export interface IDERData {
|
|
17
|
+
floppyRead: number;
|
|
18
|
+
floppyWrite: number;
|
|
19
|
+
cdromRead: number;
|
|
20
|
+
cdromWrite: number;
|
|
21
|
+
}
|
|
22
|
+
export declare const IDER: React.FC<IDERProps>;
|
|
23
|
+
//# sourceMappingURL=ider.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ider.d.ts","sourceRoot":"","sources":["../../../src/components/ider/ider.tsx"],"names":[],"mappings":"AAAA;;;wEAGwE;AAkBxE,OAAO,KAAyC,MAAM,OAAO,CAAA;AAI7D,MAAM,WAAW,SAAS;IACxB,SAAS,EAAE,MAAM,CAAA;IACjB,eAAe,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAA;IAC3C,QAAQ,EAAE,QAAQ,GAAG,IAAI,CAAA;IACzB,KAAK,EAAE,IAAI,GAAG,IAAI,CAAA;IAClB,MAAM,EAAE,IAAI,GAAG,IAAI,CAAA;IACnB,SAAS,EAAE,MAAM,GAAG,IAAI,CAAA;IACxB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAA;CACxB;AAGD,MAAM,WAAW,QAAQ;IACvB,UAAU,EAAE,MAAM,CAAA;IAClB,WAAW,EAAE,MAAM,CAAA;IACnB,SAAS,EAAE,MAAM,CAAA;IACjB,UAAU,EAAE,MAAM,CAAA;CACnB;AAED,eAAO,MAAM,IAAI,EAAE,KAAK,CAAC,EAAE,CAAC,SAAS,CAgJpC,CAAA"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/*********************************************************************
|
|
2
|
+
* Copyright (c) Intel Corporation 2023
|
|
3
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
4
|
+
**********************************************************************/
|
|
5
|
+
export {};
|
|
6
|
+
//# sourceMappingURL=ider.test.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ider.test.d.ts","sourceRoot":"","sources":["../../../src/components/ider/ider.test.tsx"],"names":[],"mappings":"AAAA;;;wEAGwE"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/*********************************************************************
|
|
2
|
+
* Copyright (c) Intel Corporation 2023
|
|
3
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
4
|
+
**********************************************************************/
|
|
5
|
+
export { IDER, type IDERProps, type IDERData } from './ider';
|
|
6
|
+
export { AttachDiskImage, type AttachDiskImageProps } from './AttachDiskImage';
|
|
7
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/ider/index.ts"],"names":[],"mappings":"AAAA;;;wEAGwE;AAExE,OAAO,EAAE,IAAI,EAAE,KAAK,SAAS,EAAE,KAAK,QAAQ,EAAE,MAAM,QAAQ,CAAA;AAC5D,OAAO,EAAE,eAAe,EAAE,KAAK,oBAAoB,EAAE,MAAM,mBAAmB,CAAA"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/*********************************************************************
|
|
2
|
+
* Copyright (c) Intel Corporation 2019
|
|
3
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
4
|
+
**********************************************************************/
|
|
5
|
+
/**
|
|
6
|
+
* ConnectButton Component
|
|
7
|
+
*
|
|
8
|
+
* Button to establish or terminate KVM connection.
|
|
9
|
+
* Displays different text based on connection state:
|
|
10
|
+
* - Disconnected (0): "Connect"
|
|
11
|
+
* - Connecting (1): "Connecting..."
|
|
12
|
+
* - Connected (2): "Disconnect"
|
|
13
|
+
*/
|
|
14
|
+
import React from 'react';
|
|
15
|
+
export interface ConnectProps {
|
|
16
|
+
kvmstate: number;
|
|
17
|
+
handleConnectClick: (e: React.MouseEvent) => void;
|
|
18
|
+
className?: string;
|
|
19
|
+
style?: React.CSSProperties;
|
|
20
|
+
}
|
|
21
|
+
export declare const ConnectButton: React.FC<ConnectProps>;
|
|
22
|
+
//# sourceMappingURL=ConnectButton.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ConnectButton.d.ts","sourceRoot":"","sources":["../../../src/components/kvm/ConnectButton.tsx"],"names":[],"mappings":"AAAA;;;wEAGwE;AAExE;;;;;;;;GAQG;AAEH,OAAO,KAAK,MAAM,OAAO,CAAA;AAiBzB,MAAM,WAAW,YAAY;IAC3B,QAAQ,EAAE,MAAM,CAAA;IAChB,kBAAkB,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,UAAU,KAAK,IAAI,CAAA;IACjD,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAA;CAC5B;AAED,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CAwBhD,CAAA"}
|
|
@@ -2,7 +2,5 @@
|
|
|
2
2
|
* Copyright (c) Intel Corporation 2019
|
|
3
3
|
* SPDX-License-Identifier: Apache-2.0
|
|
4
4
|
**********************************************************************/
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
export declare const prepareHeaders: () => any;
|
|
8
|
-
export declare const isFalsy: (value: any) => boolean;
|
|
5
|
+
export {};
|
|
6
|
+
//# sourceMappingURL=ConnectButton.test.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ConnectButton.test.d.ts","sourceRoot":"","sources":["../../../src/components/kvm/ConnectButton.test.tsx"],"names":[],"mappings":"AAAA;;;wEAGwE"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/*********************************************************************
|
|
2
|
+
* Copyright (c) Intel Corporation 2019
|
|
3
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
4
|
+
**********************************************************************/
|
|
5
|
+
/**
|
|
6
|
+
* DesktopSettings Component
|
|
7
|
+
*
|
|
8
|
+
* Container component that manages encoding settings state and passes
|
|
9
|
+
* it to EncodingOptions for user selection. Uses a ref to maintain
|
|
10
|
+
* settings state across renders without triggering re-renders.
|
|
11
|
+
*/
|
|
12
|
+
import React from 'react';
|
|
13
|
+
export interface IDesktopSettings {
|
|
14
|
+
changeDesktopSettings: (settings: {
|
|
15
|
+
encoding: number;
|
|
16
|
+
}) => void;
|
|
17
|
+
getConnectState: () => number;
|
|
18
|
+
className?: string;
|
|
19
|
+
style?: React.CSSProperties;
|
|
20
|
+
selectClassName?: string;
|
|
21
|
+
selectStyle?: React.CSSProperties;
|
|
22
|
+
}
|
|
23
|
+
export declare const DesktopSettings: React.FC<IDesktopSettings>;
|
|
24
|
+
//# sourceMappingURL=DesktopSettings.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DesktopSettings.d.ts","sourceRoot":"","sources":["../../../src/components/kvm/DesktopSettings.tsx"],"names":[],"mappings":"AAAA;;;wEAGwE;AAExE;;;;;;GAMG;AAEH,OAAO,KAAiB,MAAM,OAAO,CAAA;AAIrC,MAAM,WAAW,gBAAgB;IAC/B,qBAAqB,EAAE,CAAC,QAAQ,EAAE;QAAE,QAAQ,EAAE,MAAM,CAAA;KAAE,KAAK,IAAI,CAAA;IAC/D,eAAe,EAAE,MAAM,MAAM,CAAA;IAC7B,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAA;IAC3B,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB,WAAW,CAAC,EAAE,KAAK,CAAC,aAAa,CAAA;CAClC;AAED,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CA2BtD,CAAA"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/*********************************************************************
|
|
2
|
+
* Copyright (c) Intel Corporation 2019
|
|
3
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
4
|
+
**********************************************************************/
|
|
5
|
+
export {};
|
|
6
|
+
//# sourceMappingURL=DesktopSettings.test.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DesktopSettings.test.d.ts","sourceRoot":"","sources":["../../../src/components/kvm/DesktopSettings.test.tsx"],"names":[],"mappings":"AAAA;;;wEAGwE"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/*********************************************************************
|
|
2
|
+
* Copyright (c) Intel Corporation 2019
|
|
3
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
4
|
+
**********************************************************************/
|
|
5
|
+
/**
|
|
6
|
+
* EncodingOptions Component
|
|
7
|
+
*
|
|
8
|
+
* Dropdown selector for KVM encoding options:
|
|
9
|
+
* - RLE8: 8-bit Run Length Encoding (lower bandwidth, less color depth)
|
|
10
|
+
* - RLE16: 16-bit Run Length Encoding (higher bandwidth, better colors)
|
|
11
|
+
*
|
|
12
|
+
* The dropdown is disabled when connected (state=2) to prevent
|
|
13
|
+
* encoding changes during an active session.
|
|
14
|
+
*/
|
|
15
|
+
import React from 'react';
|
|
16
|
+
export interface IEncodingOptions {
|
|
17
|
+
changeEncoding: (encoding: number) => void;
|
|
18
|
+
getConnectState: () => number;
|
|
19
|
+
className?: string;
|
|
20
|
+
style?: React.CSSProperties;
|
|
21
|
+
selectClassName?: string;
|
|
22
|
+
selectStyle?: React.CSSProperties;
|
|
23
|
+
}
|
|
24
|
+
export declare const EncodingOptions: React.FC<IEncodingOptions>;
|
|
25
|
+
//# sourceMappingURL=EncodingOptions.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EncodingOptions.d.ts","sourceRoot":"","sources":["../../../src/components/kvm/EncodingOptions.tsx"],"names":[],"mappings":"AAAA;;;wEAGwE;AAExE;;;;;;;;;GASG;AAEH,OAAO,KAAmB,MAAM,OAAO,CAAA;AAsBvC,MAAM,WAAW,gBAAgB;IAC/B,cAAc,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAA;IAC1C,eAAe,EAAE,MAAM,MAAM,CAAA;IAC7B,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAA;IAC3B,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB,WAAW,CAAC,EAAE,KAAK,CAAC,aAAa,CAAA;CAClC;AAED,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CAoCtD,CAAA"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/*********************************************************************
|
|
2
|
+
* Copyright (c) Intel Corporation 2019
|
|
3
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
4
|
+
**********************************************************************/
|
|
5
|
+
export {};
|
|
6
|
+
//# sourceMappingURL=EncodingOptions.test.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EncodingOptions.test.d.ts","sourceRoot":"","sources":["../../../src/components/kvm/EncodingOptions.test.tsx"],"names":[],"mappings":"AAAA;;;wEAGwE"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/*********************************************************************
|
|
2
|
+
* Copyright (c) Intel Corporation 2019
|
|
3
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
4
|
+
**********************************************************************/
|
|
5
|
+
/**
|
|
6
|
+
* Header Component
|
|
7
|
+
*
|
|
8
|
+
* Control bar displayed above the KVM canvas containing:
|
|
9
|
+
* - ConnectButton: To establish/terminate the KVM connection
|
|
10
|
+
* - DesktopSettings: Encoding options dropdown
|
|
11
|
+
*
|
|
12
|
+
*/
|
|
13
|
+
import React from 'react';
|
|
14
|
+
export interface IHeaderProps {
|
|
15
|
+
kvmstate: number;
|
|
16
|
+
handleConnectClick: (e: React.MouseEvent) => void;
|
|
17
|
+
changeDesktopSettings: (settings: {
|
|
18
|
+
encoding: number;
|
|
19
|
+
}) => void;
|
|
20
|
+
getConnectState: () => number;
|
|
21
|
+
className?: string;
|
|
22
|
+
style?: React.CSSProperties;
|
|
23
|
+
connectButtonClassName?: string;
|
|
24
|
+
connectButtonStyle?: React.CSSProperties;
|
|
25
|
+
encodingClassName?: string;
|
|
26
|
+
encodingStyle?: React.CSSProperties;
|
|
27
|
+
encodingSelectClassName?: string;
|
|
28
|
+
encodingSelectStyle?: React.CSSProperties;
|
|
29
|
+
}
|
|
30
|
+
export declare const Header: React.FC<IHeaderProps>;
|
|
31
|
+
//# sourceMappingURL=Header.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Header.d.ts","sourceRoot":"","sources":["../../../src/components/kvm/Header.tsx"],"names":[],"mappings":"AAAA;;;wEAGwE;AAExE;;;;;;;GAOG;AAEH,OAAO,KAAK,MAAM,OAAO,CAAA;AAezB,MAAM,WAAW,YAAY;IAC3B,QAAQ,EAAE,MAAM,CAAA;IAChB,kBAAkB,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,UAAU,KAAK,IAAI,CAAA;IACjD,qBAAqB,EAAE,CAAC,QAAQ,EAAE;QAAE,QAAQ,EAAE,MAAM,CAAA;KAAE,KAAK,IAAI,CAAA;IAC/D,eAAe,EAAE,MAAM,MAAM,CAAA;IAC7B,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAA;IAC3B,sBAAsB,CAAC,EAAE,MAAM,CAAA;IAC/B,kBAAkB,CAAC,EAAE,KAAK,CAAC,aAAa,CAAA;IACxC,iBAAiB,CAAC,EAAE,MAAM,CAAA;IAC1B,aAAa,CAAC,EAAE,KAAK,CAAC,aAAa,CAAA;IACnC,uBAAuB,CAAC,EAAE,MAAM,CAAA;IAChC,mBAAmB,CAAC,EAAE,KAAK,CAAC,aAAa,CAAA;CAC1C;AAED,eAAO,MAAM,MAAM,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CAkCzC,CAAA"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/*********************************************************************
|
|
2
|
+
* Copyright (c) Intel Corporation 2019
|
|
3
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
4
|
+
**********************************************************************/
|
|
5
|
+
export {};
|
|
6
|
+
//# sourceMappingURL=Header.test.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Header.test.d.ts","sourceRoot":"","sources":["../../../src/components/kvm/Header.test.tsx"],"names":[],"mappings":"AAAA;;;wEAGwE"}
|
|
@@ -3,8 +3,17 @@
|
|
|
3
3
|
* SPDX-License-Identifier: Apache-2.0
|
|
4
4
|
* Author : Ramu Bachala
|
|
5
5
|
**********************************************************************/
|
|
6
|
+
/**
|
|
7
|
+
* PureCanvas Component
|
|
8
|
+
*
|
|
9
|
+
* Memoized HTML5 canvas component for rendering the remote desktop.
|
|
10
|
+
*
|
|
11
|
+
* Handles:
|
|
12
|
+
* - Canvas context initialization
|
|
13
|
+
* - Mouse event forwarding (down, up, move)
|
|
14
|
+
* - Right-click context menu prevention
|
|
15
|
+
*/
|
|
6
16
|
import React from 'react';
|
|
7
|
-
import './PureCanvas.scss';
|
|
8
17
|
export interface PureCanvasProps {
|
|
9
18
|
contextRef: (ctx: CanvasRenderingContext2D) => void;
|
|
10
19
|
mouseDown: (event: React.MouseEvent) => void;
|
|
@@ -12,8 +21,8 @@ export interface PureCanvasProps {
|
|
|
12
21
|
mouseMove: (event: React.MouseEvent) => void;
|
|
13
22
|
canvasHeight: string;
|
|
14
23
|
canvasWidth: string;
|
|
24
|
+
className?: string;
|
|
25
|
+
style?: React.CSSProperties;
|
|
15
26
|
}
|
|
16
|
-
export declare
|
|
17
|
-
|
|
18
|
-
render(): React.ReactNode;
|
|
19
|
-
}
|
|
27
|
+
export declare const PureCanvas: React.FC<PureCanvasProps>;
|
|
28
|
+
//# sourceMappingURL=PureCanvas.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PureCanvas.d.ts","sourceRoot":"","sources":["../../../src/components/kvm/PureCanvas.tsx"],"names":[],"mappings":"AAAA;;;;wEAIwE;AAExE;;;;;;;;;GASG;AAEH,OAAO,KAAkC,MAAM,OAAO,CAAA;AAwBtD,MAAM,WAAW,eAAe;IAC9B,UAAU,EAAE,CAAC,GAAG,EAAE,wBAAwB,KAAK,IAAI,CAAA;IACnD,SAAS,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,UAAU,KAAK,IAAI,CAAA;IAC5C,OAAO,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,UAAU,KAAK,IAAI,CAAA;IAC1C,SAAS,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,UAAU,KAAK,IAAI,CAAA;IAC5C,YAAY,EAAE,MAAM,CAAA;IACpB,WAAW,EAAE,MAAM,CAAA;IACnB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAA;CAC5B;AAED,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAkDhD,CAAA"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/*********************************************************************
|
|
2
|
+
* Copyright (c) Intel Corporation 2019
|
|
3
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
4
|
+
**********************************************************************/
|
|
5
|
+
export {};
|
|
6
|
+
//# sourceMappingURL=PureCanvas.test.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PureCanvas.test.d.ts","sourceRoot":"","sources":["../../../src/components/kvm/PureCanvas.test.tsx"],"names":[],"mappings":"AAAA;;;wEAGwE"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/*********************************************************************
|
|
2
|
+
* Copyright (c) Intel Corporation 2019
|
|
3
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
4
|
+
* Author : Ramu Bachala
|
|
5
|
+
**********************************************************************/
|
|
6
|
+
import React from 'react';
|
|
7
|
+
export interface KVMProps {
|
|
8
|
+
deviceId: string | null;
|
|
9
|
+
mpsServer: string | null;
|
|
10
|
+
mouseDebounceTime: number;
|
|
11
|
+
canvasHeight: string;
|
|
12
|
+
canvasWidth: string;
|
|
13
|
+
autoConnect?: boolean;
|
|
14
|
+
authToken: string;
|
|
15
|
+
containerClassName?: string;
|
|
16
|
+
containerStyle?: React.CSSProperties;
|
|
17
|
+
headerClassName?: string;
|
|
18
|
+
headerStyle?: React.CSSProperties;
|
|
19
|
+
connectButtonClassName?: string;
|
|
20
|
+
connectButtonStyle?: React.CSSProperties;
|
|
21
|
+
encodingClassName?: string;
|
|
22
|
+
encodingStyle?: React.CSSProperties;
|
|
23
|
+
encodingSelectClassName?: string;
|
|
24
|
+
encodingSelectStyle?: React.CSSProperties;
|
|
25
|
+
canvasClassName?: string;
|
|
26
|
+
canvasStyle?: React.CSSProperties;
|
|
27
|
+
}
|
|
28
|
+
export declare const KVM: React.FC<KVMProps>;
|
|
29
|
+
//# sourceMappingURL=UI.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"UI.d.ts","sourceRoot":"","sources":["../../../src/components/kvm/UI.tsx"],"names":[],"mappings":"AAAA;;;;wEAIwE;AA+BxE,OAAO,KAAmD,MAAM,OAAO,CAAA;AAWvE,MAAM,WAAW,QAAQ;IACvB,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAA;IACvB,SAAS,EAAE,MAAM,GAAG,IAAI,CAAA;IACxB,iBAAiB,EAAE,MAAM,CAAA;IACzB,YAAY,EAAE,MAAM,CAAA;IACpB,WAAW,EAAE,MAAM,CAAA;IACnB,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,SAAS,EAAE,MAAM,CAAA;IACjB,kBAAkB,CAAC,EAAE,MAAM,CAAA;IAC3B,cAAc,CAAC,EAAE,KAAK,CAAC,aAAa,CAAA;IACpC,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB,WAAW,CAAC,EAAE,KAAK,CAAC,aAAa,CAAA;IACjC,sBAAsB,CAAC,EAAE,MAAM,CAAA;IAC/B,kBAAkB,CAAC,EAAE,KAAK,CAAC,aAAa,CAAA;IACxC,iBAAiB,CAAC,EAAE,MAAM,CAAA;IAC1B,aAAa,CAAC,EAAE,KAAK,CAAC,aAAa,CAAA;IACnC,uBAAuB,CAAC,EAAE,MAAM,CAAA;IAChC,mBAAmB,CAAC,EAAE,KAAK,CAAC,aAAa,CAAA;IACzC,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB,WAAW,CAAC,EAAE,KAAK,CAAC,aAAa,CAAA;CAClC;AAED,eAAO,MAAM,GAAG,EAAE,KAAK,CAAC,EAAE,CAAC,QAAQ,CA4SlC,CAAA"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/*********************************************************************
|
|
2
|
+
* Copyright (c) Intel Corporation 2019
|
|
3
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
4
|
+
**********************************************************************/
|
|
5
|
+
export {};
|
|
6
|
+
//# sourceMappingURL=UI.test.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"UI.test.d.ts","sourceRoot":"","sources":["../../../src/components/kvm/UI.test.tsx"],"names":[],"mappings":"AAAA;;;wEAGwE"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/*********************************************************************
|
|
2
|
+
* Copyright (c) Intel Corporation 2019
|
|
3
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
4
|
+
**********************************************************************/
|
|
5
|
+
export { KVM, type KVMProps } from './UI';
|
|
6
|
+
export { Header, type IHeaderProps } from './Header';
|
|
7
|
+
export { ConnectButton, type ConnectProps } from './ConnectButton';
|
|
8
|
+
export { PureCanvas, type PureCanvasProps } from './PureCanvas';
|
|
9
|
+
export { DesktopSettings, type IDesktopSettings } from './DesktopSettings';
|
|
10
|
+
export { EncodingOptions, type IEncodingOptions } from './EncodingOptions';
|
|
11
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/kvm/index.ts"],"names":[],"mappings":"AAAA;;;wEAGwE;AAExE,OAAO,EAAE,GAAG,EAAE,KAAK,QAAQ,EAAE,MAAM,MAAM,CAAA;AAEzC,OAAO,EAAE,MAAM,EAAE,KAAK,YAAY,EAAE,MAAM,UAAU,CAAA;AACpD,OAAO,EAAE,aAAa,EAAE,KAAK,YAAY,EAAE,MAAM,iBAAiB,CAAA;AAClE,OAAO,EAAE,UAAU,EAAE,KAAK,eAAe,EAAE,MAAM,cAAc,CAAA;AAC/D,OAAO,EAAE,eAAe,EAAE,KAAK,gBAAgB,EAAE,MAAM,mBAAmB,CAAA;AAC1E,OAAO,EAAE,eAAe,EAAE,KAAK,gBAAgB,EAAE,MAAM,mBAAmB,CAAA"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/*********************************************************************
|
|
2
|
+
* Copyright (c) Intel Corporation 2019
|
|
3
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
4
|
+
**********************************************************************/
|
|
5
|
+
/**
|
|
6
|
+
* SOL (Serial Over LAN) Component
|
|
7
|
+
*
|
|
8
|
+
* Provides remote terminal access to AMT-enabled devices via Serial Over LAN.
|
|
9
|
+
* This allows users to interact with the device's serial console remotely,
|
|
10
|
+
* useful for BIOS configuration, OS installation, and system recovery.
|
|
11
|
+
*
|
|
12
|
+
* Uses xterm.js for terminal emulation.
|
|
13
|
+
*/
|
|
14
|
+
import React from 'react';
|
|
15
|
+
export interface SOLProps {
|
|
16
|
+
deviceId: string | null;
|
|
17
|
+
mpsServer: string | null;
|
|
18
|
+
autoConnect?: boolean;
|
|
19
|
+
authToken: string;
|
|
20
|
+
containerClassName?: string;
|
|
21
|
+
containerStyle?: React.CSSProperties;
|
|
22
|
+
buttonClassName?: string;
|
|
23
|
+
buttonStyle?: React.CSSProperties;
|
|
24
|
+
terminalContainerClassName?: string;
|
|
25
|
+
terminalContainerStyle?: React.CSSProperties;
|
|
26
|
+
xtermClassName?: string;
|
|
27
|
+
xtermStyle?: React.CSSProperties;
|
|
28
|
+
}
|
|
29
|
+
export declare const Sol: React.FC<SOLProps>;
|
|
30
|
+
//# sourceMappingURL=Sol.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Sol.d.ts","sourceRoot":"","sources":["../../../src/components/sol/Sol.tsx"],"names":[],"mappings":"AAAA;;;wEAGwE;AAExE;;;;;;;;GAQG;AAEH,OAAO,KAAmD,MAAM,OAAO,CAAA;AAiCvE,MAAM,WAAW,QAAQ;IACvB,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAA;IACvB,SAAS,EAAE,MAAM,GAAG,IAAI,CAAA;IACxB,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,SAAS,EAAE,MAAM,CAAA;IACjB,kBAAkB,CAAC,EAAE,MAAM,CAAA;IAC3B,cAAc,CAAC,EAAE,KAAK,CAAC,aAAa,CAAA;IACpC,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB,WAAW,CAAC,EAAE,KAAK,CAAC,aAAa,CAAA;IACjC,0BAA0B,CAAC,EAAE,MAAM,CAAA;IACnC,sBAAsB,CAAC,EAAE,KAAK,CAAC,aAAa,CAAA;IAC5C,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,UAAU,CAAC,EAAE,KAAK,CAAC,aAAa,CAAA;CACjC;AAED,eAAO,MAAM,GAAG,EAAE,KAAK,CAAC,EAAE,CAAC,QAAQ,CAiMlC,CAAA"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/*********************************************************************
|
|
2
|
+
* Copyright (c) Intel Corporation 2019
|
|
3
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
4
|
+
**********************************************************************/
|
|
5
|
+
export {};
|
|
6
|
+
//# sourceMappingURL=Sol.test.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Sol.test.d.ts","sourceRoot":"","sources":["../../../src/components/sol/Sol.test.tsx"],"names":[],"mappings":"AAAA;;;wEAGwE"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/*********************************************************************
|
|
2
|
+
* Copyright (c) Intel Corporation 2019
|
|
3
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
4
|
+
**********************************************************************/
|
|
5
|
+
/**
|
|
6
|
+
* Terminal Component
|
|
7
|
+
*
|
|
8
|
+
* Wrapper component for xterm.js that handles:
|
|
9
|
+
* - Mounting the terminal to the DOM
|
|
10
|
+
* - Keyboard input (including Ctrl+C, Ctrl+V, Backspace)
|
|
11
|
+
* - Copy/paste functionality
|
|
12
|
+
*
|
|
13
|
+
* This component receives an xterm instance from the parent Sol component
|
|
14
|
+
* and attaches it to a div element.
|
|
15
|
+
*/
|
|
16
|
+
import React from 'react';
|
|
17
|
+
import { Terminal } from '@xterm/xterm';
|
|
18
|
+
export interface IPropTerminal {
|
|
19
|
+
handleKeyPress: (data: string) => void;
|
|
20
|
+
xterm: Terminal;
|
|
21
|
+
containerClassName?: string;
|
|
22
|
+
containerStyle?: React.CSSProperties;
|
|
23
|
+
xtermClassName?: string;
|
|
24
|
+
xtermStyle?: React.CSSProperties;
|
|
25
|
+
}
|
|
26
|
+
export declare const Term: React.FC<IPropTerminal>;
|
|
27
|
+
export default Term;
|
|
28
|
+
//# sourceMappingURL=Terminal.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Terminal.d.ts","sourceRoot":"","sources":["../../../src/components/sol/Terminal.tsx"],"names":[],"mappings":"AAAA;;;wEAGwE;AAExE;;;;;;;;;;GAUG;AAEH,OAAO,KAA4B,MAAM,OAAO,CAAA;AAChD,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAA;AAgBvC,MAAM,WAAW,aAAa;IAC5B,cAAc,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAA;IACtC,KAAK,EAAE,QAAQ,CAAA;IACf,kBAAkB,CAAC,EAAE,MAAM,CAAA;IAC3B,cAAc,CAAC,EAAE,KAAK,CAAC,aAAa,CAAA;IACpC,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,UAAU,CAAC,EAAE,KAAK,CAAC,aAAa,CAAA;CACjC;AAED,eAAO,MAAM,IAAI,EAAE,KAAK,CAAC,EAAE,CAAC,aAAa,CAqFxC,CAAA;AAED,eAAe,IAAI,CAAA"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/*********************************************************************
|
|
2
|
+
* Copyright (c) Intel Corporation 2019
|
|
3
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
4
|
+
**********************************************************************/
|
|
5
|
+
export {};
|
|
6
|
+
//# sourceMappingURL=Terminal.test.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Terminal.test.d.ts","sourceRoot":"","sources":["../../../src/components/sol/Terminal.test.tsx"],"names":[],"mappings":"AAAA;;;wEAGwE"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/*********************************************************************
|
|
2
|
+
* Copyright (c) Intel Corporation 2019
|
|
3
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
4
|
+
**********************************************************************/
|
|
5
|
+
export { Sol, type SOLProps } from './Sol';
|
|
6
|
+
export { Term, type IPropTerminal } from './Terminal';
|
|
7
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/sol/index.ts"],"names":[],"mappings":"AAAA;;;wEAGwE;AAExE,OAAO,EAAE,GAAG,EAAE,KAAK,QAAQ,EAAE,MAAM,OAAO,CAAA;AAC1C,OAAO,EAAE,IAAI,EAAE,KAAK,aAAa,EAAE,MAAM,YAAY,CAAA"}
|
package/i18n/config.d.ts
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/*********************************************************************
|
|
2
|
+
* Copyright (c) Intel Corporation 2019
|
|
3
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
4
|
+
**********************************************************************/
|
|
5
|
+
import i18next from 'i18next';
|
|
6
|
+
export default i18next;
|
|
7
|
+
//# sourceMappingURL=config.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../src/i18n/config.ts"],"names":[],"mappings":"AAAA;;;wEAGwE;AAExE,OAAO,OAAO,MAAM,SAAS,CAAA;AAgC7B,eAAe,OAAO,CAAA"}
|