@codingame/monaco-vscode-notifications-service-override 4.4.1 → 4.5.0-improve-code-splitting.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/notifications.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { NotificationsToasts } from 'vscode/vscode/vs/workbench/browser/parts/notifications/notificationsToasts';
|
|
2
2
|
import { IInstantiationService } from 'vscode/vscode/vs/platform/instantiation/common/instantiation';
|
|
3
3
|
import { NotificationService } from './vscode/src/vs/workbench/services/notification/common/notificationService.js';
|
|
4
|
-
import { INotificationService } from 'vscode/vscode/vs/platform/notification/common/notification';
|
|
4
|
+
import { INotificationService } from 'vscode/vscode/vs/platform/notification/common/notification.service';
|
|
5
5
|
import { getClientArea } from 'vscode/vscode/vs/base/browser/dom';
|
|
6
6
|
import { registerNotificationCommands } from 'vscode/vscode/vs/workbench/browser/parts/notifications/notificationsCommands';
|
|
7
7
|
import { SyncDescriptor } from 'vscode/vscode/vs/platform/instantiation/common/descriptors';
|
|
8
8
|
import { NotificationsCenter } from 'vscode/vscode/vs/workbench/browser/parts/notifications/notificationsCenter';
|
|
9
9
|
import { NotificationsAlerts } from 'vscode/vscode/vs/workbench/browser/parts/notifications/notificationsAlerts';
|
|
10
10
|
import { NotificationsTelemetry } from 'vscode/vscode/vs/workbench/browser/parts/notifications/notificationsTelemetry';
|
|
11
|
-
import { ILayoutService } from 'vscode/vscode/vs/platform/layout/browser/layoutService';
|
|
11
|
+
import { ILayoutService } from 'vscode/vscode/vs/platform/layout/browser/layoutService.service';
|
|
12
12
|
import { NotificationsStatus } from 'vscode/vscode/vs/workbench/browser/parts/notifications/notificationsStatus';
|
|
13
13
|
import { onRenderWorkbench } from 'vscode/lifecycle';
|
|
14
14
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codingame/monaco-vscode-notifications-service-override",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.5.0-improve-code-splitting.1",
|
|
4
4
|
"keywords": [],
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "CodinGame",
|
|
@@ -17,7 +17,15 @@
|
|
|
17
17
|
"main": "index.js",
|
|
18
18
|
"module": "index.js",
|
|
19
19
|
"types": "index.d.ts",
|
|
20
|
+
"exports": {
|
|
21
|
+
".": {
|
|
22
|
+
"default": "./index.js"
|
|
23
|
+
},
|
|
24
|
+
"./vscode/*": {
|
|
25
|
+
"default": "./vscode/src/*.js"
|
|
26
|
+
}
|
|
27
|
+
},
|
|
20
28
|
"dependencies": {
|
|
21
|
-
"vscode": "npm:@codingame/monaco-vscode-api@4.
|
|
29
|
+
"vscode": "npm:@codingame/monaco-vscode-api@4.5.0-improve-code-splitting.1"
|
|
22
30
|
}
|
|
23
31
|
}
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import { __decorate, __param } from 'vscode/external/tslib/tslib.es6.js';
|
|
2
2
|
import { localizeWithPath } from 'vscode/vscode/vs/nls';
|
|
3
|
-
import { isNotificationSource, NotificationsFilter,
|
|
3
|
+
import { isNotificationSource, NotificationsFilter, NoOpNotification, NeverShowAgainScope } from 'vscode/vscode/vs/platform/notification/common/notification';
|
|
4
|
+
import 'vscode/vscode/vs/platform/instantiation/common/instantiation';
|
|
4
5
|
import { NotificationsModel, ChoiceAction } from 'vscode/vscode/vs/workbench/common/notifications';
|
|
5
6
|
import { Disposable, DisposableStore } from 'vscode/vscode/vs/base/common/lifecycle';
|
|
6
7
|
import { Emitter, Event } from 'vscode/vscode/vs/base/common/event';
|
|
7
8
|
import { Action } from 'vscode/vscode/vs/base/common/actions';
|
|
8
|
-
import { IStorageService } from 'vscode/vscode/vs/platform/storage/common/storage';
|
|
9
|
+
import { IStorageService } from 'vscode/vscode/vs/platform/storage/common/storage.service';
|
|
10
|
+
import Severity$1 from 'vscode/vscode/vs/base/common/severity';
|
|
9
11
|
|
|
10
12
|
var NotificationService_1;
|
|
11
13
|
let NotificationService = class NotificationService extends Disposable {
|
|
@@ -125,7 +127,7 @@ let NotificationService = class NotificationService extends Disposable {
|
|
|
125
127
|
}
|
|
126
128
|
return;
|
|
127
129
|
}
|
|
128
|
-
this.model.addNotification({ severity: Severity.Info, message });
|
|
130
|
+
this.model.addNotification({ severity: Severity$1.Info, message });
|
|
129
131
|
}
|
|
130
132
|
warn(message) {
|
|
131
133
|
if (Array.isArray(message)) {
|
|
@@ -134,7 +136,7 @@ let NotificationService = class NotificationService extends Disposable {
|
|
|
134
136
|
}
|
|
135
137
|
return;
|
|
136
138
|
}
|
|
137
|
-
this.model.addNotification({ severity: Severity.Warning, message });
|
|
139
|
+
this.model.addNotification({ severity: Severity$1.Warning, message });
|
|
138
140
|
}
|
|
139
141
|
error(message) {
|
|
140
142
|
if (Array.isArray(message)) {
|
|
@@ -143,7 +145,7 @@ let NotificationService = class NotificationService extends Disposable {
|
|
|
143
145
|
}
|
|
144
146
|
return;
|
|
145
147
|
}
|
|
146
|
-
this.model.addNotification({ severity: Severity.Error, message });
|
|
148
|
+
this.model.addNotification({ severity: Severity$1.Error, message });
|
|
147
149
|
}
|
|
148
150
|
notify(notification) {
|
|
149
151
|
const toDispose = ( new DisposableStore());
|