@codingame/monaco-vscode-scm-service-override 18.3.1 → 19.0.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": "18.3.1",
3
+ "version": "19.0.0",
4
4
  "private": false,
5
5
  "description": "VSCode public API plugged on the monaco editor - scm service-override",
6
6
  "keywords": [],
@@ -15,20 +15,20 @@
15
15
  },
16
16
  "type": "module",
17
17
  "dependencies": {
18
- "@codingame/monaco-vscode-27663a0b-1249-58ba-9085-e52d706b50bc-common": "18.3.1",
19
- "@codingame/monaco-vscode-3a35f433-1297-5707-ab58-c261b8180e6d-common": "18.3.1",
20
- "@codingame/monaco-vscode-501b06ab-3f58-516b-8a1a-c29d375d3da4-common": "18.3.1",
21
- "@codingame/monaco-vscode-60014c9d-b815-501d-83a9-4b08725c2ec2-common": "18.3.1",
22
- "@codingame/monaco-vscode-7adbeffb-8051-54a9-8c9b-b62ce9e5836f-common": "18.3.1",
23
- "@codingame/monaco-vscode-8d39d04c-3201-5bd6-be79-eed8d17a5ad0-common": "18.3.1",
24
- "@codingame/monaco-vscode-937ecbdf-94c7-5b16-aefa-ad78ae557a93-common": "18.3.1",
25
- "@codingame/monaco-vscode-a8d3bd74-e63e-5327-96e8-4f931661e329-common": "18.3.1",
26
- "@codingame/monaco-vscode-api": "18.3.1",
27
- "@codingame/monaco-vscode-f24b7f0a-ceeb-5877-9148-81eb98a4f5d7-common": "18.3.1",
28
- "@codingame/monaco-vscode-f338ac19-278c-5fe1-bec8-b588de04a788-common": "18.3.1",
29
- "@codingame/monaco-vscode-f48982c4-9e82-55e2-b800-20e6d1e6096f-common": "18.3.1",
30
- "@codingame/monaco-vscode-f99b74f5-fcb7-512f-8c6c-35f5a107577d-common": "18.3.1",
31
- "@codingame/monaco-vscode-ff9fa663-eae3-5274-8573-c2b918871e4b-common": "18.3.1"
18
+ "@codingame/monaco-vscode-262ed59d-4f76-57cd-9e9f-1877f26ae049-common": "19.0.0",
19
+ "@codingame/monaco-vscode-2726569c-a06b-5f25-b851-14311bef12fa-common": "19.0.0",
20
+ "@codingame/monaco-vscode-27663a0b-1249-58ba-9085-e52d706b50bc-common": "19.0.0",
21
+ "@codingame/monaco-vscode-501b06ab-3f58-516b-8a1a-c29d375d3da4-common": "19.0.0",
22
+ "@codingame/monaco-vscode-60014c9d-b815-501d-83a9-4b08725c2ec2-common": "19.0.0",
23
+ "@codingame/monaco-vscode-937ecbdf-94c7-5b16-aefa-ad78ae557a93-common": "19.0.0",
24
+ "@codingame/monaco-vscode-9911aec2-e4dd-5483-8369-9d695cc70d8a-common": "19.0.0",
25
+ "@codingame/monaco-vscode-9ebd6daf-8734-5a28-ad24-b238f5e5819d-common": "19.0.0",
26
+ "@codingame/monaco-vscode-a8d3bd74-e63e-5327-96e8-4f931661e329-common": "19.0.0",
27
+ "@codingame/monaco-vscode-api": "19.0.0",
28
+ "@codingame/monaco-vscode-dbfe5f85-b426-55ed-a79b-5f811b395762-common": "19.0.0",
29
+ "@codingame/monaco-vscode-f338ac19-278c-5fe1-bec8-b588de04a788-common": "19.0.0",
30
+ "@codingame/monaco-vscode-f99b74f5-fcb7-512f-8c6c-35f5a107577d-common": "19.0.0",
31
+ "@codingame/monaco-vscode-ff9fa663-eae3-5274-8573-c2b918871e4b-common": "19.0.0"
32
32
  },
33
33
  "main": "index.js",
34
34
  "module": "index.js",
@@ -18,7 +18,7 @@ import { IUriIdentityService } from '@codingame/monaco-vscode-api/vscode/vs/plat
18
18
  import { Iterable } from '@codingame/monaco-vscode-api/vscode/vs/base/common/iterator';
