@theia/timeline 1.67.0-next.3 → 1.67.0-next.56

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 (48) hide show
  1. package/README.md +1 -0
  2. package/package.json +4 -4
  3. package/src/browser/style/index.css +4 -11
  4. package/src/browser/timeline-contribution.ts +2 -2
  5. package/src/browser/timeline-empty-widget.tsx +2 -1
  6. package/src/browser/timeline-tree-model.ts +10 -3
  7. package/src/browser/timeline-tree-widget.tsx +47 -11
  8. package/src/common/timeline-model.ts +6 -1
  9. package/lib/browser/timeline-context-key-service.d.ts +0 -8
  10. package/lib/browser/timeline-context-key-service.d.ts.map +0 -1
  11. package/lib/browser/timeline-context-key-service.js +0 -44
  12. package/lib/browser/timeline-context-key-service.js.map +0 -1
  13. package/lib/browser/timeline-contribution.d.ts +0 -18
  14. package/lib/browser/timeline-contribution.d.ts.map +0 -1
  15. package/lib/browser/timeline-contribution.js +0 -121
  16. package/lib/browser/timeline-contribution.js.map +0 -1
  17. package/lib/browser/timeline-empty-widget.d.ts +0 -9
  18. package/lib/browser/timeline-empty-widget.d.ts.map +0 -1
  19. package/lib/browser/timeline-empty-widget.js +0 -41
  20. package/lib/browser/timeline-empty-widget.js.map +0 -1
  21. package/lib/browser/timeline-frontend-module.d.ts +0 -6
  22. package/lib/browser/timeline-frontend-module.d.ts.map +0 -1
  23. package/lib/browser/timeline-frontend-module.js +0 -69
  24. package/lib/browser/timeline-frontend-module.js.map +0 -1
  25. package/lib/browser/timeline-service.d.ts +0 -26
  26. package/lib/browser/timeline-service.d.ts.map +0 -1
  27. package/lib/browser/timeline-service.js +0 -106
  28. package/lib/browser/timeline-service.js.map +0 -1
  29. package/lib/browser/timeline-tree-model.d.ts +0 -11
  30. package/lib/browser/timeline-tree-model.d.ts.map +0 -1
  31. package/lib/browser/timeline-tree-model.js +0 -64
  32. package/lib/browser/timeline-tree-model.js.map +0 -1
  33. package/lib/browser/timeline-tree-widget.d.ts +0 -37
  34. package/lib/browser/timeline-tree-widget.d.ts.map +0 -1
  35. package/lib/browser/timeline-tree-widget.js +0 -119
  36. package/lib/browser/timeline-tree-widget.js.map +0 -1
  37. package/lib/browser/timeline-widget.d.ts +0 -30
  38. package/lib/browser/timeline-widget.d.ts.map +0 -1
  39. package/lib/browser/timeline-widget.js +0 -187
  40. package/lib/browser/timeline-widget.js.map +0 -1
  41. package/lib/common/timeline-model.d.ts +0 -57
  42. package/lib/common/timeline-model.d.ts.map +0 -1
  43. package/lib/common/timeline-model.js +0 -18
  44. package/lib/common/timeline-model.js.map +0 -1
  45. package/lib/package.spec.d.ts +0 -1
  46. package/lib/package.spec.d.ts.map +0 -1
  47. package/lib/package.spec.js +0 -26
  48. package/lib/package.spec.js.map +0 -1
