@xterm/xterm 6.1.0-beta.255 → 6.1.0-beta.257

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 (99) hide show
  1. package/lib/xterm.js +1 -1
  2. package/lib/xterm.js.map +1 -1
  3. package/lib/xterm.mjs +1 -1
  4. package/lib/xterm.mjs.map +1 -1
  5. package/package.json +5 -5
  6. package/src/browser/AccessibilityManager.ts +8 -8
  7. package/src/browser/Clipboard.ts +2 -2
  8. package/src/browser/ColorContrastCache.ts +3 -3
  9. package/src/browser/CoreBrowserTerminal.ts +34 -34
  10. package/src/browser/Dom.ts +2 -2
  11. package/src/browser/Linkifier.ts +6 -6
  12. package/src/browser/OscLinkProvider.ts +5 -5
  13. package/src/browser/RenderDebouncer.ts +2 -2
  14. package/src/browser/TimeBasedDebouncer.ts +1 -1
  15. package/src/browser/Types.ts +4 -4
  16. package/src/browser/Viewport.ts +10 -10
  17. package/src/browser/decorations/BufferDecorationRenderer.ts +3 -3
  18. package/src/browser/decorations/ColorZoneStore.ts +1 -1
  19. package/src/browser/decorations/OverviewRulerRenderer.ts +4 -4
  20. package/src/browser/input/CompositionHelper.ts +3 -3
  21. package/src/browser/input/MoveToCell.ts +2 -2
  22. package/src/browser/public/Terminal.ts +10 -10
  23. package/src/browser/renderer/dom/DomRenderer.ts +14 -14
  24. package/src/browser/renderer/dom/DomRendererRowFactory.ts +12 -12
  25. package/src/browser/renderer/dom/WidthCache.ts +3 -3
  26. package/src/browser/renderer/shared/RendererUtils.ts +1 -1
  27. package/src/browser/renderer/shared/SelectionRenderModel.ts +2 -2
  28. package/src/browser/renderer/shared/TextBlinkStateManager.ts +3 -3
  29. package/src/browser/renderer/shared/Types.ts +3 -3
  30. package/src/browser/scrollable/abstractScrollbar.ts +1 -1
  31. package/src/browser/scrollable/globalPointerMoveMonitor.ts +1 -1
  32. package/src/browser/scrollable/mouseEvent.ts +1 -1
  33. package/src/browser/scrollable/scrollable.ts +2 -2
  34. package/src/browser/scrollable/scrollableElement.ts +4 -4
  35. package/src/browser/scrollable/scrollbarArrow.ts +1 -1
  36. package/src/browser/scrollable/scrollbarVisibilityController.ts +2 -2
  37. package/src/browser/scrollable/touch.ts +1 -1
  38. package/src/browser/scrollable/widget.ts +1 -1
  39. package/src/browser/selection/SelectionModel.ts +1 -1
  40. package/src/browser/services/CharSizeService.ts +4 -4
  41. package/src/browser/services/CharacterJoinerService.ts +7 -7
  42. package/src/browser/services/CoreBrowserService.ts +3 -3
  43. package/src/browser/services/KeyboardService.ts +7 -7
  44. package/src/browser/services/LinkProviderService.ts +3 -3
  45. package/src/browser/services/MouseCoordsService.ts +3 -3
  46. package/src/browser/services/MouseService.ts +6 -6
  47. package/src/browser/services/RenderService.ts +8 -8
  48. package/src/browser/services/SelectionService.ts +14 -14
  49. package/src/browser/services/Services.ts +6 -6
  50. package/src/browser/services/ThemeService.ts +8 -8
  51. package/src/common/Async.ts +1 -1
  52. package/src/common/CircularList.ts +3 -3
  53. package/src/common/Color.ts +1 -1
  54. package/src/common/CoreTerminal.ts +18 -18
  55. package/src/common/Event.ts +1 -1
  56. package/src/common/InputHandler.ts +20 -20
  57. package/src/common/SortedList.ts +2 -2
  58. package/src/common/TaskQueue.ts +1 -1
  59. package/src/common/Types.ts +6 -6
  60. package/src/common/Version.ts +1 -1
  61. package/src/common/WindowsMode.ts +2 -2
  62. package/src/common/buffer/AttributeData.ts +2 -2
  63. package/src/common/buffer/Buffer.ts +14 -14
  64. package/src/common/buffer/BufferLine.ts +6 -6
  65. package/src/common/buffer/BufferLineStringCache.ts +3 -3
  66. package/src/common/buffer/BufferReflow.ts +3 -3
  67. package/src/common/buffer/BufferSet.ts +6 -6
  68. package/src/common/buffer/CellData.ts +4 -4
  69. package/src/common/buffer/Marker.ts +3 -3
  70. package/src/common/buffer/Types.ts +2 -2
  71. package/src/common/data/Charsets.ts +1 -1
  72. package/src/common/input/Keyboard.ts +2 -2
  73. package/src/common/input/KittyKeyboard.ts +2 -2
  74. package/src/common/input/UnicodeV6.ts +2 -2
  75. package/src/common/input/Win32InputMode.ts +2 -2
  76. package/src/common/input/WriteBuffer.ts +3 -3
  77. package/src/common/parser/ApcParser.ts +5 -5
  78. package/src/common/parser/DcsParser.ts +6 -6
  79. package/src/common/parser/EscapeSequenceParser.ts +8 -8
  80. package/src/common/parser/OscParser.ts +5 -5
  81. package/src/common/parser/Params.ts +1 -1
  82. package/src/common/parser/Types.ts +2 -2
  83. package/src/common/public/BufferApiView.ts +3 -3
  84. package/src/common/public/BufferLineApiView.ts +2 -2
  85. package/src/common/public/BufferNamespaceApi.ts +4 -4
  86. package/src/common/public/ParserApi.ts +2 -2
  87. package/src/common/public/UnicodeApi.ts +1 -1
  88. package/src/common/services/BufferService.ts +6 -6
  89. package/src/common/services/CharsetService.ts +2 -2
  90. package/src/common/services/CoreService.ts +4 -4
  91. package/src/common/services/DecorationService.ts +8 -8
  92. package/src/common/services/InstantiationService.ts +2 -2
  93. package/src/common/services/LogService.ts +2 -2
  94. package/src/common/services/MouseStateService.ts +4 -4
  95. package/src/common/services/OptionsService.ts +5 -5
  96. package/src/common/services/OscLinkService.ts +2 -2
  97. package/src/common/services/ServiceRegistry.ts +1 -1
  98. package/src/common/services/Services.ts +4 -4
  99. package/src/common/services/UnicodeService.ts +3 -3
