@codingame/monaco-vscode-notifications-service-override 1.83.5 → 1.83.6

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": "1.83.5",
3
+ "version": "1.83.6",
4
4
  "keywords": [],
5
5
  "author": {
6
6
  "name": "CodinGame",
@@ -18,7 +18,7 @@
18
18
  "module": "index.js",
19
19
  "types": "index.d.ts",
20
20
  "dependencies": {
21
- "vscode": "npm:@codingame/monaco-vscode-api@1.83.5",
21
+ "vscode": "npm:@codingame/monaco-vscode-api@1.83.6",
22
22
  "monaco-editor": "0.44.0"
23
23
  }
24
24
  }
@@ -9,16 +9,48 @@ import { Codicon } from 'monaco-editor/esm/vs/base/common/codicons.js';
9
9
  import { registerIcon } from 'monaco-editor/esm/vs/platform/theme/common/iconRegistry.js';
10
10
  import { ThemeIcon } from 'monaco-editor/esm/vs/base/common/themables.js';
11
11
 
12
- const clearIcon = registerIcon('notifications-clear', Codicon.close, localizeWithPath('vs/workbench/browser/parts/notifications/notificationsActions', 'clearIcon', 'Icon for the clear action in notifications.'));
13
- const clearAllIcon = registerIcon('notifications-clear-all', Codicon.clearAll, localizeWithPath('vs/workbench/browser/parts/notifications/notificationsActions', 'clearAllIcon', 'Icon for the clear all action in notifications.'));
14
- const hideIcon = registerIcon('notifications-hide', Codicon.chevronDown, localizeWithPath('vs/workbench/browser/parts/notifications/notificationsActions', 'hideIcon', 'Icon for the hide action in notifications.'));
15
- const expandIcon = registerIcon('notifications-expand', Codicon.chevronUp, localizeWithPath('vs/workbench/browser/parts/notifications/notificationsActions', 'expandIcon', 'Icon for the expand action in notifications.'));
16
- const collapseIcon = registerIcon('notifications-collapse', Codicon.chevronDown, localizeWithPath('vs/workbench/browser/parts/notifications/notificationsActions', 'collapseIcon', 'Icon for the collapse action in notifications.'));
17
- const configureIcon = registerIcon('notifications-configure', Codicon.gear, localizeWithPath('vs/workbench/browser/parts/notifications/notificationsActions', 'configureIcon', 'Icon for the configure action in notifications.'));
18
- const doNotDisturbIcon = registerIcon('notifications-do-not-disturb', Codicon.bellSlash, localizeWithPath('vs/workbench/browser/parts/notifications/notificationsActions', 'doNotDisturbIcon', 'Icon for the mute all action in notifications.'));
12
+ const clearIcon = registerIcon('notifications-clear', Codicon.close, ( localizeWithPath(
13
+ 'vs/workbench/browser/parts/notifications/notificationsActions',
14
+ 'clearIcon',
15
+ 'Icon for the clear action in notifications.'
16
+ )));
17
+ const clearAllIcon = registerIcon('notifications-clear-all', Codicon.clearAll, ( localizeWithPath(
18
+ 'vs/workbench/browser/parts/notifications/notificationsActions',
19
+ 'clearAllIcon',
20
+ 'Icon for the clear all action in notifications.'
21
+ )));
22
+ const hideIcon = registerIcon('notifications-hide', Codicon.chevronDown, ( localizeWithPath(
23
+ 'vs/workbench/browser/parts/notifications/notificationsActions',
24
+ 'hideIcon',
25
+ 'Icon for the hide action in notifications.'
26
+ )));
27
+ const expandIcon = registerIcon('notifications-expand', Codicon.chevronUp, ( localizeWithPath(
28
+ 'vs/workbench/browser/parts/notifications/notificationsActions',
29
+ 'expandIcon',
30
+ 'Icon for the expand action in notifications.'
31
+ )));
32
+ const collapseIcon = registerIcon('notifications-collapse', Codicon.chevronDown, ( localizeWithPath(
33
+ 'vs/workbench/browser/parts/notifications/notificationsActions',
34
+ 'collapseIcon',
35
+ 'Icon for the collapse action in notifications.'
36
+ )));
37
+ const configureIcon = registerIcon('notifications-configure', Codicon.gear, ( localizeWithPath(
38
+ 'vs/workbench/browser/parts/notifications/notificationsActions',
39
+ 'configureIcon',
40
+ 'Icon for the configure action in notifications.'
41
+ )));
42
+ const doNotDisturbIcon = registerIcon('notifications-do-not-disturb', Codicon.bellSlash, ( localizeWithPath(
43
+ 'vs/workbench/browser/parts/notifications/notificationsActions',
44
+ 'doNotDisturbIcon',
45
+ 'Icon for the mute all action in notifications.'
46
+ )));
19
47
  let ClearNotificationAction = class ClearNotificationAction extends Action {
20
48
  static { this.ID = CLEAR_NOTIFICATION; }
21
- static { this.LABEL = localizeWithPath('vs/workbench/browser/parts/notifications/notificationsActions', 'clearNotification', "Clear Notification"); }
49
+ static { this.LABEL = ( localizeWithPath(
50
+ 'vs/workbench/browser/parts/notifications/notificationsActions',
51
+ 'clearNotification',
52
+ "Clear Notification"
53
+ )); }
22
54
  constructor(id, label, commandService) {
23
55
  super(id, label, ThemeIcon.asClassName(clearIcon));
24
56
  this.commandService = commandService;
@@ -32,7 +64,11 @@ ClearNotificationAction = ( __decorate([
32
64
  ], ClearNotificationAction));
33
65
  let ClearAllNotificationsAction = class ClearAllNotificationsAction extends Action {
34
66
  static { this.ID = CLEAR_ALL_NOTIFICATIONS; }
35
- static { this.LABEL = localizeWithPath('vs/workbench/browser/parts/notifications/notificationsActions', 'clearNotifications', "Clear All Notifications"); }
67
+ static { this.LABEL = ( localizeWithPath(
68
+ 'vs/workbench/browser/parts/notifications/notificationsActions',
69
+ 'clearNotifications',
70
+ "Clear All Notifications"
71
+ )); }
36
72
  constructor(id, label, commandService) {
37
73
  super(id, label, ThemeIcon.asClassName(clearAllIcon));
38
74
  this.commandService = commandService;
@@ -46,7 +82,11 @@ ClearAllNotificationsAction = ( __decorate([
46
82
  ], ClearAllNotificationsAction));
47
83
  let ToggleDoNotDisturbAction = class ToggleDoNotDisturbAction extends Action {
48
84
  static { this.ID = TOGGLE_DO_NOT_DISTURB_MODE; }
49
- static { this.LABEL = localizeWithPath('vs/workbench/browser/parts/notifications/notificationsActions', 'toggleDoNotDisturbMode', "Toggle Do Not Disturb Mode"); }
85
+ static { this.LABEL = ( localizeWithPath(
86
+ 'vs/workbench/browser/parts/notifications/notificationsActions',
87
+ 'toggleDoNotDisturbMode',
88
+ "Toggle Do Not Disturb Mode"
89
+ )); }
50
90
  constructor(id, label, commandService) {
51
91
  super(id, label, ThemeIcon.asClassName(doNotDisturbIcon));
52
92
  this.commandService = commandService;
@@ -60,7 +100,11 @@ ToggleDoNotDisturbAction = ( __decorate([
60
100
  ], ToggleDoNotDisturbAction));
61
101
  let HideNotificationsCenterAction = class HideNotificationsCenterAction extends Action {
62
102
  static { this.ID = HIDE_NOTIFICATIONS_CENTER; }
63
- static { this.LABEL = localizeWithPath('vs/workbench/browser/parts/notifications/notificationsActions', 'hideNotificationsCenter', "Hide Notifications"); }
103
+ static { this.LABEL = ( localizeWithPath(
104
+ 'vs/workbench/browser/parts/notifications/notificationsActions',
105
+ 'hideNotificationsCenter',
106
+ "Hide Notifications"
107
+ )); }
64
108
  constructor(id, label, commandService) {
65
109
  super(id, label, ThemeIcon.asClassName(hideIcon));
66
110
  this.commandService = commandService;
@@ -74,7 +118,11 @@ HideNotificationsCenterAction = ( __decorate([
74
118
  ], HideNotificationsCenterAction));
75
119
  let ExpandNotificationAction = class ExpandNotificationAction extends Action {
76
120
  static { this.ID = EXPAND_NOTIFICATION; }
77
- static { this.LABEL = localizeWithPath('vs/workbench/browser/parts/notifications/notificationsActions', 'expandNotification', "Expand Notification"); }
121
+ static { this.LABEL = ( localizeWithPath(
122
+ 'vs/workbench/browser/parts/notifications/notificationsActions',
123
+ 'expandNotification',
124
+ "Expand Notification"
125
+ )); }
78
126
  constructor(id, label, commandService) {
79
127
  super(id, label, ThemeIcon.asClassName(expandIcon));
80
128
  this.commandService = commandService;
@@ -88,7 +136,11 @@ ExpandNotificationAction = ( __decorate([
88
136
  ], ExpandNotificationAction));
89
137
  let CollapseNotificationAction = class CollapseNotificationAction extends Action {
90
138
  static { this.ID = COLLAPSE_NOTIFICATION; }
91
- static { this.LABEL = localizeWithPath('vs/workbench/browser/parts/notifications/notificationsActions', 'collapseNotification', "Collapse Notification"); }
139
+ static { this.LABEL = ( localizeWithPath(
140
+ 'vs/workbench/browser/parts/notifications/notificationsActions',
141
+ 'collapseNotification',
142
+ "Collapse Notification"
143
+ )); }
92
144
  constructor(id, label, commandService) {
93
145
  super(id, label, ThemeIcon.asClassName(collapseIcon));
94
146
  this.commandService = commandService;
@@ -102,7 +154,11 @@ CollapseNotificationAction = ( __decorate([
102
154
  ], CollapseNotificationAction));
103
155
  class ConfigureNotificationAction extends Action {
104
156
  static { this.ID = 'workbench.action.configureNotification'; }
105
- static { this.LABEL = localizeWithPath('vs/workbench/browser/parts/notifications/notificationsActions', 'configureNotification', "More Actions..."); }
157
+ static { this.LABEL = ( localizeWithPath(
158
+ 'vs/workbench/browser/parts/notifications/notificationsActions',
159
+ 'configureNotification',
160
+ "More Actions..."
161
+ )); }
106
162
  constructor(id, label, configurationActions) {
107
163
  super(id, label, ThemeIcon.asClassName(configureIcon));
108
164
  this.configurationActions = configurationActions;
@@ -110,7 +166,11 @@ class ConfigureNotificationAction extends Action {
110
166
  }
111
167
  let CopyNotificationMessageAction = class CopyNotificationMessageAction extends Action {
112
168
  static { this.ID = 'workbench.action.copyNotificationMessage'; }
113
- static { this.LABEL = localizeWithPath('vs/workbench/browser/parts/notifications/notificationsActions', 'copyNotification', "Copy Text"); }
169
+ static { this.LABEL = ( localizeWithPath(
170
+ 'vs/workbench/browser/parts/notifications/notificationsActions',
171
+ 'copyNotification',
172
+ "Copy Text"
173
+ )); }
114
174
  constructor(id, label, clipboardService) {
115
175
  super(id, label);
116
176
  this.clipboardService = clipboardService;
@@ -45,13 +45,28 @@ class NotificationsAlerts extends Disposable {
45
45
  doTriggerAriaAlert(notification) {
46
46
  let alertText;
47
47
  if (notification.severity === Severity.Error) {
48
- alertText = localizeWithPath('vs/workbench/browser/parts/notifications/notificationsAlerts', 'alertErrorMessage', "Error: {0}", ( notification.message.linkedText.toString()));
48
+ alertText = ( localizeWithPath(
49
+ 'vs/workbench/browser/parts/notifications/notificationsAlerts',
50
+ 'alertErrorMessage',
51
+ "Error: {0}",
52
+ ( notification.message.linkedText.toString())
53
+ ));
49
54
  }
50
55
  else if (notification.severity === Severity.Warning) {
51
- alertText = localizeWithPath('vs/workbench/browser/parts/notifications/notificationsAlerts', 'alertWarningMessage', "Warning: {0}", ( notification.message.linkedText.toString()));
56
+ alertText = ( localizeWithPath(
57
+ 'vs/workbench/browser/parts/notifications/notificationsAlerts',
58
+ 'alertWarningMessage',
59
+ "Warning: {0}",
60
+ ( notification.message.linkedText.toString())
61
+ ));
52
62
  }
53
63
  else {
54
- alertText = localizeWithPath('vs/workbench/browser/parts/notifications/notificationsAlerts', 'alertInfoMessage', "Info: {0}", ( notification.message.linkedText.toString()));
64
+ alertText = ( localizeWithPath(
65
+ 'vs/workbench/browser/parts/notifications/notificationsAlerts',
66
+ 'alertInfoMessage',
67
+ "Info: {0}",
68
+ ( notification.message.linkedText.toString())
69
+ ));
55
70
  }
56
71
  alert(alertText);
57
72
  }
@@ -77,11 +77,19 @@ let NotificationsCenter = class NotificationsCenter extends Themable {
77
77
  updateTitle() {
78
78
  const [notificationsCenterTitle, clearAllAction] = assertAllDefined(this.notificationsCenterTitle, this.clearAllAction);
79
79
  if (this.model.notifications.length === 0) {
80
- notificationsCenterTitle.textContent = localizeWithPath('vs/workbench/browser/parts/notifications/notificationsCenter', 'notificationsEmpty', "No new notifications");
80
+ notificationsCenterTitle.textContent = ( localizeWithPath(
81
+ 'vs/workbench/browser/parts/notifications/notificationsCenter',
82
+ 'notificationsEmpty',
83
+ "No new notifications"
84
+ ));
81
85
  clearAllAction.enabled = false;
82
86
  }
83
87
  else {
84
- notificationsCenterTitle.textContent = localizeWithPath('vs/workbench/browser/parts/notifications/notificationsCenter', 'notifications', "Notifications");
88
+ notificationsCenterTitle.textContent = ( localizeWithPath(
89
+ 'vs/workbench/browser/parts/notifications/notificationsCenter',
90
+ 'notifications',
91
+ "Notifications"
92
+ ));
85
93
  clearAllAction.enabled = ( this.model.notifications.some(notification => !notification.hasProgress));
86
94
  }
87
95
  }
@@ -99,7 +107,11 @@ let NotificationsCenter = class NotificationsCenter extends Themable {
99
107
  this.notificationsCenterHeader.appendChild(toolbarContainer);
100
108
  const actionRunner = this._register(this.instantiationService.createInstance(NotificationActionRunner));
101
109
  const notificationsToolBar = this._register(( new ActionBar(toolbarContainer, {
102
- ariaLabel: localizeWithPath('vs/workbench/browser/parts/notifications/notificationsCenter', 'notificationsToolbar', "Notification Center Actions"),
110
+ ariaLabel: ( localizeWithPath(
111
+ 'vs/workbench/browser/parts/notifications/notificationsCenter',
112
+ 'notificationsToolbar',
113
+ "Notification Center Actions"
114
+ )),
103
115
  actionRunner
104
116
  })));
105
117
  this.clearAllAction = this._register(this.instantiationService.createInstance(ClearAllNotificationsAction, ClearAllNotificationsAction.ID, ClearAllNotificationsAction.LABEL));
@@ -109,7 +121,11 @@ let NotificationsCenter = class NotificationsCenter extends Themable {
109
121
  const hideAllAction = this._register(this.instantiationService.createInstance(HideNotificationsCenterAction, HideNotificationsCenterAction.ID, HideNotificationsCenterAction.LABEL));
110
122
  notificationsToolBar.push(hideAllAction, { icon: true, label: false, keybinding: this.getKeybindingLabel(hideAllAction) });
111
123
  this.notificationsList = this.instantiationService.createInstance(NotificationsList, this.notificationsCenterContainer, {
112
- widgetAriaLabel: localizeWithPath('vs/workbench/browser/parts/notifications/notificationsCenter', 'notificationsCenterWidgetAriaLabel', "Notifications Center")
124
+ widgetAriaLabel: ( localizeWithPath(
125
+ 'vs/workbench/browser/parts/notifications/notificationsCenter',
126
+ 'notificationsCenterWidgetAriaLabel',
127
+ "Notifications Center"
128
+ ))
113
129
  });
114
130
  this.container.appendChild(this.notificationsCenterContainer);
115
131
  }
@@ -169,15 +169,52 @@ let NotificationAccessibilityProvider = class NotificationAccessibilityProvider
169
169
  let accessibleViewHint;
170
170
  const keybinding = this._keybindingService.lookupKeybinding('editor.action.accessibleView')?.getAriaLabel();
171
171
  if (this._configurationService.getValue('accessibility.verbosity.notification')) {
172
- accessibleViewHint = keybinding ? localizeWithPath('vs/workbench/browser/parts/notifications/notificationsList', 'notificationAccessibleViewHint', "Inspect the response in the accessible view with {0}", keybinding) : localizeWithPath('vs/workbench/browser/parts/notifications/notificationsList', 'notificationAccessibleViewHintNoKb', "Inspect the response in the accessible view via the command Open Accessible View which is currently not triggerable via keybinding");
172
+ accessibleViewHint = keybinding ? ( localizeWithPath(
173
+ 'vs/workbench/browser/parts/notifications/notificationsList',
174
+ 'notificationAccessibleViewHint',
175
+ "Inspect the response in the accessible view with {0}",
176
+ keybinding
177
+ )) : ( localizeWithPath(
178
+ 'vs/workbench/browser/parts/notifications/notificationsList',
179
+ 'notificationAccessibleViewHintNoKb',
180
+ "Inspect the response in the accessible view via the command Open Accessible View which is currently not triggerable via keybinding"
181
+ ));
173
182
  }
174
183
  if (!element.source) {
175
- return accessibleViewHint ? localizeWithPath('vs/workbench/browser/parts/notifications/notificationsList', 'notificationAriaLabelHint', "{0}, notification, {1}", element.message.raw, accessibleViewHint) : localizeWithPath('vs/workbench/browser/parts/notifications/notificationsList', 'notificationAriaLabel', "{0}, notification", element.message.raw);
184
+ return accessibleViewHint ? ( localizeWithPath(
185
+ 'vs/workbench/browser/parts/notifications/notificationsList',
186
+ 'notificationAriaLabelHint',
187
+ "{0}, notification, {1}",
188
+ element.message.raw,
189
+ accessibleViewHint
190
+ )) : ( localizeWithPath(
191
+ 'vs/workbench/browser/parts/notifications/notificationsList',
192
+ 'notificationAriaLabel',
193
+ "{0}, notification",
194
+ element.message.raw
195
+ ));
176
196
  }
177
- return accessibleViewHint ? localizeWithPath('vs/workbench/browser/parts/notifications/notificationsList', 'notificationWithSourceAriaLabelHint', "{0}, source: {1}, notification, {2}", element.message.raw, element.source, accessibleViewHint) : localizeWithPath('vs/workbench/browser/parts/notifications/notificationsList', 'notificationWithSourceAriaLabel', "{0}, source: {1}, notification", element.message.raw, element.source);
197
+ return accessibleViewHint ? ( localizeWithPath(
198
+ 'vs/workbench/browser/parts/notifications/notificationsList',
199
+ 'notificationWithSourceAriaLabelHint',
200
+ "{0}, source: {1}, notification, {2}",
201
+ element.message.raw,
202
+ element.source,
203
+ accessibleViewHint
204
+ )) : ( localizeWithPath(
205
+ 'vs/workbench/browser/parts/notifications/notificationsList',
206
+ 'notificationWithSourceAriaLabel',
207
+ "{0}, source: {1}, notification",
208
+ element.message.raw,
209
+ element.source
210
+ ));
178
211
  }
179
212
  getWidgetAriaLabel() {
180
- return this._options.widgetAriaLabel ?? localizeWithPath('vs/workbench/browser/parts/notifications/notificationsList', 'notificationsList', "Notifications List");
213
+ return this._options.widgetAriaLabel ?? ( localizeWithPath(
214
+ 'vs/workbench/browser/parts/notifications/notificationsList',
215
+ 'notificationsList',
216
+ "Notifications List"
217
+ ));
181
218
  }
182
219
  getRole() {
183
220
  return 'dialog';
@@ -117,9 +117,20 @@ let NotificationsToasts = class NotificationsToasts extends Themable {
117
117
  verticalScrollMode: 2 ,
118
118
  widgetAriaLabel: (() => {
119
119
  if (!item.source) {
120
- return localizeWithPath('vs/workbench/browser/parts/notifications/notificationsToasts', 'notificationAriaLabel', "{0}, notification", item.message.raw);
120
+ return ( localizeWithPath(
121
+ 'vs/workbench/browser/parts/notifications/notificationsToasts',
122
+ 'notificationAriaLabel',
123
+ "{0}, notification",
124
+ item.message.raw
125
+ ));
121
126
  }
122
- return localizeWithPath('vs/workbench/browser/parts/notifications/notificationsToasts', 'notificationWithSourceAriaLabel', "{0}, source: {1}, notification", item.message.raw, item.source);
127
+ return ( localizeWithPath(
128
+ 'vs/workbench/browser/parts/notifications/notificationsToasts',
129
+ 'notificationWithSourceAriaLabel',
130
+ "{0}, source: {1}, notification",
131
+ item.message.raw,
132
+ item.source
133
+ ));
123
134
  })()
124
135
  });
125
136
  itemDisposables.add(notificationList);
@@ -91,7 +91,12 @@ class NotificationMessageRenderer {
91
91
  else {
92
92
  let title = node.title;
93
93
  if (!title && node.href.startsWith('command:')) {
94
- title = localizeWithPath('vs/workbench/browser/parts/notifications/notificationsViewer', 'executeCommand', "Click to execute command '{0}'", node.href.substr('command:'.length));
94
+ title = ( localizeWithPath(
95
+ 'vs/workbench/browser/parts/notifications/notificationsViewer',
96
+ 'executeCommand',
97
+ "Click to execute command '{0}'",
98
+ node.href.substr('command:'.length)
99
+ ));
95
100
  }
96
101
  else if (!title) {
97
102
  title = node.href;
@@ -145,7 +150,11 @@ let NotificationRenderer = class NotificationRenderer {
145
150
  const toolbarContainer = document.createElement('div');
146
151
  toolbarContainer.classList.add('notification-list-item-toolbar-container');
147
152
  data.toolbar = ( new ActionBar(toolbarContainer, {
148
- ariaLabel: localizeWithPath('vs/workbench/browser/parts/notifications/notificationsViewer', 'notificationActions', "Notification Actions"),
153
+ ariaLabel: ( localizeWithPath(
154
+ 'vs/workbench/browser/parts/notifications/notificationsViewer',
155
+ 'notificationActions',
156
+ "Notification Actions"
157
+ )),
149
158
  actionViewItemProvider: action => {
150
159
  if (action && action instanceof ConfigureNotificationAction) {
151
160
  const item = ( new DropdownMenuActionViewItem(
@@ -303,7 +312,12 @@ let NotificationTemplateRenderer = class NotificationTemplateRenderer extends Di
303
312
  }
304
313
  renderSource(notification) {
305
314
  if (notification.expanded && notification.source) {
306
- this.template.source.textContent = localizeWithPath('vs/workbench/browser/parts/notifications/notificationsViewer', 'notificationSource', "Source: {0}", notification.source);
315
+ this.template.source.textContent = ( localizeWithPath(
316
+ 'vs/workbench/browser/parts/notifications/notificationsViewer',
317
+ 'notificationSource',
318
+ "Source: {0}",
319
+ notification.source
320
+ ));
307
321
  this.template.source.title = notification.source;
308
322
  }
309
323
  else {
@@ -98,16 +98,14 @@ let NotificationService = class NotificationService extends Disposable {
98
98
  if (this.storageService.getBoolean(id, scope)) {
99
99
  return ( new NoOpNotification());
100
100
  }
101
- const neverShowAgainAction = toDispose.add(( new Action(
102
- 'workbench.notification.neverShowAgain',
103
- localizeWithPath('vs/workbench/services/notification/common/notificationService', 'neverShowAgain', "Don't Show Again"),
104
- undefined,
105
- true,
106
- async () => {
107
- handle.close();
108
- this.storageService.store(id, true, scope, 0 );
109
- }
110
- )));
101
+ const neverShowAgainAction = toDispose.add(( new Action('workbench.notification.neverShowAgain', ( localizeWithPath(
102
+ 'vs/workbench/services/notification/common/notificationService',
103
+ 'neverShowAgain',
104
+ "Don't Show Again"
105
+ )), undefined, true, async () => {
106
+ handle.close();
107
+ this.storageService.store(id, true, scope, 0 );
108
+ })));
111
109
  const actions = {
112
110
  primary: notification.actions?.primary || [],
113
111
  secondary: notification.actions?.secondary || []
@@ -145,7 +143,11 @@ let NotificationService = class NotificationService extends Disposable {
145
143
  return ( new NoOpNotification());
146
144
  }
147
145
  const neverShowAgainChoice = {
148
- label: localizeWithPath('vs/workbench/services/notification/common/notificationService', 'neverShowAgain', "Don't Show Again"),
146
+ label: ( localizeWithPath(
147
+ 'vs/workbench/services/notification/common/notificationService',
148
+ 'neverShowAgain',
149
+ "Don't Show Again"
150
+ )),
149
151
  run: () => this.storageService.store(id, true, scope, 0 ),
150
152
  isSecondary: options.neverShowAgain.isSecondary
151
153
  };