@@ -1,57 +0,0 @@
1
- import { Command, Disposable, Event } from '@theia/core/lib/common';
2
- import { URI } from '@theia/core/shared/vscode-uri';
3
- export interface TimelineItem {
4
- source: string;
5
- uri: string;
6
- handle: string;
7
- timestamp: number;
8
- label: string;
9
- id?: string;
10
- description?: string;
11
- detail?: string;
12
- command?: Command & {
13
- arguments?: unknown[];
14
- };
15
- contextValue?: string;
16
- }
17
- export interface TimelineChangeEvent {
18
- id: string;
19
- uri: URI | undefined;
20
- reset: boolean;
21
- }
22
- export interface TimelineProvidersChangeEvent {
23
- readonly added?: string[];
24
- readonly removed?: string[];
25
- }
26
- export interface TimelineOptions {
27
- cursor?: string;
28
- limit?: number | {
29
- timestamp: number;
30
- id?: string;
31
- };
32
- }
33
- export interface InternalTimelineOptions {
34
- cacheResults: boolean;
35
- resetCache: boolean;
36
- }
37
- export interface Timeline {
38
- source: string;
39
- paging?: {
40
- readonly cursor: string | undefined;
41
- };
42
- items: TimelineItem[];
43
- }
44
- export interface TimelineProviderDescriptor {
45
- id: string;
46
- label: string;
47
- scheme: string | string[];
48
- }
49
- export interface TimelineProvider extends TimelineProviderDescriptor, Disposable {
50
- onDidChange?: Event<TimelineChangeEvent>;
51
- provideTimeline(uri: URI, options: TimelineOptions, internalOptions?: InternalTimelineOptions): Promise<Timeline | undefined>;
52
- }
53
- export interface TimelineSource {
54
- id: string;
55
- label: string;
56
- }
57
- //# sourceMappingURL=timeline-model.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"timeline-model.d.ts","sourceRoot":"","sources":["../../src/common/timeline-model.ts"],"names":[],"mappings":"AAsBA,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,KAAK,EAAE,MAAM,wBAAwB,CAAC;AACpE,OAAO,EAAE,GAAG,EAAE,MAAM,+BAA+B,CAAC;AAEpD,MAAM,WAAW,YAAY;IACzB,MAAM,EAAE,MAAM,CAAC;IACf,GAAG,EAAE,MAAM,CAAC;IACZ,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,OAAO,CAAC,EAAE,OAAO,GAAG;QAAE,SAAS,CAAC,EAAE,OAAO,EAAE,CAAA;KAAE,CAAC;IAC9C,YAAY,CAAC,EAAE,MAAM,CAAC;CACzB;AAED,MAAM,WAAW,mBAAmB;IAChC,EAAE,EAAE,MAAM,CAAC;IACX,GAAG,EAAE,GAAG,GAAG,SAAS,CAAC;IACrB,KAAK,EAAE,OAAO,CAAA;CACjB;AAED,MAAM,WAAW,4BAA4B;IACzC,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,EAAE,CAAC;IAC1B,QAAQ,CAAC,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;CAC/B;AAED,MAAM,WAAW,eAAe;IAC5B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,GAAG;QAAE,SAAS,EAAE,MAAM,CAAC;QAAC,EAAE,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;CACvD;AAED,MAAM,WAAW,uBAAuB;IACpC,YAAY,EAAE,OAAO,CAAC;IACtB,UAAU,EAAE,OAAO,CAAC;CACvB;AAED,MAAM,WAAW,QAAQ;IACrB,MAAM,EAAE,MAAM,CAAC;IAEf,MAAM,CAAC,EAAE;QACL,QAAQ,CAAC,MAAM,EAAE,MAAM,GAAG,SAAS,CAAC;KACvC,CAAA;IAED,KAAK,EAAE,YAAY,EAAE,CAAC;CACzB;AAED,MAAM,WAAW,0BAA0B;IACvC,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;CAC7B;AAED,MAAM,WAAW,gBAAiB,SAAQ,0BAA0B,EAAE,UAAU;IAC5E,WAAW,CAAC,EAAE,KAAK,CAAC,mBAAmB,CAAC,CAAC;IACzC,eAAe,CAAC,GAAG,EAAE,GAAG,EAAE,OAAO,EAAE,eAAe,EAAE,eAAe,CAAC,EAAE,uBAAuB,GAAG,OAAO,CAAC,QAAQ,GAAG,SAAS,CAAC,CAAC;CACjI;AAED,MAAM,WAAW,cAAc;IAC3B,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;CACjB"}
@@ -1,18 +0,0 @@
1
- "use strict";
2
- // *****************************************************************************
3
- // Copyright (C) 2020 RedHat and others.
4
- //
5
- // This program and the accompanying materials are made available under the
6
- // terms of the Eclipse Public License v. 2.0 which is available at
7
- // http://www.eclipse.org/legal/epl-2.0.
8
- //
9
- // This Source Code may also be made available under the following Secondary
10
- // Licenses when the conditions for such availability set forth in the Eclipse
11
- // Public License v. 2.0 are satisfied: GNU General Public License, version 2
12
- // with the GNU Classpath Exception which is available at
13
- // https://www.gnu.org/software/classpath/license.html.
14
- //
15
- // SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
16
- // *****************************************************************************
17
- Object.defineProperty(exports, "__esModule", { value: true });
18
- //# sourceMappingURL=timeline-model.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"timeline-model.js","sourceRoot":"","sources":["../../src/common/timeline-model.ts"],"names":[],"mappings":";AAAA,gFAAgF;AAChF,wCAAwC;AACxC,EAAE;AACF,2EAA2E;AAC3E,mEAAmE;AACnE,wCAAwC;AACxC,EAAE;AACF,4EAA4E;AAC5E,8EAA8E;AAC9E,6EAA6E;AAC7E,yDAAyD;AACzD,uDAAuD;AACvD,EAAE;AACF,gFAAgF;AAChF,gFAAgF"}
@@ -1 +0,0 @@
1
- //# sourceMappingURL=package.spec.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"package.spec.d.ts","sourceRoot":"","sources":["../src/package.spec.ts"],"names":[],"mappings":""}
@@ -1,26 +0,0 @@
1
- // *****************************************************************************
2
- // Copyright (C) 2019 TypeFox and others.
3
- //
4
- // This program and the accompanying materials are made available under the
5
- // terms of the Eclipse Public License v. 2.0 which is available at
6
- // http://www.eclipse.org/legal/epl-2.0.
7
- //
8
- // This Source Code may also be made available under the following Secondary
9
- // Licenses when the conditions for such availability set forth in the Eclipse
10
- // Public License v. 2.0 are satisfied: GNU General Public License, version 2
11
- // with the GNU Classpath Exception which is available at
12
- // https://www.gnu.org/software/classpath/license.html.
13
- //
14
- // SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
15
- // *****************************************************************************
16
- /* note: this bogus test file is required so that
17
- we are able to run mocha unit tests on this
18
- package, without having any actual unit tests in it.
19
- This way a coverage report will be generated,
20
- showing 0% coverage, instead of no report.
21
- This file can be removed once we have real unit
22
- tests in place. */
23
- describe('timeline package', () => {
24
- it('support code coverage statistics', () => true);
25
- });
26
- //# sourceMappingURL=package.spec.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"package.spec.js","sourceRoot":"","sources":["../src/package.spec.ts"],"names":[],"mappings":"AAAA,gFAAgF;AAChF,yCAAyC;AACzC,EAAE;AACF,2EAA2E;AAC3E,mEAAmE;AACnE,wCAAwC;AACxC,EAAE;AACF,4EAA4E;AAC5E,8EAA8E;AAC9E,6EAA6E;AAC7E,yDAAyD;AACzD,uDAAuD;AACvD,EAAE;AACF,gFAAgF;AAChF,gFAAgF;AAEhF;;;;;;qBAMqB;AAErB,QAAQ,CAAC,kBAAkB,EAAE,GAAG,EAAE;IAE9B,EAAE,CAAC,kCAAkC,EAAE,GAAG,EAAE,CAAC,IAAI,CAAC,CAAC;AAEvD,CAAC,CAAC,CAAC"}