@codingame/monaco-vscode-scm-service-override 23.1.0 → 23.2.0

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-scm-service-override",
3
- "version": "23.1.0",
3
+ "version": "23.2.0",
4
4
  "private": false,
5
5
  "description": "VSCode public API plugged on the monaco editor - scm service-override",
6
6
  "keywords": [],
@@ -15,18 +15,19 @@
15
15
  },
16
16
  "type": "module",
17
17
  "dependencies": {
18
- "@codingame/monaco-vscode-05c09f77-cd1d-5960-b387-e7023df3160b-common": "23.1.0",
19
- "@codingame/monaco-vscode-2339d6ac-d6bb-53cd-95ee-81911735d1c7-common": "23.1.0",
20
- "@codingame/monaco-vscode-262ed59d-4f76-57cd-9e9f-1877f26ae049-common": "23.1.0",
21
- "@codingame/monaco-vscode-27663a0b-1249-58ba-9085-e52d706b50bc-common": "23.1.0",
22
- "@codingame/monaco-vscode-3b5a5cd1-d4ff-500a-b609-57e0cd4afa0a-common": "23.1.0",
23
- "@codingame/monaco-vscode-501b06ab-3f58-516b-8a1a-c29d375d3da4-common": "23.1.0",
24
- "@codingame/monaco-vscode-60014c9d-b815-501d-83a9-4b08725c2ec2-common": "23.1.0",
25
- "@codingame/monaco-vscode-a8d3bd74-e63e-5327-96e8-4f931661e329-common": "23.1.0",
26
- "@codingame/monaco-vscode-aac7027b-326c-513a-95a9-e4eedd151b38-common": "23.1.0",
27
- "@codingame/monaco-vscode-api": "23.1.0",
28
- "@codingame/monaco-vscode-bc6f260d-ec63-5c95-9446-1ca7d0872719-common": "23.1.0",
29
- "@codingame/monaco-vscode-be8ddbb5-094a-5657-b1cc-fe106c94c632-common": "23.1.0"
18
+ "@codingame/monaco-vscode-05c09f77-cd1d-5960-b387-e7023df3160b-common": "23.2.0",
19
+ "@codingame/monaco-vscode-08fd81c0-7fd8-5f7c-9776-f918dd532714-common": "23.2.0",
20
+ "@codingame/monaco-vscode-2339d6ac-d6bb-53cd-95ee-81911735d1c7-common": "23.2.0",
21
+ "@codingame/monaco-vscode-27663a0b-1249-58ba-9085-e52d706b50bc-common": "23.2.0",
22
+ "@codingame/monaco-vscode-2c64d2c2-fdf7-5675-a2fe-f6f65fbdedbf-common": "23.2.0",
23
+ "@codingame/monaco-vscode-3b5a5cd1-d4ff-500a-b609-57e0cd4afa0a-common": "23.2.0",
24
+ "@codingame/monaco-vscode-501b06ab-3f58-516b-8a1a-c29d375d3da4-common": "23.2.0",
25
+ "@codingame/monaco-vscode-60014c9d-b815-501d-83a9-4b08725c2ec2-common": "23.2.0",
26
+ "@codingame/monaco-vscode-a8d3bd74-e63e-5327-96e8-4f931661e329-common": "23.2.0",
27
+ "@codingame/monaco-vscode-aac7027b-326c-513a-95a9-e4eedd151b38-common": "23.2.0",
28
+ "@codingame/monaco-vscode-api": "23.2.0",
29
+ "@codingame/monaco-vscode-bc6f260d-ec63-5c95-9446-1ca7d0872719-common": "23.2.0",
30
+ "@codingame/monaco-vscode-be8ddbb5-094a-5657-b1cc-fe106c94c632-common": "23.2.0"
30
31
  },
31
32
  "main": "index.js",
32
33
  "module": "index.js",
@@ -103,7 +103,7 @@ let SCMActiveRepositoryController = class SCMActiveRepositoryController extends
103
103
  if (count === 0) {
104
104
  return;
105
105
  }
106
- const badge = ( new NumberBadge(count, num => ( localize(10252, '{0} pending changes', num))));
106
+ const badge = ( new NumberBadge(count, num => ( localize(10271, '{0} pending changes', num))));
107
107
  store.add(this.activityService.showViewActivity(VIEW_PANE_ID, { badge }));
108
108
  }
