@difizen/libro-terminal 0.1.0 → 0.1.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.
@@ -0,0 +1,33 @@
1
+ import type { ConfigurationNode } from '@difizen/mana-app';
2
+ export type TerminalRendererType = 'canvas' | 'dom';
3
+ export declare const DEFAULT_TERMINAL_RENDERER_TYPE = "canvas";
4
+ export declare function isTerminalRendererType(arg: any): arg is TerminalRendererType;
5
+ export type CursorStyle = 'block' | 'underline' | 'bar';
6
+ export declare const terminalEnableCopy: ConfigurationNode<any>;
7
+ export declare const terminalEnablePaste: ConfigurationNode<any>;
8
+ export declare const terminalIntegratedFontFamily: ConfigurationNode<any>;
9
+ export declare const terminalIntegratedFontSize: ConfigurationNode<any>;
10
+ export declare const terminalIntegratedFontWeight: ConfigurationNode<any>;
11
+ export declare const terminalIntegratedFontWeightBold: ConfigurationNode<any>;
12
+ export declare const terminalIntegratedDrawBoldTextInBrightColors: ConfigurationNode<any>;
13
+ export declare const terminalIntegratedLetterSpacing: ConfigurationNode<any>;
14
+ export declare const terminalIntegratedLineHeight: ConfigurationNode<any>;
15
+ export declare const terminalIntegratedScrollback: ConfigurationNode<any>;
16
+ export declare const terminalIntegratedFastScrollSensitivity: ConfigurationNode<any>;
17
+ export declare const terminalIntegratedRendererType: ConfigurationNode<any>;
18
+ export declare const terminalIntegratedCopyOnSelection: ConfigurationNode<any>;
19
+ export declare const terminalIntegratedCursorBlinking: ConfigurationNode<any>;
20
+ export declare const terminalIntegratedCursorStyle: ConfigurationNode<any>;
21
+ export declare const terminalIntegratedCursorWidth: ConfigurationNode<any>;
22
+ export declare const terminalIntegratedShellWindows: ConfigurationNode<any>;
23
+ export declare const terminalIntegratedShellOsx: ConfigurationNode<any>;
24
+ export declare const terminalIntegratedShellLinux: ConfigurationNode<any>;
25
+ export declare const terminalIntegratedShellArgsWindows: ConfigurationNode<any>;
26
+ export declare const terminalIntegratedShellArgsOsx: ConfigurationNode<any>;
27
+ export declare const terminalIntegratedShellArgsLinux: ConfigurationNode<any>;
28
+ export declare const terminalIntegratedConfirmOnExit: ConfigurationNode<any>;
29
+ export declare class TerminalConfiguration {
30
+ configs: ConfigurationNode<any>[];
31
+ get(key: string): any;
32
+ }
33
+ //# sourceMappingURL=configuration.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"configuration.d.ts","sourceRoot":"","sources":["../src/configuration.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAG3D,MAAM,MAAM,oBAAoB,GAAG,QAAQ,GAAG,KAAK,CAAC;AACpD,eAAO,MAAM,8BAA8B,WAAW,CAAC;AAEvD,wBAAgB,sBAAsB,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,oBAAoB,CAE5E;AAED,MAAM,MAAM,WAAW,GAAG,OAAO,GAAG,WAAW,GAAG,KAAK,CAAC;AAExD,eAAO,MAAM,kBAAkB,EAAE,iBAAiB,CAAC,GAAG,CAQrD,CAAC;AACF,eAAO,MAAM,mBAAmB,EAAE,iBAAiB,CAAC,GAAG,CAQtD,CAAC;AACF,eAAO,MAAM,4BAA4B,EAAE,iBAAiB,CAAC,GAAG,CAa/D,CAAC;AACF,eAAO,MAAM,0BAA0B,EAAE,iBAAiB,CAAC,GAAG,CAS7D,CAAC;AACF,eAAO,MAAM,4BAA4B,EAAE,iBAAiB,CAAC,GAAG,CAU/D,CAAC;AACF,eAAO,MAAM,gCAAgC,EAAE,iBAAiB,CAAC,GAAG,CAUnE,CAAC;AACF,eAAO,MAAM,4CAA4C,EAAE,iBAAiB,CAAC,GAAG,CAS/E,CAAC;AACF,eAAO,MAAM,+BAA+B,EAAE,iBAAiB,CAAC,GAAG,CASlE,CAAC;AACF,eAAO,MAAM,4BAA4B,EAAE,iBAAiB,CAAC,GAAG,CAU/D,CAAC;AACF,eAAO,MAAM,4BAA4B,EAAE,iBAAiB,CAAC,GAAG,CAQ/D,CAAC;AACF,eAAO,MAAM,uCAAuC,EAAE,iBAAiB,CAAC,GAAG,CAQ1E,CAAC;AACF,eAAO,MAAM,8BAA8B,EAAE,iBAAiB,CAAC,GAAG,CASjE,CAAC;AACF,eAAO,MAAM,iCAAiC,EAAE,iBAAiB,CAAC,GAAG,CASpE,CAAC;AACF,eAAO,MAAM,gCAAgC,EAAE,iBAAiB,CAAC,GAAG,CAQnE,CAAC;AACF,eAAO,MAAM,6BAA6B,EAAE,iBAAiB,CAAC,GAAG,CAQhE,CAAC;AACF,eAAO,MAAM,6BAA6B,EAAE,iBAAiB,CAAC,GAAG,CAShE,CAAC;AACF,eAAO,MAAM,8BAA8B,EAAE,iBAAiB,CAAC,GAAG,CASjE,CAAC;AACF,eAAO,MAAM,0BAA0B,EAAE,iBAAiB,CAAC,GAAG,CAQ7D,CAAC;AACF,eAAO,MAAM,4BAA4B,EAAE,iBAAiB,CAAC,GAAG,CAQ/D,CAAC;AACF,eAAO,MAAM,kCAAkC,EAAE,iBAAiB,CAAC,GAAG,CAQrE,CAAC;AACF,eAAO,MAAM,8BAA8B,EAAE,iBAAiB,CAAC,GAAG,CAQjE,CAAC;AACF,eAAO,MAAM,gCAAgC,EAAE,iBAAiB,CAAC,GAAG,CAQnE,CAAC;AACF,eAAO,MAAM,+BAA+B,EAAE,iBAAiB,CAAC,GAAG,CAclE,CAAC;AAEF,qBACa,qBAAqB;IAChC,OAAO,2BAwBL;IAEF,GAAG,CAAC,GAAG,EAAE,MAAM;CAGhB"}
@@ -0,0 +1,18 @@
1
+ import type { ColorDefinition } from '@difizen/mana-app';
2
+ import { ColorRegistry } from '@difizen/mana-app';
3
+ import type { ITheme } from 'xterm';
4
+ /**
5
+ * It should be aligned with https://github.com/microsoft/vscode/blob/0dfa355b3ad185a6289ba28a99c141ab9e72d2be/src/vs/workbench/contrib/terminal/common/terminalColorRegistry.ts#L40
6
+ */
7
+ export declare const terminalAnsiColorMap: {
8
+ [key: string]: {
9
+ index: number;
10
+ defaults: ColorDefinition['defaults'];
11
+ };
12
+ };
13
+ export declare class TerminalThemeService {
14
+ protected readonly colorRegistry: ColorRegistry;
15
+ readonly onDidChange: import("@difizen/mana-app").Event<import("@difizen/mana-app").ThemeChangeEvent>;
16
+ get theme(): ITheme;
17
+ }
18
+ //# sourceMappingURL=theme-service.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"theme-service.d.ts","sourceRoot":"","sources":["../src/theme-service.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACzD,OAAO,EAAE,aAAa,EAAgB,MAAM,mBAAmB,CAAC;AAEhE,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAEpC;;GAEG;AACH,eAAO,MAAM,oBAAoB,EAAE;IACjC,CAAC,GAAG,EAAE,MAAM,GAAG;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,QAAQ,EAAE,eAAe,CAAC,UAAU,CAAC,CAAA;KAAE,CAAC;CAkIzE,CAAC;AAEF,qBACa,oBAAoB;IAE/B,SAAS,CAAC,QAAQ,CAAC,aAAa,EAAE,aAAa,CAAC;IAEhD,QAAQ,CAAC,WAAW,kFAA4C;IAEhE,IAAI,KAAK,IAAI,MAAM,CA8BlB;CACF"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@difizen/libro-terminal",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "",
5
5
  "keywords": [
6
6
  "libro"
@@ -31,9 +31,9 @@
31
31
  "src"
32
32
  ],
33
33
  "dependencies": {
34
- "@difizen/libro-core": "^0.1.0",
35
- "@difizen/libro-common": "^0.1.0",
36
- "@difizen/libro-kernel": "^0.1.0",
34
+ "@difizen/libro-core": "^0.1.1",
35
+ "@difizen/libro-common": "^0.1.1",
36
+ "@difizen/libro-kernel": "^0.1.1",
37
37
  "@difizen/mana-app": "latest",
38
38
  "@ant-design/icons": "^5.1.0",
39
39
  "xterm": "^4.16.0",