@theia/editor 1.67.0-next.13 → 1.67.0-next.56

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.
Files changed (147) hide show
  1. package/README.md +1 -1
  2. package/package.json +4 -4
  3. package/src/browser/editor-contribution.ts +26 -8
  4. package/src/browser/editor-frontend-module.ts +6 -0
  5. package/src/browser/index.ts +2 -0
  6. package/src/browser/split-editor-contribution.ts +46 -0
  7. package/src/browser/text-editor-split-contribution.ts +50 -0
  8. package/lib/browser/decorations/editor-decoration-style.d.ts +0 -9
  9. package/lib/browser/decorations/editor-decoration-style.d.ts.map +0 -1
  10. package/lib/browser/decorations/editor-decoration-style.js +0 -37
  11. package/lib/browser/decorations/editor-decoration-style.js.map +0 -1
  12. package/lib/browser/decorations/editor-decoration.d.ts +0 -119
  13. package/lib/browser/decorations/editor-decoration.d.ts.map +0 -1
  14. package/lib/browser/decorations/editor-decoration.js +0 -38
  15. package/lib/browser/decorations/editor-decoration.js.map +0 -1
  16. package/lib/browser/decorations/editor-decorator.d.ts +0 -7
  17. package/lib/browser/decorations/editor-decorator.d.ts.map +0 -1
  18. package/lib/browser/decorations/editor-decorator.js +0 -39
  19. package/lib/browser/decorations/editor-decorator.js.map +0 -1
  20. package/lib/browser/decorations/index.d.ts +0 -4
  21. package/lib/browser/decorations/index.d.ts.map +0 -1
  22. package/lib/browser/decorations/index.js +0 -22
  23. package/lib/browser/decorations/index.js.map +0 -1
  24. package/lib/browser/diff-navigator.d.ts +0 -10
  25. package/lib/browser/diff-navigator.d.ts.map +0 -1
  26. package/lib/browser/diff-navigator.js +0 -20
  27. package/lib/browser/diff-navigator.js.map +0 -1
  28. package/lib/browser/editor-command.d.ts +0 -102
  29. package/lib/browser/editor-command.d.ts.map +0 -1
  30. package/lib/browser/editor-command.js +0 -402
  31. package/lib/browser/editor-command.js.map +0 -1
  32. package/lib/browser/editor-contribution.d.ts +0 -30
  33. package/lib/browser/editor-contribution.d.ts.map +0 -1
  34. package/lib/browser/editor-contribution.js +0 -206
  35. package/lib/browser/editor-contribution.js.map +0 -1
  36. package/lib/browser/editor-frontend-module.d.ts +0 -6
  37. package/lib/browser/editor-frontend-module.d.ts.map +0 -1
  38. package/lib/browser/editor-frontend-module.js +0 -83
  39. package/lib/browser/editor-frontend-module.js.map +0 -1
  40. package/lib/browser/editor-keybinding.d.ts +0 -6
  41. package/lib/browser/editor-keybinding.d.ts.map +0 -1
  42. package/lib/browser/editor-keybinding.js +0 -51
  43. package/lib/browser/editor-keybinding.js.map +0 -1
  44. package/lib/browser/editor-language-quick-pick-service.d.ts +0 -12
  45. package/lib/browser/editor-language-quick-pick-service.d.ts.map +0 -1
  46. package/lib/browser/editor-language-quick-pick-service.js +0 -77
  47. package/lib/browser/editor-language-quick-pick-service.js.map +0 -1
  48. package/lib/browser/editor-linenumber-contribution.d.ts +0 -16
  49. package/lib/browser/editor-linenumber-contribution.d.ts.map +0 -1
  50. package/lib/browser/editor-linenumber-contribution.js +0 -89
  51. package/lib/browser/editor-linenumber-contribution.js.map +0 -1
  52. package/lib/browser/editor-manager.d.ts +0 -135
  53. package/lib/browser/editor-manager.d.ts.map +0 -1
  54. package/lib/browser/editor-manager.js +0 -472
  55. package/lib/browser/editor-manager.js.map +0 -1
  56. package/lib/browser/editor-menu.d.ts +0 -51
  57. package/lib/browser/editor-menu.d.ts.map +0 -1
  58. package/lib/browser/editor-menu.js +0 -208
  59. package/lib/browser/editor-menu.js.map +0 -1
  60. package/lib/browser/editor-navigation-contribution.d.ts +0 -68
  61. package/lib/browser/editor-navigation-contribution.d.ts.map +0 -1
  62. package/lib/browser/editor-navigation-contribution.js +0 -324
  63. package/lib/browser/editor-navigation-contribution.js.map +0 -1
  64. package/lib/browser/editor-variable-contribution.d.ts +0 -9
  65. package/lib/browser/editor-variable-contribution.d.ts.map +0 -1
  66. package/lib/browser/editor-variable-contribution.js +0 -65
  67. package/lib/browser/editor-variable-contribution.js.map +0 -1
  68. package/lib/browser/editor-widget-factory.d.ts +0 -18
  69. package/lib/browser/editor-widget-factory.d.ts.map +0 -1
  70. package/lib/browser/editor-widget-factory.js +0 -84
  71. package/lib/browser/editor-widget-factory.js.map +0 -1
  72. package/lib/browser/editor-widget.d.ts +0 -28
  73. package/lib/browser/editor-widget.d.ts.map +0 -1
  74. package/lib/browser/editor-widget.js +0 -130
  75. package/lib/browser/editor-widget.js.map +0 -1
  76. package/lib/browser/editor.d.ts +0 -311
  77. package/lib/browser/editor.d.ts.map +0 -1
  78. package/lib/browser/editor.js +0 -104
  79. package/lib/browser/editor.js.map +0 -1
  80. package/lib/browser/index.d.ts +0 -10
  81. package/lib/browser/index.d.ts.map +0 -1
  82. package/lib/browser/index.js +0 -28
  83. package/lib/browser/index.js.map +0 -1
  84. package/lib/browser/language-status/editor-language-status-service.d.ts +0 -78
  85. package/lib/browser/language-status/editor-language-status-service.d.ts.map +0 -1
  86. package/lib/browser/language-status/editor-language-status-service.js +0 -244
  87. package/lib/browser/language-status/editor-language-status-service.js.map +0 -1
  88. package/lib/browser/navigation/navigation-location-service.d.ts +0 -132
  89. package/lib/browser/navigation/navigation-location-service.d.ts.map +0 -1
  90. package/lib/browser/navigation/navigation-location-service.js +0 -352
  91. package/lib/browser/navigation/navigation-location-service.js.map +0 -1
  92. package/lib/browser/navigation/navigation-location-service.spec.d.ts +0 -2
  93. package/lib/browser/navigation/navigation-location-service.spec.d.ts.map +0 -1
  94. package/lib/browser/navigation/navigation-location-service.spec.js +0 -185
  95. package/lib/browser/navigation/navigation-location-service.spec.js.map +0 -1
  96. package/lib/browser/navigation/navigation-location-similarity.d.ts +0 -16
  97. package/lib/browser/navigation/navigation-location-similarity.d.ts.map +0 -1
  98. package/lib/browser/navigation/navigation-location-similarity.js +0 -58
  99. package/lib/browser/navigation/navigation-location-similarity.js.map +0 -1
  100. package/lib/browser/navigation/navigation-location-similarity.spec.d.ts +0 -2
  101. package/lib/browser/navigation/navigation-location-similarity.spec.d.ts.map +0 -1
  102. package/lib/browser/navigation/navigation-location-similarity.spec.js +0 -33
  103. package/lib/browser/navigation/navigation-location-similarity.spec.js.map +0 -1
  104. package/lib/browser/navigation/navigation-location-updater.d.ts +0 -36
  105. package/lib/browser/navigation/navigation-location-updater.d.ts.map +0 -1
  106. package/lib/browser/navigation/navigation-location-updater.js +0 -206
  107. package/lib/browser/navigation/navigation-location-updater.js.map +0 -1
  108. package/lib/browser/navigation/navigation-location-updater.spec.d.ts +0 -2
  109. package/lib/browser/navigation/navigation-location-updater.spec.d.ts.map +0 -1
  110. package/lib/browser/navigation/navigation-location-updater.spec.js +0 -178
  111. package/lib/browser/navigation/navigation-location-updater.spec.js.map +0 -1
  112. package/lib/browser/navigation/navigation-location.d.ts +0 -192
  113. package/lib/browser/navigation/navigation-location.d.ts.map +0 -1
  114. package/lib/browser/navigation/navigation-location.js +0 -301
  115. package/lib/browser/navigation/navigation-location.js.map +0 -1
  116. package/lib/browser/navigation/test/mock-navigation-location-updater.d.ts +0 -16
  117. package/lib/browser/navigation/test/mock-navigation-location-updater.d.ts.map +0 -1
  118. package/lib/browser/navigation/test/mock-navigation-location-updater.js +0 -39
  119. package/lib/browser/navigation/test/mock-navigation-location-updater.js.map +0 -1
  120. package/lib/browser/quick-editor-service.d.ts +0 -17
  121. package/lib/browser/quick-editor-service.d.ts.map +0 -1
  122. package/lib/browser/quick-editor-service.js +0 -102
  123. package/lib/browser/quick-editor-service.js.map +0 -1
  124. package/lib/browser/undo-redo-service.d.ts +0 -24
  125. package/lib/browser/undo-redo-service.d.ts.map +0 -1
  126. package/lib/browser/undo-redo-service.js +0 -106
  127. package/lib/browser/undo-redo-service.js.map +0 -1
  128. package/lib/common/editor-generated-preference-schema.d.ts +0 -303
  129. package/lib/common/editor-generated-preference-schema.d.ts.map +0 -1
  130. package/lib/common/editor-generated-preference-schema.js +0 -2666
  131. package/lib/common/editor-generated-preference-schema.js.map +0 -1
  132. package/lib/common/editor-preferences.d.ts +0 -42
  133. package/lib/common/editor-preferences.d.ts.map +0 -1
  134. package/lib/common/editor-preferences.js +0 -179
  135. package/lib/common/editor-preferences.js.map +0 -1
  136. package/lib/common/language-selector.d.ts +0 -14
  137. package/lib/common/language-selector.d.ts.map +0 -1
  138. package/lib/common/language-selector.js +0 -91
  139. package/lib/common/language-selector.js.map +0 -1
  140. package/lib/node/editor-backend-module.d.ts +0 -4
  141. package/lib/node/editor-backend-module.d.ts.map +0 -1
  142. package/lib/node/editor-backend-module.js +0 -23
  143. package/lib/node/editor-backend-module.js.map +0 -1
  144. package/lib/package.spec.d.ts +0 -1
  145. package/lib/package.spec.d.ts.map +0 -1
  146. package/lib/package.spec.js +0 -26
  147. package/lib/package.spec.js.map +0 -1