109
109
  _updateStatusBar(activeRepository, commands, store) {
@@ -118,7 +118,7 @@ let SCMActiveRepositoryController = class SCMActiveRepositoryController extends
118
118
  const tooltip = `${label}${command.tooltip ? ` - ${command.tooltip}` : ''}`;
119
119
  const genericCommandName = getStatusBarCommandGenericName(command);
120
120
  const statusbarEntry = {
121
- name: ( localize(10253, "Source Control")) + (genericCommandName ? ` ${genericCommandName}` : ''),
121
+ name: ( localize(10272, "Source Control")) + (genericCommandName ? ` ${genericCommandName}` : ''),
122
122
  text: command.title,
123
123
  ariaLabel: tooltip,
124
124
  tooltip,
@@ -131,7 +131,7 @@ let SCMActiveRepositoryController = class SCMActiveRepositoryController extends
131
131
  if (this.scmService.repositoryCount > 1) {
132
132
  const icon = getSCMRepositoryIcon(activeRepository, activeRepository.repository);
133
133
  const repositoryStatusbarEntry = {
134
- name: ( localize(10254, "Source Control Provider")),
134
+ name: ( localize(10273, "Source Control Provider")),
135
135
  text: `$(${icon.id}) ${activeRepository.repository.provider.name}`,
136
136
  ariaLabel: label,
137
137
  tooltip: label,
@@ -160,8 +160,8 @@ let SCMActiveResourceContextKeyController = class SCMActiveResourceContextKeyCon
160
160
  this.scmService = scmService;
161
161
  this.uriIdentityService = uriIdentityService;
162
162
  this._onDidRepositoryChange = ( new Emitter());
163
- const activeResourceHasChangesContextKey = ( new RawContextKey('scmActiveResourceHasChanges', false, ( localize(10255, "Whether the active resource has changes"))));
164
- const activeResourceRepositoryContextKey = ( new RawContextKey('scmActiveResourceRepository', undefined, ( localize(10256, "The active resource's repository"))));
163
+ const activeResourceHasChangesContextKey = ( new RawContextKey('scmActiveResourceHasChanges', false, ( localize(10274, "Whether the active resource has changes"))));
164
+ const activeResourceRepositoryContextKey = ( new RawContextKey('scmActiveResourceRepository', undefined, ( localize(10275, "The active resource's repository"))));
165
165
  this._repositories = observableFromEvent(this, Event.any(this.scmService.onDidAddRepository, this.scmService.onDidRemoveRepository), () => this.scmService.repositories);
166
166
  this._register(autorun((reader) => {
167
167
  for (const repository of this._repositories.read(reader)) {
@@ -305,7 +305,7 @@ SCMMenus = ( __decorate([
305
305
  ( __param(1, IInstantiationService))
306
306
  ], SCMMenus));
307
307
  MenuRegistry.appendMenuItem(MenuId.SCMResourceContext, {
308
- title: ( localize(10257, "Share")),
308
+ title: ( localize(10276, "Share")),
309
309
  submenu: MenuId.SCMResourceContextShare,
310
310
  group: '45_share',
311
311
  order: 3,
@@ -61,7 +61,7 @@ let QuickDiffDecorator = QuickDiffDecorator_1 = class QuickDiffDecorator extends
61
61
  const gutter = decorations === 'all' || decorations === 'gutter';
62
62
  const overview = decorations === 'all' || decorations === 'overview';
63
63
  const minimap = decorations === 'all' || decorations === 'minimap';
64
- const diffAdded = ( localize(10258, 'Added lines'));
64
+ const diffAdded = ( localize(10277, 'Added lines'));
65
65
  const diffAddedOptions = {
66
66
  gutter,
67
67
  overview: { active: overview, color: overviewRulerAddedForeground },
@@ -72,7 +72,7 @@ let QuickDiffDecorator = QuickDiffDecorator_1 = class QuickDiffDecorator extends
72
72
  this.addedPatternOptions = QuickDiffDecorator_1.createDecoration('dirty-diff-added primary pattern', diffAdded, diffAddedOptions);
73
73
  this.addedSecondaryOptions = QuickDiffDecorator_1.createDecoration('dirty-diff-added secondary', diffAdded, diffAddedOptions);
74
74
  this.addedSecondaryPatternOptions = QuickDiffDecorator_1.createDecoration('dirty-diff-added secondary pattern', diffAdded, diffAddedOptions);
75
- const diffModified = ( localize(10259, 'Changed lines'));
75
+ const diffModified = ( localize(10278, 'Changed lines'));
76
76
  const diffModifiedOptions = {
77
77
  gutter,
78
78
  overview: { active: overview, color: overviewRulerModifiedForeground },
@@ -83,7 +83,7 @@ let QuickDiffDecorator = QuickDiffDecorator_1 = class QuickDiffDecorator extends
83
83
  this.modifiedPatternOptions = QuickDiffDecorator_1.createDecoration('dirty-diff-modified primary pattern', diffModified, diffModifiedOptions);
84
84
  this.modifiedSecondaryOptions = QuickDiffDecorator_1.createDecoration('dirty-diff-modified secondary', diffModified, diffModifiedOptions);
85
85
  this.modifiedSecondaryPatternOptions = QuickDiffDecorator_1.createDecoration('dirty-diff-modified secondary pattern', diffModified, diffModifiedOptions);
86
- const diffDeleted = ( localize(10260, 'Removed lines'));
86
+ const diffDeleted = ( localize(10279, 'Removed lines'));
87
87
  const diffDeletedOptions = {
88
88
  gutter,
89
89
  overview: { active: overview, color: overviewRulerDeletedForeground },
@@ -68,7 +68,7 @@ let QuickDiffPickerViewItem = class QuickDiffPickerViewItem extends SelectAction
68
68
  const peekTitleColor = theme.getColor(peekViewTitleBackground);
69
69
  const opaqueTitleColor = peekTitleColor?.makeOpaque(editorBackgroundColor) ?? editorBackgroundColor;
70
70
  styles.selectBackground = ( ( opaqueTitleColor.lighten(.6)).toString());
71
- super(null, action, [], 0, contextViewService, styles, { ariaLabel: ( localize(10261, 'Switch quick diff base')), useCustomDrawn: !hasNativeContextMenu(configurationService) });
71
+ super(null, action, [], 0, contextViewService, styles, { ariaLabel: ( localize(10280, 'Switch quick diff base')), useCustomDrawn: !hasNativeContextMenu(configurationService) });
72
72
  this.optionsItems = [];
73
73
  }
74
74
  setSelection(quickDiffs, providerId) {
@@ -91,7 +91,7 @@ QuickDiffPickerViewItem = ( __decorate([
91
91
  ], QuickDiffPickerViewItem));
92
92
  class QuickDiffPickerBaseAction extends Action {
93
93
  static { this.ID = 'quickDiff.base.switch'; }
94
- static { this.LABEL = ( localize(10262, "Switch Quick Diff Base")); }
94
+ static { this.LABEL = ( localize(10281, "Switch Quick Diff Base")); }
95
95
  constructor(callback) {
96
96
  super(QuickDiffPickerBaseAction.ID, QuickDiffPickerBaseAction.LABEL, undefined, undefined);
97
97
  this.callback = callback;
@@ -218,14 +218,14 @@ let QuickDiffWidget = class QuickDiffWidget extends PeekViewWidget {
218
218
  .find(quickDiff => quickDiff.id === this._providerId)?.label ?? '';
219
219
  detail = this.model.changes.length > 1
220
220
  ? ( localize(
221
- 10263,
221
+ 10282,
222
222
  "{0} - {1} of {2} changes",
223
223
  label,
224
224
  providerIndex + 1,
225
225
  providerChanges.length
226
226
  ))
227
227
  : ( localize(
228
- 10264,
228
+ 10283,
229
229
  "{0} - {1} of {2} change",
230
230
  label,
231
231
  providerIndex + 1,
@@ -235,8 +235,8 @@ let QuickDiffWidget = class QuickDiffWidget extends PeekViewWidget {
235
235
  }
236
236
  else {
237
237
  detail = this.model.changes.length > 1
238
- ? ( localize(10265, "{0} of {1} changes", providerIndex + 1, providerChanges.length))
239
- : ( localize(10266, "{0} of {1} change", providerIndex + 1, providerChanges.length));
238
+ ? ( localize(10284, "{0} of {1} changes", providerIndex + 1, providerChanges.length))
239
+ : ( localize(10285, "{0} of {1} change", providerIndex + 1, providerChanges.length));
240
240
  this.dropdownContainer.style.display = 'inherit';
241
241
  }
242
242
  this.setTitle(this.title, detail);
@@ -285,7 +285,7 @@ let QuickDiffWidget = class QuickDiffWidget extends PeekViewWidget {
285
285
  this._actionbarWidget.clear();
286
286
  this._actionbarWidget.push(actions.reverse(), { label: false, icon: true });
287
287
  this._actionbarWidget.push([next, previous], { label: false, icon: true });
288
- this._actionbarWidget.push(this._disposables.add(( new Action('peekview.close', ( localize(10267, "Close")), ThemeIcon.asClassName(Codicon.close), true, () => this.dispose()))), { label: false, icon: true });
288
+ this._actionbarWidget.push(this._disposables.add(( new Action('peekview.close', ( localize(10286, "Close")), ThemeIcon.asClassName(Codicon.close), true, () => this.dispose()))), { label: false, icon: true });
289
289
  }
290
290
  updateDropdown() {
291
291
  const quickDiffs = this.getQuickDiffsContainingChange();
@@ -636,7 +636,7 @@ class ShowPreviousChangeAction extends EditorAction {
636
636
  constructor(outerEditor) {
637
637
  super({
638
638
  id: 'editor.action.dirtydiff.previous',
639
- label: ( localize2(10268, "Show Previous Change")),
639
+ label: ( localize2(10287, "Show Previous Change")),
640
640
  precondition: ( TextCompareEditorActiveContext.toNegated()),
641
641
  kbOpts: { kbExpr: EditorContextKeys.editorTextFocus, primary: KeyMod.Shift | KeyMod.Alt | KeyCode.F3, weight: KeybindingWeight.EditorContrib }
642
642
  });
@@ -662,7 +662,7 @@ class ShowNextChangeAction extends EditorAction {
662
662
  constructor(outerEditor) {
663
663
  super({
664
664
  id: 'editor.action.dirtydiff.next',
665
- label: ( localize2(10269, "Show Next Change")),
665
+ label: ( localize2(10288, "Show Next Change")),
666
666
  precondition: ( TextCompareEditorActiveContext.toNegated()),
667
667
  kbOpts: { kbExpr: EditorContextKeys.editorTextFocus, primary: KeyMod.Alt | KeyCode.F3, weight: KeybindingWeight.EditorContrib }
668
668
  });
@@ -688,7 +688,7 @@ class GotoPreviousChangeAction extends EditorAction {
688
688
  constructor() {
689
689
  super({
690
690
  id: 'workbench.action.editor.previousChange',
691
- label: ( localize2(10270, "Go to Previous Change")),
691
+ label: ( localize2(10289, "Go to Previous Change")),
692
692
  precondition: ( ContextKeyExpr.and(( TextCompareEditorActiveContext.toNegated()), ( quickDiffDecorationCount.notEqualsTo(0)))),
693
693
  kbOpts: { kbExpr: EditorContextKeys.editorTextFocus, primary: KeyMod.Shift | KeyMod.Alt | KeyCode.F5, weight: KeybindingWeight.EditorContrib }
694
694
  });
@@ -723,7 +723,7 @@ class GotoNextChangeAction extends EditorAction {
723
723
  constructor() {
724
724
  super({
725
725
  id: 'workbench.action.editor.nextChange',
726
- label: ( localize2(10271, "Go to Next Change")),
726
+ label: ( localize2(10290, "Go to Next Change")),
727
727
  precondition: ( ContextKeyExpr.and(( TextCompareEditorActiveContext.toNegated()), ( quickDiffDecorationCount.notEqualsTo(0)))),
728
728
  kbOpts: { kbExpr: EditorContextKeys.editorTextFocus, primary: KeyMod.Alt | KeyCode.F5, weight: KeybindingWeight.EditorContrib }
729
729
  });
@@ -758,7 +758,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarGoMenu, {
758
758
  group: '7_change_nav',
759
759
  command: {
760
760
  id: 'editor.action.dirtydiff.next',
761
- title: ( localize(10272, "Next &&Change"))
761
+ title: ( localize(10291, "Next &&Change"))
762
762
  },
763
763
  order: 1
764
764
  });
@@ -766,7 +766,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarGoMenu, {
766
766
  group: '7_change_nav',
767
767
  command: {
768
768
  id: 'editor.action.dirtydiff.previous',
769
- title: ( localize(10273, "Previous &&Change"))
769
+ title: ( localize(10292, "Previous &&Change"))
770
770
  },
771
771
  order: 2
772
772
  });