@theia/timeline 1.67.0-next.13 → 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
package/README.md CHANGED
@@ -16,6 +16,7 @@ The `@theia/timeline` extension adds Timeline view for visualizing time-series e
16
16
 
17
17
  ## Additional Information
18
18
 
19
+ - [API documentation for `@theia/timeline`](https://eclipse-theia.github.io/theia/docs/next/modules/_theia_timeline.html)
19
20
  - [Theia - GitHub](https://github.com/eclipse-theia/theia)
20
21
  - [Theia - Website](https://theia-ide.org/)
21
22
  - [VS Code Timeline Documentation](https://code.visualstudio.com/updates/v1_44#_timeline-view)
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@theia/timeline",
3
- "version": "1.67.0-next.13+c409d5d18",
3
+ "version": "1.67.0-next.56+d8f18cc386c",
4
4
  "description": "Theia - Timeline Extension",
5
5
  "dependencies": {
6
- "@theia/core": "1.67.0-next.13+c409d5d18",
7
- "@theia/navigator": "1.67.0-next.13+c409d5d18",
6
+ "@theia/core": "1.67.0-next.56+d8f18cc386c",
7
+ "@theia/navigator": "1.67.0-next.56+d8f18cc386c",
8
8
  "tslib": "^2.6.2"
9
9
  },
10
10
  "publishConfig": {
@@ -45,5 +45,5 @@
45
45
  "nyc": {
46
46
  "extends": "../../configs/nyc.json"
47
47
  },
48
- "gitHead": "c409d5d18d8c4f5a722f87b37ea9d6fd5af47ea8"
48
+ "gitHead": "d8f18cc386c45a736cd193d42eab02c8f64c6b10"
49
49
  }
@@ -28,22 +28,15 @@
28
28
  }
29
29
 
30
30
  .theia-timeline .timeline-item {
31
- font-size: var(--theia-ui-font-size1);
32
31
  display: flex;
33
- overflow: hidden;
34
32
  align-items: center;
35
- justify-content: space-between;
36
- height: var(--theia-content-line-height);
37
- line-height: var(--theia-content-line-height);
38
- padding: 0px calc(var(--theia-ui-padding) / 2);
39
33
  }
40
34
 
41
- .theia-timeline .timeline-item:hover {
42
- cursor: pointer;
35
+ .theia-timeline .timeline-item-icon,
36
+ .theia-timeline .timeline-item-label {
37
+ margin-right: 6px;
43
38
  }
44
39
 
45
- .theia-timeline .timeline-item .label {
40
+ .theia-timeline .timeline-item-description {
46
41
  font-size: var(--theia-ui-font-size0);
47
- margin-left: var(--theia-ui-padding);
48
- opacity: 0.7;
49
42
  }
@@ -26,7 +26,7 @@ import {
26
26
  import { EXPLORER_VIEW_CONTAINER_ID } from '@theia/navigator/lib/browser';
27
27
  import { TimelineWidget } from './timeline-widget';
28
28
  import { TimelineService } from './timeline-service';
29
- import { CommandContribution, CommandRegistry } from '@theia/core/lib/common';
29
+ import { CommandContribution, CommandRegistry, nls } from '@theia/core/lib/common';
30
30
  import { TabBarToolbarContribution, TabBarToolbarRegistry } from '@theia/core/lib/browser/shell/tab-bar-toolbar';
31
31
  import { toArray } from '@theia/core/shared/@lumino/algorithm';
32
32
  import { LOAD_MORE_COMMAND } from './timeline-tree-model';
@@ -50,7 +50,7 @@ export class TimelineContribution implements CommandContribution, TabBarToolbarC
50
50
  private readonly toolbarItem = {
51
51
  id: 'timeline-refresh-toolbar-item',
52
52
  command: 'timeline-refresh',
53
- tooltip: 'Refresh',
53
+ tooltip: nls.localizeByDefault('Refresh'),
54
54
  icon: codicon('refresh')
55
55
  };
56
56
  registerToolbarItems(registry: TabBarToolbarRegistry): void {
@@ -18,6 +18,7 @@ import { injectable } from '@theia/core/shared/inversify';
18
18
  import { ReactWidget } from '@theia/core/lib/browser';
19
19
  import { AlertMessage } from '@theia/core/lib/browser/widgets/alert-message';
20
20
  import * as React from '@theia/core/shared/react';
21
+ import { nls } from '@theia/core';
21
22
 
22
23
  @injectable()
23
24
  export class TimelineEmptyWidget extends ReactWidget {
@@ -33,7 +34,7 @@ export class TimelineEmptyWidget extends ReactWidget {
33
34
  protected render(): React.ReactNode {
34
35
  return <AlertMessage
35
36
  type='WARNING'
36
- header='The active editor cannot provide timeline information.'
37
+ header={nls.localizeByDefault('The active editor cannot provide timeline information.')}
37
38
  />;
38
39
  }
39
40
 
@@ -21,7 +21,7 @@ import {
21
21
  TreeModelImpl,
22
22
  } from '@theia/core/lib/browser/tree';
23
23
  import { TimelineItem } from '../common/timeline-model';
24
- import { Command } from '@theia/core';
24
+ import { Command, nls } from '@theia/core';
25
25
 
26
26
  export const LOAD_MORE_COMMAND: Command = {
27
27
  id: 'timeline-load-more'
@@ -46,14 +46,21 @@ export class TimelineTreeModel extends TreeModelImpl {
46
46
  timelineItem: item,
47
47
  id: item.id ? item.id : item.timestamp.toString(),
48
48
  parent: root,
49
- detail: item.detail,
49
+ detail: item.tooltip,
50
50
  selected: false,
51
51
  visible: true
52
52
  } as TimelineNode)
53
53
  );
54
54
  let loadMore;
55
55
  if (hasMoreItems) {
56
- const loadMoreNode: TimelineItem = { label: 'Load-more', timestamp: 0, handle: '', uri: '', source: '' };
56
+ const loadMoreNode: TimelineItem = {
57
+ label: nls.localizeByDefault('Load more'),
58
+ timestamp: 0,
59
+ handle: '',
60
+ uri: '',
61
+ source: '',
62
+ icon: 'blank'
63
+ };
57
64
  loadMoreNode.command = LOAD_MORE_COMMAND;
58
65
  loadMore = {
59
66
  timelineItem: loadMoreNode,
@@ -16,13 +16,15 @@
16
16
 
17
17
  import { injectable, inject } from '@theia/core/shared/inversify';
18
18
  import { CommandRegistry, MenuModelRegistry, MenuPath } from '@theia/core/lib/common';
19
- import { TreeWidget, TreeProps, NodeProps, TREE_NODE_SEGMENT_GROW_CLASS } from '@theia/core/lib/browser/tree';
20
- import { ContextMenuRenderer } from '@theia/core/lib/browser';
19
+ import { TreeWidget, TreeProps, NodeProps, TREE_NODE_SEGMENT_GROW_CLASS, TREE_NODE_INFO_CLASS } from '@theia/core/lib/browser/tree';
20
+ import { codicon, ContextMenuRenderer, HoverService } from '@theia/core/lib/browser';
21
21
  import { TimelineNode, TimelineTreeModel } from './timeline-tree-model';
22
22
  import { TimelineService } from './timeline-service';
23
23
  import { TimelineContextKeyService } from './timeline-context-key-service';
24
24
  import * as React from '@theia/core/shared/react';
25
25
  import { TimelineItem } from '../common/timeline-model';
26
+ import { MarkdownString } from '@theia/core/lib/common/markdown-rendering';
27
+ import { isThemeIcon } from '@theia/core/lib/common/theme';
26
28
 
27
29
  export const TIMELINE_ITEM_CONTEXT_MENU: MenuPath = ['timeline-item-context-menu'];
28
30
 
@@ -36,6 +38,7 @@ export class TimelineTreeWidget extends TreeWidget {
36
38
  @inject(TimelineContextKeyService) protected readonly contextKeys: TimelineContextKeyService;
37
39
  @inject(TimelineService) protected readonly timelineService: TimelineService;
38
40
  @inject(CommandRegistry) protected readonly commandRegistry: CommandRegistry;
41
+ @inject(HoverService) protected readonly hoverService: HoverService;
39
42
 
40
43
  constructor(
41
44
  @inject(TreeProps) props: TreeProps,
@@ -53,7 +56,8 @@ export class TimelineTreeWidget extends TreeWidget {
53
56
  timelineItem={node.timelineItem}
54
57
  commandRegistry={this.commandRegistry}
55
58
  contextKeys={this.contextKeys}
56
- contextMenuRenderer={this.contextMenuRenderer} />;
59
+ contextMenuRenderer={this.contextMenuRenderer}
60
+ hoverService={this.hoverService} />;
57
61
  return React.createElement('div', attributes, content);
58
62
  }
59
63
 
@@ -76,21 +80,42 @@ export namespace TimelineItemNode {
76
80
  commandRegistry: CommandRegistry;
77
81
  contextKeys: TimelineContextKeyService;
78
82
  contextMenuRenderer: ContextMenuRenderer;
83
+ hoverService: HoverService;
79
84
  }
80
85
  }
81
86
 
82
87
  export class TimelineItemNode extends React.Component<TimelineItemNode.Props> {
83
88
  override render(): JSX.Element | undefined {
84
- const { label, description, detail } = this.props.timelineItem;
85
- return <div className='timeline-item'
86
- title={detail}
89
+ const { label, description, tooltip, accessibilityInformation, icon } = this.props.timelineItem;
90
+
91
+ let iconString: string = '';
92
+ if (icon) {
93
+ if (typeof icon === 'string') {
94
+ iconString = codicon(icon);
95
+ } else if (isThemeIcon(icon)) {
96
+ iconString = codicon(icon.id);
97
+ }
98
+ }
99
+
100
+ return <div className='theia-TreeNodeContent'
87
101
  onContextMenu={this.renderContextMenu}
88
- onClick={this.open}>
89
- <div className={`noWrapInfo ${TREE_NODE_SEGMENT_GROW_CLASS}`} >
90
- <span className='name'>{label}</span>
91
- <span className='label'>{description}</span>
102
+ onClick={this.open}
103
+ onMouseEnter={e => this.requestHover(e, tooltip)}
104
+ aria-label={accessibilityInformation?.label}
105
+ role={accessibilityInformation?.role}
106
+ >
107
+ <div className={`timeline-item noWrapInfo ${TREE_NODE_SEGMENT_GROW_CLASS} no-select`}>
108
+ <span className={`${iconString} timeline-item-icon`} />
109
+ <div className='noWrapInfo'>
110
+ <span className='timeline-item-label'>
111
+ {label}
112
+ </span>
113
+ <span className={`timeline-item-description ${TREE_NODE_INFO_CLASS}`}>
114
+ {description}
115
+ </span>
116
+ </div>
92
117
  </div>
93
- </div>;
118
+ </div >;
94
119
  }
95
120
 
96
121
  protected open = () => {
@@ -101,6 +126,17 @@ export class TimelineItemNode extends React.Component<TimelineItemNode.Props> {
101
126
  }
102
127
  };
103
128
 
129
+ protected requestHover(e: React.MouseEvent<HTMLElement, MouseEvent>, content?: string | MarkdownString): void {
130
+ if (content) {
131
+ this.props.hoverService.requestHover({
132
+ content,
133
+ target: e.currentTarget,
134
+ position: 'right',
135
+ interactive: MarkdownString.is(content),
136
+ });
137
+ }
138
+ }
139
+
104
140
  protected renderContextMenu = (event: React.MouseEvent<HTMLElement>) => {
105
141
  event.preventDefault();
106
142
  event.stopPropagation();
@@ -22,6 +22,9 @@
22
22
 
23
23
  import { Command, Disposable, Event } from '@theia/core/lib/common';
24
24
  import { URI } from '@theia/core/shared/vscode-uri';
25
+ import { ThemeIcon } from '@theia/core/lib/common/theme';
26
+ import { MarkdownString } from '@theia/core/lib/common/markdown-rendering';
27
+ import { AccessibilityInformation } from '@theia/core/lib/common/accessibility';
25
28
 
26
29
  export interface TimelineItem {
27
30
  source: string;
@@ -30,10 +33,12 @@ export interface TimelineItem {
30
33
  timestamp: number;
31
34
  label: string;
32
35
  id?: string;
36
+ icon?: string | { light: string; dark: string } | ThemeIcon
33
37
  description?: string;
34
- detail?: string;
38
+ tooltip?: string | MarkdownString | undefined;
35
39
  command?: Command & { arguments?: unknown[] };
36
40
  contextValue?: string;
41
+ accessibilityInformation?: AccessibilityInformation;
37
42
  }
38
43
 
39
44
  export interface TimelineChangeEvent {
@@ -1,8 +0,0 @@
1
- import { ContextKeyService, ContextKey } from '@theia/core/lib/browser/context-key-service';
2
- export declare class TimelineContextKeyService {
3
- protected readonly contextKeyService: ContextKeyService;
4
- protected _timelineItem: ContextKey<string | undefined>;
5
- get timelineItem(): ContextKey<string | undefined>;
6
- protected init(): void;
7
- }
8
- //# sourceMappingURL=timeline-context-key-service.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"timeline-context-key-service.d.ts","sourceRoot":"","sources":["../../src/browser/timeline-context-key-service.ts"],"names":[],"mappings":"AAiBA,OAAO,EAAE,iBAAiB,EAAE,UAAU,EAAE,MAAM,6CAA6C,CAAC;AAE5F,qBACa,yBAAyB;IAGlC,SAAS,CAAC,QAAQ,CAAC,iBAAiB,EAAE,iBAAiB,CAAC;IAExD,SAAS,CAAC,aAAa,EAAE,UAAU,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACxD,IAAI,YAAY,IAAI,UAAU,CAAC,MAAM,GAAG,SAAS,CAAC,CAEjD;IAGD,SAAS,CAAC,IAAI,IAAI,IAAI;CAIzB"}
@@ -1,44 +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
- exports.TimelineContextKeyService = void 0;
19
- const tslib_1 = require("tslib");
20
- const inversify_1 = require("@theia/core/shared/inversify");
21
- const context_key_service_1 = require("@theia/core/lib/browser/context-key-service");
22
- let TimelineContextKeyService = class TimelineContextKeyService {
23
- get timelineItem() {
24
- return this._timelineItem;
25
- }
26
- init() {
27
- this._timelineItem = this.contextKeyService.createKey('timelineItem', undefined);
28
- }
29
- };
30
- exports.TimelineContextKeyService = TimelineContextKeyService;
31
- tslib_1.__decorate([
32
- (0, inversify_1.inject)(context_key_service_1.ContextKeyService),
33
- tslib_1.__metadata("design:type", Object)
34
- ], TimelineContextKeyService.prototype, "contextKeyService", void 0);
35
- tslib_1.__decorate([
36
- (0, inversify_1.postConstruct)(),
37
- tslib_1.__metadata("design:type", Function),
38
- tslib_1.__metadata("design:paramtypes", []),
39
- tslib_1.__metadata("design:returntype", void 0)
40
- ], TimelineContextKeyService.prototype, "init", null);
41
- exports.TimelineContextKeyService = TimelineContextKeyService = tslib_1.__decorate([
42
- (0, inversify_1.injectable)()
43
- ], TimelineContextKeyService);
44
- //# sourceMappingURL=timeline-context-key-service.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"timeline-context-key-service.js","sourceRoot":"","sources":["../../src/browser/timeline-context-key-service.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;;;;AAEhF,4DAAiF;AACjF,qFAA4F;AAGrF,IAAM,yBAAyB,GAA/B,MAAM,yBAAyB;IAMlC,IAAI,YAAY;QACZ,OAAO,IAAI,CAAC,aAAa,CAAC;IAC9B,CAAC;IAGS,IAAI;QACV,IAAI,CAAC,aAAa,GAAG,IAAI,CAAC,iBAAiB,CAAC,SAAS,CAAqB,cAAc,EAAE,SAAS,CAAC,CAAC;IACzG,CAAC;CAEJ,CAAA;AAfY,8DAAyB;AAGf;IADlB,IAAA,kBAAM,EAAC,uCAAiB,CAAC;;oEAC8B;AAQ9C;IADT,IAAA,yBAAa,GAAE;;;;qDAGf;oCAbQ,yBAAyB;IADrC,IAAA,sBAAU,GAAE;GACA,yBAAyB,CAerC"}
@@ -1,18 +0,0 @@
1
- import { WidgetManager, ApplicationShell } from '@theia/core/lib/browser';
2
- import { TimelineService } from './timeline-service';
3
- import { CommandContribution, CommandRegistry } from '@theia/core/lib/common';
4
- import { TabBarToolbarContribution, TabBarToolbarRegistry } from '@theia/core/lib/browser/shell/tab-bar-toolbar';
5
- export declare class TimelineContribution implements CommandContribution, TabBarToolbarContribution {
6
- protected readonly widgetManager: WidgetManager;
7
- protected readonly timelineService: TimelineService;
8
- protected readonly commandRegistry: CommandRegistry;
9
- protected readonly tabBarToolbar: TabBarToolbarRegistry;
10
- protected readonly shell: ApplicationShell;
11
- /** @deprecated @since 1.28.0. Import from timeline-tree-model instead */
12
- static readonly LOAD_MORE_COMMAND: import("@theia/core/lib/common").Command;
13
- private readonly toolbarItem;
14
- registerToolbarItems(registry: TabBarToolbarRegistry): void;
15
- registerCommands(commands: CommandRegistry): void;
16
- private checkWidget;
17
- }
18
- //# sourceMappingURL=timeline-contribution.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"timeline-contribution.d.ts","sourceRoot":"","sources":["../../src/browser/timeline-contribution.ts"],"names":[],"mappings":"AAiBA,OAAO,EAEH,aAAa,EAEb,gBAAgB,EAGnB,MAAM,yBAAyB,CAAC;AAGjC,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AACrD,OAAO,EAAE,mBAAmB,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAC9E,OAAO,EAAE,yBAAyB,EAAE,qBAAqB,EAAE,MAAM,+CAA+C,CAAC;AAIjH,qBACa,oBAAqB,YAAW,mBAAmB,EAAE,yBAAyB;IAGvF,SAAS,CAAC,QAAQ,CAAC,aAAa,EAAE,aAAa,CAAC;IAEhD,SAAS,CAAC,QAAQ,CAAC,eAAe,EAAE,eAAe,CAAC;IAEpD,SAAS,CAAC,QAAQ,CAAC,eAAe,EAAE,eAAe,CAAC;IAEpD,SAAS,CAAC,QAAQ,CAAC,aAAa,EAAE,qBAAqB,CAAC;IAExD,SAAS,CAAC,QAAQ,CAAC,KAAK,EAAE,gBAAgB,CAAC;IAE3C,yEAAyE;IACzE,gBAAuB,iBAAiB,2CAAqB;IAC7D,OAAO,CAAC,QAAQ,CAAC,WAAW,CAK1B;IACF,oBAAoB,CAAC,QAAQ,EAAE,qBAAqB,GAAG,IAAI;IAG3D,gBAAgB,CAAC,QAAQ,EAAE,eAAe,GAAG,IAAI;IA+CjD,OAAO,CAAC,WAAW;CAMtB"}
@@ -1,121 +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
- exports.TimelineContribution = void 0;
19
- const tslib_1 = require("tslib");
20
- const inversify_1 = require("@theia/core/shared/inversify");
21
- const browser_1 = require("@theia/core/lib/browser");
22
- const browser_2 = require("@theia/navigator/lib/browser");
23
- const timeline_widget_1 = require("./timeline-widget");
24
- const timeline_service_1 = require("./timeline-service");
25
- const common_1 = require("@theia/core/lib/common");
26
- const tab_bar_toolbar_1 = require("@theia/core/lib/browser/shell/tab-bar-toolbar");
27
- const algorithm_1 = require("@theia/core/shared/@lumino/algorithm");
28
- const timeline_tree_model_1 = require("./timeline-tree-model");
29
- let TimelineContribution = class TimelineContribution {
30
- constructor() {
31
- this.toolbarItem = {
32
- id: 'timeline-refresh-toolbar-item',
33
- command: 'timeline-refresh',
34
- tooltip: 'Refresh',
35
- icon: (0, browser_1.codicon)('refresh')
36
- };
37
- }
38
- registerToolbarItems(registry) {
39
- registry.registerItem(this.toolbarItem);
40
- }
41
- registerCommands(commands) {
42
- const attachTimeline = async (explorer) => {
43
- const timeline = await this.widgetManager.getOrCreateWidget(timeline_widget_1.TimelineWidget.ID);
44
- if (explorer instanceof browser_1.ViewContainer && explorer.getTrackableWidgets().indexOf(timeline) === -1) {
45
- explorer.addWidget(timeline, { initiallyCollapsed: true });
46
- }
47
- };
48
- this.widgetManager.onWillCreateWidget(async (event) => {
49
- if (event.widget.id === browser_2.EXPLORER_VIEW_CONTAINER_ID && this.timelineService.getSources().length > 0) {
50
- event.waitUntil(attachTimeline(event.widget));
51
- }
52
- });
53
- this.timelineService.onDidChangeProviders(async (event) => {
54
- const explorer = await this.widgetManager.getWidget(browser_2.EXPLORER_VIEW_CONTAINER_ID);
55
- if (explorer && event.added && event.added.length > 0) {
56
- attachTimeline(explorer);
57
- }
58
- else if (event.removed && this.timelineService.getSources().length === 0) {
59
- const timeline = await this.widgetManager.getWidget(timeline_widget_1.TimelineWidget.ID);
60
- if (timeline) {
61
- timeline.close();
62
- }
63
- }
64
- });
65
- commands.registerCommand(timeline_tree_model_1.LOAD_MORE_COMMAND, {
66
- execute: async () => {
67
- const widget = (0, algorithm_1.toArray)(this.shell.mainPanel.widgets()).find(w => browser_1.Navigatable.is(w) && w.isVisible && !w.isHidden);
68
- if (browser_1.Navigatable.is(widget)) {
69
- const uri = widget.getResourceUri();
70
- const timeline = await this.widgetManager.getWidget(timeline_widget_1.TimelineWidget.ID);
71
- if (uri && timeline) {
72
- timeline.loadTimeline(uri, false);
73
- }
74
- }
75
- }
76
- });
77
- commands.registerCommand({ id: this.toolbarItem.command }, {
78
- execute: widget => this.checkWidget(widget, async () => {
79
- const timeline = await this.widgetManager.getWidget(timeline_widget_1.TimelineWidget.ID);
80
- if (timeline) {
81
- timeline.update();
82
- }
83
- }),
84
- isEnabled: widget => this.checkWidget(widget, () => true),
85
- isVisible: widget => this.checkWidget(widget, () => true)
86
- });
87
- }
88
- checkWidget(widget, cb) {
89
- if (widget instanceof timeline_widget_1.TimelineWidget && widget.id === timeline_widget_1.TimelineWidget.ID) {
90
- return cb();
91
- }
92
- return false;
93
- }
94
- };
95
- exports.TimelineContribution = TimelineContribution;
96
- /** @deprecated @since 1.28.0. Import from timeline-tree-model instead */
97
- TimelineContribution.LOAD_MORE_COMMAND = timeline_tree_model_1.LOAD_MORE_COMMAND;
98
- tslib_1.__decorate([
99
- (0, inversify_1.inject)(browser_1.WidgetManager),
100
- tslib_1.__metadata("design:type", browser_1.WidgetManager)
101
- ], TimelineContribution.prototype, "widgetManager", void 0);
102
- tslib_1.__decorate([
103
- (0, inversify_1.inject)(timeline_service_1.TimelineService),
104
- tslib_1.__metadata("design:type", timeline_service_1.TimelineService)
105
- ], TimelineContribution.prototype, "timelineService", void 0);
106
- tslib_1.__decorate([
107
- (0, inversify_1.inject)(common_1.CommandRegistry),
108
- tslib_1.__metadata("design:type", common_1.CommandRegistry)
109
- ], TimelineContribution.prototype, "commandRegistry", void 0);
110
- tslib_1.__decorate([
111
- (0, inversify_1.inject)(tab_bar_toolbar_1.TabBarToolbarRegistry),
112
- tslib_1.__metadata("design:type", tab_bar_toolbar_1.TabBarToolbarRegistry)
113
- ], TimelineContribution.prototype, "tabBarToolbar", void 0);
114
- tslib_1.__decorate([
115
- (0, inversify_1.inject)(browser_1.ApplicationShell),
116
- tslib_1.__metadata("design:type", browser_1.ApplicationShell)
117
- ], TimelineContribution.prototype, "shell", void 0);
118
- exports.TimelineContribution = TimelineContribution = tslib_1.__decorate([
119
- (0, inversify_1.injectable)()
120
- ], TimelineContribution);
121
- //# sourceMappingURL=timeline-contribution.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"timeline-contribution.js","sourceRoot":"","sources":["../../src/browser/timeline-contribution.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;;;;AAEhF,4DAAkE;AAClE,qDAOiC;AACjC,0DAA0E;AAC1E,uDAAmD;AACnD,yDAAqD;AACrD,mDAA8E;AAC9E,mFAAiH;AACjH,oEAA+D;AAC/D,+DAA0D;AAGnD,IAAM,oBAAoB,GAA1B,MAAM,oBAAoB;IAA1B;QAec,gBAAW,GAAG;YAC3B,EAAE,EAAE,+BAA+B;YACnC,OAAO,EAAE,kBAAkB;YAC3B,OAAO,EAAE,SAAS;YAClB,IAAI,EAAE,IAAA,iBAAO,EAAC,SAAS,CAAC;SAC3B,CAAC;IAyDN,CAAC;IAxDG,oBAAoB,CAAC,QAA+B;QAChD,QAAQ,CAAC,YAAY,C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E,CAAC;oBACX,QAAQ,CAAC,MAAM,EAAE,CAAC;gBACtB,CAAC;YACL,CAAC,CAAC;YACF,SAAS,EAAE,MAAM,CAAC,EAAE,CAAC,IAAI,CAAC,WAAW,CAAC,MAAM,EAAE,GAAG,EAAE,CAAC,IAAI,CAAC;YACzD,SAAS,EAAE,MAAM,CAAC,EAAE,CAAC,IAAI,CAAC,WAAW,CAAC,MAAM,EAAE,GAAG,EAAE,CAAC,IAAI,CAAC;SAC5D,CAAC,CAAC;IACP,CAAC;IAEO,WAAW,CAAI,MAAc,EAAE,EAAW;QAC9C,IAAI,MAAM,YAAY,gCAAc,IAAI,MAAM,CAAC,EAAE,KAAK,gCAAc,CAAC,EAAE,EAAE,CAAC;YACtE,OAAO,EAAE,EAAE,CAAC;QAChB,CAAC;QACD,OAAO,KAAK,CAAC;IACjB,CAAC;;AA5EQ,oDAAoB;AAa7B,yEAAyE;AAClD,sCAAiB,GAAG,uCAAiB,AAApB,CAAqB;AAX1C;IADlB,IAAA,kBAAM,EAAC,uBAAa,CAAC;sCACY,uBAAa;2DAAC;AAE7B;IADlB,IAAA,kBAAM,EAAC,kCAAe,CAAC;sCACY,kCAAe;6DAAC;AAEjC;IADlB,IAAA,kBAAM,EAAC,wBAAe,CAAC;sCACY,wBAAe;6DAAC;AAEjC;IADlB,IAAA,kBAAM,EAAC,uCAAqB,CAAC;sCACI,uCAAqB;2DAAC;AAErC;IADlB,IAAA,kBAAM,EAAC,0BAAgB,CAAC;sCACC,0BAAgB;mDAAC;+BAXlC,oBAAoB;IADhC,IAAA,sBAAU,GAAE;GACA,oBAAoB,CA6EhC"}
@@ -1,9 +0,0 @@
1
- /// <reference types="react" />
2
- import { ReactWidget } from '@theia/core/lib/browser';
3
- import * as React from '@theia/core/shared/react';
4
- export declare class TimelineEmptyWidget extends ReactWidget {
5
- static ID: string;
6
- constructor();
7
- protected render(): React.ReactNode;
8
- }
9
- //# sourceMappingURL=timeline-empty-widget.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"timeline-empty-widget.d.ts","sourceRoot":"","sources":["../../src/browser/timeline-empty-widget.tsx"],"names":[],"mappings":";AAiBA,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAEtD,OAAO,KAAK,KAAK,MAAM,0BAA0B,CAAC;AAElD,qBACa,mBAAoB,SAAQ,WAAW;IAEhD,MAAM,CAAC,EAAE,SAA2B;;IAQpC,SAAS,CAAC,MAAM,IAAI,KAAK,CAAC,SAAS;CAOtC"}
@@ -1,41 +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
- var TimelineEmptyWidget_1;
18
- Object.defineProperty(exports, "__esModule", { value: true });
19
- exports.TimelineEmptyWidget = void 0;
20
- const tslib_1 = require("tslib");
21
- const inversify_1 = require("@theia/core/shared/inversify");
22
- const browser_1 = require("@theia/core/lib/browser");
23
- const alert_message_1 = require("@theia/core/lib/browser/widgets/alert-message");
24
- const React = require("@theia/core/shared/react");
25
- let TimelineEmptyWidget = TimelineEmptyWidget_1 = class TimelineEmptyWidget extends browser_1.ReactWidget {
26
- constructor() {
27
- super();
28
- this.addClass('theia-timeline-empty');
29
- this.id = TimelineEmptyWidget_1.ID;
30
- }
31
- render() {
32
- return React.createElement(alert_message_1.AlertMessage, { type: 'WARNING', header: 'The active editor cannot provide timeline information.' });
33
- }
34
- };
35
- exports.TimelineEmptyWidget = TimelineEmptyWidget;
36
- TimelineEmptyWidget.ID = 'timeline-empty-widget';
37
- exports.TimelineEmptyWidget = TimelineEmptyWidget = TimelineEmptyWidget_1 = tslib_1.__decorate([
38
- (0, inversify_1.injectable)(),
39
- tslib_1.__metadata("design:paramtypes", [])
40
- ], TimelineEmptyWidget);
41
- //# sourceMappingURL=timeline-empty-widget.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"timeline-empty-widget.js","sourceRoot":"","sources":["../../src/browser/timeline-empty-widget.tsx"],"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;;;;;AAEhF,4DAA0D;AAC1D,qDAAsD;AACtD,iFAA6E;AAC7E,kDAAkD;AAG3C,IAAM,mBAAmB,2BAAzB,MAAM,mBAAoB,SAAQ,qBAAW;IAIhD;QACI,KAAK,EAAE,CAAC;QACR,IAAI,CAAC,QAAQ,CAAC,sBAAsB,CAAC,CAAC;QACtC,IAAI,CAAC,EAAE,GAAG,qBAAmB,CAAC,EAAE,CAAC;IACrC,CAAC;IAES,MAAM;QACZ,OAAO,oBAAC,4BAAY,IAChB,IAAI,EAAC,SAAS,EACd,MAAM,EAAC,wDAAwD,GACjE,CAAC;IACP,CAAC;;AAfQ,kDAAmB;AAErB,sBAAE,GAAG,uBAAuB,AAA1B,CAA2B;8BAF3B,mBAAmB;IAD/B,IAAA,sBAAU,GAAE;;GACA,mBAAmB,CAiB/B"}
@@ -1,6 +0,0 @@
1
- import { Container, ContainerModule, interfaces } from '@theia/core/shared/inversify';
2
- import '../../src/browser/style/index.css';
3
- declare const _default: ContainerModule;
4
- export default _default;
5
- export declare function createTimelineTreeContainer(parent: interfaces.Container): Container;
6
- //# sourceMappingURL=timeline-frontend-module.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"timeline-frontend-module.d.ts","sourceRoot":"","sources":["../../src/browser/timeline-frontend-module.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAE,SAAS,EAAE,eAAe,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAWtF,OAAO,mCAAmC,CAAC;;AAI3C,wBA0BG;AAEH,wBAAgB,2BAA2B,CAAC,MAAM,EAAE,UAAU,CAAC,SAAS,GAAG,SAAS,CAWnF"}
@@ -1,69 +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
- exports.createTimelineTreeContainer = void 0;
19
- const inversify_1 = require("@theia/core/shared/inversify");
20
- const widget_manager_1 = require("@theia/core/lib/browser/widget-manager");
21
- const timeline_service_1 = require("./timeline-service");
22
- const timeline_widget_1 = require("./timeline-widget");
23
- const timeline_tree_widget_1 = require("./timeline-tree-widget");
24
- const browser_1 = require("@theia/core/lib/browser");
25
- const timeline_tree_model_1 = require("./timeline-tree-model");
26
- const timeline_empty_widget_1 = require("./timeline-empty-widget");
27
- const timeline_context_key_service_1 = require("./timeline-context-key-service");
28
- const timeline_contribution_1 = require("./timeline-contribution");
29
- require("../../src/browser/style/index.css");
30
- const common_1 = require("@theia/core/lib/common");
31
- const tab_bar_toolbar_1 = require("@theia/core/lib/browser/shell/tab-bar-toolbar");
32
- exports.default = new inversify_1.ContainerModule(bind => {
33
- bind(timeline_contribution_1.TimelineContribution).toSelf().inSingletonScope();
34
- bind(common_1.CommandContribution).toService(timeline_contribution_1.TimelineContribution);
35
- bind(tab_bar_toolbar_1.TabBarToolbarContribution).toService(timeline_contribution_1.TimelineContribution);
36
- bind(timeline_context_key_service_1.TimelineContextKeyService).toSelf().inSingletonScope();
37
- bind(timeline_service_1.TimelineService).toSelf().inSingletonScope();
38
- bind(timeline_widget_1.TimelineWidget).toSelf();
39
- bind(widget_manager_1.WidgetFactory).toDynamicValue(({ container }) => ({
40
- id: timeline_widget_1.TimelineWidget.ID,
41
- createWidget: () => container.get(timeline_widget_1.TimelineWidget)
42
- })).inSingletonScope();
43
- bind(timeline_tree_widget_1.TimelineTreeWidget).toDynamicValue(ctx => {
44
- const child = createTimelineTreeContainer(ctx.container);
45
- return child.get(timeline_tree_widget_1.TimelineTreeWidget);
46
- });
47
- bind(widget_manager_1.WidgetFactory).toDynamicValue(({ container }) => ({
48
- id: timeline_tree_widget_1.TimelineTreeWidget.ID,
49
- createWidget: () => container.get(timeline_tree_widget_1.TimelineTreeWidget)
50
- })).inSingletonScope();
51
- bind(timeline_empty_widget_1.TimelineEmptyWidget).toSelf();
52
- bind(widget_manager_1.WidgetFactory).toDynamicValue(({ container }) => ({
53
- id: timeline_empty_widget_1.TimelineEmptyWidget.ID,
54
- createWidget: () => container.get(timeline_empty_widget_1.TimelineEmptyWidget)
55
- })).inSingletonScope();
56
- });
57
- function createTimelineTreeContainer(parent) {
58
- const child = (0, browser_1.createTreeContainer)(parent, {
59
- props: {
60
- virtualized: true,
61
- search: true
62
- },
63
- widget: timeline_tree_widget_1.TimelineTreeWidget,
64
- model: timeline_tree_model_1.TimelineTreeModel
65
- });
66
- return child;
67
- }
68
- exports.createTimelineTreeContainer = createTimelineTreeContainer;
69
- //# sourceMappingURL=timeline-frontend-module.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"timeline-frontend-module.js","sourceRoot":"","sources":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