@@ -1,324 +0,0 @@
1
- "use strict";
2
- // *****************************************************************************
3
- // Copyright (C) 2018 TypeFox and others.
4
- //
5
- // This program and the accompanying materials are made available under the
6
- // terms of the Eclipse Public License v. 2.0 which is available at
7
- // http://www.eclipse.org/legal/epl-2.0.
8
- //
9
- // This Source Code may also be made available under the following Secondary
10
- // Licenses when the conditions for such availability set forth in the Eclipse
11
- // Public License v. 2.0 are satisfied: GNU General Public License, version 2
12
- // with the GNU Classpath Exception which is available at
13
- // https://www.gnu.org/software/classpath/license.html.
14
- //
15
- // SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
16
- // *****************************************************************************
17
- var EditorNavigationContribution_1;
18
- Object.defineProperty(exports, "__esModule", { value: true });
19
- exports.EditorNavigationContribution = void 0;
20
- const tslib_1 = require("tslib");
21
- const inversify_1 = require("@theia/core/shared/inversify");
22
- const logger_1 = require("@theia/core/lib/common/logger");
23
- const storage_service_1 = require("@theia/core/lib/browser/storage-service");
24
- const disposable_1 = require("@theia/core/lib/common/disposable");
25
- const command_1 = require("@theia/core/lib/common/command");
26
- const editor_command_1 = require("./editor-command");
27
- const editor_manager_1 = require("./editor-manager");
28
- const navigation_location_1 = require("./navigation/navigation-location");
29
- const navigation_location_service_1 = require("./navigation/navigation-location-service");
30
- const browser_1 = require("@theia/core/lib/browser");
31
- const dialogs_1 = require("@theia/core/lib/browser/dialogs");
32
- const core_1 = require("@theia/core");
33
- const preferences_1 = require("@theia/core/lib/common/preferences");
34
- let EditorNavigationContribution = EditorNavigationContribution_1 = class EditorNavigationContribution {
35
- constructor() {
36
- this.toDispose = new disposable_1.DisposableCollection();
37
- this.toDisposePerCurrentEditor = new disposable_1.DisposableCollection();
38
- }
39
- init() {
40
- this.toDispose.pushAll([
41
- // TODO listen on file resource changes, if a file gets deleted, remove the corresponding navigation locations (if any).
42
- // This would require introducing the FS dependency in the editor extension.
43
- this.editorManager.onCurrentEditorChanged(this.onCurrentEditorChanged.bind(this)),
44
- this.editorManager.onCreated(widget => {
45
- this.locationStack.removeClosedEditor(widget.editor.uri);
46
- widget.disposed.connect(() => this.locationStack.addClosedEditor({
47
- uri: widget.editor.uri,
48
- viewState: widget.editor.storeViewState()
49
- }));
50
- })
51
- ]);
52
- this.commandRegistry.registerHandler(editor_command_1.EditorCommands.GO_BACK.id, {
53
- execute: () => this.locationStack.back(),
54
- isEnabled: () => this.locationStack.canGoBack()
55
- });
56
- this.commandRegistry.registerHandler(editor_command_1.EditorCommands.GO_FORWARD.id, {
57
- execute: () => this.locationStack.forward(),
58
- isEnabled: () => this.locationStack.canGoForward()
59
- });
60
- this.commandRegistry.registerHandler(editor_command_1.EditorCommands.GO_LAST_EDIT.id, {
61
- execute: () => this.locationStack.reveal(this.locationStack.lastEditLocation()),
62
- isEnabled: () => !!this.locationStack.lastEditLocation()
63
- });
64
- this.commandRegistry.registerHandler(editor_command_1.EditorCommands.CLEAR_EDITOR_HISTORY.id, {
65
- execute: async () => {
66
- const shouldClear = await new dialogs_1.ConfirmDialog({
67
- title: core_1.nls.localizeByDefault('Clear Editor History'),
68
- msg: core_1.nls.localizeByDefault('Do you want to clear the history of recently opened editors?'),
69
- ok: dialogs_1.Dialog.YES,
70
- cancel: dialogs_1.Dialog.NO
71
- }).open();
72
- if (shouldClear) {
73
- this.locationStack.clearHistory();
74
- }
75
- },
76
- isEnabled: () => this.locationStack.locations().length > 0
77
- });
78
- this.commandRegistry.registerHandler(editor_command_1.EditorCommands.TOGGLE_MINIMAP.id, {
79
- execute: () => this.toggleMinimap(),
80
- isEnabled: () => true,
81
- isToggled: () => this.isMinimapEnabled()
82
- });
83
- this.commandRegistry.registerHandler(editor_command_1.EditorCommands.TOGGLE_RENDER_WHITESPACE.id, {
84
- execute: () => this.toggleRenderWhitespace(),
85
- isEnabled: () => true,
86
- isToggled: () => this.isRenderWhitespaceEnabled()
87
- });
88
- this.commandRegistry.registerHandler(editor_command_1.EditorCommands.TOGGLE_WORD_WRAP.id, {
89
- execute: () => this.toggleWordWrap(),
90
- isEnabled: () => true,
91
- });
92
- this.commandRegistry.registerHandler(editor_command_1.EditorCommands.TOGGLE_STICKY_SCROLL.id, {
93
- execute: () => this.toggleStickyScroll(),
94
- isEnabled: () => true,
95
- isToggled: () => this.isStickyScrollEnabled()
96
- });
97
- this.commandRegistry.registerHandler(editor_command_1.EditorCommands.REOPEN_CLOSED_EDITOR.id, {
98
- execute: () => this.reopenLastClosedEditor()
99
- });
100
- this.installMouseNavigationSupport();
101
- }
102
- async installMouseNavigationSupport() {
103
- const mouseNavigationSupport = new disposable_1.DisposableCollection();
104
- const updateMouseNavigationListener = () => {
105
- mouseNavigationSupport.dispose();
106
- if (this.shouldNavigateWithMouse()) {
107
- mouseNavigationSupport.push((0, browser_1.addEventListener)(document.body, 'mousedown', event => this.onMouseDown(event), true));
108
- }
109
- };
110
- this.toDispose.push(this.preferenceService.onPreferenceChanged(change => {
111
- if (change.preferenceName === EditorNavigationContribution_1.MOUSE_NAVIGATION_PREFERENCE) {
112
- updateMouseNavigationListener();
113
- }
114
- }));
115
- updateMouseNavigationListener();
116
- this.toDispose.push(mouseNavigationSupport);
117
- }
118
- async onMouseDown(event) {
119
- // Support navigation in history when mouse buttons 4/5 are pressed
120
- switch (event.button) {
121
- case 3:
122
- event.preventDefault();
123
- this.locationStack.back();
124
- break;
125
- case 4:
126
- event.preventDefault();
127
- this.locationStack.forward();
128
- break;
129
- }
130
- }
131
- /**
132
- * Reopens the last closed editor with its stored view state if possible from history.
133
- * If the editor cannot be restored, continue to the next editor in history.
134
- */
135
- async reopenLastClosedEditor() {
136
- const lastClosedEditor = this.locationStack.getLastClosedEditor();
137
- if (lastClosedEditor === undefined) {
138
- return;
139
- }
140
- try {
141
- const widget = await this.editorManager.open(lastClosedEditor.uri);
142
- widget.editor.restoreViewState(lastClosedEditor.viewState);
143
- }
144
- catch {
145
- this.locationStack.removeClosedEditor(lastClosedEditor.uri);
146
- this.reopenLastClosedEditor();
147
- }
148
- }
149
- async onStart() {
150
- this.restoreState();
151
- }
152
- onStop() {
153
- this.storeState();
154
- this.dispose();
155
- }
156
- dispose() {
157
- this.toDispose.dispose();
158
- }
159
- /**
160
- * Toggle the editor word wrap behavior.
161
- */
162
- async toggleWordWrap() {
163
- // Get the current word wrap.
164
- const wordWrap = this.preferenceService.get('editor.wordWrap');
165
- if (wordWrap === undefined) {
166
- return;
167
- }
168
- // The list of allowed word wrap values.
169
- const values = ['off', 'on', 'wordWrapColumn', 'bounded'];
170
- // Get the index of the current value, and toggle to the next available value.
171
- const index = values.indexOf(wordWrap) + 1;
172
- if (index > -1) {
173
- await this.preferenceService.set('editor.wordWrap', values[index % values.length], preferences_1.PreferenceScope.User);
174
- }
175
- }
176
- /**
177
- * Toggle the display of sticky scroll in the editor.
178
- */
179
- async toggleStickyScroll() {
180
- const value = this.preferenceService.get('editor.stickyScroll.enabled');
181
- await this.preferenceService.set('editor.stickyScroll.enabled', !value, preferences_1.PreferenceScope.User);
182
- }
183
- /**
184
- * Toggle the display of minimap in the editor.
185
- */
186
- async toggleMinimap() {
187
- const value = this.preferenceService.get('editor.minimap.enabled');
188
- await this.preferenceService.set('editor.minimap.enabled', !value, preferences_1.PreferenceScope.User);
189
- }
190
- /**
191
- * Toggle the rendering of whitespace in the editor.
192
- */
193
- async toggleRenderWhitespace() {
194
- const renderWhitespace = this.preferenceService.get('editor.renderWhitespace');
195
- let updatedRenderWhitespace;
196
- if (renderWhitespace === 'none') {
197
- updatedRenderWhitespace = 'all';
198
- }
199
- else {
200
- updatedRenderWhitespace = 'none';
201
- }
202
- await this.preferenceService.set('editor.renderWhitespace', updatedRenderWhitespace, preferences_1.PreferenceScope.User);
203
- }
204
- onCurrentEditorChanged(editorWidget) {
205
- this.toDisposePerCurrentEditor.dispose();
206
- if (editorWidget) {
207
- const { editor } = editorWidget;
208
- this.toDisposePerCurrentEditor.pushAll([
209
- // Instead of registering an `onCursorPositionChanged` listener, we treat the zero length selection as a cursor position change.
210
- // Otherwise we would have two events for a single cursor change interaction.
211
- editor.onSelectionChanged(selection => this.onSelectionChanged(editor, selection)),
212
- editor.onDocumentContentChanged(event => this.onDocumentContentChanged(editor, event))
213
- ]);
214
- this.locationStack.navigate(service => service.register(navigation_location_1.NavigationLocation.create(editor, editor.selection)));
215
- }
216
- }
217
- onCursorPositionChanged(editor, position) {
218
- this.locationStack.navigate(service => service.register(navigation_location_1.NavigationLocation.create(editor, position)));
219
- }
220
- onSelectionChanged(editor, selection) {
221
- if (this.isZeroLengthRange(selection)) {
222
- this.onCursorPositionChanged(editor, selection.start);
223
- }
224
- else {
225
- this.locationStack.navigate(service => service.register(navigation_location_1.NavigationLocation.create(editor, selection)));
226
- }
227
- }
228
- onDocumentContentChanged(editor, event) {
229
- if (event.contentChanges.length > 0) {
230
- this.locationStack.navigate(service => service.register(navigation_location_1.NavigationLocation.create(editor, event.contentChanges[0])));
231
- }
232
- }
233
- /**
234
- * `true` if the `range` argument has zero length. In other words, the `start` and the `end` positions are the same. Otherwise, `false`.
235
- */
236
- isZeroLengthRange(range) {
237
- const { start, end } = range;
238
- return start.line === end.line && start.character === end.character;
239
- }
240
- async storeState() {
241
- this.storageService.setData(EditorNavigationContribution_1.ID, this.locationStack.storeState());
242
- this.storageService.setData(EditorNavigationContribution_1.CLOSED_EDITORS_KEY, {
243
- closedEditors: this.shouldStoreClosedEditors() ? this.locationStack.closedEditorsStack.map(navigation_location_1.RecentlyClosedEditor.toObject) : []
244
- });
245
- }
246
- async restoreState() {
247
- await this.restoreNavigationLocations();
248
- await this.restoreClosedEditors();
249
- }
250
- async restoreNavigationLocations() {
251
- const raw = await this.storageService.getData(EditorNavigationContribution_1.ID);
252
- if (raw && typeof raw === 'object') {
253
- this.locationStack.restoreState(raw);
254
- }
255
- }
256
- async restoreClosedEditors() {
257
- const raw = await this.storageService.getData(EditorNavigationContribution_1.CLOSED_EDITORS_KEY);
258
- if (raw && raw.closedEditors) {
259
- for (let i = 0; i < raw.closedEditors.length; i++) {
260
- const editor = navigation_location_1.RecentlyClosedEditor.fromObject(raw.closedEditors[i]);
261
- if (editor) {
262
- this.locationStack.addClosedEditor(editor);
263
- }
264
- else {
265
- this.logger.warn('Could not restore the state of the closed editors stack.');
266
- }
267
- }
268
- }
269
- }
270
- isMinimapEnabled() {
271
- return !!this.preferenceService.get('editor.minimap.enabled');
272
- }
273
- isRenderWhitespaceEnabled() {
274
- const renderWhitespace = this.preferenceService.get('editor.renderWhitespace');
275
- return renderWhitespace === 'none' ? false : true;
276
- }
277
- shouldStoreClosedEditors() {
278
- return !!this.preferenceService.get('editor.history.persistClosedEditors');
279
- }
280
- shouldNavigateWithMouse() {
281
- return !!this.preferenceService.get(EditorNavigationContribution_1.MOUSE_NAVIGATION_PREFERENCE);
282
- }
283
- isStickyScrollEnabled() {
284
- return !!this.preferenceService.get('editor.stickyScroll.enabled');
285
- }
286
- };
287
- exports.EditorNavigationContribution = EditorNavigationContribution;
288
- EditorNavigationContribution.ID = 'editor-navigation-contribution';
289
- EditorNavigationContribution.CLOSED_EDITORS_KEY = 'recently-closed-editors';
290
- EditorNavigationContribution.MOUSE_NAVIGATION_PREFERENCE = 'workbench.editor.mouseBackForwardToNavigate';
291
- tslib_1.__decorate([
292
- (0, inversify_1.inject)(logger_1.ILogger),
293
- tslib_1.__metadata("design:type", Object)
294
- ], EditorNavigationContribution.prototype, "logger", void 0);
295
- tslib_1.__decorate([
296
- (0, inversify_1.inject)(editor_manager_1.EditorManager),
297
- tslib_1.__metadata("design:type", editor_manager_1.EditorManager)
298
- ], EditorNavigationContribution.prototype, "editorManager", void 0);
299
- tslib_1.__decorate([
300
- (0, inversify_1.inject)(navigation_location_service_1.NavigationLocationService),
301
- tslib_1.__metadata("design:type", navigation_location_service_1.NavigationLocationService)
302
- ], EditorNavigationContribution.prototype, "locationStack", void 0);
303
- tslib_1.__decorate([
304
- (0, inversify_1.inject)(storage_service_1.StorageService),
305
- tslib_1.__metadata("design:type", Object)
306
- ], EditorNavigationContribution.prototype, "storageService", void 0);
307
- tslib_1.__decorate([
308
- (0, inversify_1.inject)(preferences_1.PreferenceService),
309
- tslib_1.__metadata("design:type", Object)
310
- ], EditorNavigationContribution.prototype, "preferenceService", void 0);
311
- tslib_1.__decorate([
312
- (0, inversify_1.inject)(command_1.CommandRegistry),
313
- tslib_1.__metadata("design:type", command_1.CommandRegistry)
314
- ], EditorNavigationContribution.prototype, "commandRegistry", void 0);
315
- tslib_1.__decorate([
316
- (0, inversify_1.postConstruct)(),
317
- tslib_1.__metadata("design:type", Function),
318
- tslib_1.__metadata("design:paramtypes", []),
319
- tslib_1.__metadata("design:returntype", void 0)
320
- ], EditorNavigationContribution.prototype, "init", null);
321
- exports.EditorNavigationContribution = EditorNavigationContribution = EditorNavigationContribution_1 = tslib_1.__decorate([
322
- (0, inversify_1.injectable)()
323
- ], EditorNavigationContribution);
324
- //# sourceMappingURL=editor-navigation-contribution.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"editor-navigation-contribution.js","sourceRoot":"","sources":["../../src/browser/editor-navigation-contribution.ts"],"names":[],"mappings":";AAAA,gFAAgF;AAChF,yCAAyC;AACzC,EAAE;AACF,2EAA2E;AAC3E,mEAAmE;AACnE,wCAAwC;AACxC,EAAE;AACF,4EAA4E;AAC5E,8EAA8E;AAC9E,6EAA6E;AAC7E,y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D,CAAiD;AAMxE;IADlB,IAAA,kBAAM,EAAC,gBAAO,CAAC;;4DACmB;AAGhB;IADlB,IAAA,kBAAM,EAAC,8BAAa,CAAC;sCACY,8BAAa;mEAAC;AAG7B;IADlB,IAAA,kBAAM,EAAC,uDAAyB,CAAC;sCACA,uDAAyB;mEAAC;AAGzC;IADlB,IAAA,kBAAM,EAAC,gCAAc,CAAC;;oEAC2B;AAG/B;IADlB,IAAA,kBAAM,EAAC,+BAAiB,CAAC;;uEAC8B;AAGrC;IADlB,IAAA,kBAAM,EAAC,yBAAe,CAAC;sCACY,yBAAe;qEAAC;AAG1C;IADT,IAAA,yBAAa,GAAE;;;;wDAgEf;uCA3FQ,4BAA4B;IADxC,IAAA,sBAAU,GAAE;GACA,4BAA4B,CAySxC"}
@@ -1,9 +0,0 @@
1
- import { VariableRegistry, VariableContribution } from '@theia/variable-resolver/lib/browser';
2
- import { TextEditor } from './editor';
3
- import { EditorManager } from './editor-manager';
4
- export declare class EditorVariableContribution implements VariableContribution {
5
- protected readonly editorManager: EditorManager;
6
- registerVariables(variables: VariableRegistry): void;
7
- protected getCurrentEditor(): TextEditor | undefined;
8
- }
9
- //# sourceMappingURL=editor-variable-contribution.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"editor-variable-contribution.d.ts","sourceRoot":"","sources":["../../src/browser/editor-variable-contribution.ts"],"names":[],"mappings":"AAiBA,OAAO,EAAE,gBAAgB,EAAE,oBAAoB,EAAE,MAAM,sCAAsC,CAAC;AAC9F,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AACtC,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAEjD,qBACa,0BAA2B,YAAW,oBAAoB;IAGnE,SAAS,CAAC,QAAQ,CAAC,aAAa,EAAE,aAAa,CAAC;IAEhD,iBAAiB,CAAC,SAAS,EAAE,gBAAgB,GAAG,IAAI;IA2BpD,SAAS,CAAC,gBAAgB,IAAI,UAAU,GAAG,SAAS;CAOvD"}
@@ -1,65 +0,0 @@
1
- "use strict";
2
- // *****************************************************************************
3
- // Copyright (C) 2018 Red Hat, Inc. and others.
4
- //
5
- // This program and the accompanying materials are made available under the
6
- // terms of the Eclipse Public License v. 2.0 which is available at
7
- // http://www.eclipse.org/legal/epl-2.0.
8
- //
9
- // This Source Code may also be made available under the following Secondary
10
- // Licenses when the conditions for such availability set forth in the Eclipse
11
- // Public License v. 2.0 are satisfied: GNU General Public License, version 2
12
- // with the GNU Classpath Exception which is available at
13
- // https://www.gnu.org/software/classpath/license.html.
14
- //
15
- // SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
16
- // *****************************************************************************
17
- Object.defineProperty(exports, "__esModule", { value: true });
18
- exports.EditorVariableContribution = void 0;
19
- const tslib_1 = require("tslib");
20
- const inversify_1 = require("@theia/core/shared/inversify");
21
- const editor_manager_1 = require("./editor-manager");
22
- let EditorVariableContribution = class EditorVariableContribution {
23
- registerVariables(variables) {
24
- variables.registerVariable({
25
- name: 'lineNumber',
26
- description: 'The current line number in the currently opened file',
27
- resolve: () => {
28
- const editor = this.getCurrentEditor();
29
- return editor ? `${editor.cursor.line + 1}` : undefined;
30
- }
31
- });
32
- variables.registerVariable({
33
- name: 'selectedText',
34
- description: 'The current selected text in the active file',
35
- resolve: () => {
36
- const editor = this.getCurrentEditor();
37
- return editor === null || editor === void 0 ? void 0 : editor.document.getText(editor.selection);
38
- }
39
- });
40
- variables.registerVariable({
41
- name: 'currentText',
42
- description: 'The current text in the active file',
43
- resolve: () => {
44
- const editor = this.getCurrentEditor();
45
- return editor === null || editor === void 0 ? void 0 : editor.document.getText();
46
- }
47
- });
48
- }
49
- getCurrentEditor() {
50
- const currentEditor = this.editorManager.currentEditor;
51
- if (!currentEditor) {
52
- return undefined;
53
- }
54
- return currentEditor.editor;
55
- }
56
- };
57
- exports.EditorVariableContribution = EditorVariableContribution;
58
- tslib_1.__decorate([
59
- (0, inversify_1.inject)(editor_manager_1.EditorManager),
60
- tslib_1.__metadata("design:type", editor_manager_1.EditorManager)
61
- ], EditorVariableContribution.prototype, "editorManager", void 0);
62
- exports.EditorVariableContribution = EditorVariableContribution = tslib_1.__decorate([
63
- (0, inversify_1.injectable)()
64
- ], EditorVariableContribution);
65
- //# sourceMappingURL=editor-variable-contribution.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"editor-variable-contribution.js","sourceRoot":"","sources":["../../src/browser/editor-variable-contribution.ts"],"names":[],"mappings":";AAAA,gFAAgF;AAChF,+CAA+C;AAC/C,EAAE;AACF,2EAA2E;AAC3E,mEAAmE;AACnE,wCAAwC;AACxC,EAAE;AACF,4EAA4E;AAC5E,8EAA8E;AAC9E,6EAA6E;AAC7E,yDAAyD;AACzD,uDAAuD;AACvD,EAAE;AACF,gFAAgF;AAChF,gFAAgF;;;;AAEhF,4DAAkE;AAGlE,qDAAiD;AAG1C,IAAM,0BAA0B,GAAhC,MAAM,0BAA0B;IAKnC,iBAAiB,CAAC,SAA2B;QACzC,SAAS,CAAC,gBAAgB,CAAC;YACvB,IAAI,EAAE,YAAY;YAClB,WAAW,EAAE,sDAAsD;YACnE,OAAO,EAAE,GAAG,EAAE;gBACV,MAAM,MAAM,GAAG,IAAI,CAAC,gBAAgB,EAAE,CAAC;gBACvC,OAAO,MAAM,CAAC,CAAC,CAAC,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,GAAG,CAAC,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,CAAC;SACJ,CAAC,CAAC;QACH,SAAS,CAAC,gBAAgB,CAAC;YACvB,IAAI,EAAE,cAAc;YACpB,WAAW,EAAE,8CAA8C;YAC3D,OAAO,EAAE,GAAG,EAAE;gBACV,MAAM,MAAM,GAAG,IAAI,CAAC,gBAAgB,EAAE,CAAC;gBACvC,OAAO,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,QAAQ,CAAC,OAAO,CAAC,MAAM,CAAC,SAAS,CAAC,CAAC;YACtD,CAAC;SACJ,CAAC,CAAC;QACH,SAAS,CAAC,gBAAgB,CAAC;YACvB,IAAI,EAAE,aAAa;YACnB,WAAW,EAAE,qCAAqC;YAClD,OAAO,EAAE,GAAG,EAAE;gBACV,MAAM,MAAM,GAAG,IAAI,CAAC,gBAAgB,EAAE,CAAC;gBACvC,OAAO,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,QAAQ,CAAC,OAAO,EAAE,CAAC;YACtC,CAAC;SACJ,CAAC,CAAC;IACP,CAAC;IAES,gBAAgB;QACtB,MAAM,aAAa,GAAG,IAAI,CAAC,aAAa,CAAC,aAAa,CAAC;QACvD,IAAI,CAAC,aAAa,EAAE,CAAC;YACjB,OAAO,SAAS,CAAC;QACrB,CAAC;QACD,OAAO,aAAa,CAAC,MAAM,CAAC;IAChC,CAAC;CACJ,CAAA;AAvCY,gEAA0B;AAGhB;IADlB,IAAA,kBAAM,EAAC,8BAAa,CAAC;sCACY,8BAAa;iEAAC;qCAHvC,0BAA0B;IADtC,IAAA,sBAAU,GAAE;GACA,0BAA0B,CAuCtC"}
@@ -1,18 +0,0 @@
1
- import URI from '@theia/core/lib/common/uri';
2
- import { SelectionService } from '@theia/core/lib/common';
3
- import { NavigatableWidgetOptions, WidgetFactory, LabelProvider } from '@theia/core/lib/browser';
4
- import { EditorWidget } from './editor-widget';
5
- import { TextEditorProvider } from './editor';
6
- export declare class EditorWidgetFactory implements WidgetFactory {
7
- static createID(uri: URI, counter?: number): string;
8
- static ID: string;
9
- readonly id: string;
10
- protected readonly labelProvider: LabelProvider;
11
- protected readonly editorProvider: TextEditorProvider;
12
- protected readonly selectionService: SelectionService;
13
- createWidget(options: NavigatableWidgetOptions): Promise<EditorWidget>;
14
- protected createEditor(uri: URI, options?: NavigatableWidgetOptions): Promise<EditorWidget>;
15
- protected constructEditor(uri: URI): Promise<EditorWidget>;
16
- private setLabels;
17
- }
18
- //# sourceMappingURL=editor-widget-factory.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"editor-widget-factory.d.ts","sourceRoot":"","sources":["../../src/browser/editor-widget-factory.ts"],"names":[],"mappings":"AAiBA,OAAO,GAAG,MAAM,4BAA4B,CAAC;AAC7C,OAAO,EAAO,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAC/D,OAAO,EAAE,wBAAwB,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AACjG,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAE9C,qBACa,mBAAoB,YAAW,aAAa;IAErD,MAAM,CAAC,QAAQ,CAAC,GAAG,EAAE,GAAG,EAAE,OAAO,CAAC,EAAE,MAAM,GAAG,MAAM;IAMnD,MAAM,CAAC,EAAE,SAAwB;IAEjC,QAAQ,CAAC,EAAE,SAA0B;IAGrC,SAAS,CAAC,QAAQ,CAAC,aAAa,EAAE,aAAa,CAAC;IAGhD,SAAS,CAAC,QAAQ,CAAC,cAAc,EAAE,kBAAkB,CAAC;IAGtD,SAAS,CAAC,QAAQ,CAAC,gBAAgB,EAAE,gBAAgB,CAAC;IAEtD,YAAY,CAAC,OAAO,EAAE,wBAAwB,GAAG,OAAO,CAAC,YAAY,CAAC;cAKtD,YAAY,CAAC,GAAG,EAAE,GAAG,EAAE,OAAO,CAAC,EAAE,wBAAwB,GAAG,OAAO,CAAC,YAAY,CAAC;cAiBjF,eAAe,CAAC,GAAG,EAAE,GAAG,GAAG,OAAO,CAAC,YAAY,CAAC;IAKhE,OAAO,CAAC,SAAS;CASpB"}
@@ -1,84 +0,0 @@
1
- "use strict";
2
- // *****************************************************************************
3
- // Copyright (C) 2018 TypeFox and others.
4
- //
5
- // This program and the accompanying materials are made available under the
6
- // terms of the Eclipse Public License v. 2.0 which is available at
7
- // http://www.eclipse.org/legal/epl-2.0.
8
- //
9
- // This Source Code may also be made available under the following Secondary
10
- // Licenses when the conditions for such availability set forth in the Eclipse
11
- // Public License v. 2.0 are satisfied: GNU General Public License, version 2
12
- // with the GNU Classpath Exception which is available at
13
- // https://www.gnu.org/software/classpath/license.html.
14
- //
15
- // SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
16
- // *****************************************************************************
17
- var EditorWidgetFactory_1;
18
- Object.defineProperty(exports, "__esModule", { value: true });
19
- exports.EditorWidgetFactory = void 0;
20
- const tslib_1 = require("tslib");
21
- const inversify_1 = require("@theia/core/shared/inversify");
22
- const uri_1 = require("@theia/core/lib/common/uri");
23
- const common_1 = require("@theia/core/lib/common");
24
- const browser_1 = require("@theia/core/lib/browser");
25
- const editor_widget_1 = require("./editor-widget");
26
- const editor_1 = require("./editor");
27
- let EditorWidgetFactory = EditorWidgetFactory_1 = class EditorWidgetFactory {
28
- constructor() {
29
- this.id = EditorWidgetFactory_1.ID;
30
- }
31
- static createID(uri, counter) {
32
- return EditorWidgetFactory_1.ID
33
- + `:${uri.toString()}`
34
- + (counter !== undefined ? `:${counter}` : '');
35
- }
36
- createWidget(options) {
37
- const uri = new uri_1.default(options.uri);
38
- return this.createEditor(uri, options);
39
- }
40
- async createEditor(uri, options) {
41
- const newEditor = await this.constructEditor(uri);
42
- this.setLabels(newEditor, uri);
43
- const labelListener = this.labelProvider.onDidChange(event => {
44
- if (event.affects(uri)) {
45
- this.setLabels(newEditor, uri);
46
- }
47
- });
48
- newEditor.onDispose(() => labelListener.dispose());
49
- newEditor.id = EditorWidgetFactory_1.createID(uri, options === null || options === void 0 ? void 0 : options.counter);
50
- newEditor.title.closable = true;
51
- return newEditor;
52
- }
53
- async constructEditor(uri) {
54
- const textEditor = await this.editorProvider(uri);
55
- return new editor_widget_1.EditorWidget(textEditor, this.selectionService);
56
- }
57
- setLabels(editor, uri) {
58
- editor.title.caption = uri.path.fsPath();
59
- if (editor.editor.isReadonly) {
60
- editor.title.caption += ` • ${common_1.nls.localizeByDefault('Read-only')}`;
61
- }
62
- const icon = this.labelProvider.getIcon(uri);
63
- editor.title.label = this.labelProvider.getName(uri);
64
- editor.title.iconClass = icon + ' file-icon';
65
- }
66
- };
67
- exports.EditorWidgetFactory = EditorWidgetFactory;
68
- EditorWidgetFactory.ID = 'code-editor-opener';
69
- tslib_1.__decorate([
70
- (0, inversify_1.inject)(browser_1.LabelProvider),
71
- tslib_1.__metadata("design:type", browser_1.LabelProvider)
72
- ], EditorWidgetFactory.prototype, "labelProvider", void 0);
73
- tslib_1.__decorate([
74
- (0, inversify_1.inject)(editor_1.TextEditorProvider),
75
- tslib_1.__metadata("design:type", Function)
76
- ], EditorWidgetFactory.prototype, "editorProvider", void 0);
77
- tslib_1.__decorate([
78
- (0, inversify_1.inject)(common_1.SelectionService),
79
- tslib_1.__metadata("design:type", common_1.SelectionService)
80
- ], EditorWidgetFactory.prototype, "selectionService", void 0);
81
- exports.EditorWidgetFactory = EditorWidgetFactory = EditorWidgetFactory_1 = tslib_1.__decorate([
82
- (0, inversify_1.injectable)()
83
- ], EditorWidgetFactory);
84
- //# sourceMappingURL=editor-widget-factory.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"editor-widget-factory.js","sourceRoot":"","sources":["../../src/browser/editor-widget-factory.ts"],"names":[],"mappings":";AAAA,gFAAgF;AAChF,yCAAyC;AACzC,EAAE;AACF,2EAA2E;AAC3E,mEAAmE;AACnE,wCAAwC;AACxC,EAAE;AACF,4EAA4E;AAC5E,8EAA8E;AAC9E,6EAA6E;AAC7E,yDAAyD;AACzD,uDAAuD;AACvD,EAAE;AACF,gFAAgF;AAChF,gFAAgF;;;;;AAEhF,4DAAkE;AAClE,oDAA6C;AAC7C,mDAA+D;AAC/D,qDAAiG;AACjG,mDAA+C;AAC/C,qCAA8C;AAGvC,IAAM,mBAAmB,2BAAzB,MAAM,mBAAmB;IAAzB;QAUM,OAAE,GAAG,qBAAmB,CAAC,EAAE,CAAC;IA+CzC,CAAC;IAvDG,MAAM,CAAC,QAAQ,CAAC,GAAQ,EAAE,OAAgB;QACtC,OAAO,qBAAmB,CAA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gB,CAAC,CAAC;IAC/D,CAAC;IAEO,SAAS,CAAC,MAAoB,EAAE,GAAQ;QAC5C,MAAM,CAAC,KAAK,CAAC,OAAO,GAAG,GAAG,CAAC,IAAI,CAAC,MAAM,EAAE,CAAC;QACzC,IAAI,MAAM,CAAC,MAAM,CAAC,UAAU,EAAE,CAAC;YAC3B,MAAM,CAAC,KAAK,CAAC,OAAO,IAAI,MAAM,YAAG,CAAC,iBAAiB,CAAC,WAAW,CAAC,EAAE,CAAC;QACvE,CAAC;QACD,MAAM,IAAI,GAAG,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;QAC7C,MAAM,CAAC,KAAK,CAAC,KAAK,GAAG,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;QACrD,MAAM,CAAC,KAAK,CAAC,SAAS,GAAG,IAAI,GAAG,YAAY,CAAC;IACjD,CAAC;;AAxDQ,kDAAmB;AAQrB,sBAAE,GAAG,oBAAoB,AAAvB,CAAwB;AAKd;IADlB,IAAA,kBAAM,EAAC,uBAAa,CAAC;sCACY,uBAAa;0DAAC;AAG7B;IADlB,IAAA,kBAAM,EAAC,2BAAkB,CAAC;;2DAC2B;AAGnC;IADlB,IAAA,kBAAM,EAAC,yBAAgB,CAAC;sCACY,yBAAgB;6DAAC;8BAnB7C,mBAAmB;IAD/B,IAAA,sBAAU,GAAE;GACA,mBAAmB,CAyD/B"}
@@ -1,28 +0,0 @@
1
- import { SelectionService, Event, DisposableCollection } from '@theia/core/lib/common';
2
- import { Widget, BaseWidget, Message, Saveable, SaveableSource, Navigatable, StatefulWidget, TabBar, ExtractableWidget } from '@theia/core/lib/browser';
3
- import URI from '@theia/core/lib/common/uri';
4
- import { TextEditor } from './editor';
5
- export declare class EditorWidget extends BaseWidget implements SaveableSource, Navigatable, StatefulWidget, ExtractableWidget {
6
- readonly editor: TextEditor;
7
- protected readonly selectionService: SelectionService;
8
- protected toDisposeOnTabbarChange: DisposableCollection;
9
- protected currentTabbar: TabBar<Widget> | undefined;
10
- constructor(editor: TextEditor, selectionService: SelectionService);
11
- isExtractable: boolean;
12
- secondaryWindow: Window | undefined;
13
- setSelection(): void;
14
- protected handleVisiblityChanged(isNowVisible: boolean): void;
15
- get saveable(): Saveable;
16
- getResourceUri(): URI | undefined;
17
- createMoveToUri(resourceUri: URI): URI | undefined;
18
- protected onActivateRequest(msg: Message): void;
19
- protected onAfterAttach(msg: Message): void;
20
- protected checkForTabbarChange(): void;
21
- protected handleTabBarChange(oldTabBar?: TabBar<Widget>, newTabBar?: TabBar<Widget>): void;
22
- protected onAfterShow(msg: Message): void;
23
- protected onResize(msg: Widget.ResizeMessage): void;
24
- storeState(): object | undefined;
25
- restoreState(oldState: object): void;
26
- get onDispose(): Event<void>;
27
- }
28
- //# sourceMappingURL=editor-widget.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"editor-widget.d.ts","sourceRoot":"","sources":["../../src/browser/editor-widget.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAc,gBAAgB,EAAE,KAAK,EAAmB,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AACpH,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,OAAO,EAAE,QAAQ,EAAE,cAAc,EAAE,WAAW,EAAE,cAAc,EAAQ,MAAM,EAAqB,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AACjL,OAAO,GAAG,MAAM,4BAA4B,CAAC;AAE7C,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAEtC,qBAAa,YAAa,SAAQ,UAAW,YAAW,cAAc,EAAE,WAAW,EAAE,cAAc,EAAE,iBAAiB;IAM9G,QAAQ,CAAC,MAAM,EAAE,UAAU;IAC3B,SAAS,CAAC,QAAQ,CAAC,gBAAgB,EAAE,gBAAgB;IALzD,SAAS,CAAC,uBAAuB,uBAA8B;IAC/D,SAAS,CAAC,aAAa,EAAE,MAAM,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC;gB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