@difizen/libro-terminal 0.3.16 → 1.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/es/command.d.ts CHANGED
@@ -1,8 +1,8 @@
1
- import type { Command, CommandRegistry, KeybindingRegistry } from '@difizen/mana-app';
2
- import { ConfigurationService, KeybindingContribution } from '@difizen/mana-app';
3
- import { SlotViewManager } from '@difizen/mana-app';
4
- import { ViewManager } from '@difizen/mana-app';
5
- import { CommandContribution } from '@difizen/mana-app';
1
+ import type { Command, CommandRegistry, KeybindingRegistry } from '@difizen/libro-common/app';
2
+ import { ConfigurationService, KeybindingContribution } from '@difizen/libro-common/app';
3
+ import { SlotViewManager } from '@difizen/libro-common/app';
4
+ import { ViewManager } from '@difizen/libro-common/app';
5
+ import { CommandContribution } from '@difizen/libro-common/app';
6
6
  import { TerminalManager } from './manager.js';
7
7
  export declare const TerminalCommands: Record<string, Command & {
8
8
  keybind?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"command.d.ts","sourceRoot":"","sources":["../src/command.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,eAAe,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AACtF,OAAO,EAAE,oBAAoB,EAAE,sBAAsB,EAAE,MAAM,mBAAmB,CAAC;AACjF,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAU,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAExD,OAAO,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAGxD,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAG/C,eAAO,MAAM,gBAAgB,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,GAAG;IAAE,OAAO,CAAC,EAAE,MAAM,CAAA;CAAE,CAU3E,CAAC;AAEF,qBACa,2BACX,YAAW,mBAAmB,EAAE,sBAAsB;IAEjC,WAAW,EAAE,WAAW,CAAC;IACrB,SAAS,CAAC,WAAW,EAAE,eAAe,CAAC;IAClC,SAAS,CAAC,MAAM,EAAE,oBAAoB,CAAC;IAC5C,OAAO,EAAE,eAAe,CAAC;IAClD,mBAAmB,CAAC,WAAW,EAAE,kBAAkB,GAAG,IAAI;IAS1D,gBAAgB,CAAC,QAAQ,EAAE,eAAe,GAAG,IAAI;CAqClD"}
1
+ {"version":3,"file":"command.d.ts","sourceRoot":"","sources":["../src/command.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,OAAO,EACP,eAAe,EACf,kBAAkB,EACnB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EACL,oBAAoB,EACpB,sBAAsB,EACvB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAC5D,OAAO,EAAU,WAAW,EAAE,MAAM,2BAA2B,CAAC;AAEhE,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAGhE,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAG/C,eAAO,MAAM,gBAAgB,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,GAAG;IAAE,OAAO,CAAC,EAAE,MAAM,CAAA;CAAE,CAU3E,CAAC;AAEF,qBACa,2BACX,YAAW,mBAAmB,EAAE,sBAAsB;IAEjC,WAAW,EAAE,WAAW,CAAC;IACrB,SAAS,CAAC,WAAW,EAAE,eAAe,CAAC;IAClC,SAAS,CAAC,MAAM,EAAE,oBAAoB,CAAC;IAC5C,OAAO,EAAE,eAAe,CAAC;IAClD,mBAAmB,CAAC,WAAW,EAAE,kBAAkB,GAAG,IAAI;IAS1D,gBAAgB,CAAC,QAAQ,EAAE,eAAe,GAAG,IAAI;CAqClD"}
package/es/command.js CHANGED
@@ -11,11 +11,11 @@ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol"
11
11
  function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
12
12
  function _applyDecoratedDescriptor(target, property, decorators, descriptor, context) { var desc = {}; Object.keys(descriptor).forEach(function (key) { desc[key] = descriptor[key]; }); desc.enumerable = !!desc.enumerable; desc.configurable = !!desc.configurable; if ('value' in desc || desc.initializer) { desc.writable = true; } desc = decorators.slice().reverse().reduce(function (desc, decorator) { return decorator(target, property, desc) || desc; }, desc); if (context && desc.initializer !== void 0) { desc.value = desc.initializer ? desc.initializer.call(context) : void 0; desc.initializer = undefined; } if (desc.initializer === void 0) { Object.defineProperty(target, property, desc); desc = null; } return desc; }
13
13
  function _initializerWarningHelper(descriptor, context) { throw new Error('Decorating class property failed. Please ensure that ' + 'transform-class-properties is enabled and runs after the decorators transform.'); }
14
- import { ConfigurationService, KeybindingContribution } from '@difizen/mana-app';
15
- import { SlotViewManager } from '@difizen/mana-app';
16
- import { inject, ViewManager } from '@difizen/mana-app';
17
- import { singleton } from '@difizen/mana-app';
18
- import { CommandContribution } from '@difizen/mana-app';
14
+ import { ConfigurationService, KeybindingContribution } from '@difizen/libro-common/app';
15
+ import { SlotViewManager } from '@difizen/libro-common/app';
16
+ import { inject, ViewManager } from '@difizen/libro-common/app';
17
+ import { singleton } from '@difizen/libro-common/app';
18
+ import { CommandContribution } from '@difizen/libro-common/app';
19
19
  import { terminalDefaultSlot } from "./configuration.js";
20
20
  import { TerminalManager } from "./manager.js";
21
21
  import { LibroTerminalView } from "./view.js";
@@ -1,5 +1,5 @@
1
- import type { ConfigurationNode } from '@difizen/mana-app';
2
- import { ConfigurationContribution } from '@difizen/mana-app';
1
+ import type { ConfigurationNode } from '@difizen/libro-common/app';
2
+ import { ConfigurationContribution } from '@difizen/libro-common/app';
3
3
  export type TerminalRendererType = 'canvas' | 'dom';
4
4
  export declare const DEFAULT_TERMINAL_RENDERER_TYPE = "canvas";
5
5
  export declare function isTerminalRendererType(arg: any): arg is TerminalRendererType;
@@ -1 +1 @@
1
- {"version":3,"file":"configuration.d.ts","sourceRoot":"","sources":["../src/configuration.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAC3D,OAAO,EAIL,yBAAyB,EAC1B,MAAM,mBAAmB,CAAC;AAE3B,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,mBAAmB,EAAE,iBAAiB,CAAC,MAAM,GAAG,SAAS,CAOrE,CAAC;AAEF,eAAO,MAAM,kBAAkB,EAAE,iBAAiB,CAAC,OAAO,CAQzD,CAAC;AACF,eAAO,MAAM,mBAAmB,EAAE,iBAAiB,CAAC,OAAO,CAQ1D,CAAC;AACF,eAAO,MAAM,4BAA4B,EAAE,iBAAiB,CAAC,MAAM,CAalE,CAAC;AACF,eAAO,MAAM,0BAA0B,EAAE,iBAAiB,CAAC,MAAM,CAShE,CAAC;AACF,eAAO,MAAM,4BAA4B,EAAE,iBAAiB,CAAC,MAAM,CAUlE,CAAC;AACF,eAAO,MAAM,gCAAgC,EAAE,iBAAiB,CAAC,MAAM,CAUtE,CAAC;AACF,eAAO,MAAM,4CAA4C,EAAE,iBAAiB,CAAC,OAAO,CAUjF,CAAC;AACJ,eAAO,MAAM,+BAA+B,EAAE,iBAAiB,CAAC,MAAM,CASrE,CAAC;AACF,eAAO,MAAM,4BAA4B,EAAE,iBAAiB,CAAC,MAAM,CAUlE,CAAC;AACF,eAAO,MAAM,4BAA4B,EAAE,iBAAiB,CAAC,MAAM,CAQlE,CAAC;AACF,eAAO,MAAM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AAE,iBAAiB,CAAC,MAAM,CASnE,CAAC;AACF,eAAO,MAAM,8BAA8B,EAAE,iBAAiB,CAAC,MAAM,GAAG,SAAS,CAShF,CAAC;AACF,eAAO,MAAM,0BAA0B,EAAE,iBAAiB,CAAC,MAAM,GAAG,SAAS,CAQ5E,CAAC;AACF,eAAO,MAAM,4BAA4B,EAAE,iBAAiB,CAAC,MAAM,GAAG,SAAS,CAQ9E,CAAC;AACF,eAAO,MAAM,kCAAkC,EAAE,iBAAiB,CAAC,MAAM,EAAE,CAS1E,CAAC;AACF,eAAO,MAAM,8BAA8B,EAAE,iBAAiB,CAAC,MAAM,EAAE,CAStE,CAAC;AACF,eAAO,MAAM,gCAAgC,EAAE,iBAAiB,CAAC,MAAM,EAAE,CASxE,CAAC;AACF,eAAO,MAAM,+BAA+B,EAAE,iBAAiB,CAAC,MAAM,CAcrE,CAAC;AAEF,qBACa,qBAAsB,YAAW,yBAAyB;IACrE,OAAO,mIAyBL;IAEF,sBAAsB;CAGvB"}
@@ -5,7 +5,7 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
5
5
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
6
6
  function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
7
7
  function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
8
- import { isOSX, isWindows, singleton, ConfigurationContribution } from '@difizen/mana-app';
8
+ import { isOSX, isWindows, singleton, ConfigurationContribution } from '@difizen/libro-common/app';
9
9
  export var DEFAULT_TERMINAL_RENDERER_TYPE = 'canvas';
10
10
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
11
11
  export function isTerminalRendererType(arg) {
@@ -1,7 +1,7 @@
1
1
  /// <reference types="node" resolution-mode="require"/>
2
2
  import { ServerConnection } from '@difizen/libro-kernel';
3
- import type { Disposable, Disposed, Event } from '@difizen/mana-app';
4
- import { Emitter } from '@difizen/mana-app';
3
+ import type { Disposable, Disposed, Event } from '@difizen/libro-common/app';
4
+ import { Emitter } from '@difizen/libro-common/app';
5
5
  import { TerminalOption } from './protocol.js';
6
6
  import type { TerminalMessage, TerminalModel, TerminalConnectionStatus } from './protocol.js';
7
7
  import { TerminalRestAPI } from './restapi.js';
@@ -1 +1 @@
1
- {"version":3,"file":"connection.d.ts","sourceRoot":"","sources":["../src/connection.ts"],"names":[],"mappings":";AAEA,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AACzD,OAAO,KAAK,EAAE,UAAU,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAGrE,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAG5C,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAC/C,OAAO,KAAK,EACV,eAAe,EACf,aAAa,EACb,wBAAwB,EAEzB,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAE/C,qBACa,kBAAmB,YAAW,UAAU,EAAE,QAAQ;IAC7D,SAAS,CAAC,WAAW,gBAAuB;IAC5C,SAAS,CAAC,gBAAgB,2BAAkC;IAC5D,SAAS,CAAC,iBAAiB,EAAE,wBAAwB,CAAgB;IACrE,SAAS,CAAC,wBAAwB,oCAA2C;IAC7E,SAAS,CAAC,KAAK,EAAE,MAAM,CAAC;IACxB,SAAS,CAAC,iBAAiB,CAAC,EAAE,MAAM,CAAC,OAAO,CAAa;IACzD,SAAS,CAAC,GAAG,CAAC,EAAE,SAAS,CAAa;IACtC,SAAS,CAAC,KAAK,aAEb;IACF,SAAS,CAAC,eA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;CACF;AAED,wBAAgB,qBAAqB,CAAC,GAAG,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,GAAG,MAAM,CAItE"}
package/es/connection.js CHANGED
@@ -19,10 +19,10 @@ function _applyDecoratedDescriptor(target, property, decorators, descriptor, con
19
19
  function _initializerWarningHelper(descriptor, context) { throw new Error('Decorating class property failed. Please ensure that ' + 'transform-class-properties is enabled and runs after the decorators transform.'); }
20
20
  import { URL } from '@difizen/libro-common';
21
21
  import { ServerConnection } from '@difizen/libro-kernel';
22
- import { transient } from '@difizen/mana-app';
23
- import { Deferred } from '@difizen/mana-app';
24
- import { Emitter } from '@difizen/mana-app';
25
- import { inject } from '@difizen/mana-app';
22
+ import { transient } from '@difizen/libro-common/app';
23
+ import { Deferred } from '@difizen/libro-common/app';
24
+ import { Emitter } from '@difizen/libro-common/app';
25
+ import { inject } from '@difizen/libro-common/app';
26
26
  import { TerminalOption } from "./protocol.js";
27
27
  import { TerminalRestAPI } from "./restapi.js";
28
28
  export var TerminalConnection = (_dec = transient(), _dec2 = inject(TerminalRestAPI), _dec(_class = (_class2 = /*#__PURE__*/function () {
package/es/manager.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import { Poll } from '@difizen/libro-common';
2
2
  import { ServerConnection } from '@difizen/libro-kernel';
3
- import type { Disposable, Disposed, Event } from '@difizen/mana-app';
4
- import { Emitter } from '@difizen/mana-app';
3
+ import type { Disposable, Disposed, Event } from '@difizen/libro-common/app';
4
+ import { Emitter } from '@difizen/libro-common/app';
5
5
  import type { TerminalConnection } from './connection.js';
6
6
  import type { TerminalModel, TerminalOption } from './protocol.js';
7
7
  import { TerminalConnectionFactory } from './protocol.js';
@@ -1 +1 @@
1
- {"version":3,"file":"manager.d.ts","sourceRoot":"","sources":["../src/manager.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,IAAI,EAAE,MAAM,uBAAuB,CAAC;AAC7C,OAAO,EAAgB,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AACvE,O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G;IACG,QAAQ,CAAC,OAAO,EAAE,cAAc,GAAG,OAAO,CAAC,kBAAkB,CAAC;IAMpE;;OAEG;IACG,QAAQ,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAK3C;;;;OAIG;IACG,WAAW,IAAI,OAAO,CAAC,IAAI,CAAC;IAelC;;OAEG;IACG,cAAc,IAAI,OAAO,CAAC,IAAI,CAAC;IAqCrC;;OAEG;IACH,SAAS,CAAC,UAAU,CAAC,kBAAkB,EAAE,kBAAkB,GAAG,IAAI;IAOlE;;OAEG;IACH,SAAS,CAAC,WAAW,CAAC,kBAAkB,EAAE,kBAAkB,GAAG,IAAI;IAQnE,WAAW,YAAmB,cAAc,iCAoB1C;IAGF,eAAe,UAAW,MAAM,SAW9B;CACH"}
package/es/manager.js CHANGED
@@ -19,9 +19,9 @@ function _initializerWarningHelper(descriptor, context) { throw new Error('Decor
19
19
 
20
20
  import { Poll } from '@difizen/libro-common';
21
21
  import { NetworkError, ServerConnection } from '@difizen/libro-kernel';
22
- import { prop } from '@difizen/mana-app';
23
- import { singleton } from '@difizen/mana-app';
24
- import { Emitter, inject } from '@difizen/mana-app';
22
+ import { prop } from '@difizen/libro-common/app';
23
+ import { singleton } from '@difizen/libro-common/app';
24
+ import { Emitter, inject } from '@difizen/libro-common/app';
25
25
  import { v4 } from 'uuid';
26
26
  import { TerminalConnectionFactory } from "./protocol.js";
27
27
  import { TerminalRestAPI } from "./restapi.js";
package/es/module.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { ManaModule } from '@difizen/mana-app';
1
+ import { ManaModule } from '@difizen/libro-common/app';
2
2
  import './index.less';
3
3
  export declare const TerminalModule: ManaModule;
4
4
  //# sourceMappingURL=module.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../src/module.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAK/C,OAAO,cAAc,CAAC;AAWtB,eAAO,MAAM,cAAc,YA2B1B,CAAC"}
1
+ {"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../src/module.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AAKvD,OAAO,cAAc,CAAC;AAWtB,eAAO,MAAM,cAAc,YA2B1B,CAAC"}
package/es/module.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { KernelSpecRestAPI, ServerConnection, ServerManager } from '@difizen/libro-kernel';
2
- import { ManaModule } from '@difizen/mana-app';
2
+ import { ManaModule } from '@difizen/libro-common/app';
3
3
  import { TerminalCommandContribution } from "./command.js";
4
4
  import { TerminalConfiguration } from "./configuration.js";
5
5
  import { TerminalConnection } from "./connection.js";
package/es/restapi.js CHANGED
@@ -17,7 +17,7 @@ function _initializerWarningHelper(descriptor, context) { throw new Error('Decor
17
17
  import { URL } from '@difizen/libro-common';
18
18
  import { createResponseError } from '@difizen/libro-kernel';
19
19
  import { ServerConnection } from '@difizen/libro-kernel';
20
- import { inject, singleton } from '@difizen/mana-app';
20
+ import { inject, singleton } from '@difizen/libro-common/app';
21
21
  export var TERMINAL_SERVICE_URL = 'api/terminals';
22
22
  export var TerminalRestAPI = (_dec = singleton(), _dec2 = inject(ServerConnection), _dec(_class = (_class2 = /*#__PURE__*/function () {
23
23
  function TerminalRestAPI() {
@@ -1,5 +1,5 @@
1
- import type { StatefulView } from '@difizen/mana-app';
2
- import { BaseView } from '@difizen/mana-app';
1
+ import type { StatefulView } from '@difizen/libro-common/app';
2
+ import { BaseView } from '@difizen/libro-common/app';
3
3
  export declare abstract class BaseStatefulView extends BaseView implements StatefulView {
4
4
  constructor();
5
5
  abstract storeState(): Record<string, any>;
@@ -1 +1 @@
1
- {"version":3,"file":"stateful-view.d.ts","sourceRoot":"","sources":["../src/stateful-view.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACtD,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAE7C,8BAAsB,gBAAiB,SAAQ,QAAS,YAAW,YAAY;;IAU7E,QAAQ,CAAC,UAAU,IAAI,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC;IAC1C,QAAQ,CAAC,YAAY,CAAC,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,IAAI;IAE1D,YAAY;CAGb"}
1
+ {"version":3,"file":"stateful-view.d.ts","sourceRoot":"","sources":["../src/stateful-view.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAC9D,OAAO,EAAE,QAAQ,EAAE,MAAM,2BAA2B,CAAC;AAErD,8BAAsB,gBAAiB,SAAQ,QAAS,YAAW,YAAY;;IAU7E,QAAQ,CAAC,UAAU,IAAI,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC;IAC1C,QAAQ,CAAC,YAAY,CAAC,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,IAAI;IAE1D,YAAY;CAGb"}
@@ -11,7 +11,7 @@ function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) ===
11
11
  function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
12
12
  function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
13
13
  function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
14
- import { BaseView } from '@difizen/mana-app';
14
+ import { BaseView } from '@difizen/libro-common/app';
15
15
  export var BaseStatefulView = /*#__PURE__*/function (_BaseView) {
16
16
  _inherits(BaseStatefulView, _BaseView);
17
17
  var _super = _createSuper(BaseStatefulView);
@@ -1,5 +1,5 @@
1
- import type { ThemeChangeEvent, Event } from '@difizen/mana-app';
2
- import { ColorRegistry } from '@difizen/mana-app';
1
+ import type { ThemeChangeEvent, Event } from '@difizen/libro-common/app';
2
+ import { ColorRegistry } from '@difizen/libro-common/app';
3
3
  import type { ITheme } from 'xterm';
4
4
  /**
5
5
  * It should be aligned with https://github.com/microsoft/vscode/blob/0dfa355b3ad185a6289ba28a99c141ab9e72d2be/src/vs/workbench/contrib/terminal/common/terminalColorRegistry.ts#L40
@@ -1 +1 @@
1
- {"version":3,"file":"theme-service.d.ts","sourceRoot":"","sources":["../src/theme-service.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AACjE,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;QACb,KAAK,EAAE,MAAM,CAAC;QACd,QAAQ,EAAE;YAAE,KAAK,EAAE,GAAG,CAAC;YAAC,IAAI,EAAE,GAAG,CAAC;YAAC,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;SAAE,CAAC;KACzD,CAAC;CAkIH,CAAC;AAEF,qBACa,oBAAoB;IAE/B,SAAS,CAAC,QAAQ,CAAC,aAAa,EAAE,aAAa,CAAC;IAEhD,QAAQ,CAAC,WAAW,EAAE,KAAK,CAAC,gBAAgB,CAAC,CACF;IAE3C,IAAI,KAAK,IAAI,MAAM,CA+BlB;IAED,QAAQ,CAAC,IAAI,GAAE,OAAO,GAAG,MAAM,GAAG,SAAmB,GAAG,MAAM;IAa9D,UAAU,EAAE,MAAM,CAOhB;IAEF,SAAS,EAAE,MAAM,CAOf;CACH"}
1
+ {"version":3,"file":"theme-service.d.ts","sourceRoot":"","sources":["../src/theme-service.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,KAAK,EAAE,MAAM,2BAA2B,CAAC;AACzE,OAAO,EAAE,aAAa,EAAgB,MAAM,2BAA2B,CAAC;AAExE,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAEpC;;GAEG;AACH,eAAO,MAAM,oBAAoB,EAAE;IACjC,CAAC,GAAG,EAAE,MAAM,GAAG;QACb,KAAK,EAAE,MAAM,CAAC;QACd,QAAQ,EAAE;YAAE,KAAK,EAAE,GAAG,CAAC;YAAC,IAAI,EAAE,GAAG,CAAC;YAAC,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;SAAE,CAAC;KACzD,CAAC;CAkIH,CAAC;AAEF,qBACa,oBAAoB;IAE/B,SAAS,CAAC,QAAQ,CAAC,aAAa,EAAE,aAAa,CAAC;IAEhD,QAAQ,CAAC,WAAW,EAAE,KAAK,CAAC,gBAAgB,CAAC,CACF;IAE3C,IAAI,KAAK,IAAI,MAAM,CA+BlB;IAED,QAAQ,CAAC,IAAI,GAAE,OAAO,GAAG,MAAM,GAAG,SAAmB,GAAG,MAAM;IAa9D,UAAU,EAAE,MAAM,CAOhB;IAEF,SAAS,EAAE,MAAM,CAOf;CACH"}
@@ -8,8 +8,8 @@ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol"
8
8
  function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
9
9
  function _applyDecoratedDescriptor(target, property, decorators, descriptor, context) { var desc = {}; Object.keys(descriptor).forEach(function (key) { desc[key] = descriptor[key]; }); desc.enumerable = !!desc.enumerable; desc.configurable = !!desc.configurable; if ('value' in desc || desc.initializer) { desc.writable = true; } desc = decorators.slice().reverse().reduce(function (desc, decorator) { return decorator(target, property, desc) || desc; }, desc); if (context && desc.initializer !== void 0) { desc.value = desc.initializer ? desc.initializer.call(context) : void 0; desc.initializer = undefined; } if (desc.initializer === void 0) { Object.defineProperty(target, property, desc); desc = null; } return desc; }
10
10
  function _initializerWarningHelper(descriptor, context) { throw new Error('Decorating class property failed. Please ensure that ' + 'transform-class-properties is enabled and runs after the decorators transform.'); }
11
- import { ColorRegistry, ThemeService } from '@difizen/mana-app';
12
- import { inject, singleton } from '@difizen/mana-app';
11
+ import { ColorRegistry, ThemeService } from '@difizen/libro-common/app';
12
+ import { inject, singleton } from '@difizen/libro-common/app';
13
13
  /**
14
14
  * It should be aligned with https://github.com/microsoft/vscode/blob/0dfa355b3ad185a6289ba28a99c141ab9e72d2be/src/vs/workbench/contrib/terminal/common/terminalColorRegistry.ts#L40
15
15
  */
package/es/view.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" resolution-mode="require"/>
2
- import { ConfigurationService } from '@difizen/mana-app';
3
- import { Disposable, DisposableCollection, Emitter } from '@difizen/mana-app';
2
+ import { ConfigurationService } from '@difizen/libro-common/app';
3
+ import { Disposable, DisposableCollection, Emitter } from '@difizen/libro-common/app';
4
4
  import type { ITerminalOptions } from 'xterm';
5
5
  import { Terminal } from 'xterm';
6
6
  import { FitAddon } from 'xterm-addon-fit';
@@ -24,7 +24,7 @@ export declare class LibroTerminalView extends BaseStatefulView {
24
24
  protected readonly terminalManager: TerminalManager;
25
25
  protected readonly toDisposeOnConnect: DisposableCollection;
26
26
  protected readonly onDidOpenEmitter: Emitter<boolean>;
27
- readonly onDidOpen: import("@difizen/mana-app").Event<boolean>;
27
+ readonly onDidOpen: import("@difizen/libro-common/app").Event<boolean>;
28
28
  protected readonly onDidOpenFailureEmitter: Emitter<unknown>;
29
29
  protected readonly onSizeChangedEmitter: Emitter<{
30
30
  cols: number;
@@ -95,23 +95,23 @@ export declare class LibroTerminalView extends BaseStatefulView {
95
95
  */
96
96
  protected createTerminal(options: ITerminalOptions): [Terminal, FitAddon];
97
97
  protected addRenderer(term: Terminal): void;
98
- readonly onDidOpenFailure: import("@difizen/mana-app").Event<unknown>;
99
- readonly onSizeChanged: import("@difizen/mana-app").Event<{
98
+ readonly onDidOpenFailure: import("@difizen/libro-common/app").Event<unknown>;
99
+ readonly onSizeChanged: import("@difizen/libro-common/app").Event<{
100
100
  cols: number;
101
101
  rows: number;
102
102
  }>;
103
- readonly onData: import("@difizen/mana-app").Event<string>;
104
- readonly onKey: import("@difizen/mana-app").Event<{
103
+ readonly onData: import("@difizen/libro-common/app").Event<string>;
104
+ readonly onKey: import("@difizen/libro-common/app").Event<{
105
105
  key: string;
106
106
  domEvent: KeyboardEvent;
107
107
  }>;
108
- readonly onDidClose: import("@difizen/mana-app").Event<LibroTerminalView>;
109
- readonly onTitleChange: import("@difizen/mana-app").Event<string>;
108
+ readonly onDidClose: import("@difizen/libro-common/app").Event<LibroTerminalView>;
109
+ readonly onTitleChange: import("@difizen/libro-common/app").Event<string>;
110
110
  /**
111
111
  * Terminal is ready event
112
112
  */
113
113
  get name(): string;
114
- onReady: import("@difizen/mana-app").Event<boolean>;
114
+ onReady: import("@difizen/libro-common/app").Event<boolean>;
115
115
  /**
116
116
  * Check if terminal has any text selected.
117
117
  */
package/es/view.d.ts.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"view.d.ts","sourceRoot":"","sources":["../src/view.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AACzD,OAAO,EACL,UAAU,EACV,oBAAoB,EACpB,OAAO,EAUR,MAAM,mBAAmB,CAAC;AAG3B,OAAO,KAAK,EAAc,gBAAgB,EAAE,MAAM,OAAO,CAAC;AAC1D,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEjC,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;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EK,KAAK,SAAU,MAAM,GAAG,UAAU,KAAG,IAAI,CAE9C;CACH"}
package/es/view.js CHANGED
@@ -27,9 +27,9 @@ function _assertThisInitialized(self) { if (self === void 0) { throw new Referen
27
27
  function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
28
28
  function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
29
29
  import { CodeOutlined } from '@ant-design/icons';
30
- import { ConfigurationService } from '@difizen/mana-app';
31
- import { Disposable, DisposableCollection, Emitter, KeyCode, ViewInstance, ViewOption, inject, isFirefox, isOSX, transient, useInject, view } from '@difizen/mana-app';
32
- import { l10n } from '@difizen/mana-l10n';
30
+ import { ConfigurationService } from '@difizen/libro-common/app';
31
+ import { Disposable, DisposableCollection, Emitter, KeyCode, ViewInstance, ViewOption, inject, isFirefox, isOSX, transient, useInject, view } from '@difizen/libro-common/app';
32
+ import { l10n } from '@difizen/libro-common/l10n';
33
33
  import { forwardRef } from 'react';
34
34
  import { Terminal } from 'xterm';
35
35
  import { CanvasAddon } from 'xterm-addon-canvas';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@difizen/libro-terminal",
3
- "version": "0.3.16",
3
+ "version": "1.0.1",
4
4
  "description": "",
5
5
  "keywords": [
6
6
  "libro"
@@ -31,12 +31,10 @@
31
31
  "src"
32
32
  ],
33
33
  "dependencies": {
34
- "@difizen/libro-core": "^0.3.16",
35
- "@difizen/libro-common": "^0.3.16",
36
- "@difizen/libro-kernel": "^0.3.16",
34
+ "@difizen/libro-core": "^1.0.1",
35
+ "@difizen/libro-common": "^1.0.1",
36
+ "@difizen/libro-kernel": "^1.0.1",
37
37
  "@ant-design/icons": "^5.1.0",
38
- "@difizen/mana-app": "latest",
39
- "@difizen/mana-l10n": "latest",
40
38
  "uuid": "^9.0.0",
41
39
  "xterm-addon-search": "^0.13.0",
42
40
  "xterm": "~5.1.0",
package/src/command.ts CHANGED
@@ -1,9 +1,16 @@
1
- import type { Command, CommandRegistry, KeybindingRegistry } from '@difizen/mana-app';
2
- import { ConfigurationService, KeybindingContribution } from '@difizen/mana-app';
3
- import { SlotViewManager } from '@difizen/mana-app';
4
- import { inject, ViewManager } from '@difizen/mana-app';
5
- import { singleton } from '@difizen/mana-app';
6
- import { CommandContribution } from '@difizen/mana-app';
1
+ import type {
2
+ Command,
3
+ CommandRegistry,
4
+ KeybindingRegistry,
5
+ } from '@difizen/libro-common/app';
6
+ import {
7
+ ConfigurationService,
8
+ KeybindingContribution,
9
+ } from '@difizen/libro-common/app';
10
+ import { SlotViewManager } from '@difizen/libro-common/app';
11
+ import { inject, ViewManager } from '@difizen/libro-common/app';
12
+ import { singleton } from '@difizen/libro-common/app';
13
+ import { CommandContribution } from '@difizen/libro-common/app';
7
14
 
8
15
  import { terminalDefaultSlot } from './configuration.js';
9
16
  import { TerminalManager } from './manager.js';
@@ -1,10 +1,10 @@
1
- import type { ConfigurationNode } from '@difizen/mana-app';
1
+ import type { ConfigurationNode } from '@difizen/libro-common/app';
2
2
  import {
3
3
  isOSX,
4
4
  isWindows,
5
5
  singleton,
6
6
  ConfigurationContribution,
7
- } from '@difizen/mana-app';
7
+ } from '@difizen/libro-common/app';
8
8
 
9
9
  export type TerminalRendererType = 'canvas' | 'dom';
10
10
  export const DEFAULT_TERMINAL_RENDERER_TYPE = 'canvas';
package/src/connection.ts CHANGED
@@ -1,11 +1,11 @@
1
1
  import type { JSONPrimitive } from '@difizen/libro-common';
2
2
  import { URL } from '@difizen/libro-common';
3
3
  import { ServerConnection } from '@difizen/libro-kernel';
4
- import type { Disposable, Disposed, Event } from '@difizen/mana-app';
5
- import { transient } from '@difizen/mana-app';
6
- import { Deferred } from '@difizen/mana-app';
7
- import { Emitter } from '@difizen/mana-app';
8
- import { inject } from '@difizen/mana-app';
4
+ import type { Disposable, Disposed, Event } from '@difizen/libro-common/app';
5
+ import { transient } from '@difizen/libro-common/app';
6
+ import { Deferred } from '@difizen/libro-common/app';
7
+ import { Emitter } from '@difizen/libro-common/app';
8
+ import { inject } from '@difizen/libro-common/app';
9
9
 
10
10
  import { TerminalOption } from './protocol.js';
11
11
  import type {
package/src/manager.ts CHANGED
@@ -3,10 +3,10 @@
3
3
 
4
4
  import { Poll } from '@difizen/libro-common';
5
5
  import { NetworkError, ServerConnection } from '@difizen/libro-kernel';
6
- import type { Disposable, Disposed, Event } from '@difizen/mana-app';
7
- import { prop } from '@difizen/mana-app';
8
- import { singleton } from '@difizen/mana-app';
9
- import { Emitter, inject } from '@difizen/mana-app';
6
+ import type { Disposable, Disposed, Event } from '@difizen/libro-common/app';
7
+ import { prop } from '@difizen/libro-common/app';
8
+ import { singleton } from '@difizen/libro-common/app';
9
+ import { Emitter, inject } from '@difizen/libro-common/app';
10
10
  import { v4 } from 'uuid';
11
11
 
12
12
  import type { TerminalConnection } from './connection.js';
package/src/module.ts CHANGED
@@ -3,7 +3,7 @@ import {
3
3
  ServerConnection,
4
4
  ServerManager,
5
5
  } from '@difizen/libro-kernel';
6
- import { ManaModule } from '@difizen/mana-app';
6
+ import { ManaModule } from '@difizen/libro-common/app';
7
7
 
8
8
  import { TerminalCommandContribution } from './command.js';
9
9
  import { TerminalConfiguration } from './configuration.js';
package/src/restapi.ts CHANGED
@@ -2,7 +2,7 @@ import { URL } from '@difizen/libro-common';
2
2
  import type { ISettings } from '@difizen/libro-kernel';
3
3
  import { createResponseError } from '@difizen/libro-kernel';
4
4
  import { ServerConnection } from '@difizen/libro-kernel';
5
- import { inject, singleton } from '@difizen/mana-app';
5
+ import { inject, singleton } from '@difizen/libro-common/app';
6
6
 
7
7
  import type { TerminalModel, TerminalOption } from './protocol.js';
8
8
 
@@ -1,5 +1,5 @@
1
- import type { StatefulView } from '@difizen/mana-app';
2
- import { BaseView } from '@difizen/mana-app';
1
+ import type { StatefulView } from '@difizen/libro-common/app';
2
+ import { BaseView } from '@difizen/libro-common/app';
3
3
 
4
4
  export abstract class BaseStatefulView extends BaseView implements StatefulView {
5
5
  constructor() {
@@ -1,6 +1,6 @@
1
- import type { ThemeChangeEvent, Event } from '@difizen/mana-app';
2
- import { ColorRegistry, ThemeService } from '@difizen/mana-app';
3
- import { inject, singleton } from '@difizen/mana-app';
1
+ import type { ThemeChangeEvent, Event } from '@difizen/libro-common/app';
2
+ import { ColorRegistry, ThemeService } from '@difizen/libro-common/app';
3
+ import { inject, singleton } from '@difizen/libro-common/app';
4
4
  import type { ITheme } from 'xterm';
5
5
 
6
6
  /**
package/src/view.tsx CHANGED
@@ -1,5 +1,5 @@
1
1
  import { CodeOutlined } from '@ant-design/icons';
2
- import { ConfigurationService } from '@difizen/mana-app';
2
+ import { ConfigurationService } from '@difizen/libro-common/app';
3
3
  import {
4
4
  Disposable,
5
5
  DisposableCollection,
@@ -13,8 +13,8 @@ import {
13
13
  transient,
14
14
  useInject,
15
15
  view,
16
- } from '@difizen/mana-app';
17
- import { l10n } from '@difizen/mana-l10n';
16
+ } from '@difizen/libro-common/app';
17
+ import { l10n } from '@difizen/libro-common/l10n';
18
18
  import { forwardRef } from 'react';
19
19
  import type { FontWeight, ITerminalOptions } from 'xterm';
20
20
  import { Terminal } from 'xterm';