@codingame/monaco-vscode-notifications-service-override 7.0.11 → 7.1.1
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-notifications-service-override",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.1.1",
|
|
4
4
|
"keywords": [],
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "CodinGame",
|
|
@@ -26,6 +26,6 @@
|
|
|
26
26
|
}
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"vscode": "npm:@codingame/monaco-vscode-api@7.
|
|
29
|
+
"vscode": "npm:@codingame/monaco-vscode-api@7.1.1"
|
|
30
30
|
}
|
|
31
31
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { __decorate, __param } from 'vscode/external/tslib/tslib.es6.js';
|
|
2
|
-
import {
|
|
2
|
+
import { localize } from 'vscode/vscode/vs/nls';
|
|
3
3
|
import { isNotificationSource, NotificationsFilter, NoOpNotification, NeverShowAgainScope } from 'vscode/vscode/vs/platform/notification/common/notification';
|
|
4
4
|
import 'vscode/vscode/vs/platform/instantiation/common/instantiation';
|
|
5
5
|
import { NotificationsModel, NotificationChangeType, ChoiceAction } from 'vscode/vscode/vs/workbench/common/notifications';
|
|
@@ -12,7 +12,6 @@ import { IStorageService } from 'vscode/vscode/vs/platform/storage/common/storag
|
|
|
12
12
|
import Severity$1 from 'vscode/vscode/vs/base/common/severity';
|
|
13
13
|
|
|
14
14
|
var NotificationService_1;
|
|
15
|
-
const _moduleId = "vs/workbench/services/notification/common/notificationService";
|
|
16
15
|
let NotificationService = class NotificationService extends Disposable {
|
|
17
16
|
static { NotificationService_1 = this; }
|
|
18
17
|
constructor(storageService) {
|
|
@@ -162,7 +161,7 @@ let NotificationService = class NotificationService extends Disposable {
|
|
|
162
161
|
(new NoOpNotification())
|
|
163
162
|
);
|
|
164
163
|
}
|
|
165
|
-
const neverShowAgainAction = toDispose.add(( (new Action('workbench.notification.neverShowAgain', (
|
|
164
|
+
const neverShowAgainAction = toDispose.add(( (new Action('workbench.notification.neverShowAgain', ( localize(3126, "Don't Show Again")), undefined, true, async () => {
|
|
166
165
|
handle.close();
|
|
167
166
|
this.storageService.store(id, true, scope, StorageTarget.USER);
|
|
168
167
|
}))));
|
|
@@ -205,7 +204,7 @@ let NotificationService = class NotificationService extends Disposable {
|
|
|
205
204
|
);
|
|
206
205
|
}
|
|
207
206
|
const neverShowAgainChoice = {
|
|
208
|
-
label: (
|
|
207
|
+
label: ( localize(3126, "Don't Show Again")),
|
|
209
208
|
run: () => this.storageService.store(id, true, scope, StorageTarget.USER),
|
|
210
209
|
isSecondary: options.neverShowAgain.isSecondary
|
|
211
210
|
};
|