@@ -4,8 +4,8 @@
4
4
  * @license MIT
5
5
  */
6
6
 
7
- import { IKeyboardEvent, IKeyboardResult, KeyboardResultType } from 'common/Types';
8
- import { C0 } from 'common/data/EscapeSequences';
7
+ import { IKeyboardEvent, IKeyboardResult, KeyboardResultType } from '../Types';
8
+ import { C0 } from '../data/EscapeSequences';
9
9
 
10
10
  // reg + shift key mappings for digits and special chars
11
11
  const KEYCODE_KEY_MAPPINGS: { [key: number]: [string, string]} = {
@@ -6,8 +6,8 @@
6
6
  * @see https://sw.kovidgoyal.net/kitty/keyboard-protocol/
7
7
  */
8
8
 
9
- import { IKeyboardEvent, IKeyboardResult, KeyboardResultType } from 'common/Types';
10
- import { C0 } from 'common/data/EscapeSequences';
9
+ import { IKeyboardEvent, IKeyboardResult, KeyboardResultType } from '../Types';
10
+ import { C0 } from '../data/EscapeSequences';
11
11
 
12
12
  /**
13
13
  * Kitty keyboard protocol enhancement flags (bitfield).
@@ -2,8 +2,8 @@
2
2
  * Copyright (c) 2019 The xterm.js authors. All rights reserved.
3
3
  * @license MIT
4
4
  */
5
- import { IUnicodeVersionProvider, UnicodeCharProperties, UnicodeCharWidth } from 'common/services/Services';
6
- import { UnicodeService } from 'common/services/UnicodeService';
5
+ import { IUnicodeVersionProvider, UnicodeCharProperties, UnicodeCharWidth } from '../services/Services';
6
+ import { UnicodeService } from '../services/UnicodeService';
7
7
 
8
8
  const BMP_COMBINING = [
9
9
  [0x0300, 0x036F], [0x0483, 0x0486], [0x0488, 0x0489],
@@ -14,8 +14,8 @@
14
14
  * Rc: Repeat count (usually 1)
15
15
  */
16
16
 
17
- import { IKeyboardEvent, IKeyboardResult, KeyboardResultType } from 'common/Types';
18
- import { C0 } from 'common/data/EscapeSequences';
17
+ import { IKeyboardEvent, IKeyboardResult, KeyboardResultType } from '../Types';
18
+ import { C0 } from '../data/EscapeSequences';
19
19
 
20
20
  /**
21
21
  * Win32 control key state flags (from Windows API).
@@ -4,9 +4,9 @@
4
4
  * @license MIT
5
5
  */
6
6
 
7
- import { TimeoutTimer } from 'common/Async';
8
- import { Disposable, toDisposable } from 'common/Lifecycle';
9
- import { Emitter } from 'common/Event';
7
+ import { TimeoutTimer } from '../Async';
8
+ import { Disposable, toDisposable } from '../Lifecycle';
9
+ import { Emitter } from '../Event';
10
10
 
11
11
  const enum Constants {
12
12
  /**
@@ -3,11 +3,11 @@
3
3
  * @license MIT
4
4
  */
5
5
 
6
- import { IApcHandler, IHandlerCollection, ApcFallbackHandlerType, IApcParser, ISubParserStackState } from 'common/parser/Types';
7
- import { ParserConstants } from 'common/parser/Constants';
8
- import { utf32ToString } from 'common/input/TextDecoder';
9
- import { IDisposable } from 'common/Types';
10
- import { LimitedStringBuilder } from 'common/StringBuilder';
6
+ import { IApcHandler, IHandlerCollection, ApcFallbackHandlerType, IApcParser, ISubParserStackState } from './Types';
7
+ import { ParserConstants } from './Constants';
8
+ import { utf32ToString } from '../input/TextDecoder';
9
+ import { IDisposable } from '../Types';
10
+ import { LimitedStringBuilder } from '../StringBuilder';
11
11
 
12
12
  const EMPTY_HANDLERS: IApcHandler[] = [];
13
13
 
@@ -3,12 +3,12 @@
3
3
  * @license MIT
4
4
  */
5
5
 
6
- import { IDisposable } from 'common/Types';
7
- import { IDcsHandler, IParams, IHandlerCollection, IDcsParser, DcsFallbackHandlerType, ISubParserStackState } from 'common/parser/Types';
8
- import { utf32ToString } from 'common/input/TextDecoder';
9
- import { Params } from 'common/parser/Params';
10
- import { ParserConstants } from 'common/parser/Constants';
11
- import { LimitedStringBuilder } from 'common/StringBuilder';
6
+ import { IDisposable } from '../Types';
7
+ import { IDcsHandler, IParams, IHandlerCollection, IDcsParser, DcsFallbackHandlerType, ISubParserStackState } from './Types';
8
+ import { utf32ToString } from '../input/TextDecoder';
9
+ import { Params } from './Params';
10
+ import { ParserConstants } from './Constants';
11
+ import { LimitedStringBuilder } from '../StringBuilder';
12
12
 
13
13
  const EMPTY_HANDLERS: IDcsHandler[] = [];
14
14
 
@@ -3,14 +3,14 @@
3
3
  * @license MIT
4
4
  */
5
5
 
6
- import { IParsingState, IDcsHandler, IEscapeSequenceParser, IParams, IOscHandler, IHandlerCollection, CsiHandlerType, OscFallbackHandlerType, IOscParser, EscHandlerType, IDcsParser, DcsFallbackHandlerType, IFunctionIdentifier, ExecuteFallbackHandlerType, CsiFallbackHandlerType, EscFallbackHandlerType, PrintHandlerType, PrintFallbackHandlerType, ExecuteHandlerType, IParserStackState, ParserStackType, ResumableHandlersType, IApcHandler, IApcParser, ApcFallbackHandlerType } from 'common/parser/Types';
7
- import { ParserState, ParserAction } from 'common/parser/Constants';
8
- import { Disposable, toDisposable } from 'common/Lifecycle';
9
- import { IDisposable } from 'common/Types';
10
- import { Params } from 'common/parser/Params';
11
- import { OscParser } from 'common/parser/OscParser';
12
- import { DcsParser } from 'common/parser/DcsParser';
13
- import { ApcParser } from 'common/parser/ApcParser';
6
+ import { IParsingState, IDcsHandler, IEscapeSequenceParser, IParams, IOscHandler, IHandlerCollection, CsiHandlerType, OscFallbackHandlerType, IOscParser, EscHandlerType, IDcsParser, DcsFallbackHandlerType, IFunctionIdentifier, ExecuteFallbackHandlerType, CsiFallbackHandlerType, EscFallbackHandlerType, PrintHandlerType, PrintFallbackHandlerType, ExecuteHandlerType, IParserStackState, ParserStackType, ResumableHandlersType, IApcHandler, IApcParser, ApcFallbackHandlerType } from './Types';
7
+ import { ParserState, ParserAction } from './Constants';
8
+ import { Disposable, toDisposable } from '../Lifecycle';
9
+ import { IDisposable } from '../Types';
10
+ import { Params } from './Params';
11
+ import { OscParser } from './OscParser';
12
+ import { DcsParser } from './DcsParser';
13
+ import { ApcParser } from './ApcParser';
14
14
 
15
15
  /**
16
16
  * VT commands done by the parser
@@ -3,11 +3,11 @@
3
3
  * @license MIT
4
4
  */
5
5
 
6
- import { IOscHandler, IHandlerCollection, OscFallbackHandlerType, IOscParser, ISubParserStackState } from 'common/parser/Types';
7
- import { OscState, ParserConstants } from 'common/parser/Constants';
8
- import { utf32ToString } from 'common/input/TextDecoder';
9
- import { IDisposable } from 'common/Types';
10
- import { LimitedStringBuilder } from 'common/StringBuilder';
6
+ import { IOscHandler, IHandlerCollection, OscFallbackHandlerType, IOscParser, ISubParserStackState } from './Types';
7
+ import { OscState, ParserConstants } from './Constants';
8
+ import { utf32ToString } from '../input/TextDecoder';
9
+ import { IDisposable } from '../Types';
10
+ import { LimitedStringBuilder } from '../StringBuilder';
11
11
 
12
12
  const EMPTY_HANDLERS: IOscHandler[] = [];
13
13
 
@@ -2,7 +2,7 @@
2
2
  * Copyright (c) 2019 The xterm.js authors. All rights reserved.
3
3
  * @license MIT
4
4
  */
5
- import { IParams, ParamsArray } from 'common/parser/Types';
5
+ import { IParams, ParamsArray } from './Types';
6
6
 
7
7
  const enum Constants {
8
8
  /**
@@ -3,8 +3,8 @@
3
3
  * @license MIT
4
4
  */
5
5
 
6
- import { IDisposable } from 'common/Types';
7
- import { ParserState } from 'common/parser/Constants';
6
+ import { IDisposable } from '../Types';
7
+ import { ParserState } from './Constants';
8
8
 
9
9
 
10
10
  /** sequence params serialized to js arrays */
@@ -4,9 +4,9 @@
4
4
  */
5
5
 
6
6
  import { IBuffer as IBufferApi, IBufferLine as IBufferLineApi, IBufferCell as IBufferCellApi } from '@xterm/xterm';
7
- import { IBuffer } from 'common/buffer/Types';
8
- import { BufferLineApiView } from 'common/public/BufferLineApiView';
9
- import { CellData } from 'common/buffer/CellData';
7
+ import { IBuffer } from '../buffer/Types';
8
+ import { BufferLineApiView } from './BufferLineApiView';
9
+ import { CellData } from '../buffer/CellData';
10
10
 
11
11
  export class BufferApiView implements IBufferApi {
12
12
  constructor(
@@ -3,8 +3,8 @@
3
3
  * @license MIT
4
4
  */
5
5
 
6
- import { CellData } from 'common/buffer/CellData';
7
- import { IBufferLine, ICellData } from 'common/Types';
6
+ import { CellData } from '../buffer/CellData';
7
+ import { IBufferLine, ICellData } from '../Types';
8
8
  import { IBufferCell as IBufferCellApi, IBufferLine as IBufferLineApi } from '@xterm/xterm';
9
9
 
10
10
  export class BufferLineApiView implements IBufferLineApi {
@@ -4,10 +4,10 @@
4
4
  */
5
5
 
6
6
  import { IBuffer as IBufferApi, IBufferNamespace as IBufferNamespaceApi } from '@xterm/xterm';
7
- import { BufferApiView } from 'common/public/BufferApiView';
8
- import { ICoreTerminal } from 'common/Types';
9
- import { Disposable } from 'common/Lifecycle';
10
- import { Emitter } from 'common/Event';
7
+ import { BufferApiView } from './BufferApiView';
8
+ import { ICoreTerminal } from '../Types';
9
+ import { Disposable } from '../Lifecycle';
10
+ import { Emitter } from '../Event';
11
11
 
12
12
  export class BufferNamespaceApi extends Disposable implements IBufferNamespaceApi {
13
13
  private _normal: BufferApiView;
@@ -3,9 +3,9 @@
3
3
  * @license MIT
4
4
  */
5
5
 
6
- import { IParams } from 'common/parser/Types';
6
+ import { IParams } from '../parser/Types';
7
7
  import { IDisposable, IFunctionIdentifier, IParser } from '@xterm/xterm';
8
- import { ICoreTerminal } from 'common/Types';
8
+ import { ICoreTerminal } from '../Types';
9
9
 
10
10
  export class ParserApi implements IParser {
11
11
  constructor(private _core: ICoreTerminal) { }
@@ -3,7 +3,7 @@
3
3
  * @license MIT
4
4
  */
5
5
 
6
- import { ICoreTerminal } from 'common/Types';
6
+ import { ICoreTerminal } from '../Types';
7
7
  import { IUnicodeHandling, IUnicodeVersionProvider } from '@xterm/xterm';
8
8
 
9
9
  export class UnicodeApi implements IUnicodeHandling {
@@ -3,12 +3,12 @@
3
3
  * @license MIT
4
4
  */
5
5
 
6
- import { Disposable } from 'common/Lifecycle';
7
- import { IAttributeData, IBufferLine } from 'common/Types';
8
- import { BufferSet } from 'common/buffer/BufferSet';
9
- import { IBuffer, IBufferSet } from 'common/buffer/Types';
10
- import { IBufferService, ILogService, IOptionsService, type IBufferResizeEvent } from 'common/services/Services';
11
- import { Emitter } from 'common/Event';
6
+ import { Disposable } from '../Lifecycle';
7
+ import { IAttributeData, IBufferLine } from '../Types';
8
+ import { BufferSet } from '../buffer/BufferSet';
9
+ import { IBuffer, IBufferSet } from '../buffer/Types';
10
+ import { IBufferService, ILogService, IOptionsService, type IBufferResizeEvent } from './Services';
11
+ import { Emitter } from '../Event';
12
12
 
13
13
  export const enum BufferServiceConstants {
14
14
  MINIMUM_COLS = 2, // Less than 2 can mess with wide chars
@@ -3,8 +3,8 @@
3
3
  * @license MIT
4
4
  */
5
5
 
6
- import { ICharsetService } from 'common/services/Services';
7
- import { ICharset } from 'common/Types';
6
+ import { ICharsetService } from './Services';
7
+ import { ICharset } from '../Types';
8
8
 
9
9
  export class CharsetService implements ICharsetService {
10
10
  public serviceBrand: any;
@@ -3,10 +3,10 @@
3
3
  * @license MIT
4
4
  */
5
5
 
6
- import { Disposable } from 'common/Lifecycle';
7
- import { IDecPrivateModes, IKittyKeyboardState, IModes } from 'common/Types';
8
- import { IBufferService, ICoreService, ILogService, IOptionsService } from 'common/services/Services';
9
- import { Emitter } from 'common/Event';
6
+ import { Disposable } from '../Lifecycle';
7
+ import { IDecPrivateModes, IKittyKeyboardState, IModes } from '../Types';
8
+ import { IBufferService, ICoreService, ILogService, IOptionsService } from './Services';
9
+ import { Emitter } from '../Event';
10
10
 
11
11
  const DEFAULT_MODES: IModes = Object.freeze({
12
12
  insertMode: false
@@ -3,15 +3,15 @@
3
3
  * @license MIT
4
4
  */
5
5
 
6
- import type { IDeleteEvent, IInsertEvent } from 'common/CircularList';
7
- import { MicrotaskTimer } from 'common/Async';
8
- import { css } from 'common/Color';
9
- import { Disposable, DisposableStore, MutableDisposable, toDisposable } from 'common/Lifecycle';
10
- import { IBufferService, IDecorationService, IInternalDecoration, ILogService } from 'common/services/Services';
11
- import { SortedList } from 'common/SortedList';
12
- import { IColor, ICircularList } from 'common/Types';
6
+ import type { IDeleteEvent, IInsertEvent } from '../CircularList';
7
+ import { MicrotaskTimer } from '../Async';
8
+ import { css } from '../Color';
9
+ import { Disposable, DisposableStore, MutableDisposable, toDisposable } from '../Lifecycle';
10
+ import { IBufferService, IDecorationService, IInternalDecoration, ILogService } from './Services';
11
+ import { SortedList } from '../SortedList';
12
+ import { IColor, ICircularList } from '../Types';
13
13
  import { IDecoration, IDecorationOptions, IMarker } from '@xterm/xterm';
14
- import { Emitter } from 'common/Event';
14
+ import { Emitter } from '../Event';
15
15
 
16
16
  // Work variables to avoid garbage collection
17
17
  let $xmin = 0;
@@ -9,8 +9,8 @@
9
9
  * Licensed under the MIT License. See License.txt in the project root for license information.
10
10
  *--------------------------------------------------------------------------------------------*/
11
11
 
12
- import { IInstantiationService, IServiceIdentifier } from 'common/services/Services';
13
- import { getServiceDependencies } from 'common/services/ServiceRegistry';
12
+ import { IInstantiationService, IServiceIdentifier } from './Services';
13
+ import { getServiceDependencies } from './ServiceRegistry';
14
14
 
15
15
  export class ServiceCollection {
16
16
 
@@ -3,8 +3,8 @@
3
3
  * @license MIT
4
4
  */
5
5
 
6
- import { Disposable } from 'common/Lifecycle';
7
- import { ILogService, IOptionsService, LogLevelEnum } from 'common/services/Services';
6
+ import { Disposable } from '../Lifecycle';
7
+ import { ILogService, IOptionsService, LogLevelEnum } from './Services';
8
8
 
9
9
  type LogType = (message?: any, ...optionalParams: any[]) => void;
10
10
 
@@ -2,10 +2,10 @@
2
2
  * Copyright (c) 2019 The xterm.js authors. All rights reserved.
3
3
  * @license MIT
4
4
  */
5
- import { IMouseStateService } from 'common/services/Services';
6
- import { ICoreMouseProtocol, ICoreMouseEvent, CoreMouseEncoding, CoreMouseEventType, CoreMouseButton, CoreMouseAction } from 'common/Types';
7
- import { Disposable } from 'common/Lifecycle';
8
- import { Emitter } from 'common/Event';
5
+ import { IMouseStateService } from './Services';
6
+ import { ICoreMouseProtocol, ICoreMouseEvent, CoreMouseEncoding, CoreMouseEventType, CoreMouseButton, CoreMouseAction } from '../Types';
7
+ import { Disposable } from '../Lifecycle';
8
+ import { Emitter } from '../Event';
9
9
 
10
10
  /**
11
11
  * Supported default protocols.
@@ -3,11 +3,11 @@
3
3
  * @license MIT
4
4
  */
5
5
 
6
- import { Disposable, toDisposable } from 'common/Lifecycle';
7
- import { isMac } from 'common/Platform';
8
- import { CursorStyle, IDisposable } from 'common/Types';
9
- import { FontWeight, IOptionsService, ITerminalOptions } from 'common/services/Services';
10
- import { Emitter } from 'common/Event';
6
+ import { Disposable, toDisposable } from '../Lifecycle';
7
+ import { isMac } from '../Platform';
8
+ import { CursorStyle, IDisposable } from '../Types';
9
+ import { FontWeight, IOptionsService, ITerminalOptions } from './Services';
10
+ import { Emitter } from '../Event';
11
11
 
12
12
  export const DEFAULT_OPTIONS: Readonly<Required<ITerminalOptions>> = {
13
13
  cols: 80,
@@ -2,8 +2,8 @@
2
2
  * Copyright (c) 2022 The xterm.js authors. All rights reserved.
3
3
  * @license MIT
4
4
  */
5
- import { IBufferService, IOscLinkService } from 'common/services/Services';
6
- import { IMarker, IOscLinkData } from 'common/Types';
5
+ import { IBufferService, IOscLinkService } from './Services';
6
+ import { IMarker, IOscLinkData } from '../Types';
7
7
 
8
8
  export class OscLinkService implements IOscLinkService {
9
9
  public serviceBrand: any;
@@ -9,7 +9,7 @@
9
9
  * Licensed under the MIT License. See License.txt in the project root for license information.
10
10
  *--------------------------------------------------------------------------------------------*/
11
11
 
12
- import { IServiceIdentifier } from 'common/services/Services';
12
+ import { IServiceIdentifier } from './Services';
13
13
 
14
14
  const enum Constants {
15
15
  DI_TARGET = 'di$target',
@@ -4,10 +4,10 @@
4
4
  */
5
5
 
6
6
  import type { IDecoration, IDecorationOptions, ILinkHandler, ILogger, IWindowsPty, IOverviewRulerOptions } from '@xterm/xterm';
7
- import { CoreMouseEncoding, CoreMouseEventType, CursorInactiveStyle, CursorStyle, IAttributeData, ICharset, IColor, ICoreMouseEvent, ICoreMouseProtocol, IDecPrivateModes, IDisposable, IKittyKeyboardState, IModes, IOscLinkData, IWindowOptions } from 'common/Types';
8
- import { IBuffer, IBufferSet } from 'common/buffer/Types';
9
- import { createDecorator } from 'common/services/ServiceRegistry';
10
- import type { Emitter, IEvent } from 'common/Event';
7
+ import { CoreMouseEncoding, CoreMouseEventType, CursorInactiveStyle, CursorStyle, IAttributeData, ICharset, IColor, ICoreMouseEvent, ICoreMouseProtocol, IDecPrivateModes, IDisposable, IKittyKeyboardState, IModes, IOscLinkData, IWindowOptions } from '../Types';
8
+ import { IBuffer, IBufferSet } from '../buffer/Types';
9
+ import { createDecorator } from './ServiceRegistry';
10
+ import type { Emitter, IEvent } from '../Event';
11
11
 
12
12
  export const IBufferService = createDecorator<IBufferService>('BufferService');
13
13
  export interface IBufferService {
@@ -3,9 +3,9 @@
3
3
  * @license MIT
4
4
  */
5
5
 
6
- import { UnicodeV6 } from 'common/input/UnicodeV6';
7
- import { IUnicodeService, IUnicodeVersionProvider, UnicodeCharProperties, UnicodeCharWidth } from 'common/services/Services';
8
- import { Emitter } from 'common/Event';
6
+ import { UnicodeV6 } from '../input/UnicodeV6';
7
+ import { IUnicodeService, IUnicodeVersionProvider, UnicodeCharProperties, UnicodeCharWidth } from './Services';
8
+ import { Emitter } from '../Event';
9
9
 
10
10
  export class UnicodeService implements IUnicodeService {
11
11
  public serviceBrand: any;