@codingame/monaco-vscode-notifications-service-override 15.0.2 → 16.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-notifications-service-override",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "16.0.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "VSCode public API plugged on the monaco editor - notifications service-override",
|
|
6
6
|
"keywords": [],
|
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
},
|
|
16
16
|
"type": "module",
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@codingame/monaco-vscode-494be54c-bd37-5b3c-af70-02f086e28768-common": "
|
|
19
|
-
"@codingame/monaco-vscode-api": "
|
|
18
|
+
"@codingame/monaco-vscode-494be54c-bd37-5b3c-af70-02f086e28768-common": "16.0.0",
|
|
19
|
+
"@codingame/monaco-vscode-api": "16.0.0"
|
|
20
20
|
},
|
|
21
21
|
"main": "index.js",
|
|
22
22
|
"module": "index.js",
|
|
@@ -25,6 +25,9 @@
|
|
|
25
25
|
".": {
|
|
26
26
|
"default": "./index.js"
|
|
27
27
|
},
|
|
28
|
+
"./vscode/*.css": {
|
|
29
|
+
"default": "./vscode/src/*.css"
|
|
30
|
+
},
|
|
28
31
|
"./vscode/*": {
|
|
29
32
|
"types": "./vscode/src/*.d.ts",
|
|
30
33
|
"default": "./vscode/src/*.js"
|
|
@@ -25,7 +25,6 @@ let NotificationService = class NotificationService extends Disposable {
|
|
|
25
25
|
this.onDidRemoveNotification = this._onDidRemoveNotification.event;
|
|
26
26
|
this._onDidChangeFilter = this._register(( new Emitter()));
|
|
27
27
|
this.onDidChangeFilter = this._onDidChangeFilter.event;
|
|
28
|
-
this.globalFilterEnabled = this.storageService.getBoolean(NotificationService_1.GLOBAL_FILTER_SETTINGS_KEY, StorageScope.APPLICATION, false);
|
|
29
28
|
this.mapSourceToFilter = (() => {
|
|
30
29
|
const map = ( new Map());
|
|
31
30
|
for (const sourceFilter of this.storageService.getObject(NotificationService_1.PER_SOURCE_FILTER_SETTINGS_KEY, StorageScope.APPLICATION, [])) {
|
|
@@ -33,6 +32,7 @@ let NotificationService = class NotificationService extends Disposable {
|
|
|
33
32
|
}
|
|
34
33
|
return map;
|
|
35
34
|
})();
|
|
35
|
+
this.globalFilterEnabled = this.storageService.getBoolean(NotificationService_1.GLOBAL_FILTER_SETTINGS_KEY, StorageScope.APPLICATION, false);
|
|
36
36
|
this.updateFilters();
|
|
37
37
|
this.registerListeners();
|
|
38
38
|
}
|
|
@@ -158,7 +158,7 @@ let NotificationService = class NotificationService extends Disposable {
|
|
|
158
158
|
if (this.storageService.getBoolean(id, scope)) {
|
|
159
159
|
return ( new NoOpNotification());
|
|
160
160
|
}
|
|
161
|
-
const neverShowAgainAction = toDispose.add(( new Action('workbench.notification.neverShowAgain', ( localize(
|
|
161
|
+
const neverShowAgainAction = toDispose.add(( new Action('workbench.notification.neverShowAgain', ( localize(12355, "Don't Show Again")), undefined, true, async () => {
|
|
162
162
|
handle.close();
|
|
163
163
|
this.storageService.store(id, true, scope, StorageTarget.USER);
|
|
164
164
|
})));
|
|
@@ -198,7 +198,7 @@ let NotificationService = class NotificationService extends Disposable {
|
|
|
198
198
|
return ( new NoOpNotification());
|
|
199
199
|
}
|
|
200
200
|
const neverShowAgainChoice = {
|
|
201
|
-
label: ( localize(
|
|
201
|
+
label: ( localize(12355, "Don't Show Again")),
|
|
202
202
|
run: () => this.storageService.store(id, true, scope, StorageTarget.USER),
|
|
203
203
|
isSecondary: options.neverShowAgain.isSecondary
|
|
204
204
|
};
|