19
19
  import { ITitleService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/title/browser/titleService.service';
20
20
  import { IEditorGroupsService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/editorGroupsService.service';
21
- import { getRepositoryResourceCount } from '@codingame/monaco-vscode-7adbeffb-8051-54a9-8c9b-b62ce9e5836f-common/vscode/vs/workbench/contrib/scm/browser/util';
21
+ import { getRepositoryResourceCount } from '@codingame/monaco-vscode-9ebd6daf-8734-5a28-ad24-b238f5e5819d-common/vscode/vs/workbench/contrib/scm/browser/util';
22
22
  import '@codingame/monaco-vscode-api/vscode/vs/base/common/observableInternal/index';
23
23
  import { observableConfigValue } from '@codingame/monaco-vscode-api/vscode/vs/platform/observable/common/platformObservableUtils';
24
24
  import { observableFromEvent } from '@codingame/monaco-vscode-api/vscode/vs/base/common/observableInternal/observables/observableFromEvent';
@@ -104,7 +104,7 @@ let SCMActiveRepositoryController = class SCMActiveRepositoryController extends
104
104
  if (count === 0) {
105
105
  return;
106
106
  }
107
- const badge = ( new NumberBadge(count, num => ( localize(9324, '{0} pending changes', num))));
107
+ const badge = ( new NumberBadge(count, num => ( localize(9563, '{0} pending changes', num))));
108
108
  store.add(this.activityService.showViewActivity(VIEW_PANE_ID, { badge }));
109
109
  }
110
110
  _updateStatusBar(repository, commands, store) {
@@ -130,7 +130,7 @@ let SCMActiveRepositoryController = class SCMActiveRepositoryController extends
130
130
  repoAgnosticActionName = '';
131
131
  }
132
132
  const statusbarEntry = {
133
- name: ( localize(9325, "Source Control")) + (repoAgnosticActionName ? ` ${repoAgnosticActionName}` : ''),
133
+ name: ( localize(9564, "Source Control")) + (repoAgnosticActionName ? ` ${repoAgnosticActionName}` : ''),
134
134
  text: command.title,
135
135
  ariaLabel: tooltip,
136
136
  tooltip,
@@ -142,7 +142,7 @@ let SCMActiveRepositoryController = class SCMActiveRepositoryController extends
142
142
  }
143
143
  if (this.scmService.repositoryCount > 1) {
144
144
  const repositoryStatusbarEntry = {
145
- name: ( localize(9326, "Source Control Provider")),
145
+ name: ( localize(9565, "Source Control Provider")),
146
146
  text: `$(repo) ${repository.provider.name}`,
147
147
  ariaLabel: label,
148
148
  tooltip: label,
@@ -171,8 +171,8 @@ let SCMActiveResourceContextKeyController = class SCMActiveResourceContextKeyCon
171
171
  this.scmService = scmService;
172
172
  this.uriIdentityService = uriIdentityService;
173
173
  this._onDidRepositoryChange = ( new Emitter());
174
- const activeResourceHasChangesContextKey = ( new RawContextKey('scmActiveResourceHasChanges', false, ( localize(9327, "Whether the active resource has changes"))));
175
- const activeResourceRepositoryContextKey = ( new RawContextKey('scmActiveResourceRepository', undefined, ( localize(9328, "The active resource's repository"))));
174
+ const activeResourceHasChangesContextKey = ( new RawContextKey('scmActiveResourceHasChanges', false, ( localize(9566, "Whether the active resource has changes"))));
175
+ const activeResourceRepositoryContextKey = ( new RawContextKey('scmActiveResourceRepository', undefined, ( localize(9567, "The active resource's repository"))));
176
176
  this._repositories = observableFromEvent(this, Event.any(this.scmService.onDidAddRepository, this.scmService.onDidRemoveRepository), () => this.scmService.repositories);
177
177
  this._store.add(autorunWithStore((reader, store) => {
178
178
  for (const repository of this._repositories.read(reader)) {
@@ -395,10 +395,6 @@
395
395
  .scm-view .scm-editor-container .placeholder-text.mtk1 {
396
396
  color: var(--vscode-input-placeholderForeground);
397
397
  }
398
- .scm-repositories-view .scm-provider {
399
- margin: 0 12px 0 20px;
400
- overflow: hidden;
401
- }
402
398
  .scm-repositories-view .scm-provider > .label > .name {
403
399
  font-weight: normal;
404
400
  }
@@ -233,7 +233,7 @@ SCMMenus = ( __decorate([
233
233
  ( __param(1, IInstantiationService))
234
234
  ], SCMMenus));
235
235
  MenuRegistry.appendMenuItem(MenuId.SCMResourceContext, {
236
- title: ( localize(9329, "Share")),
236
+ title: ( localize(9568, "Share")),
237
237
  submenu: MenuId.SCMResourceContextShare,
238
238
  group: '45_share',
239
239
  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(9330, 'Added lines'));
64
+ const diffAdded = ( localize(9569, '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(9331, 'Changed lines'));
75
+ const diffModified = ( localize(9570, '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(9332, 'Removed lines'));
86
+ const diffDeleted = ( localize(9571, '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(9333, 'Switch quick diff base')), useCustomDrawn: !hasNativeContextMenu(configurationService) });
71
+ super(null, action, [], 0, contextViewService, styles, { ariaLabel: ( localize(9572, '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(9334, "Switch Quick Diff Base")); }
94
+ static { this.LABEL = ( localize(9573, "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
- 9335,
221
+ 9574,
222
222
  "{0} - {1} of {2} changes",
223
223
  label,
224
224
  providerIndex + 1,
225
225
  providerChanges.length
226
226
  ))
227
227
  : ( localize(
228
- 9336,
228
+ 9575,
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(9337, "{0} of {1} changes", providerIndex + 1, providerChanges.length))
239
- : ( localize(9338, "{0} of {1} change", providerIndex + 1, providerChanges.length));
238
+ ? ( localize(9576, "{0} of {1} changes", providerIndex + 1, providerChanges.length))
239
+ : ( localize(9577, "{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(9339, "Close")), ThemeIcon.asClassName(Codicon.close), true, () => this.dispose()))), { label: false, icon: true });
288
+ this._actionbarWidget.push(this._disposables.add(( new Action('peekview.close', ( localize(9578, "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(9340, "Show Previous Change")),
639
+ label: ( localize2(9579, "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(9341, "Show Next Change")),
665
+ label: ( localize2(9580, "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(9342, "Go to Previous Change")),
691
+ label: ( localize2(9581, "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(9343, "Go to Next Change")),
726
+ label: ( localize2(9582, "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(9344, "Next &&Change"))
761
+ title: ( localize(9583, "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(9345, "Previous &&Change"))
769
+ title: ( localize(9584, "Previous &&Change"))
770
770
  },
771
771
  order: 2
772
772
  });