@codingame/monaco-vscode-timeline-service-override 13.1.3 → 13.1.5

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codingame/monaco-vscode-timeline-service-override",
3
- "version": "13.1.3",
3
+ "version": "13.1.5",
4
4
  "private": false,
5
5
  "description": "VSCode public API plugged on the monaco editor - timeline service-override",
6
6
  "keywords": [],
@@ -15,12 +15,12 @@
15
15
  },
16
16
  "type": "module",
17
17
  "dependencies": {
18
- "@codingame/monaco-vscode-65619f8f-0eab-5d8b-855a-43b6353fe527-common": "13.1.3",
19
- "@codingame/monaco-vscode-api": "13.1.3",
20
- "@codingame/monaco-vscode-b71b5434-ce96-5581-8993-e8da380bd63f-common": "13.1.3",
21
- "@codingame/monaco-vscode-cc9ccbec-e2a1-599d-84ae-46f5efc666e3-common": "13.1.3",
22
- "@codingame/monaco-vscode-d6e33d82-c101-549d-a885-0807ab3e0cfb-common": "13.1.3",
23
- "@codingame/monaco-vscode-f48982c4-9e82-55e2-b800-20e6d1e6096f-common": "13.1.3"
18
+ "@codingame/monaco-vscode-65619f8f-0eab-5d8b-855a-43b6353fe527-common": "13.1.5",
19
+ "@codingame/monaco-vscode-api": "13.1.5",
20
+ "@codingame/monaco-vscode-b71b5434-ce96-5581-8993-e8da380bd63f-common": "13.1.5",
21
+ "@codingame/monaco-vscode-cc9ccbec-e2a1-599d-84ae-46f5efc666e3-common": "13.1.5",
22
+ "@codingame/monaco-vscode-d6e33d82-c101-549d-a885-0807ab3e0cfb-common": "13.1.5",
23
+ "@codingame/monaco-vscode-f48982c4-9e82-55e2-b800-20e6d1e6096f-common": "13.1.5"
24
24
  },
25
25
  "main": "index.js",
26
26
  "module": "index.js",
@@ -13,9 +13,9 @@ import { LocalHistoryFileSystemProvider } from './localHistoryFileSystemProvider
13
13
  import { IWorkbenchEnvironmentService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/environment/common/environmentService.service';
14
14
  import { SaveSourceRegistry } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common/editor';
15
15
  import { IConfigurationService } from '@codingame/monaco-vscode-api/vscode/vs/platform/configuration/common/configuration.service';
16
- import { COMPARE_WITH_FILE_LABEL, toDiffEditorArguments } from './localHistoryCommands.js';
16
+ import { toDiffEditorArguments, COMPARE_WITH_FILE_LABEL } from './localHistoryCommands.js';
17
17
  import { MarkdownString } from '@codingame/monaco-vscode-api/vscode/vs/base/common/htmlContent';
18
- import { getLocalHistoryDateFormatter, LOCAL_HISTORY_ICON_ENTRY, LOCAL_HISTORY_MENU_CONTEXT_VALUE } from './localHistory.js';
18
+ import { LOCAL_HISTORY_MENU_CONTEXT_VALUE, LOCAL_HISTORY_ICON_ENTRY, getLocalHistoryDateFormatter } from './localHistory.js';
19
19
  import { Schemas } from '@codingame/monaco-vscode-api/vscode/vs/base/common/network';
20
20
  import { IWorkspaceContextService } from '@codingame/monaco-vscode-api/vscode/vs/platform/workspace/common/workspace.service';
21
21
  import { getVirtualWorkspaceAuthority } from '@codingame/monaco-vscode-d6e33d82-c101-549d-a885-0807ab3e0cfb-common/vscode/vs/platform/workspace/common/virtualWorkspace';
@@ -18,8 +18,8 @@ import { ResourceContextKey } from '@codingame/monaco-vscode-api/vscode/vs/workb
18
18
  import { Codicon } from '@codingame/monaco-vscode-api/vscode/vs/base/common/codicons';
19
19
  import { registerIcon } from '@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/iconRegistry';
20
20
 
21
- const timelineViewIcon = registerIcon('timeline-view-icon', Codicon.history, ( localize(10387, 'View icon of the timeline view.')));
22
- const timelineOpenIcon = registerIcon('timeline-open', Codicon.history, ( localize(10388, 'Icon for the open timeline action.')));
21
+ const timelineViewIcon = registerIcon('timeline-view-icon', Codicon.history, ( localize(10385, 'View icon of the timeline view.')));
22
+ const timelineOpenIcon = registerIcon('timeline-open', Codicon.history, ( localize(10386, 'Icon for the open timeline action.')));
23
23
  class TimelinePaneDescriptor {
24
24
  constructor() {
25
25
  this.id = TimelinePaneId;
@@ -40,14 +40,14 @@ const configurationRegistry = ( Registry.as(Extensions.Configuration));
40
40
  configurationRegistry.registerConfiguration({
41
41
  id: 'timeline',
42
42
  order: 1001,
43
- title: ( localize(10389, "Timeline")),
43
+ title: ( localize(10387, "Timeline")),
44
44
  type: 'object',
45
45
  properties: {
46
46
  'timeline.pageSize': {
47
47
  type: ['number', 'null'],
48
48
  default: null,
49
49
  markdownDescription: ( localize(
50
- 10390,
50
+ 10388,
51
51
  "The number of items to show in the Timeline view by default and when loading more items. Setting to `null` (the default) will automatically choose a page size based on the visible area of the Timeline view."
52
52
  )),
53
53
  },
@@ -55,7 +55,7 @@ configurationRegistry.registerConfiguration({
55
55
  type: 'boolean',
56
56
  default: false,
57
57
  description: ( localize(
58
- 10391,
58
+ 10389,
59
59
  "Experimental. Controls whether the Timeline view will load the next page of items when you scroll to the end of the list."
60
60
  )),
61
61
  },
@@ -65,7 +65,7 @@ configurationRegistry.registerConfiguration({
65
65
  var OpenTimelineAction;
66
66
  (function (OpenTimelineAction) {
67
67
  OpenTimelineAction.ID = 'files.openTimeline';
68
- OpenTimelineAction.LABEL = ( localize(10392, "Open Timeline"));
68
+ OpenTimelineAction.LABEL = ( localize(10390, "Open Timeline"));
69
69
  function handler() {
70
70
  return (accessor, arg) => {
71
71
  const service = accessor.get(ITimelineService);
@@ -85,10 +85,10 @@ MenuRegistry.appendMenuItem(MenuId.ExplorerContext, ({
85
85
  },
86
86
  when: ( ContextKeyExpr.and(( ExplorerFolderContext.toNegated()), ResourceContextKey.HasResource, TimelineHasProviderContext))
87
87
  }));
88
- const timelineFilter = registerIcon('timeline-filter', Codicon.filter, ( localize(10393, 'Icon for the filter timeline action.')));
88
+ const timelineFilter = registerIcon('timeline-filter', Codicon.filter, ( localize(10391, 'Icon for the filter timeline action.')));
89
89
  MenuRegistry.appendMenuItem(MenuId.TimelineTitle, {
90
90
  submenu: MenuId.TimelineFilterSubMenu,
91
- title: ( localize(10394, "Filter Timeline")),
91
+ title: ( localize(10392, "Filter Timeline")),
92
92
  group: 'navigation',
93
93
  order: 100,
94
94
  icon: timelineFilter
@@ -178,7 +178,7 @@ class LoadMoreCommand {
178
178
  return this.label;
179
179
  }
180
180
  get label() {
181
- return this.loading ? ( localize(10395, "Loading...")) : ( localize(10396, "Load more"));
181
+ return this.loading ? ( localize(10393, "Loading...")) : ( localize(10394, "Load more"));
182
182
  }
183
183
  get themeIcon() {
184
184
  return undefined;
@@ -188,7 +188,7 @@ const TimelineFollowActiveEditorContext = ( new RawContextKey('timelineFollowAct
188
188
  const TimelineExcludeSources = ( new RawContextKey('timelineExcludeSources', '[]', true));
189
189
  const TimelineViewFocusedContext = ( new RawContextKey('timelineFocused', true));
190
190
  let TimelinePane = class TimelinePane extends ViewPane {
191
- static { this.TITLE = ( localize2(10397, "Timeline")); }
191
+ static { this.TITLE = ( localize2(10395, "Timeline")); }
192
192
  constructor(options, keybindingService, contextMenuService, contextKeyService, configurationService, storageService, viewDescriptorService, instantiationService, editorService, commandService, progressService, timelineService, openerService, themeService, telemetryService, hoverService, labelService, uriIdentityService, extensionService) {
193
193
  super({ ...options, titleMenuId: MenuId.TimelineTitle }, keybindingService, contextMenuService, configurationService, contextKeyService, viewDescriptorService, instantiationService, openerService, themeService, telemetryService, hoverService);
194
194
  this.storageService = storageService;
@@ -624,7 +624,7 @@ let TimelinePane = class TimelinePane extends ViewPane {
624
624
  this._isEmpty = !this.hasVisibleItems;
625
625
  if (this.uri === undefined) {
626
626
  this.updateFilename(undefined);
627
- this.message = ( localize(10398, "The active editor cannot provide timeline information."));
627
+ this.message = ( localize(10396, "The active editor cannot provide timeline information."));
628
628
  }
629
629
  else if (this._isEmpty) {
630
630
  if (this.pendingRequests.size !== 0) {
@@ -634,24 +634,24 @@ let TimelinePane = class TimelinePane extends ViewPane {
634
634
  this.updateFilename(this.labelService.getUriBasenameLabel(this.uri));
635
635
  const scmProviderCount = this.contextKeyService.getContextKeyValue('scm.providerCount');
636
636
  if (this.timelineService.getSources().filter(({ id }) => !( this.excludedSources.has(id))).length === 0) {
637
- this.message = ( localize(10399, "All timeline sources have been filtered out."));
637
+ this.message = ( localize(10397, "All timeline sources have been filtered out."));
638
638
  }
639
639
  else {
640
640
  if (this.configurationService.getValue('workbench.localHistory.enabled') && !( this.excludedSources.has('timeline.localHistory'))) {
641
641
  this.message = ( localize(
642
- 10400,
642
+ 10398,
643
643
  "Local History will track recent changes as you save them unless the file has been excluded or is too large."
644
644
  ));
645
645
  }
646
646
  else if (this.excludedSources.size > 0) {
647
- this.message = ( localize(10401, "No filtered timeline information was provided."));
647
+ this.message = ( localize(10399, "No filtered timeline information was provided."));
648
648
  }
649
649
  else {
650
- this.message = ( localize(10402, "No timeline information was provided."));
650
+ this.message = ( localize(10400, "No timeline information was provided."));
651
651
  }
652
652
  }
653
653
  if (!scmProviderCount || scmProviderCount === 0) {
654
- this.message += ' ' + ( localize(10403, "Source Control has not been configured."));
654
+ this.message += ' ' + ( localize(10401, "Source Control has not been configured."));
655
655
  }
656
656
  }
657
657
  }
@@ -708,7 +708,7 @@ let TimelinePane = class TimelinePane extends ViewPane {
708
708
  container.classList.add('tree-explorer-viewlet-tree-view', 'timeline-tree-view');
709
709
  this.$message = append(this.$container, $('.message'));
710
710
  this.$message.classList.add('timeline-subtle');
711
- this.message = ( localize(10398, "The active editor cannot provide timeline information."));
711
+ this.message = ( localize(10396, "The active editor cannot provide timeline information."));
712
712
  this.$tree = document.createElement('div');
713
713
  this.$tree.classList.add('customview-tree', 'file-icon-themable-tree', 'hide-arrows');
714
714
  container.appendChild(this.$tree);
@@ -725,7 +725,7 @@ let TimelinePane = class TimelinePane extends ViewPane {
725
725
  if (isLoadMoreCommand(element)) {
726
726
  return element.ariaLabel;
727
727
  }
728
- return element.accessibilityInformation ? element.accessibilityInformation.label : ( localize(10404, "{0}: {1}", element.relativeTimeFullWord ?? '', element.label));
728
+ return element.accessibilityInformation ? element.accessibilityInformation.label : ( localize(10402, "{0}: {1}", element.relativeTimeFullWord ?? '', element.label));
729
729
  },
730
730
  getRole(element) {
731
731
  if (isLoadMoreCommand(element)) {
@@ -734,7 +734,7 @@ let TimelinePane = class TimelinePane extends ViewPane {
734
734
  return element.accessibilityInformation && element.accessibilityInformation.role ? element.accessibilityInformation.role : 'treeitem';
735
735
  },
736
736
  getWidgetAriaLabel() {
737
- return localize(10397, "Timeline");
737
+ return localize(10395, "Timeline");
738
738
  }
739
739
  },
740
740
  keyboardNavigationLabelProvider: ( new TimelineKeyboardNavigationLabelProvider()),
@@ -794,7 +794,7 @@ let TimelinePane = class TimelinePane extends ViewPane {
794
794
  setLoadingUriMessage() {
795
795
  const file = this.uri && this.labelService.getUriBasenameLabel(this.uri);
796
796
  this.updateFilename(file);
797
- this.message = file ? ( localize(10405, "Loading timeline for {0}...", file)) : '';
797
+ this.message = file ? ( localize(10403, "Loading timeline for {0}...", file)) : '';
798
798
  }
799
799
  onContextMenu(commands, treeEvent) {
800
800
  const item = treeEvent.element;
@@ -982,9 +982,9 @@ TimelineTreeRenderer = ( __decorate([
982
982
  ( __param(1, IInstantiationService)),
983
983
  ( __param(2, IThemeService))
984
984
  ], TimelineTreeRenderer));
985
- const timelineRefresh = registerIcon('timeline-refresh', Codicon.refresh, ( localize(10406, 'Icon for the refresh timeline action.')));
986
- const timelinePin = registerIcon('timeline-pin', Codicon.pin, ( localize(10407, 'Icon for the pin timeline action.')));
987
- const timelineUnpin = registerIcon('timeline-unpin', Codicon.pinned, ( localize(10408, 'Icon for the unpin timeline action.')));
985
+ const timelineRefresh = registerIcon('timeline-refresh', Codicon.refresh, ( localize(10404, 'Icon for the refresh timeline action.')));
986
+ const timelinePin = registerIcon('timeline-pin', Codicon.pin, ( localize(10405, 'Icon for the pin timeline action.')));
987
+ const timelineUnpin = registerIcon('timeline-unpin', Codicon.pinned, ( localize(10406, 'Icon for the unpin timeline action.')));
988
988
  let TimelinePaneCommands = class TimelinePaneCommands extends Disposable {
989
989
  constructor(pane, timelineService, storageService, contextKeyService, menuService) {
990
990
  super();
@@ -998,9 +998,9 @@ let TimelinePaneCommands = class TimelinePaneCommands extends Disposable {
998
998
  constructor() {
999
999
  super({
1000
1000
  id: 'timeline.refresh',
1001
- title: ( localize2(10409, "Refresh")),
1001
+ title: ( localize2(10407, "Refresh")),
1002
1002
  icon: timelineRefresh,
1003
- category: ( localize2(10397, "Timeline")),
1003
+ category: ( localize2(10395, "Timeline")),
1004
1004
  menu: {
1005
1005
  id: MenuId.TimelineTitle,
1006
1006
  group: 'navigation',
@@ -1016,9 +1016,9 @@ let TimelinePaneCommands = class TimelinePaneCommands extends Disposable {
1016
1016
  this._register(MenuRegistry.appendMenuItem(MenuId.TimelineTitle, ({
1017
1017
  command: {
1018
1018
  id: 'timeline.toggleFollowActiveEditor',
1019
- title: ( localize2(10410, 'Pin the Current Timeline')),
1019
+ title: ( localize2(10408, 'Pin the Current Timeline')),
1020
1020
  icon: timelinePin,
1021
- category: ( localize2(10397, "Timeline")),
1021
+ category: ( localize2(10395, "Timeline")),
1022
1022
  },
1023
1023
  group: 'navigation',
1024
1024
  order: 98,
@@ -1027,9 +1027,9 @@ let TimelinePaneCommands = class TimelinePaneCommands extends Disposable {
1027
1027
  this._register(MenuRegistry.appendMenuItem(MenuId.TimelineTitle, ({
1028
1028
  command: {
1029
1029
  id: 'timeline.toggleFollowActiveEditor',
1030
- title: ( localize2(10411, 'Unpin the Current Timeline')),
1030
+ title: ( localize2(10409, 'Unpin the Current Timeline')),
1031
1031
  icon: timelineUnpin,
1032
- category: ( localize2(10397, "Timeline")),
1032
+ category: ( localize2(10395, "Timeline")),
1033
1033
  },
1034
1034
  group: 'navigation',
1035
1035
  order: 98,